@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
|
@@ -329,7 +329,7 @@ export class DuetPagination {
|
|
|
329
329
|
"references": {
|
|
330
330
|
"DuetPaginationVariation": {
|
|
331
331
|
"location": "local",
|
|
332
|
-
"path": "/Users/
|
|
332
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx"
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
},
|
|
@@ -572,7 +572,7 @@ export class DuetPagination {
|
|
|
572
572
|
"references": {
|
|
573
573
|
"DuetPaginationPageEvent": {
|
|
574
574
|
"location": "local",
|
|
575
|
-
"path": "/Users/
|
|
575
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx"
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
}
|
|
@@ -107,7 +107,7 @@ export class DuetParagraph {
|
|
|
107
107
|
"references": {
|
|
108
108
|
"DuetParagraphSize": {
|
|
109
109
|
"location": "local",
|
|
110
|
-
"path": "/Users/
|
|
110
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
},
|
|
@@ -130,7 +130,7 @@ export class DuetParagraph {
|
|
|
130
130
|
"references": {
|
|
131
131
|
"DuetParagraphWeight": {
|
|
132
132
|
"location": "local",
|
|
133
|
-
"path": "/Users/
|
|
133
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
},
|
|
@@ -153,7 +153,7 @@ export class DuetParagraph {
|
|
|
153
153
|
"references": {
|
|
154
154
|
"DuetParagraphVariation": {
|
|
155
155
|
"location": "local",
|
|
156
|
-
"path": "/Users/
|
|
156
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
},
|
|
@@ -534,7 +534,7 @@ export class DuetRadio {
|
|
|
534
534
|
"references": {
|
|
535
535
|
"DuetRadioEvent": {
|
|
536
536
|
"location": "local",
|
|
537
|
-
"path": "/Users/
|
|
537
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
@@ -554,7 +554,7 @@ export class DuetRadio {
|
|
|
554
554
|
"references": {
|
|
555
555
|
"DuetRadioEvent": {
|
|
556
556
|
"location": "local",
|
|
557
|
-
"path": "/Users/
|
|
557
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
}
|
|
@@ -574,7 +574,7 @@ export class DuetRadio {
|
|
|
574
574
|
"references": {
|
|
575
575
|
"DuetRadioEvent": {
|
|
576
576
|
"location": "local",
|
|
577
|
-
"path": "/Users/
|
|
577
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
}
|
|
@@ -512,7 +512,7 @@ export class DuetRangeSlider {
|
|
|
512
512
|
"references": {
|
|
513
513
|
"DuetRangeChangeEvent": {
|
|
514
514
|
"location": "local",
|
|
515
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -532,7 +532,7 @@ export class DuetRangeSlider {
|
|
|
532
532
|
"references": {
|
|
533
533
|
"DuetRangeChangeEvent": {
|
|
534
534
|
"location": "local",
|
|
535
|
-
"path": "/Users/
|
|
535
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -335,7 +335,7 @@ export class DuetRangeStepper {
|
|
|
335
335
|
"references": {
|
|
336
336
|
"DuetRangeStepperUpdateEvent": {
|
|
337
337
|
"location": "local",
|
|
338
|
-
"path": "/Users/
|
|
338
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-stepper/duet-range-stepper.tsx"
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -170,7 +170,7 @@ export class DuetSelect {
|
|
|
170
170
|
"references": {
|
|
171
171
|
"DuetSelectVariation": {
|
|
172
172
|
"location": "local",
|
|
173
|
-
"path": "/Users/
|
|
173
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-select/duet-select.tsx"
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
},
|
|
@@ -465,7 +465,7 @@ export class DuetSelect {
|
|
|
465
465
|
"references": {
|
|
466
466
|
"DuetSelectItems": {
|
|
467
467
|
"location": "local",
|
|
468
|
-
"path": "/Users/
|
|
468
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-select/duet-select.tsx"
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
},
|
|
@@ -614,7 +614,7 @@ export class DuetSelect {
|
|
|
614
614
|
"references": {
|
|
615
615
|
"DuetSelectEvent": {
|
|
616
616
|
"location": "local",
|
|
617
|
-
"path": "/Users/
|
|
617
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-select/duet-select.tsx"
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
}
|
|
@@ -634,7 +634,7 @@ export class DuetSelect {
|
|
|
634
634
|
"references": {
|
|
635
635
|
"DuetSelectEvent": {
|
|
636
636
|
"location": "local",
|
|
637
|
-
"path": "/Users/
|
|
637
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-select/duet-select.tsx"
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
}
|
|
@@ -654,7 +654,7 @@ export class DuetSelect {
|
|
|
654
654
|
"references": {
|
|
655
655
|
"DuetSelectEvent": {
|
|
656
656
|
"location": "local",
|
|
657
|
-
"path": "/Users/
|
|
657
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-select/duet-select.tsx"
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.duet-slideout.duet-theme-turva button.active::after {
|
|
141
141
|
background: rgb(198, 12, 48);
|
|
142
142
|
}
|
|
143
|
-
.duet-slideout .dialog .top button:focus {
|
|
143
|
+
.duet-slideout.duet-theme-turva .dialog .top button:focus {
|
|
144
144
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -14,6 +14,7 @@ export class DuetSlideout {
|
|
|
14
14
|
fi: "Poistu valikosta",
|
|
15
15
|
sv: "Avsluta menyn",
|
|
16
16
|
};
|
|
17
|
+
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
17
18
|
this.toggleMenu = (e) => {
|
|
18
19
|
const toggle = !this.open;
|
|
19
20
|
this.open = toggle;
|
|
@@ -30,6 +31,7 @@ export class DuetSlideout {
|
|
|
30
31
|
}
|
|
31
32
|
else {
|
|
32
33
|
setTimeout(() => {
|
|
34
|
+
console.log("focus to close button");
|
|
33
35
|
this.closeButton.focus();
|
|
34
36
|
}, 200);
|
|
35
37
|
}
|
|
@@ -120,7 +122,7 @@ export class DuetSlideout {
|
|
|
120
122
|
hidden: !this.open,
|
|
121
123
|
}, onClick: () => {
|
|
122
124
|
this.open = false;
|
|
123
|
-
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal":
|
|
125
|
+
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "menubar", class: {
|
|
124
126
|
dialog: true,
|
|
125
127
|
hidden: !this.open,
|
|
126
128
|
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
@@ -232,7 +234,7 @@ export class DuetSlideout {
|
|
|
232
234
|
"references": {
|
|
233
235
|
"DuetSlideoutEventDetails": {
|
|
234
236
|
"location": "local",
|
|
235
|
-
"path": "/Users/
|
|
237
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-slideout/duet-slideout.tsx"
|
|
236
238
|
}
|
|
237
239
|
}
|
|
238
240
|
}
|
|
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
38
|
-
return (h(Host, null, h("div", { class: "duet-slideout-lang",
|
|
38
|
+
return (h(Host, null, h("div", { class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { name: "navigation-language", margin: "none", color: "secondary" }), h("slot", null))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-slideout-lang"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class DuetSpacer {
|
|
|
49
49
|
"references": {
|
|
50
50
|
"DuetSpacerSize": {
|
|
51
51
|
"location": "local",
|
|
52
|
-
"path": "/Users/
|
|
52
|
+
"path": "/Users/laaksju3/duetds/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/laaksju3/duetds/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/laaksju3/duetds/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/laaksju3/duetds/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/laaksju3/duetds/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/laaksju3/duetds/packages/components/src/components/duet-stepper/duet-stepper.tsx"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
border-bottom: 1px solid rgb(207, 210, 212);
|
|
97
97
|
transition: 300ms ease;
|
|
98
98
|
}
|
|
99
|
+
.duet-submenu-bar .items ul {
|
|
100
|
+
list-style-type: none;
|
|
101
|
+
}
|
|
102
|
+
.duet-submenu-bar .items li {
|
|
103
|
+
position: relative;
|
|
104
|
+
}
|
|
99
105
|
.duet-submenu-bar .items.hidden {
|
|
100
106
|
max-height: 0;
|
|
101
107
|
overflow: hidden;
|
|
@@ -104,6 +110,12 @@
|
|
|
104
110
|
transition: 300ms ease;
|
|
105
111
|
}
|
|
106
112
|
@media (min-width: 62em) {
|
|
113
|
+
.duet-submenu-bar .items ul {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
height: 100%;
|
|
118
|
+
}
|
|
107
119
|
.duet-submenu-bar .items, .duet-submenu-bar .items.hidden {
|
|
108
120
|
position: static;
|
|
109
121
|
z-index: auto;
|
|
@@ -127,4 +139,7 @@
|
|
|
127
139
|
}
|
|
128
140
|
.duet-submenu-bar.duet-theme-turva .items {
|
|
129
141
|
background: rgb(245, 245, 247);
|
|
142
|
+
}
|
|
143
|
+
.duet-submenu-bar .hide {
|
|
144
|
+
display: none;
|
|
130
145
|
}
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
-
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
export class DuetSubmenuBar {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
10
10
|
this.boundMqlFunctions = [];
|
|
11
|
+
this.observers = [];
|
|
12
|
+
this.setChildren = (children) => {
|
|
13
|
+
this.slotChildren = Array.from(children);
|
|
14
|
+
};
|
|
11
15
|
this.changeAriaProperties = () => {
|
|
12
16
|
if (this.mql[0].matches) {
|
|
13
17
|
this.mobile = false;
|
|
@@ -20,8 +24,10 @@ export class DuetSubmenuBar {
|
|
|
20
24
|
this.open = !this.open;
|
|
21
25
|
};
|
|
22
26
|
this.mobile = true;
|
|
27
|
+
this.slotChildren = [];
|
|
23
28
|
this.theme = "";
|
|
24
29
|
this.open = false;
|
|
30
|
+
this.accessibleLabel = undefined;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Component lifecycle events.
|
|
@@ -39,6 +45,21 @@ export class DuetSubmenuBar {
|
|
|
39
45
|
this.boundMqlFunctions[i] = bound;
|
|
40
46
|
}
|
|
41
47
|
}
|
|
48
|
+
if (Build.isServer) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
Array.from(this.element.children).forEach(child => {
|
|
52
|
+
const observer = new MutationObserver(() => {
|
|
53
|
+
this.setChildren(Array.from(this.element.children));
|
|
54
|
+
});
|
|
55
|
+
observer.observe(child, {
|
|
56
|
+
childList: true,
|
|
57
|
+
subtree: true,
|
|
58
|
+
attributes: true,
|
|
59
|
+
characterData: true,
|
|
60
|
+
});
|
|
61
|
+
this.observers = [...this.observers, observer];
|
|
62
|
+
});
|
|
42
63
|
}
|
|
43
64
|
disconnectedCallback() {
|
|
44
65
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -48,6 +69,11 @@ export class DuetSubmenuBar {
|
|
|
48
69
|
}
|
|
49
70
|
}
|
|
50
71
|
this.boundMqlFunctions = [];
|
|
72
|
+
if (Build.isServer) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
this.observers.forEach(observer => observer.disconnect());
|
|
76
|
+
this.observers = [];
|
|
51
77
|
}
|
|
52
78
|
/**
|
|
53
79
|
* Sets focus. Use this method instead of the global focus().
|
|
@@ -60,12 +86,14 @@ export class DuetSubmenuBar {
|
|
|
60
86
|
* Always the last one in the class.
|
|
61
87
|
*/
|
|
62
88
|
render() {
|
|
63
|
-
return (h(Host, null, h("
|
|
89
|
+
return (h(Host, null, h("nav", { class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
64
90
|
active: this.open,
|
|
65
91
|
}, onClick: this.onClick }, h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
66
92
|
items: true,
|
|
67
93
|
hidden: !this.open,
|
|
68
|
-
} }, h("
|
|
94
|
+
} }, h("ul", null, this.slotChildren
|
|
95
|
+
.filter(child => !child.hasAttribute("slot"))
|
|
96
|
+
.map(child => (h("li", { innerHTML: child.outerHTML }))))), h("div", { class: "hide" }, h("slot", null)))));
|
|
69
97
|
}
|
|
70
98
|
static get is() { return "duet-submenu-bar"; }
|
|
71
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,12 +149,30 @@ export class DuetSubmenuBar {
|
|
|
121
149
|
"attribute": "open",
|
|
122
150
|
"reflect": true,
|
|
123
151
|
"defaultValue": "false"
|
|
152
|
+
},
|
|
153
|
+
"accessibleLabel": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "string",
|
|
158
|
+
"resolved": "string",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
166
|
+
},
|
|
167
|
+
"attribute": "accessible-label",
|
|
168
|
+
"reflect": false
|
|
124
169
|
}
|
|
125
170
|
};
|
|
126
171
|
}
|
|
127
172
|
static get states() {
|
|
128
173
|
return {
|
|
129
|
-
"mobile": {}
|
|
174
|
+
"mobile": {},
|
|
175
|
+
"slotChildren": {}
|
|
130
176
|
};
|
|
131
177
|
}
|
|
132
178
|
static get methods() {
|
|
@@ -294,7 +294,7 @@ export class DuetTabGroup {
|
|
|
294
294
|
"references": {
|
|
295
295
|
"DuetTabVariation": {
|
|
296
296
|
"location": "local",
|
|
297
|
-
"path": "/Users/
|
|
297
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
},
|
|
@@ -512,7 +512,7 @@ export class DuetTabGroup {
|
|
|
512
512
|
"references": {
|
|
513
513
|
"DuetTabGroupEvent": {
|
|
514
514
|
"location": "local",
|
|
515
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -532,7 +532,7 @@ export class DuetTabGroup {
|
|
|
532
532
|
"references": {
|
|
533
533
|
"DuetTabGroupEvent": {
|
|
534
534
|
"location": "local",
|
|
535
|
-
"path": "/Users/
|
|
535
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -553,7 +553,7 @@ export class DuetTabGroup {
|
|
|
553
553
|
},
|
|
554
554
|
"DuetTabGroupEvent": {
|
|
555
555
|
"location": "local",
|
|
556
|
-
"path": "/Users/
|
|
556
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx"
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
559
|
"return": "Promise<void>"
|
|
@@ -715,7 +715,7 @@ export class DuetTextarea {
|
|
|
715
715
|
"references": {
|
|
716
716
|
"DuetTextareaEvent": {
|
|
717
717
|
"location": "local",
|
|
718
|
-
"path": "/Users/
|
|
718
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
}
|
|
@@ -735,7 +735,7 @@ export class DuetTextarea {
|
|
|
735
735
|
"references": {
|
|
736
736
|
"DuetTextareaEvent": {
|
|
737
737
|
"location": "local",
|
|
738
|
-
"path": "/Users/
|
|
738
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
741
|
}
|
|
@@ -755,7 +755,7 @@ export class DuetTextarea {
|
|
|
755
755
|
"references": {
|
|
756
756
|
"DuetTextareaEvent": {
|
|
757
757
|
"location": "local",
|
|
758
|
-
"path": "/Users/
|
|
758
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
}
|
|
@@ -775,7 +775,7 @@ export class DuetTextarea {
|
|
|
775
775
|
"references": {
|
|
776
776
|
"DuetTextareaEvent": {
|
|
777
777
|
"location": "local",
|
|
778
|
-
"path": "/Users/
|
|
778
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-textarea/duet-textarea.tsx"
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
781
|
}
|
|
@@ -432,7 +432,7 @@ export class DuetToggle {
|
|
|
432
432
|
"references": {
|
|
433
433
|
"DuetToggleChangeEvent": {
|
|
434
434
|
"location": "local",
|
|
435
|
-
"path": "/Users/
|
|
435
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-toggle/duet-toggle.tsx"
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -41,7 +41,14 @@
|
|
|
41
41
|
margin: 0 28px;
|
|
42
42
|
border-bottom: 1px solid rgb(225, 227, 230);
|
|
43
43
|
}
|
|
44
|
-
.duet-toolbar
|
|
44
|
+
.duet-toolbar ul {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
height: 100%;
|
|
49
|
+
list-style-type: none;
|
|
50
|
+
}
|
|
51
|
+
.duet-toolbar li {
|
|
45
52
|
display: flex;
|
|
46
53
|
align-items: center;
|
|
47
54
|
justify-content: center;
|
|
@@ -52,4 +59,7 @@
|
|
|
52
59
|
}
|
|
53
60
|
.duet-toolbar.duet-theme-turva .container {
|
|
54
61
|
border-bottom: 1px solid rgb(228, 228, 230);
|
|
62
|
+
}
|
|
63
|
+
.duet-toolbar .hide {
|
|
64
|
+
display: none;
|
|
55
65
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, Host } from "@stencil/core";
|
|
4
|
+
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
/**
|
|
7
7
|
* @slot left - Slot for content in left side.
|
|
@@ -9,20 +9,62 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
9
9
|
*/
|
|
10
10
|
export class DuetToolbar {
|
|
11
11
|
constructor() {
|
|
12
|
+
/**
|
|
13
|
+
* Own Properties.
|
|
14
|
+
*/
|
|
15
|
+
this.observers = [];
|
|
16
|
+
this.setChildren = (children) => {
|
|
17
|
+
for (const child of children) {
|
|
18
|
+
if (child.getAttribute("slot") === "left") {
|
|
19
|
+
this.leftSlotChildren = Array.from(child.children);
|
|
20
|
+
}
|
|
21
|
+
else if (child.getAttribute("slot") === "right") {
|
|
22
|
+
this.rightSlotChildren = Array.from(child.children);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
this.leftSlotChildren = [];
|
|
27
|
+
this.rightSlotChildren = [];
|
|
12
28
|
this.theme = "";
|
|
29
|
+
this.accessibleLabel = undefined;
|
|
13
30
|
}
|
|
14
31
|
/**
|
|
15
32
|
* Component lifecycle events.
|
|
16
33
|
*/
|
|
17
34
|
componentWillLoad() {
|
|
18
35
|
inheritGlobalTheme(this);
|
|
36
|
+
this.setChildren(Array.from(this.element.children));
|
|
37
|
+
}
|
|
38
|
+
connectedCallback() {
|
|
39
|
+
if (Build.isServer) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
Array.from(this.element.children).forEach(child => {
|
|
43
|
+
const observer = new MutationObserver(() => {
|
|
44
|
+
this.setChildren(Array.from(this.element.children));
|
|
45
|
+
});
|
|
46
|
+
observer.observe(child, {
|
|
47
|
+
childList: true,
|
|
48
|
+
subtree: true,
|
|
49
|
+
attributes: true,
|
|
50
|
+
characterData: true,
|
|
51
|
+
});
|
|
52
|
+
this.observers = [...this.observers, observer];
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
disconnectedCallback() {
|
|
56
|
+
if (Build.isServer) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.observers.forEach(observer => observer.disconnect());
|
|
60
|
+
this.observers = [];
|
|
19
61
|
}
|
|
20
62
|
/**
|
|
21
63
|
* render() function
|
|
22
64
|
* Always the last one in the class.
|
|
23
65
|
*/
|
|
24
66
|
render() {
|
|
25
|
-
return (h(Host, null, h("
|
|
67
|
+
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" })))));
|
|
26
68
|
}
|
|
27
69
|
static get is() { return "duet-toolbar"; }
|
|
28
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,8 +102,31 @@ export class DuetToolbar {
|
|
|
60
102
|
"attribute": "theme",
|
|
61
103
|
"reflect": false,
|
|
62
104
|
"defaultValue": "\"\""
|
|
105
|
+
},
|
|
106
|
+
"accessibleLabel": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "string",
|
|
111
|
+
"resolved": "string",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
119
|
+
},
|
|
120
|
+
"attribute": "accessible-label",
|
|
121
|
+
"reflect": false
|
|
63
122
|
}
|
|
64
123
|
};
|
|
65
124
|
}
|
|
125
|
+
static get states() {
|
|
126
|
+
return {
|
|
127
|
+
"leftSlotChildren": {},
|
|
128
|
+
"rightSlotChildren": {}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
66
131
|
static get elementRef() { return "element"; }
|
|
67
132
|
}
|