@duetds/components 9.2.3 → 9.2.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 +167 -127
- package/lib/cjs/{app-globals-76b570cd.js → app-globals-b7ff47d8.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 +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +48 -38
- package/lib/cjs/duet-callout.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +17 -8
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip_3.cjs.entry.js +8 -13
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +12 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +15 -4
- 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 +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- 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 +5 -5
- 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 +9 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -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 +3 -3
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-ba7fae1c.js → errorcodes.utils-c6d081c3.js} +1 -1
- package/lib/cjs/{focus-utils-ce2b65c9.js → focus-utils-23e4ff8f.js} +1 -1
- package/lib/cjs/{index-340b85bb.js → index-1e60119f.js} +1 -1
- package/lib/cjs/{language-utils-07b9f155.js → language-utils-81d6b885.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-ac35c5be.js → slot-utils-48acde5d.js} +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- package/lib/collection/components/duet-button/duet-button.js +70 -50
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +26 -5
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +6 -6
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +89 -24
- package/lib/collection/components/duet-link/duet-link.js +15 -6
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-notification/duet-notification.css +4 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +13 -7
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +14 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +51 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +6 -11
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- 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-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +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-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.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.css +6 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +24 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +23 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- 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 +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +7 -5
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +15 -15
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +20 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +26 -7
- 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 +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +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 +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +3 -3
- 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 +13 -13
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- 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 +19 -19
- 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-6fba1a8d.js → p-02d4e255.js} +5 -5
- package/lib/dist-custom-elements/{p-1ea54c70.js → p-05efc2ad.js} +1 -1
- package/lib/dist-custom-elements/{p-26b7ade3.js → p-0c33376d.js} +1 -1
- package/lib/dist-custom-elements/{p-78a5f782.js → p-14cf0405.js} +1 -1
- package/lib/dist-custom-elements/{p-1cb8476a.js → p-154e23a4.js} +5 -5
- package/lib/dist-custom-elements/{p-8d2d00df.js → p-1fc83053.js} +1 -1
- package/lib/dist-custom-elements/{p-4dc547d5.js → p-25ae787d.js} +8 -6
- package/lib/dist-custom-elements/{p-78ce84c0.js → p-2c618331.js} +1 -1
- package/lib/dist-custom-elements/{p-b0182f1f.js → p-2fe0ec41.js} +1 -1
- package/lib/dist-custom-elements/{p-92271f30.js → p-33b25588.js} +10 -10
- package/lib/dist-custom-elements/{p-2b8ce441.js → p-355cf1a0.js} +1 -1
- package/lib/dist-custom-elements/{p-f4db5912.js → p-399b6852.js} +3 -3
- package/lib/dist-custom-elements/{p-a8ec8761.js → p-3a3c57fa.js} +1 -1
- package/lib/dist-custom-elements/{p-63d7f555.js → p-40537c50.js} +51 -45
- package/lib/dist-custom-elements/{p-ee7efc3d.js → p-468e836e.js} +8 -8
- package/lib/dist-custom-elements/{p-38184acb.js → p-4ed3e96b.js} +1 -1
- package/lib/dist-custom-elements/{p-dac0f309.js → p-56bf7077.js} +17 -8
- package/lib/dist-custom-elements/{p-02c633ce.js → p-5ac3eb9e.js} +1 -1
- package/lib/dist-custom-elements/{p-8e6d8a49.js → p-66068065.js} +10 -10
- package/lib/dist-custom-elements/{p-b5e71a67.js → p-66e2fc31.js} +1 -1
- package/lib/dist-custom-elements/{p-8a6272fd.js → p-7024496b.js} +2 -2
- package/lib/dist-custom-elements/{p-c5aac304.js → p-7392954a.js} +2 -2
- package/lib/dist-custom-elements/{p-0230e9f7.js → p-7afc4806.js} +6 -6
- package/lib/dist-custom-elements/{p-f76d6e43.js → p-7c94fabf.js} +1 -1
- package/lib/dist-custom-elements/{p-d824ce45.js → p-8039b3f4.js} +1 -1
- package/lib/dist-custom-elements/{p-52a71225.js → p-82a1767d.js} +1 -1
- package/lib/dist-custom-elements/{p-b0a7f776.js → p-8aa90244.js} +1 -1
- package/lib/dist-custom-elements/{p-5be05df5.js → p-a52ad515.js} +10 -10
- package/lib/dist-custom-elements/{p-40eaa1e8.js → p-a584dec5.js} +8 -5
- package/lib/dist-custom-elements/{p-94084f9c.js → p-b27d6385.js} +6 -11
- package/lib/dist-custom-elements/{p-70dc7a81.js → p-b8b6704c.js} +2 -2
- package/lib/dist-custom-elements/{p-fabc88b7.js → p-c6032aa6.js} +3 -3
- package/lib/dist-custom-elements/{p-3eae8aeb.js → p-c79e2c95.js} +1 -1
- package/lib/dist-custom-elements/{p-75e5bd55.js → p-cefeff34.js} +3 -3
- package/lib/dist-custom-elements/{p-aee0da4a.js → p-d87c57a6.js} +2 -2
- package/lib/dist-custom-elements/{p-9f29df11.js → p-e874eaab.js} +1 -1
- package/lib/dist-custom-elements/{p-b5ab185d.js → p-eaa86979.js} +2 -2
- package/lib/dist-custom-elements/{p-5474eeba.js → p-f4db6b2b.js} +1 -1
- package/lib/dist-custom-elements/{p-f0080861.js → p-fde3372c.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-29dbe11f.system.entry.js → p-002bf3cc.system.entry.js} +2 -2
- package/lib/duet/{p-7456c30b.system.entry.js → p-0094ced9.system.entry.js} +2 -2
- package/lib/duet/{p-091a5f13.system.entry.js → p-00d6ff94.system.entry.js} +1 -1
- package/lib/duet/p-01866a30.entry.js +4 -0
- package/lib/duet/{p-9ac83cce.system.entry.js → p-021f11c6.system.entry.js} +1 -1
- package/lib/duet/{p-079f9e29.entry.js → p-07e37dc1.entry.js} +1 -1
- package/lib/duet/{p-af70b228.system.entry.js → p-0b5e025a.system.entry.js} +1 -1
- package/lib/duet/{p-0c9851a1.entry.js → p-10ad52f7.entry.js} +1 -1
- package/lib/duet/{p-e9246c27.system.entry.js → p-13b0b22a.system.entry.js} +1 -1
- package/lib/duet/{p-b51e2eee.system.entry.js → p-13b3ed39.system.entry.js} +1 -1
- package/lib/duet/{p-c1d59f6d.entry.js → p-13b65b53.entry.js} +1 -1
- package/lib/duet/{p-cf4ce1f7.entry.js → p-14d66f8d.entry.js} +1 -1
- package/lib/duet/{p-e9f172ff.entry.js → p-15695a8a.entry.js} +1 -1
- package/lib/duet/p-1787fcf6.entry.js +4 -0
- package/lib/duet/{p-b98222bd.system.entry.js → p-18335d08.system.entry.js} +1 -1
- package/lib/duet/{p-cd30e156.system.entry.js → p-1a04fb37.system.entry.js} +1 -1
- package/lib/duet/{p-ab6f31bd.js → p-1c87928d.js} +1 -1
- package/lib/duet/{p-30e9baf8.system.js → p-1ef8d7b8.system.js} +1 -1
- package/lib/duet/{p-9050c043.entry.js → p-224c8856.entry.js} +1 -1
- package/lib/duet/{p-ea2463be.entry.js → p-22d3f1d3.entry.js} +1 -1
- package/lib/duet/{p-672c2725.system.entry.js → p-23d08e5a.system.entry.js} +1 -1
- package/lib/duet/{p-618bf010.entry.js → p-2514de10.entry.js} +1 -1
- package/lib/duet/{p-4d5f2668.system.entry.js → p-25413f44.system.entry.js} +1 -1
- package/lib/duet/{p-626be65a.system.entry.js → p-257310a0.system.entry.js} +1 -1
- package/lib/duet/{p-b69bc1e1.system.entry.js → p-264a86f2.system.entry.js} +1 -1
- package/lib/duet/{p-91967747.entry.js → p-27f2b20a.entry.js} +1 -1
- package/lib/duet/{p-38b0ae95.system.entry.js → p-28177fca.system.entry.js} +1 -1
- package/lib/duet/{p-d84bf562.system.entry.js → p-29c02e96.system.entry.js} +2 -2
- package/lib/duet/{p-8e94ee62.system.entry.js → p-2a38085c.system.entry.js} +1 -1
- package/lib/duet/{p-c6f946fe.entry.js → p-2ad210fa.entry.js} +1 -1
- package/lib/duet/p-2bd88784.system.entry.js +4 -0
- package/lib/duet/{p-17a92a57.entry.js → p-2e1b1a11.entry.js} +1 -1
- package/lib/duet/{p-b79fe3aa.entry.js → p-308b5569.entry.js} +1 -1
- package/lib/duet/{p-454ce0a7.system.entry.js → p-351da421.system.entry.js} +1 -1
- package/lib/duet/{p-72d24fa8.system.entry.js → p-35b04619.system.entry.js} +1 -1
- package/lib/duet/{p-5ae54542.entry.js → p-35ce3a56.entry.js} +1 -1
- package/lib/duet/{p-ccf771f5.entry.js → p-35dc94c1.entry.js} +1 -1
- package/lib/duet/{p-5bd68f1e.entry.js → p-35f1b130.entry.js} +1 -1
- package/lib/duet/{p-6586fb03.js → p-365388f0.js} +1 -1
- package/lib/duet/{p-2e8c2654.system.entry.js → p-375d3aca.system.entry.js} +1 -1
- package/lib/duet/p-37d1aa40.entry.js +4 -0
- package/lib/duet/{p-f0443463.system.entry.js → p-3d74cf08.system.entry.js} +1 -1
- package/lib/duet/{p-821e7df8.system.entry.js → p-3df2ac28.system.entry.js} +1 -1
- package/lib/duet/{p-e7f2c310.js → p-3e56dd95.js} +1 -1
- package/lib/duet/{p-efa9f8e3.entry.js → p-41a27bcd.entry.js} +1 -1
- package/lib/duet/{p-63f0c13f.entry.js → p-41f0c04a.entry.js} +1 -1
- package/lib/duet/{p-f082acbe.system.entry.js → p-42c69580.system.entry.js} +1 -1
- package/lib/duet/{p-feb2f78b.entry.js → p-43ef68ba.entry.js} +1 -1
- package/lib/duet/{p-94283cba.system.entry.js → p-44c403ac.system.entry.js} +1 -1
- package/lib/duet/p-451455ca.system.entry.js +4 -0
- package/lib/duet/{p-d4a56ffe.system.entry.js → p-452833b3.system.entry.js} +1 -1
- package/lib/duet/{p-9ad418dc.entry.js → p-465862f2.entry.js} +1 -1
- package/lib/duet/{p-bce0fb51.system.entry.js → p-4d37b916.system.entry.js} +1 -1
- package/lib/duet/{p-1a05b9bb.entry.js → p-4d9f9fdb.entry.js} +1 -1
- package/lib/duet/{p-25c77fc5.system.js → p-51054013.system.js} +1 -1
- package/lib/duet/p-52252725.entry.js +4 -0
- package/lib/duet/{p-33b69886.system.entry.js → p-530b6cc2.system.entry.js} +1 -1
- package/lib/duet/{p-b2e5c45c.system.entry.js → p-56521b98.system.entry.js} +1 -1
- package/lib/duet/{p-e6364b25.entry.js → p-5773ee91.entry.js} +1 -1
- package/lib/duet/{p-f829fc48.entry.js → p-59322124.entry.js} +1 -1
- package/lib/duet/p-5be299a4.system.entry.js +4 -0
- package/lib/duet/{p-4304cb65.system.entry.js → p-5c89cfdb.system.entry.js} +1 -1
- package/lib/duet/{p-f3bf0f9b.system.entry.js → p-5e4ea777.system.entry.js} +1 -1
- package/lib/duet/{p-c5746dd0.system.js → p-5f5f29a5.system.js} +1 -1
- package/lib/duet/p-63b19495.entry.js +4 -0
- package/lib/duet/p-66aba5e8.entry.js +4 -0
- package/lib/duet/{p-9629f198.entry.js → p-6a864de0.entry.js} +1 -1
- package/lib/duet/{p-bf8b75d0.system.entry.js → p-6b5f51f7.system.entry.js} +2 -2
- package/lib/duet/{p-582c6653.entry.js → p-6cdc9618.entry.js} +1 -1
- package/lib/duet/{p-dc5c5cc4.system.js → p-6d6da8d4.system.js} +1 -1
- package/lib/duet/{p-973eb9ef.entry.js → p-6e29ea66.entry.js} +1 -1
- package/lib/duet/{p-ad8efcc9.system.entry.js → p-6feb3768.system.entry.js} +1 -1
- package/lib/duet/{p-f263a147.entry.js → p-73acfb63.entry.js} +1 -1
- package/lib/duet/{p-8158f08f.entry.js → p-76f217d8.entry.js} +1 -1
- package/lib/duet/{p-ff664cb1.entry.js → p-77cb106a.entry.js} +1 -1
- package/lib/duet/{p-a45b41a5.system.js → p-7a0fcd46.system.js} +1 -1
- package/lib/duet/{p-2d3f0a48.entry.js → p-7ca89aeb.entry.js} +1 -1
- package/lib/duet/{p-7eb1ccc1.system.js → p-7d7bb04d.system.js} +1 -1
- package/lib/duet/{p-53a79c8c.system.entry.js → p-7de4ac42.system.entry.js} +1 -1
- package/lib/duet/{p-fc406422.system.entry.js → p-7e21da73.system.entry.js} +2 -2
- package/lib/duet/{p-539b8b9b.system.entry.js → p-8220db21.system.entry.js} +1 -1
- package/lib/duet/{p-068cf24e.system.entry.js → p-83a399bf.system.entry.js} +1 -1
- package/lib/duet/{p-d468472d.entry.js → p-846ef8b1.entry.js} +1 -1
- package/lib/duet/{p-ce59f561.entry.js → p-852f0847.entry.js} +1 -1
- package/lib/duet/{p-25390477.entry.js → p-8583c6b9.entry.js} +1 -1
- package/lib/duet/{p-f6795cc3.entry.js → p-87f7c9bc.entry.js} +1 -1
- package/lib/duet/{p-2665d9ca.system.entry.js → p-8894e5a7.system.entry.js} +1 -1
- package/lib/duet/{p-ccc9e30f.system.entry.js → p-89367601.system.entry.js} +1 -1
- package/lib/duet/{p-9220b2f7.system.entry.js → p-8a0e329d.system.entry.js} +1 -1
- package/lib/duet/{p-8db4323f.system.entry.js → p-8a313958.system.entry.js} +1 -1
- package/lib/duet/p-8d6462de.entry.js +4 -0
- package/lib/duet/{p-503b1f9c.system.entry.js → p-9069a1f3.system.entry.js} +1 -1
- package/lib/duet/{p-f9f8cc8b.system.entry.js → p-91cb87ba.system.entry.js} +1 -1
- package/lib/duet/p-929c8b3d.system.js +4 -0
- package/lib/duet/{p-ad9a28ce.system.entry.js → p-9341c743.system.entry.js} +1 -1
- package/lib/duet/{p-af614927.entry.js → p-956d80fb.entry.js} +1 -1
- package/lib/duet/{p-64b767a1.system.entry.js → p-957a0c56.system.entry.js} +1 -1
- package/lib/duet/{p-b948418d.system.entry.js → p-977e2130.system.entry.js} +1 -1
- package/lib/duet/{p-761a7665.system.entry.js → p-987e6aa0.system.entry.js} +1 -1
- package/lib/duet/{p-73251b4a.system.entry.js → p-990588e1.system.entry.js} +1 -1
- package/lib/duet/{p-cd7e44b4.entry.js → p-9971a65e.entry.js} +1 -1
- package/lib/duet/p-9cb29a55.js +4 -0
- package/lib/duet/{p-3e580d39.system.entry.js → p-a0dc1f6d.system.entry.js} +1 -1
- package/lib/duet/{p-0bb7e6db.system.entry.js → p-a274696d.system.entry.js} +1 -1
- package/lib/duet/{p-9f887a8b.system.entry.js → p-a383d286.system.entry.js} +1 -1
- package/lib/duet/{p-91e74580.entry.js → p-a3bec159.entry.js} +1 -1
- package/lib/duet/{p-959d0b38.entry.js → p-a46066aa.entry.js} +1 -1
- package/lib/duet/{p-08b0bbbb.entry.js → p-a53450ca.entry.js} +1 -1
- package/lib/duet/{p-7aa134f8.system.entry.js → p-a76b263a.system.entry.js} +1 -1
- package/lib/duet/{p-558ea33c.system.entry.js → p-a958020f.system.entry.js} +1 -1
- package/lib/duet/{p-b3512b93.entry.js → p-a95b8264.entry.js} +1 -1
- package/lib/duet/{p-b89a059e.system.entry.js → p-ac9518a7.system.entry.js} +1 -1
- package/lib/duet/{p-4c513203.entry.js → p-b0be95a6.entry.js} +1 -1
- package/lib/duet/{p-df2bdfe3.system.entry.js → p-b130d257.system.entry.js} +1 -1
- package/lib/duet/{p-72e2c5ff.system.entry.js → p-b21e6519.system.entry.js} +1 -1
- package/lib/duet/{p-b4d15993.system.entry.js → p-b2326ad6.system.entry.js} +1 -1
- package/lib/duet/{p-ef266490.system.entry.js → p-b4567c69.system.entry.js} +1 -1
- package/lib/duet/{p-f0017b76.system.entry.js → p-b8b541cd.system.entry.js} +1 -1
- package/lib/duet/{p-8a709b0d.system.entry.js → p-b90cebca.system.entry.js} +1 -1
- package/lib/duet/p-ba1ab5f9.js +4 -0
- package/lib/duet/{p-86c7b940.entry.js → p-c2fcc299.entry.js} +1 -1
- package/lib/duet/{p-7c665c7b.system.entry.js → p-c3ea56be.system.entry.js} +2 -2
- package/lib/duet/{p-b081da29.system.entry.js → p-c5469ea2.system.entry.js} +1 -1
- package/lib/duet/{p-3c427358.entry.js → p-c650f822.entry.js} +1 -1
- package/lib/duet/{p-7a111f40.entry.js → p-c8af869d.entry.js} +1 -1
- package/lib/duet/{p-9ff81f9a.entry.js → p-ca56b16f.entry.js} +1 -1
- package/lib/duet/{p-cccc8a6c.entry.js → p-ca6732cb.entry.js} +1 -1
- package/lib/duet/{p-567227f2.system.entry.js → p-cad6ed3b.system.entry.js} +1 -1
- package/lib/duet/{p-9828d01b.entry.js → p-cb4f47d1.entry.js} +1 -1
- package/lib/duet/{p-bd74bd69.entry.js → p-cc12c946.entry.js} +1 -1
- package/lib/duet/{p-e511bbaa.entry.js → p-cd26c6c0.entry.js} +1 -1
- package/lib/duet/{p-b8faf306.system.entry.js → p-cd663c85.system.entry.js} +1 -1
- package/lib/duet/{p-c558abb2.system.entry.js → p-cdff6669.system.entry.js} +1 -1
- package/lib/duet/{p-a120b25b.entry.js → p-d02ea48b.entry.js} +1 -1
- package/lib/duet/{p-217328d7.system.entry.js → p-d1c5c251.system.entry.js} +1 -1
- package/lib/duet/{p-6647e622.js → p-d4db67a4.js} +1 -1
- package/lib/duet/{p-02380a84.entry.js → p-d566253b.entry.js} +1 -1
- package/lib/duet/{p-a84ae2da.entry.js → p-d630a0af.entry.js} +1 -1
- package/lib/duet/{p-2993a8c3.entry.js → p-d65bbecf.entry.js} +1 -1
- package/lib/duet/{p-2247d351.system.entry.js → p-d7b3bd9e.system.entry.js} +1 -1
- package/lib/duet/{p-4f198ebe.entry.js → p-d7d732e5.entry.js} +1 -1
- package/lib/duet/{p-5727dc58.entry.js → p-da81e72a.entry.js} +1 -1
- package/lib/duet/p-db444ca2.entry.js +4 -0
- package/lib/duet/{p-9ea6b9ea.entry.js → p-dd03e6da.entry.js} +1 -1
- package/lib/duet/{p-d81cefba.entry.js → p-deb4416d.entry.js} +1 -1
- package/lib/duet/{p-12a7249e.entry.js → p-e0a47a33.entry.js} +1 -1
- package/lib/duet/{p-e04146a1.entry.js → p-e19ad158.entry.js} +1 -1
- package/lib/duet/{p-54e46011.entry.js → p-e36ca835.entry.js} +1 -1
- package/lib/duet/{p-2e96eecc.entry.js → p-e4c02878.entry.js} +1 -1
- package/lib/duet/{p-98ea8c33.entry.js → p-e58f9bd2.entry.js} +1 -1
- package/lib/duet/{p-e2bafc44.entry.js → p-e5c6ee3d.entry.js} +1 -1
- package/lib/duet/{p-1057521d.entry.js → p-e7873f38.entry.js} +1 -1
- package/lib/duet/{p-f06b4e50.system.entry.js → p-e8974e61.system.entry.js} +1 -1
- package/lib/duet/{p-6f86fd58.system.entry.js → p-e8b4895b.system.entry.js} +1 -1
- package/lib/duet/{p-3f4b8a20.entry.js → p-e99b9a59.entry.js} +1 -1
- package/lib/duet/{p-f98d46b5.system.entry.js → p-ec97ec3f.system.entry.js} +1 -1
- package/lib/duet/{p-a7873d11.entry.js → p-ec9ce83a.entry.js} +1 -1
- package/lib/duet/p-ef06b281.entry.js +4 -0
- package/lib/duet/{p-f55a55e1.system.entry.js → p-ef3be375.system.entry.js} +1 -1
- package/lib/duet/{p-c7cbe815.system.entry.js → p-ef77b290.system.entry.js} +1 -1
- package/lib/duet/{p-c01383c1.entry.js → p-f03a1d74.entry.js} +1 -1
- package/lib/duet/p-f2789a61.entry.js +4 -0
- package/lib/duet/{p-8845de2e.system.entry.js → p-f2ada1c4.system.entry.js} +1 -1
- package/lib/duet/{p-16038e7f.system.entry.js → p-f42f420c.system.entry.js} +1 -1
- package/lib/duet/{p-04422a4f.entry.js → p-f5369d88.entry.js} +1 -1
- package/lib/duet/{p-ee4a44f2.system.entry.js → p-f55a996b.system.entry.js} +1 -1
- package/lib/duet/{p-d0aae845.system.entry.js → p-f8295455.system.entry.js} +1 -1
- package/lib/duet/{p-f805492f.entry.js → p-fad68076.entry.js} +1 -1
- package/lib/duet/p-fb6715c3.entry.js +4 -0
- package/lib/duet/{p-d6fa4e11.system.entry.js → p-fd78b4d5.system.entry.js} +1 -1
- package/lib/duet/{p-78c0a939.system.entry.js → p-fec136a9.system.entry.js} +2 -2
- package/lib/esm/{app-globals-154dbc04.js → app-globals-8a91dfa2.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 +1 -1
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +48 -38
- package/lib/esm/duet-callout.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +17 -8
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip_3.entry.js +8 -13
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +5 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +3 -3
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +12 -6
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +15 -4
- 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 +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +8 -8
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- 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 +5 -5
- 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 +9 -7
- package/lib/esm/duet-tooltip.entry.js +4 -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 +3 -3
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-55018fd0.js → errorcodes.utils-8340df32.js} +1 -1
- package/lib/esm/{focus-utils-29c235cb.js → focus-utils-82b4ada4.js} +1 -1
- package/lib/esm/{index-f5d67bb6.js → index-6a453dd4.js} +1 -1
- package/lib/esm/{language-utils-bd643c5c.js → language-utils-0506f7de.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-5369c9ff.js → slot-utils-d6bf0119.js} +1 -1
- package/lib/esm-es5/{app-globals-154dbc04.js → app-globals-8a91dfa2.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 +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-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 +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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 +2 -2
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-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-55018fd0.js → errorcodes.utils-8340df32.js} +1 -1
- package/lib/esm-es5/{focus-utils-29c235cb.js → focus-utils-82b4ada4.js} +1 -1
- package/lib/esm-es5/{index-f5d67bb6.js → index-6a453dd4.js} +1 -1
- package/lib/esm-es5/{language-utils-bd643c5c.js → language-utils-0506f7de.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-5369c9ff.js → slot-utils-d6bf0119.js} +1 -1
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +6 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
- package/lib/types/components/duet-link/duet-link.d.ts +1 -1
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +12 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +4 -0
- package/lib/types/components.d.ts +42 -0
- package/package.json +4 -4
- package/lib/duet/p-37f9b3f3.entry.js +0 -4
- package/lib/duet/p-416c6bd2.entry.js +0 -4
- package/lib/duet/p-45085ca6.system.js +0 -4
- package/lib/duet/p-4b880bb3.entry.js +0 -4
- package/lib/duet/p-5fb91cf2.entry.js +0 -4
- package/lib/duet/p-742e42e3.entry.js +0 -4
- package/lib/duet/p-7c7c220c.entry.js +0 -4
- package/lib/duet/p-7e709290.entry.js +0 -4
- package/lib/duet/p-84ee5bc9.entry.js +0 -4
- package/lib/duet/p-888e855d.entry.js +0 -4
- package/lib/duet/p-8c628593.entry.js +0 -4
- package/lib/duet/p-aa908860.system.entry.js +0 -4
- package/lib/duet/p-b2c3d1b0.entry.js +0 -4
- package/lib/duet/p-bfa34b21.js +0 -4
- package/lib/duet/p-c249faed.system.entry.js +0 -4
- package/lib/duet/p-d75c8108.system.entry.js +0 -4
- package/lib/duet/p-fe85cfac.js +0 -4
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const jsUtils = require('./js-utils-92e24ba1.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
14
14
|
const tokenUtils = require('./token-utils-453a4e75.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
require('./tokens.module-fcba867f.js');
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
13
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
14
14
|
require('./string-utils-7b13c16e.js');
|
|
15
15
|
|
|
16
16
|
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}";
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
11
11
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
12
12
|
const tokenUtils = require('./token-utils-453a4e75.js');
|
|
13
13
|
require('./tokens.module-fcba867f.js');
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
11
|
-
const languageUtils = require('./language-utils-
|
|
11
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
13
|
|
|
14
14
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const languageUtils = require('./language-utils-
|
|
10
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
11
11
|
const tokenUtils = require('./token-utils-453a4e75.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
13
|
require('./tokens.module-fcba867f.js');
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
|
-
const languageUtils = require('./language-utils-
|
|
11
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
12
12
|
const tokenUtils = require('./token-utils-453a4e75.js');
|
|
13
13
|
require('./string-utils-7b13c16e.js');
|
|
14
14
|
require('./tokens.module-fcba867f.js');
|
|
@@ -21,6 +21,42 @@ const DuetButton = class {
|
|
|
21
21
|
index.registerInstance(this, hostRef);
|
|
22
22
|
this.duetFocus = index.createEvent(this, "duetFocus", 7);
|
|
23
23
|
this.duetBlur = index.createEvent(this, "duetBlur", 7);
|
|
24
|
+
this.proxyButtonSetUp = () => {
|
|
25
|
+
const slottedElement = this.element.querySelector("button[slot=proxybutton]");
|
|
26
|
+
const button = slottedElement || document.createElement("button");
|
|
27
|
+
if (this.url) {
|
|
28
|
+
if (slottedElement) {
|
|
29
|
+
slottedElement.remove();
|
|
30
|
+
}
|
|
31
|
+
this.proxyButton = null;
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
button.setAttribute("slot", "proxybutton");
|
|
35
|
+
button.style.display = "none";
|
|
36
|
+
button.type = this.getButtonType();
|
|
37
|
+
button.disabled = this.disabled;
|
|
38
|
+
button.setAttribute("form", this.form);
|
|
39
|
+
if (!this.form) {
|
|
40
|
+
button.removeAttribute("form");
|
|
41
|
+
}
|
|
42
|
+
// attributes should be removed in cases where name/value is not set
|
|
43
|
+
if (this.name != null) {
|
|
44
|
+
button.name = this.name;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
button.removeAttribute("name");
|
|
48
|
+
}
|
|
49
|
+
if (this.value != null) {
|
|
50
|
+
button.value = this.value;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
button.removeAttribute("value");
|
|
54
|
+
}
|
|
55
|
+
if (!slottedElement) {
|
|
56
|
+
this.element.appendChild(button);
|
|
57
|
+
}
|
|
58
|
+
this.proxyButton = button;
|
|
59
|
+
};
|
|
24
60
|
/**
|
|
25
61
|
* Component event handling.
|
|
26
62
|
*/
|
|
@@ -29,7 +65,7 @@ const DuetButton = class {
|
|
|
29
65
|
// climb up the dom to see if we're in a <form>
|
|
30
66
|
// and if so, then use JS to submit it.
|
|
31
67
|
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
32
|
-
if (!this.url && this.element.closest("form")) {
|
|
68
|
+
if (!this.url && (this.element.closest("form") || this.form) && ev.target === this.element) {
|
|
33
69
|
ev.preventDefault();
|
|
34
70
|
this.proxyButton.click();
|
|
35
71
|
}
|
|
@@ -56,6 +92,7 @@ const DuetButton = class {
|
|
|
56
92
|
this.negative = false;
|
|
57
93
|
this.theme = "";
|
|
58
94
|
this.margin = "auto";
|
|
95
|
+
this.form = undefined;
|
|
59
96
|
this.padding = "auto";
|
|
60
97
|
this.centerText = false;
|
|
61
98
|
this.wrapping = "auto";
|
|
@@ -90,9 +127,6 @@ const DuetButton = class {
|
|
|
90
127
|
}
|
|
91
128
|
}
|
|
92
129
|
connectedCallback() {
|
|
93
|
-
this.proxyButton = document.createElement("button");
|
|
94
|
-
this.proxyButton.style.display = "none";
|
|
95
|
-
this.syncToProxyButton();
|
|
96
130
|
languageUtils.connectLanguageChangeObserver(this, [
|
|
97
131
|
{
|
|
98
132
|
prop: "accessibleLabelExternal",
|
|
@@ -103,36 +137,18 @@ const DuetButton = class {
|
|
|
103
137
|
defaults: "accessibleLabelLoadingDefaults",
|
|
104
138
|
},
|
|
105
139
|
]);
|
|
106
|
-
if (!this.url && this.element.closest("form")) {
|
|
107
|
-
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
108
|
-
}
|
|
109
140
|
}
|
|
110
141
|
disconnectedCallback() {
|
|
111
142
|
if (this.proxyButton) {
|
|
112
|
-
this.proxyButton
|
|
143
|
+
this.proxyButton = null;
|
|
113
144
|
}
|
|
114
|
-
this.proxyButton = null;
|
|
115
145
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
116
146
|
}
|
|
117
|
-
|
|
147
|
+
componentDidRender() {
|
|
118
148
|
if (this.disabled === false) {
|
|
119
149
|
this.element.removeAttribute("disabled");
|
|
120
150
|
}
|
|
121
|
-
this.
|
|
122
|
-
this.proxyButton.disabled = this.disabled;
|
|
123
|
-
// attributes should be removed in cases where name/value is not set
|
|
124
|
-
if (this.name != null) {
|
|
125
|
-
this.proxyButton.name = this.name;
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
this.proxyButton.removeAttribute("name");
|
|
129
|
-
}
|
|
130
|
-
if (this.value != null) {
|
|
131
|
-
this.proxyButton.value = this.value;
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
this.proxyButton.removeAttribute("value");
|
|
135
|
-
}
|
|
151
|
+
this.proxyButtonSetUp();
|
|
136
152
|
}
|
|
137
153
|
getButtonType() {
|
|
138
154
|
return this.submit ? "submit" : "button";
|
|
@@ -170,12 +186,12 @@ const DuetButton = class {
|
|
|
170
186
|
// enforce consistency for external links
|
|
171
187
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
172
188
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
173
|
-
const commonChildren = (index.h("span", { key: '
|
|
189
|
+
const commonChildren = (index.h("span", { key: '5a0c6410ac691a86fc5015ab7db83c969dc3bad1', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: tokenUtils.getColorByName(this.color) } }, icon && (index.h("span", { key: 'e40d495dc3100c27f283c4e35c5e9a27c98464c2', "aria-hidden": "true", class: {
|
|
174
190
|
"duet-button-icon": true,
|
|
175
191
|
left: !iconRight,
|
|
176
192
|
right: iconRight,
|
|
177
193
|
[this.getButtonIconSize()]: true,
|
|
178
|
-
} }, index.h("duet-icon", { key: '
|
|
194
|
+
} }, index.h("duet-icon", { key: '96a0389f3704e534f2c4da39243f6f7b87038f6f', size: "auto", margin: "none", name: icon, color: "currentColor" }))), index.h("span", { key: 'cbc6c347c96296ed4f4afa3963a12495fea09884', class: "duet-button-contents-slot" }, index.h("slot", { key: '894a6a4e9f03f813a7e8918abf87ef9ceabecbc3' }))));
|
|
179
195
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
180
196
|
const commonProps = {
|
|
181
197
|
onFocus: this.onFocus,
|
|
@@ -210,7 +226,7 @@ const DuetButton = class {
|
|
|
210
226
|
"aria-details": this.accessibleDetails,
|
|
211
227
|
"aria-description": this.accessibleDescription,
|
|
212
228
|
};
|
|
213
|
-
return (index.h(index.Host, { key: '
|
|
229
|
+
return (index.h(index.Host, { key: '24621240c8dcf778398f04e79c780bade455090f', onClick: this.handleClick, class: {
|
|
214
230
|
"duet-m-0": this.margin === "none",
|
|
215
231
|
"duet-small": this.size === "small",
|
|
216
232
|
"duet-x-small": this.size === "x-small",
|
|
@@ -218,21 +234,15 @@ const DuetButton = class {
|
|
|
218
234
|
"duet-expand": this.expand,
|
|
219
235
|
[this.variation]: true,
|
|
220
236
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
221
|
-
} }, index.h("span", { key: '
|
|
237
|
+
} }, index.h("span", { key: 'ca827a33826b3c42662ccd5a079d8327b9b6175e', class: {
|
|
222
238
|
"duet-button-container": true,
|
|
223
239
|
"duet-button-is-loading": this.loading,
|
|
224
240
|
"duet-theme-turva": this.theme === "turva",
|
|
225
241
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
226
242
|
[this.variation]: true,
|
|
227
|
-
} }, this.url ? (index.h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && index.h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (index.h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && index.h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && index.h("duet-spinner", { key: '
|
|
243
|
+
} }, this.url ? (index.h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && index.h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (index.h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && index.h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "), index.h("slot", { name: "proxybutton" }))), this.loading && index.h("duet-spinner", { key: '7e1e99a1cc8724ea6db15316084259e62926b82b', color: "currentColor" }))));
|
|
228
244
|
}
|
|
229
245
|
get element() { return index.getElement(this); }
|
|
230
|
-
static get watchers() { return {
|
|
231
|
-
"disabled": ["syncToProxyButton"],
|
|
232
|
-
"submit": ["syncToProxyButton"],
|
|
233
|
-
"value": ["syncToProxyButton"],
|
|
234
|
-
"name": ["syncToProxyButton"]
|
|
235
|
-
}; }
|
|
236
246
|
};
|
|
237
247
|
DuetButton.style = DuetButtonStyle0;
|
|
238
248
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
11
11
|
|
|
12
12
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.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\"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
13
13
|
const DuetCalloutStyle0 = duetCalloutCss;
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
11
11
|
const tokenUtils = require('./token-utils-453a4e75.js');
|
|
12
12
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
13
13
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
14
14
|
const a11yUtils = require('./a11y-utils-76311b95.js');
|
|
15
|
-
const languageUtils = require('./language-utils-
|
|
15
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
16
16
|
const createId = require('./create-id-1f8c438f.js');
|
|
17
17
|
require('./tokens.module-fcba867f.js');
|
|
18
18
|
|
|
@@ -102,7 +102,7 @@ var actionDownloadSmall={"title":"action-download-small","tags":"action download
|
|
|
102
102
|
|
|
103
103
|
var actionNewWindow={"title":"action-new-window","tags":"arrow open new window tab external link square box rectangle action","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z\"/></svg>"};
|
|
104
104
|
|
|
105
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button),.duet-link-is-download.duet-link:not(.block,.button){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*{flex-shrink:0}.duet-link.button .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button{min-height:50px}.duet-link.button.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}";
|
|
105
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
106
106
|
const DuetLinkStyle0 = duetLinkCss;
|
|
107
107
|
|
|
108
108
|
const DuetLink = class {
|
|
@@ -166,6 +166,7 @@ const DuetLink = class {
|
|
|
166
166
|
this.mediaQuerySmall = window.matchMedia(tokenUtils.breakpointToToken["xx-small"]);
|
|
167
167
|
this.mediaQueryMedium = window.matchMedia(tokenUtils.breakpointToToken["medium"]);
|
|
168
168
|
this.isSmallScreen = this.mediaQuerySmall.matches;
|
|
169
|
+
this.isMediumScreen = this.mediaQueryMedium.matches;
|
|
169
170
|
this.mediaQuerySmall.addEventListener("change", this.screenTestBound);
|
|
170
171
|
this.mediaQueryMedium.addEventListener("change", this.screenTestBound);
|
|
171
172
|
}
|
|
@@ -179,6 +180,7 @@ const DuetLink = class {
|
|
|
179
180
|
}
|
|
180
181
|
screenTest(event) {
|
|
181
182
|
this.isSmallScreen = event.matches;
|
|
183
|
+
this.isMediumScreen = event.matches;
|
|
182
184
|
}
|
|
183
185
|
resolveDownload() {
|
|
184
186
|
if (this.download === "") {
|
|
@@ -194,11 +196,17 @@ const DuetLink = class {
|
|
|
194
196
|
renderBlockContent() {
|
|
195
197
|
return (index.h(index.Fragment, null, this.icon && (index.h("span", { class: "block__icon" }, index.h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), index.h("span", { class: "block__content" }, this.renderDefaultContent()), index.h("span", { class: "block__chevron", part: "block-chevron" }, index.h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
196
198
|
}
|
|
197
|
-
|
|
199
|
+
renderButtonCardContent() {
|
|
198
200
|
const iconWrapStyle = {
|
|
199
201
|
"background-color": tokenUtils.getColorByName(this.iconBackground, this.theme),
|
|
200
202
|
};
|
|
201
|
-
|
|
203
|
+
const iconSize = () => {
|
|
204
|
+
if (this.variation === "button") {
|
|
205
|
+
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
206
|
+
}
|
|
207
|
+
return this.isMediumScreen ? "large" : "medium";
|
|
208
|
+
};
|
|
209
|
+
return (index.h(index.Fragment, null, this.icon && (index.h("span", { class: "icon-wrap", style: iconWrapStyle }, index.h("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), index.h("div", { class: "duet-link-content", part: "duet-link-content" }, index.h("slot", null)), index.h("span", { class: "chevron-wrap" }, index.h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
202
210
|
}
|
|
203
211
|
renderContent() {
|
|
204
212
|
switch (this.variation) {
|
|
@@ -207,7 +215,8 @@ const DuetLink = class {
|
|
|
207
215
|
case "block":
|
|
208
216
|
return this.renderBlockContent();
|
|
209
217
|
case "button":
|
|
210
|
-
|
|
218
|
+
case "card":
|
|
219
|
+
return this.renderButtonCardContent();
|
|
211
220
|
}
|
|
212
221
|
}
|
|
213
222
|
/**
|
|
@@ -217,10 +226,10 @@ const DuetLink = class {
|
|
|
217
226
|
render() {
|
|
218
227
|
const Tag = !this.url ? "button" : "a";
|
|
219
228
|
const isButton = Tag === "button";
|
|
220
|
-
return (index.h(index.Host, { key: '
|
|
229
|
+
return (index.h(index.Host, { key: '2025edd3774d559f0d6877498e0a806532fb310c', class: {
|
|
221
230
|
[`duet-link-${this.variation}`]: true,
|
|
222
231
|
"duet-m-0": this.margin === "none",
|
|
223
|
-
} }, index.h(Tag, { key: '
|
|
232
|
+
} }, index.h(Tag, { key: 'ee013e25058fdfe22cf04784e06162181b9ff5a2', href: this.url, class: {
|
|
224
233
|
"duet-link": true,
|
|
225
234
|
"duet-link-is-external": this.external,
|
|
226
235
|
"duet-link-is-download": !!this.download,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
13
13
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-806e7c53.js');
|
|
14
|
-
const focusUtils = require('./focus-utils-
|
|
14
|
+
const focusUtils = require('./focus-utils-23e4ff8f.js');
|
|
15
15
|
const teleport = require('./teleport-c6f8391a.js');
|
|
16
16
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
17
17
|
require('./string-utils-7b13c16e.js');
|
|
@@ -393,9 +393,10 @@ const DuetPopupMenu = class {
|
|
|
393
393
|
return this._controller;
|
|
394
394
|
}
|
|
395
395
|
set controller(value) {
|
|
396
|
-
if (this.
|
|
396
|
+
if (this._controller === value) {
|
|
397
397
|
return;
|
|
398
398
|
}
|
|
399
|
+
this._controller = value;
|
|
399
400
|
if (typeof value === "string") {
|
|
400
401
|
this.setOpenButton(document.getElementById(value));
|
|
401
402
|
if (this.openButton) {
|
|
@@ -452,7 +453,6 @@ const DuetPopupMenu = class {
|
|
|
452
453
|
if (this.open) {
|
|
453
454
|
// When Esc is pressed the menu should be closed
|
|
454
455
|
if (keyboardUtils.isEscapeKey(evt)) {
|
|
455
|
-
this.focusOpenButton();
|
|
456
456
|
this.hide();
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -560,7 +560,7 @@ const DuetPopupMenu = class {
|
|
|
560
560
|
}
|
|
561
561
|
setTimeout(() => {
|
|
562
562
|
if (this.accessibleRole === "menu") {
|
|
563
|
-
this.
|
|
563
|
+
focusUtils.focusElement(this.openButton);
|
|
564
564
|
}
|
|
565
565
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
566
566
|
if (this.accessibleRole !== "listbox") {
|
|
@@ -569,11 +569,6 @@ const DuetPopupMenu = class {
|
|
|
569
569
|
}, 200);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
focusOpenButton() {
|
|
573
|
-
if (this.open) {
|
|
574
|
-
focusUtils.focusElement(this.openButton);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
572
|
get itemElements() {
|
|
578
573
|
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
579
574
|
}
|
|
@@ -593,9 +588,9 @@ const DuetPopupMenu = class {
|
|
|
593
588
|
position: this.position,
|
|
594
589
|
overflowY: "auto",
|
|
595
590
|
};
|
|
596
|
-
return (index.h(index.Host, { key: '
|
|
591
|
+
return (index.h(index.Host, { key: '6f01f7eafea79d3c69ef598afc5a20855221f9c2' }, index.h("div", { key: '36e0125cb273a008f3db4931f74102df5ef34e98', ref: element => {
|
|
597
592
|
this.menuElement = element;
|
|
598
|
-
}, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, index.h("slot", { key: '
|
|
593
|
+
}, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, index.h("slot", { key: '90f75ecc2d205e0dcf4277e45607e177c5d8ea30' }))));
|
|
599
594
|
}
|
|
600
595
|
get element() { return index.getElement(this); }
|
|
601
596
|
static get watchers() { return {
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
const slotUtils = require('./slot-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
14
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
|
|
17
17
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
|
|
10
10
|
const tokens = require('./tokens-57e06fe4.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
12
12
|
const createId = require('./create-id-1f8c438f.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
14
|
-
const slotUtils = require('./slot-utils-
|
|
14
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
15
15
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
16
16
|
|
|
17
|
-
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;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;line-height:1.5;color:rgb(8, 42, 77)}:host(.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)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.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-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
17
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;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;line-height:1.5;color:rgb(8, 42, 77)}:host(.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)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.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-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
18
18
|
const DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
19
19
|
|
|
20
20
|
const DuetCollapsible = class {
|
|
@@ -69,6 +69,7 @@ const DuetCollapsible = class {
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
this.theme = "";
|
|
72
|
+
this.negative = false;
|
|
72
73
|
this.accessibleLabel = undefined;
|
|
73
74
|
this.heading = "";
|
|
74
75
|
this.headingFullWidth = false;
|
|
@@ -108,14 +109,14 @@ const DuetCollapsible = class {
|
|
|
108
109
|
*/
|
|
109
110
|
render() {
|
|
110
111
|
const HeadingTagName = this.headingLevel ? stringUtils.sanitizeString(this.headingLevel) : "div";
|
|
111
|
-
return (index.h(index.Host, { key: '
|
|
112
|
+
return (index.h(index.Host, { key: 'aff15bb7d7a183ad8717bd077ed5e692549479e2', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, index.h(HeadingTagName, { key: '8c8b350ac427399cf5e694ae5045b5d757b17324' }, index.h("button", { key: '16304aab427f0c1493c1d464a5959d0c063433f8', class: {
|
|
112
113
|
"duet-collapsible-heading": true,
|
|
113
114
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
114
115
|
"duet-theme-turva": this.theme === "turva",
|
|
115
116
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
116
117
|
"has-after-heading": this.hasAfterHeading,
|
|
117
118
|
"full-width": this.headingFullWidth,
|
|
118
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("div", { key: '
|
|
119
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, index.h("div", { key: 'e2943d02487fd97319e47030dba988b6e90ab8e8', class: "duet-collapsible-heading-icon" }, index.h("duet-icon", { key: '2e80461c2e5eb1d3cae6552ebdae873e6430a433', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.actionArrowDownSmall.svg })), index.h("div", { key: 'fdaecea0fa4dbb325e7bc460d5ca016ccf083111', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (index.h("div", { key: '3b1a1f5cd79b5cd31b1204ae9dd3db28601f8fa9', part: "duet-collapsible-after-heading" }, index.h("slot", { key: '2c8a5041e7264addf9840a3cecf6c7ebbddeb871', name: "after-heading" }))))), index.h("div", { key: '151b1f002a2745bf31ff97496f53b4a81c77b524', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, index.h("slot", { key: '6b729485bb03d25d5529b23b4a2ce502d5a58a32' }))));
|
|
119
120
|
}
|
|
120
121
|
get element() { return index.getElement(this); }
|
|
121
122
|
};
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-1e60119f.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const jsUtils = require('./js-utils-92e24ba1.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
const slotUtils = require('./slot-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-81d6b885.js');
|
|
14
|
+
const slotUtils = require('./slot-utils-48acde5d.js');
|
|
15
15
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
16
16
|
|
|
17
17
|
const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = undefined, clickHandler = e => {
|