@duetds/components 6.8.5 → 6.8.7
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 +177 -52
- 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-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.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 +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +76 -31
- 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 +2 -2
- 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 +34 -5
- 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 +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-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-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-slideout-lang.cjs.entry.js +2 -2
- 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 +6 -4
- 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 +26 -4
- 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 +3 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +39 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- 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-37a486af.js → focus-utils-b501431f.js} +1 -1
- package/lib/cjs/{index-6f5a3a97.js → index-13388615.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- 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-breadcrumbs/duet-breadcrumbs.css +17 -9
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.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.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +1 -1
- 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 +26 -7
- 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.css +67 -10
- 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 +4 -4
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +14 -4
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -5
- 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-nav/duet-nav.js +1 -1
- 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-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.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.css +15 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +50 -4
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- 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-toolbar/duet-toolbar.css +11 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +67 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +19 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.css +22 -0
- package/lib/collection/components/duet-upload/duet-upload.js +103 -34
- package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -1
- package/lib/collection/components/duet-upload/upload-editable-item-success.js +11 -3
- package/lib/collection/components/duet-upload/upload-item-category.js +8 -0
- package/lib/collection/components/duet-upload/upload-item.js +16 -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-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- 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 +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- 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 +1 -1
- 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 +10 -10
- 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 +39 -7
- 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 +2 -2
- 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-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-slideout-lang.js +3 -3
- 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 +6 -4
- 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 +29 -5
- package/lib/dist-custom-elements/duet-tab-group.js +9 -9
- 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 +5 -3
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +43 -4
- 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 +92 -46
- 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-6b2ce804.js → p-05af1562.js} +1 -1
- package/lib/dist-custom-elements/{p-68cadecc.js → p-136bba51.js} +1 -1
- package/lib/dist-custom-elements/{p-2e134a85.js → p-1460a593.js} +1 -1
- package/lib/dist-custom-elements/{p-2fdc173c.js → p-15a0e9fd.js} +3 -3
- package/lib/dist-custom-elements/{p-4ebb8421.js → p-18ecc42e.js} +3 -3
- package/lib/dist-custom-elements/{p-8c7ba159.js → p-19150a67.js} +1 -1
- package/lib/dist-custom-elements/{p-cd14282a.js → p-194c6d5b.js} +1 -1
- package/lib/dist-custom-elements/{p-29249230.js → p-1cbf685d.js} +1 -1
- package/lib/dist-custom-elements/{p-0ccf72fa.js → p-29949e1b.js} +1 -1
- package/lib/dist-custom-elements/{p-0696d787.js → p-30637273.js} +4 -4
- package/lib/dist-custom-elements/{p-f8879c12.js → p-3644a561.js} +1 -1
- package/lib/dist-custom-elements/{p-bf14f0f8.js → p-4672eb29.js} +2 -2
- package/lib/dist-custom-elements/{p-28adb7fb.js → p-4a21157d.js} +2 -2
- package/lib/dist-custom-elements/{p-959d322b.js → p-4d8d1b92.js} +1 -1
- package/lib/dist-custom-elements/{p-b7ca2d79.js → p-5146b16a.js} +1 -1
- package/lib/dist-custom-elements/{p-3c33adbf.js → p-5343b436.js} +2 -2
- package/lib/dist-custom-elements/{p-313e06d8.js → p-5e8a98c7.js} +2 -2
- package/lib/dist-custom-elements/{p-fb2bc18b.js → p-68ebd7ae.js} +6 -6
- package/lib/dist-custom-elements/{p-a99b2301.js → p-69659e26.js} +1 -1
- package/lib/dist-custom-elements/{p-7f29b745.js → p-7180327e.js} +1 -1
- package/lib/dist-custom-elements/{p-14693ab8.js → p-7c186545.js} +8 -8
- package/lib/dist-custom-elements/{p-7f5d00ac.js → p-7c5c5437.js} +1 -1
- package/lib/dist-custom-elements/{p-9487cba1.js → p-8b969843.js} +1 -1
- package/lib/dist-custom-elements/{p-aae0cdb6.js → p-950410b7.js} +2 -2
- package/lib/dist-custom-elements/{p-05ca18f5.js → p-9c053778.js} +1 -1
- package/lib/dist-custom-elements/{p-02e545b7.js → p-a4e7ed86.js} +1 -1
- package/lib/dist-custom-elements/{p-c714f33d.js → p-d0fad319.js} +3 -3
- package/lib/dist-custom-elements/{p-fb62bc38.js → p-d307a46b.js} +1 -1
- package/lib/dist-custom-elements/{p-5c82d569.js → p-d4fea7f4.js} +1 -1
- package/lib/dist-custom-elements/{p-fd472f42.js → p-e67ec38e.js} +5 -5
- package/lib/dist-custom-elements/{p-702e2d96.js → p-f316bb52.js} +1 -1
- package/lib/dist-custom-elements/{p-adfa75f8.js → p-fdc72d0f.js} +12 -10
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-ad936690.system.entry.js → p-01aaa7a2.system.entry.js} +1 -1
- package/lib/duet/{p-7ee5cf27.system.entry.js → p-028ec3d7.system.entry.js} +1 -1
- package/lib/duet/{p-b17088f0.system.entry.js → p-0614e1c5.system.entry.js} +1 -1
- package/lib/duet/{p-81d08141.entry.js → p-0a996015.entry.js} +1 -1
- package/lib/duet/{p-bdc0fe30.system.entry.js → p-0d2741c1.system.entry.js} +1 -1
- package/lib/duet/{p-a07e1194.js → p-10ea9dce.js} +1 -1
- package/lib/duet/{p-df5f218c.system.entry.js → p-12970382.system.entry.js} +1 -1
- package/lib/duet/{p-b581a3bb.entry.js → p-13409919.entry.js} +1 -1
- package/lib/duet/{p-ce0ee352.system.entry.js → p-13815abb.system.entry.js} +1 -1
- package/lib/duet/{p-bc674367.system.entry.js → p-14fa519e.system.entry.js} +1 -1
- package/lib/duet/{p-13a45164.entry.js → p-1503bfe4.entry.js} +1 -1
- package/lib/duet/p-1585e4fa.entry.js +4 -0
- package/lib/duet/{p-72830e75.entry.js → p-161ddf06.entry.js} +1 -1
- package/lib/duet/{p-320e55ab.entry.js → p-17baf252.entry.js} +1 -1
- package/lib/duet/{p-69b85da0.system.entry.js → p-187153ca.system.entry.js} +1 -1
- package/lib/duet/{p-7981e13b.system.entry.js → p-18e72b2c.system.entry.js} +1 -1
- package/lib/duet/{p-fc0c9ac3.entry.js → p-19a7afea.entry.js} +1 -1
- package/lib/duet/{p-12bb63b7.entry.js → p-19ee06ab.entry.js} +1 -1
- package/lib/duet/{p-b2838ccd.entry.js → p-1b8a0131.entry.js} +1 -1
- package/lib/duet/{p-8a801ef7.entry.js → p-1e130f27.entry.js} +1 -1
- package/lib/duet/{p-477f553f.entry.js → p-1ede9679.entry.js} +1 -1
- package/lib/duet/{p-6446cfa5.entry.js → p-1f912fb4.entry.js} +1 -1
- package/lib/duet/{p-91bdc352.entry.js → p-208d4e98.entry.js} +1 -1
- package/lib/duet/{p-5eb41b56.system.entry.js → p-255f1542.system.entry.js} +1 -1
- package/lib/duet/{p-e501c893.system.entry.js → p-25e10b51.system.entry.js} +1 -1
- package/lib/duet/p-25f14ac5.system.entry.js +4 -0
- package/lib/duet/{p-24e34082.system.entry.js → p-2718896c.system.entry.js} +1 -1
- package/lib/duet/{p-4b9e5447.system.entry.js → p-28d6f291.system.entry.js} +1 -1
- package/lib/duet/{p-682ccc00.entry.js → p-2bd4d42d.entry.js} +1 -1
- package/lib/duet/{p-7ff69245.system.entry.js → p-2e119045.system.entry.js} +1 -1
- package/lib/duet/p-2e394748.system.entry.js +4 -0
- package/lib/duet/p-323d22b9.entry.js +4 -0
- package/lib/duet/p-330febf7.entry.js +4 -0
- package/lib/duet/{p-2b3edac6.system.entry.js → p-35c0d8e2.system.entry.js} +1 -1
- package/lib/duet/{p-576e7135.entry.js → p-3baf3dcc.entry.js} +1 -1
- package/lib/duet/{p-0e81a136.system.entry.js → p-3bf4a093.system.entry.js} +1 -1
- package/lib/duet/{p-f8fe134c.entry.js → p-3ca9a002.entry.js} +1 -1
- package/lib/duet/{p-47f8be1e.system.entry.js → p-3d2bcd2e.system.entry.js} +1 -1
- package/lib/duet/{p-126b0216.entry.js → p-3f4fcae9.entry.js} +1 -1
- package/lib/duet/{p-f32e95bb.system.entry.js → p-427f78f8.system.entry.js} +1 -1
- package/lib/duet/{p-a3a9a1b8.system.entry.js → p-433fb103.system.entry.js} +1 -1
- package/lib/duet/{p-576c31f3.entry.js → p-488f5515.entry.js} +1 -1
- package/lib/duet/{p-88ed5a90.entry.js → p-4a2569f0.entry.js} +1 -1
- package/lib/duet/{p-fda01bca.entry.js → p-4aae5fa5.entry.js} +1 -1
- package/lib/duet/{p-1bd49c6c.entry.js → p-508e5f90.entry.js} +1 -1
- package/lib/duet/{p-34b64696.system.entry.js → p-54083f7e.system.entry.js} +1 -1
- package/lib/duet/{p-6d7c1dcc.system.entry.js → p-56bdca95.system.entry.js} +1 -1
- package/lib/duet/{p-6f1da07b.entry.js → p-579feef2.entry.js} +1 -1
- package/lib/duet/{p-e9c85d4e.system.entry.js → p-5d12bac3.system.entry.js} +1 -1
- package/lib/duet/{p-a9a5200e.entry.js → p-5eca64bb.entry.js} +1 -1
- package/lib/duet/{p-2e49efe9.entry.js → p-5f5191d3.entry.js} +1 -1
- package/lib/duet/{p-57846bb5.system.entry.js → p-65438201.system.entry.js} +1 -1
- package/lib/duet/p-65d31e27.entry.js +4 -0
- package/lib/duet/{p-70aedb94.system.entry.js → p-669cf7dd.system.entry.js} +1 -1
- package/lib/duet/{p-62228568.entry.js → p-69542357.entry.js} +1 -1
- package/lib/duet/{p-f518c0a0.system.entry.js → p-69d5c27d.system.entry.js} +1 -1
- package/lib/duet/p-69f480e1.entry.js +4 -0
- package/lib/duet/{p-8044edc7.system.entry.js → p-6a9f3539.system.entry.js} +1 -1
- package/lib/duet/{p-3d915826.entry.js → p-6dc4a6b7.entry.js} +1 -1
- package/lib/duet/p-72abda3c.entry.js +4 -0
- package/lib/duet/{p-b6a726fc.system.entry.js → p-7770a36f.system.entry.js} +1 -1
- package/lib/duet/{p-775fc78c.system.entry.js → p-778ac454.system.entry.js} +1 -1
- package/lib/duet/{p-c60c531f.entry.js → p-780a75a2.entry.js} +1 -1
- package/lib/duet/{p-b132b5df.system.entry.js → p-78bc14ae.system.entry.js} +1 -1
- package/lib/duet/{p-0f79b452.system.entry.js → p-796ba871.system.entry.js} +1 -1
- package/lib/duet/{p-f3c22a2f.entry.js → p-7b5cc047.entry.js} +1 -1
- package/lib/duet/p-7f317b88.entry.js +4 -0
- package/lib/duet/{p-96a2cd90.entry.js → p-7fce8695.entry.js} +1 -1
- package/lib/duet/{p-0a5ee4c0.entry.js → p-80d61c0b.entry.js} +1 -1
- package/lib/duet/{p-eb63c8f0.system.entry.js → p-8155e4f7.system.entry.js} +1 -1
- package/lib/duet/{p-5956cfad.system.entry.js → p-823197ed.system.entry.js} +1 -1
- package/lib/duet/{p-db9ac8a2.system.entry.js → p-8232b1d5.system.entry.js} +1 -1
- package/lib/duet/{p-7677034c.entry.js → p-82be0673.entry.js} +1 -1
- package/lib/duet/{p-b5b3ab80.system.entry.js → p-851ad654.system.entry.js} +1 -1
- package/lib/duet/{p-3f2e2726.system.entry.js → p-85c6f600.system.entry.js} +1 -1
- package/lib/duet/p-8a4ed826.entry.js +4 -0
- package/lib/duet/{p-23e9caeb.system.entry.js → p-8abf9da5.system.entry.js} +1 -1
- package/lib/duet/{p-3aec0017.system.entry.js → p-8b2728c2.system.entry.js} +1 -1
- package/lib/duet/{p-73d50c9c.entry.js → p-8bded27b.entry.js} +1 -1
- package/lib/duet/{p-f4ad0c9c.entry.js → p-8c4d279b.entry.js} +1 -1
- package/lib/duet/{p-cc6d13b2.system.entry.js → p-90cfdbb8.system.entry.js} +1 -1
- package/lib/duet/{p-715016fb.entry.js → p-94244bf4.entry.js} +1 -1
- package/lib/duet/{p-e24d6a72.entry.js → p-957af858.entry.js} +1 -1
- package/lib/duet/{p-2d400724.system.entry.js → p-9780467a.system.entry.js} +1 -1
- package/lib/duet/p-97c4ff91.entry.js +4 -0
- package/lib/duet/{p-d6d7165c.system.entry.js → p-99a34692.system.entry.js} +1 -1
- package/lib/duet/p-9ae7a189.js +4 -0
- package/lib/duet/{p-c274e869.system.entry.js → p-9d040ae3.system.entry.js} +1 -1
- package/lib/duet/{p-6c4c2102.system.entry.js → p-9e97cd91.system.entry.js} +1 -1
- package/lib/duet/{p-bf48a550.entry.js → p-a132127e.entry.js} +1 -1
- package/lib/duet/{p-98daf9ba.entry.js → p-a16eed4d.entry.js} +1 -1
- package/lib/duet/p-a36d502c.system.entry.js +4 -0
- package/lib/duet/p-a842a56f.entry.js +4 -0
- package/lib/duet/{p-f7c1f47c.system.entry.js → p-a8964560.system.entry.js} +1 -1
- package/lib/duet/{p-4694e76b.system.entry.js → p-aaf64918.system.entry.js} +1 -1
- package/lib/duet/{p-8f91a9d2.entry.js → p-adcd531d.entry.js} +1 -1
- package/lib/duet/{p-9f9a8841.system.entry.js → p-b26d675a.system.entry.js} +1 -1
- package/lib/duet/{p-78ac6b1f.entry.js → p-b672f754.entry.js} +1 -1
- package/lib/duet/{p-2f72d12a.system.js → p-b8735715.system.js} +1 -1
- package/lib/duet/{p-7e109c31.entry.js → p-bac833e6.entry.js} +1 -1
- package/lib/duet/{p-1b362e7c.system.entry.js → p-bc1d488f.system.entry.js} +1 -1
- package/lib/duet/{p-a5f7e606.system.entry.js → p-bc75a8d1.system.entry.js} +1 -1
- package/lib/duet/{p-bb7d4e61.entry.js → p-bdb56679.entry.js} +1 -1
- package/lib/duet/{p-e1007ea6.system.entry.js → p-bf01b2a3.system.entry.js} +1 -1
- package/lib/duet/p-bf4f657d.system.entry.js +4 -0
- package/lib/duet/{p-b0416fcb.entry.js → p-c1d00a72.entry.js} +1 -1
- package/lib/duet/{p-c23ab387.system.entry.js → p-c38a3306.system.entry.js} +1 -1
- package/lib/duet/{p-15a2c27e.system.entry.js → p-c6eb7ed0.system.entry.js} +1 -1
- package/lib/duet/{p-3b9604e9.system.entry.js → p-c83c936f.system.entry.js} +1 -1
- package/lib/duet/p-c86d2229.entry.js +4 -0
- package/lib/duet/{p-0e045be0.system.entry.js → p-d2cfb003.system.entry.js} +1 -1
- package/lib/duet/{p-ce9b09ee.system.entry.js → p-d339f6db.system.entry.js} +1 -1
- package/lib/duet/{p-f6af1d70.entry.js → p-d40a7872.entry.js} +1 -1
- package/lib/duet/{p-255ef2f1.system.js → p-d5af9e03.system.js} +1 -1
- package/lib/duet/{p-af4294e7.system.entry.js → p-d6641757.system.entry.js} +1 -1
- package/lib/duet/{p-6b52b6f4.system.entry.js → p-d7bb0434.system.entry.js} +1 -1
- package/lib/duet/{p-b6637423.entry.js → p-d9aaf1e7.entry.js} +1 -1
- package/lib/duet/{p-7fc39256.entry.js → p-dafad527.entry.js} +1 -1
- package/lib/duet/{p-0de5b288.system.entry.js → p-dc332689.system.entry.js} +1 -1
- package/lib/duet/{p-1dab1d9c.entry.js → p-dc372b0d.entry.js} +1 -1
- package/lib/duet/{p-42d2ad4e.entry.js → p-de7b708f.entry.js} +1 -1
- package/lib/duet/{p-fedc971f.entry.js → p-dfe03aaa.entry.js} +1 -1
- package/lib/duet/{p-ee01f20b.entry.js → p-e42ab7c6.entry.js} +1 -1
- package/lib/duet/{p-4f973b10.entry.js → p-e4a11340.entry.js} +1 -1
- package/lib/duet/p-e5151a14.system.entry.js +4 -0
- package/lib/duet/{p-63ecf24a.system.entry.js → p-e5489bc7.system.entry.js} +1 -1
- package/lib/duet/{p-c1cbbc7d.entry.js → p-e73ce021.entry.js} +1 -1
- package/lib/duet/{p-45899b5e.entry.js → p-e819b8fb.entry.js} +1 -1
- package/lib/duet/p-ead52cf7.system.js +4 -0
- package/lib/duet/{p-98ec16d6.entry.js → p-f2e37eed.entry.js} +1 -1
- package/lib/duet/{p-24d3c4a8.entry.js → p-f3494bcf.entry.js} +1 -1
- package/lib/duet/{p-15c4eceb.entry.js → p-f4804f02.entry.js} +1 -1
- package/lib/duet/{p-31bc70cf.system.entry.js → p-f4db2b86.system.entry.js} +2 -2
- package/lib/duet/{p-e165eb06.system.entry.js → p-f7fbbc35.system.entry.js} +1 -1
- package/lib/duet/{p-ea45098f.system.entry.js → p-f9e966e7.system.entry.js} +1 -1
- package/lib/duet/{p-b41123b4.entry.js → p-fa52d2f1.entry.js} +1 -1
- package/lib/duet/p-fcd74652.system.entry.js +4 -0
- 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-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.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 +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +2 -2
- 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 +76 -31
- 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 +2 -2
- 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 +34 -5
- 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 +2 -2
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-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-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-slideout-lang.entry.js +2 -2
- 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 +6 -4
- 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 +26 -4
- 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 +3 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +39 -3
- package/lib/esm/duet-tooltip.entry.js +1 -1
- 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-6f660fbe.js → focus-utils-6b1704b1.js} +1 -1
- package/lib/esm/{index-3e7e0b4a.js → index-b024f5b5.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-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-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 +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- 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 +2 -2
- 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-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-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 +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-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 +2 -2
- 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-6b1704b1.js +4 -0
- package/lib/esm-es5/{index-3e7e0b4a.js → index-b024f5b5.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +10 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +9 -0
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +12 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +12 -1
- package/lib/types/components/duet-upload/upload-item-category.d.ts +5 -0
- package/lib/types/components/duet-upload/upload-item.d.ts +10 -0
- package/lib/types/components.d.ts +56 -0
- package/package.json +5 -5
- package/lib/duet/p-275d65d5.entry.js +0 -4
- package/lib/duet/p-355552d3.system.entry.js +0 -4
- package/lib/duet/p-3d9e1c4b.entry.js +0 -4
- package/lib/duet/p-40a2b2fa.system.js +0 -4
- package/lib/duet/p-5b36c6d6.system.entry.js +0 -4
- package/lib/duet/p-5bfac643.entry.js +0 -4
- package/lib/duet/p-6473dc0f.entry.js +0 -4
- package/lib/duet/p-74540b5e.system.entry.js +0 -4
- package/lib/duet/p-7573fbcd.entry.js +0 -4
- package/lib/duet/p-786be329.entry.js +0 -4
- package/lib/duet/p-870ef497.entry.js +0 -4
- package/lib/duet/p-983dabf1.system.entry.js +0 -4
- package/lib/duet/p-a495ef97.js +0 -4
- package/lib/duet/p-a8bb0bf7.entry.js +0 -4
- package/lib/duet/p-aa828067.entry.js +0 -4
- package/lib/duet/p-c3aafeac.entry.js +0 -4
- package/lib/duet/p-d2d70510.system.entry.js +0 -4
- package/lib/duet/p-dd416fcc.entry.js +0 -4
- package/lib/duet/p-e0a5f9b5.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-6f660fbe.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { b as isEscapeKey } from './p-d8549efe.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-1460a593.js';
|
|
8
8
|
|
|
9
9
|
const duetToolbarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(0, 41, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:102%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}";
|
|
10
10
|
|
|
@@ -17,6 +17,7 @@ const DuetToolbarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
17
17
|
this.open = !this.open;
|
|
18
18
|
};
|
|
19
19
|
this.theme = "";
|
|
20
|
+
this.accessibleLabel = undefined;
|
|
20
21
|
this.active = false;
|
|
21
22
|
this.open = false;
|
|
22
23
|
this.icon = undefined;
|
|
@@ -58,7 +59,7 @@ const DuetToolbarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
58
59
|
"duet-toolbar-dropdown": true,
|
|
59
60
|
"duet-theme-turva": this.theme === "turva",
|
|
60
61
|
[itemsAlign]: true,
|
|
61
|
-
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
62
|
+
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
62
63
|
active: this.active,
|
|
63
64
|
open: this.open,
|
|
64
65
|
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
@@ -70,6 +71,7 @@ const DuetToolbarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
70
71
|
static get style() { return duetToolbarDropdownCss; }
|
|
71
72
|
}, [1, "duet-toolbar-dropdown", {
|
|
72
73
|
"theme": [1025],
|
|
74
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
73
75
|
"active": [1540],
|
|
74
76
|
"open": [1540],
|
|
75
77
|
"icon": [1537],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-1460a593.js';
|
|
7
7
|
|
|
8
8
|
const duetToolbarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}";
|
|
9
9
|
|
|
@@ -1,35 +1,74 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
|
-
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.duet-toolbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar
|
|
7
|
+
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.duet-toolbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar ul{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar li{display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(228, 228, 230)}.duet-toolbar .hide{display:none}";
|
|
8
8
|
|
|
9
9
|
const DuetToolbar$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
|
+
/**
|
|
15
|
+
* Own Properties.
|
|
16
|
+
*/
|
|
17
|
+
this.observers = [];
|
|
18
|
+
this.setChildren = (children) => {
|
|
19
|
+
for (const child of children) {
|
|
20
|
+
if (child.getAttribute("slot") === "left") {
|
|
21
|
+
this.leftSlotChildren = Array.from(child.children);
|
|
22
|
+
}
|
|
23
|
+
else if (child.getAttribute("slot") === "right") {
|
|
24
|
+
this.rightSlotChildren = Array.from(child.children);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
this.leftSlotChildren = [];
|
|
29
|
+
this.rightSlotChildren = [];
|
|
14
30
|
this.theme = "";
|
|
31
|
+
this.accessibleLabel = undefined;
|
|
15
32
|
}
|
|
16
33
|
/**
|
|
17
34
|
* Component lifecycle events.
|
|
18
35
|
*/
|
|
19
36
|
componentWillLoad() {
|
|
20
37
|
inheritGlobalTheme(this);
|
|
38
|
+
this.setChildren(Array.from(this.element.children));
|
|
39
|
+
}
|
|
40
|
+
connectedCallback() {
|
|
41
|
+
Array.from(this.element.children).forEach(child => {
|
|
42
|
+
const observer = new MutationObserver(() => {
|
|
43
|
+
this.setChildren(Array.from(this.element.children));
|
|
44
|
+
});
|
|
45
|
+
observer.observe(child, {
|
|
46
|
+
childList: true,
|
|
47
|
+
subtree: true,
|
|
48
|
+
attributes: true,
|
|
49
|
+
characterData: true,
|
|
50
|
+
});
|
|
51
|
+
this.observers = [...this.observers, observer];
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
disconnectedCallback() {
|
|
55
|
+
this.observers.forEach(observer => observer.disconnect());
|
|
56
|
+
this.observers = [];
|
|
21
57
|
}
|
|
22
58
|
/**
|
|
23
59
|
* render() function
|
|
24
60
|
* Always the last one in the class.
|
|
25
61
|
*/
|
|
26
62
|
render() {
|
|
27
|
-
return (h(Host, null, h("
|
|
63
|
+
return (h(Host, null, h("nav", { class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("div", { class: "container" }, h("ul", null, this.leftSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML })))), h("ul", null, this.rightSlotChildren.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", { name: "left" }), h("slot", { name: "right" })))));
|
|
28
64
|
}
|
|
29
65
|
get element() { return this; }
|
|
30
66
|
static get style() { return duetToolbarCss; }
|
|
31
67
|
}, [1, "duet-toolbar", {
|
|
32
|
-
"theme": [1025]
|
|
68
|
+
"theme": [1025],
|
|
69
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
70
|
+
"leftSlotChildren": [32],
|
|
71
|
+
"rightSlotChildren": [32]
|
|
33
72
|
}]);
|
|
34
73
|
function defineCustomElement$1() {
|
|
35
74
|
if (typeof customElements === "undefined") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetTooltip$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetTooltip$1, d as defineCustomElement$1 } from './p-d0fad319.js';
|
|
5
5
|
|
|
6
6
|
const DuetTooltip = DuetTooltip$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment } from './p-9c053778.js';
|
|
5
5
|
import { i as sizeHeader } from './p-33e00967.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-6c05e879.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-1460a593.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
|
|
11
11
|
|
|
12
12
|
const duetTrayCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);visibility:hidden;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-tray.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(228, 228, 230)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(0, 41, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-tray-button:active{box-shadow:none;opacity:0.75}";
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetUploadAriaStatus$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetUploadAriaStatus$1, d as defineCustomElement$1 } from './p-950410b7.js';
|
|
5
5
|
|
|
6
6
|
const DuetUploadAriaStatus = DuetUploadAriaStatus$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { d as debounce } from './p-0b3f675e.js';
|
|
8
8
|
import { g as getLocaleString, s as sanitizeString } from './p-6c05e879.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
10
|
import { h } from './p-152ee893.js';
|
|
11
|
-
import { d as defineCustomElement$i } from './p-
|
|
12
|
-
import { d as defineCustomElement$h } from './p-
|
|
13
|
-
import { d as defineCustomElement$g } from './p-
|
|
14
|
-
import { d as defineCustomElement$f } from './p-
|
|
15
|
-
import { d as defineCustomElement$e } from './p-
|
|
16
|
-
import { d as defineCustomElement$d } from './p-
|
|
17
|
-
import { d as defineCustomElement$c } from './p-
|
|
18
|
-
import { d as defineCustomElement$b } from './p-
|
|
19
|
-
import { d as defineCustomElement$a } from './p-
|
|
20
|
-
import { d as defineCustomElement$9 } from './p-
|
|
21
|
-
import { d as defineCustomElement$8 } from './p-
|
|
22
|
-
import { d as defineCustomElement$7 } from './p-
|
|
23
|
-
import { d as defineCustomElement$6 } from './p-
|
|
24
|
-
import { d as defineCustomElement$5 } from './p-
|
|
25
|
-
import { d as defineCustomElement$4 } from './p-
|
|
26
|
-
import { d as defineCustomElement$3 } from './p-
|
|
27
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$i } from './p-15a0e9fd.js';
|
|
12
|
+
import { d as defineCustomElement$h } from './p-e67ec38e.js';
|
|
13
|
+
import { d as defineCustomElement$g } from './p-05af1562.js';
|
|
14
|
+
import { d as defineCustomElement$f } from './p-30637273.js';
|
|
15
|
+
import { d as defineCustomElement$e } from './p-69659e26.js';
|
|
16
|
+
import { d as defineCustomElement$d } from './p-fdc72d0f.js';
|
|
17
|
+
import { d as defineCustomElement$c } from './p-4a21157d.js';
|
|
18
|
+
import { d as defineCustomElement$b } from './p-1460a593.js';
|
|
19
|
+
import { d as defineCustomElement$a } from './p-194c6d5b.js';
|
|
20
|
+
import { d as defineCustomElement$9 } from './p-18ecc42e.js';
|
|
21
|
+
import { d as defineCustomElement$8 } from './p-8b969843.js';
|
|
22
|
+
import { d as defineCustomElement$7 } from './p-4672eb29.js';
|
|
23
|
+
import { d as defineCustomElement$6 } from './p-29949e1b.js';
|
|
24
|
+
import { d as defineCustomElement$5 } from './p-4d8d1b92.js';
|
|
25
|
+
import { d as defineCustomElement$4 } from './p-7c5c5437.js';
|
|
26
|
+
import { d as defineCustomElement$3 } from './p-950410b7.js';
|
|
27
|
+
import { d as defineCustomElement$2 } from './p-d4fea7f4.js';
|
|
28
28
|
|
|
29
29
|
const errorCodes = [
|
|
30
30
|
{
|
|
@@ -197,9 +197,10 @@ const ErrorItem = ({ data, errorCodes }) => {
|
|
|
197
197
|
};
|
|
198
198
|
|
|
199
199
|
const ProgressItem = ({ progress, name }) => (h("span", { class: "duet-upload-item-name" },
|
|
200
|
-
h("duet-
|
|
201
|
-
|
|
202
|
-
|
|
200
|
+
h("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" },
|
|
201
|
+
h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
|
|
202
|
+
h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
|
|
203
|
+
name),
|
|
203
204
|
h("br", null),
|
|
204
205
|
h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
|
|
205
206
|
|
|
@@ -220,7 +221,7 @@ const formatBytes = (bytes, decimals = 2) => {
|
|
|
220
221
|
};
|
|
221
222
|
|
|
222
223
|
const SuccessItem = ({ data, showLinks }) => {
|
|
223
|
-
const { item, size, uploaded, url
|
|
224
|
+
const { item, size, uploaded, url } = data;
|
|
224
225
|
const { name } = item;
|
|
225
226
|
const ContentName = (h("span", { class: "duet-upload-item-name" },
|
|
226
227
|
h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
|
|
@@ -237,12 +238,24 @@ const SuccessItem = ({ data, showLinks }) => {
|
|
|
237
238
|
ContentName,
|
|
238
239
|
h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
|
|
239
240
|
SizeText));
|
|
241
|
+
// const Badges =
|
|
242
|
+
// meta && meta.badges ? (
|
|
243
|
+
// <span>
|
|
244
|
+
// <duet-spacer size="xx-small"></duet-spacer>
|
|
245
|
+
// {meta.badges.map(badgeText => (
|
|
246
|
+
// <duet-badge color="primary">{badgeText}</duet-badge>
|
|
247
|
+
// ))}
|
|
248
|
+
// </span>
|
|
249
|
+
// ) : undefined
|
|
250
|
+
return (h("span", { class: "duet-upload-item-success" },
|
|
251
|
+
h("div", null, FilenameLine)));
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
const UploadCategory = ({ meta }) => {
|
|
240
255
|
const Badges = meta && meta.badges ? (h("span", null,
|
|
241
256
|
h("duet-spacer", { size: "xx-small" }),
|
|
242
|
-
meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) :
|
|
243
|
-
return
|
|
244
|
-
h("div", null, FilenameLine),
|
|
245
|
-
Badges));
|
|
257
|
+
meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : (h("span", null));
|
|
258
|
+
return Badges;
|
|
246
259
|
};
|
|
247
260
|
|
|
248
261
|
const validateFileExtension = (name, allowedExtensions) => {
|
|
@@ -368,7 +381,7 @@ const makeXhrRequest = ({ payload, options, onFailure, onSuccess, onProgress })
|
|
|
368
381
|
return xhr;
|
|
369
382
|
};
|
|
370
383
|
|
|
371
|
-
const duetUploadCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}.duet-upload-editable-table .duet-upload-item-name duet-icon{position:relative;top:2px}duet-paragraph::part(duet-paragraph){word-break:break-word}";
|
|
384
|
+
const duetUploadCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}.duet-upload-editable-table .duet-upload-item-name duet-icon{position:relative;top:2px}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-bottom:12px}.test{display:flex;flex-direction:row}.test .item-categories{flex-grow:1}.test .item-label{flex-grow:2}.test .item-actions{flex-grow:1}";
|
|
372
385
|
|
|
373
386
|
const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
374
387
|
constructor() {
|
|
@@ -744,46 +757,59 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
744
757
|
const pending = [];
|
|
745
758
|
const success = [];
|
|
746
759
|
all.forEach(data => {
|
|
760
|
+
var _a, _b;
|
|
747
761
|
const group = this.getGroupFromItemData(data);
|
|
748
762
|
const item = this.getItemHTMLFromItemData(data, group);
|
|
763
|
+
const category = h$1(UploadCategory, { meta: data.meta });
|
|
764
|
+
const categories = (_b = (_a = data.meta) === null || _a === void 0 ? void 0 : _a.badges) === null || _b === void 0 ? void 0 : _b.join(",");
|
|
749
765
|
if (group === this.DefaultGroups.success) {
|
|
750
766
|
success.push({
|
|
751
767
|
uid: data.uid,
|
|
752
768
|
item,
|
|
769
|
+
hasCategory: data.meta && !!data.meta.badges,
|
|
770
|
+
category,
|
|
753
771
|
group,
|
|
754
|
-
|
|
772
|
+
actionDescription: `${categories || ""} ${data.item.name}`,
|
|
755
773
|
});
|
|
756
774
|
}
|
|
757
775
|
else if (group === this.DefaultGroups.inprogress) {
|
|
758
776
|
inprogress.push({
|
|
759
777
|
uid: data.uid,
|
|
760
778
|
item,
|
|
779
|
+
hasCategory: data.meta && !!data.meta.badges,
|
|
780
|
+
category,
|
|
761
781
|
group,
|
|
762
|
-
|
|
782
|
+
actionDescription: `category ${data.item.name}`,
|
|
763
783
|
});
|
|
764
784
|
}
|
|
765
785
|
else if (group === this.DefaultGroups.pending) {
|
|
766
786
|
pending.push({
|
|
767
787
|
uid: data.uid,
|
|
768
788
|
item,
|
|
789
|
+
hasCategory: data.meta && !!data.meta.badges,
|
|
790
|
+
category,
|
|
769
791
|
group,
|
|
770
|
-
|
|
792
|
+
actionDescription: `category ${data.item.name}`,
|
|
771
793
|
});
|
|
772
794
|
}
|
|
773
795
|
else if (group === this.DefaultGroups.failure) {
|
|
774
796
|
failure.push({
|
|
775
797
|
uid: data.uid,
|
|
776
798
|
item,
|
|
799
|
+
hasCategory: data.meta && !!data.meta.badges,
|
|
800
|
+
category,
|
|
777
801
|
group,
|
|
778
|
-
|
|
802
|
+
actionDescription: `category ${data.item.name}`,
|
|
779
803
|
});
|
|
780
804
|
}
|
|
781
805
|
else if (data.group) {
|
|
782
806
|
inprogress.push({
|
|
783
807
|
uid: data.uid,
|
|
784
808
|
item,
|
|
809
|
+
hasCategory: data.meta && !!data.meta.badges,
|
|
810
|
+
category,
|
|
785
811
|
group: data.group,
|
|
786
|
-
|
|
812
|
+
actionDescription: `category ${data.item.name}`,
|
|
787
813
|
});
|
|
788
814
|
}
|
|
789
815
|
});
|
|
@@ -794,14 +820,27 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
794
820
|
inprogress,
|
|
795
821
|
};
|
|
796
822
|
};
|
|
797
|
-
this.getColumns = (group) => {
|
|
823
|
+
this.getColumns = (group, hasCategory) => {
|
|
798
824
|
return [
|
|
799
825
|
{
|
|
800
826
|
sort_order: 1,
|
|
801
827
|
direction: -1,
|
|
802
828
|
index: 0,
|
|
829
|
+
key: "category",
|
|
830
|
+
label: {
|
|
831
|
+
fi: "Kategoria",
|
|
832
|
+
sv: "Kategori",
|
|
833
|
+
en: "Category",
|
|
834
|
+
},
|
|
835
|
+
display: hasCategory,
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
sort_order: 1,
|
|
839
|
+
direction: -1,
|
|
840
|
+
index: 1,
|
|
803
841
|
key: group.id,
|
|
804
842
|
label: group.label,
|
|
843
|
+
display: true,
|
|
805
844
|
},
|
|
806
845
|
];
|
|
807
846
|
};
|
|
@@ -815,9 +854,8 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
815
854
|
if (!(currentItems === null || currentItems === void 0 ? void 0 : currentItems.length)) {
|
|
816
855
|
return;
|
|
817
856
|
}
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
} }, !this.hideGroups ? (getLocaleString(group.label)) : (h$1("duet-visually-hidden", null, getLocaleString(group.label)))))), h$1("tbody", null, h$1("tr", null, h$1("td", { class: "duet-upload-editable-table-data" }, h$1("duet-editable-table", { breakpoint: "none", variation: "plain", groupId: group.id, columns: this.getColumns(group), actions: this.getActions(group.id), margin: "none", rows: currentItems })))))));
|
|
857
|
+
const hasCategory = currentItems.some(item => item.hasCategory);
|
|
858
|
+
return (h$1("duet-editable-table", { variation: "plain", groupId: group.id, columns: this.getColumns(group, hasCategory), actions: this.getActions(group.id), margin: "none", rows: currentItems, "hide-head-visually": this.hideGroups || group.id !== this.DefaultGroups.success }));
|
|
821
859
|
});
|
|
822
860
|
return EditableTables;
|
|
823
861
|
};
|
|
@@ -933,15 +971,9 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
933
971
|
this.multiple = true;
|
|
934
972
|
this.limitSelection = false;
|
|
935
973
|
this.value = undefined;
|
|
974
|
+
this.externalUploadButtonId = undefined;
|
|
975
|
+
this.captionOnBottom = false;
|
|
936
976
|
this.groups = [
|
|
937
|
-
{
|
|
938
|
-
id: this.DefaultGroups.pending,
|
|
939
|
-
label: {
|
|
940
|
-
en: "Files to upload",
|
|
941
|
-
sv: "Filer att ladda",
|
|
942
|
-
fi: "Ladattavat tiedostot",
|
|
943
|
-
},
|
|
944
|
-
},
|
|
945
977
|
{
|
|
946
978
|
id: this.DefaultGroups.success,
|
|
947
979
|
label: {
|
|
@@ -966,6 +998,14 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
966
998
|
en: "Files inprogress",
|
|
967
999
|
},
|
|
968
1000
|
},
|
|
1001
|
+
{
|
|
1002
|
+
id: this.DefaultGroups.pending,
|
|
1003
|
+
label: {
|
|
1004
|
+
en: "Files to upload",
|
|
1005
|
+
sv: "Filer att ladda",
|
|
1006
|
+
fi: "Ladattavat tiedostot",
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
969
1009
|
];
|
|
970
1010
|
}
|
|
971
1011
|
watchValidHandler(newValue, oldValue) {
|
|
@@ -986,6 +1026,7 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
986
1026
|
inheritGlobalTheme(this);
|
|
987
1027
|
this.listenForActionEvents();
|
|
988
1028
|
this.onReady();
|
|
1029
|
+
this.externalUploadButton = document.querySelector(`#${this.externalUploadButtonId}`);
|
|
989
1030
|
}
|
|
990
1031
|
componentWillRender() {
|
|
991
1032
|
// listen to the events from the component
|
|
@@ -1052,14 +1093,17 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
1052
1093
|
caption = caption.replace(/{maxbytes}/g, `${maxMegaBytesPrFile.toString()} MB`);
|
|
1053
1094
|
caption = caption.replace(/{maxbytestotal}/g, `${maxMegaBytesTotal.toString()} MB`);
|
|
1054
1095
|
caption = caption.replace(/{filetypes}/g, this.allowedExtensions.split(",").join(", "));
|
|
1096
|
+
if (this.externalUploadButton) {
|
|
1097
|
+
this.externalUploadButton.ariaLabel = caption;
|
|
1098
|
+
}
|
|
1055
1099
|
// @ts-ignore
|
|
1056
|
-
return (h$1(Host, { class: { "duet-m-0": this.margin === "none" } }, h$1("duet-fieldset", { label: this.label, caption: caption }, h$1("slot", { name: "header" }), !this.files.size && (h$1("duet-label", { part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", theme: this.theme === "turva" ? "turva" : "default", size: "small", class: {
|
|
1100
|
+
return (h$1(Host, { class: { "duet-m-0": this.margin === "none" } }, h$1("duet-fieldset", { label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h$1("slot", { name: "header" }), !this.files.size && (h$1("duet-label", { part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", theme: this.theme === "turva" ? "turva" : "default", size: "small", class: {
|
|
1057
1101
|
"duet-upload-filelist-empty": !this.files.size,
|
|
1058
1102
|
"duet-upload-filelist": true,
|
|
1059
1103
|
"duet-upload-filelist-filled": this.files.size,
|
|
1060
1104
|
}, id: this.labelId, for: identifier }, h$1("span", { class: {
|
|
1061
1105
|
"duet-upload-filelist-empty-label": !this.files.size,
|
|
1062
|
-
} }, this.fileListEmpty))), !!this.files.size && h$1("slot", { name: "fileheader" }), !!this.files.size && (h$1("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.renderEditableTableGroups(), !!this.files.size && h$1("slot", { name: "filefooter" }), h$1("duet-spacer", { size: "large" }), !this.hideButton && (h$1("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)), h$1("duet-spacer", { size: "medium" }), (this.fileMaxReached || this.bytesMaxReached) && (h$1("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$1("duet-spacer", { size: "medium" }), h$1("duet-visually-hidden", { "aria-hidden": "true" }, h$1("input", { ref: input => {
|
|
1106
|
+
} }, this.fileListEmpty))), !!this.files.size && h$1("slot", { name: "fileheader" }), !!this.files.size && (h$1("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.renderEditableTableGroups(), !!this.files.size && h$1("slot", { name: "filefooter" }), h$1("slot", { name: "footer" }), this.captionOnBottom && (h$1("duet-caption", { size: "small" }, h$1("div", { class: "upload-bottom-caption" }, caption))), h$1("slot", { name: "afterfooter" }), h$1("duet-spacer", { size: "large" }), !this.hideButton && (h$1("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)), h$1("duet-spacer", { size: "medium" }), (this.fileMaxReached || this.bytesMaxReached) && (h$1("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$1("duet-spacer", { size: "medium" }), h$1("duet-visually-hidden", { "aria-hidden": "true" }, h$1("input", { ref: input => {
|
|
1063
1107
|
this.nativeInput = input;
|
|
1064
1108
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
1065
1109
|
"duet-upload": true,
|
|
@@ -1239,6 +1283,8 @@ const DuetUpload$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
1239
1283
|
"multiple": [4],
|
|
1240
1284
|
"limitSelection": [4, "limit-selection"],
|
|
1241
1285
|
"value": [1025],
|
|
1286
|
+
"externalUploadButtonId": [1, "external-upload-button-id"],
|
|
1287
|
+
"captionOnBottom": [4, "caption-on-bottom"],
|
|
1242
1288
|
"groups": [16],
|
|
1243
1289
|
"tick": [32],
|
|
1244
1290
|
"setFocus": [64],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetVisuallyHidden$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetVisuallyHidden$1, d as defineCustomElement$1 } from './p-d4fea7f4.js';
|
|
5
5
|
|
|
6
6
|
const DuetVisuallyHidden = DuetVisuallyHidden$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
export { s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
4
|
+
export { s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-9c053778.js';
|
|
5
5
|
|
|
6
6
|
const setupLoggers = () => {
|
|
7
7
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#e6f1f7;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fef3df}.duet-badge.warning.duet-theme-turva{background:#fef1db}.duet-badge.danger{background:#fce9ef}.duet-badge.danger.duet-theme-turva{background:#fceae7}.duet-badge.success{background:#e6f3ef}.duet-badge.success.duet-theme-turva{background:#e6f3ed}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorBrandBlue } from './p-33e00967.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { E as Env, p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { E as Env, p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getColorByName } from './p-9ed347f9.js';
|
|
7
7
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { d as debounce } from './p-0b3f675e.js';
|
|
8
8
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
9
9
|
import { g as getLocaleString } from './p-6c05e879.js';
|
|
10
10
|
import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-9ed347f9.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-1460a593.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-d4fea7f4.js';
|
|
13
13
|
|
|
14
14
|
const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179) !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px rgb(23, 28, 58) !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";
|
|
15
15
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { a as actionArrowRight } from './p-6fa39608.js';
|
|
6
6
|
import { a as actionNewWindowSmall } from './p-f11208c3.js';
|
|
7
7
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
8
8
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
9
9
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-1460a593.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-d4fea7f4.js';
|
|
12
12
|
|
|
13
13
|
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{position:absolute;width:20px;height:20px;margin-left:-15px}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}";
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
|
|
7
7
|
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-9c053778.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
|