@duetds/components 9.15.0 → 9.16.1
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 +327 -237
- package/lib/cjs/{a11y-utils-741fad59.js → a11y-utils-113bdcf1.js} +1 -1
- package/lib/cjs/{app-globals-c5cb9046.js → app-globals-2ad7d0da.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +20 -9
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +10 -19
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +15 -11
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +4 -4
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-phone-input.cjs.entry.js +24 -7
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +21 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -20
- package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-699bddbb.js → errorcodes.utils-b3a3ed44.js} +1 -1
- package/lib/cjs/{focus-utils-4a07d896.js → focus-utils-5c4526cd.js} +1 -1
- package/lib/cjs/{index-80fa07e3.js → index-caee10a4.js} +5 -1
- package/lib/cjs/{language-utils-ce60d2a9.js → language-utils-9e3aebfc.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-9c5efe2a.js → slot-utils-d034ca5f.js} +1 -1
- package/lib/cjs/{themeable-component-1307284b.js → themeable-component-98732ad8.js} +1 -1
- package/lib/cjs/{token-utils-658c4c54.js → token-utils-c73ca50c.js} +3 -3
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +8 -21
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +3 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +12 -3
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +5 -4
- package/lib/collection/components/duet-hero/duet-hero.css +220 -29
- package/lib/collection/components/duet-hero/duet-hero.js +10 -6
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +101 -0
- package/lib/collection/components/duet-input/duet-input.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.css +4 -0
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +5 -4
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +58 -3
- 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-range-stepper/duet-range-stepper.js +2 -2
- 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 +1 -1
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +54 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +3 -3
- 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 +20 -9
- package/lib/dist-custom-elements/duet-breadcrumb.js +12 -21
- package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- 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 +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +18 -9
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +20 -16
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.d.ts +11 -0
- package/lib/dist-custom-elements/duet-indicator.js +9 -0
- 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 +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -6
- package/lib/dist-custom-elements/duet-modal.js +16 -16
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +3 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +22 -10
- package/lib/dist-custom-elements/duet-notification.js +12 -6
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +25 -25
- package/lib/dist-custom-elements/duet-panel.js +4 -4
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +38 -19
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +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 +6 -6
- 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-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +5 -5
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +25 -18
- package/lib/dist-custom-elements/duet-slideout.js +9 -9
- 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-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- 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 +9 -9
- package/lib/dist-custom-elements/duet-tab-group.js +22 -17
- package/lib/dist-custom-elements/duet-tab.js +9 -2
- 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 +19 -7
- 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 +22 -22
- 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-9a9b2708.js → p-01808ae4.js} +2 -2
- package/lib/dist-custom-elements/{p-0a932f51.js → p-051e8432.js} +1 -1
- package/lib/dist-custom-elements/{p-66c6751e.js → p-07aea296.js} +6 -6
- package/lib/dist-custom-elements/{p-5d684af3.js → p-07d58c18.js} +7 -7
- package/lib/dist-custom-elements/{p-92467a66.js → p-09eeb0d8.js} +10 -10
- package/lib/dist-custom-elements/{p-35af6d7a.js → p-1428bca8.js} +4 -4
- package/lib/dist-custom-elements/p-186bf66e.js +72 -0
- package/lib/dist-custom-elements/{p-1f2176b1.js → p-1be25f37.js} +1 -1
- package/lib/dist-custom-elements/{p-6098c129.js → p-1c3b7df5.js} +10 -10
- package/lib/dist-custom-elements/{p-a20321ec.js → p-211bbab4.js} +3 -3
- package/lib/dist-custom-elements/{p-3b352cea.js → p-21425713.js} +2 -2
- package/lib/dist-custom-elements/{p-dd16af35.js → p-2c6c022f.js} +5 -5
- package/lib/dist-custom-elements/{p-1b591fcd.js → p-2c95a055.js} +4 -4
- package/lib/dist-custom-elements/{p-8d68da95.js → p-2dc31d71.js} +4 -4
- package/lib/dist-custom-elements/{p-9dc1ec50.js → p-4228d649.js} +5 -5
- package/lib/dist-custom-elements/{p-2e95d393.js → p-45a25e1c.js} +3 -3
- package/lib/dist-custom-elements/{p-62a4796f.js → p-4c39b06e.js} +5 -5
- package/lib/dist-custom-elements/{p-5ee14292.js → p-4f0b365b.js} +1 -1
- package/lib/dist-custom-elements/{p-4b8be370.js → p-57091005.js} +12 -12
- package/lib/dist-custom-elements/{p-8debf5b8.js → p-5a556f9a.js} +2 -2
- package/lib/dist-custom-elements/{p-49fcb05d.js → p-5bf73913.js} +2 -2
- package/lib/dist-custom-elements/{p-2fa067ff.js → p-5fac1036.js} +2 -2
- package/lib/dist-custom-elements/{p-e54a1871.js → p-60827675.js} +4 -4
- package/lib/dist-custom-elements/{p-1b1d5047.js → p-63bad120.js} +4 -4
- package/lib/dist-custom-elements/{p-f5b135c5.js → p-68221361.js} +9 -9
- package/lib/dist-custom-elements/{p-307aa29d.js → p-747f6fa4.js} +2 -2
- package/lib/dist-custom-elements/{p-499da71e.js → p-78b6337a.js} +3 -3
- package/lib/dist-custom-elements/{p-f214be38.js → p-8284b970.js} +4 -4
- package/lib/dist-custom-elements/{p-15d1bb49.js → p-84c12085.js} +4 -4
- package/lib/dist-custom-elements/{p-6b02ba40.js → p-897cd468.js} +5 -5
- package/lib/dist-custom-elements/{p-4c68ba95.js → p-8aa9471e.js} +12 -12
- package/lib/dist-custom-elements/{p-e371f35d.js → p-8e5437bd.js} +3 -3
- package/lib/dist-custom-elements/{p-1901a05e.js → p-90ef4cdf.js} +6 -5
- package/lib/dist-custom-elements/{p-9654a846.js → p-979b130b.js} +7 -7
- package/lib/dist-custom-elements/{p-ea21cb5d.js → p-afa85350.js} +5 -5
- package/lib/dist-custom-elements/{p-8a6a51b2.js → p-c5dcc0ea.js} +2 -2
- package/lib/dist-custom-elements/{p-ff94cac9.js → p-cbb101aa.js} +2 -2
- package/lib/dist-custom-elements/{p-d17f51c7.js → p-d723c019.js} +3 -3
- package/lib/dist-custom-elements/{p-31316d91.js → p-e167506b.js} +2 -2
- package/lib/dist-custom-elements/{p-a1876945.js → p-e3b560d3.js} +5 -5
- package/lib/dist-custom-elements/{p-9efbcc67.js → p-f8c458d0.js} +1 -1
- package/lib/dist-custom-elements/{p-d3345442.js → p-fa3ebc1e.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-78df5993.entry.js → p-00b27ded.entry.js} +1 -1
- package/lib/duet/{p-c57ed342.system.entry.js → p-01f6825e.system.entry.js} +1 -1
- package/lib/duet/{p-d4859ceb.system.entry.js → p-021c152c.system.entry.js} +1 -1
- package/lib/duet/p-032230dd.entry.js +4 -0
- package/lib/duet/p-03b5f65a.entry.js +4 -0
- package/lib/duet/{p-47fd41c6.system.entry.js → p-03b9211c.system.entry.js} +1 -1
- package/lib/duet/{p-f0dce24e.entry.js → p-08b08728.entry.js} +1 -1
- package/lib/duet/{p-d9cafc77.js → p-08f35dcb.js} +1 -1
- package/lib/duet/{p-039cbd8d.entry.js → p-0b275971.entry.js} +1 -1
- package/lib/duet/{p-1192e8c9.entry.js → p-0c012ed1.entry.js} +1 -1
- package/lib/duet/{p-0dcf3c74.system.entry.js → p-0fec0e03.system.entry.js} +1 -1
- package/lib/duet/{p-2dddb575.entry.js → p-1060aa25.entry.js} +1 -1
- package/lib/duet/{p-f9536c83.entry.js → p-1066dc94.entry.js} +1 -1
- package/lib/duet/p-106cd6ab.js +4 -0
- package/lib/duet/{p-8173aad1.entry.js → p-118dae54.entry.js} +1 -1
- package/lib/duet/{p-59777da7.system.js → p-13eec75c.system.js} +1 -1
- package/lib/duet/{p-f1a06e83.entry.js → p-147a0d89.entry.js} +1 -1
- package/lib/duet/{p-fe7ba159.system.entry.js → p-17db9cab.system.entry.js} +1 -1
- package/lib/duet/{p-d1814664.entry.js → p-17e9f5f2.entry.js} +1 -1
- package/lib/duet/p-1971f9b0.system.entry.js +4 -0
- package/lib/duet/p-1b7c7390.entry.js +4 -0
- package/lib/duet/p-1bb0af1a.entry.js +4 -0
- package/lib/duet/{p-6cdc13f4.entry.js → p-1d2cadcc.entry.js} +1 -1
- package/lib/duet/{p-de0a91b3.system.entry.js → p-1e5c76d7.system.entry.js} +1 -1
- package/lib/duet/p-1e6bf17e.system.entry.js +4 -0
- package/lib/duet/{p-38f30c2b.system.entry.js → p-1f082e57.system.entry.js} +1 -1
- package/lib/duet/p-2063c660.system.entry.js +4 -0
- package/lib/duet/{p-6ec3fa80.entry.js → p-2144ed7e.entry.js} +1 -1
- package/lib/duet/{p-6b97b58c.entry.js → p-219cd158.entry.js} +1 -1
- package/lib/duet/{p-e3a21063.system.entry.js → p-23486542.system.entry.js} +1 -1
- package/lib/duet/{p-5cb10012.system.entry.js → p-23601b3e.system.entry.js} +2 -2
- package/lib/duet/{p-2500e9bc.entry.js → p-236aec93.entry.js} +1 -1
- package/lib/duet/{p-18c66326.system.entry.js → p-24c27df5.system.entry.js} +1 -1
- package/lib/duet/p-2747b44c.system.entry.js +4 -0
- package/lib/duet/{p-a12e5499.entry.js → p-27fecfaa.entry.js} +1 -1
- package/lib/duet/{p-8911207e.entry.js → p-28ac2fa8.entry.js} +1 -1
- package/lib/duet/{p-552be4d4.entry.js → p-29f97ffb.entry.js} +1 -1
- package/lib/duet/{p-d71b8774.system.entry.js → p-2bbc034f.system.entry.js} +1 -1
- package/lib/duet/p-2c164336.entry.js +4 -0
- package/lib/duet/{p-d42f9e4f.system.entry.js → p-2cf70fac.system.entry.js} +1 -1
- package/lib/duet/p-3390de84.entry.js +4 -0
- package/lib/duet/{p-451fe5ef.system.entry.js → p-33b6ad8b.system.entry.js} +1 -1
- package/lib/duet/{p-72baa999.entry.js → p-3420a2e4.entry.js} +1 -1
- package/lib/duet/{p-5afe6d8e.system.entry.js → p-34b57104.system.entry.js} +1 -1
- package/lib/duet/p-354763bd.entry.js +4 -0
- package/lib/duet/p-364526bf.system.entry.js +4 -0
- package/lib/duet/{p-a68a90f3.js → p-36a29933.js} +1 -1
- package/lib/duet/{p-1dd1cd21.entry.js → p-36b45ca1.entry.js} +1 -1
- package/lib/duet/p-37687656.entry.js +4 -0
- package/lib/duet/{p-d3f723cf.system.entry.js → p-393f3d40.system.entry.js} +1 -1
- package/lib/duet/{p-e2949e43.system.entry.js → p-39cd22a6.system.entry.js} +1 -1
- package/lib/duet/{p-d5f395c0.entry.js → p-3ba94b3e.entry.js} +1 -1
- package/lib/duet/p-3c3bc9fb.system.entry.js +4 -0
- package/lib/duet/p-3c7cc108.entry.js +4 -0
- package/lib/duet/{p-acac731e.system.entry.js → p-430c421b.system.entry.js} +1 -1
- package/lib/duet/{p-d28853ae.system.entry.js → p-43e7ee1b.system.entry.js} +1 -1
- package/lib/duet/{p-3b816caf.system.entry.js → p-440018ce.system.entry.js} +1 -1
- package/lib/duet/p-4452e6e8.entry.js +4 -0
- package/lib/duet/{p-69b7e6dc.entry.js → p-4594e530.entry.js} +1 -1
- package/lib/duet/{p-2dc5c7c5.entry.js → p-46ac8eb2.entry.js} +1 -1
- package/lib/duet/{p-bb3cd264.system.entry.js → p-48049d11.system.entry.js} +1 -1
- package/lib/duet/{p-95137492.entry.js → p-480ed6f7.entry.js} +1 -1
- package/lib/duet/{p-3f3571ae.system.entry.js → p-49d3f1f8.system.entry.js} +1 -1
- package/lib/duet/{p-72e617b1.entry.js → p-55ed83fd.entry.js} +1 -1
- package/lib/duet/{p-007eb67f.system.entry.js → p-56d797a7.system.entry.js} +1 -1
- package/lib/duet/p-578b1556.entry.js +4 -0
- package/lib/duet/{p-cddad487.system.js → p-57941503.system.js} +1 -1
- package/lib/duet/{p-f69dc290.entry.js → p-58b1748d.entry.js} +1 -1
- package/lib/duet/{p-930ea887.system.entry.js → p-5a623866.system.entry.js} +1 -1
- package/lib/duet/{p-6ceeb4c1.entry.js → p-5af19c0d.entry.js} +1 -1
- package/lib/duet/{p-eb157d71.system.entry.js → p-5be1c8ca.system.entry.js} +1 -1
- package/lib/duet/p-5cbbad67.entry.js +4 -0
- package/lib/duet/{p-fcb5179d.system.entry.js → p-5db55c55.system.entry.js} +1 -1
- package/lib/duet/{p-d67c45eb.entry.js → p-60672e19.entry.js} +1 -1
- package/lib/duet/{p-c4a1cfd6.js → p-63045d0e.js} +1 -1
- package/lib/duet/{p-3455bcd6.entry.js → p-632bb443.entry.js} +1 -1
- package/lib/duet/{p-b21962b0.entry.js → p-63b3eff1.entry.js} +1 -1
- package/lib/duet/{p-694e5a97.system.js → p-6592e02c.system.js} +1 -1
- package/lib/duet/{p-a4f3a6d6.entry.js → p-65dac1a2.entry.js} +1 -1
- package/lib/duet/{p-71507957.entry.js → p-66663bdd.entry.js} +1 -1
- package/lib/duet/{p-200f57b6.system.entry.js → p-666775c7.system.entry.js} +1 -1
- package/lib/duet/{p-8fa3a4db.system.entry.js → p-684278ce.system.entry.js} +1 -1
- package/lib/duet/{p-aca600ee.system.entry.js → p-6950f757.system.entry.js} +1 -1
- package/lib/duet/{p-56c024f4.system.entry.js → p-69a8abac.system.entry.js} +1 -1
- package/lib/duet/{p-510aee05.entry.js → p-6b02af30.entry.js} +1 -1
- package/lib/duet/{p-b57e1a16.system.entry.js → p-6b371ce8.system.entry.js} +1 -1
- package/lib/duet/{p-a48a6cf9.system.entry.js → p-6bb80546.system.entry.js} +1 -1
- package/lib/duet/p-6bc99ba8.entry.js +4 -0
- package/lib/duet/{p-e34ddfda.system.entry.js → p-6e575dd4.system.entry.js} +1 -1
- package/lib/duet/p-6f05d7e7.entry.js +4 -0
- package/lib/duet/{p-6314d434.entry.js → p-6f2c6bff.entry.js} +1 -1
- package/lib/duet/{p-14ffb5c1.system.entry.js → p-6fb94ef4.system.entry.js} +1 -1
- package/lib/duet/{p-d08d078b.system.entry.js → p-7089e938.system.entry.js} +1 -1
- package/lib/duet/{p-c9798a8d.system.js → p-7132e6b1.system.js} +1 -1
- package/lib/duet/p-73508ab7.entry.js +4 -0
- package/lib/duet/p-7397dd4f.system.entry.js +4 -0
- package/lib/duet/{p-4ac878dd.system.entry.js → p-745b87a1.system.entry.js} +1 -1
- package/lib/duet/{p-460c0029.system.entry.js → p-746cc1a2.system.entry.js} +1 -1
- package/lib/duet/{p-b7f0f071.entry.js → p-750e4ab4.entry.js} +1 -1
- package/lib/duet/{p-c1652045.entry.js → p-7732213d.entry.js} +1 -1
- package/lib/duet/{p-08f39b32.entry.js → p-7b28d664.entry.js} +1 -1
- package/lib/duet/{p-5b0337d8.entry.js → p-7b845013.entry.js} +1 -1
- package/lib/duet/{p-8497c4a3.entry.js → p-7f2855e9.entry.js} +1 -1
- package/lib/duet/{p-db82eb02.system.entry.js → p-808c5e03.system.entry.js} +2 -2
- package/lib/duet/p-80bf7a6d.js +4 -0
- package/lib/duet/p-8283b6dc.system.entry.js +4 -0
- package/lib/duet/p-85023f68.entry.js +4 -0
- package/lib/duet/{p-544a2e7d.entry.js → p-880bccc7.entry.js} +1 -1
- package/lib/duet/{p-5d987b8d.system.entry.js → p-8810586f.system.entry.js} +1 -1
- package/lib/duet/{p-aa224793.system.entry.js → p-89363c87.system.entry.js} +1 -1
- package/lib/duet/{p-5b0f2f3d.entry.js → p-89636372.entry.js} +1 -1
- package/lib/duet/{p-66dd8b2f.entry.js → p-8d42cd8e.entry.js} +1 -1
- package/lib/duet/{p-484c1cc2.system.entry.js → p-8fa26acd.system.entry.js} +1 -1
- package/lib/duet/{p-43d6b171.system.js → p-8fb46b02.system.js} +1 -1
- package/lib/duet/{p-969327bd.entry.js → p-8fbb5ff5.entry.js} +1 -1
- package/lib/duet/p-9012c4d7.system.entry.js +4 -0
- package/lib/duet/{p-431b0896.system.entry.js → p-90448156.system.entry.js} +1 -1
- package/lib/duet/{p-6fb7afac.system.entry.js → p-907af7da.system.entry.js} +1 -1
- package/lib/duet/p-9171868a.system.js +4 -0
- package/lib/duet/{p-9e93e46d.entry.js → p-91ab1514.entry.js} +1 -1
- package/lib/duet/{p-7f50e5e3.system.entry.js → p-935bb380.system.entry.js} +1 -1
- package/lib/duet/p-98c47715.entry.js +4 -0
- package/lib/duet/{p-57b716e6.system.entry.js → p-990cd307.system.entry.js} +1 -1
- package/lib/duet/{p-5bcce1c4.entry.js → p-9a099e32.entry.js} +1 -1
- package/lib/duet/p-9a68836b.entry.js +4 -0
- package/lib/duet/{p-8303c23a.entry.js → p-9a6959da.entry.js} +1 -1
- package/lib/duet/p-9ac8d40d.system.entry.js +4 -0
- package/lib/duet/{p-58f4c4ef.system.entry.js → p-9ecf83ca.system.entry.js} +1 -1
- package/lib/duet/p-a19e945f.entry.js +4 -0
- package/lib/duet/{p-f83e4a46.system.entry.js → p-a28a52b8.system.entry.js} +1 -1
- package/lib/duet/p-a331720c.system.entry.js +4 -0
- package/lib/duet/{p-6106103e.system.entry.js → p-a607febe.system.entry.js} +1 -1
- package/lib/duet/p-a7442f4e.system.entry.js +4 -0
- package/lib/duet/{p-7d4fb1da.system.js → p-a966bbcf.system.js} +1 -1
- package/lib/duet/p-aa75307b.entry.js +4 -0
- package/lib/duet/{p-5e1045dc.entry.js → p-abe3827d.entry.js} +1 -1
- package/lib/duet/{p-15694ea7.entry.js → p-accae6ec.entry.js} +1 -1
- package/lib/duet/{p-b197d195.system.js → p-ace83b4d.system.js} +1 -1
- package/lib/duet/{p-601e275c.entry.js → p-ad14a7bb.entry.js} +1 -1
- package/lib/duet/{p-ce447833.entry.js → p-ad570b3d.entry.js} +1 -1
- package/lib/duet/p-ad6ccb39.js +4 -0
- package/lib/duet/p-aeb3d682.system.entry.js +4 -0
- package/lib/duet/{p-61bb70ea.system.entry.js → p-b09cf28d.system.entry.js} +1 -1
- package/lib/duet/{p-8c80b769.system.entry.js → p-b23fd2cf.system.entry.js} +1 -1
- package/lib/duet/{p-75a66b82.js → p-b25490a8.js} +1 -1
- package/lib/duet/{p-80121038.system.entry.js → p-b58e595a.system.entry.js} +2 -2
- package/lib/duet/p-baaac8e6.system.entry.js +4 -0
- package/lib/duet/{p-c7302b85.system.entry.js → p-bfaf639a.system.entry.js} +1 -1
- package/lib/duet/{p-1dc4442a.entry.js → p-c1a87168.entry.js} +1 -1
- package/lib/duet/{p-72f4c54a.system.entry.js → p-c27dc664.system.entry.js} +1 -1
- package/lib/duet/{p-05f7f78d.system.entry.js → p-c51a586e.system.entry.js} +1 -1
- package/lib/duet/{p-d9a2772b.entry.js → p-c797a3e6.entry.js} +1 -1
- package/lib/duet/p-c97d9b65.entry.js +4 -0
- package/lib/duet/{p-9715fa3d.entry.js → p-ccdecd17.entry.js} +1 -1
- package/lib/duet/p-d0b307cc.js +4 -0
- package/lib/duet/{p-81dbbba7.system.entry.js → p-d2d74167.system.entry.js} +1 -1
- package/lib/duet/{p-0e442247.system.entry.js → p-d433e813.system.entry.js} +1 -1
- package/lib/duet/{p-2bc08ca1.system.entry.js → p-d7d5874f.system.entry.js} +1 -1
- package/lib/duet/{p-ffe9f317.system.entry.js → p-d8739243.system.entry.js} +1 -1
- package/lib/duet/p-d93881ea.entry.js +4 -0
- package/lib/duet/{p-63d23d82.entry.js → p-da7ff7a2.entry.js} +1 -1
- package/lib/duet/{p-1cc2eb98.system.js → p-db398834.system.js} +1 -1
- package/lib/duet/{p-0d9f34ae.entry.js → p-dbe48d3c.entry.js} +1 -1
- package/lib/duet/p-dc172d1c.entry.js +4 -0
- package/lib/duet/p-dc332043.entry.js +4 -0
- package/lib/duet/{p-f756e03d.system.entry.js → p-ddc0706b.system.entry.js} +1 -1
- package/lib/duet/p-dde34236.entry.js +4 -0
- package/lib/duet/{p-f052ccf2.system.entry.js → p-de531c22.system.entry.js} +1 -1
- package/lib/duet/{p-1b393d78.system.entry.js → p-dfb4edcc.system.entry.js} +1 -1
- package/lib/duet/{p-b230c327.system.entry.js → p-e19b45d6.system.entry.js} +1 -1
- package/lib/duet/{p-4a7a6dcb.system.entry.js → p-e2373985.system.entry.js} +2 -2
- package/lib/duet/{p-0bbfb836.entry.js → p-e2f6279e.entry.js} +1 -1
- package/lib/duet/{p-7f5b3bb1.entry.js → p-e39afbb1.entry.js} +1 -1
- package/lib/duet/{p-0ff4932b.system.entry.js → p-e73a7c54.system.entry.js} +1 -1
- package/lib/duet/p-eaf7a202.system.entry.js +4 -0
- package/lib/duet/{p-a3c50037.system.entry.js → p-eb01f00b.system.entry.js} +1 -1
- package/lib/duet/{p-cdfca639.system.entry.js → p-eb19b715.system.entry.js} +1 -1
- package/lib/duet/p-eb817c52.entry.js +4 -0
- package/lib/duet/{p-9fe084e8.system.entry.js → p-ed4b8ef4.system.entry.js} +1 -1
- package/lib/duet/{p-0beb2a3f.system.entry.js → p-f00388be.system.entry.js} +1 -1
- package/lib/duet/{p-d4630d55.system.js → p-f033bc52.system.js} +1 -1
- package/lib/duet/{p-e007c11a.entry.js → p-f208d55c.entry.js} +1 -1
- package/lib/duet/{p-ae3c38ec.system.entry.js → p-f3d5cc54.system.entry.js} +1 -1
- package/lib/duet/p-f57a788d.system.entry.js +4 -0
- package/lib/duet/{p-48452fe6.entry.js → p-f7f0b74f.entry.js} +1 -1
- package/lib/duet/{p-50cb674e.js → p-f92ce1f9.js} +1 -1
- package/lib/duet/p-fa69c713.system.entry.js +4 -0
- package/lib/duet/{p-b70e378a.entry.js → p-fac03927.entry.js} +1 -1
- package/lib/duet/{p-6703c635.entry.js → p-fe6123a8.entry.js} +1 -1
- package/lib/duet/p-feaa9ad0.entry.js +4 -0
- package/lib/duet/p-ff6049c7.system.entry.js +4 -0
- package/lib/esm/{a11y-utils-fb6d24ef.js → a11y-utils-fcabbbe4.js} +1 -1
- package/lib/esm/{app-globals-595167e1.js → app-globals-df3febf1.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +20 -9
- package/lib/esm/duet-breadcrumb.entry.js +10 -19
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +7 -7
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +10 -10
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +17 -8
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +15 -11
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-indicator.entry.js +49 -0
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +7 -7
- package/lib/esm/duet-modal.entry.js +13 -13
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +4 -4
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- package/lib/esm/duet-panel.entry.js +5 -5
- package/lib/esm/duet-phone-input.entry.js +24 -7
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +21 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +15 -20
- package/lib/esm/duet-slideout.entry.js +11 -11
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-7effaab9.js → errorcodes.utils-2bbac3d7.js} +1 -1
- package/lib/esm/{focus-utils-2ff60ebe.js → focus-utils-86d0936a.js} +1 -1
- package/lib/esm/{index-4cc3ec50.js → index-c99b5a3a.js} +5 -1
- package/lib/esm/{language-utils-aa864aed.js → language-utils-0881a2a9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-28b6b964.js → slot-utils-a65ef46f.js} +1 -1
- package/lib/esm/{themeable-component-35ed7853.js → themeable-component-e3661133.js} +1 -1
- package/lib/esm/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +3 -3
- package/lib/esm-es5/{a11y-utils-fb6d24ef.js → a11y-utils-fcabbbe4.js} +1 -1
- package/lib/esm-es5/{app-globals-595167e1.js → app-globals-df3febf1.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 +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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-indicator.entry.js +4 -0
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +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-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.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 +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.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 +2 -2
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-7effaab9.js → errorcodes.utils-2bbac3d7.js} +1 -1
- package/lib/esm-es5/focus-utils-86d0936a.js +4 -0
- package/lib/esm-es5/index-c99b5a3a.js +4 -0
- package/lib/esm-es5/{language-utils-aa864aed.js → language-utils-0881a2a9.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-28b6b964.js → slot-utils-a65ef46f.js} +1 -1
- package/lib/esm-es5/{themeable-component-35ed7853.js → themeable-component-e3661133.js} +1 -1
- package/lib/esm-es5/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +73 -8
- package/package.json +4 -4
- package/lib/duet/p-0018881b.entry.js +0 -4
- package/lib/duet/p-0ad0afe1.entry.js +0 -4
- package/lib/duet/p-137beb16.system.entry.js +0 -4
- package/lib/duet/p-17a1f7cd.entry.js +0 -4
- package/lib/duet/p-18b56724.entry.js +0 -4
- package/lib/duet/p-1a46c899.system.entry.js +0 -4
- package/lib/duet/p-1daaef7a.entry.js +0 -4
- package/lib/duet/p-2179e714.system.entry.js +0 -4
- package/lib/duet/p-22ab0759.system.entry.js +0 -4
- package/lib/duet/p-24749596.system.entry.js +0 -4
- package/lib/duet/p-26b49f30.entry.js +0 -4
- package/lib/duet/p-367a3dd8.system.entry.js +0 -4
- package/lib/duet/p-3f8dd0b3.system.entry.js +0 -4
- package/lib/duet/p-531d399b.system.entry.js +0 -4
- package/lib/duet/p-55eab330.system.entry.js +0 -4
- package/lib/duet/p-583b4f49.js +0 -4
- package/lib/duet/p-58b34a23.system.entry.js +0 -4
- package/lib/duet/p-58d2375e.system.entry.js +0 -4
- package/lib/duet/p-5e658b40.js +0 -4
- package/lib/duet/p-6015aa05.system.entry.js +0 -4
- package/lib/duet/p-60636c0f.js +0 -4
- package/lib/duet/p-612fe73a.system.entry.js +0 -4
- package/lib/duet/p-61b2c1c9.entry.js +0 -4
- package/lib/duet/p-6eed12c2.entry.js +0 -4
- package/lib/duet/p-729bb657.entry.js +0 -4
- package/lib/duet/p-75eda30d.entry.js +0 -4
- package/lib/duet/p-7c597c01.entry.js +0 -4
- package/lib/duet/p-894105da.entry.js +0 -4
- package/lib/duet/p-8a7cfab8.entry.js +0 -4
- package/lib/duet/p-8ef88917.entry.js +0 -4
- package/lib/duet/p-9bff6ed8.entry.js +0 -4
- package/lib/duet/p-9f6fe3bd.entry.js +0 -4
- package/lib/duet/p-a20eeb3a.entry.js +0 -4
- package/lib/duet/p-aee53cdc.system.entry.js +0 -4
- package/lib/duet/p-b275f92a.entry.js +0 -4
- package/lib/duet/p-c16d08b2.entry.js +0 -4
- package/lib/duet/p-c6b0afdd.entry.js +0 -4
- package/lib/duet/p-d3b64256.entry.js +0 -4
- package/lib/duet/p-dc812f17.entry.js +0 -4
- package/lib/duet/p-e24ab988.system.entry.js +0 -4
- package/lib/duet/p-e63f5ff5.js +0 -4
- package/lib/duet/p-e6cd1ffb.system.js +0 -4
- package/lib/duet/p-f38175f1.system.entry.js +0 -4
- package/lib/duet/p-f3a26af1.system.entry.js +0 -4
- package/lib/duet/p-f80ef600.entry.js +0 -4
- package/lib/duet/p-fa2d27c3.entry.js +0 -4
- package/lib/duet/p-ff139142.entry.js +0 -4
- package/lib/duet/p-fff88e02.entry.js +0 -4
- package/lib/esm-es5/focus-utils-2ff60ebe.js +0 -4
- package/lib/esm-es5/index-4cc3ec50.js +0 -4
|
@@ -94,13 +94,17 @@ export class DuetHero {
|
|
|
94
94
|
* Component lifecycle events.
|
|
95
95
|
*/
|
|
96
96
|
componentWillLoad() {
|
|
97
|
+
const headings = "h1, h2, h3, h4, h5, h6";
|
|
97
98
|
inheritGlobalTheme(this);
|
|
98
99
|
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
99
100
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
100
101
|
this.hasSubHeadingSlot = hasSlot(this.element, "subheading");
|
|
101
102
|
checkNamedSlotElement(this.element, "pre-heading", "span");
|
|
102
|
-
checkNamedSlotElement(this.element, "heading",
|
|
103
|
+
checkNamedSlotElement(this.element, "heading", `span, ${headings}`);
|
|
103
104
|
checkNamedSlotElement(this.element, "subheading", "span");
|
|
105
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings)) {
|
|
106
|
+
this.hasHeadingSlotNative = true;
|
|
107
|
+
}
|
|
104
108
|
this.refresh();
|
|
105
109
|
}
|
|
106
110
|
connectedCallback() {
|
|
@@ -184,7 +188,7 @@ export class DuetHero {
|
|
|
184
188
|
outlineColor = "color-primary-turva";
|
|
185
189
|
}
|
|
186
190
|
}
|
|
187
|
-
return (h("div", { key: '
|
|
191
|
+
return (h("div", { key: 'b9c3fd981986fea8d993f608169c1b1bd7e142f9', role: "region", class: {
|
|
188
192
|
"duet-hero": true,
|
|
189
193
|
"duet-theme-turva": this.theme === "turva",
|
|
190
194
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -202,17 +206,17 @@ export class DuetHero {
|
|
|
202
206
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
203
207
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
204
208
|
"duet-hero-narrow": this.layout === "narrow",
|
|
205
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
206
|
-
this.processedBack && (h("div", { key: '
|
|
209
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '3260b2870c1ea4df2b6da83e0e522e2959384077', class: "background-area" }, h("div", { key: 'b2ea29ed6389e6cfa9fe9dcd96367bdbea087693', class: "background-container" }, h("div", { key: '26e2a20c698406dc588295ae9f55af67926e7c97', class: "background" }, h("img", { key: 'e593767a8841e4b500ce795a5d32002fd7106d21', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '5197c7f06902941b5ef031a4921a5449a1c34377', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: 'ef63bccc608fd7c96df659991d80df5b7f598046', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '2b2c260ce475d3a80cf6ed3fc7f2bff453f65c2c', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '476eb6062b5b1b09d32c6c7786013b879379ca7c', class: { background: true, [this.layout]: true } }, h("div", { key: 'ade4111611cd5ea7ad5ed05f631e42957616ddec', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '005ae64b3d9e2e6266af42e25cb4be4a9b1fa915', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '143fe3284548a7b24127a205496620bd6f674341', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: 'e0368f6d4adab84330060a820a3ace3c21699470', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '0bfb81f4f8d796802e5b7b2b7069052b8f045efe', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: '13ba86fd3ddfbcef5dcd42941e8fbb4f12cc1974', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '3b3160c4473905abc641d49a91cc4eecef3e6112', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '81d4f78e461f0bdf5eaa69af85b459fb202b7e42', class: "background-area" }, h("div", { key: '7244da55fe6c2ab9e45b24735a9d0a20f0b75190', class: "background" }, h("div", { key: '8342e1b51e43f069fc3f828a91a7cb9337ef35e9', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'cf56221090df8290c4b1865009b3e05979031d03', class: "brand-shape" }), h("div", { key: 'efd790d680afe2abed0896cec55331254afdc804', class: "brand-shaped-image" }, h("div", { key: '651c298211bb6ebd39c890b34562a3c64f5bc902', class: "brand-shaped-image-wrapper" }, h("div", { key: '8b2e79734a6a4aed14925911115299e2b3d767ac', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '160c866e220afcd1281011a1c5a719b0025e9546', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: '7bebb785dc9749bc51d968dab2a8ca0cfc848b5d', class: "duet-hero-image-mask" }, h("div", { key: '8c6a9cd35d908127651a0bae0353d32171ab41d7', class: "duet-hero-image-wrapper" }, h("div", { key: '011d38bd9420d504d1aba20bdafed27624e55892', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
210
|
+
this.processedBack && (h("div", { key: '06c729fab6a79938abac782bfefc2be636af5f73', class: "duet-hero-back" }, h("duet-button", { key: 'b008b8f2e2bde426b6e0d32570341a69d122bad7', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
207
211
|
label: this.processedBack.label,
|
|
208
212
|
href: this.processedBack.href,
|
|
209
213
|
id: this.processedBack.id,
|
|
210
214
|
analyticsId: this.processedBack.analyticsId,
|
|
211
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
215
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '7bf4a70d0bb38c3f133823902a10fc0e95751ccc', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '7f97fe5b493cc884c901dd9c228fa664fb62efb5', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '641709e526363fd46483b0f8d7a317e76193e64d', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: '7835fca56fb2771ab4dd3e8bf842cd63cceecc82', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'e3966fe7edc152609001c7d7833b5533ce3e0bf4', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '74d6901df7fc755b8579dac8ee179a91467c64f6', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '201fc47aadc90a5d36bbb8c2aa2790fd07fc365b', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '1925643f27fe9c12179e3094d118550532de383e', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '3ef2751d73f65c92b8b13abb3e29823dc6238411', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: 'df28ae57da7a717c93ea6bb66fd76d2ef3570768', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '930cf91ff8dbd036167a878497e0dcbd6f0ae2da' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '8a3bbfacf5164e1b5d8e355eb1798c503044e8c8', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
212
216
|
this.variation !== "image" &&
|
|
213
217
|
!campaignOrSection &&
|
|
214
218
|
this.variation !== "product" &&
|
|
215
|
-
this.variation !== "content" && h("div", { key: '
|
|
219
|
+
this.variation !== "content" && h("div", { key: '623199fc8bdd12fcb1c06cd99bbbcf3ae40c7fc0', class: "duet-hero-image", style: styles }), h("slot", { key: 'f01fd55b510fd793ac4e2819ea683f3f9764ae5a', name: "bottom" }))));
|
|
216
220
|
}
|
|
217
221
|
static get is() { return "duet-hero"; }
|
|
218
222
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,11 +102,11 @@ export class DuetIcon {
|
|
|
102
102
|
: {};
|
|
103
103
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
104
104
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '323b9a59455b17f17fc41a099f1bda25cf20e2a6', class: {
|
|
106
106
|
"duet-m-0": this.margin === "none",
|
|
107
107
|
"duet-icon-has-outline": !!this.outline,
|
|
108
108
|
"duet-icon-has-background": !!this.background,
|
|
109
|
-
} }, h("span", { key: '
|
|
109
|
+
} }, h("span", { key: '5d2f53d911f504db29bddf57c8f94f17f0415c50', "aria-hidden": "true", style: styles, class: {
|
|
110
110
|
"duet-icon": true,
|
|
111
111
|
"duet-theme-turva": this.theme === "turva",
|
|
112
112
|
"duet-theme-default": this.theme === "default",
|
|
@@ -115,7 +115,7 @@ export class DuetIcon {
|
|
|
115
115
|
[shapeStyle]: true,
|
|
116
116
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
117
117
|
"duet-icon-not-responsive": !this.responsive,
|
|
118
|
-
} }, h("span", { key: '
|
|
118
|
+
} }, h("span", { key: '49d01cd51bccebb54d3c4bc9e236d27ca3ba16ac', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "duet-icon"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-indicator {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
width: 8px;
|
|
32
|
+
height: 8px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
.duet-indicator-new {
|
|
36
|
+
background: rgb(0, 119, 179);
|
|
37
|
+
}
|
|
38
|
+
.duet-indicator-change {
|
|
39
|
+
background: rgb(247, 178, 40);
|
|
40
|
+
}
|
|
41
|
+
.duet-indicator-error {
|
|
42
|
+
background: rgb(185, 16, 74);
|
|
43
|
+
}
|
|
44
|
+
.duet-indicator-success {
|
|
45
|
+
background: rgb(29, 106, 88);
|
|
46
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { getLocaleString } from "../../utils/language-utils";
|
|
6
|
+
export class DuetIndicator {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.defaultLabels = {
|
|
9
|
+
new: {
|
|
10
|
+
fi: "Uutta sisältöä",
|
|
11
|
+
en: "New content",
|
|
12
|
+
sv: "Nyt innehålle",
|
|
13
|
+
},
|
|
14
|
+
change: {
|
|
15
|
+
fi: "Muuttunutta sisältöä",
|
|
16
|
+
en: "Changed content",
|
|
17
|
+
sv: "Ändrat innehålle",
|
|
18
|
+
},
|
|
19
|
+
error: {
|
|
20
|
+
fi: "Sisältää virheen",
|
|
21
|
+
en: "Contains error",
|
|
22
|
+
sv: "Innehåller ett fel",
|
|
23
|
+
},
|
|
24
|
+
success: {
|
|
25
|
+
fi: "Onnistunut toiminto",
|
|
26
|
+
en: "Completed successfully",
|
|
27
|
+
sv: "Lyckad åtgärd",
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
this.getAccessibleLabel = () => {
|
|
31
|
+
return this.accessibleLabel || getLocaleString(this.defaultLabels[this.variation]);
|
|
32
|
+
};
|
|
33
|
+
this.variation = "change";
|
|
34
|
+
this.accessibleLabel = undefined;
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return (h(Host, { key: '068dfb1142e610afba3d6a0bb44cc50d5af2e0be' }, h("span", { key: '95dda3401969956579bb40c3de9a33be2390f7b8', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '1e6483d4032eb771fc01507692a92bcc962f346a' }, this.getAccessibleLabel())));
|
|
38
|
+
}
|
|
39
|
+
static get is() { return "duet-indicator"; }
|
|
40
|
+
static get encapsulation() { return "shadow"; }
|
|
41
|
+
static get originalStyleUrls() {
|
|
42
|
+
return {
|
|
43
|
+
"$": ["duet-indicator.scss"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static get styleUrls() {
|
|
47
|
+
return {
|
|
48
|
+
"$": ["duet-indicator.css"]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static get properties() {
|
|
52
|
+
return {
|
|
53
|
+
"variation": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "IndicatorVariation",
|
|
58
|
+
"resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
|
|
59
|
+
"references": {
|
|
60
|
+
"IndicatorVariation": {
|
|
61
|
+
"location": "local",
|
|
62
|
+
"path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-indicator/duet-indicator.tsx",
|
|
63
|
+
"id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": "The variation of the indicator. Typically \"change\" and \"new\" are used; \"error\" and \"success\" should be used\nonly in special cases, as errors and succeses normally require a more prominent message."
|
|
72
|
+
},
|
|
73
|
+
"getter": false,
|
|
74
|
+
"setter": false,
|
|
75
|
+
"attribute": "variation",
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"defaultValue": "\"change\""
|
|
78
|
+
},
|
|
79
|
+
"accessibleLabel": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"mutable": false,
|
|
82
|
+
"complexType": {
|
|
83
|
+
"original": "string",
|
|
84
|
+
"resolved": "string",
|
|
85
|
+
"references": {}
|
|
86
|
+
},
|
|
87
|
+
"required": false,
|
|
88
|
+
"optional": false,
|
|
89
|
+
"docs": {
|
|
90
|
+
"tags": [],
|
|
91
|
+
"text": "Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this\nproperty."
|
|
92
|
+
},
|
|
93
|
+
"getter": false,
|
|
94
|
+
"setter": false,
|
|
95
|
+
"attribute": "accessible-label",
|
|
96
|
+
"reflect": false
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
static get elementRef() { return "element"; }
|
|
101
|
+
}
|
|
@@ -1205,7 +1205,7 @@ export class DuetInput {
|
|
|
1205
1205
|
"optional": false,
|
|
1206
1206
|
"docs": {
|
|
1207
1207
|
"tags": [],
|
|
1208
|
-
"text": "Use maxlength to specify the maximum length of the value that can be entered
|
|
1208
|
+
"text": "Use maxlength to specify the maximum length of the value that can be entered."
|
|
1209
1209
|
},
|
|
1210
1210
|
"getter": false,
|
|
1211
1211
|
"setter": false,
|
|
@@ -1224,7 +1224,7 @@ export class DuetInput {
|
|
|
1224
1224
|
"optional": false,
|
|
1225
1225
|
"docs": {
|
|
1226
1226
|
"tags": [],
|
|
1227
|
-
"text": "Use minlength to specify the minimum length of the value that can be entered
|
|
1227
|
+
"text": "Use minlength to specify the minimum length of the value that can be entered."
|
|
1228
1228
|
},
|
|
1229
1229
|
"getter": false,
|
|
1230
1230
|
"setter": false,
|
|
@@ -43,24 +43,24 @@ export class DuetLayout {
|
|
|
43
43
|
* Always the last one in the class.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '87e9a0ec222dde241b22ad453c4ad5c32634396b', class: {
|
|
47
47
|
center: this.center,
|
|
48
48
|
"duet-middle": this.middle,
|
|
49
49
|
"duet-ie": isInternetExplorer(),
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: '7c2ed9191f4798b3dc85cf376981c6aab0156cf9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c', class: {
|
|
51
51
|
"duet-layout-top": true,
|
|
52
52
|
"duet-center": this.center,
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: '0005e877722cc066af4afc437d27b800853e6a2e', class: "duet-layout-top-wrapper" }, h("slot", { key: 'f28942644fd863ec25dee20ff7c8e08aa4435de5', name: "top" })))), h("div", { key: '0dfab5135c2abf87bf34ad30ae694032fb15e1c5', class: {
|
|
54
54
|
"duet-layout": true,
|
|
55
55
|
"has-sidebar": this.hasSidebar,
|
|
56
56
|
"duet-center": this.center,
|
|
57
57
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
58
|
-
} }, h("main", { key: '
|
|
58
|
+
} }, h("main", { key: '52f379352c3c1bff9858834461fcbb349387867d', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '4d471586d15b6d703968a1cefa19179015e53287', name: "page-heading" }), h("slot", { key: '861e391f79cafcd371bc7a8a4e534949f5395ff4', name: "main" })), this.hasSidebar && (h("aside", { key: 'ea094960d960bea590d79e8ca676fa985bae192c', class: "duet-sidebar" }, h("div", { key: '6991b9d89cad949aab416c29ea2ace9819bf9980', class: {
|
|
59
59
|
"duet-sidebar-container": true,
|
|
60
60
|
"has-tabs": this.tabs,
|
|
61
61
|
sticky: this.sticky,
|
|
62
62
|
[this.stickyDistance]: this.sticky,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: '7d400650d3a268f363d9ca9ec8d358e1e717051e', name: "sidebar" }))))))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "duet-layout"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,10 +123,10 @@ export class DuetLink {
|
|
|
123
123
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
124
124
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
125
125
|
const isButton = Tag === "button";
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'd83502af54d3fa4f2aec80d7082a5a6969207a39', class: {
|
|
127
127
|
[`duet-link-${this.variation}`]: true,
|
|
128
128
|
"duet-m-0": this.margin === "none",
|
|
129
|
-
} }, h(Tag, { key: '
|
|
129
|
+
} }, h(Tag, { key: '534e9bcb74e02dc050ac1986b251f08215c8aa7d', href: this.url, class: {
|
|
130
130
|
"duet-link": true,
|
|
131
131
|
"duet-link-is-external": this.external,
|
|
132
132
|
"duet-link-is-download": !!this.download,
|
|
@@ -72,7 +72,7 @@ export class DuetList {
|
|
|
72
72
|
* Always the last one in the class.
|
|
73
73
|
*/
|
|
74
74
|
render() {
|
|
75
|
-
return (h("dl", { key: '
|
|
75
|
+
return (h("dl", { key: '5e954e5cb5906fcf8e60eca5830d60091d2706c4', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: '07566357caeeb57f2168a6bde8c5d2f54e6a7b68' })));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "duet-list"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class DuetListItem {
|
|
|
21
21
|
* Always the last one in the class.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'a1d59eef6ebf95b35ba47c0c5d08dce588f79e2e', class: {
|
|
25
25
|
"duet-theme-turva": this.theme === "turva",
|
|
26
26
|
"duet-no-stacking": !this.responsive,
|
|
27
27
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -29,7 +29,7 @@ export class DuetListItem {
|
|
|
29
29
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
30
30
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
31
31
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
32
|
-
} }, h("dt", { key: '
|
|
32
|
+
} }, h("dt", { key: '945de6fd1adcfbeff921e2adbc31c2252a6a0a4f' }, h("slot", { key: 'c0c9a3a4cc5c7b0522946d4f32b3eebf83f55b64', name: "label" })), h("dd", { key: 'a283cfff317b10c86778c3d104e4f911f499ee53' }, h("slot", { key: '5ada9a783edd1778553a2240cac92c796276989e', name: "value" }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-list-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class DuetLogo {
|
|
|
118
118
|
*/
|
|
119
119
|
render() {
|
|
120
120
|
const TagName = this.href ? "a" : "div";
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '1e410097f84415333adc03b3ce6c3e9ea7577395', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '955051b9c078a75dc74f4e2557b59e274eaac1de', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
122
122
|
"duet-logo": true,
|
|
123
123
|
[this.size]: true,
|
|
124
124
|
"duet-logo-only-symbol": this.onlySymbol,
|
|
@@ -120,17 +120,17 @@ export class DuetMenuBar {
|
|
|
120
120
|
render() {
|
|
121
121
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
122
122
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '255814311f574f7d85b3bc80bb175cc1f1d18a64' }, h("nav", { key: '83e7544a5404b5af2c3719a2489e4b36a540c1e8', class: {
|
|
124
124
|
"duet-menu-bar": true,
|
|
125
125
|
"duet-theme-turva": this.theme === "turva",
|
|
126
126
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
127
127
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
128
128
|
hidden: this.hidden && this.hideOnScroll,
|
|
129
129
|
bottom: this.onBottom,
|
|
130
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
130
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'f32cf559d838dc433b85c7cb4df85fcf1915f7ef', class: "top" }), h("div", { key: '19a48ff07d04fe3ce07ef084ebcc51306a434bde', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: 'c93a4319705c231ff4caafb5351040743648da31' }, h("duet-logo", { key: '39c4a607c937dea11129d57acdd5165280235fdf', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'a79acdf7414befb7341990872ce965b08d59d675', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: '7e553d40b2309b1bb8108c426b54ab5b6a406d78', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: 'b587afd17006e768a5468fbfb999d749b0257d6d', class: {
|
|
131
131
|
"duet-logo-info-text": true,
|
|
132
132
|
"duet-theme-turva": this.theme === "turva",
|
|
133
|
-
} }, this.logoInfoText)))), h("div", { key: '
|
|
133
|
+
} }, this.logoInfoText)))), h("div", { key: 'f7c134952e7e4e4939a76643338af9aa8184cfa9', class: "list center", role: "list" }, h("div", { key: '2abb544bcd51d678b040268faba758c361f419ad', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '5cb2a6679aab357ec3ea58484fa678da7c9a054c', name: "center" }), h("div", { key: '84768be6f01769a9af9376eda0c7ab392afb76a5', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'ed2f72a70440b9257c7e00ab25cd2d1a93f64fbf', class: "list right", role: "list" }, h("slot", { key: '348067a2565d3594907c03abe52dd8f100dbe675', name: "right" }))), h("div", { key: '3f5710688ff1e20bfd146d11e07379106cba9c54', class: "bottom" }))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "duet-menu-bar"; }
|
|
136
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'fa02a51d7479dc914e75919d4dd8dddabd15c246', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: 'e0cc0c43b6afbaa4575df1308274aef4ff85b059', ref: button => (this.nativeButton = button), class: {
|
|
42
42
|
"duet-menu-bar-button": true,
|
|
43
43
|
"duet-theme-turva": this.theme === "turva",
|
|
44
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
44
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: 'e2a3505c245c6f5d35d10faf5c2b3aea5b4b4c82', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '5d6f7c435b3c7199e0ba936b97d580d27753b65f' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-menu-bar-button"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
|
|
|
54
54
|
* Always the last one in the class.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '79d75ff19ddc5d5e4bc05c2b759fa189a7e5a328', role: "listitem" }, h("div", { key: '797d9710ac2b48c95f4e32753471b3e914f060eb', class: {
|
|
58
58
|
"duet-menu-bar-dropdown": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
active: this.open,
|
|
61
61
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
62
|
-
} }, h("button", { key: '
|
|
62
|
+
} }, h("button", { key: '690d5bfe2910a845579a5262a456f450b4fa5de6', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
63
63
|
active: this.open,
|
|
64
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
64
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'db531e44188b297ac1f54d19830a203ec705ebfb', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '8722763917df82c35c441e643676e851df5f1cca', class: "label" }, h("slot", { key: '2893eb3e1e367e6f206644e48c6388cd23b7da93', name: "label" }), h("duet-icon", { key: 'e6a26816a85cdc47fe61219a601593d01473c413', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '3c8a74c98bb4c8b67f0ef0d5332d215f7c9713f3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
65
65
|
items: true,
|
|
66
66
|
hidden: !this.open,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: 'c5b39b69128a328c0b93ae130d452f35333535d2' })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '1e881babd45c7f4cd8527b43abc01cfb2496ed18' }, h("a", { key: '50d501696da9aa65a0084e720d8b024e3ea0f66a', class: {
|
|
44
44
|
"duet-menu-bar-dropdown-link": true,
|
|
45
45
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
46
46
|
"duet-theme-turva": this.theme === "turva",
|
|
47
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'abb09dbe2df11ed13c631fd5c71f7fa59b86f122', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'e9eb98e4348ef0f8e578a4b9ba29dce23b58b36e' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
|
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
50
|
const TagName = this.url ? "a" : "button";
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '6c892062c0bd92db9f57b96b7180f9eef0801255', role: "listitem" }, h(TagName, { key: 'a23d9012b6e382756434132bdfbe2f42b11e12d6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
52
52
|
"duet-menu-bar-item": true,
|
|
53
53
|
"duet-theme-turva": this.theme === "turva",
|
|
54
54
|
active: this.active,
|
|
55
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '799e99c90de77fc27884390cee54a2f5ef2b86c7', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'a3e5ca49f3a3ebea08b83ea25eb7f1c9978ac33a' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'bfc604da6076597a4bbf67adb54020f911a4070b', class: {
|
|
56
56
|
"trailing-icon": !!this.trailingIcon,
|
|
57
57
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
58
58
|
"external-icon": !!this.external,
|
|
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
|
|
|
22
22
|
* Always the last one in the class.
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'd492f3d98ee828bb162789fd83727dd3e3894b02', role: "listitem" }, h("a", { key: 'ee760db6d0328245581bf4c1f9a402db7e02d3c0', class: {
|
|
26
26
|
"duet-menu-bar-link": true,
|
|
27
27
|
"duet-theme-turva": this.theme === "turva",
|
|
28
28
|
active: this.active,
|
|
29
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
29
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '66d9747fb5cbf8182be0c11e18743612a894f9c5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'a869202b6d0a4be7889cf78143274c22cf302b8c' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -267,14 +267,14 @@ export class DuetModal {
|
|
|
267
267
|
var _a, _b;
|
|
268
268
|
const iconColor = postfixTheme("primary", this.theme);
|
|
269
269
|
const closeColor = postfixTheme("secondary", this.theme);
|
|
270
|
-
const closingButton = (h("div", { key: '
|
|
271
|
-
return (h("div", { key: '
|
|
270
|
+
const closingButton = (h("div", { key: 'fb5c0560d2d55f75fdadd3685854d8058581f0c1', class: "duet-modal-close" }, h("duet-button", { key: '7e0adc47d278a98a9fade867f3a80a42529893b8', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
271
|
+
return (h("div", { key: '79df0c89cdf6ed24e73187dbbbaf993f6ff364a0', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
272
272
|
"duet-modal-container": true,
|
|
273
273
|
"duet-theme-turva": this.theme === "turva",
|
|
274
274
|
"duet-modal-active": this.open,
|
|
275
275
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
276
276
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
277
|
-
} }, h("duet-overlay", { key: '
|
|
277
|
+
} }, h("duet-overlay", { key: '29059373fe236b590c7052273427485ede1e50a3', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '581e9c4bdf5177f81a55740bc2d30d5886f91f6e', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
278
278
|
"duet-modal-inner": true,
|
|
279
279
|
[this.size]: true,
|
|
280
280
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -285,22 +285,22 @@ export class DuetModal {
|
|
|
285
285
|
this.closeModal(e);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
} }, h("div", { key: '
|
|
288
|
+
} }, h("div", { key: '698ff3a4dcd7ae54ede5b10c222146dc334b9051', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
289
289
|
"duet-modal": true,
|
|
290
290
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
291
291
|
[this.size]: true,
|
|
292
292
|
[this.variation]: true,
|
|
293
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
293
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: 'c8e5eb91cb6a35b981ce60b18e0ecb8a6e36adc9' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'e3a66f33581bd32351338f3c814272f11296af6c', class: {
|
|
294
294
|
"duet-modal-body": true,
|
|
295
295
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
296
296
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
297
297
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
298
298
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
299
|
-
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: '
|
|
299
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: 'c91e1c8caddd1006c3bf43456df9c6085b496270', class: "duet-modal-header" }, h("span", { key: '9523501ef4f262a94b187ebecfe7501053274294', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'b7b971eb057c64f1283a30c9f810a55a2fc2eb44', name: "top" })), this.icon && h("duet-icon", { key: '6a09af4246def78037d1963a7cc1837b13e4ef91', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: '60cff1e5eeb1be06cae4bee035d4a01d6842b339', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '69115fe8c73a0a9d861b50826d4d7884380c68fa', class: "duet-modal-spinner" }, h("duet-spinner", { key: '93dbd535f7da1e8c1445a53d2880670019a4af7f', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '82cd6ae6caa7661516b33d15c6631d51fadf496f', "aria-live": this.variation === "loader"
|
|
300
300
|
? "assertive"
|
|
301
301
|
: this.accessibleAnnounceChanges === "body"
|
|
302
302
|
? "polite"
|
|
303
|
-
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '
|
|
303
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '473e494d8e6d05199f2ae3be8dd684fa0e4fe884' })))))));
|
|
304
304
|
}
|
|
305
305
|
static get is() { return "duet-modal"; }
|
|
306
306
|
static get encapsulation() { return "shadow"; }
|