@duetds/components 9.18.0 → 9.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +165 -108
- package/lib/cjs/{a11y-utils-5b56e0b1.js → a11y-utils-f8e4367b.js} +1 -1
- package/lib/cjs/{app-globals-628c4829.js → app-globals-2b37fc0d.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- 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 +17 -10
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +17 -15
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +10 -9
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +16 -9
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-indicator.cjs.entry.js +9 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +9 -9
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +13 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +9 -8
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +9 -9
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +47 -29
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-d6716198.js → errorcodes.utils-1866faa9.js} +1 -1
- package/lib/cjs/{focus-utils-21cb0103.js → focus-utils-3a78068c.js} +1 -1
- package/lib/cjs/{index-0444d660.js → index-8689e0f0.js} +1 -1
- package/lib/cjs/{language-utils-a34e2467.js → language-utils-82c441a5.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-4baa4a9d.js → slot-utils-6f9e2d2b.js} +1 -1
- package/lib/cjs/{themeable-component-ee2255e3.js → themeable-component-b663d703.js} +1 -1
- package/lib/cjs/{token-utils-955dd258.js → token-utils-3cc1c517.js} +1 -1
- package/lib/cjs/{tokens-bdaa8818.js → tokens-62c31e5d.js} +3 -3
- package/lib/cjs/{tokens.module-2358195b.js → tokens.module-db9df617.js} +3 -3
- package/lib/collection/components/duet-badge/duet-badge.css +3 -0
- package/lib/collection/components/duet-banner/duet-banner.css +24 -4
- package/lib/collection/components/duet-banner/duet-banner.js +30 -4
- package/lib/collection/components/duet-button/duet-button.css +19 -2
- package/lib/collection/components/duet-card/duet-card.css +4 -1
- package/lib/collection/components/duet-card/duet-card.js +23 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +3 -0
- package/lib/collection/components/duet-chip/duet-chip.css +3 -0
- package/lib/collection/components/duet-choice/duet-choice.css +9 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +3 -0
- package/lib/collection/components/duet-footer/duet-footer.js +1 -1
- package/lib/collection/components/duet-grid/duet-grid.js +4 -3
- package/lib/collection/components/duet-hero/duet-hero.js +31 -5
- package/lib/collection/components/duet-indicator/duet-indicator.css +4 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +32 -1
- package/lib/collection/components/duet-input/duet-input.css +3 -0
- package/lib/collection/components/duet-link/duet-link.css +29 -12
- package/lib/collection/components/duet-link/duet-link.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.css +3 -0
- package/lib/collection/components/duet-modal/duet-modal.js +2 -2
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +3 -0
- package/lib/collection/components/duet-notification/duet-notification.css +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +9 -2
- package/lib/collection/components/duet-number-input/duet-number-input.css +3 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +3 -0
- 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.css +3 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +22 -2
- package/lib/collection/components/duet-radio/duet-radio.css +6 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +3 -0
- package/lib/collection/components/duet-select/duet-select.css +3 -0
- package/lib/collection/components/duet-slideout/duet-slideout.css +9 -12
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +5 -14
- package/lib/collection/components/duet-spinner/duet-spinner.js +15 -15
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -15
- package/lib/collection/components/duet-table/duet-table.js +3 -3
- package/lib/collection/components/duet-textarea/duet-textarea.css +3 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +55 -29
- package/lib/collection/components/duet-toggle/duet-toggle.css +3 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +17 -9
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +10 -8
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- 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 +8 -8
- 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 +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +22 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +11 -11
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +13 -6
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +25 -25
- package/lib/dist-custom-elements/duet-panel.js +1 -1
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +17 -17
- 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 +9 -7
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +7 -7
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- 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 +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +9 -9
- 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 +57 -36
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- 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 +4 -4
- 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 +20 -20
- 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-c26b81c2.js → p-039d4ba6.js} +11 -5
- package/lib/dist-custom-elements/{p-0e8e6adf.js → p-0defe821.js} +2 -2
- package/lib/dist-custom-elements/{p-a230e7ac.js → p-0ec15ba7.js} +9 -9
- package/lib/dist-custom-elements/{p-d6911e61.js → p-0eec21d3.js} +2 -2
- package/lib/dist-custom-elements/{p-d84ceb08.js → p-1385415a.js} +4 -4
- package/lib/dist-custom-elements/{p-376095a8.js → p-25acb470.js} +2 -2
- package/lib/dist-custom-elements/{p-dcc8afe8.js → p-2967d610.js} +7 -7
- package/lib/dist-custom-elements/p-2b66b8d4.js +66 -0
- package/lib/dist-custom-elements/{p-86c95505.js → p-30456bad.js} +3 -3
- package/lib/dist-custom-elements/{p-1dc37c4b.js → p-32d33753.js} +1 -1
- package/lib/dist-custom-elements/{p-7645b4d2.js → p-3caafb9d.js} +2 -2
- package/lib/dist-custom-elements/{p-1f2c89d9.js → p-48cbe41a.js} +2 -2
- package/lib/dist-custom-elements/{p-3ee131dc.js → p-4b13a990.js} +2 -2
- package/lib/dist-custom-elements/{p-aa626f8d.js → p-4c473784.js} +1 -1
- package/lib/dist-custom-elements/{p-db56d5a8.js → p-5b72a3b0.js} +1 -1
- package/lib/dist-custom-elements/{p-016c81f0.js → p-620ac0f8.js} +1 -1
- package/lib/dist-custom-elements/{p-d80a01fd.js → p-6237da28.js} +7 -7
- package/lib/dist-custom-elements/{p-cdc57494.js → p-6327d4e2.js} +8 -5
- package/lib/dist-custom-elements/{p-8035b482.js → p-656cb1fd.js} +2 -2
- package/lib/dist-custom-elements/{p-9357efdb.js → p-745a4e07.js} +1 -1
- package/lib/dist-custom-elements/{p-b5bb4c4e.js → p-77cd5d74.js} +2 -2
- package/lib/{esm/tokens-1fd83076.js → dist-custom-elements/p-7ac368f3.js} +3 -3
- package/lib/dist-custom-elements/{p-80c4e77a.js → p-7bed73a7.js} +11 -11
- package/lib/dist-custom-elements/{p-c224f527.js → p-856c21c2.js} +1 -1
- package/lib/dist-custom-elements/{p-c936343b.js → p-87838af5.js} +3 -3
- package/lib/dist-custom-elements/{p-30bc1a35.js → p-884ae25a.js} +6 -6
- package/lib/dist-custom-elements/{p-08a5f7e9.js → p-8b2e0122.js} +3 -3
- package/lib/dist-custom-elements/{p-af586c7d.js → p-9dd5b1ab.js} +2 -2
- package/lib/dist-custom-elements/{p-c4345060.js → p-a6205f48.js} +5 -5
- package/lib/dist-custom-elements/{p-958e3489.js → p-b978a5e4.js} +2 -2
- package/lib/dist-custom-elements/{p-bf860820.js → p-be9c3f20.js} +3 -3
- package/lib/dist-custom-elements/{p-d8a121cc.js → p-c4b6f5d6.js} +3 -3
- package/lib/dist-custom-elements/{p-a6f89351.js → p-c97f4a6a.js} +13 -13
- package/lib/dist-custom-elements/{p-d4245e15.js → p-cb129f84.js} +3 -3
- package/lib/dist-custom-elements/{p-a70e2b0c.js → p-ce458f25.js} +5 -4
- package/lib/dist-custom-elements/{p-b21352e2.js → p-cee4b98f.js} +1 -1
- package/lib/dist-custom-elements/{p-21f8ff7d.js → p-d0d1c5a0.js} +10 -10
- package/lib/dist-custom-elements/{p-e48a192a.js → p-d3180cfc.js} +2 -2
- package/lib/dist-custom-elements/{p-a49f9fc6.js → p-df469213.js} +4 -4
- package/lib/dist-custom-elements/{p-889bc211.js → p-e29db94f.js} +5 -5
- package/lib/dist-custom-elements/{p-b49de47a.js → p-f1b9fb2c.js} +1 -1
- package/lib/dist-custom-elements/{p-f33fb629.js → p-f3726f3b.js} +1 -1
- package/lib/dist-custom-elements/{p-d4904a7c.js → p-f5035d0a.js} +1 -1
- package/lib/dist-custom-elements/p-f7d27c78.js +318 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-904d0415.system.entry.js → p-0024a14a.system.entry.js} +1 -1
- package/lib/duet/{p-72efa27a.system.entry.js → p-034e1b79.system.entry.js} +1 -1
- package/lib/duet/{p-2e64593c.system.entry.js → p-093a5aaa.system.entry.js} +1 -1
- package/lib/duet/{p-92b098f9.system.entry.js → p-0c25b7a5.system.entry.js} +1 -1
- package/lib/duet/{p-8d900bdc.entry.js → p-0c9e9925.entry.js} +1 -1
- package/lib/duet/p-12899787.system.entry.js +4 -0
- package/lib/duet/{p-618dcd6b.entry.js → p-1399801a.entry.js} +1 -1
- package/lib/duet/{p-033bb755.system.entry.js → p-15c9f74e.system.entry.js} +1 -1
- package/lib/duet/{p-385da7a9.system.js → p-15f1493c.system.js} +1 -1
- package/lib/duet/{p-7f2ae5ad.entry.js → p-18076536.entry.js} +1 -1
- package/lib/duet/p-19e02960.system.entry.js +4 -0
- package/lib/duet/{p-bd0ab8c6.system.entry.js → p-1a70c103.system.entry.js} +1 -1
- package/lib/duet/{p-1060eeeb.system.entry.js → p-1af82a3a.system.entry.js} +1 -1
- package/lib/duet/p-1bd0222c.entry.js +4 -0
- package/lib/duet/{p-7ae39a1c.entry.js → p-1bdc5408.entry.js} +1 -1
- package/lib/duet/{p-91a5f0c8.entry.js → p-1c2890e1.entry.js} +1 -1
- package/lib/duet/{p-9df05d74.entry.js → p-1c28fbe6.entry.js} +1 -1
- package/lib/duet/{p-ff27191d.system.entry.js → p-1dc59447.system.entry.js} +1 -1
- package/lib/duet/{p-b91fd1ce.system.entry.js → p-1dd85611.system.entry.js} +1 -1
- package/lib/duet/{p-cb37d121.entry.js → p-1e126580.entry.js} +1 -1
- package/lib/duet/{p-12f16785.js → p-1f01bee2.js} +1 -1
- package/lib/duet/{p-f5f409e3.entry.js → p-1fe8dc67.entry.js} +1 -1
- package/lib/duet/p-23878f2f.system.entry.js +4 -0
- package/lib/duet/{p-c7b24194.system.entry.js → p-292150a9.system.entry.js} +1 -1
- package/lib/duet/p-2f8ee1a5.entry.js +4 -0
- package/lib/duet/{p-d44312ba.system.js → p-30c4c974.system.js} +1 -1
- package/lib/duet/p-329da927.js +4 -0
- package/lib/duet/{p-0e9de590.entry.js → p-3469aaaf.entry.js} +1 -1
- package/lib/duet/{p-0e04330c.entry.js → p-36478f3d.entry.js} +1 -1
- package/lib/duet/{p-8f1696fc.entry.js → p-3679fdf8.entry.js} +1 -1
- package/lib/duet/{p-4be139d3.system.entry.js → p-3704f63a.system.entry.js} +1 -1
- package/lib/duet/{p-d84ab69c.system.entry.js → p-37136593.system.entry.js} +1 -1
- package/lib/duet/p-3833ae7b.system.entry.js +4 -0
- package/lib/duet/{p-33c69e1b.js → p-3a0756e2.js} +1 -1
- package/lib/duet/{p-4cfd6aa0.system.entry.js → p-3a2a2ec5.system.entry.js} +1 -1
- package/lib/duet/{p-1338bc5c.entry.js → p-3a793df8.entry.js} +1 -1
- package/lib/duet/{p-638ab80b.entry.js → p-3af12511.entry.js} +1 -1
- package/lib/duet/{p-1f4af013.entry.js → p-3c583c14.entry.js} +1 -1
- package/lib/duet/{p-00fcf2fb.system.entry.js → p-40ec37e0.system.entry.js} +1 -1
- package/lib/duet/p-41ffd369.entry.js +4 -0
- package/lib/duet/p-427293b9.system.entry.js +4 -0
- package/lib/duet/{p-61efcecb.entry.js → p-4275cecd.entry.js} +1 -1
- package/lib/duet/p-453db857.system.js +4 -0
- package/lib/duet/{p-0a280ddc.entry.js → p-45664da0.entry.js} +1 -1
- package/lib/duet/{p-30af84d3.system.js → p-46e3ea75.system.js} +1 -1
- package/lib/duet/{p-758eb019.system.entry.js → p-4787b506.system.entry.js} +1 -1
- package/lib/duet/p-485e347b.system.entry.js +4 -0
- package/lib/duet/p-488db8d3.system.entry.js +4 -0
- package/lib/duet/p-49eb852a.entry.js +4 -0
- package/lib/duet/{p-6829be6c.system.entry.js → p-4c164015.system.entry.js} +2 -2
- package/lib/duet/p-4cfffc05.system.js +4 -0
- package/lib/duet/{p-ec4bb6c3.system.js → p-4ff5a3ed.system.js} +1 -1
- package/lib/duet/p-50dd94b8.system.js +4 -0
- package/lib/duet/{p-07cfc2f5.entry.js → p-5186598c.entry.js} +1 -1
- package/lib/duet/p-51e4be9b.entry.js +4 -0
- package/lib/duet/{p-ccb84e6a.system.entry.js → p-526c13d3.system.entry.js} +1 -1
- package/lib/duet/{p-52e13815.entry.js → p-545d740f.entry.js} +1 -1
- package/lib/duet/p-56cc31e0.entry.js +4 -0
- package/lib/duet/{p-da33830e.system.entry.js → p-570ec400.system.entry.js} +1 -1
- package/lib/duet/{p-f59845f1.entry.js → p-5866fd3c.entry.js} +1 -1
- package/lib/duet/p-58cb1e7b.js +5 -0
- package/lib/duet/{p-d4f972c3.system.js → p-5a34eb53.system.js} +1 -1
- package/lib/duet/{p-df9388c0.entry.js → p-5a973232.entry.js} +1 -1
- package/lib/duet/{p-2daf9e75.entry.js → p-5e7bfe5a.entry.js} +1 -1
- package/lib/duet/{p-47d32341.system.entry.js → p-5eacc131.system.entry.js} +1 -1
- package/lib/duet/{p-4d91e61a.system.entry.js → p-5f34fc36.system.entry.js} +1 -1
- package/lib/duet/{p-48bd44c3.system.entry.js → p-6000271f.system.entry.js} +1 -1
- package/lib/duet/p-61f93b06.js +4 -0
- package/lib/duet/{p-4030ca2a.system.entry.js → p-629ca254.system.entry.js} +1 -1
- package/lib/duet/{p-e663f11f.system.entry.js → p-63347221.system.entry.js} +1 -1
- package/lib/duet/{p-a0e599fa.system.entry.js → p-6455d4e2.system.entry.js} +1 -1
- package/lib/duet/{p-5bb5a55a.entry.js → p-6484efcc.entry.js} +1 -1
- package/lib/duet/p-679272b4.entry.js +4 -0
- package/lib/duet/p-687b20eb.system.entry.js +4 -0
- package/lib/duet/{p-d10856d3.system.entry.js → p-6dae863c.system.entry.js} +1 -1
- package/lib/duet/{p-4453a6c6.system.entry.js → p-71699fd9.system.entry.js} +1 -1
- package/lib/duet/{p-0c1a086f.system.entry.js → p-74ffcc62.system.entry.js} +1 -1
- package/lib/duet/p-75030665.entry.js +4 -0
- package/lib/duet/{p-cbb72b0c.system.entry.js → p-7609e7e5.system.entry.js} +1 -1
- package/lib/duet/{p-783316e7.system.entry.js → p-77984d20.system.entry.js} +1 -1
- package/lib/duet/p-79570700.system.entry.js +4 -0
- package/lib/duet/p-7ac368f3.js +4 -0
- package/lib/duet/{p-824f8fec.entry.js → p-7b87a422.entry.js} +1 -1
- package/lib/duet/{p-5c374688.system.entry.js → p-7caeb4e4.system.entry.js} +1 -1
- package/lib/duet/p-7f286bc3.entry.js +4 -0
- package/lib/duet/{p-ce677952.system.entry.js → p-8016efed.system.entry.js} +1 -1
- package/lib/duet/{p-2e136720.entry.js → p-80694bcb.entry.js} +1 -1
- package/lib/duet/{p-d6b96130.system.entry.js → p-81136f12.system.entry.js} +1 -1
- package/lib/duet/p-854d1f8e.system.entry.js +4 -0
- package/lib/duet/{p-9718c106.js → p-8b34b6a1.js} +1 -1
- package/lib/duet/{p-b07f9abb.system.entry.js → p-8b744c14.system.entry.js} +1 -1
- package/lib/duet/{p-caf1ece1.system.entry.js → p-8ce9049d.system.entry.js} +1 -1
- package/lib/duet/{p-8bbea850.system.entry.js → p-8d6f3089.system.entry.js} +1 -1
- package/lib/duet/p-8df7c962.entry.js +4 -0
- package/lib/duet/{p-135e72bf.js → p-8ee40bae.js} +1 -1
- package/lib/duet/{p-11f86bdc.system.entry.js → p-8f5bbc88.system.entry.js} +1 -1
- package/lib/duet/{p-34cdefd2.entry.js → p-90e6b35a.entry.js} +1 -1
- package/lib/duet/{p-18a0cbe5.system.entry.js → p-923aa342.system.entry.js} +1 -1
- package/lib/duet/{p-f5c47365.system.entry.js → p-94379df1.system.entry.js} +1 -1
- package/lib/duet/{p-50bb0bef.system.entry.js → p-944f5ee9.system.entry.js} +1 -1
- package/lib/duet/{p-c976593b.entry.js → p-94593336.entry.js} +1 -1
- package/lib/duet/p-9481e189.js +4 -0
- package/lib/duet/p-95933d17.system.entry.js +4 -0
- package/lib/duet/{p-065bebcf.system.entry.js → p-95c12be6.system.entry.js} +1 -1
- package/lib/duet/{p-4cd75d1b.entry.js → p-96bf7e64.entry.js} +1 -1
- package/lib/duet/{p-855bf182.entry.js → p-976353c6.entry.js} +1 -1
- package/lib/duet/{p-70d7644c.system.entry.js → p-99915f28.system.entry.js} +1 -1
- package/lib/duet/{p-bf87b23f.entry.js → p-9c4b48e8.entry.js} +1 -1
- package/lib/duet/p-9e37e183.system.entry.js +4 -0
- package/lib/duet/{p-cc9ee2cb.system.entry.js → p-9eb323ce.system.entry.js} +2 -2
- package/lib/duet/{p-c03cf41b.entry.js → p-9f82677f.entry.js} +1 -1
- package/lib/duet/p-a0893754.entry.js +4 -0
- package/lib/duet/{p-ea986606.entry.js → p-a1a46dc8.entry.js} +1 -1
- package/lib/duet/{p-e7dc7c7c.entry.js → p-a1e4a928.entry.js} +1 -1
- package/lib/duet/{p-3aa5dbed.entry.js → p-a34a7a64.entry.js} +1 -1
- package/lib/duet/p-a48e2a76.system.entry.js +4 -0
- package/lib/duet/{p-929579ed.entry.js → p-a53b0c61.entry.js} +1 -1
- package/lib/duet/{p-66386c5e.entry.js → p-a54076ef.entry.js} +1 -1
- package/lib/duet/p-a543a9f0.entry.js +4 -0
- package/lib/duet/{p-31463f0b.system.entry.js → p-a5757e21.system.entry.js} +1 -1
- package/lib/duet/{p-1198fd12.system.entry.js → p-a60ba7fb.system.entry.js} +1 -1
- package/lib/duet/{p-5b88277b.entry.js → p-a65da7a4.entry.js} +1 -1
- package/lib/duet/{p-16a30d86.system.entry.js → p-a7cb778c.system.entry.js} +1 -1
- package/lib/duet/p-ac6e2668.system.entry.js +4 -0
- package/lib/duet/{p-8e21c393.entry.js → p-ae8b02f9.entry.js} +1 -1
- package/lib/duet/{p-ef4f91d2.system.entry.js → p-b023c816.system.entry.js} +1 -1
- package/lib/duet/p-b0af0dbc.js +4 -0
- package/lib/duet/p-b11ec474.system.entry.js +4 -0
- package/lib/duet/{p-89e30005.entry.js → p-b17f976c.entry.js} +1 -1
- package/lib/duet/{p-f6486434.system.js → p-b3abe719.system.js} +1 -1
- package/lib/duet/{p-7266991d.entry.js → p-b54d5edb.entry.js} +1 -1
- package/lib/duet/{p-dba326f3.entry.js → p-b5a24ec4.entry.js} +1 -1
- package/lib/duet/p-b7bbc0ac.entry.js +4 -0
- package/lib/duet/{p-f103010d.entry.js → p-b7e41270.entry.js} +1 -1
- package/lib/duet/{p-e26e10f1.system.entry.js → p-b8427cfa.system.entry.js} +1 -1
- package/lib/duet/{p-c370b95d.entry.js → p-b9133310.entry.js} +1 -1
- package/lib/duet/{p-e433ff50.system.entry.js → p-b93a8d60.system.entry.js} +1 -1
- package/lib/duet/{p-497bdd59.entry.js → p-ba05fe4e.entry.js} +1 -1
- package/lib/duet/{p-357fba6d.system.entry.js → p-ba1170fc.system.entry.js} +1 -1
- package/lib/duet/{p-082e654d.system.entry.js → p-babcf111.system.entry.js} +1 -1
- package/lib/duet/{p-a48d38dd.entry.js → p-bc2dfc8f.entry.js} +1 -1
- package/lib/duet/{p-d3602171.entry.js → p-bc9888d4.entry.js} +1 -1
- package/lib/duet/{p-1d9091b2.entry.js → p-bd0152ae.entry.js} +1 -1
- package/lib/duet/{p-7c6b903a.entry.js → p-bed81853.entry.js} +1 -1
- package/lib/duet/p-bf0218de.entry.js +4 -0
- package/lib/duet/{p-06a2c00d.entry.js → p-bf901d0f.entry.js} +1 -1
- package/lib/duet/{p-8901b848.system.entry.js → p-bfed7d1f.system.entry.js} +1 -1
- package/lib/duet/p-c155c203.entry.js +4 -0
- package/lib/duet/{p-aa781739.entry.js → p-c3755b07.entry.js} +1 -1
- package/lib/duet/{p-ff3fa3b2.system.entry.js → p-c3f5f64f.system.entry.js} +1 -1
- package/lib/duet/{p-158e2598.system.entry.js → p-c54c650f.system.entry.js} +1 -1
- package/lib/duet/p-c7f65120.js +4 -0
- package/lib/duet/p-c8859716.entry.js +4 -0
- package/lib/duet/{p-cab933ea.system.entry.js → p-c9063437.system.entry.js} +1 -1
- package/lib/duet/{p-b7ce18dd.system.entry.js → p-c99709d4.system.entry.js} +1 -1
- package/lib/duet/{p-95cd3623.entry.js → p-cc5d55c9.entry.js} +1 -1
- package/lib/duet/{p-ea60fb06.entry.js → p-ceb8f2cd.entry.js} +1 -1
- package/lib/duet/p-cebe051e.system.entry.js +4 -0
- package/lib/duet/p-cee2f369.system.entry.js +4 -0
- package/lib/duet/{p-33f60648.entry.js → p-cfe7483c.entry.js} +1 -1
- package/lib/duet/{p-80993983.system.js → p-d04f0720.system.js} +1 -1
- package/lib/duet/p-d06624f9.system.entry.js +4 -0
- package/lib/duet/p-d0d1667e.entry.js +4 -0
- package/lib/duet/{p-ef35ead4.entry.js → p-d0f03726.entry.js} +1 -1
- package/lib/duet/p-d2a1b1fd.entry.js +4 -0
- package/lib/duet/{p-68fdf1da.system.entry.js → p-d3b6137d.system.entry.js} +1 -1
- package/lib/duet/{p-77516717.system.js → p-d72625ca.system.js} +1 -1
- package/lib/duet/{p-21cfc7c9.system.entry.js → p-d72ec8fd.system.entry.js} +1 -1
- package/lib/duet/p-da039779.entry.js +4 -0
- package/lib/duet/{p-9df8182c.system.entry.js → p-e1bd6791.system.entry.js} +1 -1
- package/lib/duet/p-e33b7b4f.system.entry.js +4 -0
- package/lib/duet/{p-17ee74b1.system.entry.js → p-e36e78ea.system.entry.js} +1 -1
- package/lib/duet/{p-4b6e53bd.entry.js → p-e5dfecab.entry.js} +1 -1
- package/lib/duet/p-e61fdd1f.system.entry.js +4 -0
- package/lib/duet/{p-9a7b5888.system.entry.js → p-e9454352.system.entry.js} +1 -1
- package/lib/duet/{p-bd3c1bb9.entry.js → p-eacf7ed7.entry.js} +1 -1
- package/lib/duet/{p-d4a9606f.entry.js → p-ec88c131.entry.js} +1 -1
- package/lib/duet/{p-ac388eb7.entry.js → p-ec919d45.entry.js} +1 -1
- package/lib/duet/p-ed24b370.entry.js +4 -0
- package/lib/duet/{p-04658922.entry.js → p-ed39c72b.entry.js} +1 -1
- package/lib/duet/p-eeb02f96.system.entry.js +4 -0
- package/lib/duet/{p-8316c5a6.entry.js → p-eedacfa7.entry.js} +1 -1
- package/lib/duet/p-f240daa0.entry.js +4 -0
- package/lib/duet/{p-6d7d56e8.entry.js → p-f25d359d.entry.js} +1 -1
- package/lib/duet/{p-0cf7d917.entry.js → p-f5fc750d.entry.js} +1 -1
- package/lib/duet/{p-ef97420d.system.entry.js → p-f6abc74d.system.entry.js} +1 -1
- package/lib/duet/{p-43bbba35.system.js → p-f6e20b20.system.js} +1 -1
- package/lib/duet/{p-fa184877.system.entry.js → p-f71d7b6d.system.entry.js} +1 -1
- package/lib/duet/{p-884ee3c8.entry.js → p-f86398eb.entry.js} +1 -1
- package/lib/duet/{p-95d2b637.entry.js → p-f9e9a571.entry.js} +1 -1
- package/lib/duet/{p-0e3375dd.system.entry.js → p-faa08662.system.entry.js} +1 -1
- package/lib/duet/{p-f81da033.system.entry.js → p-fc8ac479.system.entry.js} +1 -1
- package/lib/duet/{p-8417d209.entry.js → p-fcad9137.entry.js} +1 -1
- package/lib/duet/{p-7f6f7008.system.entry.js → p-fde30afe.system.entry.js} +2 -2
- package/lib/duet/{p-439c21e7.entry.js → p-fdedb49b.entry.js} +1 -1
- package/lib/esm/{a11y-utils-696f7b73.js → a11y-utils-ac6ae502.js} +1 -1
- package/lib/esm/{app-globals-245f0f6e.js → app-globals-2222efbc.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- 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 +17 -10
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +17 -15
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +10 -9
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +5 -5
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +11 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +5 -4
- package/lib/esm/duet-header_2.entry.js +7 -7
- package/lib/esm/duet-hero.entry.js +16 -9
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-indicator.entry.js +9 -4
- package/lib/esm/duet-input_2.entry.js +7 -7
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +5 -5
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +9 -9
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +13 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +2 -2
- package/lib/esm/duet-phone-input.entry.js +5 -5
- package/lib/esm/duet-popup-menu_2.entry.js +7 -7
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +9 -8
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +7 -7
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +5 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +9 -9
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-status-icon.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +47 -29
- package/lib/esm/duet-toggle.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-160ddc21.js → errorcodes.utils-454fa730.js} +1 -1
- package/lib/esm/{focus-utils-d6e4011c.js → focus-utils-7af43257.js} +1 -1
- package/lib/esm/{index-22246570.js → index-ddbf3a7a.js} +1 -1
- package/lib/esm/{language-utils-09809102.js → language-utils-1387fba1.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-eb668280.js → slot-utils-53835bd7.js} +1 -1
- package/lib/esm/{themeable-component-f4a04f2f.js → themeable-component-ae3def9c.js} +1 -1
- package/lib/esm/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
- package/lib/{dist-custom-elements/p-c972a96e.js → esm/tokens-1702323a.js} +3 -3
- package/lib/esm/{tokens.module-7b07911f.js → tokens.module-7ae22e26.js} +3 -3
- package/lib/esm-es5/{a11y-utils-696f7b73.js → a11y-utils-ac6ae502.js} +1 -1
- package/lib/esm-es5/{app-globals-245f0f6e.js → app-globals-2222efbc.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.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-indicator.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +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 +2 -2
- 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-160ddc21.js → errorcodes.utils-454fa730.js} +1 -1
- package/lib/esm-es5/{focus-utils-d6e4011c.js → focus-utils-7af43257.js} +1 -1
- package/lib/esm-es5/index-ddbf3a7a.js +4 -0
- package/lib/esm-es5/{language-utils-09809102.js → language-utils-1387fba1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-eb668280.js → slot-utils-53835bd7.js} +1 -1
- package/lib/esm-es5/{themeable-component-f4a04f2f.js → themeable-component-ae3def9c.js} +1 -1
- package/lib/esm-es5/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
- package/lib/esm-es5/tokens-1702323a.js +4 -0
- package/lib/esm-es5/tokens.module-7ae22e26.js +4 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
- package/lib/types/components/duet-card/duet-card.d.ts +4 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +13 -7
- package/lib/types/components.d.ts +46 -8
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-4343b5a1.js +0 -318
- package/lib/dist-custom-elements/p-929f4a06.js +0 -64
- package/lib/duet/p-04c70e04.system.entry.js +0 -4
- package/lib/duet/p-09497e9e.entry.js +0 -4
- package/lib/duet/p-1285b423.system.entry.js +0 -4
- package/lib/duet/p-13a834ce.system.entry.js +0 -4
- package/lib/duet/p-17755657.system.entry.js +0 -4
- package/lib/duet/p-1dcd8cb6.system.entry.js +0 -4
- package/lib/duet/p-2b4a068b.system.entry.js +0 -4
- package/lib/duet/p-2e69eb33.entry.js +0 -4
- package/lib/duet/p-2fce48bf.entry.js +0 -4
- package/lib/duet/p-311a334f.entry.js +0 -4
- package/lib/duet/p-3c69cc2a.system.entry.js +0 -4
- package/lib/duet/p-3e52c8ff.system.entry.js +0 -4
- package/lib/duet/p-4ad740e2.js +0 -5
- package/lib/duet/p-541a4093.system.entry.js +0 -4
- package/lib/duet/p-59d65494.entry.js +0 -4
- package/lib/duet/p-5cd1152a.entry.js +0 -4
- package/lib/duet/p-5e33ada9.system.entry.js +0 -4
- package/lib/duet/p-60cfe03f.entry.js +0 -4
- package/lib/duet/p-6751d70f.entry.js +0 -4
- package/lib/duet/p-75c6a8ee.system.entry.js +0 -4
- package/lib/duet/p-76e57b3a.system.entry.js +0 -4
- package/lib/duet/p-79628294.entry.js +0 -4
- package/lib/duet/p-7ca8790f.system.entry.js +0 -4
- package/lib/duet/p-81677e17.entry.js +0 -4
- package/lib/duet/p-81f0ab52.entry.js +0 -4
- package/lib/duet/p-88880de6.entry.js +0 -4
- package/lib/duet/p-916f4438.entry.js +0 -4
- package/lib/duet/p-949a5c17.system.entry.js +0 -4
- package/lib/duet/p-9d9457bf.js +0 -4
- package/lib/duet/p-a0f78e44.entry.js +0 -4
- package/lib/duet/p-a27a9c69.js +0 -4
- package/lib/duet/p-a395c023.entry.js +0 -4
- package/lib/duet/p-b355076f.entry.js +0 -4
- package/lib/duet/p-b3c4e717.system.entry.js +0 -4
- package/lib/duet/p-b7691d79.system.entry.js +0 -4
- package/lib/duet/p-b81ac5ae.system.js +0 -4
- package/lib/duet/p-b9f9f07f.entry.js +0 -4
- package/lib/duet/p-c5219057.system.entry.js +0 -4
- package/lib/duet/p-c80618b4.system.js +0 -4
- package/lib/duet/p-c972a96e.js +0 -4
- package/lib/duet/p-c97dbc9b.js +0 -4
- package/lib/duet/p-c9971904.entry.js +0 -4
- package/lib/duet/p-cbf13746.entry.js +0 -4
- package/lib/duet/p-d4ecb287.js +0 -4
- package/lib/duet/p-d79d46f4.system.entry.js +0 -4
- package/lib/duet/p-d807313e.system.entry.js +0 -4
- package/lib/duet/p-db0ba7b6.system.js +0 -4
- package/lib/duet/p-dca26ec6.entry.js +0 -4
- package/lib/duet/p-e1c99881.system.entry.js +0 -4
- package/lib/duet/p-e5a7f0a5.system.entry.js +0 -4
- package/lib/duet/p-e9dee331.entry.js +0 -4
- package/lib/duet/p-f0e3d159.js +0 -4
- package/lib/esm-es5/index-22246570.js +0 -4
- package/lib/esm-es5/tokens-1fd83076.js +0 -4
- package/lib/esm-es5/tokens.module-7b07911f.js +0 -4
|
@@ -5,16 +5,15 @@ import { Build, h, Host, } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { cleanValue } from "../../utils/input-utils";
|
|
8
|
-
import {
|
|
8
|
+
import { debounce } from "../../utils/js-utils";
|
|
9
|
+
import { getLanguage, formatNumber } from "../../utils/language-utils";
|
|
9
10
|
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
10
|
-
const CharacterCount = ({ value, maxlength,
|
|
11
|
+
const CharacterCount = ({ value, maxlength, theme }) => {
|
|
11
12
|
if (maxlength == null) {
|
|
12
13
|
return;
|
|
13
14
|
}
|
|
14
15
|
const length = value.length;
|
|
15
|
-
|
|
16
|
-
const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
|
|
17
|
-
return (h("div", { class: "duet-character-count" }, h("duet-caption", { margin: "none", theme: theme, size: "small" }, h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), h("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
16
|
+
return (h("div", { class: "duet-character-count" }, h("duet-caption", { margin: "none", theme: theme, size: "small" }, h("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
18
17
|
};
|
|
19
18
|
/**
|
|
20
19
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
@@ -30,11 +29,13 @@ export class DuetTextarea {
|
|
|
30
29
|
this.labelId = createID("DuetLabel");
|
|
31
30
|
this.errorId = createID("DuetError");
|
|
32
31
|
this.characterCountId = createID("DuetCharacterCount");
|
|
32
|
+
this.visuallyHiddenCounterDebounceMS = 1000;
|
|
33
33
|
this.disallowPatternRegex = null;
|
|
34
|
-
this.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
this.charactersRemainingLabel = {
|
|
35
|
+
// The comma in Finnish is to prevent use of partitive case for remaining
|
|
36
|
+
fi: "{remaining}, merkkiä jäljellä {max}{postfix}.",
|
|
37
|
+
en: "{remaining} characters remaining out of {max}.",
|
|
38
|
+
sv: "{remaining} tecken kvar av {max}.",
|
|
38
39
|
};
|
|
39
40
|
/**
|
|
40
41
|
* Component event handling.
|
|
@@ -67,15 +68,23 @@ export class DuetTextarea {
|
|
|
67
68
|
});
|
|
68
69
|
};
|
|
69
70
|
this.handleFocus = (ev) => {
|
|
70
|
-
if (this.counter) {
|
|
71
|
-
this.hiddenCounterLabel.textContent = `${formatNumber(Math.max(this.maxlength - this.value.length, 0))}/${formatNumber(this.maxlength)} ${this.counterLabel}`;
|
|
72
|
-
}
|
|
73
71
|
this.duetFocus.emit({
|
|
74
72
|
originalEvent: ev,
|
|
75
73
|
value: this.value,
|
|
76
74
|
component: "duet-textarea",
|
|
77
75
|
});
|
|
78
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* When the character limit has been reached and key is pressed, switch the
|
|
79
|
+
* visually hidden label temprorily to empty so it is re-read.
|
|
80
|
+
*/
|
|
81
|
+
this.handleKeyDown = () => {
|
|
82
|
+
var _a;
|
|
83
|
+
if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === this.maxlength) {
|
|
84
|
+
this.visuallyHiddenCounterText = "";
|
|
85
|
+
setTimeout(() => this.updateVisuallyHiddenCounterText(), 10);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
79
88
|
this.getDescribedBy = () => {
|
|
80
89
|
const describedBy = [];
|
|
81
90
|
if (this.isCaptionVisible && this.topCaptionId) {
|
|
@@ -87,11 +96,13 @@ export class DuetTextarea {
|
|
|
87
96
|
if (this.error) {
|
|
88
97
|
describedBy.push(this.errorId);
|
|
89
98
|
}
|
|
90
|
-
if (this.counter) {
|
|
99
|
+
if (this.counter && this.maxlength) {
|
|
91
100
|
describedBy.push(this.characterCountId);
|
|
92
101
|
}
|
|
93
102
|
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
94
103
|
};
|
|
104
|
+
this.language = getLanguage();
|
|
105
|
+
this.visuallyHiddenCounterText = undefined;
|
|
95
106
|
this.margin = "auto";
|
|
96
107
|
this.accessibleActiveDescendant = undefined;
|
|
97
108
|
this.accessibleAutocomplete = undefined;
|
|
@@ -124,7 +135,7 @@ export class DuetTextarea {
|
|
|
124
135
|
this.value = "";
|
|
125
136
|
this.disallowPattern = null;
|
|
126
137
|
this.counter = false;
|
|
127
|
-
this.counterLabel =
|
|
138
|
+
this.counterLabel = "";
|
|
128
139
|
}
|
|
129
140
|
/**
|
|
130
141
|
* This is a proxy for the enclosed native textarea's validity
|
|
@@ -132,6 +143,11 @@ export class DuetTextarea {
|
|
|
132
143
|
get validity() {
|
|
133
144
|
return this.nativeInput.validity;
|
|
134
145
|
}
|
|
146
|
+
valueChange(newValue, oldValue) {
|
|
147
|
+
if (newValue !== oldValue) {
|
|
148
|
+
debounce(() => this.updateVisuallyHiddenCounterText(), this.visuallyHiddenCounterDebounceMS)();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
135
151
|
disallowedPatternChange() {
|
|
136
152
|
this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "gu") : null;
|
|
137
153
|
}
|
|
@@ -142,19 +158,22 @@ export class DuetTextarea {
|
|
|
142
158
|
inheritGlobalTheme(this);
|
|
143
159
|
this.disallowedPatternChange();
|
|
144
160
|
this.isCaptionVisible = !!this.caption;
|
|
161
|
+
this.updateVisuallyHiddenCounterText();
|
|
145
162
|
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
146
163
|
if (this.counter && this.maxlength == null) {
|
|
147
164
|
console.warn("[DUET WARNING]: counter will only take effect if maxlength is set");
|
|
148
165
|
}
|
|
149
166
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
167
|
+
updateVisuallyHiddenCounterText() {
|
|
168
|
+
var _a;
|
|
169
|
+
const remaining = formatNumber(Math.max(this.maxlength - (((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0), 0));
|
|
170
|
+
// postfix is used only in Finnish
|
|
171
|
+
// with "a" for full hundreds or numbers ending with 2, 3, 6, or 8; with "ä" otherwise
|
|
172
|
+
const postfix = this.maxlength % 100 === 0 || [2, 3, 6, 8].includes(this.maxlength % 10) ? ":sta" : ":stä";
|
|
173
|
+
this.visuallyHiddenCounterText = this.charactersRemainingLabel[this.language]
|
|
174
|
+
.replace("{remaining}", remaining)
|
|
175
|
+
.replace("{max}", formatNumber(this.maxlength))
|
|
176
|
+
.replace("{postfix}", postfix);
|
|
158
177
|
}
|
|
159
178
|
/**
|
|
160
179
|
* Sets focus on the specified `duet-textarea`. Use this method instead of the global
|
|
@@ -182,9 +201,7 @@ export class DuetTextarea {
|
|
|
182
201
|
"duet-label-hidden": this.labelHidden,
|
|
183
202
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
184
203
|
"has-error": !!this.error,
|
|
185
|
-
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter &&
|
|
186
|
-
this.hiddenCounterLabel = el;
|
|
187
|
-
} })))));
|
|
204
|
+
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
|
|
188
205
|
}
|
|
189
206
|
static get is() { return "duet-textarea"; }
|
|
190
207
|
static get encapsulation() { return "scoped"; }
|
|
@@ -884,19 +901,25 @@ export class DuetTextarea {
|
|
|
884
901
|
"optional": false,
|
|
885
902
|
"docs": {
|
|
886
903
|
"tags": [{
|
|
887
|
-
"name": "
|
|
888
|
-
"text": "
|
|
904
|
+
"name": "deprecated",
|
|
905
|
+
"text": ", the visually hidden counter label is no longer changeable"
|
|
889
906
|
}],
|
|
890
|
-
"text": "
|
|
907
|
+
"text": ""
|
|
891
908
|
},
|
|
892
909
|
"getter": false,
|
|
893
910
|
"setter": false,
|
|
894
911
|
"attribute": "counter-label",
|
|
895
912
|
"reflect": false,
|
|
896
|
-
"defaultValue": "
|
|
913
|
+
"defaultValue": "\"\""
|
|
897
914
|
}
|
|
898
915
|
};
|
|
899
916
|
}
|
|
917
|
+
static get states() {
|
|
918
|
+
return {
|
|
919
|
+
"language": {},
|
|
920
|
+
"visuallyHiddenCounterText": {}
|
|
921
|
+
};
|
|
922
|
+
}
|
|
900
923
|
static get events() {
|
|
901
924
|
return [{
|
|
902
925
|
"method": "duetInput",
|
|
@@ -1016,6 +1039,9 @@ export class DuetTextarea {
|
|
|
1016
1039
|
static get elementRef() { return "element"; }
|
|
1017
1040
|
static get watchers() {
|
|
1018
1041
|
return [{
|
|
1042
|
+
"propName": "value",
|
|
1043
|
+
"methodName": "valueChange"
|
|
1044
|
+
}, {
|
|
1019
1045
|
"propName": "disallowPattern",
|
|
1020
1046
|
"methodName": "disallowedPatternChange"
|
|
1021
1047
|
}];
|
|
@@ -31,11 +31,11 @@ export class DuetToolbar {
|
|
|
31
31
|
: this.variation === "secondary"
|
|
32
32
|
? "secondary"
|
|
33
33
|
: "default";
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '1f30018caa1ed9d7f4d378a051fd8bbe333bc53e' }, h("nav", { key: '3d6ddc1b3da13b175f0a057802a09f1032e6ac06', class: {
|
|
35
35
|
"duet-toolbar": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
[variation]: true,
|
|
38
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
38
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '621615924df868e74fc8c182def1f137a779a4d3', class: "container" }, h("div", { key: 'ffd68df78a9a03424dec5e9a9b2b8b60d8ac9096', class: "list", role: "list" }, h("slot", { key: 'b91e3fe5fd8f937542d0427bb2f01e0d9feccd90', name: "left" })), h("div", { key: '5cac1ab6c57c2640caaa4ec05a85437be418948f', class: "list", role: "list" }, h("slot", { key: '7d063c0c0c5116cd732ded57ddb5209db74c4300', name: "right" }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-toolbar"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,17 +57,17 @@ export class DuetToolbarItem {
|
|
|
57
57
|
: this.variation === "secondary"
|
|
58
58
|
? "secondary"
|
|
59
59
|
: "default";
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '3a144bb5536e58f8e8b23f5dcb8541a9a31ea19e', role: "listitem" }, this.badge && h("duet-indicator", { key: '4e8f369971750968bf875910d08a0ab048a369cf', variation: "change" }), h(TagName, { key: 'da2534aec8f4332bec906a8f11373b97e669a300', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
61
61
|
"duet-toolbar-item": true,
|
|
62
62
|
"duet-theme-turva": this.theme === "turva",
|
|
63
63
|
active: this.active,
|
|
64
64
|
[variation]: true,
|
|
65
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: '
|
|
65
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("div", { key: '29ce6cf6c5163bb81f12c05f0a29a15ff1cf6937', class: "duet-toolbar-icon" }, h("duet-icon", { key: '2059b3a3f7ea4ad1b9b0cf24a15c4dfff8e8a81c', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: '1c8c0c6d3efce259d7ddccf8a2f31a427de4f384', class: "duet-toolbar-badge" }))), h("slot", { key: '143b21daa933d9e82a450e4c169241c80eb8835c' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: 'de6ed399d3b12a2506684908dd72e4bd9034eb4a', class: "duet-toolbar-icon" }, h("duet-icon", { key: '85c8e5646ce7823eeb494953889efd205119f9f2', class: {
|
|
66
66
|
"trailing-icon": !!this.trailingIcon,
|
|
67
67
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
68
68
|
"external-icon": !!(this.url && this.external),
|
|
69
69
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
70
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '
|
|
70
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '4954069c44b11c22e712ce3de525e321de83d5b5', class: "duet-toolbar-badge" }))))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "duet-toolbar-item"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-1385415a.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-2967d610.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-cb129f84.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-f5035d0a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { h } from './p-993aea39.js';
|
|
7
7
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-fe478fac.js';
|
|
8
8
|
import { p as parsePossibleJSON } from './p-9c3c64b9.js';
|
|
9
|
-
import { g as getColorByName, p as postfixTheme } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { g as getColorByName, p as postfixTheme } from './p-856c21c2.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-b978a5e4.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-9dd5b1ab.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -17,7 +17,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
17
17
|
h("img", Object.assign({}, img))));
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\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}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\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-grow: 1;\n flex-direction: column;\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\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 .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius:
|
|
20
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\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[alignment=form-distribute] > :host:last-of-type:not(:last-child) {\n margin-right: 36px !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}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\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-grow: 1;\n flex-direction: column;\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\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 .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius: 12px;\n}\n:host(.duet-theme-turva2) .duet-banner .visual .brand-shape {\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20width%3D%22540%22%20height%3D%2258%22%20viewBox%3D%220%200%20540%2058%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M540%2018.0729L540%2057.6749H0L0.000139455%2011.2563C0.000139455%202.85822%208.31858%20-2.59156%2015.3307%201.26796C33.6821%2011.3367%2055.6983%2020.0831%2080.3633%2027.3465C134.438%2043.276%20201.239%2052.0939%20270%2052.0939C338.761%2052.0939%20405.572%2043.276%20459.637%2027.3465C484.302%2020.0742%20506.318%2011.3277%20524.669%201.25902C531.682%20-2.59156%20540%202.85822%20540%2011.2563V18.0729Z%22%20fill%3D%22%23FBEBE1%22%2F%3E%0A%3C%2Fsvg%3E%0A\");\n mask-repeat: no-repeat;\n mask-position: bottom;\n mask-size: contain;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n@container duet-banner-container (min-width: 486px) {\n :host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .image-container, :host(.duet-theme-turva2) .duet-banner.size-large .visual .image-container {\n padding: 20px;\n padding-right: 0;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .image, :host(.duet-theme-turva2) .duet-banner.size-large .visual .image {\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .brand-shape, :host(.duet-theme-turva2) .duet-banner.size-large .visual .brand-shape {\n display: none;\n }\n}";
|
|
21
21
|
const DuetBannerStyle0 = duetBannerCss;
|
|
22
22
|
|
|
23
23
|
const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H {
|
|
@@ -58,7 +58,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
58
58
|
this.getBackgroundColor = () => {
|
|
59
59
|
if (this.theme === "turva" && this.backgroundColor === "primary-lighter") {
|
|
60
60
|
if (this.isTurva2()) {
|
|
61
|
-
return "
|
|
61
|
+
return getColorByName("turva-nude-50", this.theme);
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
64
|
return getColorByName("gray-lighter", this.theme);
|
|
@@ -75,6 +75,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
75
75
|
this.textColor = "secondary";
|
|
76
76
|
this.size = "large";
|
|
77
77
|
this.image = "";
|
|
78
|
+
this.imageAlt = undefined;
|
|
78
79
|
this.sources = undefined;
|
|
79
80
|
this.icon = "";
|
|
80
81
|
this.headingLevel = "h2";
|
|
@@ -110,17 +111,23 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
110
111
|
backgroundColor,
|
|
111
112
|
};
|
|
112
113
|
const pictureSource = {
|
|
113
|
-
img: {
|
|
114
|
+
img: {
|
|
115
|
+
src: this.image,
|
|
116
|
+
alt: this.imageAlt || "",
|
|
117
|
+
loading: "lazy",
|
|
118
|
+
class: "image",
|
|
119
|
+
role: this.imageAlt ? undefined : "presentation",
|
|
120
|
+
},
|
|
114
121
|
sources: parsePossibleJSON(this.sources),
|
|
115
122
|
};
|
|
116
|
-
return (h$1(Host, { key: '
|
|
123
|
+
return (h$1(Host, { key: '38f57d004daf85f022fb1e8289a00d63dbe78a31', class: { "duet-m-0": this.margin === "none" } }, h$1("aside", { key: '0667b2510bdf502f24178e226897239cc0905843', class: {
|
|
117
124
|
"duet-banner": true,
|
|
118
125
|
"duet-theme-turva": this.theme === "turva",
|
|
119
126
|
[this.currentSize]: true,
|
|
120
127
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
121
128
|
"size-large": this.size === "large",
|
|
122
129
|
"no-image": !this.image,
|
|
123
|
-
}, style: bannerStyles }, h$1("div", { key: '
|
|
130
|
+
}, style: bannerStyles }, h$1("div", { key: 'b7266d2d9986afecfc9fa233950090500ac811b4', class: "visual" }, h$1("div", { key: 'a3b71e01ad58dd30a19413c2daad81fc0e5f617d', class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({ key: '8f687c33222c1f483c4354506729bd508c784f0f' }, pictureSource))), 1 > 2 , h$1("div", { key: 'cab35290e96c82eaee8605e89646a239de7396b0', style: bannerStyles, class: "brand-shape" })), h$1("div", { key: 'b05d73b8fa653e30db6e5310c017b2890ba0d572', class: "content" }, this.hasHeadingSlot && (h$1("div", { key: 'b5cb84dbabf050477d224f323b18b25d26e65a42', class: "heading" }, h$1("duet-heading", { key: '581d34f383f4679e06407583eadeacc0e2f651b4', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h$1("span", { key: '285c1d82691487108eb3e52c8df65eb495b803dc' }, h$1("slot", { key: 'ba3c94dfe9dfc6900d41fe31ecd716e4c08bbaaa', name: "heading" }))))), this.hasDescriptionSlot && (h$1("div", { key: 'f9d06d854f0dab9e11c1945436eca5757696818d', class: "description", style: { color } }, h$1("slot", { key: '72d05e038ee1a75f3c2ff6d353c0cc7891f00e06', name: "description" }))), this.hasActionSlot && (h$1("div", { key: '6f27c979244fd9093fbe55d3fb375f7b6c18711c', class: "action" }, h$1("slot", { key: '82532736b2e53a5020afc769526a0b824716cd66', name: "action" })))))));
|
|
124
131
|
}
|
|
125
132
|
get element() { return this; }
|
|
126
133
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -133,6 +140,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
133
140
|
"textColor": [1, "text-color"],
|
|
134
141
|
"size": [1025],
|
|
135
142
|
"image": [1],
|
|
143
|
+
"imageAlt": [1, "image-alt"],
|
|
136
144
|
"sources": [1],
|
|
137
145
|
"icon": [1],
|
|
138
146
|
"headingLevel": [1, "heading-level"],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f5035d0a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8db11326.js';
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$3 } from './p-9dd5b1ab.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-cee4b98f.js';
|
|
9
9
|
|
|
10
10
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
11
11
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f5035d0a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { g as getLocaleString } from './p-d9b2e80e.js';
|
|
7
|
-
import { g as getColorByName } from './p-
|
|
7
|
+
import { g as getColorByName } from './p-856c21c2.js';
|
|
8
8
|
|
|
9
9
|
const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px 0 20px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;align-items:center;justify-content:flex-start;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.footer{background:rgb(230, 23, 64)}";
|
|
10
10
|
const DuetBreadcrumbsStyle0 = duetBreadcrumbsCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-f7d27c78.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f5035d0a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-fe478fac.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-9dd5b1ab.js';
|
|
8
8
|
|
|
9
9
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-callout.duet-theme-turva .author,:host(.duet-theme-turva2) .duet-callout.duet-theme-turva blockquote{color:rgb(23, 42, 59)}";
|
|
10
10
|
const DuetCalloutStyle0 = duetCalloutCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-4c473784.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-f5035d0a.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8db11326.js';
|
|
8
8
|
import { g as getElementsFromNamedSlot } from './p-fe478fac.js';
|
|
9
9
|
import { s as sanitizeString } from './p-9c3c64b9.js';
|
|
10
|
-
import { g as getColorByName } from './p-
|
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { g as getColorByName } from './p-856c21c2.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './p-9dd5b1ab.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-cee4b98f.js';
|
|
13
13
|
|
|
14
14
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
15
15
|
const duetBlock = "div";
|
|
16
16
|
|
|
17
17
|
var actionArrowUp={"title":"action-arrow-up","tags":"action arrow up caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z\"/></svg>"};
|
|
18
18
|
|
|
19
|
-
const duetCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;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;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva,.duet-theme-turva2 .duet-card:focus,.duet-card:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transform:scale(1.0001);transition:transform 300ms ease}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transform:translateY(1px);transition:none}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:rgb(253, 247, 242) !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:rgb(251, 225, 209)}";
|
|
19
|
+
const duetCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;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;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva,.duet-theme-turva2 .duet-card:focus,.duet-card:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-collapsed .duet-card-heading{border-radius:var(--duet-card-border-radius)}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transform:scale(1.0001);transition:transform 300ms ease}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transform:translateY(1px);transition:none}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:rgb(253, 247, 242) !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:rgb(245, 246, 247)}";
|
|
20
20
|
const DuetCardStyle0 = duetCardCss;
|
|
21
21
|
|
|
22
22
|
const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
@@ -53,6 +53,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
53
53
|
this.icon = undefined;
|
|
54
54
|
this.iconColor = "currentColor";
|
|
55
55
|
this.image = undefined;
|
|
56
|
+
this.imageAlt = undefined;
|
|
56
57
|
this.background = "gray-lightest";
|
|
57
58
|
this.padding = "small";
|
|
58
59
|
this.margin = "auto";
|
|
@@ -111,10 +112,10 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
111
112
|
const styles = {
|
|
112
113
|
backgroundColor: getColorByName(this.background),
|
|
113
114
|
};
|
|
114
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: 'd92cd6fb922f1165e1d341221ac3f5433252606c', class: {
|
|
115
116
|
"duet-m-0": this.margin === "none",
|
|
116
117
|
"duet-card-info": this.variation === "info",
|
|
117
|
-
} }, h(TagName, { key: '
|
|
118
|
+
} }, h(TagName, { key: '7f870fc5061cd48c3464bd19ecd780fbb33f3e78', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
118
119
|
"duet-card": true,
|
|
119
120
|
[this.padding]: true,
|
|
120
121
|
[this.variation]: true,
|
|
@@ -124,7 +125,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
124
125
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
125
126
|
"duet-card-has-icon": !!this.icon,
|
|
126
127
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
127
|
-
} }, this.image && (h("div", { key: '
|
|
128
|
+
} }, this.image && (h("div", { key: 'fd6822d5747d2882842c9c2392b28d8b7a2693f2', class: "duet-card-image-mask" }, h("img", { key: 'a1952cf1f82a4f8593130d9990ef27a2a982e5d8', src: this.image, class: "duet-card-image", loading: "lazy", alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'a11237f14582fad87aaab15e4dccad5c6ffd7b0b', class: "duet-card-content", id: this.cardId }, h("slot", { key: '80d250aa9dbb0f39a7683c6d2a1e1cdaca75cdd8' }), this.hasFooter && (h("div", { key: '87b27d7c69e3d5f3ab7bdb75cc76a1a11900ef0f', class: "duet-card-footer" }, h("slot", { key: '1212e0d9a33349cf68c7b667069077e02ee30197', name: "footer" })))))));
|
|
128
129
|
}
|
|
129
130
|
get element() { return this; }
|
|
130
131
|
static get style() { return DuetCardStyle0; }
|
|
@@ -140,6 +141,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
140
141
|
"icon": [1],
|
|
141
142
|
"iconColor": [513, "icon-color"],
|
|
142
143
|
"image": [1],
|
|
144
|
+
"imageAlt": [1, "image-alt"],
|
|
143
145
|
"background": [1],
|
|
144
146
|
"padding": [1],
|
|
145
147
|
"margin": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-3caafb9d.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|