@duetds/components 4.30.0 → 4.33.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.
- package/hydrate/index.js +1481 -434
- package/lib/cjs/{dom-e89ebf90.js → dom-c850c8d7.js} +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +4 -2
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +21 -15
- package/lib/cjs/duet-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +56 -25
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +23 -13
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table-button_3.cjs.entry.js +232 -0
- package/lib/cjs/{duet-table.cjs.entry.js → duet-editable-table_3.cjs.entry.js} +206 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +52 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +26 -10
- package/lib/cjs/duet-hero.cjs.entry.js +6 -6
- package/lib/cjs/duet-icon.cjs.entry.js +6 -14
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +8 -7
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +36 -15
- package/lib/cjs/duet-progress.cjs.entry.js +75 -0
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +6 -6
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-tab_2.cjs.entry.js +12 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +21 -10
- package/lib/cjs/duet-tray.cjs.entry.js +21 -10
- package/lib/cjs/duet-upload.cjs.entry.js +403 -180
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{focus-utils-7605778f.js → focus-utils-a7a1fb8b.js} +1 -1
- package/lib/cjs/{index-0c949193.js → index-b724d698.js} +88 -77
- package/lib/cjs/js-utils-33a9dbe3.js +16 -0
- package/lib/cjs/{language-utils-70d6a9a4.js → language-utils-aa282901.js} +28 -9
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{shadow-css-0c8c175b.js → shadow-css-e3edeed1.js} +9 -10
- package/lib/cjs/{string-utils-a6de43d8.js → string-utils-267e3dbb.js} +7 -0
- package/lib/cjs/{token-utils-13e5d13e.js → token-utils-63a9c8dc.js} +1 -1
- package/lib/cjs/{tokens.module-53b3bd92.js → tokens.module-6b2df1c2.js} +2 -0
- package/lib/cjs/{watch-options-3877c082.js → watch-options-d88afac0.js} +29 -6
- package/lib/collection/collection-manifest.json +15 -8
- package/lib/collection/components/duet-alert/duet-alert.js +12 -6
- package/lib/collection/components/duet-badge/duet-badge.css +1 -0
- package/lib/collection/components/duet-button/duet-button.js +17 -15
- package/lib/collection/components/duet-card/duet-card.css +30 -7
- package/lib/collection/components/duet-card/duet-card.js +4 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-choice/duet-choice.css +16 -3
- package/lib/collection/components/duet-choice/duet-choice.js +123 -36
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +1 -0
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +4 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +78 -43
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.css +32 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-button.js +218 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.css +36 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-item.js +203 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table-tabledata.js +13 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +16 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +348 -0
- package/lib/collection/components/duet-footer/duet-footer.js +17 -15
- package/lib/collection/components/duet-grid/duet-grid.js +57 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +4 -4
- package/lib/collection/components/duet-header/duet-header.js +60 -35
- package/lib/collection/components/duet-heading/duet-heading.css +4 -0
- package/lib/collection/components/duet-heading/duet-heading.js +7 -6
- package/lib/collection/components/duet-hero/duet-hero.js +20 -15
- package/lib/collection/components/duet-icon/duet-icon.js +2 -6
- package/lib/collection/components/duet-icon/icon-utils.js +5 -8
- package/lib/collection/components/duet-input/duet-input.css +15 -0
- package/lib/collection/components/duet-input/duet-input.js +4 -4
- package/lib/collection/components/duet-label/duet-label.css +2 -0
- package/lib/collection/components/duet-link/duet-link.js +18 -19
- package/lib/collection/components/duet-logo/duet-logo.js +4 -4
- package/lib/collection/components/duet-modal/duet-modal.js +22 -17
- package/lib/collection/components/duet-notification/duet-notification.js +8 -8
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +20 -15
- package/lib/collection/components/duet-number-input/duet-number-input.js +153 -29
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +34 -3
- package/lib/collection/components/duet-progress/duet-progress.css +103 -0
- package/lib/collection/components/duet-progress/duet-progress.js +240 -0
- package/lib/collection/components/duet-radio/duet-radio.js +6 -6
- package/lib/collection/components/duet-select/duet-select.css +15 -0
- package/lib/collection/components/duet-select/duet-select.js +3 -3
- package/lib/collection/components/duet-step/duet-step.js +8 -8
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +43 -12
- package/lib/collection/components/duet-textarea/duet-textarea.css +19 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +82 -20
- package/lib/collection/components/duet-tray/duet-tray.js +79 -17
- package/lib/collection/components/duet-upload/duet-upload-aria-status.js +217 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-error.js +16 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-inprogres.js +8 -0
- package/lib/collection/components/duet-upload/duet-upload-editable-item-success.js +30 -0
- package/lib/collection/components/duet-upload/duet-upload.css +17 -86
- package/lib/collection/components/duet-upload/duet-upload.js +551 -153
- package/lib/collection/components/duet-upload/errorcodes.utils.js +16 -4
- package/lib/collection/components/duet-upload/xhr.helpers.js +2 -6
- package/lib/collection/utils/fixture-utils.js +7 -5
- package/lib/collection/utils/js-utils.js +12 -0
- package/lib/collection/utils/language-utils.js +26 -9
- package/lib/collection/utils/string-utils.js +6 -0
- package/lib/collection/utils/watch-options.js +35 -6
- package/lib/custom-elements-bundle/index.d.ts +30 -0
- package/lib/custom-elements-bundle/index.js +1603 -721
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-4a7911fd.entry.js → p-00735436.entry.js} +1 -1
- package/lib/duet/p-060d79be.entry.js +4 -0
- package/lib/duet/p-0d22396e.system.js +16 -0
- package/lib/duet/p-10deead0.system.js +4 -0
- package/lib/duet/p-1208c84f.entry.js +4 -0
- package/lib/duet/p-12721178.js +4 -0
- package/lib/duet/p-155ef581.system.entry.js +4 -0
- package/lib/duet/p-16c48c5d.entry.js +4 -0
- package/lib/duet/p-1797df7b.system.entry.js +4 -0
- package/lib/duet/p-1a08fc22.system.entry.js +4 -0
- package/lib/duet/{p-d1817efe.system.entry.js → p-237e47b4.system.entry.js} +1 -1
- package/lib/duet/p-2443bdca.system.entry.js +4 -0
- package/lib/duet/p-263bc9cd.system.entry.js +4 -0
- package/lib/duet/p-2764f081.js +4 -0
- package/lib/duet/p-27d80cef.system.entry.js +4 -0
- package/lib/duet/p-28e02c08.entry.js +4 -0
- package/lib/duet/{p-f81d8534.entry.js → p-2bb1460c.entry.js} +1 -1
- package/lib/duet/p-33c58756.entry.js +4 -0
- package/lib/duet/{p-bd9a7d8f.js → p-35a3794e.js} +0 -0
- package/lib/duet/{p-bbc229d8.system.entry.js → p-374fb7e6.system.entry.js} +1 -1
- package/lib/duet/p-387823af.system.entry.js +4 -0
- package/lib/duet/p-3af5d66f.entry.js +4 -0
- package/lib/duet/{p-322d1c38.js → p-3c1971d8.js} +1 -1
- package/lib/duet/{p-7e108b7e.entry.js → p-4607af59.entry.js} +1 -1
- package/lib/duet/p-48d1eb1f.system.entry.js +4 -0
- package/lib/duet/p-4a87e9ab.system.entry.js +4 -0
- package/lib/duet/{p-031c2cd8.system.entry.js → p-4b6ebe40.system.entry.js} +1 -1
- package/lib/duet/p-4e28da18.system.entry.js +4 -0
- package/lib/duet/p-548d484e.js +4 -0
- package/lib/duet/p-5826523b.entry.js +4 -0
- package/lib/duet/{p-ce1374a4.system.entry.js → p-58750bae.system.entry.js} +1 -1
- package/lib/duet/p-597d99c7.entry.js +4 -0
- package/lib/duet/p-5ea0cd19.entry.js +4 -0
- package/lib/duet/p-63d5bf73.system.entry.js +4 -0
- package/lib/duet/p-67d9a9a9.system.entry.js +4 -0
- package/lib/duet/p-6a19b5ec.entry.js +4 -0
- package/lib/duet/p-6cc3be76.system.entry.js +4 -0
- package/lib/duet/p-6e363557.system.js +4 -0
- package/lib/duet/p-6e6e76db.system.entry.js +4 -0
- package/lib/duet/p-70fafc98.system.js +4 -0
- package/lib/duet/p-7368b14e.system.entry.js +4 -0
- package/lib/duet/p-751542a0.system.entry.js +4 -0
- package/lib/duet/p-794659ac.entry.js +4 -0
- package/lib/duet/p-7e8d5bb9.system.entry.js +4 -0
- package/lib/duet/p-7fee0d23.system.entry.js +4 -0
- package/lib/duet/p-81867417.system.js +4 -0
- package/lib/duet/p-86daec1c.entry.js +4 -0
- package/lib/duet/{p-4265de16.system.entry.js → p-8b5ca0e7.system.entry.js} +1 -1
- package/lib/duet/{p-66dde4d2.entry.js → p-8cb7416d.entry.js} +1 -1
- package/lib/duet/p-8f826843.system.entry.js +4 -0
- package/lib/duet/p-94169303.entry.js +4 -0
- package/lib/duet/{p-36007600.entry.js → p-9481e312.entry.js} +1 -1
- package/lib/duet/{p-f82709ba.entry.js → p-984576c9.entry.js} +1 -1
- package/lib/duet/p-986779fb.js +4 -0
- package/lib/duet/p-987edcd0.js +15 -0
- package/lib/duet/{p-35e45c19.system.js → p-9a945278.system.js} +1 -1
- package/lib/duet/p-9d73343a.entry.js +4 -0
- package/lib/duet/{p-e26116e0.system.entry.js → p-9dca5c22.system.entry.js} +1 -1
- package/lib/duet/p-a207b008.entry.js +4 -0
- package/lib/duet/p-a5b9c192.system.entry.js +4 -0
- package/lib/duet/p-a6a84ec6.entry.js +4 -0
- package/lib/duet/{p-2d2c45f9.entry.js → p-a890da72.entry.js} +1 -1
- package/lib/duet/p-a9859a82.entry.js +4 -0
- package/lib/duet/p-aba68b7b.entry.js +4 -0
- package/lib/duet/p-acc57c77.entry.js +4 -0
- package/lib/duet/{p-2826f987.js → p-ad07f399.js} +1 -1
- package/lib/duet/p-aee24388.system.entry.js +4 -0
- package/lib/duet/p-aef1b720.system.entry.js +4 -0
- package/lib/duet/{p-62806bb6.system.entry.js → p-af41d894.system.entry.js} +1 -1
- package/lib/duet/p-b25d3769.js +4 -0
- package/lib/duet/{p-dee41056.system.entry.js → p-b32224fe.system.entry.js} +1 -1
- package/lib/duet/p-b3744481.entry.js +4 -0
- package/lib/duet/{p-de2be65b.system.js → p-b42d81c3.system.js} +1 -1
- package/lib/duet/{p-27d538f7.system.entry.js → p-b4e87f02.system.entry.js} +1 -1
- package/lib/duet/{p-f71f12ed.entry.js → p-bf93a991.entry.js} +1 -1
- package/lib/duet/{p-fd98468a.system.js → p-c18a599e.system.js} +0 -0
- package/lib/duet/p-c2e77278.entry.js +4 -0
- package/lib/duet/p-c34329f3.entry.js +4 -0
- package/lib/duet/{p-59a07cf9.entry.js → p-c36b4da0.entry.js} +1 -1
- package/lib/duet/{p-a321a98c.entry.js → p-cdd70b93.entry.js} +1 -1
- package/lib/duet/p-d1c19f04.system.entry.js +4 -0
- package/lib/duet/{p-f71e337e.system.entry.js → p-d3a3c3c7.system.entry.js} +1 -1
- package/lib/duet/{p-345ea4f2.system.entry.js → p-d4118b6e.system.entry.js} +1 -1
- package/lib/duet/{p-3dc9d15d.system.entry.js → p-d744d188.system.entry.js} +1 -1
- package/lib/duet/p-ddb6344c.system.js +4 -0
- package/lib/duet/p-de07c7d7.entry.js +4 -0
- package/lib/duet/p-dfe79666.system.entry.js +4 -0
- package/lib/duet/p-e12f2b8b.system.js +4 -0
- package/lib/duet/p-e2a44156.js +4 -0
- package/lib/duet/p-e76b722f.entry.js +4 -0
- package/lib/duet/p-e964d062.entry.js +4 -0
- package/lib/duet/p-eb55ccd2.system.js +4 -0
- package/lib/duet/p-f0a4b68d.system.entry.js +4 -0
- package/lib/duet/p-f364eb96.entry.js +4 -0
- package/lib/duet/{p-a88df408.entry.js → p-f8ce39fb.entry.js} +1 -1
- package/lib/esm/{dom-21034390.js → dom-58cd15f6.js} +1 -1
- package/lib/esm/duet-alert.entry.js +4 -2
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +6 -5
- package/lib/esm/duet-caption_4.entry.js +21 -15
- package/lib/esm/duet-card.entry.js +6 -6
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +57 -26
- package/lib/esm/duet-collapsible.entry.js +5 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +23 -13
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table-button_3.entry.js +226 -0
- package/lib/esm/{duet-table.entry.js → duet-editable-table_3.entry.js} +205 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +52 -4
- package/lib/esm/duet-header_2.entry.js +26 -10
- package/lib/esm/duet-hero.entry.js +6 -6
- package/lib/esm/duet-icon.entry.js +6 -14
- package/lib/esm/duet-input_2.entry.js +7 -7
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +8 -7
- package/lib/esm/duet-notification_2.entry.js +6 -5
- package/lib/esm/duet-number-input.entry.js +36 -15
- package/lib/esm/duet-progress.entry.js +71 -0
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +6 -6
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-tab_2.entry.js +12 -6
- package/lib/esm/duet-textarea.entry.js +5 -5
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +21 -10
- package/lib/esm/duet-tray.entry.js +21 -10
- package/lib/esm/duet-upload.entry.js +403 -180
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{focus-utils-0b12f0df.js → focus-utils-1fe0dcd0.js} +1 -1
- package/lib/esm/{index-f70ddc7f.js → index-84d97bd1.js} +88 -78
- package/lib/esm/js-utils-b69f17df.js +14 -0
- package/lib/esm/{language-utils-ab9c3afc.js → language-utils-344d894c.js} +28 -10
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{shadow-css-31e2d504.js → shadow-css-7c726abb.js} +9 -10
- package/lib/esm/{string-utils-69cf0d09.js → string-utils-2f1793b8.js} +7 -1
- package/lib/esm/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm/{tokens.module-edb66c04.js → tokens.module-49cbf963.js} +3 -1
- package/lib/esm/watch-options-dd55bce8.js +57 -0
- package/lib/esm-es5/{dom-21034390.js → dom-58cd15f6.js} +0 -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-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table-button_3.entry.js +4 -0
- 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-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-progress.entry.js +4 -0
- 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-select.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-tab_2.entry.js +2 -2
- 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.entry.js +2 -2
- 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-0b12f0df.js → focus-utils-1fe0dcd0.js} +1 -1
- package/lib/esm-es5/index-84d97bd1.js +4 -0
- package/lib/esm-es5/js-utils-b69f17df.js +4 -0
- package/lib/esm-es5/language-utils-344d894c.js +4 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/shadow-css-7c726abb.js +15 -0
- package/lib/esm-es5/{string-utils-69cf0d09.js → string-utils-2f1793b8.js} +1 -1
- package/lib/esm-es5/{token-utils-5a35377f.js → token-utils-590d9413.js} +1 -1
- package/lib/esm-es5/tokens.module-49cbf963.js +4 -0
- package/lib/esm-es5/watch-options-dd55bce8.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +2 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +24 -5
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +15 -9
- package/lib/types/components/duet-editable-table/duet-editable-table-button.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-item.d.ts +72 -0
- package/lib/types/components/duet-editable-table/duet-editable-table-tabledata.d.ts +7 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +84 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +1 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +16 -2
- package/lib/types/components/duet-header/duet-header.d.ts +21 -5
- package/lib/types/components/duet-heading/duet-heading.d.ts +2 -2
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -3
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +2 -3
- package/lib/types/components/duet-modal/duet-modal.d.ts +3 -3
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +3 -3
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +21 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +9 -1
- package/lib/types/components/duet-progress/duet-progress.d.ts +64 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +6 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +11 -0
- package/lib/types/components/duet-tray/duet-tray.d.ts +11 -0
- package/lib/types/components/duet-upload/duet-upload-aria-status.d.ts +49 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-error.d.ts +7 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-inprogres.d.ts +7 -0
- package/lib/types/components/duet-upload/duet-upload-editable-item-success.d.ts +8 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +94 -25
- package/lib/types/components/duet-upload/errorcodes.utils.d.ts +1 -0
- package/lib/types/components/duet-upload/xhr.helpers.d.ts +7 -1
- package/lib/types/components.d.ts +611 -79
- package/lib/types/utils/js-utils.d.ts +1 -0
- package/lib/types/utils/language-utils.d.ts +8 -3
- package/lib/types/utils/string-utils.d.ts +1 -0
- package/lib/types/utils/watch-options.d.ts +2 -0
- package/package.json +19 -15
- package/hydrate/package.json +0 -6
- package/lib/cjs/duet-fieldset.cjs.entry.js +0 -62
- package/lib/collection/components/duet-upload/duet-upload-file-list.js +0 -49
- package/lib/duet/p-0733c303.system.entry.js +0 -4
- package/lib/duet/p-095060cc.js +0 -4
- package/lib/duet/p-156864a1.system.entry.js +0 -4
- package/lib/duet/p-15c15c6a.js +0 -15
- package/lib/duet/p-1911dfe7.system.entry.js +0 -4
- package/lib/duet/p-1c41525a.entry.js +0 -4
- package/lib/duet/p-1cfe38b1.system.entry.js +0 -4
- package/lib/duet/p-2834a302.entry.js +0 -4
- package/lib/duet/p-28a3d38f.system.entry.js +0 -4
- package/lib/duet/p-2a1a9f9f.entry.js +0 -4
- package/lib/duet/p-2a4d7c5b.system.entry.js +0 -4
- package/lib/duet/p-3eb36e3d.entry.js +0 -4
- package/lib/duet/p-4095dba5.entry.js +0 -4
- package/lib/duet/p-418b2ce7.system.js +0 -4
- package/lib/duet/p-4289b543.entry.js +0 -4
- package/lib/duet/p-43e39d98.system.js +0 -4
- package/lib/duet/p-46a3ae43.system.js +0 -4
- package/lib/duet/p-4a38cf9d.entry.js +0 -4
- package/lib/duet/p-4be8e814.entry.js +0 -4
- package/lib/duet/p-4dcea8fb.system.entry.js +0 -4
- package/lib/duet/p-591b2137.entry.js +0 -4
- package/lib/duet/p-5c5bdb06.system.entry.js +0 -4
- package/lib/duet/p-5f70e318.entry.js +0 -4
- package/lib/duet/p-62c294d6.system.entry.js +0 -4
- package/lib/duet/p-6a356ab1.system.js +0 -4
- package/lib/duet/p-6c2729da.js +0 -4
- package/lib/duet/p-6f107847.system.entry.js +0 -4
- package/lib/duet/p-77a5fe4c.system.js +0 -4
- package/lib/duet/p-7809e78b.system.entry.js +0 -4
- package/lib/duet/p-7a36d76f.system.entry.js +0 -4
- package/lib/duet/p-7ee52f58.entry.js +0 -4
- package/lib/duet/p-884693f1.entry.js +0 -4
- package/lib/duet/p-89db3b94.entry.js +0 -4
- package/lib/duet/p-8cfce39e.system.entry.js +0 -4
- package/lib/duet/p-8ffe1461.system.entry.js +0 -4
- package/lib/duet/p-9381c2d4.entry.js +0 -4
- package/lib/duet/p-9a450c9a.entry.js +0 -4
- package/lib/duet/p-9a89ec39.js +0 -4
- package/lib/duet/p-9bbfe606.system.entry.js +0 -4
- package/lib/duet/p-a6096b05.system.entry.js +0 -4
- package/lib/duet/p-a89d5d7c.entry.js +0 -4
- package/lib/duet/p-b07055fd.system.entry.js +0 -4
- package/lib/duet/p-b4374f0e.entry.js +0 -4
- package/lib/duet/p-b456d684.system.entry.js +0 -4
- package/lib/duet/p-bd18c93f.js +0 -4
- package/lib/duet/p-bddb1c15.system.entry.js +0 -4
- package/lib/duet/p-c0b95b58.entry.js +0 -4
- package/lib/duet/p-c3688975.entry.js +0 -4
- package/lib/duet/p-c4d183e6.entry.js +0 -4
- package/lib/duet/p-c9303f9a.entry.js +0 -4
- package/lib/duet/p-cd4e8ccf.js +0 -4
- package/lib/duet/p-ceb75b35.system.entry.js +0 -4
- package/lib/duet/p-cf243bcb.system.entry.js +0 -4
- package/lib/duet/p-d37c8a05.system.js +0 -4
- package/lib/duet/p-d989af11.entry.js +0 -4
- package/lib/duet/p-e58ca7af.system.js +0 -16
- package/lib/duet/p-e6128d82.system.entry.js +0 -4
- package/lib/duet/p-e86cdc17.entry.js +0 -4
- package/lib/duet/p-eadb29c7.entry.js +0 -4
- package/lib/duet/p-f30b14d6.system.entry.js +0 -4
- package/lib/duet/p-f79f8da1.entry.js +0 -4
- package/lib/duet/p-fc397e03.system.entry.js +0 -4
- package/lib/esm/duet-fieldset.entry.js +0 -58
- package/lib/esm/watch-options-de55ea78.js +0 -35
- package/lib/esm-es5/duet-fieldset.entry.js +0 -4
- package/lib/esm-es5/duet-table.entry.js +0 -4
- package/lib/esm-es5/index-f70ddc7f.js +0 -4
- package/lib/esm-es5/language-utils-ab9c3afc.js +0 -4
- package/lib/esm-es5/shadow-css-31e2d504.js +0 -15
- package/lib/esm-es5/tokens.module-edb66c04.js +0 -4
- package/lib/esm-es5/watch-options-de55ea78.js +0 -4
- package/lib/html.html-data.json +0 -4556
- package/lib/types/components/duet-upload/duet-upload-file-list.d.ts +0 -9
|
@@ -17,6 +17,10 @@ import { DuetCollapsibleHeadingFontSize, DuetCollapsibleToggleEvent, DuetCollaps
|
|
|
17
17
|
import { DuetCookieConsentEvent } from "./components/duet-cookie-consent/duet-cookie-consent";
|
|
18
18
|
import { DuetDatePickerChangeEvent, DuetDatePickerDirection, DuetDatePickerFocusEvent } from "./components/duet-date-picker/duet-date-picker";
|
|
19
19
|
import { DuetDividerMargin } from "./components/duet-divider/duet-divider";
|
|
20
|
+
import { DuetEditableTableGroupNames, DuetEditableTableItems } from "./components/duet-editable-table/duet-editable-table";
|
|
21
|
+
import { DuetEditableTableActions } from "./components/duet-editable-table/duet-editable-table-item";
|
|
22
|
+
import { DuetEditableTableActionButtonItems, DuetEditableTableItemEvent } from "./components/duet-editable-table/duet-editable-table-button";
|
|
23
|
+
import { DuetEditableTableActions as DuetEditableTableActions1, DuetEditableTableItemData, DuetEditableTableItemEvent as DuetEditableTableItemEvent1 } from "./components/duet-editable-table/duet-editable-table-item";
|
|
20
24
|
import { DuetEmptyStateSize } from "./components/duet-empty-state/duet-empty-state";
|
|
21
25
|
import { DuetFooterAnalyticsEvent, DuetFooterChangeEvent, DuetFooterVariation } from "./components/duet-footer/duet-footer";
|
|
22
26
|
import { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from "./components/duet-grid/duet-grid";
|
|
@@ -32,7 +36,7 @@ import { DuetLogoSize } from "./components/duet-logo/duet-logo";
|
|
|
32
36
|
import { DuetModalCloseEvent, DuetModalSize } from "./components/duet-modal/duet-modal";
|
|
33
37
|
import { DuetNotificationDrawerDirection } from "./components/duet-notification-drawer/duet-notification-drawer";
|
|
34
38
|
import { DuetNumberInputEvent } from "./components/duet-number-input/duet-number-input";
|
|
35
|
-
import { DuetParagraphSize, DuetParagraphVariation } from "./components/duet-paragraph/duet-paragraph";
|
|
39
|
+
import { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
|
|
36
40
|
import { DuetRadioEvent } from "./components/duet-radio/duet-radio";
|
|
37
41
|
import { DuetRangeChangeEvent } from "./components/duet-range-slider/duet-range-slider";
|
|
38
42
|
import { DuetSelectEvent, DuetSelectItems } from "./components/duet-select/duet-select";
|
|
@@ -45,7 +49,10 @@ import { DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant } from "
|
|
|
45
49
|
import { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
46
50
|
import { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
47
51
|
import { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
52
|
+
import { StatusMessage } from "./components/duet-upload/duet-upload-aria-status";
|
|
53
|
+
import { DuetEditableTableGroupNames as DuetEditableTableGroupNames1 } from "./components/duet-editable-table/duet-editable-table";
|
|
48
54
|
import { DuetUploadEvent, StringMap } from "./components/duet-upload/duet-upload";
|
|
55
|
+
import { StatusMessage as StatusMessage1 } from "./components/duet-upload/duet-upload-aria-status";
|
|
49
56
|
export namespace Components {
|
|
50
57
|
interface DuetAlert {
|
|
51
58
|
/**
|
|
@@ -55,8 +62,9 @@ export namespace Components {
|
|
|
55
62
|
"accessibleLabel": string;
|
|
56
63
|
/**
|
|
57
64
|
* Property to change languageDefaults on the component. normally you would handle these strings on an application level and override @accessibleLabel when needed
|
|
65
|
+
* @default {fi: "Sulje viesti", sv: "Stäng meddelandet", en: "Close the message"}
|
|
58
66
|
*/
|
|
59
|
-
"accessibleLabelDefaults": DuetLangObject;
|
|
67
|
+
"accessibleLabelDefaults": DuetLangObject | string;
|
|
60
68
|
/**
|
|
61
69
|
* Enable or disabled announcements by assistive technologies.
|
|
62
70
|
*/
|
|
@@ -134,7 +142,7 @@ export namespace Components {
|
|
|
134
142
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
135
143
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
136
144
|
*/
|
|
137
|
-
"accessibleLabelExternalDefaults": DuetLangObject;
|
|
145
|
+
"accessibleLabelExternalDefaults": DuetLangObject | string;
|
|
138
146
|
/**
|
|
139
147
|
* Indicates the id of a component owned by the button.
|
|
140
148
|
*/
|
|
@@ -402,7 +410,7 @@ export namespace Components {
|
|
|
402
410
|
*/
|
|
403
411
|
"accessibleControls": string;
|
|
404
412
|
/**
|
|
405
|
-
* Indicates the id of a component that describes the choice.
|
|
413
|
+
* Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
|
|
406
414
|
*/
|
|
407
415
|
"accessibleDescribedBy": string;
|
|
408
416
|
/**
|
|
@@ -413,7 +421,7 @@ export namespace Components {
|
|
|
413
421
|
/**
|
|
414
422
|
* Property to change accessibleLabelInfoButton defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed
|
|
415
423
|
*/
|
|
416
|
-
"accessibleLabelInfoButtonDefaults": DuetLangObject;
|
|
424
|
+
"accessibleLabelInfoButtonDefaults": DuetLangObject | string;
|
|
417
425
|
/**
|
|
418
426
|
* Indicates the id of a component owned by the choice.
|
|
419
427
|
*/
|
|
@@ -449,6 +457,16 @@ export namespace Components {
|
|
|
449
457
|
* Adds a unique identifier for the choice button.
|
|
450
458
|
*/
|
|
451
459
|
"identifier": string;
|
|
460
|
+
/**
|
|
461
|
+
* Hint text to display before the user types into the date picker input.
|
|
462
|
+
* @default { fi: "Lisätietoja", en: "More information about", sv: "Mera information om", }
|
|
463
|
+
*/
|
|
464
|
+
"infoLabel": string;
|
|
465
|
+
/**
|
|
466
|
+
* Placeholder defaults
|
|
467
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
468
|
+
*/
|
|
469
|
+
"infoLabelDefaults": DuetLangObject | string;
|
|
452
470
|
/**
|
|
453
471
|
* Label for the choice button.
|
|
454
472
|
*/
|
|
@@ -602,7 +620,7 @@ export namespace Components {
|
|
|
602
620
|
*/
|
|
603
621
|
"accessibleOwns": string;
|
|
604
622
|
/**
|
|
605
|
-
* Caption (underneath label) that can be set as a way of adding extra information
|
|
623
|
+
* Caption (underneath label) that can be set as a way of adding extra information.
|
|
606
624
|
*/
|
|
607
625
|
"caption": string;
|
|
608
626
|
/**
|
|
@@ -642,8 +660,8 @@ export namespace Components {
|
|
|
642
660
|
*/
|
|
643
661
|
"labelHidden": boolean;
|
|
644
662
|
/**
|
|
645
|
-
* The currently active language. This setting changes the month/year/day names and button labels as well as all screen reader labels.
|
|
646
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
663
|
+
* The currently active language. This setting changes the month/year/day. names and button labels as well as all screen reader labels.
|
|
664
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing.
|
|
647
665
|
* @default "fi"
|
|
648
666
|
*/
|
|
649
667
|
"language": DuetLanguage;
|
|
@@ -652,7 +670,7 @@ export namespace Components {
|
|
|
652
670
|
*/
|
|
653
671
|
"margin": DuetMargin;
|
|
654
672
|
/**
|
|
655
|
-
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD This setting can be used alone or together with the min property.
|
|
673
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD. This setting can be used alone or together with the min property.
|
|
656
674
|
*/
|
|
657
675
|
"max": string;
|
|
658
676
|
/**
|
|
@@ -668,6 +686,11 @@ export namespace Components {
|
|
|
668
686
|
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
669
687
|
*/
|
|
670
688
|
"placeholder": string;
|
|
689
|
+
/**
|
|
690
|
+
* Placeholder defaults.
|
|
691
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
692
|
+
*/
|
|
693
|
+
"placeholderDefaults": DuetLangObject | string;
|
|
671
694
|
/**
|
|
672
695
|
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
673
696
|
*/
|
|
@@ -715,6 +738,92 @@ export namespace Components {
|
|
|
715
738
|
*/
|
|
716
739
|
"theme": DuetTheme;
|
|
717
740
|
}
|
|
741
|
+
interface DuetEditableTable {
|
|
742
|
+
/**
|
|
743
|
+
* Exposes the aria role for optimizing accessibility.
|
|
744
|
+
*/
|
|
745
|
+
"accessibleRole": string;
|
|
746
|
+
/**
|
|
747
|
+
* Array of internationalized defaults for the default action labels.
|
|
748
|
+
*/
|
|
749
|
+
"actionLabelDefaults": DuetLangObject;
|
|
750
|
+
/**
|
|
751
|
+
* Array of actions that are mapped via the map variable to the various groups defined in group.
|
|
752
|
+
* @default undefined
|
|
753
|
+
* @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
|
|
754
|
+
*/
|
|
755
|
+
"actions": DuetEditableTableActions | string;
|
|
756
|
+
/**
|
|
757
|
+
* Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
|
|
758
|
+
* @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
|
|
759
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}].
|
|
760
|
+
*/
|
|
761
|
+
"groups": DuetEditableTableGroupNames | string;
|
|
762
|
+
/**
|
|
763
|
+
* Array of internationalized defaults for the default groups labels.
|
|
764
|
+
*/
|
|
765
|
+
"groupsLabelDefaults": DuetLangObject;
|
|
766
|
+
/**
|
|
767
|
+
* Shows or hides the table labels.
|
|
768
|
+
*/
|
|
769
|
+
"hideGroups": boolean;
|
|
770
|
+
/**
|
|
771
|
+
* Map of items that contain list of things.
|
|
772
|
+
*/
|
|
773
|
+
"items": DuetEditableTableItems;
|
|
774
|
+
/**
|
|
775
|
+
* Theme of the table.
|
|
776
|
+
*/
|
|
777
|
+
"theme": DuetTheme;
|
|
778
|
+
/**
|
|
779
|
+
* Method to force an update of a tabular data array. when called the method will rerender the entire tabular structure.
|
|
780
|
+
*/
|
|
781
|
+
"updateTable": (passedItems?: DuetEditableTableItems) => Promise<void>;
|
|
782
|
+
}
|
|
783
|
+
interface DuetEditableTableButton {
|
|
784
|
+
/**
|
|
785
|
+
* action items passed from host component
|
|
786
|
+
*/
|
|
787
|
+
"actions": DuetEditableTableActionButtonItems;
|
|
788
|
+
/**
|
|
789
|
+
* group associated with action
|
|
790
|
+
*/
|
|
791
|
+
"group": string;
|
|
792
|
+
/**
|
|
793
|
+
* key of the item in the map
|
|
794
|
+
*/
|
|
795
|
+
"keyName": string;
|
|
796
|
+
/**
|
|
797
|
+
* Theme of the empty state component.
|
|
798
|
+
*/
|
|
799
|
+
"theme": DuetTheme;
|
|
800
|
+
/**
|
|
801
|
+
* uid that gets passed along when the action is emitted
|
|
802
|
+
*/
|
|
803
|
+
"uid": string;
|
|
804
|
+
}
|
|
805
|
+
interface DuetEditableTableItem {
|
|
806
|
+
/**
|
|
807
|
+
* Actions that can be performed on the element
|
|
808
|
+
*/
|
|
809
|
+
"actions": DuetEditableTableActions;
|
|
810
|
+
/**
|
|
811
|
+
* Object of data itemsused to render the entire row
|
|
812
|
+
*/
|
|
813
|
+
"data": DuetEditableTableItemData;
|
|
814
|
+
/**
|
|
815
|
+
* GroupId used to pierce the shadowdom - gets concatenated with "content & actions" and used as part="groupIDcontent/actions" to pierce the content/Action item
|
|
816
|
+
*/
|
|
817
|
+
"groupId": string;
|
|
818
|
+
/**
|
|
819
|
+
* Key used to identify item, when running actions
|
|
820
|
+
*/
|
|
821
|
+
"keyName": string;
|
|
822
|
+
/**
|
|
823
|
+
* Theme of the empty state component.
|
|
824
|
+
*/
|
|
825
|
+
"theme": DuetTheme;
|
|
826
|
+
}
|
|
718
827
|
interface DuetEmptyState {
|
|
719
828
|
/**
|
|
720
829
|
* Icon shown in the empty state component.
|
|
@@ -765,7 +874,7 @@ export namespace Components {
|
|
|
765
874
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
766
875
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
767
876
|
*/
|
|
768
|
-
"accessibleLabelExternalDefaults": DuetLangObject;
|
|
877
|
+
"accessibleLabelExternalDefaults": DuetLangObject | string;
|
|
769
878
|
/**
|
|
770
879
|
* An array of items for the main footer links. Items have to include mandatory "label", "href" and "icon" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.
|
|
771
880
|
*/
|
|
@@ -799,7 +908,7 @@ export namespace Components {
|
|
|
799
908
|
}
|
|
800
909
|
interface DuetGrid {
|
|
801
910
|
/**
|
|
802
|
-
* Adjusts the vertical alignment of the grid items.
|
|
911
|
+
* Adjusts the vertical alignment of the grid items, if set to "form_distribute" the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items, so that they align even when displaying errors.
|
|
803
912
|
*/
|
|
804
913
|
"alignment": DuetGridAlignment;
|
|
805
914
|
/**
|
|
@@ -854,9 +963,11 @@ export namespace Components {
|
|
|
854
963
|
*/
|
|
855
964
|
"accessibleI18nLabels": I18nText;
|
|
856
965
|
/**
|
|
857
|
-
*
|
|
966
|
+
* Default strings for accessibleI18nLabels
|
|
967
|
+
* @default { fi: { skipLabel: "Siirry pääsisältöön", changeLanguage: "Vaihda kieltä", activeLanguage: "Suomi valittuna", }, sv: { skipLabel: "Hoppa till huvudinnehåll", changeLanguage: "Ändra Språk", activeLanguage: "Svenska valt", }, en: { skipLabel: "Skip to main content", changeLanguage: "Change language", activeLanguage: "English selected", }, }
|
|
858
968
|
*/
|
|
859
|
-
"
|
|
969
|
+
"accessibleI18nLabelsDefaults": | string
|
|
970
|
+
| Record<DuetLanguage, I18nText>;
|
|
860
971
|
/**
|
|
861
972
|
* Accessible label that is shown for screen reader users in the mobile navigation toggle. Not visible for normal users.
|
|
862
973
|
* @default { fi: "Valikko", sv: "Meny", en: "Menu", }
|
|
@@ -865,7 +976,7 @@ export namespace Components {
|
|
|
865
976
|
/**
|
|
866
977
|
* Property to change accessibleLabel defaults on the component. normally you would handle these strings on an application level and override @accessibleLabel when needed
|
|
867
978
|
*/
|
|
868
|
-
"
|
|
979
|
+
"accessibleLabelDefaults": DuetLangObject | string;
|
|
869
980
|
/**
|
|
870
981
|
* Adds accessible label for tooltip that is shown in external link (url & external have both been set)
|
|
871
982
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
@@ -875,7 +986,7 @@ export namespace Components {
|
|
|
875
986
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
876
987
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
877
988
|
*/
|
|
878
|
-
"accessibleLabelExternalDefaults": DuetLangObject;
|
|
989
|
+
"accessibleLabelExternalDefaults": DuetLangObject | string;
|
|
879
990
|
/**
|
|
880
991
|
* An object that includes mandatory "label" and "href" fields for the back link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, back link won’t be shown. **NOTE: The back link should be ONLY used in combination with language and logoHref props.**
|
|
881
992
|
*/
|
|
@@ -941,9 +1052,9 @@ export namespace Components {
|
|
|
941
1052
|
}
|
|
942
1053
|
interface DuetHeading {
|
|
943
1054
|
/**
|
|
944
|
-
* Enable or disable the border underneath the heading
|
|
1055
|
+
* Enable or disable the border underneath the heading, solid will darken the border
|
|
945
1056
|
*/
|
|
946
|
-
"border": boolean;
|
|
1057
|
+
"border": boolean | "solid";
|
|
947
1058
|
/**
|
|
948
1059
|
* Custom color for the heading as a design token entered in camelCase or kebab-case. Example: "color-primary".
|
|
949
1060
|
*/
|
|
@@ -980,9 +1091,10 @@ export namespace Components {
|
|
|
980
1091
|
*/
|
|
981
1092
|
"accessibleLabelExternal": string;
|
|
982
1093
|
/**
|
|
983
|
-
*
|
|
1094
|
+
* Defaults for accessibleLabelExternal
|
|
1095
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
984
1096
|
*/
|
|
985
|
-
"accessibleLabelExternalDefaults": DuetLangObject;
|
|
1097
|
+
"accessibleLabelExternalDefaults": DuetLangObject | string;
|
|
986
1098
|
/**
|
|
987
1099
|
* An array of items for the main actions. Items have to include mandatory "label", "href" and "icon" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.
|
|
988
1100
|
*/
|
|
@@ -1305,10 +1417,10 @@ export namespace Components {
|
|
|
1305
1417
|
*/
|
|
1306
1418
|
"accessibleLabelExternal": string;
|
|
1307
1419
|
/**
|
|
1308
|
-
*
|
|
1420
|
+
* Defaults for accessibleLabelExternal
|
|
1309
1421
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
1310
1422
|
*/
|
|
1311
|
-
"accessibleLabelExternalDefaults": DuetLangObject;
|
|
1423
|
+
"accessibleLabelExternalDefaults": DuetLangObject | string;
|
|
1312
1424
|
/**
|
|
1313
1425
|
* Forces URL to open in a new browser tab. Used together with URL prop.
|
|
1314
1426
|
*/
|
|
@@ -1407,9 +1519,10 @@ export namespace Components {
|
|
|
1407
1519
|
*/
|
|
1408
1520
|
"accessibleCloseLabel": string;
|
|
1409
1521
|
/**
|
|
1410
|
-
*
|
|
1522
|
+
* Defaults for accessibleCloseLabel
|
|
1523
|
+
* @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
|
|
1411
1524
|
*/
|
|
1412
|
-
"
|
|
1525
|
+
"accessibleCloseLabelDefaults": DuetLangObject | string;
|
|
1413
1526
|
/**
|
|
1414
1527
|
* Use this property when you need to have the modal dialog initially active.
|
|
1415
1528
|
*/
|
|
@@ -1506,9 +1619,11 @@ export namespace Components {
|
|
|
1506
1619
|
*/
|
|
1507
1620
|
"accessibleLabelNotifications": string;
|
|
1508
1621
|
/**
|
|
1509
|
-
*
|
|
1622
|
+
* Defaults for accessibleLabelNotifications
|
|
1623
|
+
* @default {en: "No notifications", fi: "Ei ilmoituksia", sv: "Inga notifikationer"}
|
|
1510
1624
|
*/
|
|
1511
|
-
"accessibleLabelNotificationsDefaults": DuetLangObject
|
|
1625
|
+
"accessibleLabelNotificationsDefaults": | DuetLangObject
|
|
1626
|
+
| string;
|
|
1512
1627
|
/**
|
|
1513
1628
|
* Show a badge that indicates something has changed.
|
|
1514
1629
|
*/
|
|
@@ -1558,6 +1673,11 @@ export namespace Components {
|
|
|
1558
1673
|
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
1559
1674
|
*/
|
|
1560
1675
|
"accessibleAdd": string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Defaults for accessibleAdd
|
|
1678
|
+
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
1679
|
+
*/
|
|
1680
|
+
"accessibleAddDefaults": DuetLangObject | string;
|
|
1561
1681
|
/**
|
|
1562
1682
|
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
1563
1683
|
*/
|
|
@@ -1571,6 +1691,11 @@ export namespace Components {
|
|
|
1571
1691
|
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
1572
1692
|
*/
|
|
1573
1693
|
"accessibleLive": string;
|
|
1694
|
+
/**
|
|
1695
|
+
* Defaults for accessibleLive
|
|
1696
|
+
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
1697
|
+
*/
|
|
1698
|
+
"accessibleLiveDefaults": DuetLangObject | string;
|
|
1574
1699
|
/**
|
|
1575
1700
|
* Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead.
|
|
1576
1701
|
*/
|
|
@@ -1584,6 +1709,11 @@ export namespace Components {
|
|
|
1584
1709
|
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
1585
1710
|
*/
|
|
1586
1711
|
"accessibleSubtract": string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Defaults for accessibleSubtract
|
|
1714
|
+
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
1715
|
+
*/
|
|
1716
|
+
"accessibleSubtractDefaults": DuetLangObject | string;
|
|
1587
1717
|
/**
|
|
1588
1718
|
* Makes the number input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
|
|
1589
1719
|
*/
|
|
@@ -1605,6 +1735,11 @@ export namespace Components {
|
|
|
1605
1735
|
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
1606
1736
|
*/
|
|
1607
1737
|
"label": string;
|
|
1738
|
+
/**
|
|
1739
|
+
* Defaults for Label
|
|
1740
|
+
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
1741
|
+
*/
|
|
1742
|
+
"labelDefaults": DuetLangObject | string;
|
|
1608
1743
|
/**
|
|
1609
1744
|
* Visually hide the label, but still show it to screen readers.
|
|
1610
1745
|
*/
|
|
@@ -1686,13 +1821,52 @@ export namespace Components {
|
|
|
1686
1821
|
*/
|
|
1687
1822
|
"size": DuetParagraphSize;
|
|
1688
1823
|
/**
|
|
1689
|
-
* Theme of the
|
|
1824
|
+
* Theme of the paragraph.
|
|
1690
1825
|
*/
|
|
1691
1826
|
"theme": DuetTheme;
|
|
1692
1827
|
/**
|
|
1693
1828
|
* Style variation of the paragraph.
|
|
1694
1829
|
*/
|
|
1695
1830
|
"variation": DuetParagraphVariation;
|
|
1831
|
+
/**
|
|
1832
|
+
* Controls the Font-Weight of the paragraph.
|
|
1833
|
+
*/
|
|
1834
|
+
"weight": DuetParagraphWeight;
|
|
1835
|
+
}
|
|
1836
|
+
interface DuetProgress {
|
|
1837
|
+
/**
|
|
1838
|
+
* Indicates the id of a component that describes the upload component.
|
|
1839
|
+
*/
|
|
1840
|
+
"accessibleDescribedBy": string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
|
|
1843
|
+
*/
|
|
1844
|
+
"accessibleLabel": string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Adds accessible label for upload in progress and upload complete states
|
|
1847
|
+
* @default {fi: ["lähetys valmis", "lähetys käynnissä"],sv: ["Uppladdningen är klar", "Uppladdning pågår"], en: ["completed", "in progress"]}
|
|
1848
|
+
*/
|
|
1849
|
+
"accessibleLabelUpload": string;
|
|
1850
|
+
/**
|
|
1851
|
+
* Defaults for accessibleLabel
|
|
1852
|
+
*/
|
|
1853
|
+
"accessibleLabelUploadDefaults": DuetLangObject | string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
1856
|
+
*/
|
|
1857
|
+
"caption": string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Height of progressbar
|
|
1860
|
+
*/
|
|
1861
|
+
"height": string;
|
|
1862
|
+
/**
|
|
1863
|
+
* Progress of the bar, a value from 0-100
|
|
1864
|
+
*/
|
|
1865
|
+
"progress": number;
|
|
1866
|
+
/**
|
|
1867
|
+
* Theme of the input.
|
|
1868
|
+
*/
|
|
1869
|
+
"theme": DuetTheme;
|
|
1696
1870
|
}
|
|
1697
1871
|
interface DuetRadio {
|
|
1698
1872
|
/**
|
|
@@ -2093,6 +2267,11 @@ export namespace Components {
|
|
|
2093
2267
|
* @default {fi: "Valitse", en: "Choose", sv: "Välja"}
|
|
2094
2268
|
*/
|
|
2095
2269
|
"label": string;
|
|
2270
|
+
/**
|
|
2271
|
+
* Defaults for Label
|
|
2272
|
+
* @default {fi: "Valitse", en: "Choose", sv: "Välja"}
|
|
2273
|
+
*/
|
|
2274
|
+
"labelDefaults": DuetLangObject | string;
|
|
2096
2275
|
/**
|
|
2097
2276
|
* Determines whether the label for the select element shown on mobile is visually hidden.
|
|
2098
2277
|
*/
|
|
@@ -2337,12 +2516,22 @@ export namespace Components {
|
|
|
2337
2516
|
* @default {fi: "Sulje lisätiedot", en: "Close details", sv: "Stäng detaljer"}
|
|
2338
2517
|
*/
|
|
2339
2518
|
"accessibleCloseLabel": string;
|
|
2519
|
+
/**
|
|
2520
|
+
* Default language strings for the accessibleCloseLabel
|
|
2521
|
+
* @default {fi: "Sulje lisätiedot", en: "Close details", sv: "Stäng detaljer"}
|
|
2522
|
+
*/
|
|
2523
|
+
"accessibleCloseLabelDefault": DuetLangObject | string;
|
|
2340
2524
|
"accessibleInputLabel": string;
|
|
2341
2525
|
/**
|
|
2342
2526
|
* Adds accessible label for the info icon that is only shown for screen readers. This property is always required to create an accessible interface!
|
|
2343
2527
|
* @default {fi: "Näytä lisätietoja", en: "See more information", sv: "Se mer information"}
|
|
2344
2528
|
*/
|
|
2345
2529
|
"accessibleLabel": string;
|
|
2530
|
+
/**
|
|
2531
|
+
* Default language strings for the accessibleLabel
|
|
2532
|
+
* @default {fi: "Näytä lisätietoja", en: "See more information", sv: "Se mer information"}
|
|
2533
|
+
*/
|
|
2534
|
+
"accessibleLabelDefault": DuetLangObject | string;
|
|
2346
2535
|
/**
|
|
2347
2536
|
* Toggle whether the tooltip is initially visible or not. This property should not be used in production in most cases.
|
|
2348
2537
|
*/
|
|
@@ -2384,11 +2573,21 @@ export namespace Components {
|
|
|
2384
2573
|
* @default {fi: "Sulje", en: "Close", sv: "Stänga"}
|
|
2385
2574
|
*/
|
|
2386
2575
|
"accessibleCloseLabel": string;
|
|
2576
|
+
/**
|
|
2577
|
+
* Defaults for accessibleCloseLabel
|
|
2578
|
+
* @default {fi: "Sulje", en: "Close", sv: "Stänga"}
|
|
2579
|
+
*/
|
|
2580
|
+
"accessibleCloseLabelDefaults": DuetLangObject | string;
|
|
2387
2581
|
/**
|
|
2388
2582
|
* Accessible label that is shown for screen reader users in the expandable open toggle. Not visible for normal users.
|
|
2389
2583
|
* @default {fi: "Avaa", en: "Open", sv: "Öppen"}
|
|
2390
2584
|
*/
|
|
2391
2585
|
"accessibleOpenLabel": string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Defaults for accessibleOpenLabel
|
|
2588
|
+
* @default {fi: "Avaa", en: "Open", sv: "Öppen"}
|
|
2589
|
+
*/
|
|
2590
|
+
"accessibleOpenLabelDefaults": DuetLangObject | string;
|
|
2392
2591
|
/**
|
|
2393
2592
|
* Toggle whether the info panel is visible or not. You can use this property e.g. when pricing information is revealed to the user.
|
|
2394
2593
|
*/
|
|
@@ -2433,6 +2632,10 @@ export namespace Components {
|
|
|
2433
2632
|
* Indicates the id of a component owned by the input.
|
|
2434
2633
|
*/
|
|
2435
2634
|
"accessibleOwns": string;
|
|
2635
|
+
/**
|
|
2636
|
+
* Default actions added to all files
|
|
2637
|
+
*/
|
|
2638
|
+
"actions": DuetEditableTableActions | string;
|
|
2436
2639
|
/**
|
|
2437
2640
|
* A string of commaseperated file type values that are allowed
|
|
2438
2641
|
* @example : .pdf,.doc,.docx
|
|
@@ -2450,25 +2653,23 @@ export namespace Components {
|
|
|
2450
2653
|
"buttonLabel": string;
|
|
2451
2654
|
/**
|
|
2452
2655
|
* Property to change descriptionDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
2656
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment", }
|
|
2453
2657
|
*/
|
|
2454
|
-
"buttonLabelDefaults": DuetLangObject;
|
|
2658
|
+
"buttonLabelDefaults": DuetLangObject | string;
|
|
2455
2659
|
/**
|
|
2456
2660
|
* Caption (underneath label) that can be set as a way of adding extra information
|
|
2457
2661
|
*/
|
|
2458
2662
|
"caption": string;
|
|
2459
|
-
/**
|
|
2460
|
-
* if set, allows capture of media from user camera / microphone The capture attribute value is a string that specifies which camera to use for capture of image or video data, if the accept attribute indicates that the input should be of one of those types. A value of user indicates that the user-facing camera and/or microphone should be used. A value of environment specifies that the outward-facing camera and/or microphone should be used. If this attribute is missing, the user agent is free to decide on its own what to do. If the requested facing mode isn't available, the user agent may fall back to its preferred default mode.
|
|
2461
|
-
*/
|
|
2462
|
-
"capture": string | boolean;
|
|
2463
2663
|
/**
|
|
2464
2664
|
* Description for the upload component.
|
|
2465
|
-
* @default
|
|
2665
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
2466
2666
|
*/
|
|
2467
2667
|
"description": string;
|
|
2468
2668
|
/**
|
|
2469
2669
|
* Property to change descriptionDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
2670
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
2470
2671
|
*/
|
|
2471
|
-
"descriptionDefaults": DuetLangObject;
|
|
2672
|
+
"descriptionDefaults": DuetLangObject | string;
|
|
2472
2673
|
/**
|
|
2473
2674
|
* Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
2474
2675
|
*/
|
|
@@ -2488,9 +2689,9 @@ export namespace Components {
|
|
|
2488
2689
|
"fileListEmpty": string;
|
|
2489
2690
|
/**
|
|
2490
2691
|
* Defaults for the filelist's empty state.
|
|
2491
|
-
* @default { fi: "
|
|
2692
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.", sv: "Inga filer har lagts till ännu.", en: "No files added yet.", }
|
|
2492
2693
|
*/
|
|
2493
|
-
"fileListEmptyDefaults": DuetLangObject;
|
|
2694
|
+
"fileListEmptyDefaults": DuetLangObject | string;
|
|
2494
2695
|
/**
|
|
2495
2696
|
* Map of string that contain list of uploaded files.
|
|
2496
2697
|
*/
|
|
@@ -2499,6 +2700,20 @@ export namespace Components {
|
|
|
2499
2700
|
* Get list of files, divided in errors and valid sections
|
|
2500
2701
|
*/
|
|
2501
2702
|
"getFiles": () => Promise<false | { valid: any[]; invalid: any[]; }>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Array of group names that you want the editable table used to display files to display
|
|
2705
|
+
* @required
|
|
2706
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
2707
|
+
*/
|
|
2708
|
+
"groups": DuetEditableTableGroupNames | string;
|
|
2709
|
+
/**
|
|
2710
|
+
* If set the upload component will not display an upload button, you will have to create on yourself and call the exposed methods startUpload
|
|
2711
|
+
*/
|
|
2712
|
+
"hideButton": boolean;
|
|
2713
|
+
/**
|
|
2714
|
+
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
2715
|
+
*/
|
|
2716
|
+
"hideGroups": boolean;
|
|
2502
2717
|
/**
|
|
2503
2718
|
* Adds a unique identifier for the upload component.
|
|
2504
2719
|
*/
|
|
@@ -2510,12 +2725,9 @@ export namespace Components {
|
|
|
2510
2725
|
"label": string;
|
|
2511
2726
|
/**
|
|
2512
2727
|
* Property to change labelDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
2728
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
2513
2729
|
*/
|
|
2514
|
-
"labelDefaults": DuetLangObject;
|
|
2515
|
-
/**
|
|
2516
|
-
* Visually hide the label, but still show it to screen readers.
|
|
2517
|
-
*/
|
|
2518
|
-
"labelHidden": boolean;
|
|
2730
|
+
"labelDefaults": DuetLangObject | string;
|
|
2519
2731
|
/**
|
|
2520
2732
|
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files, by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
2521
2733
|
*/
|
|
@@ -2552,10 +2764,31 @@ export namespace Components {
|
|
|
2552
2764
|
* Sets focus on the specified `duet-input`. Use this method instead of the global `input.focus()`.
|
|
2553
2765
|
*/
|
|
2554
2766
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
2767
|
+
/**
|
|
2768
|
+
* If enabled the filelist will create links on successfully uploaded items, this requires the server can respond with link URIs in the correct format
|
|
2769
|
+
*/
|
|
2770
|
+
"showLinks": boolean;
|
|
2771
|
+
/**
|
|
2772
|
+
* Property to change the aria upload progress text read aloud by screenreaders
|
|
2773
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Choose files", }
|
|
2774
|
+
*/
|
|
2775
|
+
"statusLabelDefaults": DuetLangObject | string;
|
|
2776
|
+
/**
|
|
2777
|
+
* Strings used for the status aria-label
|
|
2778
|
+
*/
|
|
2779
|
+
"statusMessageLabel": StatusMessage;
|
|
2555
2780
|
/**
|
|
2556
2781
|
* Theme of the input.
|
|
2557
2782
|
*/
|
|
2558
2783
|
"theme": DuetTheme;
|
|
2784
|
+
/**
|
|
2785
|
+
* Convenience method for updating a of an item in the files attribute
|
|
2786
|
+
*/
|
|
2787
|
+
"updateValue": (item: string, key: string, value: any) => Promise<void>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Method for invoking the upload sequence
|
|
2790
|
+
*/
|
|
2791
|
+
"upload": (metaData?: any | undefined) => Promise<void>;
|
|
2559
2792
|
/**
|
|
2560
2793
|
* Endpoint URI that is capable of receiving the files
|
|
2561
2794
|
*/
|
|
@@ -2569,6 +2802,32 @@ export namespace Components {
|
|
|
2569
2802
|
*/
|
|
2570
2803
|
"value": string;
|
|
2571
2804
|
}
|
|
2805
|
+
interface DuetUploadAriaStatus {
|
|
2806
|
+
/**
|
|
2807
|
+
* Adds accessible label that is read aloud
|
|
2808
|
+
*/
|
|
2809
|
+
"accessibleAriaLive": "off" | "polite" | "assertive";
|
|
2810
|
+
/**
|
|
2811
|
+
* valid file amount
|
|
2812
|
+
*/
|
|
2813
|
+
"inprogress": number;
|
|
2814
|
+
/**
|
|
2815
|
+
* invalid file amount
|
|
2816
|
+
*/
|
|
2817
|
+
"invalid": number;
|
|
2818
|
+
/**
|
|
2819
|
+
* State() variables
|
|
2820
|
+
*/
|
|
2821
|
+
"statusMessageLabel": StatusMessage;
|
|
2822
|
+
/**
|
|
2823
|
+
* total files
|
|
2824
|
+
*/
|
|
2825
|
+
"total": number;
|
|
2826
|
+
/**
|
|
2827
|
+
* valid file amount
|
|
2828
|
+
*/
|
|
2829
|
+
"valid": number;
|
|
2830
|
+
}
|
|
2572
2831
|
interface DuetVisuallyHidden {
|
|
2573
2832
|
}
|
|
2574
2833
|
}
|
|
@@ -2645,6 +2904,24 @@ declare global {
|
|
|
2645
2904
|
prototype: HTMLDuetDividerElement;
|
|
2646
2905
|
new (): HTMLDuetDividerElement;
|
|
2647
2906
|
};
|
|
2907
|
+
interface HTMLDuetEditableTableElement extends Components.DuetEditableTable, HTMLStencilElement {
|
|
2908
|
+
}
|
|
2909
|
+
var HTMLDuetEditableTableElement: {
|
|
2910
|
+
prototype: HTMLDuetEditableTableElement;
|
|
2911
|
+
new (): HTMLDuetEditableTableElement;
|
|
2912
|
+
};
|
|
2913
|
+
interface HTMLDuetEditableTableButtonElement extends Components.DuetEditableTableButton, HTMLStencilElement {
|
|
2914
|
+
}
|
|
2915
|
+
var HTMLDuetEditableTableButtonElement: {
|
|
2916
|
+
prototype: HTMLDuetEditableTableButtonElement;
|
|
2917
|
+
new (): HTMLDuetEditableTableButtonElement;
|
|
2918
|
+
};
|
|
2919
|
+
interface HTMLDuetEditableTableItemElement extends Components.DuetEditableTableItem, HTMLStencilElement {
|
|
2920
|
+
}
|
|
2921
|
+
var HTMLDuetEditableTableItemElement: {
|
|
2922
|
+
prototype: HTMLDuetEditableTableItemElement;
|
|
2923
|
+
new (): HTMLDuetEditableTableItemElement;
|
|
2924
|
+
};
|
|
2648
2925
|
interface HTMLDuetEmptyStateElement extends Components.DuetEmptyState, HTMLStencilElement {
|
|
2649
2926
|
}
|
|
2650
2927
|
var HTMLDuetEmptyStateElement: {
|
|
@@ -2771,6 +3048,12 @@ declare global {
|
|
|
2771
3048
|
prototype: HTMLDuetParagraphElement;
|
|
2772
3049
|
new (): HTMLDuetParagraphElement;
|
|
2773
3050
|
};
|
|
3051
|
+
interface HTMLDuetProgressElement extends Components.DuetProgress, HTMLStencilElement {
|
|
3052
|
+
}
|
|
3053
|
+
var HTMLDuetProgressElement: {
|
|
3054
|
+
prototype: HTMLDuetProgressElement;
|
|
3055
|
+
new (): HTMLDuetProgressElement;
|
|
3056
|
+
};
|
|
2774
3057
|
interface HTMLDuetRadioElement extends Components.DuetRadio, HTMLStencilElement {
|
|
2775
3058
|
}
|
|
2776
3059
|
var HTMLDuetRadioElement: {
|
|
@@ -2867,6 +3150,12 @@ declare global {
|
|
|
2867
3150
|
prototype: HTMLDuetUploadElement;
|
|
2868
3151
|
new (): HTMLDuetUploadElement;
|
|
2869
3152
|
};
|
|
3153
|
+
interface HTMLDuetUploadAriaStatusElement extends Components.DuetUploadAriaStatus, HTMLStencilElement {
|
|
3154
|
+
}
|
|
3155
|
+
var HTMLDuetUploadAriaStatusElement: {
|
|
3156
|
+
prototype: HTMLDuetUploadAriaStatusElement;
|
|
3157
|
+
new (): HTMLDuetUploadAriaStatusElement;
|
|
3158
|
+
};
|
|
2870
3159
|
interface HTMLDuetVisuallyHiddenElement extends Components.DuetVisuallyHidden, HTMLStencilElement {
|
|
2871
3160
|
}
|
|
2872
3161
|
var HTMLDuetVisuallyHiddenElement: {
|
|
@@ -2886,6 +3175,9 @@ declare global {
|
|
|
2886
3175
|
"duet-cookie-consent": HTMLDuetCookieConsentElement;
|
|
2887
3176
|
"duet-date-picker": HTMLDuetDatePickerElement;
|
|
2888
3177
|
"duet-divider": HTMLDuetDividerElement;
|
|
3178
|
+
"duet-editable-table": HTMLDuetEditableTableElement;
|
|
3179
|
+
"duet-editable-table-button": HTMLDuetEditableTableButtonElement;
|
|
3180
|
+
"duet-editable-table-item": HTMLDuetEditableTableItemElement;
|
|
2889
3181
|
"duet-empty-state": HTMLDuetEmptyStateElement;
|
|
2890
3182
|
"duet-fieldset": HTMLDuetFieldsetElement;
|
|
2891
3183
|
"duet-footer": HTMLDuetFooterElement;
|
|
@@ -2907,6 +3199,7 @@ declare global {
|
|
|
2907
3199
|
"duet-notification-drawer": HTMLDuetNotificationDrawerElement;
|
|
2908
3200
|
"duet-number-input": HTMLDuetNumberInputElement;
|
|
2909
3201
|
"duet-paragraph": HTMLDuetParagraphElement;
|
|
3202
|
+
"duet-progress": HTMLDuetProgressElement;
|
|
2910
3203
|
"duet-radio": HTMLDuetRadioElement;
|
|
2911
3204
|
"duet-radio-group": HTMLDuetRadioGroupElement;
|
|
2912
3205
|
"duet-range-slider": HTMLDuetRangeSliderElement;
|
|
@@ -2923,6 +3216,7 @@ declare global {
|
|
|
2923
3216
|
"duet-tooltip": HTMLDuetTooltipElement;
|
|
2924
3217
|
"duet-tray": HTMLDuetTrayElement;
|
|
2925
3218
|
"duet-upload": HTMLDuetUploadElement;
|
|
3219
|
+
"duet-upload-aria-status": HTMLDuetUploadAriaStatusElement;
|
|
2926
3220
|
"duet-visually-hidden": HTMLDuetVisuallyHiddenElement;
|
|
2927
3221
|
}
|
|
2928
3222
|
}
|
|
@@ -2935,8 +3229,9 @@ declare namespace LocalJSX {
|
|
|
2935
3229
|
"accessibleLabel"?: string;
|
|
2936
3230
|
/**
|
|
2937
3231
|
* Property to change languageDefaults on the component. normally you would handle these strings on an application level and override @accessibleLabel when needed
|
|
3232
|
+
* @default {fi: "Sulje viesti", sv: "Stäng meddelandet", en: "Close the message"}
|
|
2938
3233
|
*/
|
|
2939
|
-
"accessibleLabelDefaults"?: DuetLangObject;
|
|
3234
|
+
"accessibleLabelDefaults"?: DuetLangObject | string;
|
|
2940
3235
|
/**
|
|
2941
3236
|
* Enable or disabled announcements by assistive technologies.
|
|
2942
3237
|
*/
|
|
@@ -3018,7 +3313,7 @@ declare namespace LocalJSX {
|
|
|
3018
3313
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
3019
3314
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
3020
3315
|
*/
|
|
3021
|
-
"accessibleLabelExternalDefaults"?: DuetLangObject;
|
|
3316
|
+
"accessibleLabelExternalDefaults"?: DuetLangObject | string;
|
|
3022
3317
|
/**
|
|
3023
3318
|
* Indicates the id of a component owned by the button.
|
|
3024
3319
|
*/
|
|
@@ -3298,7 +3593,7 @@ declare namespace LocalJSX {
|
|
|
3298
3593
|
*/
|
|
3299
3594
|
"accessibleControls"?: string;
|
|
3300
3595
|
/**
|
|
3301
|
-
* Indicates the id of a component that describes the choice.
|
|
3596
|
+
* Indicates the id of a component that describes the choice. if this is set to an empty string it will prevent screenreaders from flowing to a collapsible content and can be used as an escape hatch if that behaviour is undesired.
|
|
3302
3597
|
*/
|
|
3303
3598
|
"accessibleDescribedBy"?: string;
|
|
3304
3599
|
/**
|
|
@@ -3309,7 +3604,7 @@ declare namespace LocalJSX {
|
|
|
3309
3604
|
/**
|
|
3310
3605
|
* Property to change accessibleLabelInfoButton defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed
|
|
3311
3606
|
*/
|
|
3312
|
-
"accessibleLabelInfoButtonDefaults"?: DuetLangObject;
|
|
3607
|
+
"accessibleLabelInfoButtonDefaults"?: DuetLangObject | string;
|
|
3313
3608
|
/**
|
|
3314
3609
|
* Indicates the id of a component owned by the choice.
|
|
3315
3610
|
*/
|
|
@@ -3342,6 +3637,16 @@ declare namespace LocalJSX {
|
|
|
3342
3637
|
* Adds a unique identifier for the choice button.
|
|
3343
3638
|
*/
|
|
3344
3639
|
"identifier"?: string;
|
|
3640
|
+
/**
|
|
3641
|
+
* Hint text to display before the user types into the date picker input.
|
|
3642
|
+
* @default { fi: "Lisätietoja", en: "More information about", sv: "Mera information om", }
|
|
3643
|
+
*/
|
|
3644
|
+
"infoLabel"?: string;
|
|
3645
|
+
/**
|
|
3646
|
+
* Placeholder defaults
|
|
3647
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
3648
|
+
*/
|
|
3649
|
+
"infoLabelDefaults"?: DuetLangObject | string;
|
|
3345
3650
|
/**
|
|
3346
3651
|
* Label for the choice button.
|
|
3347
3652
|
*/
|
|
@@ -3507,7 +3812,7 @@ declare namespace LocalJSX {
|
|
|
3507
3812
|
*/
|
|
3508
3813
|
"accessibleOwns"?: string;
|
|
3509
3814
|
/**
|
|
3510
|
-
* Caption (underneath label) that can be set as a way of adding extra information
|
|
3815
|
+
* Caption (underneath label) that can be set as a way of adding extra information.
|
|
3511
3816
|
*/
|
|
3512
3817
|
"caption"?: string;
|
|
3513
3818
|
/**
|
|
@@ -3543,8 +3848,8 @@ declare namespace LocalJSX {
|
|
|
3543
3848
|
*/
|
|
3544
3849
|
"labelHidden"?: boolean;
|
|
3545
3850
|
/**
|
|
3546
|
-
* The currently active language. This setting changes the month/year/day names and button labels as well as all screen reader labels.
|
|
3547
|
-
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
|
|
3851
|
+
* The currently active language. This setting changes the month/year/day. names and button labels as well as all screen reader labels.
|
|
3852
|
+
* @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing.
|
|
3548
3853
|
* @default "fi"
|
|
3549
3854
|
*/
|
|
3550
3855
|
"language"?: DuetLanguage;
|
|
@@ -3553,7 +3858,7 @@ declare namespace LocalJSX {
|
|
|
3553
3858
|
*/
|
|
3554
3859
|
"margin"?: DuetMargin;
|
|
3555
3860
|
/**
|
|
3556
|
-
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD This setting can be used alone or together with the min property.
|
|
3861
|
+
* Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD. This setting can be used alone or together with the min property.
|
|
3557
3862
|
*/
|
|
3558
3863
|
"max"?: string;
|
|
3559
3864
|
/**
|
|
@@ -3581,6 +3886,11 @@ declare namespace LocalJSX {
|
|
|
3581
3886
|
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
3582
3887
|
*/
|
|
3583
3888
|
"placeholder"?: string;
|
|
3889
|
+
/**
|
|
3890
|
+
* Placeholder defaults.
|
|
3891
|
+
* @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
|
|
3892
|
+
*/
|
|
3893
|
+
"placeholderDefaults"?: DuetLangObject | string;
|
|
3584
3894
|
/**
|
|
3585
3895
|
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
3586
3896
|
*/
|
|
@@ -3620,6 +3930,76 @@ declare namespace LocalJSX {
|
|
|
3620
3930
|
*/
|
|
3621
3931
|
"theme"?: DuetTheme;
|
|
3622
3932
|
}
|
|
3933
|
+
interface DuetEditableTable {
|
|
3934
|
+
/**
|
|
3935
|
+
* Exposes the aria role for optimizing accessibility.
|
|
3936
|
+
*/
|
|
3937
|
+
"accessibleRole"?: string;
|
|
3938
|
+
/**
|
|
3939
|
+
* Array of internationalized defaults for the default action labels.
|
|
3940
|
+
*/
|
|
3941
|
+
"actionLabelDefaults"?: DuetLangObject;
|
|
3942
|
+
/**
|
|
3943
|
+
* Array of actions that are mapped via the map variable to the various groups defined in group.
|
|
3944
|
+
* @default undefined
|
|
3945
|
+
* @example [{ variation: "default", icon: "action-edit-2", id: "edit", map: ["success"], label: { fi: " Label", en: " Label", sv: " Label", } }]
|
|
3946
|
+
*/
|
|
3947
|
+
"actions"?: DuetEditableTableActions | string;
|
|
3948
|
+
/**
|
|
3949
|
+
* Array of group names that you want the editable table to display (can be used to hide or show groups depending on conditions).
|
|
3950
|
+
* @default { id: "all", label: this.groupsLabelDefaults, actionLabel: this.actionLabelDefaults }.
|
|
3951
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}].
|
|
3952
|
+
*/
|
|
3953
|
+
"groups"?: DuetEditableTableGroupNames | string;
|
|
3954
|
+
/**
|
|
3955
|
+
* Array of internationalized defaults for the default groups labels.
|
|
3956
|
+
*/
|
|
3957
|
+
"groupsLabelDefaults"?: DuetLangObject;
|
|
3958
|
+
/**
|
|
3959
|
+
* Shows or hides the table labels.
|
|
3960
|
+
*/
|
|
3961
|
+
"hideGroups"?: boolean;
|
|
3962
|
+
/**
|
|
3963
|
+
* Map of items that contain list of things.
|
|
3964
|
+
*/
|
|
3965
|
+
"items"?: DuetEditableTableItems;
|
|
3966
|
+
/**
|
|
3967
|
+
* Theme of the table.
|
|
3968
|
+
*/
|
|
3969
|
+
"theme"?: DuetTheme;
|
|
3970
|
+
}
|
|
3971
|
+
interface DuetEditableTableButton {
|
|
3972
|
+
/**
|
|
3973
|
+
* Emitted when any action is clicked
|
|
3974
|
+
*/
|
|
3975
|
+
"onDuetEditableItemAction"?: (event: CustomEvent<DuetEditableTableItemEvent>) => void;
|
|
3976
|
+
/**
|
|
3977
|
+
* Theme of the empty state component.
|
|
3978
|
+
*/
|
|
3979
|
+
"theme"?: DuetTheme;
|
|
3980
|
+
}
|
|
3981
|
+
interface DuetEditableTableItem {
|
|
3982
|
+
/**
|
|
3983
|
+
* Actions that can be performed on the element
|
|
3984
|
+
*/
|
|
3985
|
+
"actions"?: DuetEditableTableActions;
|
|
3986
|
+
/**
|
|
3987
|
+
* Object of data itemsused to render the entire row
|
|
3988
|
+
*/
|
|
3989
|
+
"data"?: DuetEditableTableItemData;
|
|
3990
|
+
/**
|
|
3991
|
+
* Key used to identify item, when running actions
|
|
3992
|
+
*/
|
|
3993
|
+
"keyName"?: string;
|
|
3994
|
+
/**
|
|
3995
|
+
* Emitted when any action is clicked
|
|
3996
|
+
*/
|
|
3997
|
+
"onDuetEditableItemAction"?: (event: CustomEvent<DuetEditableTableItemEvent>) => void;
|
|
3998
|
+
/**
|
|
3999
|
+
* Theme of the empty state component.
|
|
4000
|
+
*/
|
|
4001
|
+
"theme"?: DuetTheme;
|
|
4002
|
+
}
|
|
3623
4003
|
interface DuetEmptyState {
|
|
3624
4004
|
/**
|
|
3625
4005
|
* Icon shown in the empty state component.
|
|
@@ -3670,7 +4050,7 @@ declare namespace LocalJSX {
|
|
|
3670
4050
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
3671
4051
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
3672
4052
|
*/
|
|
3673
|
-
"accessibleLabelExternalDefaults"?: DuetLangObject;
|
|
4053
|
+
"accessibleLabelExternalDefaults"?: DuetLangObject | string;
|
|
3674
4054
|
/**
|
|
3675
4055
|
* An array of items for the main footer links. Items have to include mandatory "label", "href" and "icon" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.
|
|
3676
4056
|
*/
|
|
@@ -3724,7 +4104,7 @@ declare namespace LocalJSX {
|
|
|
3724
4104
|
}
|
|
3725
4105
|
interface DuetGrid {
|
|
3726
4106
|
/**
|
|
3727
|
-
* Adjusts the vertical alignment of the grid items.
|
|
4107
|
+
* Adjusts the vertical alignment of the grid items, if set to "form_distribute" the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items, so that they align even when displaying errors.
|
|
3728
4108
|
*/
|
|
3729
4109
|
"alignment"?: DuetGridAlignment;
|
|
3730
4110
|
/**
|
|
@@ -3777,9 +4157,11 @@ declare namespace LocalJSX {
|
|
|
3777
4157
|
*/
|
|
3778
4158
|
"accessibleI18nLabels"?: I18nText;
|
|
3779
4159
|
/**
|
|
3780
|
-
*
|
|
4160
|
+
* Default strings for accessibleI18nLabels
|
|
4161
|
+
* @default { fi: { skipLabel: "Siirry pääsisältöön", changeLanguage: "Vaihda kieltä", activeLanguage: "Suomi valittuna", }, sv: { skipLabel: "Hoppa till huvudinnehåll", changeLanguage: "Ändra Språk", activeLanguage: "Svenska valt", }, en: { skipLabel: "Skip to main content", changeLanguage: "Change language", activeLanguage: "English selected", }, }
|
|
3781
4162
|
*/
|
|
3782
|
-
"
|
|
4163
|
+
"accessibleI18nLabelsDefaults"?: | string
|
|
4164
|
+
| Record<DuetLanguage, I18nText>;
|
|
3783
4165
|
/**
|
|
3784
4166
|
* Accessible label that is shown for screen reader users in the mobile navigation toggle. Not visible for normal users.
|
|
3785
4167
|
* @default { fi: "Valikko", sv: "Meny", en: "Menu", }
|
|
@@ -3788,7 +4170,7 @@ declare namespace LocalJSX {
|
|
|
3788
4170
|
/**
|
|
3789
4171
|
* Property to change accessibleLabel defaults on the component. normally you would handle these strings on an application level and override @accessibleLabel when needed
|
|
3790
4172
|
*/
|
|
3791
|
-
"
|
|
4173
|
+
"accessibleLabelDefaults"?: DuetLangObject | string;
|
|
3792
4174
|
/**
|
|
3793
4175
|
* Adds accessible label for tooltip that is shown in external link (url & external have both been set)
|
|
3794
4176
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
@@ -3798,7 +4180,7 @@ declare namespace LocalJSX {
|
|
|
3798
4180
|
* Property to change accessibleLabelExternal defaults on the component. normally you would handle these strings on an application level and override @accessibleLabelExternal when needed
|
|
3799
4181
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
3800
4182
|
*/
|
|
3801
|
-
"accessibleLabelExternalDefaults"?: DuetLangObject;
|
|
4183
|
+
"accessibleLabelExternalDefaults"?: DuetLangObject | string;
|
|
3802
4184
|
/**
|
|
3803
4185
|
* An object that includes mandatory "label" and "href" fields for the back link. Additionally, you can pass an "id" that is added as an HTML identifier for the element. If nothing is passed, back link won’t be shown. **NOTE: The back link should be ONLY used in combination with language and logoHref props.**
|
|
3804
4186
|
*/
|
|
@@ -3896,9 +4278,9 @@ declare namespace LocalJSX {
|
|
|
3896
4278
|
}
|
|
3897
4279
|
interface DuetHeading {
|
|
3898
4280
|
/**
|
|
3899
|
-
* Enable or disable the border underneath the heading
|
|
4281
|
+
* Enable or disable the border underneath the heading, solid will darken the border
|
|
3900
4282
|
*/
|
|
3901
|
-
"border"?: boolean;
|
|
4283
|
+
"border"?: boolean | "solid";
|
|
3902
4284
|
/**
|
|
3903
4285
|
* Custom color for the heading as a design token entered in camelCase or kebab-case. Example: "color-primary".
|
|
3904
4286
|
*/
|
|
@@ -3935,9 +4317,10 @@ declare namespace LocalJSX {
|
|
|
3935
4317
|
*/
|
|
3936
4318
|
"accessibleLabelExternal"?: string;
|
|
3937
4319
|
/**
|
|
3938
|
-
*
|
|
4320
|
+
* Defaults for accessibleLabelExternal
|
|
4321
|
+
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
3939
4322
|
*/
|
|
3940
|
-
"accessibleLabelExternalDefaults"?: DuetLangObject;
|
|
4323
|
+
"accessibleLabelExternalDefaults"?: DuetLangObject | string;
|
|
3941
4324
|
/**
|
|
3942
4325
|
* An array of items for the main actions. Items have to include mandatory "label", "href" and "icon" fields to work. Additionally, you can pass an "id" that is added as an HTML identifier for the anchor tag.
|
|
3943
4326
|
*/
|
|
@@ -4280,10 +4663,10 @@ declare namespace LocalJSX {
|
|
|
4280
4663
|
*/
|
|
4281
4664
|
"accessibleLabelExternal"?: string;
|
|
4282
4665
|
/**
|
|
4283
|
-
*
|
|
4666
|
+
* Defaults for accessibleLabelExternal
|
|
4284
4667
|
* @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
|
|
4285
4668
|
*/
|
|
4286
|
-
"accessibleLabelExternalDefaults"?: DuetLangObject;
|
|
4669
|
+
"accessibleLabelExternalDefaults"?: DuetLangObject | string;
|
|
4287
4670
|
/**
|
|
4288
4671
|
* Forces URL to open in a new browser tab. Used together with URL prop.
|
|
4289
4672
|
*/
|
|
@@ -4374,9 +4757,10 @@ declare namespace LocalJSX {
|
|
|
4374
4757
|
*/
|
|
4375
4758
|
"accessibleCloseLabel"?: string;
|
|
4376
4759
|
/**
|
|
4377
|
-
*
|
|
4760
|
+
* Defaults for accessibleCloseLabel
|
|
4761
|
+
* @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
|
|
4378
4762
|
*/
|
|
4379
|
-
"
|
|
4763
|
+
"accessibleCloseLabelDefaults"?: DuetLangObject | string;
|
|
4380
4764
|
/**
|
|
4381
4765
|
* Use this property when you need to have the modal dialog initially active.
|
|
4382
4766
|
*/
|
|
@@ -4472,9 +4856,11 @@ declare namespace LocalJSX {
|
|
|
4472
4856
|
*/
|
|
4473
4857
|
"accessibleLabelNotifications"?: string;
|
|
4474
4858
|
/**
|
|
4475
|
-
*
|
|
4859
|
+
* Defaults for accessibleLabelNotifications
|
|
4860
|
+
* @default {en: "No notifications", fi: "Ei ilmoituksia", sv: "Inga notifikationer"}
|
|
4476
4861
|
*/
|
|
4477
|
-
"accessibleLabelNotificationsDefaults"?: DuetLangObject
|
|
4862
|
+
"accessibleLabelNotificationsDefaults"?: | DuetLangObject
|
|
4863
|
+
| string;
|
|
4478
4864
|
/**
|
|
4479
4865
|
* Show a badge that indicates something has changed.
|
|
4480
4866
|
*/
|
|
@@ -4510,6 +4896,11 @@ declare namespace LocalJSX {
|
|
|
4510
4896
|
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
4511
4897
|
*/
|
|
4512
4898
|
"accessibleAdd"?: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* Defaults for accessibleAdd
|
|
4901
|
+
* @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
|
|
4902
|
+
*/
|
|
4903
|
+
"accessibleAddDefaults"?: DuetLangObject | string;
|
|
4513
4904
|
/**
|
|
4514
4905
|
* Use this prop to add an aria-controls attribute. Use the attribute to indicate the id of a component controlled by this component.
|
|
4515
4906
|
*/
|
|
@@ -4523,6 +4914,11 @@ declare namespace LocalJSX {
|
|
|
4523
4914
|
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
4524
4915
|
*/
|
|
4525
4916
|
"accessibleLive"?: string;
|
|
4917
|
+
/**
|
|
4918
|
+
* Defaults for accessibleLive
|
|
4919
|
+
* @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
|
|
4920
|
+
*/
|
|
4921
|
+
"accessibleLiveDefaults"?: DuetLangObject | string;
|
|
4526
4922
|
/**
|
|
4527
4923
|
* Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead.
|
|
4528
4924
|
*/
|
|
@@ -4536,6 +4932,11 @@ declare namespace LocalJSX {
|
|
|
4536
4932
|
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
4537
4933
|
*/
|
|
4538
4934
|
"accessibleSubtract"?: string;
|
|
4935
|
+
/**
|
|
4936
|
+
* Defaults for accessibleSubtract
|
|
4937
|
+
* @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
|
|
4938
|
+
*/
|
|
4939
|
+
"accessibleSubtractDefaults"?: DuetLangObject | string;
|
|
4539
4940
|
/**
|
|
4540
4941
|
* Makes the number input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
|
|
4541
4942
|
*/
|
|
@@ -4557,6 +4958,11 @@ declare namespace LocalJSX {
|
|
|
4557
4958
|
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
4558
4959
|
*/
|
|
4559
4960
|
"label"?: string;
|
|
4961
|
+
/**
|
|
4962
|
+
* Defaults for Label
|
|
4963
|
+
* @default {fi: "Etiketti", en: "Label", sv: "Märka"}
|
|
4964
|
+
*/
|
|
4965
|
+
"labelDefaults"?: DuetLangObject | string;
|
|
4560
4966
|
/**
|
|
4561
4967
|
* Visually hide the label, but still show it to screen readers.
|
|
4562
4968
|
*/
|
|
@@ -4650,13 +5056,52 @@ declare namespace LocalJSX {
|
|
|
4650
5056
|
*/
|
|
4651
5057
|
"size"?: DuetParagraphSize;
|
|
4652
5058
|
/**
|
|
4653
|
-
* Theme of the
|
|
5059
|
+
* Theme of the paragraph.
|
|
4654
5060
|
*/
|
|
4655
5061
|
"theme"?: DuetTheme;
|
|
4656
5062
|
/**
|
|
4657
5063
|
* Style variation of the paragraph.
|
|
4658
5064
|
*/
|
|
4659
5065
|
"variation"?: DuetParagraphVariation;
|
|
5066
|
+
/**
|
|
5067
|
+
* Controls the Font-Weight of the paragraph.
|
|
5068
|
+
*/
|
|
5069
|
+
"weight"?: DuetParagraphWeight;
|
|
5070
|
+
}
|
|
5071
|
+
interface DuetProgress {
|
|
5072
|
+
/**
|
|
5073
|
+
* Indicates the id of a component that describes the upload component.
|
|
5074
|
+
*/
|
|
5075
|
+
"accessibleDescribedBy"?: string;
|
|
5076
|
+
/**
|
|
5077
|
+
* Indicates the aria-label of the component - this will get combined with an label+uploading when uploading, and label+upload complete when upload is complete
|
|
5078
|
+
*/
|
|
5079
|
+
"accessibleLabel"?: string;
|
|
5080
|
+
/**
|
|
5081
|
+
* Adds accessible label for upload in progress and upload complete states
|
|
5082
|
+
* @default {fi: ["lähetys valmis", "lähetys käynnissä"],sv: ["Uppladdningen är klar", "Uppladdning pågår"], en: ["completed", "in progress"]}
|
|
5083
|
+
*/
|
|
5084
|
+
"accessibleLabelUpload"?: string;
|
|
5085
|
+
/**
|
|
5086
|
+
* Defaults for accessibleLabel
|
|
5087
|
+
*/
|
|
5088
|
+
"accessibleLabelUploadDefaults"?: DuetLangObject | string;
|
|
5089
|
+
/**
|
|
5090
|
+
* Caption (underneath label) that can be set as a way of adding extra information
|
|
5091
|
+
*/
|
|
5092
|
+
"caption"?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* Height of progressbar
|
|
5095
|
+
*/
|
|
5096
|
+
"height"?: string;
|
|
5097
|
+
/**
|
|
5098
|
+
* Progress of the bar, a value from 0-100
|
|
5099
|
+
*/
|
|
5100
|
+
"progress"?: number;
|
|
5101
|
+
/**
|
|
5102
|
+
* Theme of the input.
|
|
5103
|
+
*/
|
|
5104
|
+
"theme"?: DuetTheme;
|
|
4660
5105
|
}
|
|
4661
5106
|
interface DuetRadio {
|
|
4662
5107
|
/**
|
|
@@ -5074,6 +5519,11 @@ declare namespace LocalJSX {
|
|
|
5074
5519
|
* @default {fi: "Valitse", en: "Choose", sv: "Välja"}
|
|
5075
5520
|
*/
|
|
5076
5521
|
"label"?: string;
|
|
5522
|
+
/**
|
|
5523
|
+
* Defaults for Label
|
|
5524
|
+
* @default {fi: "Valitse", en: "Choose", sv: "Välja"}
|
|
5525
|
+
*/
|
|
5526
|
+
"labelDefaults"?: DuetLangObject | string;
|
|
5077
5527
|
/**
|
|
5078
5528
|
* Determines whether the label for the select element shown on mobile is visually hidden.
|
|
5079
5529
|
*/
|
|
@@ -5329,11 +5779,21 @@ declare namespace LocalJSX {
|
|
|
5329
5779
|
* @default {fi: "Sulje lisätiedot", en: "Close details", sv: "Stäng detaljer"}
|
|
5330
5780
|
*/
|
|
5331
5781
|
"accessibleCloseLabel"?: string;
|
|
5782
|
+
/**
|
|
5783
|
+
* Default language strings for the accessibleCloseLabel
|
|
5784
|
+
* @default {fi: "Sulje lisätiedot", en: "Close details", sv: "Stäng detaljer"}
|
|
5785
|
+
*/
|
|
5786
|
+
"accessibleCloseLabelDefault"?: DuetLangObject | string;
|
|
5332
5787
|
/**
|
|
5333
5788
|
* Adds accessible label for the info icon that is only shown for screen readers. This property is always required to create an accessible interface!
|
|
5334
5789
|
* @default {fi: "Näytä lisätietoja", en: "See more information", sv: "Se mer information"}
|
|
5335
5790
|
*/
|
|
5336
5791
|
"accessibleLabel"?: string;
|
|
5792
|
+
/**
|
|
5793
|
+
* Default language strings for the accessibleLabel
|
|
5794
|
+
* @default {fi: "Näytä lisätietoja", en: "See more information", sv: "Se mer information"}
|
|
5795
|
+
*/
|
|
5796
|
+
"accessibleLabelDefault"?: DuetLangObject | string;
|
|
5337
5797
|
/**
|
|
5338
5798
|
* Toggle whether the tooltip is initially visible or not. This property should not be used in production in most cases.
|
|
5339
5799
|
*/
|
|
@@ -5375,11 +5835,21 @@ declare namespace LocalJSX {
|
|
|
5375
5835
|
* @default {fi: "Sulje", en: "Close", sv: "Stänga"}
|
|
5376
5836
|
*/
|
|
5377
5837
|
"accessibleCloseLabel"?: string;
|
|
5838
|
+
/**
|
|
5839
|
+
* Defaults for accessibleCloseLabel
|
|
5840
|
+
* @default {fi: "Sulje", en: "Close", sv: "Stänga"}
|
|
5841
|
+
*/
|
|
5842
|
+
"accessibleCloseLabelDefaults"?: DuetLangObject | string;
|
|
5378
5843
|
/**
|
|
5379
5844
|
* Accessible label that is shown for screen reader users in the expandable open toggle. Not visible for normal users.
|
|
5380
5845
|
* @default {fi: "Avaa", en: "Open", sv: "Öppen"}
|
|
5381
5846
|
*/
|
|
5382
5847
|
"accessibleOpenLabel"?: string;
|
|
5848
|
+
/**
|
|
5849
|
+
* Defaults for accessibleOpenLabel
|
|
5850
|
+
* @default {fi: "Avaa", en: "Open", sv: "Öppen"}
|
|
5851
|
+
*/
|
|
5852
|
+
"accessibleOpenLabelDefaults"?: DuetLangObject | string;
|
|
5383
5853
|
/**
|
|
5384
5854
|
* Toggle whether the info panel is visible or not. You can use this property e.g. when pricing information is revealed to the user.
|
|
5385
5855
|
*/
|
|
@@ -5424,6 +5894,10 @@ declare namespace LocalJSX {
|
|
|
5424
5894
|
* Indicates the id of a component owned by the input.
|
|
5425
5895
|
*/
|
|
5426
5896
|
"accessibleOwns"?: string;
|
|
5897
|
+
/**
|
|
5898
|
+
* Default actions added to all files
|
|
5899
|
+
*/
|
|
5900
|
+
"actions"?: DuetEditableTableActions | string;
|
|
5427
5901
|
/**
|
|
5428
5902
|
* A string of commaseperated file type values that are allowed
|
|
5429
5903
|
* @example : .pdf,.doc,.docx
|
|
@@ -5441,25 +5915,23 @@ declare namespace LocalJSX {
|
|
|
5441
5915
|
"buttonLabel"?: string;
|
|
5442
5916
|
/**
|
|
5443
5917
|
* Property to change descriptionDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
5918
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment", }
|
|
5444
5919
|
*/
|
|
5445
|
-
"buttonLabelDefaults"?: DuetLangObject;
|
|
5920
|
+
"buttonLabelDefaults"?: DuetLangObject | string;
|
|
5446
5921
|
/**
|
|
5447
5922
|
* Caption (underneath label) that can be set as a way of adding extra information
|
|
5448
5923
|
*/
|
|
5449
5924
|
"caption"?: string;
|
|
5450
|
-
/**
|
|
5451
|
-
* if set, allows capture of media from user camera / microphone The capture attribute value is a string that specifies which camera to use for capture of image or video data, if the accept attribute indicates that the input should be of one of those types. A value of user indicates that the user-facing camera and/or microphone should be used. A value of environment specifies that the outward-facing camera and/or microphone should be used. If this attribute is missing, the user agent is free to decide on its own what to do. If the requested facing mode isn't available, the user agent may fall back to its preferred default mode.
|
|
5452
|
-
*/
|
|
5453
|
-
"capture"?: string | boolean;
|
|
5454
5925
|
/**
|
|
5455
5926
|
* Description for the upload component.
|
|
5456
|
-
* @default
|
|
5927
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
5457
5928
|
*/
|
|
5458
5929
|
"description"?: string;
|
|
5459
5930
|
/**
|
|
5460
5931
|
* Property to change descriptionDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
5932
|
+
* @default { fi: "Voit liittää {filetypes}-muotoisia tiedostoja sekä yleisimpiä videotiedostoja. Voit lähettää {maxbytes} verran tiedostoja yhdellä kertaa, ja lisätä enintään {maxfiles} liitettä kerrallaan.", sv: "Du kan bifoga filer i flg. formater {filetypes} samt de vanligaste videofilerna. Du kan ladda upp {maxbytes} filer åt gången och lägga till upp till {maxfiles} bilagor åt gången.", en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytes} of files at a time, and add up to {maxfiles} attachments at a time.", }
|
|
5461
5933
|
*/
|
|
5462
|
-
"descriptionDefaults"?: DuetLangObject;
|
|
5934
|
+
"descriptionDefaults"?: DuetLangObject | string;
|
|
5463
5935
|
/**
|
|
5464
5936
|
* Makes the input component disabled. This prevents users from being able to interact with the upload component, and conveys its inactive state to assistive technologies.
|
|
5465
5937
|
*/
|
|
@@ -5479,13 +5951,27 @@ declare namespace LocalJSX {
|
|
|
5479
5951
|
"fileListEmpty"?: string;
|
|
5480
5952
|
/**
|
|
5481
5953
|
* Defaults for the filelist's empty state.
|
|
5482
|
-
* @default { fi: "
|
|
5954
|
+
* @default { fi: "Ei vielä lisättyjä tiedostoja.", sv: "Inga filer har lagts till ännu.", en: "No files added yet.", }
|
|
5483
5955
|
*/
|
|
5484
|
-
"fileListEmptyDefaults"?: DuetLangObject;
|
|
5956
|
+
"fileListEmptyDefaults"?: DuetLangObject | string;
|
|
5485
5957
|
/**
|
|
5486
5958
|
* Map of string that contain list of uploaded files.
|
|
5487
5959
|
*/
|
|
5488
5960
|
"files"?: StringMap;
|
|
5961
|
+
/**
|
|
5962
|
+
* Array of group names that you want the editable table used to display files to display
|
|
5963
|
+
* @required
|
|
5964
|
+
* @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
|
|
5965
|
+
*/
|
|
5966
|
+
"groups"?: DuetEditableTableGroupNames | string;
|
|
5967
|
+
/**
|
|
5968
|
+
* If set the upload component will not display an upload button, you will have to create on yourself and call the exposed methods startUpload
|
|
5969
|
+
*/
|
|
5970
|
+
"hideButton"?: boolean;
|
|
5971
|
+
/**
|
|
5972
|
+
* Visually hides the groups labels in the editable table list used to display the list of files
|
|
5973
|
+
*/
|
|
5974
|
+
"hideGroups"?: boolean;
|
|
5489
5975
|
/**
|
|
5490
5976
|
* Adds a unique identifier for the upload component.
|
|
5491
5977
|
*/
|
|
@@ -5497,12 +5983,9 @@ declare namespace LocalJSX {
|
|
|
5497
5983
|
"label"?: string;
|
|
5498
5984
|
/**
|
|
5499
5985
|
* Property to change labelDefaults defaults on the component. normally you would handle these strings on an application level and override @label when needed
|
|
5986
|
+
* @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
|
|
5500
5987
|
*/
|
|
5501
|
-
"labelDefaults"?: DuetLangObject;
|
|
5502
|
-
/**
|
|
5503
|
-
* Visually hide the label, but still show it to screen readers.
|
|
5504
|
-
*/
|
|
5505
|
-
"labelHidden"?: boolean;
|
|
5988
|
+
"labelDefaults"?: DuetLangObject | string;
|
|
5506
5989
|
/**
|
|
5507
5990
|
* Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files, by default this is off, setting this to true will limit the users choices to what has been explicitly set
|
|
5508
5991
|
*/
|
|
@@ -5571,6 +6054,19 @@ declare namespace LocalJSX {
|
|
|
5571
6054
|
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
5572
6055
|
*/
|
|
5573
6056
|
"required"?: boolean;
|
|
6057
|
+
/**
|
|
6058
|
+
* If enabled the filelist will create links on successfully uploaded items, this requires the server can respond with link URIs in the correct format
|
|
6059
|
+
*/
|
|
6060
|
+
"showLinks"?: boolean;
|
|
6061
|
+
/**
|
|
6062
|
+
* Property to change the aria upload progress text read aloud by screenreaders
|
|
6063
|
+
* @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Choose files", }
|
|
6064
|
+
*/
|
|
6065
|
+
"statusLabelDefaults"?: DuetLangObject | string;
|
|
6066
|
+
/**
|
|
6067
|
+
* Strings used for the status aria-label
|
|
6068
|
+
*/
|
|
6069
|
+
"statusMessageLabel"?: StatusMessage;
|
|
5574
6070
|
/**
|
|
5575
6071
|
* Theme of the input.
|
|
5576
6072
|
*/
|
|
@@ -5588,6 +6084,32 @@ declare namespace LocalJSX {
|
|
|
5588
6084
|
*/
|
|
5589
6085
|
"value"?: string;
|
|
5590
6086
|
}
|
|
6087
|
+
interface DuetUploadAriaStatus {
|
|
6088
|
+
/**
|
|
6089
|
+
* Adds accessible label that is read aloud
|
|
6090
|
+
*/
|
|
6091
|
+
"accessibleAriaLive"?: "off" | "polite" | "assertive";
|
|
6092
|
+
/**
|
|
6093
|
+
* valid file amount
|
|
6094
|
+
*/
|
|
6095
|
+
"inprogress"?: number;
|
|
6096
|
+
/**
|
|
6097
|
+
* invalid file amount
|
|
6098
|
+
*/
|
|
6099
|
+
"invalid"?: number;
|
|
6100
|
+
/**
|
|
6101
|
+
* State() variables
|
|
6102
|
+
*/
|
|
6103
|
+
"statusMessageLabel"?: StatusMessage;
|
|
6104
|
+
/**
|
|
6105
|
+
* total files
|
|
6106
|
+
*/
|
|
6107
|
+
"total"?: number;
|
|
6108
|
+
/**
|
|
6109
|
+
* valid file amount
|
|
6110
|
+
*/
|
|
6111
|
+
"valid"?: number;
|
|
6112
|
+
}
|
|
5591
6113
|
interface DuetVisuallyHidden {
|
|
5592
6114
|
}
|
|
5593
6115
|
interface IntrinsicElements {
|
|
@@ -5603,6 +6125,9 @@ declare namespace LocalJSX {
|
|
|
5603
6125
|
"duet-cookie-consent": DuetCookieConsent;
|
|
5604
6126
|
"duet-date-picker": DuetDatePicker;
|
|
5605
6127
|
"duet-divider": DuetDivider;
|
|
6128
|
+
"duet-editable-table": DuetEditableTable;
|
|
6129
|
+
"duet-editable-table-button": DuetEditableTableButton;
|
|
6130
|
+
"duet-editable-table-item": DuetEditableTableItem;
|
|
5606
6131
|
"duet-empty-state": DuetEmptyState;
|
|
5607
6132
|
"duet-fieldset": DuetFieldset;
|
|
5608
6133
|
"duet-footer": DuetFooter;
|
|
@@ -5624,6 +6149,7 @@ declare namespace LocalJSX {
|
|
|
5624
6149
|
"duet-notification-drawer": DuetNotificationDrawer;
|
|
5625
6150
|
"duet-number-input": DuetNumberInput;
|
|
5626
6151
|
"duet-paragraph": DuetParagraph;
|
|
6152
|
+
"duet-progress": DuetProgress;
|
|
5627
6153
|
"duet-radio": DuetRadio;
|
|
5628
6154
|
"duet-radio-group": DuetRadioGroup;
|
|
5629
6155
|
"duet-range-slider": DuetRangeSlider;
|
|
@@ -5640,6 +6166,7 @@ declare namespace LocalJSX {
|
|
|
5640
6166
|
"duet-tooltip": DuetTooltip;
|
|
5641
6167
|
"duet-tray": DuetTray;
|
|
5642
6168
|
"duet-upload": DuetUpload;
|
|
6169
|
+
"duet-upload-aria-status": DuetUploadAriaStatus;
|
|
5643
6170
|
"duet-visually-hidden": DuetVisuallyHidden;
|
|
5644
6171
|
}
|
|
5645
6172
|
}
|
|
@@ -5659,6 +6186,9 @@ declare module "@stencil/core" {
|
|
|
5659
6186
|
"duet-cookie-consent": LocalJSX.DuetCookieConsent & JSXBase.HTMLAttributes<HTMLDuetCookieConsentElement>;
|
|
5660
6187
|
"duet-date-picker": LocalJSX.DuetDatePicker & JSXBase.HTMLAttributes<HTMLDuetDatePickerElement>;
|
|
5661
6188
|
"duet-divider": LocalJSX.DuetDivider & JSXBase.HTMLAttributes<HTMLDuetDividerElement>;
|
|
6189
|
+
"duet-editable-table": LocalJSX.DuetEditableTable & JSXBase.HTMLAttributes<HTMLDuetEditableTableElement>;
|
|
6190
|
+
"duet-editable-table-button": LocalJSX.DuetEditableTableButton & JSXBase.HTMLAttributes<HTMLDuetEditableTableButtonElement>;
|
|
6191
|
+
"duet-editable-table-item": LocalJSX.DuetEditableTableItem & JSXBase.HTMLAttributes<HTMLDuetEditableTableItemElement>;
|
|
5662
6192
|
"duet-empty-state": LocalJSX.DuetEmptyState & JSXBase.HTMLAttributes<HTMLDuetEmptyStateElement>;
|
|
5663
6193
|
"duet-fieldset": LocalJSX.DuetFieldset & JSXBase.HTMLAttributes<HTMLDuetFieldsetElement>;
|
|
5664
6194
|
"duet-footer": LocalJSX.DuetFooter & JSXBase.HTMLAttributes<HTMLDuetFooterElement>;
|
|
@@ -5680,6 +6210,7 @@ declare module "@stencil/core" {
|
|
|
5680
6210
|
"duet-notification-drawer": LocalJSX.DuetNotificationDrawer & JSXBase.HTMLAttributes<HTMLDuetNotificationDrawerElement>;
|
|
5681
6211
|
"duet-number-input": LocalJSX.DuetNumberInput & JSXBase.HTMLAttributes<HTMLDuetNumberInputElement>;
|
|
5682
6212
|
"duet-paragraph": LocalJSX.DuetParagraph & JSXBase.HTMLAttributes<HTMLDuetParagraphElement>;
|
|
6213
|
+
"duet-progress": LocalJSX.DuetProgress & JSXBase.HTMLAttributes<HTMLDuetProgressElement>;
|
|
5683
6214
|
"duet-radio": LocalJSX.DuetRadio & JSXBase.HTMLAttributes<HTMLDuetRadioElement>;
|
|
5684
6215
|
"duet-radio-group": LocalJSX.DuetRadioGroup & JSXBase.HTMLAttributes<HTMLDuetRadioGroupElement>;
|
|
5685
6216
|
"duet-range-slider": LocalJSX.DuetRangeSlider & JSXBase.HTMLAttributes<HTMLDuetRangeSliderElement>;
|
|
@@ -5696,6 +6227,7 @@ declare module "@stencil/core" {
|
|
|
5696
6227
|
"duet-tooltip": LocalJSX.DuetTooltip & JSXBase.HTMLAttributes<HTMLDuetTooltipElement>;
|
|
5697
6228
|
"duet-tray": LocalJSX.DuetTray & JSXBase.HTMLAttributes<HTMLDuetTrayElement>;
|
|
5698
6229
|
"duet-upload": LocalJSX.DuetUpload & JSXBase.HTMLAttributes<HTMLDuetUploadElement>;
|
|
6230
|
+
"duet-upload-aria-status": LocalJSX.DuetUploadAriaStatus & JSXBase.HTMLAttributes<HTMLDuetUploadAriaStatusElement>;
|
|
5699
6231
|
"duet-visually-hidden": LocalJSX.DuetVisuallyHidden & JSXBase.HTMLAttributes<HTMLDuetVisuallyHiddenElement>;
|
|
5700
6232
|
}
|
|
5701
6233
|
}
|