@duetds/components 4.35.4 → 5.0.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 (332) hide show
  1. package/hydrate/index.js +1708 -1055
  2. package/lib/cjs/duet-action-button.cjs.entry.js +163 -0
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +14 -5
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  13. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  16. package/lib/cjs/{duet-editable-table_4.cjs.entry.js → duet-editable-table_3.cjs.entry.js} +382 -346
  17. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-pagination_2.cjs.entry.js +458 -0
  31. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-select.cjs.entry.js +16 -4
  36. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  43. package/lib/cjs/duet.cjs.js +2 -2
  44. package/lib/cjs/{focus-utils-eb8c5b20.js → focus-utils-7a11c463.js} +1 -1
  45. package/lib/cjs/{index-6ae8090f.js → index-da5d5aaf.js} +4 -1
  46. package/lib/cjs/js-utils-be1d29ae.js +39 -0
  47. package/lib/cjs/{keyboard-utils-b4e3d1d3.js → keyboard-utils-898cfe14.js} +8 -0
  48. package/lib/cjs/loader.cjs.js +2 -2
  49. package/lib/cjs/{token-utils-05bd23b4.js → token-utils-ac8432d1.js} +10 -7
  50. package/lib/cjs/{tokens-8596cece.js → tokens-72efc7fd.js} +0 -0
  51. package/lib/cjs/{tokens.module-6b2df1c2.js → tokens.module-6afcc9c1.js} +0 -0
  52. package/lib/collection/collection-manifest.json +22 -11
  53. package/lib/collection/components/duet-action-button/duet-action-button.css +87 -0
  54. package/lib/collection/components/duet-action-button/duet-action-button.js +489 -0
  55. package/lib/collection/components/duet-button/duet-button.css +3 -0
  56. package/lib/collection/components/duet-button/duet-button.js +50 -1
  57. package/lib/collection/components/duet-card/duet-card.js +1 -1
  58. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -1
  59. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -57
  60. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -6
  61. package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +3 -2
  62. package/lib/collection/components/duet-editable-table/duet-editable-table.css +20 -1
  63. package/lib/collection/components/duet-editable-table/duet-editable-table.js +331 -205
  64. package/lib/collection/components/duet-pagination/duet-pagination-utils.js +9 -0
  65. package/lib/collection/components/duet-pagination/duet-pagination.css +61 -0
  66. package/lib/collection/components/duet-pagination/duet-pagination.js +541 -0
  67. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +49 -0
  68. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +340 -0
  69. package/lib/collection/components/duet-select/duet-select.css +26 -0
  70. package/lib/collection/components/duet-select/duet-select.js +39 -4
  71. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -1
  72. package/lib/collection/components/duet-table/duet-table.css +42 -8
  73. package/lib/collection/components/duet-table/duet-table.js +11 -2
  74. package/lib/collection/components/duet-upload/duet-upload.css +25 -0
  75. package/lib/collection/components/duet-upload/duet-upload.js +270 -166
  76. package/lib/collection/components/duet-upload/upload-validators.js +1 -1
  77. package/lib/collection/utils/fixture-utils.js +3 -5
  78. package/lib/collection/utils/js-utils.js +36 -1
  79. package/lib/collection/utils/keyboard-utils.js +4 -0
  80. package/lib/collection/utils/test-utils.js +2 -1
  81. package/lib/collection/utils/token-utils.js +33 -6
  82. package/lib/custom-elements-bundle/index.d.ts +18 -12
  83. package/lib/custom-elements-bundle/index.js +1653 -1046
  84. package/lib/duet/duet.esm.js +1 -1
  85. package/lib/duet/duet.js +1 -1
  86. package/lib/duet/{p-503f1286.entry.js → p-00209700.entry.js} +1 -1
  87. package/lib/duet/{p-76fa8882.entry.js → p-01144f93.entry.js} +1 -1
  88. package/lib/duet/{p-ec2aea5f.system.entry.js → p-021bf3a2.system.entry.js} +1 -1
  89. package/lib/duet/{p-0169d57e.entry.js → p-04c6e557.entry.js} +1 -1
  90. package/lib/duet/{p-03a5fe42.system.entry.js → p-06fd151e.system.entry.js} +1 -1
  91. package/lib/duet/p-0988f548.entry.js +4 -0
  92. package/lib/duet/{p-d5a4b17f.system.entry.js → p-0e1130a0.system.entry.js} +1 -1
  93. package/lib/duet/{p-e4e99da0.entry.js → p-0fedc1c6.entry.js} +1 -1
  94. package/lib/duet/{p-2c85e001.system.entry.js → p-111b70c5.system.entry.js} +1 -1
  95. package/lib/duet/p-12825e2c.entry.js +4 -0
  96. package/lib/duet/p-166c09ce.system.entry.js +4 -0
  97. package/lib/duet/{p-8367a2d1.entry.js → p-1be45fc6.entry.js} +1 -1
  98. package/lib/duet/{p-253fd12a.system.entry.js → p-1da57e19.system.entry.js} +1 -1
  99. package/lib/duet/{p-b72ed5ef.system.entry.js → p-21c9efa8.system.entry.js} +1 -1
  100. package/lib/duet/{p-01679b51.entry.js → p-2245c56b.entry.js} +1 -1
  101. package/lib/duet/p-2273fc88.js +4 -0
  102. package/lib/duet/{p-5630828a.system.entry.js → p-232762b3.system.entry.js} +1 -1
  103. package/lib/duet/{p-3025a411.system.js → p-251dc733.system.js} +1 -1
  104. package/lib/duet/{p-ddb6344c.system.js → p-268c0abb.system.js} +0 -0
  105. package/lib/duet/{p-9077cd24.system.entry.js → p-2b6dac5c.system.entry.js} +1 -1
  106. package/lib/duet/{p-bba528b5.entry.js → p-35cdec32.entry.js} +1 -1
  107. package/lib/duet/{p-ee598605.entry.js → p-37bdfcc6.entry.js} +1 -1
  108. package/lib/duet/{p-c3d552d5.entry.js → p-3c7d81b0.entry.js} +1 -1
  109. package/lib/duet/{p-824d2360.system.entry.js → p-3f77090f.system.entry.js} +1 -1
  110. package/lib/duet/{p-7b451394.system.js → p-3fafe82f.system.js} +1 -1
  111. package/lib/duet/{p-2395f96e.system.entry.js → p-4b221aa3.system.entry.js} +1 -1
  112. package/lib/duet/{p-4ea864dd.system.entry.js → p-4b7b1d2a.system.entry.js} +1 -1
  113. package/lib/duet/p-4c282c1a.entry.js +4 -0
  114. package/lib/duet/p-51a7c020.entry.js +4 -0
  115. package/lib/duet/{p-e8ce8394.entry.js → p-5298f6fb.entry.js} +1 -1
  116. package/lib/duet/p-5746d88c.js +4 -0
  117. package/lib/duet/{p-dfd96467.entry.js → p-589c2f28.entry.js} +1 -1
  118. package/lib/duet/{p-f98fca13.system.entry.js → p-592315ca.system.entry.js} +1 -1
  119. package/lib/duet/{p-6cff80cb.system.entry.js → p-59a0ec33.system.entry.js} +1 -1
  120. package/lib/duet/p-5e1f64cb.entry.js +4 -0
  121. package/lib/duet/{p-73b5248d.entry.js → p-608645ed.entry.js} +1 -1
  122. package/lib/duet/{p-8ea92cc5.entry.js → p-683f1962.entry.js} +1 -1
  123. package/lib/duet/{p-55fff1fe.entry.js → p-6932c6d8.entry.js} +1 -1
  124. package/lib/duet/{p-731444f6.entry.js → p-6934cb1b.entry.js} +1 -1
  125. package/lib/duet/{p-caab828f.system.entry.js → p-6d209c01.system.entry.js} +1 -1
  126. package/lib/duet/{p-61198eee.system.entry.js → p-70e5c803.system.entry.js} +1 -1
  127. package/lib/duet/p-74780bca.system.js +4 -0
  128. package/lib/duet/p-74d267d3.system.entry.js +4 -0
  129. package/lib/duet/{p-2bfe8b50.system.entry.js → p-766daacb.system.entry.js} +1 -1
  130. package/lib/duet/p-77acbfe4.system.js +4 -0
  131. package/lib/duet/p-7953cff9.system.entry.js +4 -0
  132. package/lib/duet/{p-01f3fbd4.system.entry.js → p-7e939e57.system.entry.js} +1 -1
  133. package/lib/duet/{p-fa99eaa4.system.js → p-812b0905.system.js} +0 -0
  134. package/lib/duet/{p-c122428f.entry.js → p-814ed07c.entry.js} +1 -1
  135. package/lib/duet/{p-04304e51.entry.js → p-82a0e535.entry.js} +1 -1
  136. package/lib/duet/{p-4a60b131.system.entry.js → p-8338702d.system.entry.js} +1 -1
  137. package/lib/duet/{p-e682d701.system.entry.js → p-85b4b5c0.system.entry.js} +2 -2
  138. package/lib/duet/{p-e3229d0d.entry.js → p-86538787.entry.js} +1 -1
  139. package/lib/duet/p-898f30a5.js +4 -0
  140. package/lib/duet/{p-40a76f20.entry.js → p-8f01f647.entry.js} +1 -1
  141. package/lib/duet/{p-a39a0a45.entry.js → p-8f6def3f.entry.js} +1 -1
  142. package/lib/duet/{p-753098ec.entry.js → p-90464434.entry.js} +1 -1
  143. package/lib/duet/p-92639d0b.system.js +4 -0
  144. package/lib/duet/{p-873e4c51.system.entry.js → p-97f95c02.system.entry.js} +2 -2
  145. package/lib/duet/{p-ea30becb.system.entry.js → p-982deb44.system.entry.js} +1 -1
  146. package/lib/duet/{p-7fd62541.entry.js → p-9dc88c43.entry.js} +1 -1
  147. package/lib/duet/{p-412f58cf.entry.js → p-a37e57d8.entry.js} +1 -1
  148. package/lib/duet/{p-da1f6193.system.entry.js → p-a71510b8.system.entry.js} +1 -1
  149. package/lib/duet/p-a8eec12e.system.entry.js +4 -0
  150. package/lib/duet/{p-4d8cd455.system.entry.js → p-abcfbb23.system.entry.js} +1 -1
  151. package/lib/duet/{p-99262d61.entry.js → p-ac2b38e6.entry.js} +1 -1
  152. package/lib/duet/{p-24b4eefb.system.entry.js → p-ace2cd17.system.entry.js} +1 -1
  153. package/lib/duet/{p-94a2da86.system.entry.js → p-ad278903.system.entry.js} +1 -1
  154. package/lib/duet/{p-a0deb526.entry.js → p-aea907ad.entry.js} +1 -1
  155. package/lib/duet/{p-9690681b.system.entry.js → p-b432d318.system.entry.js} +1 -1
  156. package/lib/duet/{p-44fe8367.system.entry.js → p-b4e75f80.system.entry.js} +1 -1
  157. package/lib/duet/{p-c1b34a78.system.entry.js → p-b8c8105c.system.entry.js} +1 -1
  158. package/lib/duet/{p-efd978ee.entry.js → p-ba7480e9.entry.js} +1 -1
  159. package/lib/duet/p-bc7dba26.entry.js +4 -0
  160. package/lib/duet/{p-a926b44b.entry.js → p-bf06f635.entry.js} +1 -1
  161. package/lib/duet/p-c6ccf366.system.entry.js +4 -0
  162. package/lib/duet/{p-7cdb8bfa.entry.js → p-cd1a767f.entry.js} +1 -1
  163. package/lib/duet/p-d6d9b0c6.system.entry.js +4 -0
  164. package/lib/duet/{p-8143f3de.js → p-d7bc0102.js} +0 -0
  165. package/lib/duet/{p-fb98ac5a.entry.js → p-d9e329c0.entry.js} +1 -1
  166. package/lib/duet/p-dbb4a588.js +4 -0
  167. package/lib/duet/{p-f51f8554.entry.js → p-dc67d989.entry.js} +1 -1
  168. package/lib/duet/{p-a69667c7.entry.js → p-de9ff67c.entry.js} +1 -1
  169. package/lib/duet/{p-0f185a8a.system.entry.js → p-deb8ac4d.system.entry.js} +1 -1
  170. package/lib/duet/p-e2e0bc49.system.js +4 -0
  171. package/lib/duet/{p-6b24111b.system.entry.js → p-e624799f.system.entry.js} +1 -1
  172. package/lib/duet/{p-8973aa31.system.entry.js → p-e887d6db.system.entry.js} +1 -1
  173. package/lib/duet/p-e9c3053b.js +4 -0
  174. package/lib/duet/{p-a212f672.system.entry.js → p-ebed7c5e.system.entry.js} +1 -1
  175. package/lib/duet/{p-ad07f399.js → p-ed75c8b3.js} +0 -0
  176. package/lib/duet/{p-4a931c6c.system.entry.js → p-f020852e.system.entry.js} +1 -1
  177. package/lib/duet/p-f2abd301.entry.js +4 -0
  178. package/lib/duet/{p-fc35b926.system.entry.js → p-f54d1487.system.entry.js} +1 -1
  179. package/lib/duet/{p-17f85b90.entry.js → p-fc44a819.entry.js} +1 -1
  180. package/lib/duet/{p-bc6794bc.system.entry.js → p-fcdd24f8.system.entry.js} +1 -1
  181. package/lib/duet/{p-5e895b06.entry.js → p-fed35d92.entry.js} +1 -1
  182. package/lib/duet/{p-de5c3a36.entry.js → p-ff308f4c.entry.js} +1 -1
  183. package/lib/esm/duet-action-button.entry.js +159 -0
  184. package/lib/esm/duet-alert.entry.js +1 -1
  185. package/lib/esm/duet-badge.entry.js +1 -1
  186. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  187. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  188. package/lib/esm/duet-button_2.entry.js +14 -5
  189. package/lib/esm/duet-caption_4.entry.js +3 -3
  190. package/lib/esm/duet-card.entry.js +4 -4
  191. package/lib/esm/duet-checkbox.entry.js +1 -1
  192. package/lib/esm/duet-choice_2.entry.js +3 -3
  193. package/lib/esm/duet-collapsible.entry.js +4 -4
  194. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  195. package/lib/esm/duet-date-picker.entry.js +4 -4
  196. package/lib/esm/duet-divider_2.entry.js +1 -1
  197. package/lib/esm/{duet-editable-table_4.entry.js → duet-editable-table_3.entry.js} +384 -347
  198. package/lib/esm/duet-empty-state.entry.js +1 -1
  199. package/lib/esm/duet-fieldset.entry.js +1 -1
  200. package/lib/esm/duet-footer.entry.js +1 -1
  201. package/lib/esm/duet-grid_2.entry.js +2 -2
  202. package/lib/esm/duet-header_2.entry.js +4 -4
  203. package/lib/esm/duet-hero.entry.js +1 -1
  204. package/lib/esm/duet-icon.entry.js +3 -3
  205. package/lib/esm/duet-input_2.entry.js +1 -1
  206. package/lib/esm/duet-layout.entry.js +1 -1
  207. package/lib/esm/duet-list_2.entry.js +1 -1
  208. package/lib/esm/duet-modal.entry.js +3 -3
  209. package/lib/esm/duet-notification_2.entry.js +1 -1
  210. package/lib/esm/duet-number-input.entry.js +2 -2
  211. package/lib/esm/duet-pagination_2.entry.js +453 -0
  212. package/lib/esm/duet-progress.entry.js +1 -1
  213. package/lib/esm/duet-radio_2.entry.js +1 -1
  214. package/lib/esm/duet-range-slider.entry.js +2 -2
  215. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  216. package/lib/esm/duet-select.entry.js +16 -4
  217. package/lib/esm/duet-step_2.entry.js +2 -2
  218. package/lib/esm/duet-textarea.entry.js +1 -1
  219. package/lib/esm/duet-toggle.entry.js +1 -1
  220. package/lib/esm/duet-tooltip.entry.js +1 -1
  221. package/lib/esm/duet-tray.entry.js +2 -2
  222. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  223. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  224. package/lib/esm/duet.js +2 -2
  225. package/lib/esm/{focus-utils-6db957a7.js → focus-utils-b0b3361f.js} +1 -1
  226. package/lib/esm/{index-828dfb4e.js → index-16f4da7f.js} +4 -1
  227. package/lib/esm/js-utils-52e0944c.js +36 -0
  228. package/lib/esm/{keyboard-utils-584cedd7.js → keyboard-utils-6eb55cd5.js} +5 -1
  229. package/lib/esm/loader.js +2 -2
  230. package/lib/esm/{token-utils-75f78ca4.js → token-utils-e9a0cb88.js} +10 -7
  231. package/lib/esm/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
  232. package/lib/esm/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
  233. package/lib/esm-es5/duet-action-button.entry.js +4 -0
  234. package/lib/esm-es5/duet-alert.entry.js +1 -1
  235. package/lib/esm-es5/duet-badge.entry.js +1 -1
  236. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  237. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  238. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  239. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  240. package/lib/esm-es5/duet-card.entry.js +1 -1
  241. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  242. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  243. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  244. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  245. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  246. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  247. package/lib/esm-es5/duet-editable-table_3.entry.js +4 -0
  248. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  249. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  250. package/lib/esm-es5/duet-footer.entry.js +1 -1
  251. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  252. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  253. package/lib/esm-es5/duet-hero.entry.js +1 -1
  254. package/lib/esm-es5/duet-icon.entry.js +1 -1
  255. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  256. package/lib/esm-es5/duet-layout.entry.js +1 -1
  257. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  258. package/lib/esm-es5/duet-modal.entry.js +1 -1
  259. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  260. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  261. package/lib/esm-es5/duet-pagination_2.entry.js +4 -0
  262. package/lib/esm-es5/duet-progress.entry.js +1 -1
  263. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  264. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  265. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  266. package/lib/esm-es5/duet-select.entry.js +2 -2
  267. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  268. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  269. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  270. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  271. package/lib/esm-es5/duet-tray.entry.js +1 -1
  272. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  273. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  274. package/lib/esm-es5/duet.js +1 -1
  275. package/lib/esm-es5/focus-utils-b0b3361f.js +4 -0
  276. package/lib/esm-es5/{index-828dfb4e.js → index-16f4da7f.js} +1 -1
  277. package/lib/esm-es5/js-utils-52e0944c.js +4 -0
  278. package/lib/esm-es5/keyboard-utils-6eb55cd5.js +4 -0
  279. package/lib/esm-es5/loader.js +1 -1
  280. package/lib/esm-es5/token-utils-e9a0cb88.js +4 -0
  281. package/lib/esm-es5/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
  282. package/lib/esm-es5/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
  283. package/lib/html.html-data.json +5266 -0
  284. package/lib/types/components/duet-action-button/duet-action-button.d.ts +112 -0
  285. package/lib/types/components/duet-button/duet-button.d.ts +9 -0
  286. package/lib/types/components/duet-card/duet-card.d.ts +1 -1
  287. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
  288. package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +2 -2
  289. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +106 -48
  290. package/lib/types/components/duet-pagination/duet-pagination-utils.d.ts +1 -0
  291. package/lib/types/components/duet-pagination/duet-pagination.d.ts +105 -0
  292. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +70 -0
  293. package/lib/types/components/duet-select/duet-select.d.ts +5 -0
  294. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +4 -0
  295. package/lib/types/components/duet-table/duet-table.d.ts +16 -0
  296. package/lib/types/components/duet-upload/duet-upload.d.ts +68 -58
  297. package/lib/types/components.d.ts +402 -140
  298. package/lib/types/utils/js-utils.d.ts +2 -0
  299. package/lib/types/utils/keyboard-utils.d.ts +4 -0
  300. package/lib/types/utils/token-utils.d.ts +2 -0
  301. package/package.json +5 -6
  302. package/lib/cjs/duet-editable-table-button.cjs.entry.js +0 -96
  303. package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +0 -32
  304. package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +0 -225
  305. package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +0 -36
  306. package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +0 -225
  307. package/lib/duet/p-0427e1a5.entry.js +0 -4
  308. package/lib/duet/p-04f9f1bf.js +0 -4
  309. package/lib/duet/p-0f91d386.system.entry.js +0 -4
  310. package/lib/duet/p-227e5196.js +0 -4
  311. package/lib/duet/p-2545734a.entry.js +0 -4
  312. package/lib/duet/p-2b8316ee.system.entry.js +0 -4
  313. package/lib/duet/p-477c2e5c.entry.js +0 -4
  314. package/lib/duet/p-50b4fb2c.js +0 -4
  315. package/lib/duet/p-66bf27b9.system.entry.js +0 -4
  316. package/lib/duet/p-68ecdc4f.system.entry.js +0 -4
  317. package/lib/duet/p-853cd059.js +0 -4
  318. package/lib/duet/p-a16a58c1.system.js +0 -4
  319. package/lib/duet/p-b0c16ee5.entry.js +0 -4
  320. package/lib/duet/p-b3a2a1e8.entry.js +0 -4
  321. package/lib/duet/p-bb12b972.system.js +0 -4
  322. package/lib/duet/p-c63e49e2.system.entry.js +0 -4
  323. package/lib/duet/p-e6349dd2.entry.js +0 -4
  324. package/lib/duet/p-ef3fc3f3.system.js +0 -4
  325. package/lib/esm/duet-editable-table-button.entry.js +0 -92
  326. package/lib/esm-es5/duet-editable-table-button.entry.js +0 -4
  327. package/lib/esm-es5/duet-editable-table_4.entry.js +0 -4
  328. package/lib/esm-es5/focus-utils-6db957a7.js +0 -4
  329. package/lib/esm-es5/keyboard-utils-584cedd7.js +0 -4
  330. package/lib/esm-es5/token-utils-75f78ca4.js +0 -4
  331. package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +0 -73
  332. package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +0 -76
@@ -0,0 +1,112 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { DuetColor, DuetTheme } from "../../common-types";
3
+ import { DuetLangObject } from "../../utils/language-utils";
4
+ import { ThemeableComponent } from "../../utils/themeable-component";
5
+ export declare type DuetActionButtonEvent = {
6
+ originalEvent?: Event;
7
+ component: "duet-action-button";
8
+ action: string;
9
+ name?: string;
10
+ id?: string | undefined;
11
+ index?: string | undefined;
12
+ meta?: Record<any, any> | string | undefined;
13
+ };
14
+ export declare type DuetActionButtonIconSize = "xx-small" | "x-small" | "small";
15
+ /**
16
+ * Slot: default slot inside an invisible element, this can be used to enhance accessibility
17
+ * Part: button this part enables style overrides for the button
18
+ * Part: icon this part enables style overrides for the icon
19
+ */
20
+ export declare class DuetActionButton implements ThemeableComponent {
21
+ numbersStore: string;
22
+ /**
23
+ * Reference to host HTML element.
24
+ */
25
+ element: HTMLElement;
26
+ /**
27
+ * Theme of the pagination.
28
+ */
29
+ theme: DuetTheme;
30
+ /**
31
+ * Name of the icon to display
32
+ */
33
+ iconName: string;
34
+ /**
35
+ * Color of the icon to display
36
+ */
37
+ iconColor: string;
38
+ /**
39
+ * Size of the icon
40
+ */
41
+ iconSize: DuetActionButtonIconSize;
42
+ /**
43
+ * Name of action being called
44
+ */
45
+ actionName: string;
46
+ /**
47
+ * Name of id of action that was called being called
48
+ */
49
+ actionId: string;
50
+ /**
51
+ * Name of id of action that was called being called
52
+ */
53
+ actionMeta: Record<any, any> | string;
54
+ /**
55
+ * Disables the button
56
+ */
57
+ disabled: boolean;
58
+ /**
59
+ * Custom color to be used for the icon, as a design token entered in camelCase
60
+ * or kebab-case. Example: "color-primary". This property can also be set to
61
+ * "currentColor" which forces the icon to use the CSS text color of parent
62
+ * element instead. Useful when you want to control the color in stylesheet
63
+ * instead.
64
+ */
65
+ color: DuetColor;
66
+ /**
67
+ * Custom color to be used for a background, as a design token entered
68
+ * in camelCase or kebab-case. Using this option the icon will always be resized
69
+ * to $size-icon-medium on mobile viewports. Example: "color-primary".
70
+ */
71
+ background: DuetColor;
72
+ /**
73
+ * Described By id
74
+ */
75
+ ariaDescribedBy: string;
76
+ /**
77
+ * Aria description the button
78
+ */
79
+ ariaDescription: string;
80
+ /**
81
+ * Default pagination labels
82
+ */
83
+ ariaLabelsDefaults: DuetLangObject;
84
+ /**
85
+ * Default pagination labels
86
+ */
87
+ ariaLabels: Record<string, string>;
88
+ /**
89
+ * Used to indicate which dom element with ID this element controls
90
+ */
91
+ ariaControls: string;
92
+ /**
93
+ * Emitted a page selection has been made
94
+ */
95
+ duetActionEvent: EventEmitter<DuetActionButtonEvent>;
96
+ private listId;
97
+ /**
98
+ * Private methods.
99
+ */
100
+ private emitPageEvent;
101
+ private onKeyboardDown;
102
+ private onMouseHandler;
103
+ /**
104
+ * Component lifecycle events.
105
+ */
106
+ componentWillLoad(): void;
107
+ /**
108
+ * render() function
109
+ * Always the last one in the class.
110
+ */
111
+ render(): any;
112
+ }
@@ -6,6 +6,7 @@ import { ThemeableComponent } from "../../utils/themeable-component";
6
6
  export declare type DuetButtonVariation = "default" | "primary" | "secondary" | "negative" | "destructive" | "destructive-primary" | "destructive-secondary" | "plain";
7
7
  export declare type DuetButtonNegative = true | false | undefined;
8
8
  export declare type DuetButtonWrapping = "auto" | "none";
9
+ export declare type DuetButtonTextCentering = true | false | undefined;
9
10
  export declare type DuetButtonIconSize = "small" | "medium-small" | "medium" | "large";
10
11
  export declare type DuetButtonSize = "small" | "medium";
11
12
  export declare class DuetButton implements ThemeableComponent, FormComponent {
@@ -29,6 +30,10 @@ export declare class DuetButton implements ThemeableComponent, FormComponent {
29
30
  * the attribute to point to the unique id of the content that the button manages.
30
31
  */
31
32
  accessibleControls: string;
33
+ /**
34
+ * Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button.
35
+ */
36
+ accessiblePopup: string;
32
37
  /**
33
38
  * Indicates the id of a related component’s visually focused element.
34
39
  */
@@ -77,6 +82,10 @@ export declare class DuetButton implements ThemeableComponent, FormComponent {
77
82
  * Controls the padding of the component.
78
83
  */
79
84
  padding: DuetPadding;
85
+ /**
86
+ * Centers the text of a button
87
+ */
88
+ centerText: DuetButtonTextCentering;
80
89
  /**
81
90
  * Controls the text wrapping.
82
91
  */
@@ -9,7 +9,7 @@ export declare type DuetCardToggleEvent = {
9
9
  };
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.
12
- * @slot below-header - Below header content.
12
+ * @slot below-heading - Below heading content.
13
13
  * @slot footer - Footer content.
14
14
  */
15
15
  export declare class DuetCard implements ThemeableComponent {
@@ -9,6 +9,7 @@ export declare type DuetCollapsibleToggleEvent = {
9
9
  };
10
10
  /**
11
11
  * @part duet-collapsible-heading-content - piercing selector for styling the heading content
12
+ * @part duet-collapsible-content - piercing selector for styling the content
12
13
  */
13
14
  export declare class DuetCollapsible implements ThemeableComponent {
14
15
  /**
@@ -1,8 +1,8 @@
1
1
  import { FunctionalComponent } from "../../stencil-public-runtime";
2
2
  interface TableDataProps {
3
3
  data: any;
4
- groupId: string;
5
- alignment: string;
4
+ groupId?: string;
5
+ alignment?: string;
6
6
  }
7
7
  export declare const TableData: FunctionalComponent<TableDataProps>;
8
8
  export {};
@@ -1,94 +1,152 @@
1
- import { DuetTheme } from "../../common-types";
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { DuetMargin, DuetTheme } from "../../common-types";
2
3
  import { DuetLangObject } from "../../utils/language-utils";
3
4
  import { ThemeableComponent } from "../../utils/themeable-component";
4
- import { DuetEditableTableActions, DuetEditableTableItemData } from "./duet-editable-table-item";
5
+ import { DuetActionButtonIconSize } from "../duet-action-button/duet-action-button";
6
+ import { DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant } from "../duet-table/duet-table";
5
7
  export declare type DuetEditableTableGroupNames = {
6
8
  id: string;
7
9
  label: DuetLangObject;
8
10
  actionLabel?: DuetLangObject;
9
11
  }[];
10
- export declare type DuetEditableTableItems = Map<any, DuetEditableTableItemData>;
12
+ export declare type DuetTableToggleEvent = {
13
+ component: "duet-editable-table";
14
+ sort_order?: number;
15
+ direction: 1 | -1;
16
+ index: number;
17
+ key: string;
18
+ originalEvent: KeyboardEvent | MouseEvent;
19
+ };
20
+ export declare type DuetTableMenuEvent = {
21
+ component: "duet-editable-table";
22
+ originalEvent: KeyboardEvent | MouseEvent;
23
+ };
24
+ export declare type DuetEditableTableActions = {
25
+ icon: string;
26
+ color: string;
27
+ background: string;
28
+ size: DuetActionButtonIconSize;
29
+ name: string;
30
+ map?: string[];
31
+ label?: DuetLangObject;
32
+ }[];
33
+ export declare type DuetEditableTableItemData = {
34
+ uid: string;
35
+ item: any;
36
+ group: string;
37
+ };
38
+ export declare type DuetEditableTableColumn = {
39
+ direction: 1 | -1;
40
+ key: string;
41
+ index: number;
42
+ display?: boolean;
43
+ sort_order?: number;
44
+ label: DuetLangObject;
45
+ };
46
+ export declare type DuetEditableTableColumns = DuetEditableTableColumn[];
47
+ /**
48
+
49
+ * @slot caption: Inject things into the caption area of the table using this slot
50
+ * @slot thead_first: Inject things into the thead area of the table before column names using this slot
51
+ * @slot thead_last: Inject things into the thead area of the table after column names using this slot
52
+ * @slot tfoot: Inject things into the tfoot area of the table using this slot
53
+ */
54
+ export declare type DuetEditableTableRows = Record<string, any>[];
11
55
  export declare class DuetEditableTable implements ThemeableComponent {
12
- private internalGroupArray;
13
- private internalActionsArray;
14
- private template;
15
56
  /**
16
57
  * Reference to host HTML element.
17
58
  */
18
59
  element: HTMLElement;
19
60
  /**
20
- * State() variables
21
- * @internal
61
+ * Duet-table: margin of the component.
22
62
  */
23
- tick: number;
63
+ margin: DuetMargin;
24
64
  /**
25
- * Map of items that contain list of things.
65
+ * Duet-table: Style variation of the table.
26
66
  */
27
- items: DuetEditableTableItems;
67
+ variation: DuetTableVariant;
28
68
  /**
29
- * Key used to set vertical alignment of action buttons
69
+ * Duet-table: Controls whether the table has a sticky header.
70
+ * Sticky headers are not compatible with breakpoint="none-scrollable".
30
71
  */
31
- alignment: string;
72
+ sticky: boolean;
32
73
  /**
33
- * Array of internationalized defaults for the default groups labels.
74
+ * Duet-table: Adjust the distance from top of the viewport (in pixels) when the
75
+ * table header becomes sticky.
34
76
  */
35
- groupsLabelDefaults: DuetLangObject;
77
+ stickyDistance: DuetTableStickyDistance;
36
78
  /**
37
- * Array of internationalized defaults for the default action labels.
79
+ * Duet-table: By default the table is responsive - it will be flattened at narrow viewport widths.
80
+ * This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
81
+ * Set to "none" to disable the responsive functionality.
82
+ * Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
83
+ * this is useful for comparison tables where it's important to maintain column and row layout.
38
84
  */
39
- actionLabelDefaults: DuetLangObject;
85
+ breakpoint: DuetTableBreakpoint;
40
86
  /**
41
- * Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
42
- * @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
43
- * @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}].
87
+ * Define actions for all items in a table
88
+ * An alternative to inline HTML table.
89
+ * required for Sortable tables
90
+ * @default undefined
44
91
  */
45
- groups: DuetEditableTableGroupNames | string;
92
+ actions: DuetEditableTableActions;
46
93
  /**
47
- * Array of actions that are mapped via the map variable to the various groups defined in group.
94
+ * Define columns for a table
95
+ * An alternative to inline HTML table.
96
+ * required for Sortable tables
48
97
  * @default undefined
49
- * @example [{
50
- variation: "default",
51
- icon: "action-edit-2",
52
- id: "edit",
53
- map: ["success"],
54
- label: {
55
- fi: " Label",
56
- en: " Label",
57
- sv: " Label",
58
- }
59
- }]
60
98
  */
61
- actions: DuetEditableTableActions | string;
99
+ columns: DuetEditableTableColumns;
62
100
  /**
63
- * Shows or hides the table labels.
101
+ * Define rows for a table
102
+ * An alternative to inline HTML table.
103
+ * required for Sortable tables
104
+ * @default undefined
64
105
  */
65
- hideGroups: boolean;
106
+ rows: DuetEditableTableRows;
66
107
  /**
67
- * Exposes the aria role for optimizing accessibility.
108
+ * Controls whether the table is sortable by headers
68
109
  */
69
- accessibleRole: string;
110
+ sortable: boolean;
111
+ /**
112
+ * Optional id that get passed to the table and used to setup ::parts
113
+ */
114
+ groupId: string;
70
115
  /**
71
116
  * Theme of the table.
72
117
  */
73
118
  theme: DuetTheme;
74
119
  /**
75
- * Component lifecycle events.
120
+ * Exposes the aria role for optimizing accessibility.
76
121
  */
77
- componentWillLoad(): void;
122
+ accessibleRole: string;
123
+ /**
124
+ * Event emitted when table is sortable and a header item is clicked/enter is pressed
125
+ */
126
+ duetTableToggle: EventEmitter<DuetTableToggleEvent>;
78
127
  /**
79
- * Method to force an update of a tabular data array.
80
- * when called the method will rerender the entire tabular structure.
128
+ * Event emitted when table is sortable and a header item is clicked/enter is pressed
81
129
  */
82
- updateTable(passedItems?: DuetEditableTableItems): Promise<void>;
130
+ duetMenuClick: EventEmitter<DuetTableMenuEvent>;
131
+ private sortableDefaultLabel;
132
+ private actionColumnLabel;
133
+ /**
134
+ * Component lifecycle events.
135
+ */
136
+ componentWillLoad(): void;
83
137
  /**
84
138
  * Private methods.
85
139
  */
86
- private kick;
140
+ private toggleColumn;
141
+ private handleKeyDown;
142
+ private createLabel;
143
+ private getSortedColumns;
144
+ private getRowSortOrder;
145
+ private renderTableHeader;
146
+ private renderActions;
147
+ private renderTableBody;
87
148
  /**
88
- * If a user defines a template section within editable table, try to read an use it.
149
+ * Render Methods
89
150
  */
90
- private getTemplate;
91
- private getItemData;
92
- filterMap: (needle: any) => [any, DuetEditableTableItemData][];
93
151
  render(): any;
94
152
  }
@@ -0,0 +1 @@
1
+ export declare const shouldDisplayNavigation: (visibleItems: any, total: any, take: any) => boolean;
@@ -0,0 +1,105 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { DuetTheme } from "../../common-types";
3
+ import { DuetLangObject } from "../../utils/language-utils";
4
+ import { ThemeableComponent } from "../../utils/themeable-component";
5
+ export declare type DuetPaginationPageEvent = {
6
+ originalEvent?: Event;
7
+ component: "duet-pagination";
8
+ current: number;
9
+ take: number;
10
+ from: number;
11
+ to: number;
12
+ type: "page" | "jump";
13
+ };
14
+ export declare type DuetPaginationVariation = "default" | "compact";
15
+ export declare class DuetPagination implements ThemeableComponent {
16
+ private listId;
17
+ private nativeNav;
18
+ numbersStore: string;
19
+ /**
20
+ * Reference to host HTML element.
21
+ */
22
+ element: HTMLElement;
23
+ /**
24
+ * State() variables
25
+ * @internal
26
+ */
27
+ totalPages: number;
28
+ /**
29
+ * State() variables
30
+ * @internal
31
+ */
32
+ internalSectionIndex: number;
33
+ /**
34
+ * Theme of the pagination.
35
+ */
36
+ theme: DuetTheme;
37
+ /**
38
+ * Characters to use for the jump buttons.
39
+ */
40
+ jumpString: string;
41
+ /**
42
+ * Variation of the paginator (compact and default supported)
43
+ */
44
+ variation: DuetPaginationVariation;
45
+ /**
46
+ * Default pagination labels
47
+ */
48
+ accessibleLabelsDefaults: DuetLangObject;
49
+ /**
50
+ * Default pagination labels
51
+ */
52
+ accessibleLabels: Record<string, string>;
53
+ /**
54
+ * The size of the take, when paginating.
55
+ */
56
+ take: number;
57
+ /**
58
+ * Amount of visible page numbers to show
59
+ */
60
+ visibleItems: number;
61
+ /**
62
+ * The total size of the paginating data
63
+ */
64
+ total: number;
65
+ /**
66
+ * Used to indicate which dom element with ID this element controls
67
+ */
68
+ ariaControls: string;
69
+ /**
70
+ * The current page
71
+ */
72
+ current: number;
73
+ watchStateHandler(newValue: boolean, oldValue: boolean): void;
74
+ /**
75
+ * Emitted a page selection has been made
76
+ */
77
+ duetPageChange: EventEmitter<DuetPaginationPageEvent>;
78
+ /**
79
+ * Component lifecycle events.
80
+ */
81
+ componentWillLoad(): void;
82
+ componentWillRender(): void;
83
+ componentDidRender(): void;
84
+ /**
85
+ * Private methods.
86
+ */
87
+ private actionChain;
88
+ private emitPageEvent;
89
+ private calculatePageTake;
90
+ private onMouseHandler;
91
+ private onKeyboardDown;
92
+ private getEnteredNumber;
93
+ private setFocus;
94
+ private pageClickHandler;
95
+ private sectionClickHandler;
96
+ private jumpToStart;
97
+ private jumpToEnd;
98
+ private renderPageNumbers;
99
+ private shouldDisplayNavigation;
100
+ /**
101
+ * render() function
102
+ * Always the last one in the class.
103
+ */
104
+ render(): any;
105
+ }
@@ -0,0 +1,70 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { DuetTheme } from "../../common-types";
3
+ import { DuetLangObject } from "../../utils/language-utils";
4
+ import { ThemeableComponent } from "../../utils/themeable-component";
5
+ export declare type DuetRangeStepperUpdateEvent = {
6
+ originalEvent: KeyboardEvent | MouseEvent;
7
+ component: "duet-range-stepper";
8
+ from: number;
9
+ to: number;
10
+ index: number;
11
+ };
12
+ export declare class DuetRangeStepper implements ThemeableComponent {
13
+ private leftBn;
14
+ private rightBn;
15
+ private leftBnRef;
16
+ private rightBnRef;
17
+ private: any;
18
+ /**
19
+ * Reference to host HTML element.
20
+ */
21
+ element: HTMLElement;
22
+ /**
23
+ * Theme of the component.
24
+ */
25
+ theme: DuetTheme;
26
+ /**
27
+ * Start value
28
+ * @default 1
29
+ */
30
+ stepIndex: number;
31
+ watchStateHandler(newValue: number): void;
32
+ /**
33
+ * How big is the step
34
+ * @default 99
35
+ */
36
+ stepSize: number;
37
+ /**
38
+ * Total of
39
+ * @default undefined
40
+ */
41
+ total: number;
42
+ /**
43
+ * Default range stepper labels
44
+ */
45
+ ariaLabelsDefaults: DuetLangObject;
46
+ /**
47
+ * Default pagination labels
48
+ */
49
+ ariaLabels: Record<string, string>;
50
+ /**
51
+ * Used to indicate which dom element with ID this element controls
52
+ */
53
+ ariaControls: string;
54
+ /**
55
+ * Event emitted when the step heading is clicked.
56
+ */
57
+ duetRangeStepUpdate: EventEmitter<DuetRangeStepperUpdateEvent>;
58
+ handleStepClick(e: KeyboardEvent | MouseEvent): void;
59
+ componentWillLoad(): void;
60
+ componentDidLoad(): void;
61
+ private handleClick;
62
+ private increment;
63
+ private generateStepSize;
64
+ private onKeyboardDown;
65
+ /**
66
+ * render() function
67
+ * Always the last one in the class.
68
+ */
69
+ render(): any;
70
+ }
@@ -7,6 +7,7 @@ export declare type DuetSelectOption = {
7
7
  value: string;
8
8
  disabled?: boolean;
9
9
  };
10
+ export declare type DuetSelectVariation = "default" | "tiny";
10
11
  export declare type DuetSelectOptionGroup = {
11
12
  label: string;
12
13
  options: DuetSelectOption[];
@@ -38,6 +39,10 @@ export declare class DuetSelect implements ThemeableComponent, InputComponent {
38
39
  * Inlined decorator, alphabetical order.
39
40
  */
40
41
  processedItems: DuetSelectItems;
42
+ /**
43
+ * Variation of dropdown. -tiny is used for small numbers / tiny option ranges.
44
+ */
45
+ variation: DuetSelectVariation;
41
46
  /**
42
47
  * Indicates the id of a related component’s visually focused element.
43
48
  */
@@ -7,6 +7,10 @@ export declare type DuetTabGroupEvent = {
7
7
  value: number;
8
8
  };
9
9
  export declare type DuetTabVariation = "default" | "plain";
10
+ /**
11
+ * @part ${identifier}-button - piercing selector for styling tab buttons
12
+ * @part ${identifier}-button--selected - piercing selector for styling selected tab button
13
+ */
10
14
  export declare class DuetTabGroup implements ThemeableComponent {
11
15
  /**
12
16
  * Own Properties.
@@ -3,6 +3,14 @@ import { ThemeableComponent } from "../../utils/themeable-component";
3
3
  export declare type DuetTableBreakpoint = keyof typeof breakpointToToken;
4
4
  export declare type DuetTableVariant = "striped" | "plain" | "fixed";
5
5
  export declare type DuetTableStickyDistance = "with-links" | "without-links" | "none";
6
+ export declare type DuetTableToggleEvent = {
7
+ component: "duet-table";
8
+ sort_order?: number;
9
+ direction: 1 | -1;
10
+ index: number;
11
+ key: string;
12
+ originalEvent: KeyboardEvent | MouseEvent;
13
+ };
6
14
  declare const breakpointToToken: {
7
15
  none: string;
8
16
  "none-scrollable": string;
@@ -13,6 +21,11 @@ declare const breakpointToToken: {
13
21
  "xx-large": string;
14
22
  "xxx-large": string;
15
23
  };
24
+ /**
25
+ * @slot dot-menu- If this slot is populated - the content will be displayed together with a ... type menu to the far right in the tsble header
26
+ * @slot header - Header slot for the table
27
+ * @slot footer - Footer slot for the table
28
+ */
16
29
  export declare class DuetTable implements ThemeableComponent {
17
30
  private mq;
18
31
  private observer;
@@ -59,6 +72,9 @@ export declare class DuetTable implements ThemeableComponent {
59
72
  componentWillLoad(): void;
60
73
  componentDidLoad(): void;
61
74
  disconnectedCallback(): void;
75
+ /**
76
+ * Local methods.
77
+ */
62
78
  private copyHeadingsToCells;
63
79
  render(): any;
64
80
  }