@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.5
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 +245 -258
- package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-8b7203d4.js} +1 -1
- package/lib/cjs/{app-globals-718a3704.js → app-globals-3993d4ba.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -9
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -43
- package/lib/cjs/duet-card.cjs.entry.js +8 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +12 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +48 -48
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +30 -27
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-3e4d2f19.js} +1 -1
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-5c18768b.js} +1 -1
- package/lib/cjs/{index-21e67ab3.js → index-308de19b.js} +1 -1
- package/lib/cjs/{label-2abeac23.js → label-b4b728eb.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-9e680f03.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-382633cf.js → slot-utils-997fa9f7.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +10 -7
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +7 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +7 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-link/duet-link.css +42 -0
- package/lib/collection/components/duet-link/duet-link.js +5 -42
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +26 -23
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- 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-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +11 -8
- 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-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +10 -10
- package/lib/dist-custom-elements/duet-choice.js +10 -10
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +14 -14
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +19 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- 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-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +11 -11
- 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 +14 -14
- 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 +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- 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 +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +10 -10
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +1 -1
- 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 +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +30 -27
- 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 +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +40 -77
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-1f4fbc7a.js → p-0562173d.js} +1 -1
- package/lib/dist-custom-elements/{p-3ce1f7b8.js → p-06ee499e.js} +12 -12
- package/lib/dist-custom-elements/{p-68c629a8.js → p-19657ccc.js} +1 -1
- package/lib/dist-custom-elements/{p-430f3778.js → p-2801af5c.js} +2 -2
- package/lib/dist-custom-elements/{p-b0925e24.js → p-2c88be02.js} +15 -12
- package/lib/dist-custom-elements/{p-dad518a5.js → p-2c8a2d37.js} +23 -14
- package/lib/dist-custom-elements/{p-36ab2d57.js → p-30788b0d.js} +4 -4
- package/lib/dist-custom-elements/{p-43c4a1af.js → p-33880350.js} +3 -3
- package/lib/dist-custom-elements/{p-9f9423c6.js → p-3731677a.js} +1 -1
- package/lib/dist-custom-elements/{p-174a9d1d.js → p-397d3365.js} +2 -2
- package/lib/dist-custom-elements/{p-02f97b91.js → p-3dee7414.js} +2 -2
- package/lib/dist-custom-elements/{p-2c70b9f4.js → p-48c41c42.js} +3 -3
- package/lib/dist-custom-elements/{p-d1f89e90.js → p-4ebde122.js} +2 -2
- package/lib/dist-custom-elements/{p-3431b690.js → p-5241689b.js} +3 -3
- package/lib/dist-custom-elements/{p-1296f851.js → p-5d53c618.js} +4 -4
- package/lib/dist-custom-elements/{p-e37d189b.js → p-6e193bfe.js} +15 -15
- package/lib/dist-custom-elements/{p-de4ee016.js → p-737f7ca0.js} +8 -39
- package/lib/dist-custom-elements/{p-330bcf1d.js → p-74417c47.js} +6 -6
- package/lib/dist-custom-elements/{p-2f25dfb3.js → p-82511fdd.js} +3 -3
- package/lib/dist-custom-elements/{p-c7d815f6.js → p-838e3319.js} +3 -3
- package/lib/dist-custom-elements/{p-e176f419.js → p-840ab529.js} +3 -3
- package/lib/dist-custom-elements/{p-89b10856.js → p-85561403.js} +5 -5
- package/lib/dist-custom-elements/{p-1ccd7c39.js → p-93ea2238.js} +4 -4
- package/lib/dist-custom-elements/{p-df2042f8.js → p-9ae8faaa.js} +4 -4
- package/lib/dist-custom-elements/{p-d2a5148f.js → p-a8691042.js} +3 -3
- package/lib/dist-custom-elements/{p-087d8c5a.js → p-ab29f649.js} +3 -3
- package/lib/dist-custom-elements/{p-956e3bce.js → p-aec754f8.js} +3 -3
- package/lib/dist-custom-elements/{p-6b77d4d3.js → p-bdd4e9b8.js} +3 -3
- package/lib/dist-custom-elements/{p-ab34075b.js → p-c2cf0451.js} +1 -1
- package/lib/dist-custom-elements/{p-9fa4eb51.js → p-c9c18b1c.js} +5 -5
- package/lib/dist-custom-elements/{p-fe9e47d9.js → p-ca167d34.js} +5 -5
- package/lib/dist-custom-elements/{p-29be247b.js → p-d106f5fb.js} +1 -1
- package/lib/dist-custom-elements/{p-4da43fbc.js → p-d1fdc842.js} +5 -5
- package/lib/dist-custom-elements/{p-d77db171.js → p-db1bb078.js} +1 -1
- package/lib/dist-custom-elements/{p-a2147aff.js → p-dbac50c8.js} +7 -7
- package/lib/dist-custom-elements/{p-de8f018a.js → p-dea7ddf1.js} +3 -3
- package/lib/dist-custom-elements/{p-22147601.js → p-f419eaea.js} +4 -4
- package/lib/dist-custom-elements/{p-41dca9e4.js → p-f87eb98b.js} +2 -2
- package/lib/dist-custom-elements/{p-b8de9a9c.js → p-fe2e1df5.js} +5 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-ce543cc1.system.entry.js → p-02639737.system.entry.js} +1 -1
- package/lib/duet/{p-5b927db3.entry.js → p-02ddd2b0.entry.js} +1 -1
- package/lib/duet/{p-3df2981e.system.entry.js → p-02fe3789.system.entry.js} +1 -1
- package/lib/duet/{p-1e17463d.system.js → p-037e9404.system.js} +1 -1
- package/lib/duet/{p-a3341588.entry.js → p-0464b834.entry.js} +1 -1
- package/lib/duet/{p-4e7f27d8.entry.js → p-068ee00e.entry.js} +1 -1
- package/lib/duet/{p-c15cd383.system.entry.js → p-06eea56e.system.entry.js} +1 -1
- package/lib/duet/{p-af209330.entry.js → p-075d5a2d.entry.js} +1 -1
- package/lib/duet/{p-c6894b07.system.entry.js → p-076c0dbe.system.entry.js} +1 -1
- package/lib/duet/{p-0ee85b71.entry.js → p-07f6b8a2.entry.js} +1 -1
- package/lib/duet/p-08606c91.system.entry.js +4 -0
- package/lib/duet/{p-58caf53a.system.entry.js → p-08a6c7d4.system.entry.js} +1 -1
- package/lib/duet/p-099e0df4.entry.js +4 -0
- package/lib/duet/{p-051c4536.entry.js → p-0a68e872.entry.js} +1 -1
- package/lib/duet/{p-7f5c1da2.entry.js → p-0b4952dc.entry.js} +1 -1
- package/lib/duet/{p-3d826a58.system.entry.js → p-0bc2d7a6.system.entry.js} +1 -1
- package/lib/duet/{p-a51e1b9e.entry.js → p-0bf8e333.entry.js} +1 -1
- package/lib/duet/p-0d59c909.js +4 -0
- package/lib/duet/{p-79dfc8e6.system.entry.js → p-0dd11a8f.system.entry.js} +2 -2
- package/lib/duet/p-0f009884.system.js +4 -0
- package/lib/duet/p-0f737ba8.system.entry.js +4 -0
- package/lib/duet/{p-2b45d2e4.entry.js → p-101fa19f.entry.js} +1 -1
- package/lib/duet/{p-76563c02.entry.js → p-1253079f.entry.js} +1 -1
- package/lib/duet/{p-e0536bb5.entry.js → p-1545fe0b.entry.js} +1 -1
- package/lib/duet/{p-7483d86c.entry.js → p-16d9744c.entry.js} +1 -1
- package/lib/duet/{p-1e904342.entry.js → p-1766483c.entry.js} +1 -1
- package/lib/duet/{p-3c64dab9.entry.js → p-17941067.entry.js} +1 -1
- package/lib/duet/{p-f105f32a.system.entry.js → p-18553b8a.system.entry.js} +1 -1
- package/lib/duet/{p-43d16748.system.entry.js → p-1a29576a.system.entry.js} +1 -1
- package/lib/duet/{p-62bdecfb.system.entry.js → p-1e10f705.system.entry.js} +1 -1
- package/lib/duet/p-1ee7759d.entry.js +4 -0
- package/lib/duet/{p-f97500ff.system.entry.js → p-21eeac6f.system.entry.js} +1 -1
- package/lib/duet/{p-25af4a6c.entry.js → p-236428a6.entry.js} +1 -1
- package/lib/duet/{p-7cce22af.system.js → p-25e3eede.system.js} +1 -1
- package/lib/duet/{p-3fe7e109.system.entry.js → p-26173389.system.entry.js} +1 -1
- package/lib/duet/{p-60547899.system.entry.js → p-268ebc23.system.entry.js} +1 -1
- package/lib/duet/{p-237efb0c.system.entry.js → p-291f16fe.system.entry.js} +1 -1
- package/lib/duet/{p-76d69a18.system.js → p-29b4ce3d.system.js} +1 -1
- package/lib/duet/{p-2810c6dc.system.entry.js → p-29d241b2.system.entry.js} +2 -2
- package/lib/duet/{p-605e69c8.system.js → p-2a6a064b.system.js} +1 -1
- package/lib/duet/{p-f0b0e2b2.system.entry.js → p-2aee1d2f.system.entry.js} +1 -1
- package/lib/duet/{p-40bab9a0.system.entry.js → p-2b2c643d.system.entry.js} +1 -1
- package/lib/duet/{p-6be341c4.entry.js → p-2b74cc89.entry.js} +1 -1
- package/lib/duet/{p-215f4257.system.entry.js → p-2bbdd6fc.system.entry.js} +1 -1
- package/lib/duet/p-2c5ed450.system.entry.js +4 -0
- package/lib/duet/{p-031167a1.system.entry.js → p-2d061110.system.entry.js} +1 -1
- package/lib/duet/{p-9b04e4a2.entry.js → p-2ea087a9.entry.js} +1 -1
- package/lib/duet/{p-41552571.system.entry.js → p-31491070.system.entry.js} +1 -1
- package/lib/duet/{p-e258270f.entry.js → p-31761539.entry.js} +1 -1
- package/lib/duet/{p-a8a381c9.system.entry.js → p-32cbb8c9.system.entry.js} +1 -1
- package/lib/duet/{p-fd2299b4.entry.js → p-34f712b1.entry.js} +1 -1
- package/lib/duet/{p-76b42e90.entry.js → p-394104d4.entry.js} +1 -1
- package/lib/duet/{p-8481bbda.entry.js → p-3b4f5fef.entry.js} +1 -1
- package/lib/duet/{p-8c9eb171.js → p-3d3ec1df.js} +1 -1
- package/lib/duet/{p-871d7ca1.system.entry.js → p-3d892ba8.system.entry.js} +2 -2
- package/lib/duet/{p-cbedbd77.system.entry.js → p-3e1d3606.system.entry.js} +1 -1
- package/lib/duet/{p-2a0ad29c.system.entry.js → p-3f2c4df8.system.entry.js} +1 -1
- package/lib/duet/{p-209d6065.system.entry.js → p-3fc1c6ab.system.entry.js} +1 -1
- package/lib/duet/{p-fcb14b31.system.entry.js → p-40a89994.system.entry.js} +2 -2
- package/lib/duet/{p-76b84b22.entry.js → p-41fca863.entry.js} +1 -1
- package/lib/duet/{p-6447f20d.system.entry.js → p-430d5745.system.entry.js} +1 -1
- package/lib/duet/{p-49fa4a07.entry.js → p-469ded42.entry.js} +1 -1
- package/lib/duet/{p-bcc40139.system.entry.js → p-47572687.system.entry.js} +2 -2
- package/lib/duet/{p-e2daf94c.entry.js → p-4ad78094.entry.js} +1 -1
- package/lib/duet/{p-2fb96333.entry.js → p-4bdcb463.entry.js} +1 -1
- package/lib/duet/{p-fa3b3dbc.system.entry.js → p-4f22b097.system.entry.js} +1 -1
- package/lib/duet/p-51111f7d.entry.js +4 -0
- package/lib/duet/{p-1183d305.system.entry.js → p-518203ea.system.entry.js} +1 -1
- package/lib/duet/{p-f5dd7e7e.system.entry.js → p-54f3d66f.system.entry.js} +1 -1
- package/lib/duet/{p-e38edd16.system.entry.js → p-550be768.system.entry.js} +1 -1
- package/lib/duet/{p-2fa7ecef.entry.js → p-55119bff.entry.js} +1 -1
- package/lib/duet/{p-9253e832.system.entry.js → p-553df4f9.system.entry.js} +1 -1
- package/lib/duet/{p-c52e8007.entry.js → p-595ae8a5.entry.js} +1 -1
- package/lib/duet/{p-966bd64a.entry.js → p-5a7e0d2f.entry.js} +1 -1
- package/lib/duet/{p-c22935bf.system.entry.js → p-5c491c4a.system.entry.js} +1 -1
- package/lib/duet/{p-670bd483.system.entry.js → p-5f015255.system.entry.js} +1 -1
- package/lib/duet/{p-629a9c13.entry.js → p-611f5e23.entry.js} +1 -1
- package/lib/duet/{p-c79cbfdb.entry.js → p-63c0ded6.entry.js} +1 -1
- package/lib/duet/{p-2814473c.system.entry.js → p-663c2851.system.entry.js} +1 -1
- package/lib/duet/{p-c8421271.system.entry.js → p-6916e609.system.entry.js} +1 -1
- package/lib/duet/{p-3810c7dc.entry.js → p-693b95d9.entry.js} +1 -1
- package/lib/duet/{p-2b35de7b.entry.js → p-694203f6.entry.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-6aa58c2c.js} +1 -1
- package/lib/duet/{p-250fb070.entry.js → p-6b5e39ee.entry.js} +1 -1
- package/lib/duet/{p-6537159a.system.entry.js → p-6c00dfb5.system.entry.js} +2 -2
- package/lib/duet/{p-29152853.entry.js → p-6d48f1c4.entry.js} +1 -1
- package/lib/duet/{p-4e9052cd.entry.js → p-7139626a.entry.js} +1 -1
- package/lib/duet/{p-5e25b406.entry.js → p-73c280bb.entry.js} +1 -1
- package/lib/duet/{p-a2aa619b.system.entry.js → p-74b57062.system.entry.js} +1 -1
- package/lib/duet/{p-d86d8491.system.entry.js → p-77a5979a.system.entry.js} +1 -1
- package/lib/duet/{p-a2b93336.system.entry.js → p-7a5d4bab.system.entry.js} +1 -1
- package/lib/duet/{p-d6dc9819.system.entry.js → p-7b2a838e.system.entry.js} +1 -1
- package/lib/duet/{p-07847129.system.entry.js → p-7bab8eb6.system.entry.js} +1 -1
- package/lib/duet/p-7e43234e.system.entry.js +4 -0
- package/lib/duet/{p-c8d3cb52.entry.js → p-7f0c1c0e.entry.js} +1 -1
- package/lib/duet/{p-a19244e5.system.js → p-7f554f9f.system.js} +1 -1
- package/lib/duet/{p-8f4cdf46.system.entry.js → p-7fd7a60d.system.entry.js} +1 -1
- package/lib/duet/{p-ee1eb7cb.system.entry.js → p-8c63656f.system.entry.js} +1 -1
- package/lib/duet/{p-cf30c088.entry.js → p-8e296a40.entry.js} +1 -1
- package/lib/duet/{p-6b436ca9.entry.js → p-8fcf0e29.entry.js} +1 -1
- package/lib/duet/p-9425a4c7.entry.js +4 -0
- package/lib/duet/{p-1e9e887d.entry.js → p-95619107.entry.js} +1 -1
- package/lib/duet/{p-e44da0ff.system.entry.js → p-9588973a.system.entry.js} +1 -1
- package/lib/duet/p-96486337.js +4 -0
- package/lib/duet/{p-5dbd1202.entry.js → p-96651bfb.entry.js} +1 -1
- package/lib/duet/{p-021a4763.system.entry.js → p-992fbb59.system.entry.js} +1 -1
- package/lib/duet/{p-d43fc5e9.system.entry.js → p-9a0cf830.system.entry.js} +1 -1
- package/lib/duet/{p-0e348f96.system.entry.js → p-9a4876ee.system.entry.js} +1 -1
- package/lib/duet/{p-c694f12d.system.entry.js → p-9b3de59e.system.entry.js} +1 -1
- package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c0dfc4c.system.entry.js} +1 -1
- package/lib/duet/{p-b6c584b6.entry.js → p-9c8e18c3.entry.js} +1 -1
- package/lib/duet/{p-a7d809b4.system.entry.js → p-9ea7fa90.system.entry.js} +1 -1
- package/lib/duet/{p-fee25f59.entry.js → p-a1b37a23.entry.js} +1 -1
- package/lib/duet/p-a29cc56f.entry.js +4 -0
- package/lib/duet/{p-43cc4ad9.system.entry.js → p-a3ca0940.system.entry.js} +1 -1
- package/lib/duet/{p-e8dd29e7.entry.js → p-a665ef43.entry.js} +1 -1
- package/lib/duet/{p-153b6150.system.entry.js → p-a6b74aa3.system.entry.js} +1 -1
- package/lib/duet/{p-7972306f.entry.js → p-a74dfd61.entry.js} +1 -1
- package/lib/duet/{p-27260106.entry.js → p-a8a61acf.entry.js} +1 -1
- package/lib/duet/{p-5db9497a.entry.js → p-aa0d8a63.entry.js} +1 -1
- package/lib/duet/{p-c2dd561e.entry.js → p-ab2c5dde.entry.js} +1 -1
- package/lib/duet/p-ab30e71c.system.js +4 -0
- package/lib/duet/p-abbe1cc1.system.entry.js +4 -0
- package/lib/duet/{p-3106c658.entry.js → p-af0e5fd2.entry.js} +1 -1
- package/lib/duet/{p-25d79094.entry.js → p-b1c7bab9.entry.js} +1 -1
- package/lib/duet/{p-fbf89657.system.entry.js → p-b3b30fd1.system.entry.js} +1 -1
- package/lib/duet/{p-b010f56b.system.entry.js → p-b4fd057b.system.entry.js} +2 -2
- package/lib/duet/{p-a47047f2.entry.js → p-b6545691.entry.js} +1 -1
- package/lib/duet/{p-b765710e.entry.js → p-b798b4d2.entry.js} +1 -1
- package/lib/duet/{p-3faaa469.entry.js → p-b79c3aeb.entry.js} +1 -1
- package/lib/duet/{p-dfd223d9.entry.js → p-bb24eef2.entry.js} +1 -1
- package/lib/duet/{p-2dc360ee.entry.js → p-bd2db43c.entry.js} +1 -1
- package/lib/duet/p-beb142ed.entry.js +4 -0
- package/lib/duet/{p-aca3a5a9.entry.js → p-bf5598df.entry.js} +1 -1
- package/lib/duet/{p-2b6a7397.js → p-bfca6c2b.js} +1 -1
- package/lib/duet/p-c0e14147.entry.js +4 -0
- package/lib/duet/{p-a600451a.entry.js → p-c150a950.entry.js} +1 -1
- package/lib/duet/{p-7a67ce10.system.entry.js → p-c4d5d956.system.entry.js} +1 -1
- package/lib/duet/{p-2eae4a0b.js → p-c62f5d52.js} +1 -1
- package/lib/duet/{p-3d96186f.system.entry.js → p-c7ff191d.system.entry.js} +1 -1
- package/lib/duet/{p-f43e134e.system.entry.js → p-cb77c1de.system.entry.js} +1 -1
- package/lib/duet/{p-b69f3d9d.system.entry.js → p-cddf161e.system.entry.js} +1 -1
- package/lib/duet/{p-20d056ac.entry.js → p-cf003b88.entry.js} +1 -1
- package/lib/duet/{p-efa5ec67.entry.js → p-cf625cbb.entry.js} +1 -1
- package/lib/duet/{p-4a9978a4.entry.js → p-cfdcbb30.entry.js} +1 -1
- package/lib/duet/{p-ff4f7076.entry.js → p-d1f4ac8c.entry.js} +1 -1
- package/lib/duet/{p-4ee7eb8a.entry.js → p-d3ac38ac.entry.js} +1 -1
- package/lib/duet/{p-486576ee.entry.js → p-d3ef46cd.entry.js} +1 -1
- package/lib/duet/{p-612fbfcc.entry.js → p-d413a2c6.entry.js} +1 -1
- package/lib/duet/{p-0a305aee.entry.js → p-d51cf1cd.entry.js} +1 -1
- package/lib/duet/{p-620d4575.system.entry.js → p-d83a36ae.system.entry.js} +1 -1
- package/lib/duet/{p-c3ba8e74.system.entry.js → p-dcc15d1d.system.entry.js} +1 -1
- package/lib/duet/p-ddcab9e6.entry.js +4 -0
- package/lib/duet/{p-7d2fffc2.entry.js → p-e11c7af8.entry.js} +1 -1
- package/lib/duet/{p-44ee649f.system.entry.js → p-e1276df2.system.entry.js} +1 -1
- package/lib/duet/{p-7acabaa7.system.js → p-e1dc6290.system.js} +1 -1
- package/lib/duet/{p-2de0ab3d.system.entry.js → p-e2677bc7.system.entry.js} +1 -1
- package/lib/duet/{p-f75a6d54.system.entry.js → p-e28fec51.system.entry.js} +1 -1
- package/lib/duet/{p-192bba35.system.entry.js → p-e383f338.system.entry.js} +1 -1
- package/lib/duet/p-e60cfd49.entry.js +4 -0
- package/lib/duet/{p-7dd3b7d1.entry.js → p-e645b4e7.entry.js} +1 -1
- package/lib/duet/{p-769a3309.system.entry.js → p-e69009c4.system.entry.js} +1 -1
- package/lib/duet/{p-55674524.entry.js → p-e7b90da4.entry.js} +1 -1
- package/lib/duet/{p-380f74e8.system.entry.js → p-e8bda74c.system.entry.js} +1 -1
- package/lib/duet/{p-6324514a.system.entry.js → p-ea9dff2a.system.entry.js} +2 -2
- package/lib/duet/p-ecf0bd48.entry.js +4 -0
- package/lib/duet/{p-894c1be1.system.entry.js → p-edfcf048.system.entry.js} +1 -1
- package/lib/duet/{p-f6bd2d4f.system.entry.js → p-ef06a688.system.entry.js} +1 -1
- package/lib/duet/{p-2b2cd3be.entry.js → p-f4077098.entry.js} +1 -1
- package/lib/duet/p-f5a183bc.system.js +4 -0
- package/lib/duet/{p-8abb0984.js → p-fbc91093.js} +1 -1
- package/lib/duet/{p-8142169f.system.entry.js → p-fbff139c.system.entry.js} +1 -1
- package/lib/duet/{p-34024554.system.entry.js → p-fbfff2fd.system.entry.js} +1 -1
- package/lib/duet/{p-5170726b.system.entry.js → p-fc0f5442.system.entry.js} +1 -1
- package/lib/duet/{p-eca03d5e.js → p-ffc9889e.js} +1 -1
- package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-87588675.js} +1 -1
- package/lib/esm/{app-globals-00959ca9.js → app-globals-ea4c814c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +12 -9
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +14 -44
- package/lib/esm/duet-card.entry.js +8 -5
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +6 -6
- package/lib/esm/duet-choice_2.entry.js +11 -11
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +12 -7
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +10 -10
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +48 -48
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +30 -27
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-1ac5fe3d.js} +1 -1
- package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4430bb1e.js} +1 -1
- package/lib/esm/{index-1d0b7c66.js → index-eedb042d.js} +1 -1
- package/lib/esm/{label-ce262202.js → label-8f4b9790.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-238c5ed0.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-1ce92adf.js} +1 -1
- package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-87588675.js} +1 -1
- package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-ea4c814c.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.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 +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- 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-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.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/{errorcodes.utils-d9431251.js → errorcodes.utils-1ac5fe3d.js} +1 -1
- package/lib/esm-es5/focus-utils-4430bb1e.js +4 -0
- package/lib/esm-es5/{index-1d0b7c66.js → index-eedb042d.js} +1 -1
- package/lib/esm-es5/{label-ce262202.js → label-8f4b9790.js} +1 -1
- package/lib/esm-es5/{language-utils-14969cef.js → language-utils-238c5ed0.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-1ce92adf.js} +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
- package/lib/types/components/duet-link/duet-link.d.ts +0 -7
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
- package/lib/types/components.d.ts +12 -6
- package/package.json +3 -3
- package/lib/duet/p-05ca5aea.entry.js +0 -4
- package/lib/duet/p-0e8e80b1.entry.js +0 -4
- package/lib/duet/p-1268b5a0.system.entry.js +0 -4
- package/lib/duet/p-20eaf445.system.entry.js +0 -4
- package/lib/duet/p-2a979523.entry.js +0 -4
- package/lib/duet/p-2bf17427.entry.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-9fb9ba73.entry.js +0 -4
- package/lib/duet/p-aa82f9a1.entry.js +0 -4
- package/lib/duet/p-ac9460ca.entry.js +0 -4
- package/lib/duet/p-c8e22ae2.system.entry.js +0 -4
- package/lib/duet/p-d3c304b5.system.js +0 -4
- package/lib/duet/p-d7d86092.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-e93849fd.system.entry.js +0 -4
- package/lib/duet/p-e9d2f4a1.entry.js +0 -4
- package/lib/duet/p-f3633004.entry.js +0 -4
- package/lib/duet/p-f3cf6b50.entry.js +0 -4
- package/lib/duet/p-fbc396a7.system.entry.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { e as enableBodyScroll, d as disableBodyScroll } from './body-scroll-46854769.js';
|
|
7
|
-
import { f as focusElement, F as FocusGuard } from './focus-utils-
|
|
7
|
+
import { f as focusElement, F as FocusGuard } from './focus-utils-4430bb1e.js';
|
|
8
8
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
9
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './language-utils-238c5ed0.js';
|
|
10
|
+
import { h as hasSlot } from './slot-utils-1ce92adf.js';
|
|
11
11
|
import { T as Teleport } from './teleport-546f382d.js';
|
|
12
12
|
import { g as getColorByName } from './token-utils-b9ba8c5e.js';
|
|
13
13
|
import './string-utils-192eb3c8.js';
|
|
@@ -32,8 +32,12 @@ const DuetSlideout = class {
|
|
|
32
32
|
};
|
|
33
33
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
34
34
|
this.hasStickyHeaderSlot = false;
|
|
35
|
-
this.setOpenButton = (element) => {
|
|
35
|
+
this.setOpenButton = (element, addClickListener = false) => {
|
|
36
|
+
if (this.openButton) {
|
|
37
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
38
|
+
}
|
|
36
39
|
if (!element) {
|
|
40
|
+
this.openButton = undefined;
|
|
37
41
|
return;
|
|
38
42
|
}
|
|
39
43
|
try {
|
|
@@ -41,6 +45,9 @@ const DuetSlideout = class {
|
|
|
41
45
|
button.accessiblePopup = "true";
|
|
42
46
|
button.accessibleExpanded = false;
|
|
43
47
|
this.openButton = button;
|
|
48
|
+
if (addClickListener) {
|
|
49
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
50
|
+
}
|
|
44
51
|
}
|
|
45
52
|
catch (_e) { }
|
|
46
53
|
};
|
|
@@ -85,17 +92,11 @@ const DuetSlideout = class {
|
|
|
85
92
|
return this._opener;
|
|
86
93
|
}
|
|
87
94
|
set opener(value) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
this.setOpenButton(
|
|
93
|
-
if (this.openButton) {
|
|
94
|
-
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.setOpenButton(value);
|
|
95
|
+
const isString = typeof value === "string";
|
|
96
|
+
const element = isString ? document.getElementById(value) : value;
|
|
97
|
+
if (this.openButton !== element) {
|
|
98
|
+
this._opener = value;
|
|
99
|
+
this.setOpenButton(element, isString);
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
/**
|
|
@@ -123,10 +124,14 @@ const DuetSlideout = class {
|
|
|
123
124
|
this.teleport.activate();
|
|
124
125
|
}
|
|
125
126
|
this.setStickHeaderStyleMutations();
|
|
126
|
-
this.mutationObserver
|
|
127
|
-
this.
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
if (!this.mutationObserver) {
|
|
128
|
+
this.mutationObserver = new MutationObserver(() => {
|
|
129
|
+
this.openPanel = !!this.getOpenPanel();
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
if (this.mutationObserver) {
|
|
133
|
+
this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
|
|
134
|
+
}
|
|
130
135
|
}
|
|
131
136
|
disconnectedCallback() {
|
|
132
137
|
disconnectLanguageChangeObserver(this);
|
|
@@ -136,9 +141,7 @@ const DuetSlideout = class {
|
|
|
136
141
|
if (this.mutationObserver) {
|
|
137
142
|
this.mutationObserver.disconnect();
|
|
138
143
|
}
|
|
139
|
-
|
|
140
|
-
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
141
|
-
}
|
|
144
|
+
this.setOpenButton(undefined);
|
|
142
145
|
this.setStickHeaderStyleMutations(true);
|
|
143
146
|
}
|
|
144
147
|
handleOpenChange(newValue, oldValue) {
|
|
@@ -245,16 +248,16 @@ const DuetSlideout = class {
|
|
|
245
248
|
};
|
|
246
249
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
247
250
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
248
|
-
return (h(Host, { key: '
|
|
251
|
+
return (h(Host, { key: '442d33f6458c00b70dd07935e8f3e43930141e11' }, h("div", { key: '0e75529afea4bb8859421915b5ecd4e6b5565a83', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '56849d4e34fa1592fb5922348b4d8118f921d055', visible: this.open, "display-device": "large", zIndex: "600" }), h("div", { key: 'b978aec0784cf1007d785d8ebd819c297f4998e5', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
249
252
|
dialog: true,
|
|
250
253
|
hidden: !this.open,
|
|
251
254
|
modal: this.modal,
|
|
252
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
255
|
+
}, style: styles }, h(FocusGuard, { key: '6cc193c78070681dabe920b1b7381ebd497d3821', moveFocusTo: this.closeButton }), h("div", { key: '5dc29f794235c6a14962ab3a9da17fdff6f2f218', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '136c72d98ca4f75b01e64a3e2bf3d96dcc3c3ae5', class: "top" }, h("button", { key: '7b5c18198603110aef66693c4317d70d4a1fbb2d', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
253
256
|
"slideout-close": true,
|
|
254
257
|
active: this.open,
|
|
255
|
-
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '
|
|
258
|
+
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '60bc0d96f8af3a6ce942d343c8420a24029a8772', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'b343662a78bb466e741ebd48a7a741b7656b3dd7', class: "sticky-header" }, h("slot", { key: 'c3d791a930c1f30d5564ddbae00ef8de0504877a', name: "sticky-header" }))), h("div", { key: '18de1f6b4109301126666aef449e0bf5959e1c75', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
256
259
|
items: true,
|
|
257
|
-
} }, h("slot", { key: '
|
|
260
|
+
} }, h("slot", { key: 'e3582c390875ed9b88f49af071538ca9a32a45fc' })), h(FocusGuard, { key: '37f536ecdd2e3793b58b709789036f006bd699e2', moveFocusTo: this.closeButton })))));
|
|
258
261
|
}
|
|
259
262
|
get element() { return getElement(this); }
|
|
260
263
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -36,12 +36,12 @@ const DuetSubmenuBarDropdownLink = class {
|
|
|
36
36
|
* Always the last one in the class.
|
|
37
37
|
*/
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '8e6a108958719714fbefbffcef40f07ce8534b02' }, h("a", { key: '12f951166275159eb55697c41c54d05ce416231f', class: {
|
|
40
40
|
"duet-submenu-bar-dropdown-link": true,
|
|
41
41
|
"duet-theme-turva": this.theme === "turva",
|
|
42
42
|
highlight: this.highlight,
|
|
43
43
|
active: this.active,
|
|
44
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '
|
|
44
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '86b4f1dd2ed617060b2710bb94e62f824d5527a4', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '4c12186535ab8cd78eeb73256f2c5e7b1e1a42dc', class: "label-container" }, h("span", { key: '746e73ea2b480e0300a8879d85170029c5c269ee', class: "label" }, h("slot", { key: '110738471d576d743d9cfa0f615745b8ada02c1a' })), this.caret && h("duet-icon", { key: 'c865298fc0ca62b44faccbcf590c92994ed530f1', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '2b841cf6e37e5f4b7df0505cdc058fda2726019b', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
45
45
|
}
|
|
46
46
|
get element() { return getElement(this); }
|
|
47
47
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { a as media_query_large } from './tokens-84fb2357.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
7
7
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
@@ -101,18 +101,18 @@ const DuetSubmenuBarDropdown = class {
|
|
|
101
101
|
* Always the last one in the class.
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '8c793e9f3f2b70bc3ba493a71a396735f0e95260', role: "listitem" }, h("div", { key: '61f56c228fcf95e781f5b758e827586092b00c6e', class: {
|
|
105
105
|
"duet-submenu-bar-dropdown": true,
|
|
106
106
|
"duet-theme-turva": this.theme === "turva",
|
|
107
107
|
open: this.open,
|
|
108
108
|
active: this.active,
|
|
109
|
-
} }, h("button", { key: '
|
|
109
|
+
} }, h("button", { key: 'dd194b9b7b3e6235c422d54a9e4d7ccafcd32a9b', 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: {
|
|
110
110
|
open: this.open,
|
|
111
111
|
active: this.active,
|
|
112
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
112
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '27106945fae616e8b7c9063fc8ca0316c37c7bdc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'df4d98ea52064c16f5949ccd369dfb33c8b1fa63', class: "label" }, h("span", { key: 'd423278a3e59d916ab8dfbbb1418797c7e521a07', class: "label-text" }, h("slot", { key: '69b4312cce709d0e11a6694e4805d25df6f50ad6', name: "label" })), h("duet-icon", { key: 'c76e9d0a6ac9b26f604939814273461b43b03cec', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '6456fbb229637f05ff2de261a14f67b65e00db9a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
113
113
|
items: true,
|
|
114
114
|
hidden: !this.open,
|
|
115
|
-
} }, h("slot", { key: '
|
|
115
|
+
} }, h("slot", { key: '786040677e91481055caf78f49b5372b5360f108' })))));
|
|
116
116
|
}
|
|
117
117
|
get element() { return getElement(this); }
|
|
118
118
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
8
|
-
import { g as getAccessibleLinkLabel } from './a11y-utils-
|
|
8
|
+
import { g as getAccessibleLinkLabel } from './a11y-utils-87588675.js';
|
|
9
9
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
10
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
11
|
-
import './slot-utils-
|
|
10
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-238c5ed0.js';
|
|
11
|
+
import './slot-utils-1ce92adf.js';
|
|
12
12
|
import './string-utils-192eb3c8.js';
|
|
13
13
|
|
|
14
14
|
const duetSubmenuBarItemCss = "*,*::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%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;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:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}";
|
|
@@ -64,7 +64,7 @@ const DuetSubmenuBarItem = class {
|
|
|
64
64
|
render() {
|
|
65
65
|
const TagName = this.url ? "a" : "button";
|
|
66
66
|
const role = this.url ? "link" : "button";
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '6e2cee3487328e2c5f7b0c5e947a8f97c739abfe', role: "listitem" }, h(TagName, { key: 'dd06fa4821a6c3d39686c0a35bca3d3e643c7790', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'beedaa0abf90cebfed6a0bc49cdd0f022b97aaad', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'f740336fa798b6da2cbaaec645ae829b2587129a', class: "label" }, h("span", { key: 'aaf68d1e5dd57e8e2931d021ac3bec6b101b7b38', class: "label-text" }, h("slot", { key: '1fcd6459e1af576b61871b9c050a31eb2a8b490d' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c43767d76cec897ffda6a9e3718dfb0e624707dd', class: {
|
|
68
68
|
"trailing-icon": !!this.trailingIcon,
|
|
69
69
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
70
70
|
"external-icon": !!this.external,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -34,7 +34,7 @@ const DuetSubmenuBarLink = class {
|
|
|
34
34
|
* Always the last one in the class.
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'd44a022e91733242dcf9d0715fdea0dd9413fc8c', role: "listitem" }, h("a", { key: 'a86eeb53bc8714df6212d0a1576df487efd637dd', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '46c05eceaaed109253e10fe7f5f4c4e02b71192d', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '999718d74fd76be6b9b89bc6b87877614ddc01ba', class: "label" }, h("slot", { key: 'bce3596e218360bc8f5e19182194a608471e75e3' })))));
|
|
38
38
|
}
|
|
39
39
|
get element() { return getElement(this); }
|
|
40
40
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { a as media_query_large } from './tokens-84fb2357.js';
|
|
6
6
|
import { e as enableBodyScroll, d as disableBodyScroll } from './bodyScrollLock.es6-ecbf187e.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
@@ -127,19 +127,19 @@ const DuetSubmenuBar = class {
|
|
|
127
127
|
* Always the last one in the class.
|
|
128
128
|
*/
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '86badada1aee5007210401a18b909265c6e7da8e' }, h("nav", { key: 'f32fed7e0ce0788624a3e4255ae0db18c1d0a815', class: {
|
|
131
131
|
"duet-submenu-bar": true,
|
|
132
132
|
"duet-theme-turva": this.theme === "turva",
|
|
133
133
|
hidden: this.hidden,
|
|
134
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '
|
|
134
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '023f42471735d52798e9b93e0097d092a876d970', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
135
135
|
active: this.open,
|
|
136
|
-
}, onClick: this.onClick }, h("span", { key: '
|
|
136
|
+
}, onClick: this.onClick }, h("span", { key: 'e2dd228fb84c96175fe18c53885d5d7b29d0c227', class: "label" }, h("slot", { key: '22b3d8b20a06e0ebb32f5389cc4e76b86470cffc', name: "label" }), h("duet-icon", { key: 'aa83f5bb09c66b7b1e167e832c384726a0f39686', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: 'ab3308f7c02cc8248bb249dd9254e1a6dde9c0f3', class: {
|
|
137
137
|
"menu-container": true,
|
|
138
138
|
hidden: !this.open,
|
|
139
|
-
}, role: "presentation" }, h("div", { key: '
|
|
139
|
+
}, role: "presentation" }, h("div", { key: 'cd19031fc8263a08267dc1338031143f109f97c3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
140
140
|
items: true,
|
|
141
141
|
hidden: !this.open,
|
|
142
|
-
}, ref: element => (this.itemsContainer = element) }, h("div", { key: '
|
|
142
|
+
}, ref: element => (this.itemsContainer = element) }, h("div", { key: 'aff4f8d6fe01ca9a2a25dcf4c3255cbea5fe2bb5', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '157ba2c07ca33927c016826805d4abed7f5e2b4d' }), h("div", { key: 'e86d0f34cecc3968fd93a43e4877393c68f518aa', class: "list-padding" }))), h("duet-overlay", { key: 'e9e83e146db0024d79405ba9de389c647aa9f1f6', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
143
143
|
}
|
|
144
144
|
get element() { return getElement(this); }
|
|
145
145
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
|
-
import { D as DuetInternalLabel } from './label-
|
|
6
|
+
import { D as DuetInternalLabel } from './label-8f4b9790.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { c as cleanValue } from './input-utils-85681162.js';
|
|
9
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-238c5ed0.js';
|
|
10
|
+
import { c as checkNamedSlotElement, p as proxyInputToSlot } from './slot-utils-1ce92adf.js';
|
|
11
11
|
import './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
const duetTextareaCss = ".duet-internal-label{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;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;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;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;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{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);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{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;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{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(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}";
|
|
@@ -175,17 +175,17 @@ const DuetTextarea = class {
|
|
|
175
175
|
*/
|
|
176
176
|
render() {
|
|
177
177
|
const identifier = this.identifier || this.textareaId;
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: 'b821aec8b3ee59b348a011e0140e2387f26da39d', class: {
|
|
179
179
|
"duet-m-0": this.margin === "none",
|
|
180
180
|
"duet-has-counter": this.counter && !this.error,
|
|
181
181
|
"duet-expand": this.expand,
|
|
182
|
-
} }, h("div", { key: '
|
|
182
|
+
} }, h("div", { key: 'f56d97bff7e94644241d19d049585364157adade', class: {
|
|
183
183
|
"duet-textarea-container": true,
|
|
184
184
|
"duet-theme-turva": this.theme === "turva",
|
|
185
185
|
"duet-label-hidden": this.labelHidden,
|
|
186
186
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
187
187
|
"has-error": !!this.error,
|
|
188
|
-
} }, h(DuetInternalLabel, { key: '
|
|
188
|
+
} }, h(DuetInternalLabel, { key: '7c1e03e07b39d7e6191202bade688fc75728a3aa', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f708a87ffcb1b8747ca9debe71883387fbddbc6d', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'ac2de37430f5b367a3ca4da1174dba381a7b1f70', name: "tooltip" }), this.caption && (h("duet-caption", { key: '57784c29c408fb624a5f150f5312ea0037f08e09', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '752b526a970df90cd09e641ce57d6b1b496d4045', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'e72d261a72b99e94fedb8db94bcc02e0f4a92e32', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: 'c25b836cac3ba19e15eb9cf223321da6e2776320', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '996a289b27bce9161f2c1d008a57f8d1ea22e9c0', alignment: "stretch" }, h("duet-grid-item", { key: '028ae3bb7e264bda3d8b4ed4397fcce4057faf6f', margin: "none", fill: true }, h("div", { key: 'a5de4b40049dba2fd5eb737f56691b26aba77026', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f9d50772c6ab039b7d4a7455eb7c15a89d3a0408' }, this.error))), h("duet-grid-item", { key: '9c3b3984287d07b8ac4ebd0f9ed72dbd5ce0596e', margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { key: '8c50c85b05c0df4fad9ebcccdc74b89149b7888d', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { key: '421074dd95f8ba8955cc95554a8efa7fd3df4969', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
189
189
|
this.hiddenCounterLabel = el;
|
|
190
190
|
} })))));
|
|
191
191
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
|
-
import { D as DuetInternalLabel } from './label-
|
|
6
|
+
import { D as DuetInternalLabel } from './label-8f4b9790.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-439bcc8b.js';
|
|
9
|
-
import { p as proxyInputToSlot } from './slot-utils-
|
|
9
|
+
import { p as proxyInputToSlot } from './slot-utils-1ce92adf.js';
|
|
10
10
|
|
|
11
11
|
const duetToggleCss = ".duet-internal-label{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;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;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
|
|
12
12
|
const DuetToggleStyle0 = duetToggleCss;
|
|
@@ -87,12 +87,12 @@ const DuetToggle = class {
|
|
|
87
87
|
*/
|
|
88
88
|
render() {
|
|
89
89
|
const identifier = this.identifier || this.toggleId;
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'bf8502b497d41349ab2fd1bb0abca6b16c87fb6c', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '17d971af6ec2d5bc251ffd734bea74dd1f3ee749', class: {
|
|
91
91
|
"duet-toggle": true,
|
|
92
92
|
"duet-theme-turva": this.theme === "turva",
|
|
93
93
|
"duet-side-label": this.labelPosition !== "top",
|
|
94
94
|
"duet-reverse-label": this.labelPosition === "right",
|
|
95
|
-
} }, h(DuetInternalLabel, { key: '
|
|
95
|
+
} }, h(DuetInternalLabel, { key: 'ee79a22afd025e1c86d7f4526eb27af6d5e68d85', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: '9c4488aed6bafaf974b4389cb02809bb0ea2c478', class: "duet-switch" }, h("input", { key: '8140d3b60b2e094489f89788cc34d29427bce990', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { key: '3c207d4e7ede368ebbaf589a9bda47b1f73abfef', class: "duet-slider" })))));
|
|
96
96
|
}
|
|
97
97
|
get element() { return getElement(this); }
|
|
98
98
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -36,11 +36,11 @@ const DuetToolbarDropdownLink = class {
|
|
|
36
36
|
* Always the last one in the class.
|
|
37
37
|
*/
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '34d25bff907ba75e14bb51f500bffea729b32482' }, h("a", { key: 'e9a8a7450c3e0f3c3835e7646384b52545b8b418', class: {
|
|
40
40
|
"duet-toolbar-dropdown-link": true,
|
|
41
41
|
"duet-theme-turva": this.theme === "turva",
|
|
42
42
|
active: this.active,
|
|
43
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '
|
|
43
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '7f22b9e1f170f2c6b4a08df11be5cb4e11a2efd0', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: '78c798a19faa674e60d34672d1db627c8b47ab08', class: "label" }, h("slot", { key: '9f7e624dc12e4e35f51eb97e5bf01b5182f45635' })), this.active && (h("duet-icon", { key: 'a85b6330a153a4d6acb61d74a10f538a7fbf95f7', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
44
44
|
}
|
|
45
45
|
get element() { return getElement(this); }
|
|
46
46
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { f as isEscapeKey } from './keyboard-utils-439bcc8b.js';
|
|
7
7
|
|
|
@@ -55,18 +55,18 @@ const DuetToolbarDropdown = class {
|
|
|
55
55
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
56
56
|
}
|
|
57
57
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'fd5e7e1fb2af68f79aa4aa4799dc11bc85403e9a', role: "listitem" }, h("div", { key: 'de3b994b5ec7045967a4736ff96a1e8564dded5b', class: {
|
|
59
59
|
"duet-toolbar-dropdown": true,
|
|
60
60
|
"duet-theme-turva": this.theme === "turva",
|
|
61
61
|
[itemsAlign]: true,
|
|
62
62
|
[variation]: true,
|
|
63
|
-
} }, h("button", { key: '
|
|
63
|
+
} }, h("button", { key: 'd97d3ac97857caddc2f42cf2d610c7c6bfd5415c', 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: {
|
|
64
64
|
active: this.active,
|
|
65
65
|
open: this.open,
|
|
66
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
66
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '75e4c173df866a7dc3a6141bb4d1cbd406877f65', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: 'b622b49718364a9c18f4fd364029eafd63e7f415', class: "label" }, h("slot", { key: '6d5093ee7b444d1bd73a3ddea2cabb32618d9c83', name: "label" }), h("duet-icon", { key: '0c2bdc620ad95743d6cfba1eb8591f0a195afa48', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '7f06bf77c02ff8113ae54ea64a7e951dac7ff492', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
67
67
|
items: true,
|
|
68
68
|
hidden: !this.open,
|
|
69
|
-
} }, h("slot", { key: '
|
|
69
|
+
} }, h("slot", { key: '7b7b9a440494c81a4ea1c8e40bb22a8e48b25c1d' })))));
|
|
70
70
|
}
|
|
71
71
|
get element() { return getElement(this); }
|
|
72
72
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
8
|
-
import { g as getAccessibleLinkLabel } from './a11y-utils-
|
|
9
|
-
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import './slot-utils-
|
|
8
|
+
import { g as getAccessibleLinkLabel } from './a11y-utils-87588675.js';
|
|
9
|
+
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-238c5ed0.js';
|
|
10
|
+
import './slot-utils-1ce92adf.js';
|
|
11
11
|
import './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
const duetToolbarItemCss = "*,*::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-item{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, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item:focus.primary{box-shadow:0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866}.duet-theme-turva .duet-toolbar-item:focus.primary,.duet-toolbar-item:focus.primary.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.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-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.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-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
@@ -64,17 +64,17 @@ const DuetToolbarItem = class {
|
|
|
64
64
|
: this.variation === "secondary"
|
|
65
65
|
? "secondary"
|
|
66
66
|
: "default";
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: 'b0ef61c45dc609f951d6d988554f0e8050838bfd', role: "listitem" }, h(TagName, { key: '43b146cd21ed876366c8145f56f1a45e57a9abf6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
68
68
|
"duet-toolbar-item": true,
|
|
69
69
|
"duet-theme-turva": this.theme === "turva",
|
|
70
70
|
active: this.active,
|
|
71
71
|
[variation]: true,
|
|
72
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: '
|
|
72
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: 'fa4ac41c37fa3666d5a1fae9f300c89899c65bd8', class: "duet-toolbar-icon" }, h("duet-icon", { key: 'ce22edd361c76194471a7dc43e22952fdd169f66', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'c13051a6ee99f8b86865c7bcab10501eb968c809', class: "duet-toolbar-badge" }))), h("slot", { key: 'feddff8d9331588edfad9119f3586a147cdf783f' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '9df34d52cae2cf7c987f832bfa8ab9e81e322b52', class: "duet-toolbar-icon" }, h("duet-icon", { key: '6034e2e76014c46c50d45ae2a3d174938941b294', class: {
|
|
73
73
|
"trailing-icon": !!this.trailingIcon,
|
|
74
74
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
75
75
|
"external-icon": !!(this.url && this.external),
|
|
76
76
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
77
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '
|
|
77
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '74d88721c86afbe9628b68193045d966110a6840', class: "duet-toolbar-badge" }))))));
|
|
78
78
|
}
|
|
79
79
|
get element() { return getElement(this); }
|
|
80
80
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
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, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.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.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.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)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
@@ -29,12 +29,12 @@ const DuetToolbarLink = class {
|
|
|
29
29
|
*/
|
|
30
30
|
render() {
|
|
31
31
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '56d638c52e6ef59f5a1273a2cb5d2cf9d996005c', role: "listitem" }, h("a", { key: '07e65b8ed6600bfb30800874b9c6cf1987e5daea', class: {
|
|
33
33
|
"duet-toolbar-link": true,
|
|
34
34
|
"duet-theme-turva": this.theme === "turva",
|
|
35
35
|
active: this.active,
|
|
36
36
|
[variation]: true,
|
|
37
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
37
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'fefe79b575bcc816d4d5c803f75f0ea66e2b4eac', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '5c58ccf2a15c5eb4ca70c25fe1bbe45fedb094a5' }))));
|
|
38
38
|
}
|
|
39
39
|
get element() { return getElement(this); }
|
|
40
40
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-eedb042d.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
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;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;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(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";
|
|
@@ -32,11 +32,11 @@ const DuetToolbar = class {
|
|
|
32
32
|
: this.variation === "secondary"
|
|
33
33
|
? "secondary"
|
|
34
34
|
: "default";
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '623f017e9ed4beb5b7a48bd2e1f2fc84c1c249c3' }, h("nav", { key: 'dacb193ee88a1e8445a0b662de8f5a717f9883dd', class: {
|
|
36
36
|
"duet-toolbar": true,
|
|
37
37
|
"duet-theme-turva": this.theme === "turva",
|
|
38
38
|
[variation]: true,
|
|
39
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
39
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '10f9e7ede421701301e1e1ee45ae85b61c54184a', class: "container" }, h("div", { key: '7bde8fc12ca6d1267484a0f5d2d0aa9146dfe220', class: "list", role: "list" }, h("slot", { key: '71515d752a76eed3236b91e158221a39ea7f9984', name: "left" })), h("div", { key: 'b731edf335cceac55399e111e45f67425e8c28ae', class: "list", role: "list" }, h("slot", { key: 'b079f0298ca68bdc17d45001797e3b759e0ea226', name: "right" }))))));
|
|
40
40
|
}
|
|
41
41
|
get element() { return getElement(this); }
|
|
42
42
|
};
|