@duetds/components 5.1.8 → 5.2.1

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 (410) hide show
  1. package/hydrate/index.js +364 -118
  2. package/lib/cjs/{dom-66424ef2.js → dom-96576bce.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +16 -8
  4. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-button_2.cjs.entry.js +17 -2
  9. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-checkbox.cjs.entry.js +15 -3
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +16 -4
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -4
  17. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-input_2.cjs.entry.js +18 -4
  27. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-modal.cjs.entry.js +12 -4
  30. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-number-input.cjs.entry.js +106 -49
  32. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -3
  33. package/lib/cjs/duet-progress.cjs.entry.js +15 -3
  34. package/lib/cjs/duet-radio_2.cjs.entry.js +15 -3
  35. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-textarea.cjs.entry.js +17 -3
  40. package/lib/cjs/duet-toggle.cjs.entry.js +15 -3
  41. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  45. package/lib/cjs/duet.cjs.js +4 -4
  46. package/lib/cjs/{focus-utils-c63a36c6.js → focus-utils-7b09fa4b.js} +1 -1
  47. package/lib/cjs/{index-cfea8a15.js → index-3024eb44.js} +11 -9
  48. package/lib/cjs/loader.cjs.js +3 -3
  49. package/lib/cjs/{shadow-css-1ff2f74f.js → shadow-css-38b9e725.js} +2 -3
  50. package/lib/cjs/{themeable-component-940d3b50.js → themeable-component-fdeaef9f.js} +0 -0
  51. package/lib/collection/collection-manifest.json +1 -1
  52. package/lib/collection/{utils/form-components.js → common/a11y-component.js} +0 -0
  53. package/lib/collection/common/form-components.js +4 -0
  54. package/lib/collection/common/index.js +4 -0
  55. package/lib/collection/{utils → common}/themeable-component.js +0 -0
  56. package/lib/collection/components/duet-action-button/duet-action-button.js +57 -13
  57. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  58. package/lib/collection/components/duet-badge/duet-badge.js +1 -1
  59. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +1 -1
  60. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +1 -1
  61. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
  62. package/lib/collection/components/duet-button/duet-button.js +70 -1
  63. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  64. package/lib/collection/components/duet-card/duet-card.js +1 -1
  65. package/lib/collection/components/duet-checkbox/duet-checkbox.js +68 -2
  66. package/lib/collection/components/duet-choice/duet-choice.js +68 -2
  67. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  68. package/lib/collection/components/duet-collapsible/duet-collapsible.js +1 -1
  69. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
  70. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  71. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  72. package/lib/collection/components/duet-date-picker/utils.js +0 -1
  73. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  74. package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -2
  75. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  76. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  77. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  78. package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
  79. package/lib/collection/components/duet-header/duet-header.css +1 -1
  80. package/lib/collection/components/duet-header/duet-header.js +1 -1
  81. package/lib/collection/components/duet-heading/duet-heading.css +3 -0
  82. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  83. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  84. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  85. package/lib/collection/components/duet-input/duet-input.js +72 -4
  86. package/lib/collection/components/duet-label/duet-label.js +1 -1
  87. package/lib/collection/components/duet-link/duet-link.js +1 -1
  88. package/lib/collection/components/duet-list/duet-list.js +1 -1
  89. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  90. package/lib/collection/components/duet-modal/duet-modal.js +80 -2
  91. package/lib/collection/components/duet-notification/duet-notification.js +1 -1
  92. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  93. package/lib/collection/components/duet-number-input/duet-number-input.js +90 -29
  94. package/lib/collection/components/duet-pagination/duet-pagination.js +90 -2
  95. package/lib/collection/components/duet-paragraph/duet-paragraph.js +1 -1
  96. package/lib/collection/components/duet-progress/duet-progress.js +68 -2
  97. package/lib/collection/components/duet-radio/duet-radio.js +68 -2
  98. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  99. package/lib/collection/components/duet-range-slider/duet-range-slider.js +1 -1
  100. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  101. package/lib/collection/components/duet-scrollable/duet-scrollable.js +1 -1
  102. package/lib/collection/components/duet-select/duet-select.js +1 -1
  103. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  104. package/lib/collection/components/duet-step/duet-step.js +1 -1
  105. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  106. package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -1
  107. package/lib/collection/components/duet-table/duet-table.css +30 -18
  108. package/lib/collection/components/duet-table/duet-table.js +1 -1
  109. package/lib/collection/components/duet-textarea/duet-textarea.js +70 -2
  110. package/lib/collection/components/duet-toggle/duet-toggle.js +68 -2
  111. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  112. package/lib/collection/components/duet-tray/duet-tray.js +1 -1
  113. package/lib/collection/components/duet-upload/duet-upload.css +9 -1
  114. package/lib/collection/components/duet-upload/duet-upload.js +1 -1
  115. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +0 -1
  116. package/lib/collection/utils/math.utils.js +76 -0
  117. package/lib/custom-elements-bundle/index.js +295 -105
  118. package/lib/duet/duet.esm.js +1 -1
  119. package/lib/duet/duet.js +1 -1
  120. package/lib/duet/{p-c7306ab6.system.entry.js → p-036b2f99.system.entry.js} +1 -1
  121. package/lib/duet/p-0522338d.system.entry.js +4 -0
  122. package/lib/duet/{p-897598ba.entry.js → p-053c3751.entry.js} +1 -1
  123. package/lib/duet/p-094b206c.entry.js +4 -0
  124. package/lib/duet/{p-3c47c2b3.system.entry.js → p-095b52f8.system.entry.js} +2 -2
  125. package/lib/duet/p-0f343566.system.entry.js +4 -0
  126. package/lib/duet/p-0fffc5fe.entry.js +4 -0
  127. package/lib/duet/{p-c15f6b6d.system.entry.js → p-1167bc0a.system.entry.js} +1 -1
  128. package/lib/duet/p-13db05ed.entry.js +4 -0
  129. package/lib/duet/p-15edabe0.entry.js +4 -0
  130. package/lib/duet/{p-0a8c1862.entry.js → p-16a1bfe4.entry.js} +1 -1
  131. package/lib/duet/{p-c6a3383d.entry.js → p-273b6543.entry.js} +1 -1
  132. package/lib/duet/p-27d9b918.entry.js +4 -0
  133. package/lib/duet/{p-f14203b8.system.entry.js → p-2cc240f9.system.entry.js} +1 -1
  134. package/lib/duet/p-2ee81c0d.system.entry.js +4 -0
  135. package/lib/duet/{p-439946a9.system.entry.js → p-31a56879.system.entry.js} +1 -1
  136. package/lib/duet/{p-6b03322b.system.js → p-33b3aba4.system.js} +0 -0
  137. package/lib/duet/p-35f011bf.system.js +5 -0
  138. package/lib/duet/{p-fa59ebf4.js → p-3b31184e.js} +0 -0
  139. package/lib/duet/{p-1483f29a.entry.js → p-4061e958.entry.js} +1 -1
  140. package/lib/duet/p-40ebab42.entry.js +4 -0
  141. package/lib/duet/p-465777cf.system.entry.js +4 -0
  142. package/lib/duet/{p-eee5e878.entry.js → p-484993a3.entry.js} +1 -1
  143. package/lib/duet/p-49fc4668.entry.js +4 -0
  144. package/lib/duet/{p-5a400c18.system.entry.js → p-4e2d8044.system.entry.js} +1 -1
  145. package/lib/duet/{p-abf8eaf7.js → p-4ebf1618.js} +0 -0
  146. package/lib/duet/{p-8115766f.entry.js → p-4ff48b81.entry.js} +1 -1
  147. package/lib/duet/{p-b36ca591.system.entry.js → p-50f27bbf.system.entry.js} +1 -1
  148. package/lib/duet/{p-bcb459ab.entry.js → p-5183d420.entry.js} +1 -1
  149. package/lib/duet/p-536bde7b.entry.js +4 -0
  150. package/lib/duet/p-53b8ff1e.system.entry.js +4 -0
  151. package/lib/duet/{p-f47c3d89.system.entry.js → p-55a7c445.system.entry.js} +2 -2
  152. package/lib/duet/{p-6cb203fe.system.entry.js → p-56d12aca.system.entry.js} +1 -1
  153. package/lib/duet/{p-173f45ea.entry.js → p-60ef49b0.entry.js} +1 -1
  154. package/lib/duet/{p-a123aed1.entry.js → p-6518b98d.entry.js} +1 -1
  155. package/lib/duet/{p-a7fa5d3c.system.entry.js → p-69180d4f.system.entry.js} +1 -1
  156. package/lib/duet/{p-64004291.system.entry.js → p-6e02a236.system.entry.js} +1 -1
  157. package/lib/duet/{p-1541ea7f.system.entry.js → p-6ed460f4.system.entry.js} +1 -1
  158. package/lib/duet/{p-ec16c35f.system.entry.js → p-720c6e22.system.entry.js} +1 -1
  159. package/lib/duet/{p-f6bcc3d6.system.entry.js → p-74e56aba.system.entry.js} +1 -1
  160. package/lib/duet/p-750330d5.entry.js +4 -0
  161. package/lib/duet/{p-f83da548.system.entry.js → p-76263b65.system.entry.js} +2 -2
  162. package/lib/duet/{p-f5fe7f71.entry.js → p-76c11fd4.entry.js} +1 -1
  163. package/lib/duet/p-798355c8.system.js +4 -0
  164. package/lib/duet/{p-e212c603.system.entry.js → p-7bf7db59.system.entry.js} +2 -2
  165. package/lib/duet/{p-dc93e47e.system.entry.js → p-7e951645.system.entry.js} +2 -2
  166. package/lib/duet/p-7ed17661.entry.js +4 -0
  167. package/lib/duet/{p-07507eaf.entry.js → p-7ef5c9a5.entry.js} +1 -1
  168. package/lib/duet/{p-11eae10d.system.entry.js → p-7f984c27.system.entry.js} +1 -1
  169. package/lib/duet/{p-c7193f83.system.entry.js → p-85be7c9f.system.entry.js} +1 -1
  170. package/lib/duet/p-867497c7.system.entry.js +4 -0
  171. package/lib/duet/{p-93728074.entry.js → p-869a8af0.entry.js} +1 -1
  172. package/lib/duet/{p-60cc813f.entry.js → p-8714d15d.entry.js} +1 -1
  173. package/lib/duet/p-876175fe.entry.js +4 -0
  174. package/lib/duet/{p-19baba2c.system.entry.js → p-88113f53.system.entry.js} +2 -2
  175. package/lib/duet/{p-fd191588.system.entry.js → p-8828fc2e.system.entry.js} +1 -1
  176. package/lib/duet/p-88996447.entry.js +4 -0
  177. package/lib/duet/p-8de3ea21.system.entry.js +4 -0
  178. package/lib/duet/p-8e9cbd88.entry.js +4 -0
  179. package/lib/duet/{p-87cddc77.entry.js → p-91a3e8db.entry.js} +1 -1
  180. package/lib/duet/{p-d893adf0.system.entry.js → p-927f850c.system.entry.js} +1 -1
  181. package/lib/duet/p-97b88959.system.entry.js +4 -0
  182. package/lib/duet/{p-4250a32c.system.entry.js → p-97bbef5f.system.entry.js} +2 -2
  183. package/lib/duet/{p-03c07265.entry.js → p-97d54e2d.entry.js} +1 -1
  184. package/lib/duet/{p-eaf8c9b9.system.entry.js → p-98cf83b0.system.entry.js} +1 -1
  185. package/lib/duet/{p-0e6b7e4b.entry.js → p-9954eddc.entry.js} +1 -1
  186. package/lib/duet/p-9d86935b.entry.js +4 -0
  187. package/lib/duet/p-a18f86a0.entry.js +4 -0
  188. package/lib/duet/{p-4578a009.system.entry.js → p-a36592fe.system.entry.js} +1 -1
  189. package/lib/duet/{p-99802812.system.js → p-a418cba4.system.js} +1 -1
  190. package/lib/duet/{p-a5c6944a.entry.js → p-ac368fcb.entry.js} +1 -1
  191. package/lib/duet/p-af4aafea.entry.js +4 -0
  192. package/lib/duet/p-b2a01d36.entry.js +4 -0
  193. package/lib/duet/{p-c42c606f.system.entry.js → p-b2e25ecf.system.entry.js} +1 -1
  194. package/lib/duet/{p-542af014.system.js → p-b668b67c.system.js} +0 -0
  195. package/lib/duet/p-b708426c.entry.js +4 -0
  196. package/lib/duet/p-b7a90031.entry.js +4 -0
  197. package/lib/duet/{p-3a1e3e0e.system.entry.js → p-bf052bc0.system.entry.js} +1 -1
  198. package/lib/duet/p-c21bd47a.js +5 -0
  199. package/lib/duet/{p-a2540f4c.entry.js → p-c576c929.entry.js} +1 -1
  200. package/lib/duet/{p-34cf4621.entry.js → p-c6e70db9.entry.js} +1 -1
  201. package/lib/duet/{p-66581277.system.entry.js → p-cabfb664.system.entry.js} +1 -1
  202. package/lib/duet/{p-15605c5b.system.entry.js → p-cd5ed901.system.entry.js} +1 -1
  203. package/lib/duet/{p-27d238c5.js → p-d4c234ed.js} +1 -1
  204. package/lib/duet/{p-dec7be82.system.entry.js → p-d65262fb.system.entry.js} +1 -1
  205. package/lib/duet/{p-29618e0a.system.entry.js → p-d698f01c.system.entry.js} +1 -1
  206. package/lib/duet/p-d7d0f3b7.entry.js +4 -0
  207. package/lib/duet/{p-34798fb8.entry.js → p-dc1f4e8a.entry.js} +1 -1
  208. package/lib/duet/{p-f97ad46b.system.entry.js → p-df6ebe8d.system.entry.js} +1 -1
  209. package/lib/duet/p-dfa712ca.js +4 -0
  210. package/lib/duet/{p-fb7c4c21.system.entry.js → p-eba2b43d.system.entry.js} +1 -1
  211. package/lib/duet/{p-0a6fe749.system.entry.js → p-ec55c00f.system.entry.js} +1 -1
  212. package/lib/duet/{p-4f13c3a9.entry.js → p-f3a98f22.entry.js} +1 -1
  213. package/lib/duet/{p-29757074.entry.js → p-f9501a56.entry.js} +1 -1
  214. package/lib/duet/p-ff46ec81.system.js +16 -0
  215. package/lib/esm/{dom-3c479050.js → dom-3dbcb0d8.js} +1 -1
  216. package/lib/esm/duet-action-button.entry.js +16 -8
  217. package/lib/esm/duet-alert.entry.js +2 -2
  218. package/lib/esm/duet-badge.entry.js +2 -2
  219. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  220. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  221. package/lib/esm/duet-button_2.entry.js +17 -2
  222. package/lib/esm/duet-caption_4.entry.js +3 -3
  223. package/lib/esm/duet-card.entry.js +2 -2
  224. package/lib/esm/duet-checkbox.entry.js +15 -3
  225. package/lib/esm/duet-choice_2.entry.js +16 -4
  226. package/lib/esm/duet-collapsible.entry.js +2 -2
  227. package/lib/esm/duet-combobox.entry.js +2 -2
  228. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  229. package/lib/esm/duet-date-picker.entry.js +3 -4
  230. package/lib/esm/duet-divider_2.entry.js +2 -2
  231. package/lib/esm/duet-editable-table_3.entry.js +6 -6
  232. package/lib/esm/duet-empty-state.entry.js +2 -2
  233. package/lib/esm/duet-fieldset.entry.js +2 -2
  234. package/lib/esm/duet-footer.entry.js +2 -2
  235. package/lib/esm/duet-grid_2.entry.js +2 -2
  236. package/lib/esm/duet-header_2.entry.js +3 -3
  237. package/lib/esm/duet-hero.entry.js +2 -2
  238. package/lib/esm/duet-icon.entry.js +2 -2
  239. package/lib/esm/duet-input_2.entry.js +18 -4
  240. package/lib/esm/duet-layout.entry.js +1 -1
  241. package/lib/esm/duet-list_2.entry.js +2 -2
  242. package/lib/esm/duet-modal.entry.js +12 -4
  243. package/lib/esm/duet-notification_2.entry.js +2 -2
  244. package/lib/esm/duet-number-input.entry.js +106 -49
  245. package/lib/esm/duet-pagination_2.entry.js +19 -3
  246. package/lib/esm/duet-progress.entry.js +15 -3
  247. package/lib/esm/duet-radio_2.entry.js +15 -3
  248. package/lib/esm/duet-range-slider.entry.js +2 -2
  249. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  250. package/lib/esm/duet-select.entry.js +2 -2
  251. package/lib/esm/duet-step_2.entry.js +2 -2
  252. package/lib/esm/duet-textarea.entry.js +17 -3
  253. package/lib/esm/duet-toggle.entry.js +15 -3
  254. package/lib/esm/duet-tooltip.entry.js +2 -2
  255. package/lib/esm/duet-tray.entry.js +2 -2
  256. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  257. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  258. package/lib/esm/duet.js +4 -4
  259. package/lib/esm/{focus-utils-b62b9ffc.js → focus-utils-a1fd6cac.js} +1 -1
  260. package/lib/esm/{index-f5582df1.js → index-179c634c.js} +11 -9
  261. package/lib/esm/loader.js +3 -3
  262. package/lib/esm/polyfills/css-shim.js +1 -1
  263. package/lib/esm/{shadow-css-fbe49d20.js → shadow-css-501eda9a.js} +2 -3
  264. package/lib/esm/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  265. package/lib/esm-es5/{dom-3c479050.js → dom-3dbcb0d8.js} +0 -0
  266. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  267. package/lib/esm-es5/duet-alert.entry.js +1 -1
  268. package/lib/esm-es5/duet-badge.entry.js +1 -1
  269. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  270. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  271. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  272. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  273. package/lib/esm-es5/duet-card.entry.js +1 -1
  274. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  275. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  276. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  277. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  278. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  279. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  280. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  281. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  282. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  283. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  284. package/lib/esm-es5/duet-footer.entry.js +1 -1
  285. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  286. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  287. package/lib/esm-es5/duet-hero.entry.js +1 -1
  288. package/lib/esm-es5/duet-icon.entry.js +1 -1
  289. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  290. package/lib/esm-es5/duet-layout.entry.js +1 -1
  291. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  292. package/lib/esm-es5/duet-modal.entry.js +2 -2
  293. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  294. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  295. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  296. package/lib/esm-es5/duet-progress.entry.js +1 -1
  297. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  298. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  299. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  300. package/lib/esm-es5/duet-select.entry.js +1 -1
  301. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  302. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  303. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  304. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  305. package/lib/esm-es5/duet-tray.entry.js +1 -1
  306. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  307. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  308. package/lib/esm-es5/duet.js +1 -1
  309. package/lib/esm-es5/{focus-utils-b62b9ffc.js → focus-utils-a1fd6cac.js} +1 -1
  310. package/lib/esm-es5/index-179c634c.js +5 -0
  311. package/lib/esm-es5/loader.js +1 -1
  312. package/lib/esm-es5/shadow-css-501eda9a.js +15 -0
  313. package/lib/esm-es5/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  314. package/lib/types/common/a11y-component.d.ts +13 -0
  315. package/lib/types/{utils → common}/form-components.d.ts +0 -1
  316. package/lib/types/common/index.d.ts +3 -0
  317. package/lib/types/{utils → common}/themeable-component.d.ts +0 -0
  318. package/lib/types/components/duet-action-button/duet-action-button.d.ts +15 -7
  319. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -1
  320. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -1
  321. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -1
  322. package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +1 -1
  323. package/lib/types/components/duet-button/duet-button.d.ts +14 -3
  324. package/lib/types/components/duet-caption/duet-caption.d.ts +1 -1
  325. package/lib/types/components/duet-card/duet-card.d.ts +1 -1
  326. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +14 -3
  327. package/lib/types/components/duet-choice/duet-choice.d.ts +14 -3
  328. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -1
  329. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
  330. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
  331. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -1
  332. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -2
  333. package/lib/types/components/duet-divider/duet-divider.d.ts +1 -1
  334. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -1
  335. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +1 -1
  336. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
  337. package/lib/types/components/duet-footer/duet-footer.d.ts +1 -1
  338. package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +1 -1
  339. package/lib/types/components/duet-header/duet-header.d.ts +1 -1
  340. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
  341. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -1
  342. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
  343. package/lib/types/components/duet-input/duet-input.d.ts +15 -4
  344. package/lib/types/components/duet-label/duet-label.d.ts +1 -1
  345. package/lib/types/components/duet-link/duet-link.d.ts +1 -1
  346. package/lib/types/components/duet-list/duet-list.d.ts +1 -1
  347. package/lib/types/components/duet-logo/duet-logo.d.ts +1 -1
  348. package/lib/types/components/duet-modal/duet-modal.d.ts +18 -2
  349. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -1
  350. package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -1
  351. package/lib/types/components/duet-number-input/duet-number-input.d.ts +14 -4
  352. package/lib/types/components/duet-pagination/duet-pagination.d.ts +18 -2
  353. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -1
  354. package/lib/types/components/duet-progress/duet-progress.d.ts +14 -2
  355. package/lib/types/components/duet-radio/duet-radio.d.ts +14 -3
  356. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -1
  357. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -2
  358. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +1 -1
  359. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  360. package/lib/types/components/duet-select/duet-select.d.ts +2 -2
  361. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -1
  362. package/lib/types/components/duet-step/duet-step.d.ts +1 -1
  363. package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -1
  364. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -1
  365. package/lib/types/components/duet-table/duet-table.d.ts +1 -1
  366. package/lib/types/components/duet-textarea/duet-textarea.d.ts +14 -3
  367. package/lib/types/components/duet-toggle/duet-toggle.d.ts +14 -3
  368. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  369. package/lib/types/components/duet-tray/duet-tray.d.ts +1 -1
  370. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -2
  371. package/lib/types/components.d.ts +520 -112
  372. package/lib/types/utils/math.utils.d.ts +11 -0
  373. package/package.json +8 -9
  374. package/lib/collection/components/duet-number-input/number-input-utils.js +0 -26
  375. package/lib/duet/p-01842017.entry.js +0 -4
  376. package/lib/duet/p-0965cfe4.entry.js +0 -4
  377. package/lib/duet/p-0c69febe.js +0 -4
  378. package/lib/duet/p-10916256.entry.js +0 -4
  379. package/lib/duet/p-23dba576.system.entry.js +0 -4
  380. package/lib/duet/p-28604a8c.entry.js +0 -4
  381. package/lib/duet/p-32c13bc9.entry.js +0 -4
  382. package/lib/duet/p-3aee83a1.entry.js +0 -4
  383. package/lib/duet/p-4d1eb579.entry.js +0 -4
  384. package/lib/duet/p-4d5c234a.entry.js +0 -4
  385. package/lib/duet/p-5801a726.system.entry.js +0 -4
  386. package/lib/duet/p-582d2285.entry.js +0 -4
  387. package/lib/duet/p-645027b3.entry.js +0 -4
  388. package/lib/duet/p-6d27eb2f.js +0 -4
  389. package/lib/duet/p-70ee0987.entry.js +0 -4
  390. package/lib/duet/p-76a4bb32.entry.js +0 -4
  391. package/lib/duet/p-7af04f14.entry.js +0 -4
  392. package/lib/duet/p-7bea9dea.system.js +0 -4
  393. package/lib/duet/p-7c01c28f.entry.js +0 -4
  394. package/lib/duet/p-81666e2f.entry.js +0 -4
  395. package/lib/duet/p-864d37c9.entry.js +0 -4
  396. package/lib/duet/p-92a25fb5.system.js +0 -16
  397. package/lib/duet/p-961bf024.entry.js +0 -4
  398. package/lib/duet/p-97fd533f.entry.js +0 -4
  399. package/lib/duet/p-a1d17cd4.system.entry.js +0 -4
  400. package/lib/duet/p-aa3544c4.entry.js +0 -4
  401. package/lib/duet/p-b51ab460.system.entry.js +0 -4
  402. package/lib/duet/p-b91c31a7.system.entry.js +0 -4
  403. package/lib/duet/p-c1326be0.system.entry.js +0 -4
  404. package/lib/duet/p-d5f96b6f.system.entry.js +0 -4
  405. package/lib/duet/p-d7b5c4bc.entry.js +0 -4
  406. package/lib/duet/p-dab62275.system.js +0 -4
  407. package/lib/duet/p-f1d98881.system.entry.js +0 -4
  408. package/lib/esm-es5/index-f5582df1.js +0 -4
  409. package/lib/esm-es5/shadow-css-fbe49d20.js +0 -15
  410. package/lib/types/components/duet-number-input/number-input-utils.d.ts +0 -4
@@ -58,37 +58,45 @@ import { StatusMessage as StatusMessage1 } from "./components/duet-upload-aria-s
58
58
  export namespace Components {
59
59
  interface DuetActionButton {
60
60
  /**
61
- * Name of id of action that was called being called
61
+ * Used to indicate which dom element with ID this element controls
62
62
  */
63
- "actionId": string;
63
+ "accessibleControls": string;
64
64
  /**
65
- * Name of id of action that was called being called
65
+ * Described By id
66
66
  */
67
- "actionMeta": Record<any, any> | string;
67
+ "accessibleDescribedBy": string;
68
68
  /**
69
- * Name of action being called
69
+ * Aria description the button
70
70
  */
71
- "actionName": string;
71
+ "accessibleDescription": string;
72
72
  /**
73
- * Used to indicate which dom element with ID this element controls
73
+ * Details of the component
74
74
  */
75
- "ariaControls": string;
75
+ "accessibleDetails": string;
76
76
  /**
77
- * Described By id
77
+ * String of id's that indicate alternative labels elements
78
78
  */
79
- "ariaDescribedBy": string;
79
+ "accessibleLabelledBy": string;
80
80
  /**
81
- * Aria description the button
81
+ * Default pagination labels
82
82
  */
83
- "ariaDescription": string;
83
+ "accessibleLabels": Record<string, string>;
84
84
  /**
85
85
  * Default pagination labels
86
86
  */
87
- "ariaLabels": Record<string, string>;
87
+ "accessibleLabelsDefaults": DuetLangObject;
88
88
  /**
89
- * Default pagination labels
89
+ * Name of id of action that was called being called
90
90
  */
91
- "ariaLabelsDefaults": DuetLangObject;
91
+ "actionId": string;
92
+ /**
93
+ * Name of id of action that was called being called
94
+ */
95
+ "actionMeta": Record<any, any> | string;
96
+ /**
97
+ * Name of action being called
98
+ */
99
+ "actionName": string;
92
100
  /**
93
101
  * Custom color to be used for a background, as a design token entered in camelCase or kebab-case. Using this option the icon will always be resized to $size-icon-medium on mobile viewports. Example: "color-primary".
94
102
  */
@@ -213,6 +221,14 @@ export namespace Components {
213
221
  * Indicates the id of a component that describes the button.
214
222
  */
215
223
  "accessibleDescribedBy": string;
224
+ /**
225
+ * Aria description the button
226
+ */
227
+ "accessibleDescription": string;
228
+ /**
229
+ * Details of the component
230
+ */
231
+ "accessibleDetails": string;
216
232
  /**
217
233
  * If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button. Set the value to convey the current expanded (true) or collapsed (false) state of the content.
218
234
  */
@@ -231,6 +247,10 @@ export namespace Components {
231
247
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
232
248
  */
233
249
  "accessibleLabelExternalDefaults": DuetLangObject | string;
250
+ /**
251
+ * String of id's that indicate alternative labels elements
252
+ */
253
+ "accessibleLabelledBy": string;
234
254
  /**
235
255
  * Indicates the id of a component owned by the button.
236
256
  */
@@ -440,10 +460,22 @@ export namespace Components {
440
460
  * Indicates the id of a component that describes the checkbox.
441
461
  */
442
462
  "accessibleDescribedBy": string;
463
+ /**
464
+ * Aria description the button
465
+ */
466
+ "accessibleDescription": string;
467
+ /**
468
+ * Aria Details of the component
469
+ */
470
+ "accessibleDetails": string;
443
471
  /**
444
472
  * Control the tabindex of checkbox. In most cases this should never be used! It exists only for Duet’s internal needs.
445
473
  */
446
474
  "accessibleIndex": string;
475
+ /**
476
+ * String of id's that indicate alternative labels elements
477
+ */
478
+ "accessibleLabelledBy": string;
447
479
  /**
448
480
  * Indicates the id of a component owned by the checkbox.
449
481
  */
@@ -510,6 +542,14 @@ export namespace Components {
510
542
  * Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
511
543
  */
512
544
  "accessibleDescribedBy": string;
545
+ /**
546
+ * Aria description the button
547
+ */
548
+ "accessibleDescription": string;
549
+ /**
550
+ * Aria Details of the component
551
+ */
552
+ "accessibleDetails": string;
513
553
  /**
514
554
  * Accessible label that is read for screen reader users in the info toggle trigger button. Not visible for normal users.
515
555
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
@@ -519,6 +559,10 @@ export namespace Components {
519
559
  * Property to change accessibleLabelInfoButton defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed
520
560
  */
521
561
  "accessibleLabelInfoButtonDefaults": DuetLangObject | string;
562
+ /**
563
+ * String of id's that indicate alternative labels elements
564
+ */
565
+ "accessibleLabelledBy": string;
522
566
  /**
523
567
  * Indicates the id of a component owned by the choice.
524
568
  */
@@ -1369,9 +1413,17 @@ export namespace Components {
1369
1413
  */
1370
1414
  "accessibleControls": string;
1371
1415
  /**
1372
- * Indicates the id of a component that describes the input.
1416
+ * Indicates the id or a string of space seperated ids of a component(s) that describes the input.
1373
1417
  */
1374
1418
  "accessibleDescribedBy": string;
1419
+ /**
1420
+ * Aria description the button
1421
+ */
1422
+ "accessibleDescription": string;
1423
+ /**
1424
+ * Aria Details of the component
1425
+ */
1426
+ "accessibleDetails": string;
1375
1427
  /**
1376
1428
  * Expanded state of the element, if needed
1377
1429
  */
@@ -1380,6 +1432,10 @@ export namespace Components {
1380
1432
  * Indicates value of any popup element associated with the input.
1381
1433
  */
1382
1434
  "accessibleHasPopup": string;
1435
+ /**
1436
+ * String of id's that indicate alternative labels elements
1437
+ */
1438
+ "accessibleLabelledBy": string;
1383
1439
  /**
1384
1440
  * Indicates the id of a component owned by the input.
1385
1441
  */
@@ -1674,6 +1730,22 @@ export namespace Components {
1674
1730
  * @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
1675
1731
  */
1676
1732
  "accessibleCloseLabelDefaults": DuetLangObject | string;
1733
+ /**
1734
+ * Indicates the id or a string of space seperated ids of a component(s) that describes the input.
1735
+ */
1736
+ "accessibleDescribedBy": string;
1737
+ /**
1738
+ * Aria description the button
1739
+ */
1740
+ "accessibleDescription": string;
1741
+ /**
1742
+ * Details of the component
1743
+ */
1744
+ "accessibleDetails": string;
1745
+ /**
1746
+ * Indicates the id or a string of space seperated ids of a component(s) that labels the input.
1747
+ */
1748
+ "accessibleLabelledBy": string;
1677
1749
  /**
1678
1750
  * Use this property when you need to have the modal dialog initially active.
1679
1751
  */
@@ -1841,6 +1913,18 @@ export namespace Components {
1841
1913
  * Indicates the id of a component that describes the input.
1842
1914
  */
1843
1915
  "accessibleDescribedBy": string;
1916
+ /**
1917
+ * Aria description the button
1918
+ */
1919
+ "accessibleDescription": string;
1920
+ /**
1921
+ * Details of the component
1922
+ */
1923
+ "accessibleDetails": string;
1924
+ /**
1925
+ * String of id's that indicate alternative labels elements
1926
+ */
1927
+ "accessibleLabelledBy": string;
1844
1928
  /**
1845
1929
  * Format of message used to announce current amount when switching between amounts. The string {current} is replaced with the current amount.
1846
1930
  * @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
@@ -1963,6 +2047,22 @@ export namespace Components {
1963
2047
  "value": string;
1964
2048
  }
1965
2049
  interface DuetPagination {
2050
+ /**
2051
+ * Described By id
2052
+ */
2053
+ "accessibleDescribedBy": string;
2054
+ /**
2055
+ * Aria description the button
2056
+ */
2057
+ "accessibleDescription": string;
2058
+ /**
2059
+ * Details of the component
2060
+ */
2061
+ "accessibleDetails": string;
2062
+ /**
2063
+ * String of id's that indicate alternative labels elements
2064
+ */
2065
+ "accessibleLabelledBy": string;
1966
2066
  /**
1967
2067
  * Default pagination labels
1968
2068
  */
@@ -2035,6 +2135,14 @@ export namespace Components {
2035
2135
  * Indicates the id of a component that describes the upload component.
2036
2136
  */
2037
2137
  "accessibleDescribedBy": string;
2138
+ /**
2139
+ * Aria description the button
2140
+ */
2141
+ "accessibleDescription": string;
2142
+ /**
2143
+ * Aria Details of the component
2144
+ */
2145
+ "accessibleDetails": string;
2038
2146
  /**
2039
2147
  * Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
2040
2148
  */
@@ -2048,6 +2156,10 @@ export namespace Components {
2048
2156
  * Defaults for accessibleLabel
2049
2157
  */
2050
2158
  "accessibleLabelUploadDefaults": DuetLangObject | string;
2159
+ /**
2160
+ * String of id's that indicate alternative labels elements
2161
+ */
2162
+ "accessibleLabelledBy": string;
2051
2163
  /**
2052
2164
  * Caption (underneath label) that can be set as a way of adding extra information
2053
2165
  */
@@ -2078,10 +2190,22 @@ export namespace Components {
2078
2190
  * Indicates the id of a component that describes the radio.
2079
2191
  */
2080
2192
  "accessibleDescribedBy": string;
2193
+ /**
2194
+ * Aria description the button
2195
+ */
2196
+ "accessibleDescription": string;
2197
+ /**
2198
+ * Aria Details of the component
2199
+ */
2200
+ "accessibleDetails": string;
2081
2201
  /**
2082
2202
  * Control the tabindex of checkbox. In most cases this should never be used! It exists only for Duet’s internal needs.
2083
2203
  */
2084
2204
  "accessibleIndex": string;
2205
+ /**
2206
+ * String of id's that indicate alternative labels elements
2207
+ */
2208
+ "accessibleLabelledBy": string;
2085
2209
  /**
2086
2210
  * Indicates the id of a component owned by the radio.
2087
2211
  */
@@ -2625,6 +2749,18 @@ export namespace Components {
2625
2749
  * Indicates the id of a component that describes the input.
2626
2750
  */
2627
2751
  "accessibleDescribedBy": string;
2752
+ /**
2753
+ * Aria description the button
2754
+ */
2755
+ "accessibleDescription": string;
2756
+ /**
2757
+ * Aria Details of the component
2758
+ */
2759
+ "accessibleDetails": string;
2760
+ /**
2761
+ * String of id's that indicate alternative labels elements
2762
+ */
2763
+ "accessibleLabelledBy": string;
2628
2764
  /**
2629
2765
  * Indicates the id of a component owned by the textarea.
2630
2766
  */
@@ -2735,6 +2871,18 @@ export namespace Components {
2735
2871
  * Indicates the id of a component that describes the toggle.
2736
2872
  */
2737
2873
  "accessibleDescribedBy": string;
2874
+ /**
2875
+ * Aria description the button
2876
+ */
2877
+ "accessibleDescription": string;
2878
+ /**
2879
+ * Aria Details of the component
2880
+ */
2881
+ "accessibleDetails": string;
2882
+ /**
2883
+ * String of id's that indicate alternative labels elements
2884
+ */
2885
+ "accessibleLabelledBy": string;
2738
2886
  /**
2739
2887
  * Indicates the id of a component owned by the toggle.
2740
2888
  */
@@ -2909,7 +3057,7 @@ export namespace Components {
2909
3057
  /**
2910
3058
  * Default actions added to the internally used duet-editable-table
2911
3059
  */
2912
- "actions": DuetEditableTableActions;
3060
+ "actions": DuetEditableTableActions1;
2913
3061
  /**
2914
3062
  * Key used to set vertical alignment of action buttons
2915
3063
  */
@@ -3121,6 +3269,118 @@ export namespace Components {
3121
3269
  interface DuetVisuallyHidden {
3122
3270
  }
3123
3271
  }
3272
+ export interface DuetActionButtonCustomEvent<T> extends CustomEvent<T> {
3273
+ detail: T;
3274
+ target: HTMLDuetActionButtonElement;
3275
+ }
3276
+ export interface DuetAlertCustomEvent<T> extends CustomEvent<T> {
3277
+ detail: T;
3278
+ target: HTMLDuetAlertElement;
3279
+ }
3280
+ export interface DuetButtonCustomEvent<T> extends CustomEvent<T> {
3281
+ detail: T;
3282
+ target: HTMLDuetButtonElement;
3283
+ }
3284
+ export interface DuetCardCustomEvent<T> extends CustomEvent<T> {
3285
+ detail: T;
3286
+ target: HTMLDuetCardElement;
3287
+ }
3288
+ export interface DuetCheckboxCustomEvent<T> extends CustomEvent<T> {
3289
+ detail: T;
3290
+ target: HTMLDuetCheckboxElement;
3291
+ }
3292
+ export interface DuetChoiceCustomEvent<T> extends CustomEvent<T> {
3293
+ detail: T;
3294
+ target: HTMLDuetChoiceElement;
3295
+ }
3296
+ export interface DuetCollapsibleCustomEvent<T> extends CustomEvent<T> {
3297
+ detail: T;
3298
+ target: HTMLDuetCollapsibleElement;
3299
+ }
3300
+ export interface DuetComboboxCustomEvent<T> extends CustomEvent<T> {
3301
+ detail: T;
3302
+ target: HTMLDuetComboboxElement;
3303
+ }
3304
+ export interface DuetCookieConsentCustomEvent<T> extends CustomEvent<T> {
3305
+ detail: T;
3306
+ target: HTMLDuetCookieConsentElement;
3307
+ }
3308
+ export interface DuetDatePickerCustomEvent<T> extends CustomEvent<T> {
3309
+ detail: T;
3310
+ target: HTMLDuetDatePickerElement;
3311
+ }
3312
+ export interface DuetEditableTableCustomEvent<T> extends CustomEvent<T> {
3313
+ detail: T;
3314
+ target: HTMLDuetEditableTableElement;
3315
+ }
3316
+ export interface DuetFooterCustomEvent<T> extends CustomEvent<T> {
3317
+ detail: T;
3318
+ target: HTMLDuetFooterElement;
3319
+ }
3320
+ export interface DuetHeaderCustomEvent<T> extends CustomEvent<T> {
3321
+ detail: T;
3322
+ target: HTMLDuetHeaderElement;
3323
+ }
3324
+ export interface DuetHeroCustomEvent<T> extends CustomEvent<T> {
3325
+ detail: T;
3326
+ target: HTMLDuetHeroElement;
3327
+ }
3328
+ export interface DuetInputCustomEvent<T> extends CustomEvent<T> {
3329
+ detail: T;
3330
+ target: HTMLDuetInputElement;
3331
+ }
3332
+ export interface DuetModalCustomEvent<T> extends CustomEvent<T> {
3333
+ detail: T;
3334
+ target: HTMLDuetModalElement;
3335
+ }
3336
+ export interface DuetNumberInputCustomEvent<T> extends CustomEvent<T> {
3337
+ detail: T;
3338
+ target: HTMLDuetNumberInputElement;
3339
+ }
3340
+ export interface DuetPaginationCustomEvent<T> extends CustomEvent<T> {
3341
+ detail: T;
3342
+ target: HTMLDuetPaginationElement;
3343
+ }
3344
+ export interface DuetRadioCustomEvent<T> extends CustomEvent<T> {
3345
+ detail: T;
3346
+ target: HTMLDuetRadioElement;
3347
+ }
3348
+ export interface DuetRangeSliderCustomEvent<T> extends CustomEvent<T> {
3349
+ detail: T;
3350
+ target: HTMLDuetRangeSliderElement;
3351
+ }
3352
+ export interface DuetRangeStepperCustomEvent<T> extends CustomEvent<T> {
3353
+ detail: T;
3354
+ target: HTMLDuetRangeStepperElement;
3355
+ }
3356
+ export interface DuetSelectCustomEvent<T> extends CustomEvent<T> {
3357
+ detail: T;
3358
+ target: HTMLDuetSelectElement;
3359
+ }
3360
+ export interface DuetStepCustomEvent<T> extends CustomEvent<T> {
3361
+ detail: T;
3362
+ target: HTMLDuetStepElement;
3363
+ }
3364
+ export interface DuetStepperCustomEvent<T> extends CustomEvent<T> {
3365
+ detail: T;
3366
+ target: HTMLDuetStepperElement;
3367
+ }
3368
+ export interface DuetTabGroupCustomEvent<T> extends CustomEvent<T> {
3369
+ detail: T;
3370
+ target: HTMLDuetTabGroupElement;
3371
+ }
3372
+ export interface DuetTextareaCustomEvent<T> extends CustomEvent<T> {
3373
+ detail: T;
3374
+ target: HTMLDuetTextareaElement;
3375
+ }
3376
+ export interface DuetToggleCustomEvent<T> extends CustomEvent<T> {
3377
+ detail: T;
3378
+ target: HTMLDuetToggleElement;
3379
+ }
3380
+ export interface DuetUploadCustomEvent<T> extends CustomEvent<T> {
3381
+ detail: T;
3382
+ target: HTMLDuetUploadElement;
3383
+ }
3124
3384
  declare global {
3125
3385
  interface HTMLDuetActionButtonElement extends Components.DuetActionButton, HTMLStencilElement {
3126
3386
  }
@@ -3548,37 +3808,45 @@ declare global {
3548
3808
  declare namespace LocalJSX {
3549
3809
  interface DuetActionButton {
3550
3810
  /**
3551
- * Name of id of action that was called being called
3811
+ * Used to indicate which dom element with ID this element controls
3552
3812
  */
3553
- "actionId"?: string;
3813
+ "accessibleControls"?: string;
3554
3814
  /**
3555
- * Name of id of action that was called being called
3815
+ * Described By id
3556
3816
  */
3557
- "actionMeta"?: Record<any, any> | string;
3817
+ "accessibleDescribedBy"?: string;
3558
3818
  /**
3559
- * Name of action being called
3819
+ * Aria description the button
3560
3820
  */
3561
- "actionName"?: string;
3821
+ "accessibleDescription"?: string;
3562
3822
  /**
3563
- * Used to indicate which dom element with ID this element controls
3823
+ * Details of the component
3564
3824
  */
3565
- "ariaControls"?: string;
3825
+ "accessibleDetails"?: string;
3566
3826
  /**
3567
- * Described By id
3827
+ * String of id's that indicate alternative labels elements
3568
3828
  */
3569
- "ariaDescribedBy"?: string;
3829
+ "accessibleLabelledBy"?: string;
3570
3830
  /**
3571
- * Aria description the button
3831
+ * Default pagination labels
3572
3832
  */
3573
- "ariaDescription"?: string;
3833
+ "accessibleLabels"?: Record<string, string>;
3574
3834
  /**
3575
3835
  * Default pagination labels
3576
3836
  */
3577
- "ariaLabels"?: Record<string, string>;
3837
+ "accessibleLabelsDefaults"?: DuetLangObject;
3578
3838
  /**
3579
- * Default pagination labels
3839
+ * Name of id of action that was called being called
3580
3840
  */
3581
- "ariaLabelsDefaults"?: DuetLangObject;
3841
+ "actionId"?: string;
3842
+ /**
3843
+ * Name of id of action that was called being called
3844
+ */
3845
+ "actionMeta"?: Record<any, any> | string;
3846
+ /**
3847
+ * Name of action being called
3848
+ */
3849
+ "actionName"?: string;
3582
3850
  /**
3583
3851
  * Custom color to be used for a background, as a design token entered in camelCase or kebab-case. Using this option the icon will always be resized to $size-icon-medium on mobile viewports. Example: "color-primary".
3584
3852
  */
@@ -3606,7 +3874,7 @@ declare namespace LocalJSX {
3606
3874
  /**
3607
3875
  * Emitted a page selection has been made
3608
3876
  */
3609
- "onDuetActionEvent"?: (event: CustomEvent<DuetActionButtonEvent>) => void;
3877
+ "onDuetActionEvent"?: (event: DuetActionButtonCustomEvent<DuetActionButtonEvent>) => void;
3610
3878
  /**
3611
3879
  * Theme of the pagination.
3612
3880
  */
@@ -3646,7 +3914,7 @@ declare namespace LocalJSX {
3646
3914
  /**
3647
3915
  * Emitted when the dismiss button is clicked
3648
3916
  */
3649
- "onDuetDismiss"?: (event: CustomEvent<DuetAlertEvent>) => void;
3917
+ "onDuetDismiss"?: (event: DuetAlertCustomEvent<DuetAlertEvent>) => void;
3650
3918
  /**
3651
3919
  * Controls the padding of the component.
3652
3920
  */
@@ -3711,6 +3979,14 @@ declare namespace LocalJSX {
3711
3979
  * Indicates the id of a component that describes the button.
3712
3980
  */
3713
3981
  "accessibleDescribedBy"?: string;
3982
+ /**
3983
+ * Aria description the button
3984
+ */
3985
+ "accessibleDescription"?: string;
3986
+ /**
3987
+ * Details of the component
3988
+ */
3989
+ "accessibleDetails"?: string;
3714
3990
  /**
3715
3991
  * If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button. Set the value to convey the current expanded (true) or collapsed (false) state of the content.
3716
3992
  */
@@ -3729,6 +4005,10 @@ declare namespace LocalJSX {
3729
4005
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
3730
4006
  */
3731
4007
  "accessibleLabelExternalDefaults"?: DuetLangObject | string;
4008
+ /**
4009
+ * String of id's that indicate alternative labels elements
4010
+ */
4011
+ "accessibleLabelledBy"?: string;
3732
4012
  /**
3733
4013
  * Indicates the id of a component owned by the button.
3734
4014
  */
@@ -3809,11 +4089,11 @@ declare namespace LocalJSX {
3809
4089
  /**
3810
4090
  * Emitted when the button loses focus.
3811
4091
  */
3812
- "onDuetBlur"?: (event: CustomEvent<any>) => void;
4092
+ "onDuetBlur"?: (event: DuetButtonCustomEvent<any>) => void;
3813
4093
  /**
3814
4094
  * Emitted when the button has focus.
3815
4095
  */
3816
- "onDuetFocus"?: (event: CustomEvent<any>) => void;
4096
+ "onDuetFocus"?: (event: DuetButtonCustomEvent<any>) => void;
3817
4097
  /**
3818
4098
  * Controls the padding of the component.
3819
4099
  */
@@ -3903,7 +4183,7 @@ declare namespace LocalJSX {
3903
4183
  /**
3904
4184
  * Event emitted when opened/closed
3905
4185
  */
3906
- "onDuetToggle"?: (event: CustomEvent<DuetCardToggleEvent>) => void;
4186
+ "onDuetToggle"?: (event: DuetCardCustomEvent<DuetCardToggleEvent>) => void;
3907
4187
  /**
3908
4188
  * If the card is collapsible, this property controls whether the card is open or closed.
3909
4189
  */
@@ -3942,10 +4222,22 @@ declare namespace LocalJSX {
3942
4222
  * Indicates the id of a component that describes the checkbox.
3943
4223
  */
3944
4224
  "accessibleDescribedBy"?: string;
4225
+ /**
4226
+ * Aria description the button
4227
+ */
4228
+ "accessibleDescription"?: string;
4229
+ /**
4230
+ * Aria Details of the component
4231
+ */
4232
+ "accessibleDetails"?: string;
3945
4233
  /**
3946
4234
  * Control the tabindex of checkbox. In most cases this should never be used! It exists only for Duet’s internal needs.
3947
4235
  */
3948
4236
  "accessibleIndex"?: string;
4237
+ /**
4238
+ * String of id's that indicate alternative labels elements
4239
+ */
4240
+ "accessibleLabelledBy"?: string;
3949
4241
  /**
3950
4242
  * Indicates the id of a component owned by the checkbox.
3951
4243
  */
@@ -3981,15 +4273,15 @@ declare namespace LocalJSX {
3981
4273
  /**
3982
4274
  * Emitted when the checkbox loses focus.
3983
4275
  */
3984
- "onDuetBlur"?: (event: CustomEvent<DuetCheckboxEvent>) => void;
4276
+ "onDuetBlur"?: (event: DuetCheckboxCustomEvent<DuetCheckboxEvent>) => void;
3985
4277
  /**
3986
4278
  * Emitted when the checked property has changed.
3987
4279
  */
3988
- "onDuetChange"?: (event: CustomEvent<DuetCheckboxEvent>) => void;
4280
+ "onDuetChange"?: (event: DuetCheckboxCustomEvent<DuetCheckboxEvent>) => void;
3989
4281
  /**
3990
4282
  * Emitted when the checkbox has focus.
3991
4283
  */
3992
- "onDuetFocus"?: (event: CustomEvent<DuetCheckboxEvent>) => void;
4284
+ "onDuetFocus"?: (event: DuetCheckboxCustomEvent<DuetCheckboxEvent>) => void;
3993
4285
  /**
3994
4286
  * Set whether the input is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
3995
4287
  */
@@ -4020,6 +4312,14 @@ declare namespace LocalJSX {
4020
4312
  * Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
4021
4313
  */
4022
4314
  "accessibleDescribedBy"?: string;
4315
+ /**
4316
+ * Aria description the button
4317
+ */
4318
+ "accessibleDescription"?: string;
4319
+ /**
4320
+ * Aria Details of the component
4321
+ */
4322
+ "accessibleDetails"?: string;
4023
4323
  /**
4024
4324
  * Accessible label that is read for screen reader users in the info toggle trigger button. Not visible for normal users.
4025
4325
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
@@ -4029,6 +4329,10 @@ declare namespace LocalJSX {
4029
4329
  * Property to change accessibleLabelInfoButton defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed
4030
4330
  */
4031
4331
  "accessibleLabelInfoButtonDefaults"?: DuetLangObject | string;
4332
+ /**
4333
+ * String of id's that indicate alternative labels elements
4334
+ */
4335
+ "accessibleLabelledBy"?: string;
4032
4336
  /**
4033
4337
  * Indicates the id of a component owned by the choice.
4034
4338
  */
@@ -4086,15 +4390,15 @@ declare namespace LocalJSX {
4086
4390
  /**
4087
4391
  * Emitted when the checkbox loses focus.
4088
4392
  */
4089
- "onDuetBlur"?: (event: CustomEvent<DuetChoiceEvent>) => void;
4393
+ "onDuetBlur"?: (event: DuetChoiceCustomEvent<DuetChoiceEvent>) => void;
4090
4394
  /**
4091
4395
  * Emitted when the checked property has changed.
4092
4396
  */
4093
- "onDuetChange"?: (event: CustomEvent<DuetChoiceEvent>) => void;
4397
+ "onDuetChange"?: (event: DuetChoiceCustomEvent<DuetChoiceEvent>) => void;
4094
4398
  /**
4095
4399
  * Emitted when the checkbox has focus.
4096
4400
  */
4097
- "onDuetFocus"?: (event: CustomEvent<DuetChoiceEvent>) => void;
4401
+ "onDuetFocus"?: (event: DuetChoiceCustomEvent<DuetChoiceEvent>) => void;
4098
4402
  /**
4099
4403
  * Controls the padding of the component.
4100
4404
  */
@@ -4194,7 +4498,7 @@ declare namespace LocalJSX {
4194
4498
  /**
4195
4499
  * Event emitted when opened/closed
4196
4500
  */
4197
- "onDuetToggle"?: (event: CustomEvent<DuetCollapsibleToggleEvent>) => void;
4501
+ "onDuetToggle"?: (event: DuetCollapsibleCustomEvent<DuetCollapsibleToggleEvent>) => void;
4198
4502
  /**
4199
4503
  * Is the component expanded or collapsed.
4200
4504
  */
@@ -4232,7 +4536,7 @@ declare namespace LocalJSX {
4232
4536
  /**
4233
4537
  * Emitted when a keyboard input occurred.
4234
4538
  */
4235
- "onDuetChange"?: (event: CustomEvent<DuetComboboxEvent>) => void;
4539
+ "onDuetChange"?: (event: DuetComboboxCustomEvent<DuetComboboxEvent>) => void;
4236
4540
  /**
4237
4541
  * Theme of the combobox.
4238
4542
  */
@@ -4250,7 +4554,7 @@ declare namespace LocalJSX {
4250
4554
  /**
4251
4555
  * Emitted when the consent button has been clicked.
4252
4556
  */
4253
- "onDuetCookieConsent"?: (event: CustomEvent<DuetCookieConsentEvent>) => void;
4557
+ "onDuetCookieConsent"?: (event: DuetCookieConsentCustomEvent<DuetCookieConsentEvent>) => void;
4254
4558
  /**
4255
4559
  * Theme of the cookie consent banner.
4256
4560
  */
@@ -4338,15 +4642,15 @@ declare namespace LocalJSX {
4338
4642
  /**
4339
4643
  * Event emitted the date picker input is blurred.
4340
4644
  */
4341
- "onDuetBlur"?: (event: CustomEvent<DuetDatePickerFocusEvent>) => void;
4645
+ "onDuetBlur"?: (event: DuetDatePickerCustomEvent<DuetDatePickerFocusEvent>) => void;
4342
4646
  /**
4343
4647
  * Event emitted when a date is selected.
4344
4648
  */
4345
- "onDuetChange"?: (event: CustomEvent<DuetDatePickerChangeEvent>) => void;
4649
+ "onDuetChange"?: (event: DuetDatePickerCustomEvent<DuetDatePickerChangeEvent>) => void;
4346
4650
  /**
4347
4651
  * Event emitted the date picker input is focused.
4348
4652
  */
4349
- "onDuetFocus"?: (event: CustomEvent<DuetDatePickerFocusEvent>) => void;
4653
+ "onDuetFocus"?: (event: DuetDatePickerCustomEvent<DuetDatePickerFocusEvent>) => void;
4350
4654
  /**
4351
4655
  * Hint text to display before the user types into the date picker input.
4352
4656
  * @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
@@ -4426,11 +4730,11 @@ declare namespace LocalJSX {
4426
4730
  /**
4427
4731
  * Event emitted when table is sortable and a header item is clicked/enter is pressed
4428
4732
  */
4429
- "onDuetMenuClick"?: (event: CustomEvent<DuetTableMenuEvent>) => void;
4733
+ "onDuetMenuClick"?: (event: DuetEditableTableCustomEvent<DuetTableMenuEvent>) => void;
4430
4734
  /**
4431
4735
  * Event emitted when table is sortable and a header item is clicked/enter is pressed
4432
4736
  */
4433
- "onDuetTableToggle"?: (event: CustomEvent<DuetTableToggleEvent>) => void;
4737
+ "onDuetTableToggle"?: (event: DuetEditableTableCustomEvent<DuetTableToggleEvent>) => void;
4434
4738
  /**
4435
4739
  * Define rows for a table An alternative to inline HTML table. required for Sortable tables
4436
4740
  * @default undefined
@@ -4537,23 +4841,23 @@ declare namespace LocalJSX {
4537
4841
  /**
4538
4842
  * Event raised when an items with an associated analytics ID is clicked. Analytics ID can be accessed via **event.detail.analyticsId**
4539
4843
  */
4540
- "onDuetAnalytics"?: (event: CustomEvent<DuetFooterAnalyticsEvent>) => void;
4844
+ "onDuetAnalytics"?: (event: DuetFooterCustomEvent<DuetFooterAnalyticsEvent>) => void;
4541
4845
  /**
4542
4846
  * @deprecated in favour of the more specific events like duetLogoClick. Callback for when a user is about to navigate to another page. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4543
4847
  */
4544
- "onDuetChange"?: (event: CustomEvent<DuetFooterChangeEvent>) => void;
4848
+ "onDuetChange"?: (event: DuetFooterCustomEvent<DuetFooterChangeEvent>) => void;
4545
4849
  /**
4546
4850
  * Event raised when the items are clicked. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4547
4851
  */
4548
- "onDuetItemClick"?: (event: CustomEvent<DuetFooterChangeEvent>) => void;
4852
+ "onDuetItemClick"?: (event: DuetFooterCustomEvent<DuetFooterChangeEvent>) => void;
4549
4853
  /**
4550
4854
  * Event raised when the logo is clicked. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4551
4855
  */
4552
- "onDuetLogoClick"?: (event: CustomEvent<DuetFooterChangeEvent>) => void;
4856
+ "onDuetLogoClick"?: (event: DuetFooterCustomEvent<DuetFooterChangeEvent>) => void;
4553
4857
  /**
4554
4858
  * Event raised when the menu links are clicked. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4555
4859
  */
4556
- "onDuetMenuClick"?: (event: CustomEvent<DuetFooterChangeEvent>) => void;
4860
+ "onDuetMenuClick"?: (event: DuetFooterCustomEvent<DuetFooterChangeEvent>) => void;
4557
4861
  /**
4558
4862
  * An array of items for the secondary footer links. Items have to include mandatory "label" and "href". Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.
4559
4863
  */
@@ -4691,51 +4995,51 @@ declare namespace LocalJSX {
4691
4995
  /**
4692
4996
  * Event raised when an items with an associated analytics ID is clicked. Analytics ID can be accessed via **event.detail.analyticsId**
4693
4997
  */
4694
- "onDuetAnalytics"?: (event: CustomEvent<DuetHeaderAnalyticsEvent>) => void;
4998
+ "onDuetAnalytics"?: (event: DuetHeaderCustomEvent<DuetHeaderAnalyticsEvent>) => void;
4695
4999
  /**
4696
5000
  * Event raised when a user has clicked the back button. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4697
5001
  */
4698
- "onDuetBackClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5002
+ "onDuetBackClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4699
5003
  /**
4700
5004
  * @deprecated in favour of more specific events like duetLogoClick. Callback for when a user is about to navigate to another page. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4701
5005
  */
4702
- "onDuetChange"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5006
+ "onDuetChange"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4703
5007
  /**
4704
5008
  * Event raised when a user has clicked an option from the contact dropdown. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4705
5009
  */
4706
- "onDuetContactClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5010
+ "onDuetContactClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4707
5011
  /**
4708
5012
  * Event raised when a user has clicked a menu item. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4709
5013
  */
4710
- "onDuetItemClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5014
+ "onDuetItemClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4711
5015
  /**
4712
5016
  * Event raised when a user has selected a language from the language dropdown. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4713
5017
  */
4714
- "onDuetLanguageSelect"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5018
+ "onDuetLanguageSelect"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4715
5019
  /**
4716
5020
  * Event raised when a user has clicked the logo. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4717
5021
  */
4718
- "onDuetLogoClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5022
+ "onDuetLogoClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4719
5023
  /**
4720
5024
  * Event raised mobile navigation is toggled. **event.detail.open** shows the current status of the navigation.
4721
5025
  */
4722
- "onDuetMobileNavToggle"?: (event: CustomEvent<DuetHeaderMobileNavToggleEvent>) => void;
5026
+ "onDuetMobileNavToggle"?: (event: DuetHeaderCustomEvent<DuetHeaderMobileNavToggleEvent>) => void;
4723
5027
  /**
4724
5028
  * Event for when a user has clicked the search link. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4725
5029
  */
4726
- "onDuetSearchClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5030
+ "onDuetSearchClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4727
5031
  /**
4728
5032
  * Event for when a user has clicked the session link. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4729
5033
  */
4730
- "onDuetSessionClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5034
+ "onDuetSessionClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4731
5035
  /**
4732
5036
  * Event raised when a user has clicked the "skip to content" button. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4733
5037
  */
4734
- "onDuetSkipClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5038
+ "onDuetSkipClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4735
5039
  /**
4736
5040
  * Event raised when a user has clicked the user link. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4737
5041
  */
4738
- "onDuetUserClick"?: (event: CustomEvent<DuetHeaderChangeEvent>) => void;
5042
+ "onDuetUserClick"?: (event: DuetHeaderCustomEvent<DuetHeaderChangeEvent>) => void;
4739
5043
  /**
4740
5044
  * Region that is shown next to the logo. If empty, region will be hidden. Note: not available in desktop multilevel header.
4741
5045
  */
@@ -4883,11 +5187,11 @@ declare namespace LocalJSX {
4883
5187
  /**
4884
5188
  * Event raised when an items with an associated analytics ID is clicked. Analytics ID can be accessed via **event.detail.analyticsId**
4885
5189
  */
4886
- "onDuetAnalytics"?: (event: CustomEvent<DuetHeroAnalyticsEvent>) => void;
5190
+ "onDuetAnalytics"?: (event: DuetHeroCustomEvent<DuetHeroAnalyticsEvent>) => void;
4887
5191
  /**
4888
5192
  * Callback for when an user clicks the hero area's action button. You can prevent the default browser functionality by calling **event.detail.originalEvent.preventDefault()** inside your listener. Additionally, the passed data is available via **event.detail.data**.
4889
5193
  */
4890
- "onDuetClick"?: (event: CustomEvent<DuetHeroClickEvent>) => void;
5194
+ "onDuetClick"?: (event: DuetHeroCustomEvent<DuetHeroClickEvent>) => void;
4891
5195
  /**
4892
5196
  * The headline shown before heading.
4893
5197
  */
@@ -4961,9 +5265,17 @@ declare namespace LocalJSX {
4961
5265
  */
4962
5266
  "accessibleControls"?: string;
4963
5267
  /**
4964
- * Indicates the id of a component that describes the input.
5268
+ * Indicates the id or a string of space seperated ids of a component(s) that describes the input.
4965
5269
  */
4966
5270
  "accessibleDescribedBy"?: string;
5271
+ /**
5272
+ * Aria description the button
5273
+ */
5274
+ "accessibleDescription"?: string;
5275
+ /**
5276
+ * Aria Details of the component
5277
+ */
5278
+ "accessibleDetails"?: string;
4967
5279
  /**
4968
5280
  * Expanded state of the element, if needed
4969
5281
  */
@@ -4972,6 +5284,10 @@ declare namespace LocalJSX {
4972
5284
  * Indicates value of any popup element associated with the input.
4973
5285
  */
4974
5286
  "accessibleHasPopup"?: string;
5287
+ /**
5288
+ * String of id's that indicate alternative labels elements
5289
+ */
5290
+ "accessibleLabelledBy"?: string;
4975
5291
  /**
4976
5292
  * Indicates the id of a component owned by the input.
4977
5293
  */
@@ -5055,23 +5371,23 @@ declare namespace LocalJSX {
5055
5371
  /**
5056
5372
  * Emitted when the input loses focus.
5057
5373
  */
5058
- "onDuetBlur"?: (event: CustomEvent<DuetInputEvent>) => void;
5374
+ "onDuetBlur"?: (event: DuetInputCustomEvent<DuetInputEvent>) => void;
5059
5375
  /**
5060
5376
  * Emitted when the value has changed.
5061
5377
  */
5062
- "onDuetChange"?: (event: CustomEvent<DuetInputEvent>) => void;
5378
+ "onDuetChange"?: (event: DuetInputCustomEvent<DuetInputEvent>) => void;
5063
5379
  /**
5064
5380
  * Emitted when the input is cleared.
5065
5381
  */
5066
- "onDuetClear"?: (event: CustomEvent<DuetInputEvent>) => void;
5382
+ "onDuetClear"?: (event: DuetInputCustomEvent<DuetInputEvent>) => void;
5067
5383
  /**
5068
5384
  * Emitted when the input has focus.
5069
5385
  */
5070
- "onDuetFocus"?: (event: CustomEvent<DuetInputEvent>) => void;
5386
+ "onDuetFocus"?: (event: DuetInputCustomEvent<DuetInputEvent>) => void;
5071
5387
  /**
5072
5388
  * Emitted when a keyboard input ocurred.
5073
5389
  */
5074
- "onDuetInput"?: (event: CustomEvent<DuetInputEvent>) => void;
5390
+ "onDuetInput"?: (event: DuetInputCustomEvent<DuetInputEvent>) => void;
5075
5391
  /**
5076
5392
  * A regular expression to check the value against. Please note that this uses native HTML5 pattern validation.
5077
5393
  */
@@ -5266,6 +5582,22 @@ declare namespace LocalJSX {
5266
5582
  * @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
5267
5583
  */
5268
5584
  "accessibleCloseLabelDefaults"?: DuetLangObject | string;
5585
+ /**
5586
+ * Indicates the id or a string of space seperated ids of a component(s) that describes the input.
5587
+ */
5588
+ "accessibleDescribedBy"?: string;
5589
+ /**
5590
+ * Aria description the button
5591
+ */
5592
+ "accessibleDescription"?: string;
5593
+ /**
5594
+ * Details of the component
5595
+ */
5596
+ "accessibleDetails"?: string;
5597
+ /**
5598
+ * Indicates the id or a string of space seperated ids of a component(s) that labels the input.
5599
+ */
5600
+ "accessibleLabelledBy"?: string;
5269
5601
  /**
5270
5602
  * Use this property when you need to have the modal dialog initially active.
5271
5603
  */
@@ -5303,15 +5635,15 @@ declare namespace LocalJSX {
5303
5635
  /**
5304
5636
  * Emitted before the modal is closed. To prevent the modal from actually closing, use ev.detail.originalEvent.preventDefault().
5305
5637
  */
5306
- "onDuetBeforeClose"?: (event: CustomEvent<DuetModalCloseEvent>) => void;
5638
+ "onDuetBeforeClose"?: (event: DuetModalCustomEvent<DuetModalCloseEvent>) => void;
5307
5639
  /**
5308
5640
  * Emitted when the modal is closed.
5309
5641
  */
5310
- "onDuetClose"?: (event: CustomEvent<any>) => void;
5642
+ "onDuetClose"?: (event: DuetModalCustomEvent<any>) => void;
5311
5643
  /**
5312
5644
  * Emitted when the modal is opened.
5313
5645
  */
5314
- "onDuetOpen"?: (event: CustomEvent<any>) => void;
5646
+ "onDuetOpen"?: (event: DuetModalCustomEvent<any>) => void;
5315
5647
  /**
5316
5648
  * Size of the modal window.
5317
5649
  */
@@ -5418,6 +5750,18 @@ declare namespace LocalJSX {
5418
5750
  * Indicates the id of a component that describes the input.
5419
5751
  */
5420
5752
  "accessibleDescribedBy"?: string;
5753
+ /**
5754
+ * Aria description the button
5755
+ */
5756
+ "accessibleDescription"?: string;
5757
+ /**
5758
+ * Details of the component
5759
+ */
5760
+ "accessibleDetails"?: string;
5761
+ /**
5762
+ * String of id's that indicate alternative labels elements
5763
+ */
5764
+ "accessibleLabelledBy"?: string;
5421
5765
  /**
5422
5766
  * Format of message used to announce current amount when switching between amounts. The string {current} is replaced with the current amount.
5423
5767
  * @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
@@ -5505,19 +5849,19 @@ declare namespace LocalJSX {
5505
5849
  /**
5506
5850
  * Emitted when the input loses focus.
5507
5851
  */
5508
- "onDuetBlur"?: (event: CustomEvent<DuetNumberInputEvent>) => void;
5852
+ "onDuetBlur"?: (event: DuetNumberInputCustomEvent<DuetNumberInputEvent>) => void;
5509
5853
  /**
5510
5854
  * Emitted when the value has changed.
5511
5855
  */
5512
- "onDuetChange"?: (event: CustomEvent<DuetNumberInputEvent>) => void;
5856
+ "onDuetChange"?: (event: DuetNumberInputCustomEvent<DuetNumberInputEvent>) => void;
5513
5857
  /**
5514
5858
  * Emitted when the input has focus.
5515
5859
  */
5516
- "onDuetFocus"?: (event: CustomEvent<DuetNumberInputEvent>) => void;
5860
+ "onDuetFocus"?: (event: DuetNumberInputCustomEvent<DuetNumberInputEvent>) => void;
5517
5861
  /**
5518
5862
  * Emitted when a keyboard input has ocurred.
5519
5863
  */
5520
- "onDuetInput"?: (event: CustomEvent<DuetNumberInputEvent>) => void;
5864
+ "onDuetInput"?: (event: DuetNumberInputCustomEvent<DuetNumberInputEvent>) => void;
5521
5865
  /**
5522
5866
  * Set whether the input is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
5523
5867
  */
@@ -5552,6 +5896,22 @@ declare namespace LocalJSX {
5552
5896
  "value"?: string;
5553
5897
  }
5554
5898
  interface DuetPagination {
5899
+ /**
5900
+ * Described By id
5901
+ */
5902
+ "accessibleDescribedBy"?: string;
5903
+ /**
5904
+ * Aria description the button
5905
+ */
5906
+ "accessibleDescription"?: string;
5907
+ /**
5908
+ * Details of the component
5909
+ */
5910
+ "accessibleDetails"?: string;
5911
+ /**
5912
+ * String of id's that indicate alternative labels elements
5913
+ */
5914
+ "accessibleLabelledBy"?: string;
5555
5915
  /**
5556
5916
  * Default pagination labels
5557
5917
  */
@@ -5575,7 +5935,7 @@ declare namespace LocalJSX {
5575
5935
  /**
5576
5936
  * Emitted a page selection has been made
5577
5937
  */
5578
- "onDuetPageChange"?: (event: CustomEvent<DuetPaginationPageEvent>) => void;
5938
+ "onDuetPageChange"?: (event: DuetPaginationCustomEvent<DuetPaginationPageEvent>) => void;
5579
5939
  /**
5580
5940
  * The size of the take, when paginating.
5581
5941
  */
@@ -5628,6 +5988,14 @@ declare namespace LocalJSX {
5628
5988
  * Indicates the id of a component that describes the upload component.
5629
5989
  */
5630
5990
  "accessibleDescribedBy"?: string;
5991
+ /**
5992
+ * Aria description the button
5993
+ */
5994
+ "accessibleDescription"?: string;
5995
+ /**
5996
+ * Aria Details of the component
5997
+ */
5998
+ "accessibleDetails"?: string;
5631
5999
  /**
5632
6000
  * Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
5633
6001
  */
@@ -5641,6 +6009,10 @@ declare namespace LocalJSX {
5641
6009
  * Defaults for accessibleLabel
5642
6010
  */
5643
6011
  "accessibleLabelUploadDefaults"?: DuetLangObject | string;
6012
+ /**
6013
+ * String of id's that indicate alternative labels elements
6014
+ */
6015
+ "accessibleLabelledBy"?: string;
5644
6016
  /**
5645
6017
  * Caption (underneath label) that can be set as a way of adding extra information
5646
6018
  */
@@ -5671,10 +6043,22 @@ declare namespace LocalJSX {
5671
6043
  * Indicates the id of a component that describes the radio.
5672
6044
  */
5673
6045
  "accessibleDescribedBy"?: string;
6046
+ /**
6047
+ * Aria description the button
6048
+ */
6049
+ "accessibleDescription"?: string;
6050
+ /**
6051
+ * Aria Details of the component
6052
+ */
6053
+ "accessibleDetails"?: string;
5674
6054
  /**
5675
6055
  * Control the tabindex of checkbox. In most cases this should never be used! It exists only for Duet’s internal needs.
5676
6056
  */
5677
6057
  "accessibleIndex"?: string;
6058
+ /**
6059
+ * String of id's that indicate alternative labels elements
6060
+ */
6061
+ "accessibleLabelledBy"?: string;
5678
6062
  /**
5679
6063
  * Indicates the id of a component owned by the radio.
5680
6064
  */
@@ -5710,15 +6094,15 @@ declare namespace LocalJSX {
5710
6094
  /**
5711
6095
  * Emitted when the checkbox loses focus.
5712
6096
  */
5713
- "onDuetBlur"?: (event: CustomEvent<DuetRadioEvent>) => void;
6097
+ "onDuetBlur"?: (event: DuetRadioCustomEvent<DuetRadioEvent>) => void;
5714
6098
  /**
5715
6099
  * Emitted when the checked property has changed.
5716
6100
  */
5717
- "onDuetChange"?: (event: CustomEvent<DuetRadioEvent>) => void;
6101
+ "onDuetChange"?: (event: DuetRadioCustomEvent<DuetRadioEvent>) => void;
5718
6102
  /**
5719
6103
  * Emitted when the checkbox has focus.
5720
6104
  */
5721
- "onDuetFocus"?: (event: CustomEvent<DuetRadioEvent>) => void;
6105
+ "onDuetFocus"?: (event: DuetRadioCustomEvent<DuetRadioEvent>) => void;
5722
6106
  /**
5723
6107
  * Set whether the input is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
5724
6108
  */
@@ -5854,11 +6238,11 @@ declare namespace LocalJSX {
5854
6238
  /**
5855
6239
  * Emitted when the value has changed.
5856
6240
  */
5857
- "onDuetChange"?: (event: CustomEvent<DuetRangeChangeEvent>) => void;
6241
+ "onDuetChange"?: (event: DuetRangeSliderCustomEvent<DuetRangeChangeEvent>) => void;
5858
6242
  /**
5859
6243
  * Emitted when a keyboard input ocurred.
5860
6244
  */
5861
- "onDuetInput"?: (event: CustomEvent<DuetRangeChangeEvent>) => void;
6245
+ "onDuetInput"?: (event: DuetRangeSliderCustomEvent<DuetRangeChangeEvent>) => void;
5862
6246
  /**
5863
6247
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
5864
6248
  */
@@ -5896,7 +6280,7 @@ declare namespace LocalJSX {
5896
6280
  /**
5897
6281
  * Event emitted when the step heading is clicked.
5898
6282
  */
5899
- "onDuetRangeStepUpdate"?: (event: CustomEvent<DuetRangeStepperUpdateEvent>) => void;
6283
+ "onDuetRangeStepUpdate"?: (event: DuetRangeStepperCustomEvent<DuetRangeStepperUpdateEvent>) => void;
5900
6284
  /**
5901
6285
  * Start value
5902
6286
  * @default 1
@@ -5995,15 +6379,15 @@ declare namespace LocalJSX {
5995
6379
  /**
5996
6380
  * Emitted when the select loses focus.
5997
6381
  */
5998
- "onDuetBlur"?: (event: CustomEvent<DuetSelectEvent>) => void;
6382
+ "onDuetBlur"?: (event: DuetSelectCustomEvent<DuetSelectEvent>) => void;
5999
6383
  /**
6000
6384
  * Callback for when the value changed.
6001
6385
  */
6002
- "onDuetChange"?: (event: CustomEvent<DuetSelectEvent>) => void;
6386
+ "onDuetChange"?: (event: DuetSelectCustomEvent<DuetSelectEvent>) => void;
6003
6387
  /**
6004
6388
  * Emitted when the select has focus.
6005
6389
  */
6006
- "onDuetFocus"?: (event: CustomEvent<DuetSelectEvent>) => void;
6390
+ "onDuetFocus"?: (event: DuetSelectCustomEvent<DuetSelectEvent>) => void;
6007
6391
  /**
6008
6392
  * Hint text to display.
6009
6393
  */
@@ -6081,7 +6465,7 @@ declare namespace LocalJSX {
6081
6465
  /**
6082
6466
  * Event emitted when the step heading is clicked.
6083
6467
  */
6084
- "onDuetStepClick"?: (event: CustomEvent<DuetStepClickEvent>) => void;
6468
+ "onDuetStepClick"?: (event: DuetStepCustomEvent<DuetStepClickEvent>) => void;
6085
6469
  /**
6086
6470
  * Theme of the component.
6087
6471
  */
@@ -6103,7 +6487,7 @@ declare namespace LocalJSX {
6103
6487
  /**
6104
6488
  * Event emitted when the current step is changed. Can be cancelled to prevent the change.
6105
6489
  */
6106
- "onDuetStepChange"?: (event: CustomEvent<DuetStepChangeEvent>) => void;
6490
+ "onDuetStepChange"?: (event: DuetStepperCustomEvent<DuetStepChangeEvent>) => void;
6107
6491
  /**
6108
6492
  * The index of the current step.
6109
6493
  */
@@ -6173,11 +6557,11 @@ declare namespace LocalJSX {
6173
6557
  /**
6174
6558
  * @deprecated in favour of more specific duetTabChange event. Callback for when the value changed.
6175
6559
  */
6176
- "onDuetChange"?: (event: CustomEvent<DuetTabGroupEvent>) => void;
6560
+ "onDuetChange"?: (event: DuetTabGroupCustomEvent<DuetTabGroupEvent>) => void;
6177
6561
  /**
6178
6562
  * Event raised when the selected tab is changed
6179
6563
  */
6180
- "onDuetTabChange"?: (event: CustomEvent<DuetTabGroupEvent>) => void;
6564
+ "onDuetTabChange"?: (event: DuetTabGroupCustomEvent<DuetTabGroupEvent>) => void;
6181
6565
  /**
6182
6566
  * Controls the padding of the component.
6183
6567
  */
@@ -6238,6 +6622,18 @@ declare namespace LocalJSX {
6238
6622
  * Indicates the id of a component that describes the input.
6239
6623
  */
6240
6624
  "accessibleDescribedBy"?: string;
6625
+ /**
6626
+ * Aria description the button
6627
+ */
6628
+ "accessibleDescription"?: string;
6629
+ /**
6630
+ * Aria Details of the component
6631
+ */
6632
+ "accessibleDetails"?: string;
6633
+ /**
6634
+ * String of id's that indicate alternative labels elements
6635
+ */
6636
+ "accessibleLabelledBy"?: string;
6241
6637
  /**
6242
6638
  * Indicates the id of a component owned by the textarea.
6243
6639
  */
@@ -6305,19 +6701,19 @@ declare namespace LocalJSX {
6305
6701
  /**
6306
6702
  * Emitted when the input loses focus.
6307
6703
  */
6308
- "onDuetBlur"?: (event: CustomEvent<DuetTextareaEvent>) => void;
6704
+ "onDuetBlur"?: (event: DuetTextareaCustomEvent<DuetTextareaEvent>) => void;
6309
6705
  /**
6310
6706
  * Emitted when the value has changed.
6311
6707
  */
6312
- "onDuetChange"?: (event: CustomEvent<DuetTextareaEvent>) => void;
6708
+ "onDuetChange"?: (event: DuetTextareaCustomEvent<DuetTextareaEvent>) => void;
6313
6709
  /**
6314
6710
  * Emitted when the input has focus.
6315
6711
  */
6316
- "onDuetFocus"?: (event: CustomEvent<DuetTextareaEvent>) => void;
6712
+ "onDuetFocus"?: (event: DuetTextareaCustomEvent<DuetTextareaEvent>) => void;
6317
6713
  /**
6318
6714
  * Emitted when a keyboard input ocurred.
6319
6715
  */
6320
- "onDuetInput"?: (event: CustomEvent<DuetTextareaEvent>) => void;
6716
+ "onDuetInput"?: (event: DuetTextareaCustomEvent<DuetTextareaEvent>) => void;
6321
6717
  /**
6322
6718
  * Hint text to display.
6323
6719
  */
@@ -6360,6 +6756,18 @@ declare namespace LocalJSX {
6360
6756
  * Indicates the id of a component that describes the toggle.
6361
6757
  */
6362
6758
  "accessibleDescribedBy"?: string;
6759
+ /**
6760
+ * Aria description the button
6761
+ */
6762
+ "accessibleDescription"?: string;
6763
+ /**
6764
+ * Aria Details of the component
6765
+ */
6766
+ "accessibleDetails"?: string;
6767
+ /**
6768
+ * String of id's that indicate alternative labels elements
6769
+ */
6770
+ "accessibleLabelledBy"?: string;
6363
6771
  /**
6364
6772
  * Indicates the id of a component owned by the toggle.
6365
6773
  */
@@ -6391,7 +6799,7 @@ declare namespace LocalJSX {
6391
6799
  /**
6392
6800
  * Emitted when the checked property has changed.
6393
6801
  */
6394
- "onDuetChange"?: (event: CustomEvent<DuetToggleChangeEvent>) => void;
6802
+ "onDuetChange"?: (event: DuetToggleCustomEvent<DuetToggleChangeEvent>) => void;
6395
6803
  /**
6396
6804
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
6397
6805
  */
@@ -6533,7 +6941,7 @@ declare namespace LocalJSX {
6533
6941
  /**
6534
6942
  * Default actions added to the internally used duet-editable-table
6535
6943
  */
6536
- "actions"?: DuetEditableTableActions;
6944
+ "actions"?: DuetEditableTableActions1;
6537
6945
  /**
6538
6946
  * Key used to set vertical alignment of action buttons
6539
6947
  */
@@ -6661,39 +7069,39 @@ declare namespace LocalJSX {
6661
7069
  /**
6662
7070
  * Emitted when the input loses focus.
6663
7071
  */
6664
- "onDuetBlur"?: (event: CustomEvent<DuetUploadEvent>) => void;
7072
+ "onDuetBlur"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6665
7073
  /**
6666
7074
  * Emitted when a user clicks cancel on an upload in progress
6667
7075
  */
6668
- "onDuetCancel"?: (event: CustomEvent<DuetUploadEvent>) => void;
7076
+ "onDuetCancel"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6669
7077
  /**
6670
7078
  * Emitted when the value has changed.
6671
7079
  */
6672
- "onDuetChange"?: (event: CustomEvent<DuetUploadEvent>) => void;
7080
+ "onDuetChange"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6673
7081
  /**
6674
7082
  * Emitted when a user clicks delete to delete an uploaded file, or a file entry with error
6675
7083
  */
6676
- "onDuetDelete"?: (event: CustomEvent<DuetUploadEvent>) => void;
7084
+ "onDuetDelete"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6677
7085
  /**
6678
7086
  * Emitted when the current upload batch finishes
6679
7087
  */
6680
- "onDuetDone"?: (event: CustomEvent<DuetUploadEvent>) => void;
7088
+ "onDuetDone"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6681
7089
  /**
6682
7090
  * Emitted when the input has focus.
6683
7091
  */
6684
- "onDuetFocus"?: (event: CustomEvent<DuetUploadEvent>) => void;
7092
+ "onDuetFocus"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6685
7093
  /**
6686
7094
  * Emitted when the file progress is updated.
6687
7095
  */
6688
- "onDuetProgress"?: (event: CustomEvent<DuetUploadEvent>) => void;
7096
+ "onDuetProgress"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6689
7097
  /**
6690
7098
  * Emitted when the current validation state changes internally
6691
7099
  */
6692
- "onDuetState"?: (event: CustomEvent<DuetUploadEvent>) => void;
7100
+ "onDuetState"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6693
7101
  /**
6694
7102
  * Emitted when the user clicks the upload button
6695
7103
  */
6696
- "onDuetUpload"?: (event: CustomEvent<DuetUploadEvent>) => void;
7104
+ "onDuetUpload"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
6697
7105
  /**
6698
7106
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
6699
7107
  */