@duetds/components 6.10.0 → 6.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +110 -18
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +13 -10
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +43 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +43 -0
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -2
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-fbc4272e.js → focus-utils-a7ec8d4d.js} +1 -1
- package/lib/cjs/{index-800daca9.js → index-b91d0c7f.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-choice/duet-choice.css +4 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +10 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +25 -4
- package/lib/collection/components/duet-combobox/duet-combobox.js +16 -13
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +73 -0
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +149 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +5 -3
- package/lib/collection/components/duet-upload/duet-upload.js +70 -16
- package/lib/collection/components/duet-upload/upload-item.js +8 -2
- package/lib/collection/components/duet-upload/upload-validators.js +6 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +7 -4
- package/lib/dist-custom-elements/duet-combobox.js +14 -11
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.d.ts +11 -0
- package/lib/dist-custom-elements/duet-shaped-image.js +63 -0
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +60 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-fa14c66f.js → p-00f8d4bc.js} +1 -1
- package/lib/dist-custom-elements/{p-82c34274.js → p-05139591.js} +1 -1
- package/lib/dist-custom-elements/{p-57ad5c17.js → p-1b3de4b8.js} +1 -1
- package/lib/dist-custom-elements/{p-df44c118.js → p-227cc94f.js} +1 -1
- package/lib/dist-custom-elements/{p-3545220c.js → p-2747b8c6.js} +4 -4
- package/lib/dist-custom-elements/{p-f68e555b.js → p-28658e20.js} +8 -8
- package/lib/dist-custom-elements/{p-552a5bb2.js → p-2b132855.js} +1 -1
- package/lib/dist-custom-elements/{p-9c8cfcf0.js → p-3595aea9.js} +1 -1
- package/lib/dist-custom-elements/{p-97fb5b2d.js → p-38b3c30a.js} +6 -4
- package/lib/dist-custom-elements/{p-3030c398.js → p-39c6c68e.js} +1 -1
- package/lib/dist-custom-elements/{p-f4aef53f.js → p-4197b9ee.js} +2 -2
- package/lib/dist-custom-elements/{p-b55f0f8e.js → p-419d2da0.js} +6 -6
- package/lib/dist-custom-elements/{p-e64e9069.js → p-58105b4f.js} +1 -1
- package/lib/dist-custom-elements/{p-e04baccc.js → p-62f3b6cb.js} +3 -3
- package/lib/dist-custom-elements/{p-d1414d18.js → p-6de01596.js} +1 -1
- package/lib/dist-custom-elements/{p-8cd13b05.js → p-6f4b6168.js} +1 -1
- package/lib/dist-custom-elements/{p-b2671479.js → p-7d6d90bc.js} +1 -1
- package/lib/dist-custom-elements/{p-636fb80b.js → p-8638ba69.js} +1 -1
- package/lib/dist-custom-elements/{p-b24fe485.js → p-8fb68cb1.js} +2 -2
- package/lib/dist-custom-elements/{p-3ad54bf2.js → p-96b624ec.js} +1 -1
- package/lib/dist-custom-elements/{p-dfe1f0a8.js → p-9e83a449.js} +2 -2
- package/lib/dist-custom-elements/{p-741d215a.js → p-a0f68c00.js} +3 -3
- package/lib/dist-custom-elements/{p-a938b3e8.js → p-beca0ced.js} +1 -1
- package/lib/dist-custom-elements/{p-5c435996.js → p-c202693f.js} +1 -1
- package/lib/dist-custom-elements/{p-96efa345.js → p-d6a6460a.js} +1 -1
- package/lib/dist-custom-elements/{p-383843b5.js → p-e3ac121c.js} +5 -5
- package/lib/dist-custom-elements/{p-74d7de0d.js → p-e3acab40.js} +2 -2
- package/lib/dist-custom-elements/{p-78011b32.js → p-e6f6efa6.js} +1 -1
- package/lib/dist-custom-elements/{p-37238939.js → p-ea756e9e.js} +5 -5
- package/lib/dist-custom-elements/{p-72e6996e.js → p-eb29050b.js} +1 -1
- package/lib/dist-custom-elements/{p-3d2d4efa.js → p-f6b5ce88.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-012a2ce0.entry.js → p-03522bb4.entry.js} +1 -1
- package/lib/duet/{p-bdbb23d4.entry.js → p-058dfaad.entry.js} +1 -1
- package/lib/duet/{p-688b7b42.entry.js → p-07300cb6.entry.js} +1 -1
- package/lib/duet/{p-1e387d9c.system.entry.js → p-073221c9.system.entry.js} +1 -1
- package/lib/duet/{p-ea28689d.system.entry.js → p-0738bb7d.system.entry.js} +1 -1
- package/lib/duet/p-077edef7.entry.js +4 -0
- package/lib/duet/p-0952d4a4.system.entry.js +4 -0
- package/lib/duet/{p-a16866b0.system.entry.js → p-09daf29e.system.entry.js} +1 -1
- package/lib/duet/{p-2cf703de.system.entry.js → p-0b34d9b5.system.entry.js} +1 -1
- package/lib/duet/{p-c3e1efb3.entry.js → p-0dda8331.entry.js} +1 -1
- package/lib/duet/{p-c4c876ea.entry.js → p-0fbdbb6a.entry.js} +1 -1
- package/lib/duet/{p-008c1a58.entry.js → p-13384099.entry.js} +1 -1
- package/lib/duet/{p-4e0b6493.system.entry.js → p-17d2c223.system.entry.js} +1 -1
- package/lib/duet/{p-3013b019.system.entry.js → p-17dc8da9.system.entry.js} +1 -1
- package/lib/duet/{p-ec21d1c7.system.entry.js → p-1a542b7c.system.entry.js} +1 -1
- package/lib/duet/{p-2d4742d1.entry.js → p-1b11e540.entry.js} +1 -1
- package/lib/duet/{p-e068a95b.entry.js → p-1b426189.entry.js} +1 -1
- package/lib/duet/{p-6fbef5ba.system.entry.js → p-1c7ad230.system.entry.js} +1 -1
- package/lib/duet/{p-54a0dcf8.system.entry.js → p-1d3647c6.system.entry.js} +1 -1
- package/lib/duet/{p-0027ddbf.system.entry.js → p-1d73a1d2.system.entry.js} +1 -1
- package/lib/duet/{p-ecd6a076.system.entry.js → p-1df0bbf9.system.entry.js} +1 -1
- package/lib/duet/{p-a22f0c5b.system.entry.js → p-1e6f5e74.system.entry.js} +1 -1
- package/lib/duet/{p-4f0a0167.system.entry.js → p-1f3d12d2.system.entry.js} +1 -1
- package/lib/duet/{p-fd1df6f3.js → p-225d9dbe.js} +1 -1
- package/lib/duet/{p-8ba78e5c.entry.js → p-22dd2fab.entry.js} +1 -1
- package/lib/duet/{p-037c4435.entry.js → p-22e418ea.entry.js} +1 -1
- package/lib/duet/{p-e0da6f8e.entry.js → p-245a63f4.entry.js} +1 -1
- package/lib/duet/{p-00a09181.system.entry.js → p-2528a411.system.entry.js} +1 -1
- package/lib/duet/{p-b3579acc.entry.js → p-29ce564d.entry.js} +1 -1
- package/lib/duet/{p-000412ac.entry.js → p-2a277fb6.entry.js} +1 -1
- package/lib/duet/{p-a3d2b027.system.entry.js → p-2cab347d.system.entry.js} +1 -1
- package/lib/duet/{p-283ebb7f.system.entry.js → p-2d3dbd85.system.entry.js} +1 -1
- package/lib/duet/{p-08720a1b.entry.js → p-2f8c7a7d.entry.js} +1 -1
- package/lib/duet/{p-a5591ee4.system.entry.js → p-30551712.system.entry.js} +1 -1
- package/lib/duet/{p-bb49aaf4.js → p-308b881b.js} +1 -1
- package/lib/duet/{p-1fa425d5.entry.js → p-30c684e8.entry.js} +1 -1
- package/lib/duet/{p-cb3fd41e.entry.js → p-32237f45.entry.js} +1 -1
- package/lib/duet/{p-abf41f20.system.entry.js → p-36edc06c.system.entry.js} +1 -1
- package/lib/duet/{p-adcc189e.system.entry.js → p-379e2995.system.entry.js} +1 -1
- package/lib/duet/{p-3e45156d.entry.js → p-39496689.entry.js} +1 -1
- package/lib/duet/{p-47764e81.entry.js → p-3a0676ab.entry.js} +1 -1
- package/lib/duet/{p-44cb4f55.entry.js → p-3b70cce3.entry.js} +1 -1
- package/lib/duet/p-420dfc2c.entry.js +4 -0
- package/lib/duet/{p-68b3fb35.entry.js → p-42e270f3.entry.js} +1 -1
- package/lib/duet/{p-46429778.system.entry.js → p-4a97ca92.system.entry.js} +1 -1
- package/lib/duet/{p-709a3bcc.system.entry.js → p-4f4ed95d.system.entry.js} +1 -1
- package/lib/duet/{p-2df896f8.entry.js → p-5048f9a7.entry.js} +1 -1
- package/lib/duet/{p-602d682c.system.entry.js → p-55952227.system.entry.js} +1 -1
- package/lib/duet/{p-b9475ad6.entry.js → p-56b92797.entry.js} +1 -1
- package/lib/duet/{p-9872b3f8.entry.js → p-5ad63594.entry.js} +1 -1
- package/lib/duet/{p-0c8eaaff.entry.js → p-5c444839.entry.js} +1 -1
- package/lib/duet/{p-47e4204e.system.entry.js → p-5c4a2f44.system.entry.js} +1 -1
- package/lib/duet/{p-13ec59a5.system.entry.js → p-5e7dc52a.system.entry.js} +1 -1
- package/lib/duet/{p-1ff0cf82.entry.js → p-5f2e386e.entry.js} +1 -1
- package/lib/duet/{p-3fb081dc.system.entry.js → p-62b435d1.system.entry.js} +1 -1
- package/lib/duet/{p-e53bec6b.system.js → p-62b68de6.system.js} +1 -1
- package/lib/duet/{p-d2dcddae.entry.js → p-62c70a95.entry.js} +1 -1
- package/lib/duet/{p-149a950c.entry.js → p-637f635a.entry.js} +1 -1
- package/lib/duet/{p-f3c8d6d0.entry.js → p-6392cafe.entry.js} +1 -1
- package/lib/duet/{p-0564c573.entry.js → p-6486ab91.entry.js} +1 -1
- package/lib/duet/{p-9c311a34.entry.js → p-65a5fdd5.entry.js} +1 -1
- package/lib/duet/{p-2e4c06ab.system.entry.js → p-673127ac.system.entry.js} +1 -1
- package/lib/duet/{p-35bd03c7.system.entry.js → p-6766ef3d.system.entry.js} +1 -1
- package/lib/duet/{p-ae1b8005.entry.js → p-6a07feba.entry.js} +1 -1
- package/lib/duet/{p-f5148591.system.entry.js → p-6a42d57c.system.entry.js} +1 -1
- package/lib/duet/{p-81250a24.system.entry.js → p-6a89c7d0.system.entry.js} +1 -1
- package/lib/duet/{p-2e9306c2.system.entry.js → p-6a9319ad.system.entry.js} +1 -1
- package/lib/duet/{p-6455f7e3.system.entry.js → p-6ad538a7.system.entry.js} +1 -1
- package/lib/duet/{p-bb9f0ac9.entry.js → p-6c1a2b16.entry.js} +1 -1
- package/lib/duet/{p-613310ba.entry.js → p-72a2ff4d.entry.js} +1 -1
- package/lib/duet/{p-6a37cde4.system.entry.js → p-72d1f618.system.entry.js} +1 -1
- package/lib/duet/{p-afcb0adb.entry.js → p-75898c81.entry.js} +1 -1
- package/lib/duet/{p-b7c95452.system.entry.js → p-770d0c35.system.entry.js} +1 -1
- package/lib/duet/{p-23baee2b.system.entry.js → p-779be7c6.system.entry.js} +1 -1
- package/lib/duet/{p-70ebb998.entry.js → p-78cb4832.entry.js} +1 -1
- package/lib/duet/{p-f9a7f80a.system.entry.js → p-7dea5e1a.system.entry.js} +1 -1
- package/lib/duet/{p-988287b4.entry.js → p-7f8020bf.entry.js} +1 -1
- package/lib/duet/p-80f4a443.system.js +4 -0
- package/lib/duet/{p-9a508e8a.system.entry.js → p-81668ed2.system.entry.js} +1 -1
- package/lib/duet/{p-1e494e22.entry.js → p-85ad609f.entry.js} +1 -1
- package/lib/duet/p-87f85912.system.entry.js +4 -0
- package/lib/duet/{p-8859f327.system.entry.js → p-89d9030e.system.entry.js} +1 -1
- package/lib/duet/{p-5479176d.system.entry.js → p-8c404f51.system.entry.js} +1 -1
- package/lib/duet/{p-232e3448.entry.js → p-8c9d67e4.entry.js} +1 -1
- package/lib/duet/p-8cf1327e.entry.js +4 -0
- package/lib/duet/{p-6d088fe1.entry.js → p-8ec5c49e.entry.js} +1 -1
- package/lib/duet/{p-6f943c89.entry.js → p-8f7f4724.entry.js} +1 -1
- package/lib/duet/p-8faea849.entry.js +4 -0
- package/lib/duet/{p-701e3dfb.system.entry.js → p-909e088e.system.entry.js} +1 -1
- package/lib/duet/{p-14b1b60b.system.entry.js → p-91a5c4fd.system.entry.js} +1 -1
- package/lib/duet/{p-9ce10545.system.entry.js → p-91df8a4a.system.entry.js} +1 -1
- package/lib/duet/{p-a69723b1.entry.js → p-925f2b45.entry.js} +1 -1
- package/lib/duet/{p-3e0e17a0.system.entry.js → p-931c3e1f.system.entry.js} +1 -1
- package/lib/duet/{p-4ec4a8cf.system.entry.js → p-93ef4cc2.system.entry.js} +1 -1
- package/lib/duet/{p-0559c939.system.entry.js → p-94d448f9.system.entry.js} +1 -1
- package/lib/duet/{p-e1777110.entry.js → p-98202339.entry.js} +1 -1
- package/lib/duet/{p-02f981f0.entry.js → p-9960de16.entry.js} +1 -1
- package/lib/duet/{p-82bdf011.entry.js → p-99a8b5f5.entry.js} +1 -1
- package/lib/duet/{p-4289d173.entry.js → p-9c554b07.entry.js} +1 -1
- package/lib/duet/{p-943b94e6.entry.js → p-a31222e3.entry.js} +1 -1
- package/lib/duet/{p-2fc605ca.system.entry.js → p-a4cc9386.system.entry.js} +1 -1
- package/lib/duet/{p-b60562d5.system.entry.js → p-a6917de1.system.entry.js} +1 -1
- package/lib/duet/{p-b07d932a.entry.js → p-a7c64d94.entry.js} +1 -1
- package/lib/duet/{p-6de132da.entry.js → p-a8a1d1f6.entry.js} +1 -1
- package/lib/duet/{p-2aaa024e.entry.js → p-ad3eba9a.entry.js} +1 -1
- package/lib/duet/{p-669a3254.system.entry.js → p-af3060c1.system.entry.js} +1 -1
- package/lib/duet/p-b17e6185.system.entry.js +4 -0
- package/lib/duet/{p-243440a4.entry.js → p-b3154717.entry.js} +1 -1
- package/lib/duet/p-b4e863ee.system.entry.js +4 -0
- package/lib/duet/p-b76ce62b.entry.js +4 -0
- package/lib/duet/{p-e6b03e98.entry.js → p-b906790d.entry.js} +1 -1
- package/lib/duet/{p-668f7c59.system.entry.js → p-bbadf525.system.entry.js} +1 -1
- package/lib/duet/{p-75bf0c67.system.js → p-bd1d0640.system.js} +1 -1
- package/lib/duet/{p-7b45a0a4.system.entry.js → p-c085e346.system.entry.js} +1 -1
- package/lib/duet/p-c1ccc327.entry.js +4 -0
- package/lib/duet/{p-aa7666da.entry.js → p-c424c794.entry.js} +1 -1
- package/lib/duet/{p-f1fb6acf.system.entry.js → p-c654f863.system.entry.js} +1 -1
- package/lib/duet/{p-92f91e36.system.entry.js → p-c794bee3.system.entry.js} +1 -1
- package/lib/duet/{p-026340a6.entry.js → p-c7fbe38a.entry.js} +1 -1
- package/lib/duet/{p-a2123bdd.system.entry.js → p-cad8060d.system.entry.js} +1 -1
- package/lib/duet/{p-7f29eda3.system.entry.js → p-cb5ebe92.system.entry.js} +1 -1
- package/lib/duet/{p-45656aff.system.entry.js → p-cf9279b9.system.entry.js} +1 -1
- package/lib/duet/{p-25497257.system.entry.js → p-cfde4f9a.system.entry.js} +1 -1
- package/lib/duet/{p-48de1718.entry.js → p-d159787d.entry.js} +1 -1
- package/lib/duet/{p-93f1e120.entry.js → p-d18383cd.entry.js} +1 -1
- package/lib/duet/{p-382edc5f.system.entry.js → p-d3323581.system.entry.js} +1 -1
- package/lib/duet/{p-e5f844b7.entry.js → p-d6a1c0de.entry.js} +1 -1
- package/lib/duet/p-d7425b07.entry.js +4 -0
- package/lib/duet/{p-86f91249.entry.js → p-d85d8db5.entry.js} +1 -1
- package/lib/duet/{p-34fc68cc.entry.js → p-dc9bf216.entry.js} +1 -1
- package/lib/duet/{p-2fa672b2.system.entry.js → p-de31586c.system.entry.js} +1 -1
- package/lib/duet/{p-888d9f0a.system.entry.js → p-e501bad4.system.entry.js} +1 -1
- package/lib/duet/{p-8934bed7.system.entry.js → p-e7af2cd8.system.entry.js} +1 -1
- package/lib/duet/{p-221f817d.system.entry.js → p-e9939ddb.system.entry.js} +1 -1
- package/lib/duet/{p-6476db2f.entry.js → p-eb9c8e60.entry.js} +1 -1
- package/lib/duet/{p-4eef93c1.system.entry.js → p-ed78f6fe.system.entry.js} +1 -1
- package/lib/duet/{p-b526eeaa.system.entry.js → p-ee909d5f.system.entry.js} +1 -1
- package/lib/duet/{p-e3465c7e.system.entry.js → p-ef033a06.system.entry.js} +1 -1
- package/lib/duet/{p-24745bad.system.entry.js → p-f4799c34.system.entry.js} +1 -1
- package/lib/duet/{p-1afc8ff9.system.entry.js → p-f5728af6.system.entry.js} +1 -1
- package/lib/duet/{p-238922fa.system.entry.js → p-f88ac93f.system.entry.js} +1 -1
- package/lib/duet/{p-9abdc5e1.entry.js → p-f8d00821.entry.js} +1 -1
- package/lib/duet/{p-f9d3080d.entry.js → p-fa400061.entry.js} +1 -1
- package/lib/duet/{p-185c367d.entry.js → p-fd33eb2c.entry.js} +1 -1
- package/lib/duet/{p-28e7bb58.entry.js → p-ff5f4d38.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +5 -3
- package/lib/esm/duet-combobox.entry.js +13 -10
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +43 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +39 -0
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +4 -2
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-28d5fb4c.js → focus-utils-552e67ed.js} +1 -1
- package/lib/esm/{index-36c4b0e6.js → index-5aaf4b5b.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- 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-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.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_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +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 +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +4 -0
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-552e67ed.js +4 -0
- package/lib/esm-es5/{index-36c4b0e6.js → index-5aaf4b5b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
- package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +34 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +11 -0
- package/lib/types/components/duet-upload/upload-item.d.ts +1 -0
- package/lib/types/components/duet-upload/upload-validators.d.ts +1 -0
- package/lib/types/components.d.ts +76 -1
- package/package.json +5 -5
- package/lib/duet/p-044ad522.entry.js +0 -4
- package/lib/duet/p-10d2fbee.entry.js +0 -4
- package/lib/duet/p-1e10d6e2.system.entry.js +0 -4
- package/lib/duet/p-60d9212f.entry.js +0 -4
- package/lib/duet/p-6155d256.system.js +0 -4
- package/lib/duet/p-877a6907.system.entry.js +0 -4
- package/lib/duet/p-8970a10f.system.entry.js +0 -4
- package/lib/duet/p-98f352a6.entry.js +0 -4
- package/lib/duet/p-a44015d7.entry.js +0 -4
- package/lib/duet/p-b991ebfc.entry.js +0 -4
- package/lib/esm-es5/focus-utils-28d5fb4c.js +0 -4
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
display: inline-block;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
margin: 5%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(.duet-theme-turva) {
|
|
30
|
+
margin: 3%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host(.duet-m-0) {
|
|
34
|
+
margin: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.shaped-image {
|
|
38
|
+
position: relative;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
}
|
|
43
|
+
.shaped-image .shaped-image-mask {
|
|
44
|
+
position: relative;
|
|
45
|
+
display: block;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
border-radius: 25%;
|
|
50
|
+
transform: rotate(var(--rotation));
|
|
51
|
+
}
|
|
52
|
+
.shaped-image .shaped-image-mask .shaped-image-img {
|
|
53
|
+
position: relative;
|
|
54
|
+
display: block;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
background-repeat: no-repeat;
|
|
58
|
+
background-position: center;
|
|
59
|
+
background-size: cover;
|
|
60
|
+
transform: scale(1.07) rotate(calc(-1 * var(--rotation)));
|
|
61
|
+
transform-origin: center;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host(.duet-theme-turva) .shaped-image .shaped-image-mask {
|
|
65
|
+
transform: none;
|
|
66
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
|
|
67
|
+
-webkit-mask-repeat: no-repeat;
|
|
68
|
+
mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
|
|
69
|
+
mask-repeat: no-repeat;
|
|
70
|
+
}
|
|
71
|
+
:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img {
|
|
72
|
+
transform: none;
|
|
73
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
export class DuetShapedImage {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.theme = "";
|
|
9
|
+
this.accessibleLabel = undefined;
|
|
10
|
+
this.margin = "auto";
|
|
11
|
+
this.src = undefined;
|
|
12
|
+
this.rotation = 7;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Component lifecycle events.
|
|
16
|
+
*/
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
inheritGlobalTheme(this);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* render() function
|
|
22
|
+
* Always the last one of the class.
|
|
23
|
+
*/
|
|
24
|
+
render() {
|
|
25
|
+
const style = {
|
|
26
|
+
"--rotation": `${this.rotation}deg`,
|
|
27
|
+
};
|
|
28
|
+
return (h(Host, { class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { class: {
|
|
29
|
+
"shaped-image": true,
|
|
30
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { class: "shaped-image-mask", role: "presentation" }, h("span", { class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "duet-shaped-image"; }
|
|
33
|
+
static get encapsulation() { return "shadow"; }
|
|
34
|
+
static get originalStyleUrls() {
|
|
35
|
+
return {
|
|
36
|
+
"$": ["duet-shaped-image.scss"]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static get styleUrls() {
|
|
40
|
+
return {
|
|
41
|
+
"$": ["duet-shaped-image.css"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
static get properties() {
|
|
45
|
+
return {
|
|
46
|
+
"theme": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": true,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "DuetTheme",
|
|
51
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
52
|
+
"references": {
|
|
53
|
+
"DuetTheme": {
|
|
54
|
+
"location": "import",
|
|
55
|
+
"path": "../../common-types"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": false,
|
|
60
|
+
"optional": false,
|
|
61
|
+
"docs": {
|
|
62
|
+
"tags": [],
|
|
63
|
+
"text": "Theme of the component."
|
|
64
|
+
},
|
|
65
|
+
"attribute": "theme",
|
|
66
|
+
"reflect": false,
|
|
67
|
+
"defaultValue": "\"\""
|
|
68
|
+
},
|
|
69
|
+
"accessibleLabel": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"mutable": false,
|
|
72
|
+
"complexType": {
|
|
73
|
+
"original": "string",
|
|
74
|
+
"resolved": "string",
|
|
75
|
+
"references": {}
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"optional": false,
|
|
79
|
+
"docs": {
|
|
80
|
+
"tags": [],
|
|
81
|
+
"text": "Adds accessible label for the image that is only shown for screen readers."
|
|
82
|
+
},
|
|
83
|
+
"attribute": "accessible-label",
|
|
84
|
+
"reflect": false
|
|
85
|
+
},
|
|
86
|
+
"margin": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "DuetMargin",
|
|
91
|
+
"resolved": "\"auto\" | \"none\"",
|
|
92
|
+
"references": {
|
|
93
|
+
"DuetMargin": {
|
|
94
|
+
"location": "import",
|
|
95
|
+
"path": "../../common-types"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "Controls the margin of the component."
|
|
104
|
+
},
|
|
105
|
+
"attribute": "margin",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "\"auto\""
|
|
108
|
+
},
|
|
109
|
+
"src": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "A URL from which to load an image."
|
|
122
|
+
},
|
|
123
|
+
"attribute": "src",
|
|
124
|
+
"reflect": false
|
|
125
|
+
},
|
|
126
|
+
"rotation": {
|
|
127
|
+
"type": "number",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "7 | -7",
|
|
131
|
+
"resolved": "-7 | 7",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [{
|
|
138
|
+
"name": "default",
|
|
139
|
+
"text": "\"7\""
|
|
140
|
+
}],
|
|
141
|
+
"text": "Rotation. Note: in 'turva' theme there's no rotation."
|
|
142
|
+
},
|
|
143
|
+
"attribute": "rotation",
|
|
144
|
+
"reflect": false,
|
|
145
|
+
"defaultValue": "7"
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -233,7 +233,7 @@ export class DuetSlideout {
|
|
|
233
233
|
"references": {
|
|
234
234
|
"DuetSlideoutEventDetails": {
|
|
235
235
|
"location": "local",
|
|
236
|
-
"path": "/Users/
|
|
236
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-slideout/duet-slideout.tsx"
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -49,7 +49,7 @@ export class DuetSpacer {
|
|
|
49
49
|
"references": {
|
|
50
50
|
"DuetSpacerSize": {
|
|
51
51
|
"location": "local",
|
|
52
|
-
"path": "/Users/
|
|
52
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spacer/duet-spacer.tsx"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|
|
@@ -95,7 +95,7 @@ export class DuetSpacer {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"DuetSpacerBreakpoint": {
|
|
97
97
|
"location": "local",
|
|
98
|
-
"path": "/Users/
|
|
98
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spacer/duet-spacer.tsx"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -95,7 +95,7 @@ export class DuetSpinner {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"DuetSpinnerSize": {
|
|
97
97
|
"location": "local",
|
|
98
|
-
"path": "/Users/
|
|
98
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-spinner/duet-spinner.tsx"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -193,7 +193,7 @@ export class DuetStep {
|
|
|
193
193
|
"references": {
|
|
194
194
|
"DuetStepState": {
|
|
195
195
|
"location": "local",
|
|
196
|
-
"path": "/Users/
|
|
196
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-step/duet-step.tsx"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -270,7 +270,7 @@ export class DuetStep {
|
|
|
270
270
|
"references": {
|
|
271
271
|
"DuetStepClickEvent": {
|
|
272
272
|
"location": "local",
|
|
273
|
-
"path": "/Users/
|
|
273
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-step/duet-step.tsx"
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -223,7 +223,7 @@ export class DuetStepper {
|
|
|
223
223
|
"references": {
|
|
224
224
|
"DuetStepChangeEvent": {
|
|
225
225
|
"location": "local",
|
|
226
|
-
"path": "/Users/
|
|
226
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-stepper/duet-stepper.tsx"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -309,7 +309,7 @@ export class DuetTabGroup {
|
|
|
309
309
|
"references": {
|
|
310
310
|
"DuetTabVariation": {
|
|
311
311
|
"location": "local",
|
|
312
|
-
"path": "/Users/
|
|
312
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
},
|
|
@@ -545,7 +545,7 @@ export class DuetTabGroup {
|
|
|
545
545
|
"references": {
|
|
546
546
|
"DuetTabGroupEvent": {
|
|
547
547
|
"location": "local",
|
|
548
|
-
"path": "/Users/
|
|
548
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
}
|
|
@@ -565,7 +565,7 @@ export class DuetTabGroup {
|
|
|
565
565
|
"references": {
|
|
566
566
|
"DuetTabGroupEvent": {
|
|
567
567
|
"location": "local",
|
|
568
|
-
"path": "/Users/
|
|
568
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -585,7 +585,7 @@ export class DuetTabGroup {
|
|
|
585
585
|
"references": {
|
|
586
586
|
"DuetTabGroupEvent": {
|
|
587
587
|
"location": "local",
|
|
588
|
-
"path": "/Users/
|
|
588
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
}
|
|
@@ -606,7 +606,7 @@ export class DuetTabGroup {
|
|
|
606
606
|
},
|
|
607
607
|
"DuetTabGroupEvent": {
|
|
608
608
|
"location": "local",
|
|
609
|
-
"path": "/Users/
|
|
609
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
610
610
|
}
|
|
611
611
|
},
|
|
612
612
|
"return": "Promise<void>"
|
|
@@ -754,7 +754,7 @@ export class DuetTextarea {
|
|
|
754
754
|
"references": {
|
|
755
755
|
"DuetTextareaEvent": {
|
|
756
756
|
"location": "local",
|
|
757
|
-
"path": "/Users/
|
|
757
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
}
|
|
@@ -774,7 +774,7 @@ export class DuetTextarea {
|
|
|
774
774
|
"references": {
|
|
775
775
|
"DuetTextareaEvent": {
|
|
776
776
|
"location": "local",
|
|
777
|
-
"path": "/Users/
|
|
777
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
}
|
|
@@ -794,7 +794,7 @@ export class DuetTextarea {
|
|
|
794
794
|
"references": {
|
|
795
795
|
"DuetTextareaEvent": {
|
|
796
796
|
"location": "local",
|
|
797
|
-
"path": "/Users/
|
|
797
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
}
|
|
@@ -814,7 +814,7 @@ export class DuetTextarea {
|
|
|
814
814
|
"references": {
|
|
815
815
|
"DuetTextareaEvent": {
|
|
816
816
|
"location": "local",
|
|
817
|
-
"path": "/Users/
|
|
817
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
}
|
|
@@ -432,7 +432,7 @@ export class DuetToggle {
|
|
|
432
432
|
"references": {
|
|
433
433
|
"DuetToggleChangeEvent": {
|
|
434
434
|
"location": "local",
|
|
435
|
-
"path": "/Users/
|
|
435
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-toggle/duet-toggle.tsx"
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large, media_query_medium } from "@duetds/tokens/lib/tokens.json";
|
|
5
5
|
import { arrow, computePosition, flip, shift } from "@floating-ui/dom";
|
|
6
|
-
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
@@ -128,7 +128,9 @@ export class DuetTooltip {
|
|
|
128
128
|
inheritGlobalTheme(this);
|
|
129
129
|
}
|
|
130
130
|
componentDidLoad() {
|
|
131
|
-
|
|
131
|
+
if (!Build.isServer) {
|
|
132
|
+
this.updatePlacement();
|
|
133
|
+
}
|
|
132
134
|
}
|
|
133
135
|
componentDidUpdate() {
|
|
134
136
|
switch (this.focusTarget) {
|
|
@@ -422,7 +424,7 @@ export class DuetTooltip {
|
|
|
422
424
|
"references": {
|
|
423
425
|
"DuetTooltipBreakpoint": {
|
|
424
426
|
"location": "local",
|
|
425
|
-
"path": "/Users/
|
|
427
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-tooltip/duet-tooltip.tsx"
|
|
426
428
|
}
|
|
427
429
|
}
|
|
428
430
|
},
|
|
@@ -10,7 +10,7 @@ import errorCodes from "./errorcodes.json";
|
|
|
10
10
|
import { getI18nError } from "./errorcodes.utils";
|
|
11
11
|
import { UploadItem } from "./upload-item";
|
|
12
12
|
import { UploadItemHeader } from "./upload-item-header";
|
|
13
|
-
import { validateFile, validateTotalAmountIsAboveMax, validateTotalSizeIsAboveMax } from "./upload-validators";
|
|
13
|
+
import { filesToUploadCountAboveMax, validateFile, validateTotalAmountIsAboveMax, validateTotalSizeIsAboveMax, } from "./upload-validators";
|
|
14
14
|
import { makeXhrRequest, } from "./xhr.helpers";
|
|
15
15
|
/**
|
|
16
16
|
* @slot header - named slot - to place content after description / caption (if caption is on top)
|
|
@@ -33,6 +33,7 @@ export class DuetUpload {
|
|
|
33
33
|
this.filesInProgress = new Map();
|
|
34
34
|
this.fileMaxReached = false;
|
|
35
35
|
this.bytesMaxReached = false;
|
|
36
|
+
this.filesToUploadExceedsLimit = false;
|
|
36
37
|
this.internalStatusMessageLabel = undefined;
|
|
37
38
|
/**
|
|
38
39
|
* Properties
|
|
@@ -106,7 +107,7 @@ export class DuetUpload {
|
|
|
106
107
|
};
|
|
107
108
|
this.mapFilesToUploadItems = (data, group, showCategory) => {
|
|
108
109
|
if (group === this.DefaultGroups.success) {
|
|
109
|
-
return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
|
|
110
|
+
return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, onLinkClick: this.emitEvent ? this.onLinkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
|
|
110
111
|
}
|
|
111
112
|
else if (group === this.DefaultGroups.inprogress) {
|
|
112
113
|
return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
|
|
@@ -399,6 +400,14 @@ export class DuetUpload {
|
|
|
399
400
|
data: { files: this.files },
|
|
400
401
|
});
|
|
401
402
|
};
|
|
403
|
+
this.onLinkClick = (name, url, meta) => {
|
|
404
|
+
if (this.emitEvent) {
|
|
405
|
+
this.linkClick.emit({
|
|
406
|
+
component: "duet-upload",
|
|
407
|
+
data: { name, url, meta },
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
};
|
|
402
411
|
/**
|
|
403
412
|
* @description This functions return sorted map items byg condition which are:
|
|
404
413
|
*/
|
|
@@ -592,6 +601,7 @@ export class DuetUpload {
|
|
|
592
601
|
en: "Uploaded file",
|
|
593
602
|
};
|
|
594
603
|
this.hideHeader = false;
|
|
604
|
+
this.emitEvent = false;
|
|
595
605
|
this.groups = [
|
|
596
606
|
{
|
|
597
607
|
id: this.DefaultGroups.success,
|
|
@@ -722,7 +732,7 @@ export class DuetUpload {
|
|
|
722
732
|
this.externalUploadButton.ariaLabel = caption;
|
|
723
733
|
}
|
|
724
734
|
// @ts-ignore
|
|
725
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment, null, h("duet-spacer", { size: "large" }), h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached || this.bytesMaxReached) && (h(Fragment, null, h("duet-spacer", { size: "medium" }), h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes)))), h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
|
|
735
|
+
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment, null, h("duet-spacer", { size: "large" }), h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached || this.bytesMaxReached || this.filesToUploadExceedsLimit) && (h(Fragment, null, h("duet-spacer", { size: "medium" }), h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes)))), h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
|
|
726
736
|
this.nativeInput = input;
|
|
727
737
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
728
738
|
"duet-upload": true,
|
|
@@ -793,6 +803,12 @@ export class DuetUpload {
|
|
|
793
803
|
// FileList is a nice array like structure but
|
|
794
804
|
// to ensure uniqueness of files we use a mapping structure and
|
|
795
805
|
// key to the name (makes it easier to delete as well)
|
|
806
|
+
this.filesToUploadExceedsLimit = false;
|
|
807
|
+
if (filesToUploadCountAboveMax(this.files.size, selectedFiles.length, this.maxFiles)) {
|
|
808
|
+
this.filesToUploadExceedsLimit = true;
|
|
809
|
+
this.kick();
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
796
812
|
if (selectedFiles) {
|
|
797
813
|
for (const item of selectedFiles) {
|
|
798
814
|
const { valid, errorMessage, errorType, errorSystem } = validateFile(item, {
|
|
@@ -952,7 +968,7 @@ export class DuetUpload {
|
|
|
952
968
|
"references": {
|
|
953
969
|
"XHRInternalMiddleWare": {
|
|
954
970
|
"location": "local",
|
|
955
|
-
"path": "/Users/
|
|
971
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
956
972
|
}
|
|
957
973
|
}
|
|
958
974
|
},
|
|
@@ -1331,7 +1347,7 @@ export class DuetUpload {
|
|
|
1331
1347
|
"references": {
|
|
1332
1348
|
"StringMap": {
|
|
1333
1349
|
"location": "local",
|
|
1334
|
-
"path": "/Users/
|
|
1350
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1335
1351
|
}
|
|
1336
1352
|
}
|
|
1337
1353
|
},
|
|
@@ -1802,6 +1818,24 @@ export class DuetUpload {
|
|
|
1802
1818
|
"reflect": false,
|
|
1803
1819
|
"defaultValue": "false"
|
|
1804
1820
|
},
|
|
1821
|
+
"emitEvent": {
|
|
1822
|
+
"type": "boolean",
|
|
1823
|
+
"mutable": false,
|
|
1824
|
+
"complexType": {
|
|
1825
|
+
"original": "boolean",
|
|
1826
|
+
"resolved": "boolean",
|
|
1827
|
+
"references": {}
|
|
1828
|
+
},
|
|
1829
|
+
"required": false,
|
|
1830
|
+
"optional": false,
|
|
1831
|
+
"docs": {
|
|
1832
|
+
"tags": [],
|
|
1833
|
+
"text": "If link-click-event is set to true then upload component\nwill emit an event on uploaded file link click (check linkClick event)."
|
|
1834
|
+
},
|
|
1835
|
+
"attribute": "link-click-event",
|
|
1836
|
+
"reflect": false,
|
|
1837
|
+
"defaultValue": "false"
|
|
1838
|
+
},
|
|
1805
1839
|
"groups": {
|
|
1806
1840
|
"type": "unknown",
|
|
1807
1841
|
"mutable": false,
|
|
@@ -1811,7 +1845,7 @@ export class DuetUpload {
|
|
|
1811
1845
|
"references": {
|
|
1812
1846
|
"DuetUploadTableGroupName": {
|
|
1813
1847
|
"location": "local",
|
|
1814
|
-
"path": "/Users/
|
|
1848
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1815
1849
|
}
|
|
1816
1850
|
}
|
|
1817
1851
|
},
|
|
@@ -1853,7 +1887,7 @@ export class DuetUpload {
|
|
|
1853
1887
|
"references": {
|
|
1854
1888
|
"DuetUploadEvent": {
|
|
1855
1889
|
"location": "local",
|
|
1856
|
-
"path": "/Users/
|
|
1890
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1857
1891
|
}
|
|
1858
1892
|
}
|
|
1859
1893
|
}
|
|
@@ -1873,7 +1907,7 @@ export class DuetUpload {
|
|
|
1873
1907
|
"references": {
|
|
1874
1908
|
"DuetUploadEvent": {
|
|
1875
1909
|
"location": "local",
|
|
1876
|
-
"path": "/Users/
|
|
1910
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1877
1911
|
}
|
|
1878
1912
|
}
|
|
1879
1913
|
}
|
|
@@ -1893,7 +1927,7 @@ export class DuetUpload {
|
|
|
1893
1927
|
"references": {
|
|
1894
1928
|
"DuetUploadEvent": {
|
|
1895
1929
|
"location": "local",
|
|
1896
|
-
"path": "/Users/
|
|
1930
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1897
1931
|
}
|
|
1898
1932
|
}
|
|
1899
1933
|
}
|
|
@@ -1913,7 +1947,7 @@ export class DuetUpload {
|
|
|
1913
1947
|
"references": {
|
|
1914
1948
|
"DuetUploadEvent": {
|
|
1915
1949
|
"location": "local",
|
|
1916
|
-
"path": "/Users/
|
|
1950
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1917
1951
|
}
|
|
1918
1952
|
}
|
|
1919
1953
|
}
|
|
@@ -1933,7 +1967,7 @@ export class DuetUpload {
|
|
|
1933
1967
|
"references": {
|
|
1934
1968
|
"DuetUploadEvent": {
|
|
1935
1969
|
"location": "local",
|
|
1936
|
-
"path": "/Users/
|
|
1970
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1937
1971
|
}
|
|
1938
1972
|
}
|
|
1939
1973
|
}
|
|
@@ -1953,7 +1987,7 @@ export class DuetUpload {
|
|
|
1953
1987
|
"references": {
|
|
1954
1988
|
"DuetUploadEvent": {
|
|
1955
1989
|
"location": "local",
|
|
1956
|
-
"path": "/Users/
|
|
1990
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1957
1991
|
}
|
|
1958
1992
|
}
|
|
1959
1993
|
}
|
|
@@ -1973,7 +2007,7 @@ export class DuetUpload {
|
|
|
1973
2007
|
"references": {
|
|
1974
2008
|
"DuetUploadEvent": {
|
|
1975
2009
|
"location": "local",
|
|
1976
|
-
"path": "/Users/
|
|
2010
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1977
2011
|
}
|
|
1978
2012
|
}
|
|
1979
2013
|
}
|
|
@@ -1993,7 +2027,7 @@ export class DuetUpload {
|
|
|
1993
2027
|
"references": {
|
|
1994
2028
|
"DuetUploadEvent": {
|
|
1995
2029
|
"location": "local",
|
|
1996
|
-
"path": "/Users/
|
|
2030
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
1997
2031
|
}
|
|
1998
2032
|
}
|
|
1999
2033
|
}
|
|
@@ -2013,7 +2047,7 @@ export class DuetUpload {
|
|
|
2013
2047
|
"references": {
|
|
2014
2048
|
"DuetUploadEvent": {
|
|
2015
2049
|
"location": "local",
|
|
2016
|
-
"path": "/Users/
|
|
2050
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
2017
2051
|
}
|
|
2018
2052
|
}
|
|
2019
2053
|
}
|
|
@@ -2033,7 +2067,27 @@ export class DuetUpload {
|
|
|
2033
2067
|
"references": {
|
|
2034
2068
|
"DuetUploadEvent": {
|
|
2035
2069
|
"location": "local",
|
|
2036
|
-
"path": "/Users/
|
|
2070
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
}, {
|
|
2075
|
+
"method": "linkClick",
|
|
2076
|
+
"name": "linkClick",
|
|
2077
|
+
"bubbles": false,
|
|
2078
|
+
"cancelable": true,
|
|
2079
|
+
"composed": true,
|
|
2080
|
+
"docs": {
|
|
2081
|
+
"tags": [],
|
|
2082
|
+
"text": "Emitted when the user clicks the uploaded file link and link-click-event prop is set to true"
|
|
2083
|
+
},
|
|
2084
|
+
"complexType": {
|
|
2085
|
+
"original": "DuetUploadEvent",
|
|
2086
|
+
"resolved": "{ originalEvent?: Event; data?: Record<string, any>; metaData?: Record<string, any>; component: \"duet-upload\"; }",
|
|
2087
|
+
"references": {
|
|
2088
|
+
"DuetUploadEvent": {
|
|
2089
|
+
"location": "local",
|
|
2090
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-upload/duet-upload.tsx"
|
|
2037
2091
|
}
|
|
2038
2092
|
}
|
|
2039
2093
|
}
|