@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
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f5035d0a.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-3757c660.js';
|
|
6
|
+
import { a as DuetStringsExternalDefaults, b as DuetStringsLoadingDefaults } from './p-b7a93f1c.js';
|
|
7
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
|
|
8
|
+
import { g as getColorByName } from './p-856c21c2.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-9dd5b1ab.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-2b66b8d4.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-32d33753.js';
|
|
12
|
+
|
|
13
|
+
const duetButtonCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square):last-of-type:not(:last-child){margin-right:12px !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:4px !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:2px !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.square.duet-x-small):last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-button:focus,.duet-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva2{outline-color:rgb(120, 145, 164)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;outline-color:rgb(222, 224, 228) !important;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;background:transparent !important;border-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}";
|
|
14
|
+
const DuetButtonStyle0 = duetButtonCss;
|
|
15
|
+
|
|
16
|
+
const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
this.__registerHost();
|
|
20
|
+
this.__attachShadow();
|
|
21
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
22
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
23
|
+
this.proxyButtonSetUp = () => {
|
|
24
|
+
const slottedElement = this.element.querySelector("button[slot=proxybutton]");
|
|
25
|
+
const button = slottedElement || document.createElement("button");
|
|
26
|
+
if (this.url) {
|
|
27
|
+
if (slottedElement) {
|
|
28
|
+
slottedElement.remove();
|
|
29
|
+
}
|
|
30
|
+
this.proxyButton = null;
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
button.setAttribute("slot", "proxybutton");
|
|
34
|
+
button.style.display = "none";
|
|
35
|
+
button.type = this.getButtonType();
|
|
36
|
+
button.disabled = this.disabled;
|
|
37
|
+
button.setAttribute("form", this.form);
|
|
38
|
+
if (!this.form) {
|
|
39
|
+
button.removeAttribute("form");
|
|
40
|
+
}
|
|
41
|
+
// attributes should be removed in cases where name/value is not set
|
|
42
|
+
if (this.name != null) {
|
|
43
|
+
button.name = this.name;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
button.removeAttribute("name");
|
|
47
|
+
}
|
|
48
|
+
if (this.value != null) {
|
|
49
|
+
button.value = this.value;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
button.removeAttribute("value");
|
|
53
|
+
}
|
|
54
|
+
if (!slottedElement) {
|
|
55
|
+
this.element.appendChild(button);
|
|
56
|
+
}
|
|
57
|
+
this.proxyButton = button;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Component event handling.
|
|
61
|
+
*/
|
|
62
|
+
this.handleClick = (ev) => {
|
|
63
|
+
// If this button wants to specifically submit a form
|
|
64
|
+
// climb up the dom to see if we're in a <form>
|
|
65
|
+
// and if so, then use JS to submit it.
|
|
66
|
+
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
67
|
+
if (this.submit && !this.url && (this.element.closest("form") || this.form)) {
|
|
68
|
+
ev.stopPropagation();
|
|
69
|
+
ev.preventDefault();
|
|
70
|
+
this.proxyButton.click();
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
this.onFocus = () => {
|
|
74
|
+
this.duetFocus.emit();
|
|
75
|
+
};
|
|
76
|
+
this.onBlur = () => {
|
|
77
|
+
this.duetBlur.emit();
|
|
78
|
+
};
|
|
79
|
+
this.accessibleLabel = undefined;
|
|
80
|
+
this.accessibleControls = undefined;
|
|
81
|
+
this.accessiblePopup = "false";
|
|
82
|
+
this.accessibleActiveDescendant = undefined;
|
|
83
|
+
this.accessibleOwns = undefined;
|
|
84
|
+
this.accessibleDescribedBy = undefined;
|
|
85
|
+
this.accessibleDetails = undefined;
|
|
86
|
+
this.accessibleLabelledBy = undefined;
|
|
87
|
+
this.accessibleDescription = undefined;
|
|
88
|
+
this.accessibleExpanded = undefined;
|
|
89
|
+
this.accessiblePressed = undefined;
|
|
90
|
+
this.loading = false;
|
|
91
|
+
this.variation = "default";
|
|
92
|
+
this.negative = false;
|
|
93
|
+
this.theme = "";
|
|
94
|
+
this.margin = "auto";
|
|
95
|
+
this.form = undefined;
|
|
96
|
+
this.padding = "auto";
|
|
97
|
+
this.centerText = false;
|
|
98
|
+
this.wrapping = "auto";
|
|
99
|
+
this.expand = false;
|
|
100
|
+
this.fixed = false;
|
|
101
|
+
this.disabled = false;
|
|
102
|
+
this.name = undefined;
|
|
103
|
+
this.value = undefined;
|
|
104
|
+
this.identifier = undefined;
|
|
105
|
+
this.submit = false;
|
|
106
|
+
this.external = false;
|
|
107
|
+
this.language = getLanguage();
|
|
108
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
109
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
110
|
+
this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
|
|
111
|
+
this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
|
|
112
|
+
this.icon = "";
|
|
113
|
+
this.color = "";
|
|
114
|
+
this.iconRight = false;
|
|
115
|
+
this.iconSize = "medium";
|
|
116
|
+
this.size = "medium";
|
|
117
|
+
this.iconOnly = false;
|
|
118
|
+
this.url = undefined;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Component lifecycle events.
|
|
122
|
+
*/
|
|
123
|
+
componentWillLoad() {
|
|
124
|
+
inheritGlobalTheme(this);
|
|
125
|
+
if (this.url && this.external && this.icon) {
|
|
126
|
+
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
connectedCallback() {
|
|
130
|
+
connectLanguageChangeObserver(this, [
|
|
131
|
+
{
|
|
132
|
+
prop: "accessibleLabelExternal",
|
|
133
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
prop: "accessibleLabelLoading",
|
|
137
|
+
defaults: "accessibleLabelLoadingDefaults",
|
|
138
|
+
},
|
|
139
|
+
]);
|
|
140
|
+
}
|
|
141
|
+
disconnectedCallback() {
|
|
142
|
+
disconnectLanguageChangeObserver(this);
|
|
143
|
+
}
|
|
144
|
+
componentDidRender() {
|
|
145
|
+
if (this.disabled === false) {
|
|
146
|
+
this.element.removeAttribute("disabled");
|
|
147
|
+
}
|
|
148
|
+
if (this.submit) {
|
|
149
|
+
this.proxyButtonSetUp();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
getButtonType() {
|
|
153
|
+
return this.submit ? "submit" : "button";
|
|
154
|
+
}
|
|
155
|
+
getButtonIconSize() {
|
|
156
|
+
switch (this.iconSize) {
|
|
157
|
+
case "small":
|
|
158
|
+
return "small";
|
|
159
|
+
case "medium-small":
|
|
160
|
+
return "medium-small";
|
|
161
|
+
case "medium":
|
|
162
|
+
return "medium";
|
|
163
|
+
case "large":
|
|
164
|
+
return "large";
|
|
165
|
+
default:
|
|
166
|
+
return "medium";
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
171
|
+
* `button.focus()`.
|
|
172
|
+
*/
|
|
173
|
+
async setFocus(options) {
|
|
174
|
+
if (this.nativeButton) {
|
|
175
|
+
this.nativeButton.focus(options);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* render() function.
|
|
180
|
+
* Always the last one in the class.
|
|
181
|
+
*/
|
|
182
|
+
render() {
|
|
183
|
+
var _a, _b;
|
|
184
|
+
const isExternalLink = this.external && this.url;
|
|
185
|
+
// enforce consistency for external links
|
|
186
|
+
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
187
|
+
const iconRight = isExternalLink ? true : this.iconRight;
|
|
188
|
+
const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
|
|
189
|
+
"duet-button-icon": true,
|
|
190
|
+
left: !iconRight,
|
|
191
|
+
right: iconRight,
|
|
192
|
+
[this.getButtonIconSize()]: true,
|
|
193
|
+
} }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
|
|
194
|
+
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
195
|
+
const commonProps = {
|
|
196
|
+
onFocus: this.onFocus,
|
|
197
|
+
onBlur: this.onBlur,
|
|
198
|
+
ref: button => (this.nativeButton = button),
|
|
199
|
+
id: this.identifier,
|
|
200
|
+
class: {
|
|
201
|
+
"duet-m-0": this.margin === "none",
|
|
202
|
+
"duet-p-0": this.padding === "none",
|
|
203
|
+
"duet-no-wrap": this.wrapping === "none",
|
|
204
|
+
"duet-button": true,
|
|
205
|
+
"duet-button-is-small": this.size === "small",
|
|
206
|
+
[`duet-button-size-${size}`]: true,
|
|
207
|
+
"duet-button-icon-only": this.iconOnly,
|
|
208
|
+
"duet-button-text-center": this.centerText,
|
|
209
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
210
|
+
[this.variation]: true,
|
|
211
|
+
"input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
|
|
212
|
+
disabled: this.disabled,
|
|
213
|
+
icon: !!icon,
|
|
214
|
+
"icon-right": iconRight,
|
|
215
|
+
"icon-left": !!icon && !iconRight,
|
|
216
|
+
[this.getButtonIconSize()]: true,
|
|
217
|
+
},
|
|
218
|
+
"aria-controls": this.accessibleControls,
|
|
219
|
+
"aria-label": this.accessibleLabel,
|
|
220
|
+
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
221
|
+
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
222
|
+
"aria-owns": this.accessibleOwns,
|
|
223
|
+
"aria-describedby": this.accessibleDescribedBy,
|
|
224
|
+
"aria-labelledby": this.accessibleLabelledBy,
|
|
225
|
+
"aria-details": this.accessibleDetails,
|
|
226
|
+
"aria-description": this.accessibleDescription,
|
|
227
|
+
};
|
|
228
|
+
return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
|
|
229
|
+
"duet-m-0": this.margin === "none",
|
|
230
|
+
"duet-small": this.size === "small",
|
|
231
|
+
"duet-x-small": this.size === "x-small",
|
|
232
|
+
"duet-fixed": this.fixed,
|
|
233
|
+
"duet-expand": this.expand,
|
|
234
|
+
[this.variation]: true,
|
|
235
|
+
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
236
|
+
} }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
|
|
237
|
+
"duet-button-container": true,
|
|
238
|
+
"duet-button-is-loading": this.loading,
|
|
239
|
+
"duet-theme-turva": this.theme === "turva",
|
|
240
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
241
|
+
[this.variation]: true,
|
|
242
|
+
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
|
|
243
|
+
}
|
|
244
|
+
get element() { return this; }
|
|
245
|
+
static get style() { return DuetButtonStyle0; }
|
|
246
|
+
}, [1, "duet-button", {
|
|
247
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
248
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
249
|
+
"accessiblePopup": [1, "accessible-popup"],
|
|
250
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
251
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
252
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
253
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
254
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
255
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
256
|
+
"accessibleExpanded": [4, "accessible-expanded"],
|
|
257
|
+
"accessiblePressed": [4, "accessible-pressed"],
|
|
258
|
+
"loading": [4],
|
|
259
|
+
"variation": [1],
|
|
260
|
+
"negative": [4],
|
|
261
|
+
"theme": [1025],
|
|
262
|
+
"margin": [1],
|
|
263
|
+
"form": [1],
|
|
264
|
+
"padding": [1],
|
|
265
|
+
"centerText": [4, "center-text"],
|
|
266
|
+
"wrapping": [1],
|
|
267
|
+
"expand": [4],
|
|
268
|
+
"fixed": [4],
|
|
269
|
+
"disabled": [516],
|
|
270
|
+
"name": [1],
|
|
271
|
+
"value": [1],
|
|
272
|
+
"identifier": [1],
|
|
273
|
+
"submit": [516],
|
|
274
|
+
"external": [4],
|
|
275
|
+
"language": [1537],
|
|
276
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
277
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
278
|
+
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
279
|
+
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
280
|
+
"icon": [1],
|
|
281
|
+
"color": [1],
|
|
282
|
+
"iconRight": [4, "icon-right"],
|
|
283
|
+
"iconSize": [1, "icon-size"],
|
|
284
|
+
"size": [1],
|
|
285
|
+
"iconOnly": [4, "icon-only"],
|
|
286
|
+
"url": [513],
|
|
287
|
+
"setFocus": [64]
|
|
288
|
+
}]);
|
|
289
|
+
function defineCustomElement() {
|
|
290
|
+
if (typeof customElements === "undefined") {
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
294
|
+
components.forEach(tagName => { switch (tagName) {
|
|
295
|
+
case "duet-button":
|
|
296
|
+
if (!customElements.get(tagName)) {
|
|
297
|
+
customElements.define(tagName, DuetButton);
|
|
298
|
+
}
|
|
299
|
+
break;
|
|
300
|
+
case "duet-icon":
|
|
301
|
+
if (!customElements.get(tagName)) {
|
|
302
|
+
defineCustomElement$3();
|
|
303
|
+
}
|
|
304
|
+
break;
|
|
305
|
+
case "duet-spinner":
|
|
306
|
+
if (!customElements.get(tagName)) {
|
|
307
|
+
defineCustomElement$2();
|
|
308
|
+
}
|
|
309
|
+
break;
|
|
310
|
+
case "duet-visually-hidden":
|
|
311
|
+
if (!customElements.get(tagName)) {
|
|
312
|
+
defineCustomElement$1();
|
|
313
|
+
}
|
|
314
|
+
break;
|
|
315
|
+
} });
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export { DuetButton as D, defineCustomElement as d };
|