@duetds/components 4.36.1 → 5.0.2
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.
- package/hydrate/index.js +1135 -983
- package/lib/cjs/duet-action-button.cjs.entry.js +163 -0
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +8 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/{duet-editable-table_4.cjs.entry.js → duet-editable-table_3.cjs.entry.js} +382 -337
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +24 -14
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-dfd718e8.js → focus-utils-2404e669.js} +1 -1
- package/lib/cjs/{index-4f342f1c.js → index-91b9281f.js} +1 -1
- package/lib/cjs/js-utils-be1d29ae.js +39 -0
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{token-utils-f402e205.js → token-utils-ac8432d1.js} +1 -1
- package/lib/cjs/{tokens-8596cece.js → tokens-72efc7fd.js} +0 -0
- package/lib/cjs/{tokens.module-6b2df1c2.js → tokens.module-6afcc9c1.js} +0 -0
- package/lib/collection/collection-manifest.json +14 -11
- package/lib/collection/components/duet-action-button/duet-action-button.css +87 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +489 -0
- package/lib/collection/components/duet-button/duet-button.js +23 -1
- package/lib/collection/components/duet-choice/duet-choice.css +20 -15
- package/lib/collection/components/duet-choice/duet-choice.js +10 -8
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -57
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -6
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +3 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +20 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +331 -205
- package/lib/collection/components/duet-header/duet-header.css +5 -1
- package/lib/collection/components/duet-header/duet-header.js +4 -3
- package/lib/collection/components/duet-pagination/duet-pagination.css +3 -62
- package/lib/collection/components/duet-pagination/duet-pagination.js +49 -19
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -55
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -4
- package/lib/collection/components/duet-table/duet-table.css +42 -8
- package/lib/collection/components/duet-table/duet-table.js +11 -2
- package/lib/collection/components/duet-upload/duet-upload.css +25 -0
- package/lib/collection/components/duet-upload/duet-upload.js +270 -166
- package/lib/collection/components/duet-upload/upload-validators.js +1 -1
- package/lib/collection/utils/fixture-utils.js +3 -1
- package/lib/collection/utils/js-utils.js +36 -1
- package/lib/custom-elements-bundle/index.d.ts +6 -12
- package/lib/custom-elements-bundle/index.js +1148 -1007
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-061835f3.system.entry.js → p-09bdb2b4.system.entry.js} +1 -1
- package/lib/duet/{p-1a95aeb6.entry.js → p-0e4b29a3.entry.js} +1 -1
- package/lib/duet/{p-65c418f7.system.entry.js → p-16477cd0.system.entry.js} +1 -1
- package/lib/duet/p-1c993c62.system.entry.js +4 -0
- package/lib/duet/{p-8c53bc24.system.entry.js → p-1f78f660.system.entry.js} +1 -1
- package/lib/duet/{p-ef275410.entry.js → p-24442312.entry.js} +1 -1
- package/lib/duet/{p-ddb6344c.system.js → p-268c0abb.system.js} +0 -0
- package/lib/duet/p-2d602c49.system.entry.js +4 -0
- package/lib/duet/{p-946f34b4.system.entry.js → p-305a8332.system.entry.js} +1 -1
- package/lib/duet/{p-4fdbc6ff.system.entry.js → p-3724e8bf.system.entry.js} +1 -1
- package/lib/duet/{p-5d9affcd.entry.js → p-40deceee.entry.js} +1 -1
- package/lib/duet/{p-211b4485.system.entry.js → p-4169371b.system.entry.js} +1 -1
- package/lib/duet/{p-9ce0e625.entry.js → p-4306e41d.entry.js} +1 -1
- package/lib/duet/{p-5376a9db.entry.js → p-43a310bd.entry.js} +1 -1
- package/lib/duet/{p-29255af8.entry.js → p-45c0bd39.entry.js} +1 -1
- package/lib/duet/{p-fd2211ab.entry.js → p-47885d97.entry.js} +1 -1
- package/lib/duet/{p-615bfc61.system.entry.js → p-4b9af907.system.entry.js} +1 -1
- package/lib/duet/{p-1c4721a1.entry.js → p-4f9d6d43.entry.js} +1 -1
- package/lib/duet/{p-85100e09.entry.js → p-52f07766.entry.js} +1 -1
- package/lib/duet/{p-e8e35258.entry.js → p-567321c9.entry.js} +1 -1
- package/lib/duet/p-572ee1f5.entry.js +4 -0
- package/lib/duet/{p-cb445018.js → p-5746d88c.js} +1 -1
- package/lib/duet/{p-286d2ad2.system.entry.js → p-57f6b52e.system.entry.js} +1 -1
- package/lib/duet/p-5a4e576c.entry.js +4 -0
- package/lib/duet/{p-fae71c1f.entry.js → p-5ad66dfd.entry.js} +1 -1
- package/lib/duet/{p-f6da56c8.entry.js → p-5cc97dae.entry.js} +1 -1
- package/lib/duet/{p-03cf3ebf.entry.js → p-5ce39b6b.entry.js} +1 -1
- package/lib/duet/{p-46ae601a.entry.js → p-615f0b6f.entry.js} +1 -1
- package/lib/duet/{p-83452e8f.entry.js → p-63f6099b.entry.js} +1 -1
- package/lib/duet/p-681e93cd.entry.js +4 -0
- package/lib/duet/p-6a455a78.system.entry.js +4 -0
- package/lib/duet/{p-c52f4de0.system.entry.js → p-6d142621.system.entry.js} +1 -1
- package/lib/duet/{p-ca0ee655.system.entry.js → p-6fc73186.system.entry.js} +1 -1
- package/lib/duet/{p-e5ce7aad.system.entry.js → p-72469869.system.entry.js} +1 -1
- package/lib/duet/{p-20cdb787.entry.js → p-73d3d1bf.entry.js} +1 -1
- package/lib/duet/{p-164a7037.system.entry.js → p-763d700b.system.entry.js} +1 -1
- package/lib/duet/{p-d9716aec.system.entry.js → p-770fdb8f.system.entry.js} +1 -1
- package/lib/duet/{p-4e2532c7.system.js → p-77acbfe4.system.js} +1 -1
- package/lib/duet/{p-d21f19cc.system.js → p-7d65b8fc.system.js} +1 -1
- package/lib/duet/{p-ffb5fb75.system.entry.js → p-7e1d6ac6.system.entry.js} +1 -1
- package/lib/duet/{p-c7fa7dcc.system.entry.js → p-7f58aced.system.entry.js} +1 -1
- package/lib/duet/{p-22baf1f8.system.entry.js → p-806dc8b7.system.entry.js} +1 -1
- package/lib/duet/{p-fa99eaa4.system.js → p-812b0905.system.js} +0 -0
- package/lib/duet/{p-e7b53f4f.system.entry.js → p-854558fd.system.entry.js} +1 -1
- package/lib/duet/{p-c514010b.system.entry.js → p-85507ac3.system.entry.js} +1 -1
- package/lib/duet/p-8a241b0d.system.js +4 -0
- package/lib/duet/p-8ab8531d.entry.js +4 -0
- package/lib/duet/{p-eb892975.system.entry.js → p-8ff7380a.system.entry.js} +1 -1
- package/lib/duet/p-92639d0b.system.js +4 -0
- package/lib/duet/{p-3d1b0105.entry.js → p-97b9a61f.entry.js} +1 -1
- package/lib/duet/{p-3bb702e3.system.entry.js → p-97f24160.system.entry.js} +2 -2
- package/lib/duet/{p-740b5609.entry.js → p-9816d0ab.entry.js} +1 -1
- package/lib/duet/{p-ae14591e.entry.js → p-9c37e704.entry.js} +1 -1
- package/lib/duet/p-9c57b94d.system.entry.js +4 -0
- package/lib/duet/{p-635dacce.system.entry.js → p-9fa719d0.system.entry.js} +1 -1
- package/lib/duet/p-a4c7bb27.system.entry.js +4 -0
- package/lib/duet/{p-3c3536be.entry.js → p-a9158499.entry.js} +1 -1
- package/lib/duet/{p-e7dd8a15.system.entry.js → p-a934db65.system.entry.js} +1 -1
- package/lib/duet/{p-e35d8543.entry.js → p-acb043aa.entry.js} +1 -1
- package/lib/duet/{p-7f0e360d.entry.js → p-b2811c51.entry.js} +1 -1
- package/lib/duet/{p-d24c6bc1.entry.js → p-b53afa7a.entry.js} +1 -1
- package/lib/duet/{p-0366552b.system.entry.js → p-b686f39d.system.entry.js} +1 -1
- package/lib/duet/{p-ebc56043.entry.js → p-b6d5be13.entry.js} +1 -1
- package/lib/duet/{p-e8303364.system.entry.js → p-bb61f7d8.system.entry.js} +1 -1
- package/lib/duet/{p-12941aef.system.entry.js → p-bc895d5f.system.entry.js} +1 -1
- package/lib/duet/{p-e47daca7.system.entry.js → p-beca945d.system.entry.js} +1 -1
- package/lib/duet/{p-dcaecb5e.js → p-c420e1ab.js} +1 -1
- package/lib/duet/{p-5b546064.entry.js → p-c801c899.entry.js} +1 -1
- package/lib/duet/{p-3547d108.entry.js → p-c8f1cc9c.entry.js} +1 -1
- package/lib/duet/{p-c8ec3b99.entry.js → p-cd8c4a50.entry.js} +1 -1
- package/lib/duet/{p-b6dd0933.entry.js → p-ce487a35.entry.js} +1 -1
- package/lib/duet/{p-c6df2ea8.system.entry.js → p-ce6e5918.system.entry.js} +1 -1
- package/lib/duet/{p-c2d32103.entry.js → p-d03cb5c3.entry.js} +1 -1
- package/lib/duet/p-d173c966.entry.js +4 -0
- package/lib/duet/{p-79b9e7ef.system.entry.js → p-d414e0f6.system.entry.js} +1 -1
- package/lib/duet/{p-8143f3de.js → p-d7bc0102.js} +0 -0
- package/lib/duet/{p-24b9e806.entry.js → p-d7d80b8e.entry.js} +1 -1
- package/lib/duet/p-d8ed6905.entry.js +4 -0
- package/lib/duet/{p-562ae946.entry.js → p-da61c503.entry.js} +1 -1
- package/lib/duet/p-dbb4a588.js +4 -0
- package/lib/duet/p-dd8fade8.entry.js +4 -0
- package/lib/duet/{p-1db7a35b.entry.js → p-de67de41.entry.js} +1 -1
- package/lib/duet/{p-9df321b3.system.entry.js → p-def972d1.system.entry.js} +1 -1
- package/lib/duet/p-df2d8ec4.entry.js +4 -0
- package/lib/duet/{p-05e2c680.system.entry.js → p-e35ea4b9.system.entry.js} +1 -1
- package/lib/duet/{p-ad3dad04.system.js → p-e9ab7f0a.system.js} +1 -1
- package/lib/duet/{p-7a32ceb3.system.entry.js → p-eb383537.system.entry.js} +1 -1
- package/lib/duet/{p-ad07f399.js → p-ed75c8b3.js} +0 -0
- package/lib/duet/{p-c18080ad.entry.js → p-ee8682fc.entry.js} +1 -1
- package/lib/duet/p-f155c84d.system.entry.js +4 -0
- package/lib/duet/{p-d945a4b0.system.entry.js → p-f1b895c8.system.entry.js} +1 -1
- package/lib/duet/{p-89e42127.system.entry.js → p-f5af2560.system.entry.js} +1 -1
- package/lib/duet/{p-3900577d.system.entry.js → p-f7475d5a.system.entry.js} +1 -1
- package/lib/duet/p-f7c7f37d.js +4 -0
- package/lib/duet/{p-210d739c.system.entry.js → p-feca1c50.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +159 -0
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +8 -4
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/{duet-editable-table_4.entry.js → duet-editable-table_3.entry.js} +384 -338
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +7 -7
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +24 -14
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +2 -2
- package/lib/esm/{focus-utils-d4e80e1e.js → focus-utils-46b28332.js} +1 -1
- package/lib/esm/{index-4a5e7664.js → index-8743db3b.js} +1 -1
- package/lib/esm/js-utils-52e0944c.js +36 -0
- package/lib/esm/loader.js +2 -2
- package/lib/esm/{token-utils-e9a69acf.js → token-utils-e9a0cb88.js} +1 -1
- package/lib/esm/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
- package/lib/esm/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
- package/lib/esm-es5/duet-action-button.entry.js +4 -0
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +4 -0
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-46b28332.js +4 -0
- package/lib/esm-es5/{index-4a5e7664.js → index-8743db3b.js} +1 -1
- package/lib/esm-es5/js-utils-52e0944c.js +4 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-e9a69acf.js → token-utils-e9a0cb88.js} +1 -1
- package/lib/esm-es5/{tokens-e110dc89.js → tokens-57d98824.js} +0 -0
- package/lib/esm-es5/{tokens.module-49cbf963.js → tokens.module-a13e9683.js} +0 -0
- package/lib/html.html-data.json +169 -69
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +112 -0
- package/lib/types/components/duet-button/duet-button.d.ts +4 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +2 -2
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +106 -48
- package/lib/types/components/duet-header/duet-header.d.ts +1 -0
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +7 -2
- package/lib/types/components/duet-table/duet-table.d.ts +16 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +68 -58
- package/lib/types/components.d.ts +225 -149
- package/lib/types/utils/js-utils.d.ts +2 -0
- package/package.json +8 -16
- package/lib/cjs/duet-editable-table-button.cjs.entry.js +0 -96
- package/lib/cjs/js-utils-33a9dbe3.js +0 -16
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +0 -32
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +0 -225
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +0 -36
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +0 -225
- package/lib/duet/p-063fe96d.entry.js +0 -4
- package/lib/duet/p-2361986e.entry.js +0 -4
- package/lib/duet/p-2eeacf1a.entry.js +0 -4
- package/lib/duet/p-396f1bdc.entry.js +0 -4
- package/lib/duet/p-493c6d2f.system.entry.js +0 -4
- package/lib/duet/p-7b55f33e.entry.js +0 -4
- package/lib/duet/p-7e0e2209.system.entry.js +0 -4
- package/lib/duet/p-81867417.system.js +0 -4
- package/lib/duet/p-a3d7951c.system.entry.js +0 -4
- package/lib/duet/p-a619dff3.system.js +0 -4
- package/lib/duet/p-b25d3769.js +0 -4
- package/lib/duet/p-bf192d9f.entry.js +0 -4
- package/lib/duet/p-c76a68aa.system.entry.js +0 -4
- package/lib/duet/p-d12b3d21.system.entry.js +0 -4
- package/lib/duet/p-ded33218.system.entry.js +0 -4
- package/lib/duet/p-e6a69eb8.js +0 -4
- package/lib/duet/p-ef4962e8.entry.js +0 -4
- package/lib/duet/p-ff21f3c2.entry.js +0 -4
- package/lib/esm/duet-editable-table-button.entry.js +0 -92
- package/lib/esm/js-utils-b69f17df.js +0 -14
- package/lib/esm-es5/duet-editable-table-button.entry.js +0 -4
- package/lib/esm-es5/duet-editable-table_4.entry.js +0 -4
- package/lib/esm-es5/focus-utils-d4e80e1e.js +0 -4
- package/lib/esm-es5/js-utils-b69f17df.js +0 -4
- package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +0 -73
- package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +0 -76
package/lib/html.html-data.json
CHANGED
|
@@ -1,6 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1.1,
|
|
3
3
|
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "duet-action-button",
|
|
6
|
+
"description": {
|
|
7
|
+
"kind": "markdown",
|
|
8
|
+
"value": "Slot: default slot inside an invisible element, this can be used to enhance accessibility\nPart: button this part enables style overrides for the button\nPart: icon this part enables style overrides for the icon"
|
|
9
|
+
},
|
|
10
|
+
"attributes": [
|
|
11
|
+
{
|
|
12
|
+
"name": "action-id",
|
|
13
|
+
"description": "Name of id of action that was called being called"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "action-meta",
|
|
17
|
+
"description": "Name of id of action that was called being called"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "action-name",
|
|
21
|
+
"description": "Name of action being called"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "accessible-controls",
|
|
25
|
+
"description": "Used to indicate which dom element with ID this element controls"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "accessible-described-by",
|
|
29
|
+
"description": "Described By id"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "accessible-description",
|
|
33
|
+
"description": "Aria description the button"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "background",
|
|
37
|
+
"description": "Custom color to be used for a background, as a design token entered\nin camelCase or kebab-case. Using this option the icon will always be resized\nto $size-icon-medium on mobile viewports. Example: \"color-primary\"."
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "color",
|
|
41
|
+
"description": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"color-primary\". This property can also be set to\n\"currentColor\" which forces the icon to use the CSS text color of parent\nelement instead. Useful when you want to control the color in stylesheet\ninstead."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "disabled",
|
|
45
|
+
"description": "Disables the button"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "icon-color",
|
|
49
|
+
"description": "Color of the icon to display"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "icon-name",
|
|
53
|
+
"description": "Name of the icon to display"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "icon-size",
|
|
57
|
+
"description": "Size of the icon",
|
|
58
|
+
"values": [
|
|
59
|
+
{
|
|
60
|
+
"name": "small"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "x-small"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "xx-small"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "theme",
|
|
72
|
+
"description": "Theme of the pagination.",
|
|
73
|
+
"values": [
|
|
74
|
+
{
|
|
75
|
+
"name": "default"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "turva"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"references": [
|
|
84
|
+
{
|
|
85
|
+
"name": "Source code",
|
|
86
|
+
"url": "./https:/lt-devtool.visualstudio.com/_git/Duet%20Design%20System?path=/packages/components/src/components/duet-action-button/duet-action-button.tsx"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
4
90
|
{
|
|
5
91
|
"name": "duet-alert",
|
|
6
92
|
"description": {
|
|
@@ -256,6 +342,10 @@
|
|
|
256
342
|
"name": "accessible-owns",
|
|
257
343
|
"description": "Indicates the id of a component owned by the button."
|
|
258
344
|
},
|
|
345
|
+
{
|
|
346
|
+
"name": "accessible-popup",
|
|
347
|
+
"description": "Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button."
|
|
348
|
+
},
|
|
259
349
|
{
|
|
260
350
|
"name": "accessible-pressed",
|
|
261
351
|
"description": "Tells screen reader the element is pressed."
|
|
@@ -1328,7 +1418,7 @@
|
|
|
1328
1418
|
"name": "duet-editable-table",
|
|
1329
1419
|
"description": {
|
|
1330
1420
|
"kind": "markdown",
|
|
1331
|
-
"value": "---\ntitle: Editable Table\nname: duet-editable-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Editable Table is a functional component for enhancing tabular\n data with editable possibilities. It is based upon duet-table but is intended to take a \n Javascript Map of Records and map them into grouped sections \ndescription: It’s important to understand that this component only give you the tools to \n represent a map in a visual way, and connect various \"actions\" to each line item. \n What the line item is and which actions you choose to run are your decisions, \n any action given results an event that contains information about what action was \n clicked/pressed and which line item it originated from.\n The rest of any logic will have to be provided by you.\nexample_height: 400px\nexamples:\n - name: Editable table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Editable table with custom groups and mappings\n file: fixtures/duet-editable-
|
|
1421
|
+
"value": "---\ntitle: Editable Table\nname: duet-editable-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Editable Table is a functional component for enhancing tabular\n data with editable possibilities. It is based upon duet-table but is intended to take a \n Javascript Map of Records and map them into grouped sections \ndescription: It’s important to understand that this component only give you the tools to \n represent a map in a visual way, and connect various \"actions\" to each line item. \n What the line item is and which actions you choose to run are your decisions, \n any action given results an event that contains information about what action was \n clicked/pressed and which line item it originated from.\n The rest of any logic will have to be provided by you.\nexample_height: 400px\nexamples:\n - name: Editable table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Editable table with custom groups and mappings\n file: fixtures/duet-editable-table_simple_table.html\n - name: Editable table with hidden groups\n file: fixtures/duet-editable-table_simple_table_with_pagination.html \n - name: Editable table using template and columns\n file: fixtures/duet-editable-table_table_with_actions_and_sorting.html \n - name: Editable table with a dot menu context\n file: fixtures/duet-editable-table_table_with_dot_menu.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
1332
1422
|
},
|
|
1333
1423
|
"attributes": [
|
|
1334
1424
|
{
|
|
@@ -1336,51 +1426,77 @@
|
|
|
1336
1426
|
"description": "Exposes the aria role for optimizing accessibility."
|
|
1337
1427
|
},
|
|
1338
1428
|
{
|
|
1339
|
-
"name": "
|
|
1340
|
-
"description": "
|
|
1429
|
+
"name": "breakpoint",
|
|
1430
|
+
"description": "Duet-table: By default the table is responsive - it will be flattened at narrow viewport widths.\nThis prop controls the breakpoint at which the table should be rendered as a _regular_ table.\nSet to \"none\" to disable the responsive functionality.\nSet to \"none-scrollable\" to disable responsive functionality _and_ allow horizontal scrolling -\nthis is useful for comparison tables where it's important to maintain column and row layout.",
|
|
1431
|
+
"values": [
|
|
1432
|
+
{
|
|
1433
|
+
"name": "large"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "medium"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "none"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "none-scrollable"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "small"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "x-large"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"name": "xx-large"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "xxx-large"
|
|
1455
|
+
}
|
|
1456
|
+
]
|
|
1341
1457
|
},
|
|
1342
1458
|
{
|
|
1343
|
-
"name": "
|
|
1344
|
-
"description": "
|
|
1459
|
+
"name": "group-id",
|
|
1460
|
+
"description": "Optional id that get passed to the table and used to setup ::parts"
|
|
1345
1461
|
},
|
|
1346
1462
|
{
|
|
1347
|
-
"name": "
|
|
1348
|
-
"description": "
|
|
1463
|
+
"name": "margin",
|
|
1464
|
+
"description": "Duet-table: margin of the component.",
|
|
1465
|
+
"values": [
|
|
1466
|
+
{
|
|
1467
|
+
"name": "auto"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "none"
|
|
1471
|
+
}
|
|
1472
|
+
]
|
|
1349
1473
|
},
|
|
1350
1474
|
{
|
|
1351
|
-
"name": "
|
|
1352
|
-
"description": "
|
|
1475
|
+
"name": "sortable",
|
|
1476
|
+
"description": "Controls whether the table is sortable by headers"
|
|
1353
1477
|
},
|
|
1354
1478
|
{
|
|
1355
|
-
"name": "
|
|
1356
|
-
"description": "
|
|
1479
|
+
"name": "sticky",
|
|
1480
|
+
"description": "Duet-table: Controls whether the table has a sticky header.\nSticky headers are not compatible with breakpoint=\"none-scrollable\"."
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "sticky-distance",
|
|
1484
|
+
"description": "Duet-table: Adjust the distance from top of the viewport (in pixels) when the\ntable header becomes sticky.",
|
|
1357
1485
|
"values": [
|
|
1358
1486
|
{
|
|
1359
|
-
"name": "
|
|
1487
|
+
"name": "none"
|
|
1360
1488
|
},
|
|
1361
1489
|
{
|
|
1362
|
-
"name": "
|
|
1490
|
+
"name": "with-links"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "without-links"
|
|
1363
1494
|
}
|
|
1364
1495
|
]
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
"references": [
|
|
1368
|
-
{
|
|
1369
|
-
"name": "Source code",
|
|
1370
|
-
"url": "./https:/lt-devtool.visualstudio.com/_git/Duet%20Design%20System?path=/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
1371
|
-
}
|
|
1372
|
-
]
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"name": "duet-editable-table-button",
|
|
1376
|
-
"description": {
|
|
1377
|
-
"kind": "markdown",
|
|
1378
|
-
"value": "---\ntitle: Editable Table\nname: duet-editable-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Editable Table is a functional component for enhancing tabular\n data with editable possibilities. It is based upon duet-table but is intended to take a \n Javascript Map of Records and map them into grouped sections \ndescription: It’s important to understand that this component only give you the tools to \n represent a map in a visual way, and connect various \"actions\" to each line item. \n What the line item is and which actions you choose to run are your decisions, \n any action given results an event that contains information about what action was \n clicked/pressed and which line item it originated from.\n The rest of any logic will have to be provided by you.\nexample_height: 400px\nexamples:\n - name: Editable table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Editable table with custom groups and mappings\n file: fixtures/duet-editable-table_table_with_custom_groups_and_mappings.html\n - name: Editable table with hidden groups\n file: fixtures/duet-editable-table_table_with_hidden_groups.html \n - name: Editable table using template and columns\n file: fixtures/duet-editable-table_table_with_template.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
1379
|
-
},
|
|
1380
|
-
"attributes": [
|
|
1496
|
+
},
|
|
1381
1497
|
{
|
|
1382
1498
|
"name": "theme",
|
|
1383
|
-
"description": "Theme of the
|
|
1499
|
+
"description": "Theme of the table.",
|
|
1384
1500
|
"values": [
|
|
1385
1501
|
{
|
|
1386
1502
|
"name": "default"
|
|
@@ -1389,39 +1505,19 @@
|
|
|
1389
1505
|
"name": "turva"
|
|
1390
1506
|
}
|
|
1391
1507
|
]
|
|
1392
|
-
}
|
|
1393
|
-
],
|
|
1394
|
-
"references": [
|
|
1395
|
-
{
|
|
1396
|
-
"name": "Source code",
|
|
1397
|
-
"url": "./https:/lt-devtool.visualstudio.com/_git/Duet%20Design%20System?path=/packages/components/src/components/duet-editable-table/duet-editable-table-button.tsx"
|
|
1398
|
-
}
|
|
1399
|
-
]
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
"name": "duet-editable-table-item",
|
|
1403
|
-
"description": {
|
|
1404
|
-
"kind": "markdown",
|
|
1405
|
-
"value": "---\ntitle: Editable Table\nname: duet-editable-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Editable Table is a functional component for enhancing tabular\n data with editable possibilities. It is based upon duet-table but is intended to take a \n Javascript Map of Records and map them into grouped sections \ndescription: It’s important to understand that this component only give you the tools to \n represent a map in a visual way, and connect various \"actions\" to each line item. \n What the line item is and which actions you choose to run are your decisions, \n any action given results an event that contains information about what action was \n clicked/pressed and which line item it originated from.\n The rest of any logic will have to be provided by you.\nexample_height: 400px\nexamples:\n - name: Editable table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Editable table with custom groups and mappings\n file: fixtures/duet-editable-table_table_with_custom_groups_and_mappings.html\n - name: Editable table with hidden groups\n file: fixtures/duet-editable-table_table_with_hidden_groups.html \n - name: Editable table using template and columns\n file: fixtures/duet-editable-table_table_with_template.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
1406
|
-
},
|
|
1407
|
-
"attributes": [
|
|
1408
|
-
{
|
|
1409
|
-
"name": "alignment",
|
|
1410
|
-
"description": "Key used to set vertical alignment of action buttons"
|
|
1411
1508
|
},
|
|
1412
1509
|
{
|
|
1413
|
-
"name": "
|
|
1414
|
-
"description": "
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
"name": "theme",
|
|
1418
|
-
"description": "Theme of the empty state component.",
|
|
1510
|
+
"name": "variation",
|
|
1511
|
+
"description": "Duet-table: Style variation of the table.",
|
|
1419
1512
|
"values": [
|
|
1420
1513
|
{
|
|
1421
|
-
"name": "
|
|
1514
|
+
"name": "fixed"
|
|
1422
1515
|
},
|
|
1423
1516
|
{
|
|
1424
|
-
"name": "
|
|
1517
|
+
"name": "plain"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "striped"
|
|
1425
1521
|
}
|
|
1426
1522
|
]
|
|
1427
1523
|
}
|
|
@@ -1429,7 +1525,7 @@
|
|
|
1429
1525
|
"references": [
|
|
1430
1526
|
{
|
|
1431
1527
|
"name": "Source code",
|
|
1432
|
-
"url": "./https:/lt-devtool.visualstudio.com/_git/Duet%20Design%20System?path=/packages/components/src/components/duet-editable-table/duet-editable-table
|
|
1528
|
+
"url": "./https:/lt-devtool.visualstudio.com/_git/Duet%20Design%20System?path=/packages/components/src/components/duet-editable-table/duet-editable-table.tsx"
|
|
1433
1529
|
}
|
|
1434
1530
|
]
|
|
1435
1531
|
},
|
|
@@ -3336,6 +3432,18 @@
|
|
|
3336
3432
|
"name": "total",
|
|
3337
3433
|
"description": "The total size of the paginating data"
|
|
3338
3434
|
},
|
|
3435
|
+
{
|
|
3436
|
+
"name": "variation",
|
|
3437
|
+
"description": "Variation of the paginator (compact and default supported)",
|
|
3438
|
+
"values": [
|
|
3439
|
+
{
|
|
3440
|
+
"name": "compact"
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
"name": "default"
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3446
|
+
},
|
|
3339
3447
|
{
|
|
3340
3448
|
"name": "visible-items",
|
|
3341
3449
|
"description": "Amount of visible page numbers to show"
|
|
@@ -3808,7 +3916,7 @@
|
|
|
3808
3916
|
"name": "duet-range-stepper",
|
|
3809
3917
|
"description": {
|
|
3810
3918
|
"kind": "markdown",
|
|
3811
|
-
"value": "---\ntitle:
|
|
3919
|
+
"value": "---\ntitle: Range Stepper\nname: duet-range-stepper\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.2.0\nssr: Supported\nintro: range-stepper is a component that can be used to step through a series of value ranges\nexamples:\n - name: step\n code: This first example creates the actual URL and DOCS, hence it needs to be here.\n - name: Default range stepper\n file: fixtures/duet-range-stepper.html\n - name: Range Stepper with pagination\n file: fixtures/duet-range-stepper_with_pagination.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
3812
3920
|
},
|
|
3813
3921
|
"attributes": [
|
|
3814
3922
|
{
|
|
@@ -4404,7 +4512,7 @@
|
|
|
4404
4512
|
"name": "duet-table",
|
|
4405
4513
|
"description": {
|
|
4406
4514
|
"kind": "markdown",
|
|
4407
|
-
"value": "---\ntitle: Table\nname: duet-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Table is a lightweight and un-opinionated component for enhancing tabular\n data. It offers features like sticky headers, support for narrow viewport\n widths, and table styles.\ndescription: It’s important to pay close attention to semantics when authoring\n tables with Duet Table component. The markup in the examples below can be used\n as a starting point for most tables. However, be aware that HTML tables have a\n large feature set, which cannot be covered exhaustively here.\nexample_height: 400px\nexamples:\n - name: table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Basic table usage\n file: fixtures/duet-table_basic_table_usage.html\n - name: Plain table variation\n file: fixtures/duet-table_plain_table_variation.html\n - name: Table with right-aligned final column\n file: fixtures/duet-table_table_with_right-aligned_final_column.html\n - name: Table with a custom breakpoint\n file: fixtures/duet-table_table_with_a_custom_breakpoint.html\n - name: Table with a footer\n file: fixtures/duet-table_table_with_a_footer.html\n - name: Table with a sticky header\n file: fixtures/duet-table_table_with_a_sticky_header.html\n - name: Table with multiple bodies and sub-headings\n file: fixtures/duet-table_table_with_multiple_bodies_and_sub-headings.html\n - name: Comparison table\n file: fixtures/duet-table_comparison_table.html\n - name: Table
|
|
4515
|
+
"value": "---\ntitle: Table\nname: duet-table\nstatus: ready\nplatforms: Web only\ninternationalization: Supported\naccessibility: Keyboard, Screen Reader\nreleased: 3.4.0\nssr: Supported\nintro: Table is a lightweight and un-opinionated component for enhancing tabular\n data. It offers features like sticky headers, support for narrow viewport\n widths, and table styles.\ndescription: It’s important to pay close attention to semantics when authoring\n tables with Duet Table component. The markup in the examples below can be used\n as a starting point for most tables. However, be aware that HTML tables have a\n large feature set, which cannot be covered exhaustively here.\nexample_height: 400px\nexamples:\n - name: table\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Basic table usage\n file: fixtures/duet-table_basic_table_usage.html\n - name: Plain table variation\n file: fixtures/duet-table_plain_table_variation.html\n - name: Table with right-aligned final column\n file: fixtures/duet-table_table_with_right-aligned_final_column.html\n - name: Table with a custom breakpoint\n file: fixtures/duet-table_table_with_a_custom_breakpoint.html\n - name: Table with a footer\n file: fixtures/duet-table_table_with_a_footer.html\n - name: Table with a sticky header\n file: fixtures/duet-table_table_with_a_sticky_header.html\n - name: Table with multiple bodies and sub-headings\n file: fixtures/duet-table_table_with_multiple_bodies_and_sub-headings.html\n - name: Comparison table\n file: fixtures/duet-table_comparison_table.html\n - name: Table as grouped collection, hidden headers in desktop view\n file: fixtures/duet-table_table_as_grouped_collection.html\ntags:\n - docs-components\n\n---\n\n<!-- usage -->"
|
|
4408
4516
|
},
|
|
4409
4517
|
"attributes": [
|
|
4410
4518
|
{
|
|
@@ -4915,7 +5023,7 @@
|
|
|
4915
5023
|
"name": "duet-upload",
|
|
4916
5024
|
"description": {
|
|
4917
5025
|
"kind": "markdown",
|
|
4918
|
-
"value": "---\ntitle: Upload\nname: duet-upload\nstatus: ready\nreleased: 4.30.0\nplatforms: Web only\ninternationalization: Supported\nssr: Supported\ncategory: Forms\naccessibility: Keyboard, Screen Reader\nintro: The upload component is used to allow users to upload one / several files to an upload server.\ndescription: This component can either be used in a nearly autonomous way by using its default \"internal\" operation mode, or it can keep state for you upload code via its \"external\" operation mode, the internal mode requires a server that can receive uploads via POST requests and DELETE requests on the same URL. Internal mode assumes that you want to upload files immediately when a user has selected one or more files and that your server is able to receive a Delete request to remove any files uploads again.\nexamples:\n - name: upload\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Upload component using external upload\n file: fixtures/duet-upload-external.html \n - name: Upload component using external upload Styled via parts\n file: fixtures/duet-upload-external-part-styling.html\n - name: Upload component using external upload and custom categories\n file: fixtures/duet-upload-external_custom_categories.html\n - name: Upload component using external upload hidden categories\n file: fixtures/duet-upload-external_hidden_labels.html\n - name: Upload component using external upload prefilled\n file: fixtures/duet-upload-external_prefilled_items.html\n - name: Upload component using external upload prefilled with mock links\n file: fixtures/duet-upload-external_prefilled_items_with_links.html\n - name: Demonstration of how to use methods\n file: fixtures/duet-upload-external_methods.html\ntags:\n - docs-components\n---\n\n<!-- usage -->"
|
|
5026
|
+
"value": "---\ntitle: Upload\nname: duet-upload\nstatus: ready\nreleased: 4.30.0\nplatforms: Web only\ninternationalization: Supported\nssr: Supported\ncategory: Forms\naccessibility: Keyboard, Screen Reader\nintro: The upload component is used to allow users to upload one / several files to an upload server.\ndescription: This component can either be used in a nearly autonomous way by using its default \"internal\" operation mode, or it can keep state for you upload code via its \"external\" operation mode, the internal mode requires a server that can receive uploads via POST requests and DELETE requests on the same URL. Internal mode assumes that you want to upload files immediately when a user has selected one or more files and that your server is able to receive a Delete request to remove any files uploads again.\nexamples:\n - name: upload\n code: This first example creates the actual URL and DOCS, hence it needs to be\n here.\n - name: Upload component using internal upload\n file: fixtures/duet-upload-component_with_internal_uploading.html\n - name: Upload component using internal upload, submit disabled\n file: fixtures/duet-upload-component_with_internal_uploading_with_submit_disabled.html\n - name: Upload component using external upload\n file: fixtures/duet-upload-external.html \n - name: Upload component using external upload Styled via parts\n file: fixtures/duet-upload-external-part-styling.html\n - name: Upload component using external upload and custom categories\n file: fixtures/duet-upload-external_custom_categories.html\n - name: Upload component using external upload hidden categories\n file: fixtures/duet-upload-external_hidden_labels.html\n - name: Upload component using external upload prefilled\n file: fixtures/duet-upload-external_prefilled_items.html\n - name: Upload component using external upload prefilled with mock links\n file: fixtures/duet-upload-external_prefilled_items_with_links.html\n - name: Demonstration of how to use methods\n file: fixtures/duet-upload-external_methods.html\ntags:\n - docs-components\n---\n\n<!-- usage -->"
|
|
4919
5027
|
},
|
|
4920
5028
|
"attributes": [
|
|
4921
5029
|
{
|
|
@@ -4938,10 +5046,6 @@
|
|
|
4938
5046
|
"name": "accessible-owns",
|
|
4939
5047
|
"description": "Indicates the id of a component owned by the input."
|
|
4940
5048
|
},
|
|
4941
|
-
{
|
|
4942
|
-
"name": "actions",
|
|
4943
|
-
"description": "Default actions added to the internally used duet-editable-table"
|
|
4944
|
-
},
|
|
4945
5049
|
{
|
|
4946
5050
|
"name": "alignment",
|
|
4947
5051
|
"description": "Key used to set vertical alignment of action buttons"
|
|
@@ -4994,10 +5098,6 @@
|
|
|
4994
5098
|
"name": "list-empty-default",
|
|
4995
5099
|
"description": "Defaults for the filelist's empty state."
|
|
4996
5100
|
},
|
|
4997
|
-
{
|
|
4998
|
-
"name": "groups",
|
|
4999
|
-
"description": "Array of group names that you want the editable table to use to display files"
|
|
5000
|
-
},
|
|
5001
5101
|
{
|
|
5002
5102
|
"name": "hide-upload-button",
|
|
5003
5103
|
"description": "If set the upload component will not display an upload button, you will have to create one yourself\nand call the exposed method startUpload"
|
|
@@ -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
|
+
}
|
|
@@ -30,6 +30,10 @@ export declare class DuetButton implements ThemeableComponent, FormComponent {
|
|
|
30
30
|
* the attribute to point to the unique id of the content that the button manages.
|
|
31
31
|
*/
|
|
32
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;
|
|
33
37
|
/**
|
|
34
38
|
* Indicates the id of a related component’s visually focused element.
|
|
35
39
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
2
|
interface TableDataProps {
|
|
3
3
|
data: any;
|
|
4
|
-
groupId
|
|
5
|
-
alignment
|
|
4
|
+
groupId?: string;
|
|
5
|
+
alignment?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const TableData: FunctionalComponent<TableDataProps>;
|
|
8
8
|
export {};
|