@duetds/components 9.13.0 → 9.14.0
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 +341 -167
- package/lib/cjs/{a11y-utils-7f0f44ac.js → a11y-utils-a934645c.js} +1 -1
- package/lib/cjs/{app-globals-7f261ff1.js → app-globals-6b9852f3.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 +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- 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 +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- 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 +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- 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 +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +39 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-panel.cjs.entry.js +47 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- 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 +14 -14
- 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 +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- 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 +7 -7
- 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 +8 -8
- 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-cde5cb76.js → errorcodes.utils-9ce7ca99.js} +1 -1
- package/lib/cjs/{focus-utils-3b3e2586.js → focus-utils-fa11f04b.js} +1 -1
- package/lib/cjs/{index-4babbdda.js → index-3d15fb5e.js} +5 -1
- package/lib/cjs/{language-utils-83791d57.js → language-utils-eaec2648.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-c565d8b9.js → slot-utils-61317778.js} +1 -1
- package/lib/cjs/{themeable-component-a007f8ee.js → themeable-component-46222401.js} +1 -1
- package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
- 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 +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +14 -5
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- 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-header/duet-header.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +98 -15
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +225 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- 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 +3 -3
- 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.js +4 -4
- 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 +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.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 +4 -4
- 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.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 +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- 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 +3 -3
- 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 +11 -10
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +44 -23
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +18 -14
- 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 +14 -14
- package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
- package/lib/dist-custom-elements/duet-panel.js +70 -0
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +16 -16
- 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 +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- 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 +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +2 -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 +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 +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-e8dc8877.js → p-05fb2c81.js} +4 -4
- package/lib/dist-custom-elements/{p-06beac61.js → p-0a34fa11.js} +2 -2
- package/lib/dist-custom-elements/{p-c1e381e3.js → p-0e0a0525.js} +3 -3
- package/lib/dist-custom-elements/{p-0c829768.js → p-10893657.js} +1 -1
- package/lib/dist-custom-elements/{p-a000e044.js → p-25f8ea4b.js} +2 -2
- package/lib/dist-custom-elements/{p-2dcb2900.js → p-3419cd58.js} +9 -9
- package/lib/dist-custom-elements/{p-ad927290.js → p-3471fa90.js} +3 -3
- package/lib/dist-custom-elements/{p-911326a0.js → p-36f6ec52.js} +2 -2
- package/lib/dist-custom-elements/{p-f7d93067.js → p-3883f329.js} +5 -5
- package/lib/dist-custom-elements/{p-b660d362.js → p-3a815628.js} +10 -10
- package/lib/dist-custom-elements/{p-ca899a3c.js → p-444e732a.js} +8 -7
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-c7002b0e.js → p-5e16131c.js} +1 -1
- package/lib/dist-custom-elements/{p-3c558254.js → p-61b4aec9.js} +12 -12
- package/lib/dist-custom-elements/{p-67e54308.js → p-65300e85.js} +11 -11
- package/lib/dist-custom-elements/{p-16151d9e.js → p-706a9a13.js} +2 -2
- package/lib/dist-custom-elements/{p-1271d1b9.js → p-778364d6.js} +3 -3
- package/lib/dist-custom-elements/{p-13082a20.js → p-81360956.js} +2 -2
- package/lib/dist-custom-elements/{p-80bbbb3a.js → p-85f0068e.js} +5 -5
- package/lib/dist-custom-elements/{p-8c472242.js → p-92710b68.js} +1 -1
- package/lib/dist-custom-elements/{p-2e148296.js → p-96cabce8.js} +7 -7
- package/lib/dist-custom-elements/{p-276a59a3.js → p-9ac441e6.js} +4 -4
- package/lib/dist-custom-elements/{p-70b67cdd.js → p-9f715fa9.js} +4 -4
- package/lib/dist-custom-elements/{p-55c477f3.js → p-a4513f7a.js} +2 -2
- package/lib/dist-custom-elements/{p-135f668d.js → p-a69bc735.js} +1 -1
- package/lib/dist-custom-elements/{p-12884dcf.js → p-b3835995.js} +4 -4
- package/lib/dist-custom-elements/{p-cdf4b7f6.js → p-c7f33aed.js} +4 -4
- package/lib/dist-custom-elements/{p-653d2256.js → p-cc1b78ce.js} +10 -10
- package/lib/dist-custom-elements/{p-e3280064.js → p-d04e213c.js} +12 -12
- package/lib/dist-custom-elements/{p-63a0bdcd.js → p-d0bc3da2.js} +1 -1
- package/lib/dist-custom-elements/{p-aa4ebea4.js → p-d5c72ea3.js} +5 -5
- package/lib/dist-custom-elements/{p-4e53b45e.js → p-db2b09ab.js} +2 -2
- package/lib/dist-custom-elements/{p-de35873c.js → p-dc970fdb.js} +1 -1
- package/lib/dist-custom-elements/{p-46749593.js → p-e77ffc34.js} +3 -3
- package/lib/dist-custom-elements/{p-d60c7d74.js → p-e9c8ad74.js} +1 -1
- package/lib/dist-custom-elements/{p-f80dea81.js → p-ee948dc8.js} +4 -4
- package/lib/dist-custom-elements/{p-1027ea53.js → p-f290964d.js} +5 -5
- package/lib/dist-custom-elements/{p-7fd99694.js → p-f38adca4.js} +7 -7
- package/lib/dist-custom-elements/{p-2582f9a3.js → p-f3b2867a.js} +3 -3
- package/lib/dist-custom-elements/{p-be9b9c9d.js → p-f479ee47.js} +5 -5
- package/lib/dist-custom-elements/{p-47d05b62.js → p-fddb3ec1.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-c45ddc7a.system.entry.js → p-013232a8.system.entry.js} +1 -1
- package/lib/duet/{p-8c2abe91.js → p-01fe0f34.js} +1 -1
- package/lib/duet/{p-88dda3dd.entry.js → p-063b31ef.entry.js} +1 -1
- package/lib/duet/{p-a51a1f94.system.entry.js → p-07d21021.system.entry.js} +1 -1
- package/lib/duet/p-07dd4405.system.entry.js +4 -0
- package/lib/duet/{p-9f1e07cc.entry.js → p-08f594ea.entry.js} +1 -1
- package/lib/duet/{p-ece11bcb.entry.js → p-08f64c06.entry.js} +1 -1
- package/lib/duet/{p-d0b648c5.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
- package/lib/duet/{p-964cab98.entry.js → p-0c16128f.entry.js} +1 -1
- package/lib/duet/{p-71a2b27b.system.entry.js → p-0cef5003.system.entry.js} +2 -2
- package/lib/duet/{p-0990faec.system.entry.js → p-0e013c22.system.entry.js} +1 -1
- package/lib/duet/{p-0dd78a56.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
- package/lib/duet/p-10310520.entry.js +4 -0
- package/lib/duet/{p-b5191612.system.entry.js → p-11262ef8.system.entry.js} +1 -1
- package/lib/duet/{p-24cc3a49.entry.js → p-119d8a9d.entry.js} +1 -1
- package/lib/duet/{p-9e4e3a7d.entry.js → p-11e013dd.entry.js} +1 -1
- package/lib/duet/{p-c658fdf2.system.entry.js → p-13821573.system.entry.js} +1 -1
- package/lib/duet/{p-5026ba81.system.entry.js → p-13f4076a.system.entry.js} +2 -2
- package/lib/duet/{p-7686eb1f.entry.js → p-147f5eb5.entry.js} +1 -1
- package/lib/duet/p-16e80004.entry.js +4 -0
- package/lib/duet/{p-38baa305.entry.js → p-17f215e8.entry.js} +1 -1
- package/lib/duet/{p-af3397e6.entry.js → p-18b21048.entry.js} +1 -1
- package/lib/duet/{p-d5a2f426.entry.js → p-19ad52bc.entry.js} +1 -1
- package/lib/duet/{p-ab7e07be.system.entry.js → p-1a767c08.system.entry.js} +1 -1
- package/lib/duet/{p-b094d253.entry.js → p-1c2dcb63.entry.js} +1 -1
- package/lib/duet/p-1f495ebe.entry.js +4 -0
- package/lib/duet/{p-570a2d5c.entry.js → p-20170d5a.entry.js} +1 -1
- package/lib/duet/{p-c59fbbb1.system.entry.js → p-201895ea.system.entry.js} +1 -1
- package/lib/duet/{p-3c29e0ba.entry.js → p-2162fe62.entry.js} +1 -1
- package/lib/duet/{p-526bce13.system.entry.js → p-22349ab1.system.entry.js} +1 -1
- package/lib/duet/{p-e538f43c.system.entry.js → p-22932c08.system.entry.js} +1 -1
- package/lib/duet/{p-7adab44d.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
- package/lib/duet/{p-71a70553.system.entry.js → p-2455cbff.system.entry.js} +1 -1
- package/lib/duet/{p-17029aad.entry.js → p-268d9b35.entry.js} +1 -1
- package/lib/duet/p-2a542c6a.entry.js +4 -0
- package/lib/duet/p-2a96f88a.system.entry.js +4 -0
- package/lib/duet/{p-ecb06d44.entry.js → p-2c15a77e.entry.js} +1 -1
- package/lib/duet/{p-c6c01a4f.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
- package/lib/duet/p-2dd204b0.entry.js +4 -0
- package/lib/duet/{p-e4bda446.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
- package/lib/duet/{p-7761f427.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
- package/lib/duet/{p-3aecf400.system.entry.js → p-2ee8e84d.system.entry.js} +1 -1
- package/lib/duet/{p-144182a4.entry.js → p-2fe381b6.entry.js} +1 -1
- package/lib/duet/{p-dd011cf1.system.entry.js → p-322c0015.system.entry.js} +2 -2
- package/lib/duet/{p-f01d0296.system.entry.js → p-344834d8.system.entry.js} +1 -1
- package/lib/duet/{p-0e4fe522.system.entry.js → p-34485370.system.entry.js} +1 -1
- package/lib/duet/{p-97393e12.system.entry.js → p-352b3557.system.entry.js} +1 -1
- package/lib/duet/{p-1fe5a7e9.js → p-378546de.js} +1 -1
- package/lib/duet/{p-5c48b80a.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
- package/lib/duet/{p-20baa68b.entry.js → p-3a75e6d3.entry.js} +1 -1
- package/lib/duet/{p-c23c9c77.entry.js → p-3b9c02b1.entry.js} +1 -1
- package/lib/duet/{p-b9af2990.system.entry.js → p-413fc831.system.entry.js} +2 -2
- package/lib/duet/p-4215bd92.system.entry.js +4 -0
- package/lib/duet/p-42a0205d.entry.js +4 -0
- package/lib/duet/{p-bb71c581.entry.js → p-430ef395.entry.js} +1 -1
- package/lib/duet/p-44b3eb2c.entry.js +4 -0
- package/lib/duet/{p-4509c90e.entry.js → p-463b0d7a.entry.js} +1 -1
- package/lib/duet/{p-4ead37f9.entry.js → p-48fb5298.entry.js} +1 -1
- package/lib/duet/{p-13dce266.entry.js → p-4989501c.entry.js} +1 -1
- package/lib/duet/{p-8522541f.entry.js → p-49b696b3.entry.js} +1 -1
- package/lib/duet/{p-8da3b624.entry.js → p-49b6f9a1.entry.js} +1 -1
- package/lib/duet/{p-1be0f96f.system.entry.js → p-4a54ae2a.system.entry.js} +1 -1
- package/lib/duet/{p-d5ad1dca.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
- package/lib/duet/p-4d81e7f6.system.js +4 -0
- package/lib/duet/{p-cc22486b.system.entry.js → p-4e21f876.system.entry.js} +1 -1
- package/lib/duet/{p-baf03e8b.entry.js → p-51717f08.entry.js} +1 -1
- package/lib/duet/{p-1657ff9a.entry.js → p-51fc30ef.entry.js} +1 -1
- package/lib/duet/{p-e5716306.entry.js → p-52746f84.entry.js} +1 -1
- package/lib/duet/p-52d80d96.js +4 -0
- package/lib/duet/{p-33a9413f.system.entry.js → p-561dd467.system.entry.js} +1 -1
- package/lib/duet/p-564022f1.entry.js +4 -0
- package/lib/duet/{p-d610918e.system.entry.js → p-56bada0c.system.entry.js} +1 -1
- package/lib/duet/{p-b3f5912a.system.entry.js → p-58d8549a.system.entry.js} +1 -1
- package/lib/duet/{p-3b760329.entry.js → p-593df331.entry.js} +1 -1
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-7d10302e.entry.js → p-5b583276.entry.js} +1 -1
- package/lib/duet/{p-0a72cb14.system.entry.js → p-5c271084.system.entry.js} +1 -1
- package/lib/duet/{p-328f8f18.entry.js → p-5f678caa.entry.js} +1 -1
- package/lib/duet/{p-cf5551f7.entry.js → p-628a59a6.entry.js} +1 -1
- package/lib/duet/{p-e9e59d73.entry.js → p-62cb44f1.entry.js} +1 -1
- package/lib/duet/{p-5122eee8.system.js → p-670f33d1.system.js} +1 -1
- package/lib/duet/p-6a4e23b5.entry.js +4 -0
- package/lib/duet/{p-590505a4.system.entry.js → p-6a718c27.system.entry.js} +1 -1
- package/lib/duet/{p-01965153.entry.js → p-6a900d10.entry.js} +1 -1
- package/lib/duet/p-6b99bf3d.system.js +4 -0
- package/lib/duet/{p-a8e26d38.entry.js → p-6cf2b2b8.entry.js} +1 -1
- package/lib/duet/{p-ad43bd23.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
- package/lib/duet/{p-18e13eb6.system.entry.js → p-6db869c9.system.entry.js} +1 -1
- package/lib/duet/{p-45cb4d7f.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
- package/lib/duet/{p-22ae0db4.entry.js → p-704b8b7e.entry.js} +1 -1
- package/lib/duet/{p-aadd382f.system.entry.js → p-713918d1.system.entry.js} +1 -1
- package/lib/duet/{p-d4e9333f.entry.js → p-72ad70a2.entry.js} +1 -1
- package/lib/duet/{p-9eed5f82.js → p-72b4c06f.js} +1 -1
- package/lib/duet/{p-43c4d670.entry.js → p-75542e0e.entry.js} +1 -1
- package/lib/duet/{p-9faf2ac2.system.entry.js → p-75e72c46.system.entry.js} +1 -1
- package/lib/duet/{p-98feb289.system.entry.js → p-76c797cb.system.entry.js} +1 -1
- package/lib/duet/{p-0a405da0.system.entry.js → p-78024429.system.entry.js} +1 -1
- package/lib/duet/p-7856f483.entry.js +4 -0
- package/lib/duet/{p-e8059b67.system.entry.js → p-786418b7.system.entry.js} +1 -1
- package/lib/duet/{p-17ed0be9.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
- package/lib/duet/{p-8e5de54a.entry.js → p-7be7fb2c.entry.js} +1 -1
- package/lib/duet/{p-c4eb60a1.system.entry.js → p-7ce8fc32.system.entry.js} +1 -1
- package/lib/duet/{p-333f7ae7.entry.js → p-7d63b0c0.entry.js} +1 -1
- package/lib/duet/{p-b5eb657a.system.js → p-7fd0a219.system.js} +1 -1
- package/lib/duet/p-82680aa5.system.js +4 -0
- package/lib/duet/{p-e762de37.entry.js → p-82733ff7.entry.js} +1 -1
- package/lib/duet/{p-3cbeb209.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
- package/lib/duet/{p-7194f790.entry.js → p-83c0cfed.entry.js} +1 -1
- package/lib/duet/p-854605a6.js +4 -0
- package/lib/duet/{p-89a1d75a.js → p-8637a449.js} +1 -1
- package/lib/duet/{p-3372296f.entry.js → p-86929bf6.entry.js} +1 -1
- package/lib/duet/{p-80c89ac1.entry.js → p-86d288e5.entry.js} +1 -1
- package/lib/duet/{p-40edc180.system.entry.js → p-870a420d.system.entry.js} +1 -1
- package/lib/duet/p-89b2f873.system.js +4 -0
- package/lib/duet/{p-9004d8ff.entry.js → p-89d45610.entry.js} +1 -1
- package/lib/duet/{p-8c66abfb.system.entry.js → p-89f89a39.system.entry.js} +2 -2
- package/lib/duet/{p-7789db31.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
- package/lib/duet/p-8bb2ddda.entry.js +4 -0
- package/lib/duet/{p-8bed4283.system.entry.js → p-8cbe7888.system.entry.js} +1 -1
- package/lib/duet/{p-b6578600.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
- package/lib/duet/{p-1ca12248.entry.js → p-8edc7ed6.entry.js} +1 -1
- package/lib/duet/{p-080a85af.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
- package/lib/duet/{p-05fc82b0.entry.js → p-901f7bd1.entry.js} +1 -1
- package/lib/duet/{p-61198184.system.entry.js → p-903d05d9.system.entry.js} +1 -1
- package/lib/duet/{p-bfa13cf6.entry.js → p-914292d2.entry.js} +1 -1
- package/lib/duet/{p-ecf25e2f.system.entry.js → p-91be5d76.system.entry.js} +1 -1
- package/lib/duet/{p-33ee2b28.entry.js → p-9361e0ff.entry.js} +1 -1
- package/lib/duet/{p-844d9170.entry.js → p-936f0051.entry.js} +1 -1
- package/lib/duet/{p-4421763f.entry.js → p-961dc1b6.entry.js} +1 -1
- package/lib/duet/{p-1830fafe.entry.js → p-98af4e91.entry.js} +1 -1
- package/lib/duet/p-9921468e.entry.js +4 -0
- package/lib/duet/{p-d63c92fc.system.js → p-99ffd1cf.system.js} +1 -1
- package/lib/duet/{p-03e76030.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
- package/lib/duet/{p-d1c7c87b.entry.js → p-9dc97ec5.entry.js} +1 -1
- package/lib/duet/{p-8a02bd75.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
- package/lib/duet/{p-4dd14bc1.system.entry.js → p-a8527a22.system.entry.js} +1 -1
- package/lib/duet/{p-7930882f.entry.js → p-aaa700a4.entry.js} +1 -1
- package/lib/duet/{p-5c01b990.entry.js → p-ac643c4d.entry.js} +1 -1
- package/lib/duet/p-adcfa80c.system.entry.js +4 -0
- package/lib/duet/{p-442cac9c.entry.js → p-af4c5e2b.entry.js} +1 -1
- package/lib/duet/{p-04e49b2e.system.entry.js → p-b083c7df.system.entry.js} +1 -1
- package/lib/duet/p-b1b64718.system.entry.js +4 -0
- package/lib/duet/{p-f6ada3f6.entry.js → p-b4018154.entry.js} +1 -1
- package/lib/duet/{p-a03fcf76.system.js → p-b65f6339.system.js} +1 -1
- package/lib/duet/{p-f7a30994.system.entry.js → p-b728fce7.system.entry.js} +1 -1
- package/lib/duet/p-b84841d7.js +4 -0
- package/lib/duet/{p-bffda5ab.entry.js → p-baaa9e94.entry.js} +1 -1
- package/lib/duet/{p-1390ae19.entry.js → p-be26ac3a.entry.js} +1 -1
- package/lib/duet/{p-73666dbd.entry.js → p-c0020521.entry.js} +1 -1
- package/lib/duet/p-c157389b.system.entry.js +4 -0
- package/lib/duet/{p-d977fe38.system.entry.js → p-c371758a.system.entry.js} +1 -1
- package/lib/duet/{p-85167dd4.entry.js → p-c4e34a8e.entry.js} +1 -1
- package/lib/duet/{p-9c201da2.entry.js → p-c60c40a2.entry.js} +1 -1
- package/lib/duet/{p-f740cd96.entry.js → p-c70b52b6.entry.js} +1 -1
- package/lib/duet/{p-8b350472.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
- package/lib/duet/{p-25bfda5f.system.entry.js → p-cb279bed.system.entry.js} +1 -1
- package/lib/duet/{p-14f51a29.entry.js → p-cd27da84.entry.js} +1 -1
- package/lib/duet/p-cff34f13.entry.js +4 -0
- package/lib/duet/{p-60ef6c46.system.entry.js → p-d06d2098.system.entry.js} +1 -1
- package/lib/duet/{p-e124ed8c.system.entry.js → p-d3e245f0.system.entry.js} +1 -1
- package/lib/duet/{p-68d50809.system.entry.js → p-d6368121.system.entry.js} +1 -1
- package/lib/duet/{p-c6e60d08.system.entry.js → p-d647ef97.system.entry.js} +1 -1
- package/lib/duet/{p-2fe6628e.system.entry.js → p-d6a2cc77.system.entry.js} +1 -1
- package/lib/duet/{p-3cd37502.entry.js → p-d6afc825.entry.js} +1 -1
- package/lib/duet/{p-41a3f8ed.entry.js → p-d8fadd2d.entry.js} +1 -1
- package/lib/duet/{p-7d050716.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/{p-5aeec4ac.system.entry.js → p-e6f40951.system.entry.js} +1 -1
- package/lib/duet/p-e70fad83.entry.js +4 -0
- package/lib/duet/{p-077813ae.entry.js → p-e8777cf4.entry.js} +1 -1
- package/lib/duet/{p-22f40c48.system.entry.js → p-eb237688.system.entry.js} +1 -1
- package/lib/duet/p-eb7b2984.system.entry.js +4 -0
- package/lib/duet/{p-f482b5af.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
- package/lib/duet/{p-85696a8e.entry.js → p-ec22154d.entry.js} +1 -1
- package/lib/duet/{p-f78b9d60.system.js → p-ed810e76.system.js} +1 -1
- package/lib/duet/{p-618a0f3a.entry.js → p-edb65a28.entry.js} +1 -1
- package/lib/duet/{p-024c34d9.system.entry.js → p-f1beb947.system.entry.js} +1 -1
- package/lib/duet/{p-5a1dbce7.system.entry.js → p-f3587718.system.entry.js} +1 -1
- package/lib/duet/{p-a04ebea2.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
- package/lib/duet/{p-3c438fec.entry.js → p-f7b6fecb.entry.js} +1 -1
- package/lib/duet/{p-808d9dc7.system.entry.js → p-f835eb92.system.entry.js} +2 -2
- package/lib/duet/p-f89feeb2.entry.js +4 -0
- package/lib/duet/{p-bc44defc.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
- package/lib/duet/{p-1425b59f.entry.js → p-f9b9fbf5.entry.js} +1 -1
- package/lib/duet/{p-e2e84fa3.system.entry.js → p-fae74a37.system.entry.js} +1 -1
- package/lib/duet/{p-35d651a8.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
- package/lib/duet/{p-e5f1e38a.js → p-fbc59efc.js} +1 -1
- package/lib/duet/{p-0aaac3fd.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
- package/lib/duet/{p-02aca5ee.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm/{app-globals-5ec0d260.js → app-globals-db5be99e.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 +4 -4
- package/lib/esm/duet-banner.entry.js +7 -7
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +12 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +13 -12
- package/lib/esm/duet-card.entry.js +4 -4
- 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 +3 -3
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +3 -3
- 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 +2 -2
- package/lib/esm/duet-header_2.entry.js +6 -5
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- 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 +3 -3
- package/lib/esm/duet-modal.entry.js +39 -20
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +11 -7
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +6 -6
- package/lib/esm/duet-panel.entry.js +43 -0
- package/lib/esm/duet-phone-input.entry.js +4 -4
- 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 +14 -14
- 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 +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- 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 +7 -7
- 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 +8 -8
- 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-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm/{index-5757a151.js → index-04630419.js} +5 -1
- package/lib/esm/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
- package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
- package/lib/esm-es5/{a11y-utils-d44f1172.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm-es5/{app-globals-5ec0d260.js → app-globals-db5be99e.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 +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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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 +1 -1
- 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 +2 -2
- 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 +4 -0
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_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-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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- 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-4ce3105d.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm-es5/{focus-utils-0d727936.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm-es5/index-04630419.js +4 -0
- package/lib/esm-es5/{language-utils-1aea3619.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-03502471.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm-es5/{themeable-component-e507940b.js → themeable-component-ddf67193.js} +1 -1
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components.d.ts +103 -4
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +4 -4
- package/lib/duet/p-0e1d879e.system.js +0 -4
- package/lib/duet/p-1b355115.entry.js +0 -4
- package/lib/duet/p-20669a1b.system.entry.js +0 -4
- package/lib/duet/p-2519a1b2.entry.js +0 -4
- package/lib/duet/p-2d6cd3b0.system.entry.js +0 -4
- package/lib/duet/p-3c2cf893.system.entry.js +0 -4
- package/lib/duet/p-3ea64651.entry.js +0 -4
- package/lib/duet/p-435ed67f.entry.js +0 -4
- package/lib/duet/p-473febb8.entry.js +0 -4
- package/lib/duet/p-4cae058e.entry.js +0 -4
- package/lib/duet/p-519fef05.system.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-62ba7ee2.entry.js +0 -4
- package/lib/duet/p-63a67247.js +0 -4
- package/lib/duet/p-662c351a.system.js +0 -4
- package/lib/duet/p-78033ea5.js +0 -4
- package/lib/duet/p-79562f98.entry.js +0 -4
- package/lib/duet/p-836bee60.system.entry.js +0 -4
- package/lib/duet/p-8975b5ee.entry.js +0 -4
- package/lib/duet/p-8c1442ff.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9608ad22.system.js +0 -4
- package/lib/duet/p-9615338f.system.entry.js +0 -4
- package/lib/duet/p-a41a83dc.system.entry.js +0 -4
- package/lib/duet/p-b036d747.entry.js +0 -4
- package/lib/duet/p-b16705db.js +0 -4
- package/lib/duet/p-b5cb52b3.entry.js +0 -4
- package/lib/duet/p-d87768a3.entry.js +0 -4
- package/lib/duet/p-f38adc18.entry.js +0 -4
- package/lib/esm-es5/index-5757a151.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -3461,7 +3461,59 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
3461
3461
|
zIndexToast: zIndexToast
|
|
3462
3462
|
});
|
|
3463
3463
|
|
|
3464
|
+
const turva2ColorTokens = {
|
|
3465
|
+
"color-turva2-red-00": "#fff2f2",
|
|
3466
|
+
"color-turva2-red-50": "#ffecec",
|
|
3467
|
+
"color-turva2-red-100": "#ffe5e6",
|
|
3468
|
+
"color-turva2-red-200": "#ffc9cc",
|
|
3469
|
+
"color-turva2-red-300": "#f9a4ac",
|
|
3470
|
+
"color-turva2-red-400": "#f37785",
|
|
3471
|
+
"color-turva2-red-500": "#ec4560",
|
|
3472
|
+
"color-turva2-red-600": "#e61740",
|
|
3473
|
+
"color-turva2-red-700": "#b90329",
|
|
3474
|
+
"color-turva2-red-800": "#8c001e",
|
|
3475
|
+
"color-turva2-red-900": "#600014",
|
|
3476
|
+
"color-turva2-red-1000": "#33000a",
|
|
3477
|
+
"color-turva2-gray-00": "#f5f6f7",
|
|
3478
|
+
"color-turva2-gray-50": "#e4e9ed",
|
|
3479
|
+
"color-turva2-gray-100": "#d4dde2",
|
|
3480
|
+
"color-turva2-gray-200": "#b2c2cd",
|
|
3481
|
+
"color-turva2-gray-300": "#94a9b9",
|
|
3482
|
+
"color-turva2-gray-400": "#7891a4",
|
|
3483
|
+
"color-turva2-gray-500": "#5f7a8f",
|
|
3484
|
+
"color-turva2-gray-600": "#48647a",
|
|
3485
|
+
"color-turva2-gray-700": "#354f65",
|
|
3486
|
+
"color-turva2-gray-800": "#253c50",
|
|
3487
|
+
"color-turva2-gray-900": "#172a3b",
|
|
3488
|
+
"color-turva2-gray-1000": "#061726",
|
|
3489
|
+
"color-turva-nude-00": "#fdf7f2",
|
|
3490
|
+
"color-turva-nude-50": "#fbebe1",
|
|
3491
|
+
"color-turva-nude-100": "#fbe1d1",
|
|
3492
|
+
"color-turva-nude-200": "#f1cab2",
|
|
3493
|
+
"color-turva-nude-300": "#d8ae96",
|
|
3494
|
+
"color-turva-nude-400": "#be937c",
|
|
3495
|
+
"color-turva-nude-500": "#a57a65",
|
|
3496
|
+
"color-turva-nude-600": "#8c624f",
|
|
3497
|
+
"color-turva-nude-700": "#724c3c",
|
|
3498
|
+
"color-turva-nude-800": "#59382b",
|
|
3499
|
+
"color-turva-nude-900": "#40261c",
|
|
3500
|
+
"color-turva-nude-1000": "#26150f",
|
|
3501
|
+
};
|
|
3502
|
+
|
|
3464
3503
|
const allowedThemes = ["turva"];
|
|
3504
|
+
const MATCH_CAPITAL_CASE = /[A-Z]/g;
|
|
3505
|
+
function isTurva2() {
|
|
3506
|
+
var _a;
|
|
3507
|
+
if (typeof document === "undefined") {
|
|
3508
|
+
return false;
|
|
3509
|
+
}
|
|
3510
|
+
return !!((_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"));
|
|
3511
|
+
}
|
|
3512
|
+
function isCamelCase(str) {
|
|
3513
|
+
const camel = MATCH_CAPITAL_CASE.test(str);
|
|
3514
|
+
const barredString = !str.includes("_") && !str.includes("-") && !str.includes(" ");
|
|
3515
|
+
return camel && barredString;
|
|
3516
|
+
}
|
|
3465
3517
|
function isDashCase(str) {
|
|
3466
3518
|
const dash = str.includes("-");
|
|
3467
3519
|
const barredString = str.includes(" ") || str.includes("_");
|
|
@@ -3507,18 +3559,61 @@ function addTheme(str, theme) {
|
|
|
3507
3559
|
}
|
|
3508
3560
|
return str;
|
|
3509
3561
|
}
|
|
3562
|
+
/**
|
|
3563
|
+
* Add "-turva" to color names (or "Turva" to camelCase color names)
|
|
3564
|
+
*/
|
|
3565
|
+
function postfixTheme(name, theme) {
|
|
3566
|
+
if (!name) {
|
|
3567
|
+
return undefined;
|
|
3568
|
+
}
|
|
3569
|
+
if (["", "default"].includes(theme)) {
|
|
3570
|
+
return name;
|
|
3571
|
+
}
|
|
3572
|
+
if ((isDashCase(name) && name.endsWith(`-${theme}`)) || (isCamelCase(name) && name.endsWith(capitalize(theme)))) {
|
|
3573
|
+
return name;
|
|
3574
|
+
}
|
|
3575
|
+
if (tokens$2[`color${camelize(name)}${capitalizeFirstLetter(theme)}`]) {
|
|
3576
|
+
return !isCamelCase(name) ? `${name}-${theme}` : `${name}${capitalize(theme)}`;
|
|
3577
|
+
}
|
|
3578
|
+
return name;
|
|
3579
|
+
}
|
|
3510
3580
|
function getColorByName(name, theme = "") {
|
|
3511
3581
|
if (!name) {
|
|
3512
3582
|
return undefined;
|
|
3513
3583
|
}
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3584
|
+
if ((theme === "turva" || name.endsWith("-turva")) && isTurva2()) {
|
|
3585
|
+
switch (name.replace(/-turva$/, "")) {
|
|
3586
|
+
case "primary-lightest":
|
|
3587
|
+
return turva2ColorTokens["color-turva2-nude-00"];
|
|
3588
|
+
case "primary-lighter":
|
|
3589
|
+
return turva2ColorTokens["color-turva2-nude-50"];
|
|
3590
|
+
case "primary-light":
|
|
3591
|
+
return turva2ColorTokens["color-turva2-nude-200"];
|
|
3592
|
+
case "primary":
|
|
3593
|
+
return turva2ColorTokens["color-turva2-red-600"];
|
|
3594
|
+
case "primary-darker":
|
|
3595
|
+
return turva2ColorTokens["color-turva2-red-700"];
|
|
3596
|
+
case "primary-dark":
|
|
3597
|
+
return turva2ColorTokens["color-turva2-red-800"];
|
|
3598
|
+
case "secondary":
|
|
3599
|
+
return turva2ColorTokens["color-turva2-gray-900"];
|
|
3600
|
+
case "gray-lighter":
|
|
3601
|
+
return turva2ColorTokens["color-turva2-gray-00"];
|
|
3602
|
+
case "gray-light":
|
|
3603
|
+
return turva2ColorTokens["color-turva2-gray-100"];
|
|
3604
|
+
case "gray":
|
|
3605
|
+
return turva2ColorTokens["color-turva2-gray-200"];
|
|
3606
|
+
case "gray-dark":
|
|
3607
|
+
return turva2ColorTokens["color-turva2-gray-400"];
|
|
3608
|
+
case "gray-darker":
|
|
3609
|
+
return turva2ColorTokens["color-turva2-gray-500"];
|
|
3610
|
+
// carry on to old turva colors
|
|
3611
|
+
}
|
|
3520
3612
|
}
|
|
3521
|
-
|
|
3613
|
+
const defaultColor = convertToColorName(name);
|
|
3614
|
+
const themedColor = theme && convertToColorName(name, theme);
|
|
3615
|
+
// return themed color if it exists
|
|
3616
|
+
return tokens$2[themedColor] || tokens$2[defaultColor];
|
|
3522
3617
|
}
|
|
3523
3618
|
function convertToColorName(name = "", theme = "") {
|
|
3524
3619
|
let colorResolution = name;
|
|
@@ -4035,12 +4130,12 @@ class DuetBadge {
|
|
|
4035
4130
|
*/
|
|
4036
4131
|
render() {
|
|
4037
4132
|
const backgroundClass = `background-${this.background}`;
|
|
4038
|
-
return (hAsync(Host, { key: '
|
|
4133
|
+
return (hAsync(Host, { key: 'a6a6149fb649ab7a3f85dde88813af96ab0a97d7', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '10305d8c36004b0dc3d30c52fc5fdf307059a3b8', class: {
|
|
4039
4134
|
"duet-badge": true,
|
|
4040
4135
|
[this.variation]: true,
|
|
4041
4136
|
[backgroundClass]: true,
|
|
4042
4137
|
"duet-theme-turva": this.theme === "turva",
|
|
4043
|
-
} }, hAsync("slot", { key: '
|
|
4138
|
+
} }, hAsync("slot", { key: 'dbd1e4a65e339a023d71e0e863b2b99e478091b3' }))));
|
|
4044
4139
|
}
|
|
4045
4140
|
get element() { return getElement(this); }
|
|
4046
4141
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4066,7 +4161,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
4066
4161
|
hAsync("img", Object.assign({}, img))));
|
|
4067
4162
|
};
|
|
4068
4163
|
|
|
4069
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
4164
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
4070
4165
|
var DuetBannerStyle0 = duetBannerCss;
|
|
4071
4166
|
|
|
4072
4167
|
/**
|
|
@@ -4154,14 +4249,14 @@ class DuetBanner {
|
|
|
4154
4249
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
4155
4250
|
sources: parsePossibleJSON(this.sources),
|
|
4156
4251
|
};
|
|
4157
|
-
return (hAsync(Host, { key: '
|
|
4252
|
+
return (hAsync(Host, { key: '12cea619c3a29693b7bbb7189962468eee715f68', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'b4e70162ea52e299c8cc3481961e1354f7a348d0', class: {
|
|
4158
4253
|
"duet-banner": true,
|
|
4159
4254
|
"duet-theme-turva": this.theme === "turva",
|
|
4160
4255
|
[this.currentSize]: true,
|
|
4161
4256
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
4162
4257
|
"size-large": this.size === "large",
|
|
4163
4258
|
"no-image": !this.image,
|
|
4164
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
4259
|
+
}, style: bannerStyles }, hAsync("div", { key: '77b6658e115f6c6ad322e4d81607a842de28ad7f', class: "visual" }, hAsync("div", { key: '1140037769c9615f7fc233d5ef7db5e93e5b1434', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: '63b777ee272d5fe8c7df6f6a8bff7b84a44c9dff' }, pictureSource))), 1 > 2 , hAsync("div", { key: '5af78573b362552f7bdc061be9bed68373255aae', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '99f371a78ff9d7e85cff37c9c5eb2d49f51e7aaa', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: '8684e9cbd15cd42e8bce73271543ce7fc91b63fc', class: "heading" }, hAsync("duet-heading", { key: '2d3348662100fc98f088ac9dee4a5a38681ce9d7', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '692332080a527df5d5ed15773ef34efbda983f15' }, hAsync("slot", { key: '8a0a0e72edfcf4c55f66b8565fe90b948e86c4bc', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'daba4eb6a51dc590ea3591132b8cddebb5cf9756', class: "description", style: { color } }, hAsync("slot", { key: '5d8e3bc1324a170bf266b89e8815896c470a512a', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: 'c9d0e0f700ef91081cad82c8edb5db69ee38ef56', class: "action" }, hAsync("slot", { key: 'e72dfb579efb7ad822de3f59d3d828fffd3ef015', name: "action" })))))));
|
|
4165
4260
|
}
|
|
4166
4261
|
get element() { return getElement(this); }
|
|
4167
4262
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -4230,14 +4325,14 @@ class DuetBreadcrumb {
|
|
|
4230
4325
|
*/
|
|
4231
4326
|
render() {
|
|
4232
4327
|
var _a;
|
|
4233
|
-
return (hAsync(Host, { key: '
|
|
4328
|
+
return (hAsync(Host, { key: 'c2bbd3a09d833237865fbbea918ce71e6e945708', role: "listitem" }, hAsync("div", { key: '1ef1271eba23e853ecd07dca639a1dc249a9047a', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '953679a489bc876ab43d44486de61cbb9f5237aa', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '305807ceab521e988a065fc7f0dfeba105afd65f', class: {
|
|
4234
4329
|
"duet-breadcrumb": true,
|
|
4235
4330
|
"duet-theme-turva": this.theme === "turva",
|
|
4236
4331
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4237
4332
|
this.icon && [
|
|
4238
|
-
hAsync("duet-icon", { key: '
|
|
4239
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4240
|
-
], hAsync("slot", { key: '
|
|
4333
|
+
hAsync("duet-icon", { key: '469e852366ff1d5dc79ef285eb53cff133a4b86a', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4334
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'eff56162ec750f1b4b1053eefd39a3096e6535a1', size: "x-small", direction: "horizontal" }),
|
|
4335
|
+
], hAsync("slot", { key: '08865bb50c3bfc475427e56afb06baa5796b9e43' })))));
|
|
4241
4336
|
}
|
|
4242
4337
|
get element() { return getElement(this); }
|
|
4243
4338
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4298,11 +4393,11 @@ class DuetBreadcrumbs {
|
|
|
4298
4393
|
*/
|
|
4299
4394
|
render() {
|
|
4300
4395
|
const color = getColorByName(this.color);
|
|
4301
|
-
return (hAsync(Host, { key: '
|
|
4396
|
+
return (hAsync(Host, { key: 'de5bf9664c5f5ab572fce45bc993713510474cb0' }, hAsync("nav", { key: 'ffd74db147e85616f7e10428bfe537179b168e58', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4302
4397
|
"duet-breadcrumbs": true,
|
|
4303
4398
|
"duet-theme-turva": this.theme === "turva",
|
|
4304
4399
|
[this.variation]: true,
|
|
4305
|
-
} }, hAsync("div", { key: '
|
|
4400
|
+
} }, hAsync("div", { key: '06d6391d9154c82c9ba8e8c3c4c098f40ea862bc', class: "container" }, hAsync("div", { key: '6e14f970ac38086d9874b6a5fb68c43036891658', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '8d97e7c891b2b78f0efff2e4993ef71a831e062d' })), hAsync("div", { key: '915ea715ad6bbdf67320744cd8e2df75af1a082f', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '8d416d6fca5363df5bd6d1d82b1aad4274588cd8', class: "bottom-border bottom-border--nav" }))));
|
|
4306
4401
|
}
|
|
4307
4402
|
get element() { return getElement(this); }
|
|
4308
4403
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4347,7 +4442,7 @@ const DuetStringsListStepOfTotal = {
|
|
|
4347
4442
|
sv: "Lista med {total} steg. Du är på steg {current}.",
|
|
4348
4443
|
};
|
|
4349
4444
|
|
|
4350
|
-
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgba(255, 255, 255, 0.8) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]{border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}";
|
|
4445
|
+
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}";
|
|
4351
4446
|
var DuetButtonStyle0 = duetButtonCss;
|
|
4352
4447
|
|
|
4353
4448
|
class DuetButton {
|
|
@@ -4520,12 +4615,12 @@ class DuetButton {
|
|
|
4520
4615
|
// enforce consistency for external links
|
|
4521
4616
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4522
4617
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4523
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4618
|
+
const commonChildren = (hAsync("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (hAsync("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
|
|
4524
4619
|
"duet-button-icon": true,
|
|
4525
4620
|
left: !iconRight,
|
|
4526
4621
|
right: iconRight,
|
|
4527
4622
|
[this.getButtonIconSize()]: true,
|
|
4528
|
-
} }, hAsync("duet-icon", { key: '
|
|
4623
|
+
} }, hAsync("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, hAsync("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
|
|
4529
4624
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4530
4625
|
const commonProps = {
|
|
4531
4626
|
onFocus: this.onFocus,
|
|
@@ -4560,7 +4655,7 @@ class DuetButton {
|
|
|
4560
4655
|
"aria-details": this.accessibleDetails,
|
|
4561
4656
|
"aria-description": this.accessibleDescription,
|
|
4562
4657
|
};
|
|
4563
|
-
return (hAsync(Host, { key: '
|
|
4658
|
+
return (hAsync(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
|
|
4564
4659
|
"duet-m-0": this.margin === "none",
|
|
4565
4660
|
"duet-small": this.size === "small",
|
|
4566
4661
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4568,13 +4663,13 @@ class DuetButton {
|
|
|
4568
4663
|
"duet-expand": this.expand,
|
|
4569
4664
|
[this.variation]: true,
|
|
4570
4665
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4571
|
-
} }, hAsync("span", { key: '
|
|
4666
|
+
} }, hAsync("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
|
|
4572
4667
|
"duet-button-container": true,
|
|
4573
4668
|
"duet-button-is-loading": this.loading,
|
|
4574
4669
|
"duet-theme-turva": this.theme === "turva",
|
|
4575
4670
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4576
4671
|
[this.variation]: true,
|
|
4577
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("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 && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
4672
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("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 && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), hAsync("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
|
|
4578
4673
|
}
|
|
4579
4674
|
get element() { return getElement(this); }
|
|
4580
4675
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4661,11 +4756,11 @@ class DuetCallout {
|
|
|
4661
4756
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
4662
4757
|
</svg>
|
|
4663
4758
|
`;
|
|
4664
|
-
return (hAsync(Host, { key: '
|
|
4759
|
+
return (hAsync(Host, { key: '85f99d167ac281ddceb8a8a69da07d854be973f7' }, hAsync("div", { key: '14ccbc1c5d5f56368fefdcfa8ac2b48f46c3e0b7', class: {
|
|
4665
4760
|
"duet-callout": true,
|
|
4666
4761
|
"duet-theme-turva": this.theme === "turva",
|
|
4667
4762
|
"duet-m-0": this.margin === "none",
|
|
4668
|
-
} }, hAsync("figure", { key: '
|
|
4763
|
+
} }, hAsync("figure", { key: 'fe2a9c932a02907cda19e0f258e36a1c5a83a1bc', class: "container" }, hAsync("duet-icon", { key: 'f9ddcf0c22344b4490cd3433e4d85e644a8b4e63', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '11b22131f070c316b6cadd833f0fb5d12bf0ed4a' }, hAsync("slot", { key: '6448a4a8b760c12a583b4454c183f32c26a8e4cf' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '3d98ce3b4e9a1d81ba99d1c8cbb38eacc91bb2d0', class: "author" }, hAsync("span", { key: '9a8f0ab6cbeba79793fbc1926924e4d4acc3cf5b' }, "\u2014 "), hAsync("slot", { key: '928a1113e8f44b3f6439a9ce1ec5f96771b95270', name: "author" })))))));
|
|
4669
4764
|
}
|
|
4670
4765
|
get element() { return getElement(this); }
|
|
4671
4766
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -5028,11 +5123,11 @@ class DuetCheckmark {
|
|
|
5028
5123
|
inheritGlobalTheme(this);
|
|
5029
5124
|
}
|
|
5030
5125
|
render() {
|
|
5031
|
-
return (hAsync(Host, { key: '
|
|
5126
|
+
return (hAsync(Host, { key: '8f8df4562a1d37c1e3ced47dace2f8ca487a9f73', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'b803f9fe255ac6166546a8a0398b4958d46cd0df', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'a284f559c645796efaa1fd9e74a7d1544154b26f', class: {
|
|
5032
5127
|
"duet-checkmark-container": true,
|
|
5033
5128
|
center: this.center,
|
|
5034
5129
|
"duet-checkmark-radio": this.type === "radio",
|
|
5035
|
-
} }, this.checked && hAsync("div", { key: '
|
|
5130
|
+
} }, this.checked && hAsync("div", { key: 'e17c92da194bbedbd6f4159efabad9321c52fa49', class: "duet-checkmark" })))));
|
|
5036
5131
|
}
|
|
5037
5132
|
static get style() { return DuetCheckmarkStyle0; }
|
|
5038
5133
|
static get cmpMeta() { return {
|
|
@@ -7370,10 +7465,10 @@ class DuetContactCard {
|
|
|
7370
7465
|
render() {
|
|
7371
7466
|
const isTurva = this.theme === "turva";
|
|
7372
7467
|
const theme = isTurva ? "turva" : "default";
|
|
7373
|
-
return (hAsync(Host, { key: '
|
|
7468
|
+
return (hAsync(Host, { key: 'cc92ac8c254dd4d8059e41dc84a0885936486939', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '95dcbf611c7ffa2e00d4e3413b4e5d4ef76007d4', class: {
|
|
7374
7469
|
"duet-contact-card": true,
|
|
7375
7470
|
"duet-theme-turva": this.theme === "turva",
|
|
7376
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7471
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'cb2b61b56ea9cbfd80aec1c7c280cc35b7704306' }, this.name && (hAsync("duet-heading", { key: 'd7ce3e63272101a9f8a4cd7d3f259a4ffdbe746d', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'aea14ddd85a3568d5b77a49e56df6ac76540a3a9', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '323330c4a1a8c188827cd7eeaf9e215706b23b62', class: "email" }, hAsync("duet-icon", { key: '33ae4ab4b3b810d5f48494adad568458f627b07a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '84ce51f0721ede904044fee80b8cbf86e66b1ec8', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '7c63f2689781c66d80d32415cf200bd968fe347c', class: "phone" }, hAsync("duet-icon", { key: '6a56352c7a808bedf087a8b60edd2579dbddef4b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'b2b78cbff49648d799b020ee52ce54f412285b13', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '9a24e774e65e1f9cdd587f8ccfd8a3bf6ac57e10', class: "call-to-action" }, hAsync("duet-button", { key: '7c7e4b45dc28293a9f44a71d07ad4c6a6882364a', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '85e9b10271e93b14e8e5a2821d72e7ee5ff4f194' }), hAsync("slot", { key: 'ba84e396a9e346ff2f9cbc7c9dd66d4eefdbe2d7' }))));
|
|
7377
7472
|
}
|
|
7378
7473
|
get element() { return getElement(this); }
|
|
7379
7474
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -8414,20 +8509,20 @@ class DuetFieldset {
|
|
|
8414
8509
|
* Always the last one in the class.
|
|
8415
8510
|
*/
|
|
8416
8511
|
render() {
|
|
8417
|
-
return (hAsync(Host, { key: '
|
|
8512
|
+
return (hAsync(Host, { key: 'faf60f2966a89f4867cf37db394585f73fff686e', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'f020b6ec6801a8b83c9a5bc93a43d7a35d7506ce', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8418
8513
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8419
8514
|
// once they do, we can remove errors from the aria-describedby
|
|
8420
8515
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8421
8516
|
class: {
|
|
8422
8517
|
"duet-fieldset": true,
|
|
8423
8518
|
"duet-theme-turva": this.theme === "turva",
|
|
8424
|
-
} }, hAsync("legend", { key: '
|
|
8519
|
+
} }, hAsync("legend", { key: '66b5ccbde158c98f27fbc6a46a4e6a6df23ff898', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '45be33f32735066278ab2b9f3b809014d0f9676b' }, this.label), this.caption && hAsync("span", { key: 'e544fb508d9001319a7f3a4f3b4b5ec8166f8025' }, this.caption)), hAsync("div", { key: 'f0ad41b915201af1a2f9d95e9f9829d0bfdae2e6', class: {
|
|
8425
8520
|
"duet-legend-wrapper": true,
|
|
8426
8521
|
"duet-legend-has-caption": !!this.caption,
|
|
8427
8522
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8428
8523
|
"duet-legend-hidden": this.labelHidden,
|
|
8429
8524
|
"duet-legend-compact": this.compactLabel,
|
|
8430
|
-
} }, hAsync("div", { key: '
|
|
8525
|
+
} }, hAsync("div", { key: '5a632f1718ae040c523fec5d67abe8b7150c62a6', class: "duet-fieldset-label" }, hAsync("span", { key: '96af5bd097ce6c732cabfeeed24ad70acbc0242f', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'a9d4abbfbc6586fc072f15d0ada1e0678581eea3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '09060f463be57b59b6a313dbf51961197a567f40', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'd5f8281d4970d4e26290d3163188afea4b286694', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '3e8180e636e2ec3000f4d21dd9ee50dc12f396f6' }), hAsync("span", { key: 'fc0dc472b4ef27d06a1272f621c936f14ffa1de4', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '8586a6c9b1a32ed3e780a0d7233664bce741c3b6', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
8431
8526
|
}
|
|
8432
8527
|
get element() { return getElement(this); }
|
|
8433
8528
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -9517,7 +9612,7 @@ class DuetHeader {
|
|
|
9517
9612
|
"duet-theme-turva": this.theme === "turva",
|
|
9518
9613
|
"duet-header-back": true,
|
|
9519
9614
|
"duet-header-inactive": true,
|
|
9520
|
-
}, part: "header" }, hAsync("div", { class: "duet-header-top" }, skipToLabel(), hAsync("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color:
|
|
9615
|
+
}, part: "header" }, hAsync("div", { class: "duet-header-top" }, skipToLabel(), hAsync("duet-button", { url: this.processedBack.href, id: this.processedBack.id, theme: this.theme, variation: "plain", color: postfixTheme("secondary", this.theme), icon: "navigation-arrow-left", iconSize: "large", onClick: this.handleBackClick }, this.processedBack.label), logo(), hAsync("slot", { name: "logo-utility" }))))));
|
|
9521
9616
|
}
|
|
9522
9617
|
const itemsHaveSubItems = this.processedItems && this.processedItems.some(item => item.items && item.items.length > 0);
|
|
9523
9618
|
const isSecondLevelActive = this.processedItems &&
|
|
@@ -10063,11 +10158,11 @@ class DuetIcon {
|
|
|
10063
10158
|
: {};
|
|
10064
10159
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10065
10160
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10066
|
-
return (hAsync(Host, { key: '
|
|
10161
|
+
return (hAsync(Host, { key: 'cbb8e9ecd29edef7aada30fcbfde72cf18a5a15c', class: {
|
|
10067
10162
|
"duet-m-0": this.margin === "none",
|
|
10068
10163
|
"duet-icon-has-outline": !!this.outline,
|
|
10069
10164
|
"duet-icon-has-background": !!this.background,
|
|
10070
|
-
} }, hAsync("span", { key: '
|
|
10165
|
+
} }, hAsync("span", { key: '49a62f09762e014cabe70185e4dd3d351a278d4e', "aria-hidden": "true", style: styles, class: {
|
|
10071
10166
|
"duet-icon": true,
|
|
10072
10167
|
"duet-theme-turva": this.theme === "turva",
|
|
10073
10168
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10076,7 +10171,7 @@ class DuetIcon {
|
|
|
10076
10171
|
[shapeStyle]: true,
|
|
10077
10172
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10078
10173
|
"duet-icon-not-responsive": !this.responsive,
|
|
10079
|
-
} }, hAsync("span", { key: '
|
|
10174
|
+
} }, hAsync("span", { key: 'c4d3ca6e54186214e4e7f85537357fa8abc2e778', "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 }))));
|
|
10080
10175
|
}
|
|
10081
10176
|
get element() { return getElement(this); }
|
|
10082
10177
|
static get watchers() { return {
|
|
@@ -10901,12 +10996,13 @@ class DuetLink {
|
|
|
10901
10996
|
* Always the last one in the class.
|
|
10902
10997
|
*/
|
|
10903
10998
|
render() {
|
|
10904
|
-
const Tag = !this.url ? "button" : "a";
|
|
10999
|
+
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
11000
|
+
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
10905
11001
|
const isButton = Tag === "button";
|
|
10906
|
-
return (hAsync(Host, { key: '
|
|
11002
|
+
return (hAsync(Host, { key: 'd248d82ba7bfbff36991e0556e609b323b6014c6', class: {
|
|
10907
11003
|
[`duet-link-${this.variation}`]: true,
|
|
10908
11004
|
"duet-m-0": this.margin === "none",
|
|
10909
|
-
} }, hAsync(Tag, { key: '
|
|
11005
|
+
} }, hAsync(Tag, { key: '2ae7983d8583c570630c527645ff52c3ddeba010', href: this.url, class: {
|
|
10910
11006
|
"duet-link": true,
|
|
10911
11007
|
"duet-link-is-external": this.external,
|
|
10912
11008
|
"duet-link-is-download": !!this.download,
|
|
@@ -10917,7 +11013,7 @@ class DuetLink {
|
|
|
10917
11013
|
"duet-p-0": this.padding === "none",
|
|
10918
11014
|
[this.padding]: true,
|
|
10919
11015
|
[this.variation]: true,
|
|
10920
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
11016
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
|
|
10921
11017
|
}
|
|
10922
11018
|
static get delegatesFocus() { return true; }
|
|
10923
11019
|
get element() { return getElement(this); }
|
|
@@ -11122,7 +11218,7 @@ class DuetListItem {
|
|
|
11122
11218
|
* Always the last one in the class.
|
|
11123
11219
|
*/
|
|
11124
11220
|
render() {
|
|
11125
|
-
return (hAsync(Host, { key: '
|
|
11221
|
+
return (hAsync(Host, { key: '734a0dd51a59bbd182a84e31cec8c847bd9b370c', class: {
|
|
11126
11222
|
"duet-theme-turva": this.theme === "turva",
|
|
11127
11223
|
"duet-no-stacking": !this.responsive,
|
|
11128
11224
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -11130,7 +11226,7 @@ class DuetListItem {
|
|
|
11130
11226
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11131
11227
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11132
11228
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11133
|
-
} }, hAsync("dt", { key: '
|
|
11229
|
+
} }, hAsync("dt", { key: '59e34a2877b7e9c431591276bb3f374e7af6b466' }, hAsync("slot", { key: 'fd6b41b97d6e20e053e3f0f4bfec3f4263819aae', name: "label" })), hAsync("dd", { key: '97aed5f53aa1668d3bae6f2e979e6ed4d99c2026' }, hAsync("slot", { key: 'b89a250df02b8731d5f736da444873b8a257a39a', name: "value" }))));
|
|
11134
11230
|
}
|
|
11135
11231
|
get element() { return getElement(this); }
|
|
11136
11232
|
static get style() { return DuetListItemStyle0; }
|
|
@@ -11478,10 +11574,10 @@ class DuetMenuBarButton {
|
|
|
11478
11574
|
* Always the last one in the class.
|
|
11479
11575
|
*/
|
|
11480
11576
|
render() {
|
|
11481
|
-
return (hAsync(Host, { key: '
|
|
11577
|
+
return (hAsync(Host, { key: 'b43562922266653eeb9879dd3eda29b8a5a1b04c', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '29c67b30de26740dec3dac49d2c14a2ed6059270', ref: button => (this.nativeButton = button), class: {
|
|
11482
11578
|
"duet-menu-bar-button": true,
|
|
11483
11579
|
"duet-theme-turva": this.theme === "turva",
|
|
11484
|
-
}, "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 && (hAsync("duet-icon", { key: '
|
|
11580
|
+
}, "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 && (hAsync("duet-icon", { key: '9e4a9f1891791aa2bce3c66e7a6b0fce95e247f4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '11d9a8886ba0e00caea9ac34e68454ada2e2582d' }))));
|
|
11485
11581
|
}
|
|
11486
11582
|
get element() { return getElement(this); }
|
|
11487
11583
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11564,17 +11660,17 @@ class DuetMenuBarDropdown {
|
|
|
11564
11660
|
* Always the last one in the class.
|
|
11565
11661
|
*/
|
|
11566
11662
|
render() {
|
|
11567
|
-
return (hAsync(Host, { key: '
|
|
11663
|
+
return (hAsync(Host, { key: '686fce2ec763461a60c924fc09846f5a54138106', role: "listitem" }, hAsync("div", { key: 'eefdc59f23daad325ab0dce1113fb862ad4ee5cf', class: {
|
|
11568
11664
|
"duet-menu-bar-dropdown": true,
|
|
11569
11665
|
"duet-theme-turva": this.theme === "turva",
|
|
11570
11666
|
active: this.open,
|
|
11571
11667
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11572
|
-
} }, hAsync("button", { key: '
|
|
11668
|
+
} }, hAsync("button", { key: 'baee9aee708d71ee63326c30a8f871a73eb2297e', 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: {
|
|
11573
11669
|
active: this.open,
|
|
11574
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11670
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'cace1bca4eb588cdbd321b82059fefc9adbc8c47', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '58257618f35379178d9c22a95ed14501fba88154', class: "label" }, hAsync("slot", { key: '57eb7d37a9d7c02e1d29b97e9140f2bab43a767a', name: "label" }), hAsync("duet-icon", { key: 'f11313315fb6e2aad23163bcb58c5c06f0a1e2af', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '9d6bc3e367dca79313d11178ee788a3407d03ec7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11575
11671
|
items: true,
|
|
11576
11672
|
hidden: !this.open,
|
|
11577
|
-
} }, hAsync("slot", { key: '
|
|
11673
|
+
} }, hAsync("slot", { key: '9ff49f8c44510abf631a06bcb4b690058a3840ed' })))));
|
|
11578
11674
|
}
|
|
11579
11675
|
get element() { return getElement(this); }
|
|
11580
11676
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11634,11 +11730,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11634
11730
|
* Always the last one in the class.
|
|
11635
11731
|
*/
|
|
11636
11732
|
render() {
|
|
11637
|
-
return (hAsync(Host, { key: '
|
|
11733
|
+
return (hAsync(Host, { key: 'f77b08c5717947e146d8d67fdc55fefc66fce761' }, hAsync("a", { key: 'b9a4069fc0b35e532944250e4d715984973ba085', class: {
|
|
11638
11734
|
"duet-menu-bar-dropdown-link": true,
|
|
11639
11735
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11640
11736
|
"duet-theme-turva": this.theme === "turva",
|
|
11641
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11737
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'fa9e331e3d9d8cc74c4fd5f7471e607e058fcf53', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '64c5c1d666ded1b933657386f8eec8fb4068fe84' }))));
|
|
11642
11738
|
}
|
|
11643
11739
|
get element() { return getElement(this); }
|
|
11644
11740
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11702,11 +11798,11 @@ class DuetMenuBarItem {
|
|
|
11702
11798
|
*/
|
|
11703
11799
|
render() {
|
|
11704
11800
|
const TagName = this.url ? "a" : "button";
|
|
11705
|
-
return (hAsync(Host, { key: '
|
|
11801
|
+
return (hAsync(Host, { key: '135b92b36c52ad014567c93c0bfacff2001f16ef', role: "listitem" }, hAsync(TagName, { key: 'd8772442ee0a49f7c300c398ef4021acf0fb74f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11706
11802
|
"duet-menu-bar-item": true,
|
|
11707
11803
|
"duet-theme-turva": this.theme === "turva",
|
|
11708
11804
|
active: this.active,
|
|
11709
|
-
}, 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 && (hAsync("duet-icon", { key: '
|
|
11805
|
+
}, 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 && (hAsync("duet-icon", { key: '31ac80c4f12447cadcd0def7a2941a98d063a1cc', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '1f9e4b935f68d57288190e3572dabe90c2c49efb' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '24c559a7d56a2adce2fc4aa7d00c2eb5682c2c8e', class: {
|
|
11710
11806
|
"trailing-icon": !!this.trailingIcon,
|
|
11711
11807
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11712
11808
|
"external-icon": !!this.external,
|
|
@@ -11761,11 +11857,11 @@ class DuetMenuBarLink {
|
|
|
11761
11857
|
* Always the last one in the class.
|
|
11762
11858
|
*/
|
|
11763
11859
|
render() {
|
|
11764
|
-
return (hAsync(Host, { key: '
|
|
11860
|
+
return (hAsync(Host, { key: '27e73349cd24930dd1d7ddee302de2260471c5a8', role: "listitem" }, hAsync("a", { key: '524e83c821e67703be8ec2cdb09e937d04202ff2', class: {
|
|
11765
11861
|
"duet-menu-bar-link": true,
|
|
11766
11862
|
"duet-theme-turva": this.theme === "turva",
|
|
11767
11863
|
active: this.active,
|
|
11768
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11864
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'e85b83e58a78898ca57f6db72178915e4cad29f5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '11758cbe02d818cb5f5f7af2a8832d1712c99fa5' }))));
|
|
11769
11865
|
}
|
|
11770
11866
|
get element() { return getElement(this); }
|
|
11771
11867
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11847,6 +11943,8 @@ class DuetModal {
|
|
|
11847
11943
|
this.color = "";
|
|
11848
11944
|
this.active = false;
|
|
11849
11945
|
this.closeOnBlur = false;
|
|
11946
|
+
this.focusElementOnClose = undefined;
|
|
11947
|
+
this.accessibleAnnounceChanges = undefined;
|
|
11850
11948
|
}
|
|
11851
11949
|
openChanged() {
|
|
11852
11950
|
if (this.open) {
|
|
@@ -11893,9 +11991,18 @@ class DuetModal {
|
|
|
11893
11991
|
enableBodyScroll$1(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
11894
11992
|
this.duetClose.emit();
|
|
11895
11993
|
this.teleport.removeInertFromSiblings();
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11994
|
+
if (this.focusElementOnClose !== "") {
|
|
11995
|
+
setTimeout(() => {
|
|
11996
|
+
let focusEl = this.focusedElBeforeOpen;
|
|
11997
|
+
if (typeof this.focusElementOnClose === "string") {
|
|
11998
|
+
focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
|
|
11999
|
+
}
|
|
12000
|
+
else {
|
|
12001
|
+
focusEl = this.focusElementOnClose || focusEl;
|
|
12002
|
+
}
|
|
12003
|
+
focusElement(focusEl);
|
|
12004
|
+
}, TRANSITION_MS);
|
|
12005
|
+
}
|
|
11899
12006
|
if (this.isAndroidDevice) {
|
|
11900
12007
|
window.removeEventListener("resize", this.handleAndroidResizeEvents);
|
|
11901
12008
|
}
|
|
@@ -11953,6 +12060,12 @@ class DuetModal {
|
|
|
11953
12060
|
async hide() {
|
|
11954
12061
|
this.open = false;
|
|
11955
12062
|
}
|
|
12063
|
+
/**
|
|
12064
|
+
* Set focus on the close button of the modal.
|
|
12065
|
+
*/
|
|
12066
|
+
async focusCloseButton() {
|
|
12067
|
+
this.buttonEl.setFocus();
|
|
12068
|
+
}
|
|
11956
12069
|
/**
|
|
11957
12070
|
* Scolls the top of the modal's content into view
|
|
11958
12071
|
*
|
|
@@ -12014,20 +12127,16 @@ class DuetModal {
|
|
|
12014
12127
|
*/
|
|
12015
12128
|
render() {
|
|
12016
12129
|
var _a, _b;
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
const closingButton = (hAsync("div", { key: '
|
|
12020
|
-
|
|
12021
|
-
iconColor = "primary-turva";
|
|
12022
|
-
closeColor = "secondary-turva";
|
|
12023
|
-
}
|
|
12024
|
-
return (hAsync("div", { key: 'b56533d39c5b27cb1dc9ed8080755b3b51ce23e5', 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: {
|
|
12130
|
+
const iconColor = postfixTheme("primary", this.theme);
|
|
12131
|
+
const closeColor = postfixTheme("secondary", this.theme);
|
|
12132
|
+
const closingButton = (hAsync("div", { key: '9de636719074c96f49913c1a19b33329ae39a3a0', class: "duet-modal-close" }, hAsync("duet-button", { key: '1852a8322aaeb49c937cfd4b4d80d61073f12f96', 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 })));
|
|
12133
|
+
return (hAsync("div", { key: '4c602c318db94b02ca730640b8c0c6fc7eb96453', 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: {
|
|
12025
12134
|
"duet-modal-container": true,
|
|
12026
12135
|
"duet-theme-turva": this.theme === "turva",
|
|
12027
12136
|
"duet-modal-active": this.open,
|
|
12028
12137
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
12029
12138
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12030
|
-
} }, hAsync("duet-overlay", { key: '
|
|
12139
|
+
} }, hAsync("duet-overlay", { key: 'c70e730388bdfa452ab51fb810304ba004022885', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'ceae3fcf909fdfa380eaddc2f8c9ac2637fc8810', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
12031
12140
|
"duet-modal-inner": true,
|
|
12032
12141
|
[this.size]: true,
|
|
12033
12142
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -12038,18 +12147,22 @@ class DuetModal {
|
|
|
12038
12147
|
this.closeModal(e);
|
|
12039
12148
|
}
|
|
12040
12149
|
}
|
|
12041
|
-
} }, hAsync("div", { key: '
|
|
12150
|
+
} }, hAsync("div", { key: 'c0559f2b2d236a3e0fd339cd65900d400547fb70', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
12042
12151
|
"duet-modal": true,
|
|
12043
12152
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12044
12153
|
[this.size]: true,
|
|
12045
12154
|
[this.variation]: true,
|
|
12046
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
12155
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '81664165163cd30e192906cb50bb71a4906256ba' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '92c81c3e5545b4a08b93b3174a888cc42837f2ac', class: {
|
|
12047
12156
|
"duet-modal-body": true,
|
|
12048
12157
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
12049
12158
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
12050
12159
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
12051
12160
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
12052
|
-
} }, hAsync("div", { key: '
|
|
12161
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, hAsync("div", { key: '72936aa2c2d2551e34b2c2d7344f666d49c3d0f4', class: "duet-modal-header" }, hAsync("span", { key: '30ac91712c2d7065901679fcf1cd5cb0191cbb11', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'c7e4bd42dfac73ebdfcf98f9d16438c14945d30b', name: "top" })), this.icon && hAsync("duet-icon", { key: '3664c556ad580c917e80e796df4236f89134ab9d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'd77b16d2577ce36f4e135790a7f49d8a2b17096c', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: 'ed0fa900e15be0fef3166e61f2f7c860dab067f0', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '1d15d8e837273755c1c6242098e198f51c1cda90', size: "large", color: postfixTheme("primary", this.theme) }))), hAsync("div", { key: '4d06b9164f277a7cc586a6b754429764cccb1f2e', "aria-live": this.variation === "loader"
|
|
12162
|
+
? "assertive"
|
|
12163
|
+
: this.accessibleAnnounceChanges === "body"
|
|
12164
|
+
? "polite"
|
|
12165
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: '520b8542f921248916d3470204ce4ee2533da5ee' })))))));
|
|
12053
12166
|
}
|
|
12054
12167
|
get element() { return getElement(this); }
|
|
12055
12168
|
static get watchers() { return {
|
|
@@ -12080,9 +12193,12 @@ class DuetModal {
|
|
|
12080
12193
|
"color": [1],
|
|
12081
12194
|
"active": [1540],
|
|
12082
12195
|
"closeOnBlur": [1028, "close-on-blur"],
|
|
12196
|
+
"focusElementOnClose": [1, "focus-element-on-close"],
|
|
12197
|
+
"accessibleAnnounceChanges": [1, "accessible-announce-changes"],
|
|
12083
12198
|
"open": [32],
|
|
12084
12199
|
"show": [64],
|
|
12085
12200
|
"hide": [64],
|
|
12201
|
+
"focusCloseButton": [64],
|
|
12086
12202
|
"scrollToTop": [64],
|
|
12087
12203
|
"addMessage": [64]
|
|
12088
12204
|
},
|
|
@@ -12399,7 +12515,7 @@ class DuetNav {
|
|
|
12399
12515
|
* Always the last one in the class.
|
|
12400
12516
|
*/
|
|
12401
12517
|
render() {
|
|
12402
|
-
return (hAsync(Host, { key: '
|
|
12518
|
+
return (hAsync(Host, { key: '1bd9e1c748e898763d70850e3e7995557aa70828' }, hAsync("div", { key: '256c0acc4e956aea59eb153bc7b3bad1126501f3', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '64f9a6096d183ce0cbd496db4dcee65d565e15b9' }), hAsync("slot", { key: 'b0f455061d1e7d8affab734c72b8479239184b0b', name: "mobile" }), hAsync("slot", { key: 'dce4933ac2f67107843c4121100f7adae7a3b72f', name: "desktop" }))));
|
|
12403
12519
|
}
|
|
12404
12520
|
get element() { return getElement(this); }
|
|
12405
12521
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12458,11 +12574,11 @@ class DuetNotification {
|
|
|
12458
12574
|
this.linkElement.focus(options);
|
|
12459
12575
|
}
|
|
12460
12576
|
render() {
|
|
12461
|
-
return (hAsync("div", { key: '
|
|
12577
|
+
return (hAsync("div", { key: '49b14512d29db67c3f5bcb27f101a51fc9036fd0', role: "listitem", class: {
|
|
12462
12578
|
"duet-notification": true,
|
|
12463
12579
|
"duet-notification-highlight": this.highlight,
|
|
12464
12580
|
"duet-theme-turva": this.theme === "turva",
|
|
12465
|
-
} }, hAsync("a", { key: '
|
|
12581
|
+
} }, hAsync("a", { key: '6f042207812b140e4527347593e928cc3493af31', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '2d479ec70393a50322b0ed54f2807c222dc13a1a', class: "duet-notification-container" }, hAsync("div", { key: 'ee94c09c0cd7087c3a9012938ff8ca45d2c3a2ad', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '12c75cc56f374dbb3219009ed71e3133c2f1f490', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '63608edd5d1768c8a2963273ecaa2cf51ddf3e20' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '6ec5105d17c74d1cf8b29e08c5488cc14cd41377', class: "duet-notification-content" }, hAsync("slot", { key: '9aa83e4b79fa59c4336ec10f0b3c2ba69e26b5ec' })), hAsync("div", { key: 'cf580f03e32ff454941cf973497fe4a97066fa5d', class: "duet-notification-date" }, this.date)))));
|
|
12466
12582
|
}
|
|
12467
12583
|
get element() { return getElement(this); }
|
|
12468
12584
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12800,7 +12916,7 @@ class DuetNumberInput {
|
|
|
12800
12916
|
// Set the localized prop value.
|
|
12801
12917
|
this.value = this.localizeValue(value);
|
|
12802
12918
|
// Finally also set the visible input value and unit.
|
|
12803
|
-
this.duetInputElement.value = `${this.value}
|
|
12919
|
+
this.duetInputElement.value = `${this.value}${this.getUnitString()}`;
|
|
12804
12920
|
};
|
|
12805
12921
|
this.add = (ev) => {
|
|
12806
12922
|
// If this was called via a html button, prevent the default functionality
|
|
@@ -12947,6 +13063,10 @@ class DuetNumberInput {
|
|
|
12947
13063
|
this.emitNull(ev);
|
|
12948
13064
|
}
|
|
12949
13065
|
}
|
|
13066
|
+
// prefix existing unit with white space or return empty string if no unit
|
|
13067
|
+
getUnitString() {
|
|
13068
|
+
return this.unit ? ` ${this.unit}` : "";
|
|
13069
|
+
}
|
|
12950
13070
|
formatAnnouncement() {
|
|
12951
13071
|
const current = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
12952
13072
|
if (current == null) {
|
|
@@ -13121,12 +13241,12 @@ class DuetPageHeading {
|
|
|
13121
13241
|
*/
|
|
13122
13242
|
render() {
|
|
13123
13243
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13124
|
-
return (hAsync("div", { key: '
|
|
13244
|
+
return (hAsync("div", { key: 'a7f8ed31eea2471a6f6daeab1a41ebbf3274974a', class: {
|
|
13125
13245
|
"duet-page-heading": true,
|
|
13126
13246
|
"duet-theme-turva": this.theme === "turva",
|
|
13127
13247
|
"has-icon": !!this.icon,
|
|
13128
13248
|
[layout]: true,
|
|
13129
|
-
} }, hAsync("div", { key: '
|
|
13249
|
+
} }, hAsync("div", { key: '29929daebf61d58c95ecb45ea75fe53303cd90c6', class: "background" }, this.theme === "turva" && hAsync("div", { key: '8e16ccbc29987d20713eefb78f1272640023cd19', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'c853c2efb26521b9421413e85e6f468d411fa016', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'd3a2d96868a56e251bace2d82ad6c9ad55294794', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '3b4627a7ed9f38878dc057717df1b3dcef713963', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'b2489267d519d737b77fd292f21fb828553f7c3b', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'bfc316227a81b1ae3b600c0fa8a5ea7242523dcc', class: "heading" }, hAsync("slot", { key: '8e0397609bafb4de4ef85422f6397ded1ec15039', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '337621f9ecdc98a53fa649fdc7e001985577ac7a' }, hAsync("duet-spacer", { key: 'e548da55d72cce0c0fa88ce29bac93184673d1e2', size: "large" }), hAsync("div", { key: '1b6d8f3e486a69add538d4a5f786944521a8906f', role: "presentation" }, this.progressIndicator()))))));
|
|
13130
13250
|
}
|
|
13131
13251
|
get element() { return getElement(this); }
|
|
13132
13252
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13549,6 +13669,59 @@ class DuetPagination {
|
|
|
13549
13669
|
}; }
|
|
13550
13670
|
}
|
|
13551
13671
|
|
|
13672
|
+
const duetPanelCss = ":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%;margin:8px 0 20px 0}@media (min-width: 36em){:host{margin:12px 0 28px 0}}:host .duet-m-0{margin:0 !important}.duet-panel{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(8, 42, 77);background-color:rgb(255, 255, 255);border:0 solid rgb(212, 223, 229);border-radius:16px}.duet-panel.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);border-color:rgb(222, 224, 228)}.duet-panel.padding-small{padding:16px;border-radius:12px}@media (min-width: 36em){.duet-panel.padding-small{padding:20px}}.duet-panel.padding-medium{padding:20px}@media (min-width: 36em){.duet-panel.padding-medium{padding:28px}}.duet-panel.padding-large{padding:28px}@media (min-width: 36em){.duet-panel.padding-large{padding:36px}}.duet-panel.border{border-width:1px}.duet-panel.secondary{background-color:rgb(245, 248, 250)}.duet-panel.secondary.duet-theme-turva{background-color:rgb(245, 247, 250)}.duet-panel.accent{background-color:rgb(240, 247, 250);border-color:rgb(198, 225, 238)}.duet-panel.accent.duet-theme-turva{background-color:rgb(245, 247, 250);border-color:rgb(199, 202, 207)}.duet-panel.accent.secondary{background-color:rgb(217, 236, 245)}.duet-panel.accent.secondary.duet-theme-turva{background-color:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva{color:#172a3b;border-color:#d4dde2}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.secondary{background-color:#f5f6f7}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent{background-color:#fdf7f2;border-color:#f1cab2}:host(.duet-theme-turva2) .duet-panel.duet-theme-turva.accent.secondary{background-color:#fbe1d1}";
|
|
13673
|
+
var DuetPanelStyle0 = duetPanelCss;
|
|
13674
|
+
|
|
13675
|
+
class DuetPanel {
|
|
13676
|
+
constructor(hostRef) {
|
|
13677
|
+
registerInstance(this, hostRef);
|
|
13678
|
+
this.theme = "";
|
|
13679
|
+
this.padding = "medium";
|
|
13680
|
+
this.variation = "";
|
|
13681
|
+
this.margin = "auto";
|
|
13682
|
+
this.border = undefined;
|
|
13683
|
+
this.accessibleLabel = undefined;
|
|
13684
|
+
this.accessibleLabelledBy = undefined;
|
|
13685
|
+
this.accessibleDescribedBy = undefined;
|
|
13686
|
+
}
|
|
13687
|
+
/**
|
|
13688
|
+
* Component lifecycle events.
|
|
13689
|
+
*/
|
|
13690
|
+
componentWillLoad() {
|
|
13691
|
+
inheritGlobalTheme(this);
|
|
13692
|
+
}
|
|
13693
|
+
render() {
|
|
13694
|
+
return (hAsync(Host, { key: '13228863e0bd8364a1624863047eecc22101529e' }, hAsync("section", { key: '0548dea2315bd39b2f55b3796ebb9f7c0d29240c', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
13695
|
+
"duet-panel": true,
|
|
13696
|
+
"duet-theme-turva": this.theme === "turva",
|
|
13697
|
+
[this.variation.split("-")[0]]: true,
|
|
13698
|
+
[this.variation.split("-")[1]]: true,
|
|
13699
|
+
[`padding-${this.padding}`]: true,
|
|
13700
|
+
border: this.border,
|
|
13701
|
+
"duet-m-0": this.margin === "none",
|
|
13702
|
+
} }, hAsync("slot", { key: 'f83407ac8d792c512b5df894f066adefa37bf3a4' }))));
|
|
13703
|
+
}
|
|
13704
|
+
get element() { return getElement(this); }
|
|
13705
|
+
static get style() { return DuetPanelStyle0; }
|
|
13706
|
+
static get cmpMeta() { return {
|
|
13707
|
+
"$flags$": 9,
|
|
13708
|
+
"$tagName$": "duet-panel",
|
|
13709
|
+
"$members$": {
|
|
13710
|
+
"theme": [1025],
|
|
13711
|
+
"padding": [1],
|
|
13712
|
+
"variation": [1],
|
|
13713
|
+
"margin": [1],
|
|
13714
|
+
"border": [4],
|
|
13715
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
13716
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
13717
|
+
"accessibleDescribedBy": [1, "accessible-described-by"]
|
|
13718
|
+
},
|
|
13719
|
+
"$listeners$": undefined,
|
|
13720
|
+
"$lazyBundleId$": "-",
|
|
13721
|
+
"$attrsToReflect$": []
|
|
13722
|
+
}; }
|
|
13723
|
+
}
|
|
13724
|
+
|
|
13552
13725
|
const duetParagraphCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva{color:#8c001e}";
|
|
13553
13726
|
var DuetParagraphStyle0 = duetParagraphCss;
|
|
13554
13727
|
|
|
@@ -13580,7 +13753,7 @@ class DuetParagraph {
|
|
|
13580
13753
|
const color = getColorByName(this.color);
|
|
13581
13754
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13582
13755
|
// are not announced when placed inside duet-modal
|
|
13583
|
-
return (hAsync(Host, { key: '
|
|
13756
|
+
return (hAsync(Host, { key: 'e0a1fc0374987c1390c1139195f8dc69bb497da2', "aria-describedby": this.id }, hAsync("p", { key: '89978d42d63df315736996c9bb4c264098d46fe3', id: this.id, class: {
|
|
13584
13757
|
"duet-paragraph": true,
|
|
13585
13758
|
"duet-paragraph-small": this.size === "small",
|
|
13586
13759
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13588,7 +13761,7 @@ class DuetParagraph {
|
|
|
13588
13761
|
"duet-m-0": this.margin === "none",
|
|
13589
13762
|
[this.variation]: true,
|
|
13590
13763
|
"duet-theme-turva": this.theme === "turva",
|
|
13591
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13764
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'befa3faf8f7b1f565f1a17d2ae668c49b7694db2' }))));
|
|
13592
13765
|
}
|
|
13593
13766
|
get element() { return getElement(this); }
|
|
13594
13767
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -17445,11 +17618,11 @@ class DuetPopupMenuItem {
|
|
|
17445
17618
|
};
|
|
17446
17619
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
17447
17620
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
17448
|
-
return (hAsync(Host, { key: '
|
|
17621
|
+
return (hAsync(Host, { key: 'eade853d9656feba3f1c183a9d496b056b1efab1', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, hAsync(TagName, { key: '390261bc354ca208b61e9d653478dc2a9d6db956', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '0e33f555ecced822df70e017274ef9b2a05806b3', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '7223f5c991169e250db10d39513a14379e8a328c', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '0ef37ea3f2a8246a7fcc4d611cae5792fedc6588' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'c79c060559a1fe3698b321ba3f91a95949cf0320', name: this.url && this.external
|
|
17449
17622
|
? actionNewWindowSmall.title
|
|
17450
17623
|
: this.active
|
|
17451
17624
|
? "messaging-checked-small"
|
|
17452
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
17625
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'bef480bed8100c06a5f8acf0e059dab3896f94d5', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
17453
17626
|
}
|
|
17454
17627
|
get element() { return getElement(this); }
|
|
17455
17628
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -17604,12 +17777,12 @@ class DuetPromoCard {
|
|
|
17604
17777
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
17605
17778
|
};
|
|
17606
17779
|
const TagName = this.url ? "a" : "div";
|
|
17607
|
-
return (hAsync(Host, { key: '
|
|
17780
|
+
return (hAsync(Host, { key: '1515fc190e761f1806452d49d62b61412a4c28f9', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'a4939b94e4f746437fdf950d860c18cbdcb7bd55', class: {
|
|
17608
17781
|
"duet-promo-card": true,
|
|
17609
17782
|
"duet-theme-turva": this.theme === "turva",
|
|
17610
17783
|
"no-bg-color": !this.backgroundColor,
|
|
17611
17784
|
"duet-promo-card-link": !!this.url,
|
|
17612
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
17785
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '807abfae3d508b57899c6db98e25f9d55ca2da14', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'c8aff5a3a991787ed36ae5413111eea8e72d180e', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '98ca8b87d56b052ec8b284060e9d40db91e76ae4', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'd523708f802adba25c3cbbb49a701d2ba9e1c4c4', class: "pre-heading" }, hAsync("slot", { key: '497b57d5a7f7dd3ad40f4b7d1fea749bbe24a0f8', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '8ffed905559c96f7216b589ad6c7cac539ed6da8', class: "heading" }, hAsync("duet-heading", { key: '28b56308bca5a9c51618b9fc5781cd9c72d11aff', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '48dd4256899ce88967628e402039ee2b48823962' }, hAsync("slot", { key: 'ee8c4c059c2e763e12977ec375485f9302f89794', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '84c464f1982f18704a6c58711f2833f812b576f5', class: "description" }, hAsync("duet-paragraph", { key: 'e7b5bfcb91f583d32445076db2a9dd802a7284a8', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '1af43961242bc227beef31940ab6d4a6fb2baedf' }, hAsync("slot", { key: '2a0fd2143ed221fea16af81d8aed863c1e889014', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '7edc91af1e9bce504fa3fef8d01c3a6edfed202c', class: "action" }, hAsync("slot", { key: '7e8cd91e532de002a468327a6870dfeae9b13011', name: "action" }))))))));
|
|
17613
17786
|
}
|
|
17614
17787
|
get element() { return getElement(this); }
|
|
17615
17788
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -18222,10 +18395,10 @@ class DuetRangeStepper {
|
|
|
18222
18395
|
* Always the last one in the class.
|
|
18223
18396
|
*/
|
|
18224
18397
|
render() {
|
|
18225
|
-
return (hAsync("div", { key: '
|
|
18398
|
+
return (hAsync("div", { key: '0d213325a438908c6fbb5ef3be056baf2dd9a9cc', class: {
|
|
18226
18399
|
"duet-range-stepper": true,
|
|
18227
18400
|
"duet-theme-turva": this.theme === "turva",
|
|
18228
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
18401
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '2fcef9d93303d111aa7de17a44614ae8a7be97b9', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '8cb9d3c298a12c9b4e539676020702d346731b76', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: 'f53a8b31d7f5d5fa9df56765fefe8096d08eea44', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
18229
18402
|
}
|
|
18230
18403
|
get element() { return getElement(this); }
|
|
18231
18404
|
static get watchers() { return {
|
|
@@ -18481,18 +18654,18 @@ class DuetScrollable {
|
|
|
18481
18654
|
* Always the last one in the class.
|
|
18482
18655
|
*/
|
|
18483
18656
|
render() {
|
|
18484
|
-
return (hAsync(Host, { key: '
|
|
18657
|
+
return (hAsync(Host, { key: '6901fea371dda6fd20b8c14a15f007356a4f0a38', class: {
|
|
18485
18658
|
"duet-theme-turva": this.theme === "turva",
|
|
18486
18659
|
"duet-theme-default": this.theme === "default",
|
|
18487
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
18660
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '59b5b0b6b1a791fadf53a07f33466cb10ed3dedb', class: {
|
|
18488
18661
|
collapse: true,
|
|
18489
18662
|
hide: !this.needsScrolling && !this.collapsed,
|
|
18490
|
-
} }, hAsync("duet-button", { key: '
|
|
18663
|
+
} }, hAsync("duet-button", { key: 'ef2ce19aa8cbf5829d7f54d3b79a53d84e79f4a3', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '2c0f7231015097adadcd7143cef863b8c75da68c', name: "collapse-button-label" })))), hAsync("div", { key: 'efdef383e022816af6dfd91ae609ab81d5ef1fa1', class: {
|
|
18491
18664
|
"duet-scrollable-items": true,
|
|
18492
18665
|
buttons: this.buttons,
|
|
18493
18666
|
center: this.center,
|
|
18494
18667
|
"duet-theme-turva": this.theme === "turva",
|
|
18495
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
18668
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'a429707e2ff1d17f2865300ee65a42c1ff4217f1', class: {
|
|
18496
18669
|
"duet-scrollable-list": true,
|
|
18497
18670
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
18498
18671
|
[`gap-${this.gap}`]: true,
|
|
@@ -18500,7 +18673,7 @@ class DuetScrollable {
|
|
|
18500
18673
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
18501
18674
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
18502
18675
|
"duet-scrollable-stretch": this.stretch,
|
|
18503
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
18676
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '792a604368bc6fe33577173b8986babb17e95050' })), this.buttons && this.renderButton("right"))));
|
|
18504
18677
|
}
|
|
18505
18678
|
get element() { return getElement(this); }
|
|
18506
18679
|
static get watchers() { return {
|
|
@@ -18548,13 +18721,13 @@ class DuetSectionLayout {
|
|
|
18548
18721
|
* Always the last one in the class.
|
|
18549
18722
|
*/
|
|
18550
18723
|
render() {
|
|
18551
|
-
return (hAsync(Host, { key: '
|
|
18724
|
+
return (hAsync(Host, { key: '3760201c8af426d8ce0a3e736e1ea158aa52d98e', class: {
|
|
18552
18725
|
"duet-middle": this.middle,
|
|
18553
18726
|
"duet-ie": isInternetExplorer(),
|
|
18554
|
-
} }, hAsync("div", { key: '
|
|
18727
|
+
} }, hAsync("div", { key: '94d48826fd6b116936f4850e1e21b1cf761c7260', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'b33936aa900e4503eed9d5b82dbcdf07f51e9b19', class: {
|
|
18555
18728
|
"duet-layout": true,
|
|
18556
18729
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
18557
|
-
} }, hAsync("section", { key: '
|
|
18730
|
+
} }, hAsync("section", { key: 'a2177f2b863ec3782382f8b5b512913af6bbe4b0', class: "duet-main" }, hAsync("slot", { key: '446c361279e487f659f839b9b21b19ff7f6b0739' }))))));
|
|
18558
18731
|
}
|
|
18559
18732
|
get element() { return getElement(this); }
|
|
18560
18733
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -18797,9 +18970,9 @@ class DuetShapedImage {
|
|
|
18797
18970
|
const style = {
|
|
18798
18971
|
"--rotation": `${this.rotation}deg`,
|
|
18799
18972
|
};
|
|
18800
|
-
return (hAsync(Host, { key: '
|
|
18973
|
+
return (hAsync(Host, { key: 'b750a11c4dccb225ec7f6a62eb41137cd21a45b7', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '77296c3eed29b5b7fbd1f5296b194d2b4f74babc', class: {
|
|
18801
18974
|
"shaped-image": true,
|
|
18802
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
18975
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '6ca14f632c8c963c66895b10759946a4dae0ee90', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'ff5781d620721b0997aec9c03bf899a0a1e21ff6', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
18803
18976
|
}
|
|
18804
18977
|
static get style() { return DuetShapedImageStyle0; }
|
|
18805
18978
|
static get cmpMeta() { return {
|
|
@@ -18865,10 +19038,10 @@ class DuetShareChart {
|
|
|
18865
19038
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
18866
19039
|
}
|
|
18867
19040
|
render() {
|
|
18868
|
-
return (hAsync(Host, { key: '
|
|
19041
|
+
return (hAsync(Host, { key: '3b18282d22572dd1fa224333f5cd1b50459873b9' }, hAsync("div", { key: 'fb1a5532570e59e9d1998eccbaffc5e72cd23337', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (hAsync("span", { class: "duet-share-chart-share", style: {
|
|
18869
19042
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
18870
19043
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
18871
|
-
} })))), hAsync("ul", { key: '
|
|
19044
|
+
} })))), hAsync("ul", { key: '4749f8f2d599d9e34b834aaa55a5919f1193aa9f', class: "duet-share-chart-item-list" }, this.items.map(item => (hAsync("li", { class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), hAsync("span", { class: "duet-share-chart-item-text" }, item.text, ":"), hAsync("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (hAsync("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), hAsync("slot", { key: 'fa8b976fc09c00aebebe41cb580aee8664e93f3d' })));
|
|
18872
19045
|
}
|
|
18873
19046
|
get element() { return getElement(this); }
|
|
18874
19047
|
static get style() { return DuetShareChartStyle0; }
|
|
@@ -18893,7 +19066,7 @@ class DuetShareChartItem {
|
|
|
18893
19066
|
this.color = undefined;
|
|
18894
19067
|
}
|
|
18895
19068
|
render() {
|
|
18896
|
-
return (hAsync(Host, { key: '
|
|
19069
|
+
return (hAsync(Host, { key: '964678edc7482f441fb29da520bfa057f1b439eb' }, hAsync("div", { key: '82c6863c6cedf9dc2eaf19f1d148667126530eeb', hidden: true }, hAsync("slot", { key: '918f828c6da1ba28432b192dd895df495d32fc5f' }))));
|
|
18897
19070
|
}
|
|
18898
19071
|
get element() { return getElement(this); }
|
|
18899
19072
|
static get cmpMeta() { return {
|
|
@@ -18999,12 +19172,12 @@ class DuetShowMore {
|
|
|
18999
19172
|
* Always the last one of the class.
|
|
19000
19173
|
*/
|
|
19001
19174
|
render() {
|
|
19002
|
-
return (hAsync(Host, { key: '
|
|
19175
|
+
return (hAsync(Host, { key: '5e26089215401ad079494ecfc48a5463ecd0be23' }, hAsync("div", { key: 'ccc9db6a4f25f032076816c455c478bdd9a9689b', class: {
|
|
19003
19176
|
"duet-show-more": true,
|
|
19004
19177
|
"duet-theme-turva": this.theme === "turva",
|
|
19005
19178
|
"duet-m-0": this.margin === "none",
|
|
19006
19179
|
open: this.open,
|
|
19007
|
-
} }, hAsync("div", { key: '
|
|
19180
|
+
} }, hAsync("div", { key: '9548a87e1fe2469470e5bc736e9be84ff49f1b29', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, hAsync("div", { key: '89ad3dcc67ee7b8025483cbdb94e77380249869a', class: { "slotted-content": true } }, hAsync("slot", { key: '3d8d799bfeceaa39c118f8b77ff1854e92111bf5' }))), hAsync("duet-button", { key: 'e7215cf992e31e23150c57d3d5677584a38bd45e', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: 'dcf013a42f3580bae6247f0fc11925ca63967425' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
19008
19181
|
}
|
|
19009
19182
|
get element() { return getElement(this); }
|
|
19010
19183
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -19501,16 +19674,16 @@ class DuetSlideout {
|
|
|
19501
19674
|
};
|
|
19502
19675
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
19503
19676
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19504
|
-
return (hAsync(Host, { key: '
|
|
19677
|
+
return (hAsync(Host, { key: '9333789c721a340099e10ded0a75fd40e9a11351' }, hAsync("div", { key: '401f5878c00c8844606f58cf65bd970fefc9aab7', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'ee8e733825dc3a76a590f10c5575b9b696c5c920', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'ceed0da1890638fbacd6ff8c98e1444545c4ce9f', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
19505
19678
|
dialog: true,
|
|
19506
19679
|
hidden: !this.open,
|
|
19507
19680
|
modal: this.modal,
|
|
19508
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19681
|
+
}, style: styles }, hAsync(FocusGuard, { key: '5ba5f11f9e65dd3b4e7f41dc425cb504fdf41227', moveFocusTo: this.closeButton }), hAsync("div", { key: '644cb47533203d7a1a0411ad3d685f772f1727af', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '27811bda6d392533473673dd1f9e3384fc010c9a', class: "top" }, hAsync("button", { key: 'afcf0a441eb2100eece645b01229005076a98b0b', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
19509
19682
|
"slideout-close": true,
|
|
19510
19683
|
active: this.open,
|
|
19511
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
19684
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'a1f41fbc6db6c3e139c86c5243947230e6d3f3c0', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '6333fb0cb464bd1bae7295a7ed3dba2f82aa4afe', class: "sticky-header" }, hAsync("slot", { key: '9295f086423cb44b73d2df211b7095facfa77c79', name: "sticky-header" }))), hAsync("div", { key: '1535ab887ae6f901cc97f3b7a7cd541d423e174c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
19512
19685
|
items: true,
|
|
19513
|
-
} }, hAsync("slot", { key: '
|
|
19686
|
+
} }, hAsync("slot", { key: '5dff867d2868e62737eb06a1618c269187db5468' })), hAsync(FocusGuard, { key: 'fcfc5f9ea11a7edac6b76a1479dfb0374b8f16eb', moveFocusTo: this.closeButton })))));
|
|
19514
19687
|
}
|
|
19515
19688
|
get element() { return getElement(this); }
|
|
19516
19689
|
static get watchers() { return {
|
|
@@ -19577,7 +19750,7 @@ class DuetSlideoutLang {
|
|
|
19577
19750
|
*/
|
|
19578
19751
|
render() {
|
|
19579
19752
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
19580
|
-
return (hAsync(Host, { key: '
|
|
19753
|
+
return (hAsync(Host, { key: 'c66db470420b0ad32461c176e50d91cb9c7fdce1' }, hAsync("div", { key: '75ef5e18c433d42a85004adbc38317a4168977c4', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: 'a94403410e36a5c06eff6ef2613ae91ceecfa9fd', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'ea26d4376d4ddb6cf4c4d44b9fd1f328588574e3' }))));
|
|
19581
19754
|
}
|
|
19582
19755
|
get element() { return getElement(this); }
|
|
19583
19756
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -19633,12 +19806,12 @@ class DuetSlideoutLink {
|
|
|
19633
19806
|
* Always the last one in the class.
|
|
19634
19807
|
*/
|
|
19635
19808
|
render() {
|
|
19636
|
-
return (hAsync(Host, { key: '
|
|
19809
|
+
return (hAsync(Host, { key: '0c6039665ab2561e576a6ddecdea16747ce4ede5' }, hAsync("a", { key: '920d7a0b2125b51dc657d24d7e82b9a06bdb8692', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
19637
19810
|
"duet-slideout-link": true,
|
|
19638
19811
|
"duet-theme-turva": this.theme === "turva",
|
|
19639
19812
|
active: this.active,
|
|
19640
19813
|
[this.size]: true,
|
|
19641
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
19814
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: 'caf4e1f4752341de847f8db58d8ee9fad36cd4cb', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'f296f631a1e6209e68af756fd75167c7599bb635', class: "label" }, hAsync("span", { key: '28ef0dcec3dc83a84bb217c3861747d4dda14e03' }, hAsync("span", { key: '5d29305621aadc14df4dddef30b0d4ba84469312', class: "label-container" }, hAsync("span", { key: '6d47e37bfab72b3aa4e4f0608feb373ba5b86d02', class: "label-content" }, hAsync("slot", { key: '012a8b929cf1d906b6591dc449599f08b33d12c7' })), this.external && (hAsync("duet-icon", { key: '93f4efa4d9b438e029aeb62418e941b85e360b5e', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: 'ed01b9c3b4e9df44ff7b53d411e49f0b2a0bb3f7', name: "description" })), this.caret && (hAsync("duet-icon", { key: '1406615037b8d7e69eb0928998bda003c1331b01', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
19642
19815
|
}
|
|
19643
19816
|
get element() { return getElement(this); }
|
|
19644
19817
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -19801,23 +19974,23 @@ class DuetSlideoutPanel {
|
|
|
19801
19974
|
};
|
|
19802
19975
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19803
19976
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
19804
|
-
return (hAsync(Host, { key: '
|
|
19977
|
+
return (hAsync(Host, { key: '29142d3abf9500bbf41fb0334399d889b3c6cac8' }, hAsync("div", { key: 'e3c759be99f70768e528062d8c9403c843412e4e', class: {
|
|
19805
19978
|
"duet-slideout-panel": true,
|
|
19806
19979
|
"duet-theme-turva": this.theme === "turva",
|
|
19807
19980
|
active: this.open,
|
|
19808
|
-
} }, hAsync("button", { key: '
|
|
19981
|
+
} }, hAsync("button", { key: 'ef315f5d782cc8166691b9650fb2d288cd749bcb', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
19809
19982
|
link: true,
|
|
19810
19983
|
active: this.active,
|
|
19811
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
19984
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'c7ec5af321f7b990a7abd9e3998468c32eb5889d', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '5b0465920cd92be28acf509dcac07b1b15225ce3', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '985dcc380110ebb5358c77323f2349e3ec31475b', class: "duet-slideout-badge" }))), hAsync("span", { key: '3a82b4673433c943d0212e33c2ea85fc28e03fb9', class: "label" }, hAsync("span", { key: 'e9ff6848d940ba31e433e16af1241ea22dc70f34', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '49829bd15762b30f0253d747768a9375bdd828a8', name: "label" })), hAsync("duet-icon", { key: 'dd11e70aa5e00aa808d5bb0cad6b371fc35838a3', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '1340dc6879304f87fc1842250b66ec47ab38338f', ref: element => (this.dialog = element), class: {
|
|
19812
19985
|
dialog: true,
|
|
19813
19986
|
hidden: !this.open,
|
|
19814
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19987
|
+
}, style: styles }, hAsync(FocusGuard, { key: '1254f5551401ecdaadbca733bc0f74786aa14650', moveFocusTo: this.closeButton }), hAsync("div", { key: 'e84762225ac2b0d641b500e4d039c2443f98edcf', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '49e12eb692d1f72c31b72b6dd8f70482a357a78a', class: "top" }, hAsync("button", { key: 'd2c1948b8800dc2ef27858ea8f261b75715c8e18', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
19815
19988
|
back: true,
|
|
19816
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
19989
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '59d40d2c0cede4aac9973bebf5703fae2a7b3cea', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '1204528b4ec168bebdbc0b69f84066932e2af607' }, this.label.innerHTML), hAsync("button", { key: '45abbae93adaea97d81b4b93da0553a1264c8730', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '2eb2414a9984983a1ee5c79a5e3d6f140f0e8d37', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '5ddcb2fe67526dda050b26bb9c1f5b7bb81da169', class: "sticky-header" }, hAsync("slot", { key: '355f117577e2e2bcdc171209bb8efc6137f6d7d6', name: "sticky-header" }))), hAsync("div", { key: 'ccc3cfde0874f57edf185d4526087c5d0a0f9316', tabindex: "-1", role: "menu",
|
|
19817
19990
|
//TODO: slideout menu fades out, needs to be instant
|
|
19818
19991
|
id: "menu", "aria-labelledby": "button", class: {
|
|
19819
19992
|
items: true,
|
|
19820
|
-
} }, hAsync("slot", { key: '
|
|
19993
|
+
} }, hAsync("slot", { key: 'a86fa10fb2acdd64dda1d060fc373cbc7e25c97d' })), hAsync(FocusGuard, { key: '5fb6ce6a75597d05a4bd48ca02d8b0f861a129e3', moveFocusTo: this.closeButton })))));
|
|
19821
19994
|
}
|
|
19822
19995
|
get element() { return getElement(this); }
|
|
19823
19996
|
static get watchers() { return {
|
|
@@ -19887,16 +20060,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
19887
20060
|
* Always the last one in the class.
|
|
19888
20061
|
*/
|
|
19889
20062
|
render() {
|
|
19890
|
-
return (hAsync(Host, { key: '
|
|
20063
|
+
return (hAsync(Host, { key: 'bb8b1ac89a6fc845377a16a9fda01cd1049bc720' }, hAsync("div", { key: '7123e413dfedc3371870bafdeb2be97939432d84', class: {
|
|
19891
20064
|
"duet-slideout-panel-dropdown": true,
|
|
19892
20065
|
"duet-theme-turva": this.theme === "turva",
|
|
19893
20066
|
active: this.open,
|
|
19894
|
-
} }, hAsync("button", { key: '
|
|
20067
|
+
} }, hAsync("button", { key: '1496c53a1a82284ab5ec469e99bdd8430f9d903d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
19895
20068
|
active: this.active,
|
|
19896
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
20069
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '3a64869e58fdd65da20d97be4c7aa791b46e39dc', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'bdb073b154537b81404d6011ca4a75a5a29b58c3', class: "label" }, hAsync("slot", { key: '26b71b80a8c61e78ad52b9af8f95a1cf8b58a02e', name: "label" }), hAsync("duet-icon", { key: 'aff4043c26c6768b5566ec4c9073faadc1405329', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'c90ac76831b43a4a92c5539a2a91b16b6a4101e2', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19897
20070
|
items: true,
|
|
19898
20071
|
hidden: !this.open,
|
|
19899
|
-
} }, hAsync("slot", { key: '
|
|
20072
|
+
} }, hAsync("slot", { key: '1be245b790ae436066a8f2c36957c4aa21923aac' })))));
|
|
19900
20073
|
}
|
|
19901
20074
|
get element() { return getElement(this); }
|
|
19902
20075
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -19931,7 +20104,7 @@ class DuetSpacer {
|
|
|
19931
20104
|
* Always the last one in the class.
|
|
19932
20105
|
*/
|
|
19933
20106
|
render() {
|
|
19934
|
-
return (hAsync(Host, { key: '
|
|
20107
|
+
return (hAsync(Host, { key: 'cf4bc55628a80600bcc541119e56966f2a6b4a75', class: {
|
|
19935
20108
|
"duet-spacer": true,
|
|
19936
20109
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
19937
20110
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -19982,11 +20155,11 @@ class DuetSpinner {
|
|
|
19982
20155
|
*/
|
|
19983
20156
|
render() {
|
|
19984
20157
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
19985
|
-
return (hAsync(Host, { key: '
|
|
20158
|
+
return (hAsync(Host, { key: '6d75d470c4189563cb0fc773734d02acac58c0ab', class: {
|
|
19986
20159
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
19987
20160
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
19988
20161
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
19989
|
-
} }, hAsync("div", { key: '
|
|
20162
|
+
} }, hAsync("div", { key: '5314f7a471cde9aa11d4d8794058612683f41be8', class: {
|
|
19990
20163
|
"duet-spinner": true,
|
|
19991
20164
|
[this.size]: true,
|
|
19992
20165
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -20079,10 +20252,10 @@ class DuetStatusIcon {
|
|
|
20079
20252
|
}
|
|
20080
20253
|
}
|
|
20081
20254
|
render() {
|
|
20082
|
-
return (hAsync(Host, { key: '
|
|
20255
|
+
return (hAsync(Host, { key: 'f6c645d88a079edf789d66abab661498513602f0', class: {
|
|
20083
20256
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
20084
20257
|
"duet-strong-bg": this.strong,
|
|
20085
|
-
} }, hAsync("duet-icon", { key: '
|
|
20258
|
+
} }, hAsync("duet-icon", { key: '9659d286f003987775c67613356b88e4733915ac', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
20086
20259
|
}
|
|
20087
20260
|
static get cmpMeta() { return {
|
|
20088
20261
|
"$flags$": 9,
|
|
@@ -20317,7 +20490,7 @@ class DuetStepper {
|
|
|
20317
20490
|
* Always the last one in the class.
|
|
20318
20491
|
*/
|
|
20319
20492
|
render() {
|
|
20320
|
-
return (hAsync(Host, { key: '
|
|
20493
|
+
return (hAsync(Host, { key: '09155a7a3327ac4e49f56eb5632872285f5d5bab', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'a57d5104e84e041986ea155939c05d52a7ec8a0a', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '7c6149035beb257691e8e6849a0608cd47ba18cb', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'edb325e8ac2f2b2f91848c5a4688ab4ff0f31c03' }))));
|
|
20321
20494
|
}
|
|
20322
20495
|
get element() { return getElement(this); }
|
|
20323
20496
|
static get watchers() { return {
|
|
@@ -20463,19 +20636,19 @@ class DuetSubmenuBar {
|
|
|
20463
20636
|
* Always the last one in the class.
|
|
20464
20637
|
*/
|
|
20465
20638
|
render() {
|
|
20466
|
-
return (hAsync(Host, { key: '
|
|
20639
|
+
return (hAsync(Host, { key: '6451c0e04650a56832e3b55dfb562db4ddd484b2' }, hAsync("nav", { key: '4322bfa5ae8eb0207c78e21d85bdb3c65e290ae1', class: {
|
|
20467
20640
|
"duet-submenu-bar": true,
|
|
20468
20641
|
"duet-theme-turva": this.theme === "turva",
|
|
20469
20642
|
hidden: this.hidden,
|
|
20470
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
20643
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: 'a4c9f8ecdab4fb8154b80b75bdf0764b70fd55cc', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
20471
20644
|
active: this.open,
|
|
20472
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
20645
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'fa313aef921cebfb7826c447e97d92237064ac78', class: "label" }, hAsync("slot", { key: 'c346b15a97b5c5bf7aca4b6d1a659eb0aeae70f1', name: "label" }), hAsync("duet-icon", { key: 'fd7cfc9e987128b16f195fdc4602fd5bc44f3453', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '0a7c79a9c68419f026435543666b9b28df6bcd41', class: {
|
|
20473
20646
|
"menu-container": true,
|
|
20474
20647
|
hidden: !this.open,
|
|
20475
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
20648
|
+
}, role: "presentation" }, hAsync("div", { key: '30367df592ab0dada667a922dfe69f1a97dd63e3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
20476
20649
|
items: true,
|
|
20477
20650
|
hidden: !this.open,
|
|
20478
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
20651
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'a42fa718e8fc1d41e2d87bad0dc276b8977c7dee', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '478a0ac25a2aae7aa09dad0d455804fbd97b2163' }), hAsync("div", { key: '209d7083a63c7b3cb652d8d7cf40fa0276cd5927', class: "list-padding" }))), hAsync("duet-overlay", { key: '0fe995dd00566aace4e6e4398c23717a0e022e49', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
20479
20652
|
}
|
|
20480
20653
|
get element() { return getElement(this); }
|
|
20481
20654
|
static get watchers() { return {
|
|
@@ -20596,18 +20769,18 @@ class DuetSubmenuBarDropdown {
|
|
|
20596
20769
|
* Always the last one in the class.
|
|
20597
20770
|
*/
|
|
20598
20771
|
render() {
|
|
20599
|
-
return (hAsync(Host, { key: '
|
|
20772
|
+
return (hAsync(Host, { key: 'cb5e677b605455d234582b23f7014776882640ca', role: "listitem" }, hAsync("div", { key: '038f74a0f7e4a5d2a692f710609cc35a0f0b8b9b', class: {
|
|
20600
20773
|
"duet-submenu-bar-dropdown": true,
|
|
20601
20774
|
"duet-theme-turva": this.theme === "turva",
|
|
20602
20775
|
open: this.open,
|
|
20603
20776
|
active: this.active,
|
|
20604
|
-
} }, hAsync("button", { key: '
|
|
20777
|
+
} }, hAsync("button", { key: '559b1fe4df7f7f2e2bba75966a78a26ca556e1a6', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
20605
20778
|
open: this.open,
|
|
20606
20779
|
active: this.active,
|
|
20607
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20780
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b1446d0146342e9fffcfe689eb23a19520b3226b', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '27aad4809f2f613bfad1c9204f4cb0031951a411', class: "label" }, hAsync("span", { key: '4565a4a2825fd8c0ff7e5b1607e29079ee91580a', class: "label-text" }, hAsync("slot", { key: '374137f23f75556640572ce4e55ac8dea77b4eab', name: "label" })), hAsync("duet-icon", { key: 'eb2ff3b2bb13cb24456bd05ff6e190b6f1ca52b3', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '49f18ebd3fc6765db9a5fd286649226ebe79ed42', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20608
20781
|
items: true,
|
|
20609
20782
|
hidden: !this.open,
|
|
20610
|
-
} }, hAsync("slot", { key: '
|
|
20783
|
+
} }, hAsync("slot", { key: 'dbc7854708620fc971a0fbc755e75d918975678f' })))));
|
|
20611
20784
|
}
|
|
20612
20785
|
get element() { return getElement(this); }
|
|
20613
20786
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -20659,12 +20832,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
20659
20832
|
* Always the last one in the class.
|
|
20660
20833
|
*/
|
|
20661
20834
|
render() {
|
|
20662
|
-
return (hAsync(Host, { key: '
|
|
20835
|
+
return (hAsync(Host, { key: '8b009426558f928de713ea2bb30eac1d4fe5b9fd' }, hAsync("a", { key: '80067be3f308ddef002926e8e81a0e7e031f9e57', class: {
|
|
20663
20836
|
"duet-submenu-bar-dropdown-link": true,
|
|
20664
20837
|
"duet-theme-turva": this.theme === "turva",
|
|
20665
20838
|
highlight: this.highlight,
|
|
20666
20839
|
active: this.active,
|
|
20667
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20840
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '319594b6529b9a4c1c5cce67e79e33e062708171', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '645e44313c0a1311e04587b484f73bda875987f5', class: "label-container" }, hAsync("span", { key: '2da2a5c2904e5507f1edb4d0bb7f414d976d10fd', class: "label" }, hAsync("slot", { key: '5f47fe83755d3caa4d520b547fee609cd93017da' })), this.caret && hAsync("duet-icon", { key: 'b89a6102c74ee5460b2ceffed40eb895d64f8d54', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'ff7a33663227d6dd8489f66b2b5929057da8c659', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20668
20841
|
}
|
|
20669
20842
|
get element() { return getElement(this); }
|
|
20670
20843
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -20738,7 +20911,7 @@ class DuetSubmenuBarItem {
|
|
|
20738
20911
|
render() {
|
|
20739
20912
|
const TagName = this.url ? "a" : "button";
|
|
20740
20913
|
const role = this.url ? "link" : "button";
|
|
20741
|
-
return (hAsync(Host, { key: '
|
|
20914
|
+
return (hAsync(Host, { key: 'eddc232862537069e646d18e8de3e6b7e5570f9d', role: "listitem" }, hAsync(TagName, { key: '3203c493afd7c1fee94ab963d73d444ac214edc6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'c237f48ffb0a803f346e627f3378db0447095f04', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '5bc1441b2296f4e359097aa111e2943d7964f3d9', class: "label" }, hAsync("span", { key: '7c2f284efc6f683f0fa8dd0999279b1e5815e5e3', class: "label-text" }, hAsync("slot", { key: '688632c54762efe35b397ef550a184d49c3409a4' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '75a8d9157f7dc2a8408281b48727e0bcf5199165', class: {
|
|
20742
20915
|
"trailing-icon": !!this.trailingIcon,
|
|
20743
20916
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20744
20917
|
"external-icon": !!this.external,
|
|
@@ -20799,7 +20972,7 @@ class DuetSubmenuBarLink {
|
|
|
20799
20972
|
* Always the last one in the class.
|
|
20800
20973
|
*/
|
|
20801
20974
|
render() {
|
|
20802
|
-
return (hAsync(Host, { key: '
|
|
20975
|
+
return (hAsync(Host, { key: '1851290835bc0e6215a468b46de5d4b4507a1459', role: "listitem" }, hAsync("a", { key: 'f69c3eb64a32fe2fb4751eefddd68e84fed53b97', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '682c9d777be7cc59c30b734aeb2c31843e45671c', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '24f70e921680f881498908e2b5269b8e3ac6b842', class: "label" }, hAsync("slot", { key: '4f66a4338778fa2891eaa88c8ddffe65af1f7a30' })))));
|
|
20803
20976
|
}
|
|
20804
20977
|
get element() { return getElement(this); }
|
|
20805
20978
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -21151,13 +21324,13 @@ class DuetTabGroup {
|
|
|
21151
21324
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
21152
21325
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
21153
21326
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
21154
|
-
return (hAsync("div", { key: '
|
|
21327
|
+
return (hAsync("div", { key: '8d00d531e80a9c26cf00ef7d0315105c478c02fb', class: {
|
|
21155
21328
|
"duet-tab-group": true,
|
|
21156
21329
|
"duet-theme-turva": this.theme === "turva",
|
|
21157
21330
|
[variationClass]: true,
|
|
21158
21331
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
21159
21332
|
"duet-tab-group-scrolls": true,
|
|
21160
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21333
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '8c9abd65ee9f805d69745ee46af2e3626fad5e8b', role: "tablist", class: {
|
|
21161
21334
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
21162
21335
|
"duet-tab-group-tabs": true,
|
|
21163
21336
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -21168,11 +21341,11 @@ class DuetTabGroup {
|
|
|
21168
21341
|
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
21169
21342
|
"duet-tab-group-scrollable-wrapper": true,
|
|
21170
21343
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
21171
|
-
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '
|
|
21344
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '93070e930820e5f493f118e8d60c95b47d4fe47e', class: {
|
|
21172
21345
|
"duet-tab-group-content": true,
|
|
21173
21346
|
"duet-m-0": this.margin === "none",
|
|
21174
21347
|
"checked-group-content": this.variation === "checked",
|
|
21175
|
-
} }, hAsync("slot", { key: '
|
|
21348
|
+
} }, hAsync("slot", { key: '4b95faccd490ae74645f2eccf68636703ff1fae8' }))));
|
|
21176
21349
|
}
|
|
21177
21350
|
get element() { return getElement(this); }
|
|
21178
21351
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -21279,7 +21452,7 @@ class DuetTable {
|
|
|
21279
21452
|
}
|
|
21280
21453
|
}
|
|
21281
21454
|
render() {
|
|
21282
|
-
return (hAsync(Host, { key: '
|
|
21455
|
+
return (hAsync(Host, { key: 'fc3dbefb9caed333ce27098bac9cad5154d0527d', class: {
|
|
21283
21456
|
[`duet-table-${this.variation}`]: true,
|
|
21284
21457
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
21285
21458
|
// sticky only valid when in regular table layout
|
|
@@ -21288,7 +21461,7 @@ class DuetTable {
|
|
|
21288
21461
|
"duet-m-0": this.margin === "none",
|
|
21289
21462
|
"duet-theme-turva": this.theme === "turva",
|
|
21290
21463
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
21291
|
-
} }, hAsync("slot", { key: '
|
|
21464
|
+
} }, hAsync("slot", { key: '34742ef188f22769be8c47a122f782193529f933' })));
|
|
21292
21465
|
}
|
|
21293
21466
|
get element() { return getElement(this); }
|
|
21294
21467
|
static get watchers() { return {
|
|
@@ -21677,11 +21850,11 @@ class DuetToolbar {
|
|
|
21677
21850
|
: this.variation === "secondary"
|
|
21678
21851
|
? "secondary"
|
|
21679
21852
|
: "default";
|
|
21680
|
-
return (hAsync(Host, { key: '
|
|
21853
|
+
return (hAsync(Host, { key: '64b4d516cebc6fa24510aca130d70fc9bb513fb4' }, hAsync("nav", { key: '9b6ce4135f83abc26ed0abd1220dec0c983784f5', class: {
|
|
21681
21854
|
"duet-toolbar": true,
|
|
21682
21855
|
"duet-theme-turva": this.theme === "turva",
|
|
21683
21856
|
[variation]: true,
|
|
21684
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21857
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '4480fce81d73c41904c4f6045da68f4b938692e8', class: "container" }, hAsync("div", { key: '077ee51ac07a8369f4ab3e33503080f63d2e3098', class: "list", role: "list" }, hAsync("slot", { key: '7359e182598454aca46588af570ecc83e888d34f', name: "left" })), hAsync("div", { key: '189d1363763a63c10040d2ae9843695027c52657', class: "list", role: "list" }, hAsync("slot", { key: 'f10760c354e2a1d080107eff5dbde9c1bc3b1cf5', name: "right" }))))));
|
|
21685
21858
|
}
|
|
21686
21859
|
get element() { return getElement(this); }
|
|
21687
21860
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -21749,18 +21922,18 @@ class DuetToolbarDropdown {
|
|
|
21749
21922
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
21750
21923
|
}
|
|
21751
21924
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21752
|
-
return (hAsync(Host, { key: '
|
|
21925
|
+
return (hAsync(Host, { key: 'a845cc23755fc7a4852b9a6034c7a3da2464af09', role: "listitem" }, hAsync("div", { key: 'd9d3bc229d8ab3369a031fc1acc1e2b88452f797', class: {
|
|
21753
21926
|
"duet-toolbar-dropdown": true,
|
|
21754
21927
|
"duet-theme-turva": this.theme === "turva",
|
|
21755
21928
|
[itemsAlign]: true,
|
|
21756
21929
|
[variation]: true,
|
|
21757
|
-
} }, hAsync("button", { key: '
|
|
21930
|
+
} }, hAsync("button", { key: '4e2458e7f3458884e6ccc16d15e07e57611a4cb6', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
21758
21931
|
active: this.active,
|
|
21759
21932
|
open: this.open,
|
|
21760
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
21933
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '73cccaa547adab87c3480e6b1462a978568faf3f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '81926dc68885ca6ca2290a298727b9d71fc2fc07', class: "label" }, hAsync("slot", { key: '7d99a9ce05e38925b5782fe6f12716446afc2c8d', name: "label" }), hAsync("duet-icon", { key: 'c83b298d4b3e2dadc25702efb503a4c6d2087356', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '5129184bb7ae73dd61761748c0d4bc91d963e320', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
21761
21934
|
items: true,
|
|
21762
21935
|
hidden: !this.open,
|
|
21763
|
-
} }, hAsync("slot", { key: '
|
|
21936
|
+
} }, hAsync("slot", { key: 'edc919fd8370473ebf8ce396986c0ca90bb8a143' })))));
|
|
21764
21937
|
}
|
|
21765
21938
|
get element() { return getElement(this); }
|
|
21766
21939
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -21813,11 +21986,11 @@ class DuetToolbarDropdownLink {
|
|
|
21813
21986
|
* Always the last one in the class.
|
|
21814
21987
|
*/
|
|
21815
21988
|
render() {
|
|
21816
|
-
return (hAsync(Host, { key: '
|
|
21989
|
+
return (hAsync(Host, { key: '3a8f1796da5e4eed80e084833b77f496163c9a84' }, hAsync("a", { key: 'fd20d08ddf5814318cd34453e5c9d5c258bd613a', class: {
|
|
21817
21990
|
"duet-toolbar-dropdown-link": true,
|
|
21818
21991
|
"duet-theme-turva": this.theme === "turva",
|
|
21819
21992
|
active: this.active,
|
|
21820
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
21993
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '271f53fb65a420b00f3318a8ac0adeea352d0237', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '7f381a95d1a2838540bba5c109b07a73ebc2c91d', class: "label" }, hAsync("slot", { key: 'a91086b05e18c4b125704df49f5302b291b3fc8b' })), this.active && (hAsync("duet-icon", { key: 'e8039a105270b943bddb019a3f107badfeba322c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
21821
21994
|
}
|
|
21822
21995
|
get element() { return getElement(this); }
|
|
21823
21996
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -21892,17 +22065,17 @@ class DuetToolbarItem {
|
|
|
21892
22065
|
: this.variation === "secondary"
|
|
21893
22066
|
? "secondary"
|
|
21894
22067
|
: "default";
|
|
21895
|
-
return (hAsync(Host, { key: '
|
|
22068
|
+
return (hAsync(Host, { key: 'd69676de72b58792b6fd41da3e6eb09a53cd48d3', role: "listitem" }, hAsync(TagName, { key: 'd2ff00e84af5a473dac3b4caf3b2a491593dfcbd', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
21896
22069
|
"duet-toolbar-item": true,
|
|
21897
22070
|
"duet-theme-turva": this.theme === "turva",
|
|
21898
22071
|
active: this.active,
|
|
21899
22072
|
[variation]: true,
|
|
21900
|
-
}, 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 && (hAsync("div", { key: '
|
|
22073
|
+
}, 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 && (hAsync("div", { key: '99f91d28951629539f577ba0aefda88a1a0116f9', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'dc80d784768df86809d20c377e3c7179ca124998', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '345f9099e4c859093b70fca3388867aab136345b', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'c63b02d192ca68bcd5ec87c9419ae5f18f5b26e1' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '037443df79d823efb2919538d02cac0b047532f0', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '1e9c5d4addcaba3688edb9ce169bc20b407b2bbf', class: {
|
|
21901
22074
|
"trailing-icon": !!this.trailingIcon,
|
|
21902
22075
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
21903
22076
|
"external-icon": !!(this.url && this.external),
|
|
21904
22077
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
21905
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
22078
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'e4a1519e0557bb0d77b6ab89d17e72cefd121540', class: "duet-toolbar-badge" }))))));
|
|
21906
22079
|
}
|
|
21907
22080
|
get element() { return getElement(this); }
|
|
21908
22081
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -21956,12 +22129,12 @@ class DuetToolbarLink {
|
|
|
21956
22129
|
*/
|
|
21957
22130
|
render() {
|
|
21958
22131
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21959
|
-
return (hAsync(Host, { key: '
|
|
22132
|
+
return (hAsync(Host, { key: '9bf5e5c3c16886df82ba85532811902289208a09', role: "listitem" }, hAsync("a", { key: '549e03a44fd766dabcf4b9a90deced22126d9170', class: {
|
|
21960
22133
|
"duet-toolbar-link": true,
|
|
21961
22134
|
"duet-theme-turva": this.theme === "turva",
|
|
21962
22135
|
active: this.active,
|
|
21963
22136
|
[variation]: true,
|
|
21964
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
22137
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8946a984d10dd47804f79ed821ca8d3e5c94c12e', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'cfa598fbbb9d48527c3eb23aaeb9acea33ebc5f8' }))));
|
|
21965
22138
|
}
|
|
21966
22139
|
get element() { return getElement(this); }
|
|
21967
22140
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -22224,13 +22397,13 @@ class DuetTooltipButton {
|
|
|
22224
22397
|
* Always the last one in the class.
|
|
22225
22398
|
*/
|
|
22226
22399
|
render() {
|
|
22227
|
-
const visuallyHidden = hAsync("duet-visually-hidden", { key: '
|
|
22228
|
-
return (hAsync(Host, { key: '
|
|
22400
|
+
const visuallyHidden = hAsync("duet-visually-hidden", { key: 'e33d5ff7c54de9ccfc5e8fb1412e269a84b35991' }, this.accessibleLabel);
|
|
22401
|
+
return (hAsync(Host, { key: 'ab547cfbb38f6b76df6709a7990d5747ddc6bf7b' }, hAsync("button", { key: '940756da9995337019b88c3d73a88903e6d01e48', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
22229
22402
|
"duet-tooltip-button": true,
|
|
22230
22403
|
"duet-tooltip-button-has-label": !!this.label,
|
|
22231
22404
|
"duet-theme-turva": this.theme === "turva",
|
|
22232
22405
|
"duet-tooltip-button-negative": this.negative,
|
|
22233
|
-
} }, hAsync("svg", { key: '
|
|
22406
|
+
} }, hAsync("svg", { key: '878411718bd0af7f2570c2c5fbc798255b7fd167', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'cb0fa3b6b5b095d85e2b04bd7a3b2771d1be7dcb', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '56af372800cd47d4649fdbde93f4c5a58d648b3b', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '1e7d617fa97e77282ed8c5eb0cc4c6950843e146', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
|
|
22234
22407
|
}
|
|
22235
22408
|
get element() { return getElement(this); }
|
|
22236
22409
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -22298,11 +22471,11 @@ class DuetTooltipPopup {
|
|
|
22298
22471
|
this.contentEl.focus();
|
|
22299
22472
|
}
|
|
22300
22473
|
render() {
|
|
22301
|
-
return (hAsync(Host, { key: '
|
|
22474
|
+
return (hAsync(Host, { key: '52785c8e588e72a87dcf1add6c8ccca0cbd26448' }, hAsync("div", { key: '085b0aa28ec28f0615daedf985fb23f7db8d35c7', class: {
|
|
22302
22475
|
"duet-tooltip": true,
|
|
22303
22476
|
"duet-theme-turva": this.theme === "turva",
|
|
22304
22477
|
"duet-tooltip-active": this.active === true,
|
|
22305
|
-
} }, hAsync(FocusGuard, { key: '
|
|
22478
|
+
} }, hAsync(FocusGuard, { key: 'ae3793ed10fa5b4c6d85350f9bae48a32a93bf8b', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'f4654d51693c02e8c7c95dcfd11b07dd498d31ee', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: '3cb80ff2bd3e5f22e91de7d5cb8c719f9650cf48' })), hAsync("div", { key: 'a6e3ac901d41380301f593aba7542ba445a34a64', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '4abf64ccc297dde45c638b2669a44901a3249b1b', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '8a5f07200d7128784b691dc089a9dcc70ea3ba25', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'aa4359871dd0fbea3ca4853cad8eeedc8f54d7ef', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'ae77b164703d563392d427039d075c7e123fe825' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '1ac506b5ff7da2efefaeb004032ccae12c73982f', moveFocusTo: this.contentEl }))));
|
|
22306
22479
|
}
|
|
22307
22480
|
get element() { return getElement(this); }
|
|
22308
22481
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -22410,14 +22583,14 @@ class DuetTray {
|
|
|
22410
22583
|
* Always the last one in the class.
|
|
22411
22584
|
*/
|
|
22412
22585
|
render() {
|
|
22413
|
-
return (hAsync("div", { key: '
|
|
22586
|
+
return (hAsync("div", { key: '96084606679ac986f5d860ffc195f26aab281295', class: {
|
|
22414
22587
|
"duet-tray": true,
|
|
22415
22588
|
"duet-tray-is-active": this.active,
|
|
22416
22589
|
"duet-tray-is-hidden": this.hiddenState,
|
|
22417
22590
|
"duet-tray-is-responsive": this.responsive,
|
|
22418
22591
|
"duet-theme-turva": this.theme === "turva",
|
|
22419
22592
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
22420
|
-
} }, hAsync("div", { key: '
|
|
22593
|
+
} }, hAsync("div", { key: 'c216ef5fe147332444de7041a7cf055ef7647d11', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '1142c70df87b38b5db3a2406f353ec9406cebfb3' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '86874d91c2e4c75d3b8d7e874950e9c0b450ddf1' }, hAsync("button", { key: '5cd57f0eb06084abf2a12285efd180312dc877f0', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '7c210e3b602778375c1ffc82b0af164704ec61ea', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '5a5538e6925ceef086a3e065854445f142215310' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'a8f2db600b259ebc99a7ae2c406f1f88d8cad5f0', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '04eb7a74c403f4e837ea55f95039c24eeac235aa', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '512d3db4d7f11126a4b56870afb70f4d74189c8e', name: "additional" })))))));
|
|
22421
22594
|
}
|
|
22422
22595
|
get element() { return getElement(this); }
|
|
22423
22596
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -23533,10 +23706,10 @@ class DuetUpload {
|
|
|
23533
23706
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
23534
23707
|
}
|
|
23535
23708
|
// @ts-ignore
|
|
23536
|
-
return (hAsync(Host, { key: '
|
|
23709
|
+
return (hAsync(Host, { key: '2cb6006c495f141141399d81c7e6f8e7967d2abf', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'e3febb3aaed53ba1f63d0deaed3984233d081ff9', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '0cb5e96677cee13c2cb2748ec95182ba44542e9c', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '0b6ff2849bb502f136c3b4837ccdf19b5b2c1c18', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '69ddeab39e14da3d436467aa935f3695587547fb', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'df6739a9d4d7c5c02e72e3f430f29d854edf1a99', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'cbd6241618dbf7ca04c61e1d0725f4dc157e87af', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: 'aacaa46c313c829d4e880bf7c7e1848f0ea189cf', name: "filefooter" }), hAsync("slot", { key: '36551b5a589e7feee6077af241b9a25d297feb28', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'd04226d485cc26a193935fa8e4fb98a462a0a505', margin: "none", size: "small" }, hAsync("div", { key: '6b45b8d84658fd393dc9522c5bc33288e39f7159', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '2f2b87ae68a5df22a1fd03e11616249a26be0791', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '113e78c43b0be73519c29617ab452a494f567683' }, hAsync("duet-spacer", { key: '292f0dbbd87d637d7abf982b8e296b282ae89375', size: "large" }), hAsync("duet-button", { key: '774bc75ffb2f90878794215e7890d592abb7acd5', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
23537
23710
|
this.bytesMaxReached ||
|
|
23538
23711
|
this.filesToUploadExceedsLimit ||
|
|
23539
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
23712
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '7de2ffb0e3562b05cd46d1eb1d3360fc853cf601' }, hAsync("duet-spacer", { key: 'fa336882d4bd468f1e9593946f48d73929d26f87', size: "medium" }), hAsync("duet-alert", { key: 'd9a8cac2323b3b10d4cb5c22d0ec19c9b2082694', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '71318f80dd7ad1ef345bc1123be62719becdc52d', "aria-hidden": "true" }, hAsync("input", { key: 'a68a3d1d4490e75a2968e47a681f11cea7bc4d9b', ref: input => {
|
|
23540
23713
|
this.nativeInput = input;
|
|
23541
23714
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
23542
23715
|
"duet-upload": true,
|
|
@@ -23857,7 +24030,7 @@ class DuetUploadAriaStatus {
|
|
|
23857
24030
|
* Always the last one in the class.
|
|
23858
24031
|
*/
|
|
23859
24032
|
render() {
|
|
23860
|
-
return (hAsync(Host, { key: '
|
|
24033
|
+
return (hAsync(Host, { key: '986a0f1f93835a89c37556bd7151fd95b2319185', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '81e6ea00b9362ccd1accc3b01b9bfefaca5006c1' }, this.statusMessage)));
|
|
23861
24034
|
}
|
|
23862
24035
|
get element() { return getElement(this); }
|
|
23863
24036
|
static get watchers() { return {
|
|
@@ -24036,9 +24209,9 @@ class DuetUploadItem {
|
|
|
24036
24209
|
const { uid, meta, item } = this.data;
|
|
24037
24210
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
24038
24211
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
24039
|
-
return (hAsync("div", { key: '
|
|
24212
|
+
return (hAsync("div", { key: 'a0d382c608507d07d924abb73bcbbeffa09e0aee', class: {
|
|
24040
24213
|
"upload-item-row": true,
|
|
24041
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
24214
|
+
} }, this.showCategory && (hAsync("div", { key: '4f7b9bb8c9494e062171d29e5cfc12a9a3e1027b', class: "item-categories" }, hAsync("duet-heading", { key: '477b02e94e76c857191fa6cd51f51bfd240bbbe7', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'a12f1ea980d26df9122daf3dec6a4441716c88ff', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '8cdca136f7a623a5b58fc863e02f15552ff73f0e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '33a97bcbb4daaf167e89fed5aacae4409b982177', class: "item-actions" }, this.actions.map(actionItem => {
|
|
24042
24215
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
24043
24216
|
}))));
|
|
24044
24217
|
}
|
|
@@ -24079,7 +24252,7 @@ class DuetVisuallyHidden {
|
|
|
24079
24252
|
* Always the last one in the class.
|
|
24080
24253
|
*/
|
|
24081
24254
|
render() {
|
|
24082
|
-
return (hAsync(Host, { key: '
|
|
24255
|
+
return (hAsync(Host, { key: 'ad4e235568c6ea33e55df1fd22e7ec078af3ca20', class: "duet-visually-hidden" }, hAsync("slot", { key: 'f5bb563082e973ea4bf7b9f710298858b5bc0fa3' })));
|
|
24083
24256
|
}
|
|
24084
24257
|
get element() { return getElement(this); }
|
|
24085
24258
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -24147,6 +24320,7 @@ registerComponents([
|
|
|
24147
24320
|
DuetOverlay,
|
|
24148
24321
|
DuetPageHeading,
|
|
24149
24322
|
DuetPagination,
|
|
24323
|
+
DuetPanel,
|
|
24150
24324
|
DuetParagraph,
|
|
24151
24325
|
DuetPhoneInput,
|
|
24152
24326
|
DuetPopupMenu,
|