@duetds/components 9.2.4 → 9.2.6
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 +156 -94
- package/lib/cjs/{app-globals-452e6cb2.js → app-globals-78dc4702.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +50 -40
- package/lib/cjs/duet-callout.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +19 -10
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip_3.cjs.entry.js +28 -16
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +31 -18
- package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +12 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +27 -18
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-fa1119ad.js → errorcodes.utils-e044ec9a.js} +1 -1
- package/lib/cjs/{focus-utils-deb8c93f.js → focus-utils-a25e1b26.js} +1 -1
- package/lib/cjs/{index-d9b6d20e.js → index-efe7ea48.js} +2 -2
- package/lib/cjs/{language-utils-dbe5d8aa.js → language-utils-041b3463.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-39adb320.js → slot-utils-c1e99a43.js} +1 -1
- package/lib/cjs/{token-utils-453a4e75.js → token-utils-12717808.js} +1 -1
- package/lib/cjs/{tokens.module-fcba867f.js → tokens.module-46ddb47a.js} +1 -0
- package/lib/collection/components/duet-button/duet-button.js +65 -45
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +23 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +31 -16
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +6 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-link/duet-link.css +89 -24
- package/lib/collection/components/duet-link/duet-link.js +15 -6
- package/lib/collection/components/duet-notification/duet-notification.css +4 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +9 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +41 -10
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +47 -12
- 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 +4 -4
- 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 +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +7 -5
- package/lib/dist-custom-elements/duet-combobox.js +44 -30
- 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 +17 -17
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +20 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- 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-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 +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +27 -17
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-3b812ded.js → p-02e8f591.js} +6 -6
- package/lib/dist-custom-elements/{p-c87df135.js → p-16c8b661.js} +1 -1
- package/lib/dist-custom-elements/{p-7ead8f48.js → p-247254f4.js} +1 -1
- package/lib/dist-custom-elements/{p-69c07319.js → p-3100da6e.js} +3 -3
- package/lib/dist-custom-elements/{p-18b56e3d.js → p-324773e2.js} +1 -1
- package/lib/dist-custom-elements/{p-e7733e82.js → p-326e709b.js} +8 -8
- package/lib/dist-custom-elements/{p-0875d52d.js → p-44576862.js} +2 -2
- package/lib/dist-custom-elements/{p-0e77715d.js → p-4c179c1e.js} +1 -1
- package/lib/dist-custom-elements/{p-7e2739b2.js → p-5096f482.js} +2 -2
- package/lib/dist-custom-elements/{p-c9787e5e.js → p-561b46f4.js} +3 -3
- package/lib/dist-custom-elements/{p-cd6d3c5d.js → p-583817e7.js} +1 -1
- package/lib/dist-custom-elements/{p-905ec46b.js → p-58f4ac3e.js} +52 -46
- package/lib/dist-custom-elements/{p-cd3e7d26.js → p-5b74ff74.js} +4 -4
- package/lib/dist-custom-elements/{p-1cd26b78.js → p-5d5b0bf3.js} +1 -1
- package/lib/dist-custom-elements/{p-6ecce492.js → p-60125797.js} +1 -1
- package/lib/dist-custom-elements/{p-8b3f67c1.js → p-64ab1e7f.js} +1 -1
- package/lib/dist-custom-elements/{p-d53e4d53.js → p-6fcd56d1.js} +2 -2
- package/lib/dist-custom-elements/{p-ed73a017.js → p-79508a54.js} +2 -2
- package/lib/dist-custom-elements/{p-54fcbd1e.js → p-839fb8d6.js} +25 -12
- package/lib/dist-custom-elements/{p-34992550.js → p-8636a95c.js} +2 -2
- package/lib/dist-custom-elements/{p-b2e2b6dc.js → p-8778bcdf.js} +4 -4
- package/lib/dist-custom-elements/{p-9fa78368.js → p-88ed3495.js} +1 -1
- package/lib/dist-custom-elements/{p-c7c1a1b2.js → p-a9d05a98.js} +1 -1
- package/lib/dist-custom-elements/{p-8da7bd75.js → p-ab0d3de7.js} +5 -5
- package/lib/dist-custom-elements/{p-91c13425.js → p-ab4a29e9.js} +2 -2
- package/lib/dist-custom-elements/{p-e9a7ac8f.js → p-b597eea5.js} +1 -1
- package/lib/dist-custom-elements/{p-9fe78f80.js → p-bfa56fd6.js} +5 -5
- package/lib/dist-custom-elements/{p-d2417cc3.js → p-c14e6ca4.js} +10 -10
- package/lib/dist-custom-elements/{p-ed15e4de.js → p-c92b6a37.js} +18 -9
- package/lib/dist-custom-elements/{p-01dc62e0.js → p-c9b46160.js} +2 -2
- package/lib/dist-custom-elements/{p-87457587.js → p-d44fe5d0.js} +10 -10
- package/lib/dist-custom-elements/{p-152ae732.js → p-d71e24a5.js} +2 -2
- package/lib/dist-custom-elements/{p-a847fd5c.js → p-d84ba8f5.js} +2 -2
- package/lib/dist-custom-elements/{p-18790b2b.js → p-d84f6aae.js} +2 -2
- package/lib/dist-custom-elements/{p-e74a12bb.js → p-da3148b6.js} +2 -2
- package/lib/dist-custom-elements/{p-9b7883f9.js → p-db58dd65.js} +1 -1
- package/lib/dist-custom-elements/{p-e1dea5ff.js → p-dbc0966a.js} +2 -2
- package/lib/dist-custom-elements/{p-6142f327.js → p-ddaf17a4.js} +2 -2
- package/lib/dist-custom-elements/{p-4adfb795.js → p-e1289f43.js} +1 -1
- package/lib/dist-custom-elements/{p-89343aa8.js → p-ec438ba9.js} +2 -2
- package/lib/dist-custom-elements/{p-dfac3130.js → p-f6926397.js} +5 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-6f2ad6b4.system.entry.js → p-008e68b4.system.entry.js} +1 -1
- package/lib/duet/{p-1c426c1d.entry.js → p-03b72e84.entry.js} +1 -1
- package/lib/duet/{p-8270417c.system.entry.js → p-08b2f3dd.system.entry.js} +1 -1
- package/lib/duet/p-08eb8156.entry.js +4 -0
- package/lib/duet/{p-fbbfa934.entry.js → p-092ce0f1.entry.js} +1 -1
- package/lib/duet/{p-60bf0c2e.entry.js → p-0991986c.entry.js} +1 -1
- package/lib/duet/p-0a42e97a.system.entry.js +4 -0
- package/lib/duet/{p-acb9e573.system.entry.js → p-0adec9cf.system.entry.js} +1 -1
- package/lib/duet/{p-210280af.entry.js → p-0b2b9fa2.entry.js} +1 -1
- package/lib/duet/{p-db2186c9.entry.js → p-0ebc6e34.entry.js} +1 -1
- package/lib/duet/p-1004af75.js +4 -0
- package/lib/duet/{p-3d9a63aa.js → p-10c530d1.js} +1 -1
- package/lib/duet/{p-87ed537a.entry.js → p-11fb9dc4.entry.js} +1 -1
- package/lib/duet/{p-45271738.entry.js → p-18d7d777.entry.js} +1 -1
- package/lib/duet/{p-8d76cbf3.system.entry.js → p-1b538c45.system.entry.js} +1 -1
- package/lib/duet/{p-7549ad4b.entry.js → p-1d1addfe.entry.js} +1 -1
- package/lib/duet/{p-9f714fa0.system.entry.js → p-1e3d71f9.system.entry.js} +1 -1
- package/lib/duet/{p-60b0947c.entry.js → p-1eb3f237.entry.js} +1 -1
- package/lib/duet/{p-c0bbcfcc.system.entry.js → p-1fa48eac.system.entry.js} +1 -1
- package/lib/duet/{p-a5849a0b.entry.js → p-200ce847.entry.js} +1 -1
- package/lib/duet/{p-1d4135ca.system.entry.js → p-20645770.system.entry.js} +1 -1
- package/lib/duet/{p-6e73f832.system.entry.js → p-207ea7e9.system.entry.js} +1 -1
- package/lib/duet/{p-e319cf5e.system.entry.js → p-23aa27b2.system.entry.js} +1 -1
- package/lib/duet/{p-986a7b1e.system.entry.js → p-266639f9.system.entry.js} +1 -1
- package/lib/duet/{p-391ef0db.entry.js → p-27480faf.entry.js} +1 -1
- package/lib/duet/{p-639fa1be.entry.js → p-29d9ff1e.entry.js} +1 -1
- package/lib/duet/{p-4f6ac285.system.entry.js → p-2aaf03e1.system.entry.js} +1 -1
- package/lib/duet/{p-05b48f49.entry.js → p-2c65fead.entry.js} +1 -1
- package/lib/duet/{p-11c1e43d.system.entry.js → p-2e78b185.system.entry.js} +1 -1
- package/lib/duet/{p-6db9af7a.system.entry.js → p-30598218.system.entry.js} +2 -2
- package/lib/duet/{p-11fcafeb.entry.js → p-377315e2.entry.js} +1 -1
- package/lib/duet/{p-3cf012fb.entry.js → p-3a8d65e6.entry.js} +1 -1
- package/lib/duet/{p-d1e2c9cf.system.entry.js → p-3ac94cc4.system.entry.js} +1 -1
- package/lib/duet/p-3f3bcada.entry.js +4 -0
- package/lib/duet/{p-544cdd2f.system.entry.js → p-421f851f.system.entry.js} +1 -1
- package/lib/duet/{p-9f1da60b.system.entry.js → p-42778d18.system.entry.js} +1 -1
- package/lib/duet/{p-7446f33f.entry.js → p-44156252.entry.js} +1 -1
- package/lib/duet/{p-75f73c8c.entry.js → p-45bb56a8.entry.js} +1 -1
- package/lib/duet/{p-a61c6e59.system.entry.js → p-476b2cf2.system.entry.js} +1 -1
- package/lib/duet/{p-3113b50e.system.entry.js → p-49ca595b.system.entry.js} +1 -1
- package/lib/duet/p-4b961592.entry.js +4 -0
- package/lib/duet/{p-6896514c.system.entry.js → p-4c2d2ce0.system.entry.js} +1 -1
- package/lib/duet/p-4d8ebbe4.entry.js +4 -0
- package/lib/duet/{p-974f67c1.system.entry.js → p-4ec14860.system.entry.js} +1 -1
- package/lib/duet/{p-bf0a3ef8.entry.js → p-4efe4a6c.entry.js} +1 -1
- package/lib/duet/{p-40bc0b7d.system.entry.js → p-50260da1.system.entry.js} +1 -1
- package/lib/duet/{p-0650bad8.entry.js → p-50ac9df8.entry.js} +1 -1
- package/lib/duet/{p-1373db77.js → p-520ac4b7.js} +1 -1
- package/lib/duet/{p-abba7304.entry.js → p-521d978e.entry.js} +1 -1
- package/lib/duet/{p-9cd03739.system.entry.js → p-5298f539.system.entry.js} +1 -1
- package/lib/duet/p-539938fb.js +4 -0
- package/lib/duet/{p-71e50550.system.entry.js → p-53dee3c7.system.entry.js} +1 -1
- package/lib/duet/{p-f41951bb.entry.js → p-572652e8.entry.js} +1 -1
- package/lib/duet/{p-d5dd6d15.system.entry.js → p-58c73080.system.entry.js} +1 -1
- package/lib/duet/{p-080a4eb6.system.entry.js → p-59f7aa7f.system.entry.js} +1 -1
- package/lib/duet/{p-cd4d12b0.entry.js → p-5ae47d2b.entry.js} +1 -1
- package/lib/duet/{p-2f1dcd53.system.entry.js → p-5c1467cf.system.entry.js} +1 -1
- package/lib/duet/{p-26008ae7.system.entry.js → p-5d3ba53d.system.entry.js} +1 -1
- package/lib/duet/{p-c0881fa6.system.entry.js → p-5d5f4146.system.entry.js} +1 -1
- package/lib/duet/{p-a5c7e697.system.js → p-5d89c45e.system.js} +1 -1
- package/lib/duet/p-60a0cb7f.system.js +4 -0
- package/lib/duet/p-615a6764.system.js +4 -0
- package/lib/duet/{p-b228a3c3.system.entry.js → p-6181c1f5.system.entry.js} +1 -1
- package/lib/duet/{p-eb20c18e.system.entry.js → p-626efe62.system.entry.js} +1 -1
- package/lib/duet/p-63c5fd6b.entry.js +4 -0
- package/lib/duet/p-63fd1f1b.entry.js +4 -0
- package/lib/duet/{p-69a80411.system.entry.js → p-64027802.system.entry.js} +1 -1
- package/lib/duet/{p-f383657a.entry.js → p-6428de74.entry.js} +1 -1
- package/lib/duet/{p-2b5456e2.system.entry.js → p-65de8d51.system.entry.js} +1 -1
- package/lib/duet/{p-3fc43d94.entry.js → p-6b3a8a12.entry.js} +1 -1
- package/lib/duet/{p-1e94efe3.entry.js → p-6bd8fb57.entry.js} +1 -1
- package/lib/duet/{p-c6d82f55.system.entry.js → p-6bfc098e.system.entry.js} +1 -1
- package/lib/duet/{p-c223e6b4.entry.js → p-6decccda.entry.js} +1 -1
- package/lib/duet/{p-a600718b.entry.js → p-6f21adbf.entry.js} +1 -1
- package/lib/duet/{p-6f3b0043.entry.js → p-6f66ba45.entry.js} +1 -1
- package/lib/duet/p-73c4bdf7.js +4 -0
- package/lib/duet/p-73e0f5cf.system.entry.js +4 -0
- package/lib/duet/{p-8727f234.entry.js → p-7478fc5e.entry.js} +1 -1
- package/lib/duet/{p-1174088c.system.entry.js → p-749267a3.system.entry.js} +1 -1
- package/lib/duet/{p-1458593e.entry.js → p-7956df66.entry.js} +1 -1
- package/lib/duet/{p-3afc91eb.system.entry.js → p-79ccf9ad.system.entry.js} +1 -1
- package/lib/duet/{p-caec0ae0.system.entry.js → p-79f305ba.system.entry.js} +1 -1
- package/lib/duet/{p-bb8a20ce.entry.js → p-7d0fcdcd.entry.js} +1 -1
- package/lib/duet/{p-d25a005e.system.entry.js → p-7ec5ee46.system.entry.js} +1 -1
- package/lib/duet/{p-c3b30540.entry.js → p-7f93593e.entry.js} +1 -1
- package/lib/duet/{p-80878906.system.entry.js → p-7fadfb31.system.entry.js} +1 -1
- package/lib/duet/{p-c328ff56.system.entry.js → p-818bb33d.system.entry.js} +1 -1
- package/lib/duet/{p-75bd16ec.system.entry.js → p-83dabfc5.system.entry.js} +1 -1
- package/lib/duet/p-849ffaec.system.entry.js +4 -0
- package/lib/duet/p-854808cd.entry.js +4 -0
- package/lib/duet/{p-c106a592.entry.js → p-86a3bc38.entry.js} +1 -1
- package/lib/duet/{p-5f75e4a2.entry.js → p-8a9fe70c.entry.js} +1 -1
- package/lib/duet/{p-81d6c23b.entry.js → p-8b5976ca.entry.js} +1 -1
- package/lib/duet/{p-83241e2a.system.entry.js → p-8d051bf2.system.entry.js} +1 -1
- package/lib/duet/{p-bd05c841.system.entry.js → p-8d6dcdb1.system.entry.js} +1 -1
- package/lib/duet/{p-7685d441.system.entry.js → p-8ef9cba1.system.entry.js} +1 -1
- package/lib/duet/{p-2bf89772.system.entry.js → p-914a0898.system.entry.js} +1 -1
- package/lib/duet/p-93ce45ce.system.entry.js +4 -0
- package/lib/duet/{p-744bd7cf.entry.js → p-9432f9ec.entry.js} +1 -1
- package/lib/duet/p-94c63013.system.js +4 -0
- package/lib/duet/{p-6012e82f.entry.js → p-96714a74.entry.js} +1 -1
- package/lib/duet/{p-98a29d5f.system.entry.js → p-9675e1d5.system.entry.js} +1 -1
- package/lib/duet/{p-73462771.system.entry.js → p-9aee8a81.system.entry.js} +1 -1
- package/lib/duet/{p-e8de57d3.system.entry.js → p-9b90f38e.system.entry.js} +1 -1
- package/lib/duet/{p-5810ba83.system.entry.js → p-a0b111e3.system.entry.js} +1 -1
- package/lib/duet/{p-0587ebcf.entry.js → p-a1c780b5.entry.js} +1 -1
- package/lib/duet/{p-a8b7091a.entry.js → p-a29e4976.entry.js} +1 -1
- package/lib/duet/{p-5395ddc8.entry.js → p-a4164a2d.entry.js} +1 -1
- package/lib/duet/{p-e77ac510.entry.js → p-a54ec315.entry.js} +1 -1
- package/lib/duet/p-a60f3669.system.entry.js +4 -0
- package/lib/duet/{p-431d59a3.system.entry.js → p-a7d46fef.system.entry.js} +1 -1
- package/lib/duet/{p-088fce9c.entry.js → p-a81baadd.entry.js} +1 -1
- package/lib/duet/{p-6e3906df.entry.js → p-a987ab9d.entry.js} +1 -1
- package/lib/duet/{p-39e9e000.system.entry.js → p-af35e151.system.entry.js} +1 -1
- package/lib/duet/{p-cf4e7590.entry.js → p-b038b80c.entry.js} +1 -1
- package/lib/duet/{p-1ae31ca3.system.entry.js → p-b37f9402.system.entry.js} +1 -1
- package/lib/duet/{p-8f15eb9c.system.entry.js → p-b3a2ecfc.system.entry.js} +1 -1
- package/lib/duet/p-b4e05d38.entry.js +4 -0
- package/lib/duet/p-b575bed5.entry.js +4 -0
- package/lib/duet/{p-8b0de573.system.entry.js → p-b75f0c5b.system.entry.js} +1 -1
- package/lib/duet/{p-48ca823e.system.entry.js → p-b7996eff.system.entry.js} +1 -1
- package/lib/duet/{p-4a44d6b5.system.entry.js → p-b7a606a0.system.entry.js} +1 -1
- package/lib/duet/{p-3a006e78.system.entry.js → p-b84965cf.system.entry.js} +1 -1
- package/lib/duet/{p-58088232.entry.js → p-b9f092f2.entry.js} +1 -1
- package/lib/duet/{p-67ee9418.entry.js → p-bae3eb9c.entry.js} +1 -1
- package/lib/duet/{p-d7f565bd.system.entry.js → p-be815d6f.system.entry.js} +1 -1
- package/lib/duet/{p-11868ab7.entry.js → p-bf804ab7.entry.js} +1 -1
- package/lib/duet/{p-dc2586c4.entry.js → p-c152f45c.entry.js} +1 -1
- package/lib/duet/{p-12563d2c.system.entry.js → p-c1b9e00b.system.entry.js} +1 -1
- package/lib/duet/{p-81da236f.entry.js → p-c2626d64.entry.js} +1 -1
- package/lib/duet/{p-a7b23ef5.system.entry.js → p-c41b616b.system.entry.js} +1 -1
- package/lib/duet/{p-899541f6.system.entry.js → p-c42ba43f.system.entry.js} +1 -1
- package/lib/duet/p-c54aec23.entry.js +4 -0
- package/lib/duet/{p-c4e7b543.system.entry.js → p-c9fbbebc.system.entry.js} +1 -1
- package/lib/duet/{p-6e2a6ba2.system.entry.js → p-cb0513ed.system.entry.js} +1 -1
- package/lib/duet/{p-d5e0b809.entry.js → p-cb26eeef.entry.js} +1 -1
- package/lib/duet/{p-20de631c.system.entry.js → p-cb39f212.system.entry.js} +1 -1
- package/lib/duet/{p-23fb1498.entry.js → p-cb840c6d.entry.js} +1 -1
- package/lib/duet/{p-6a95a2e3.system.js → p-cbbf6d6a.system.js} +1 -1
- package/lib/duet/{p-eb01ad49.system.entry.js → p-cbcfcf2f.system.entry.js} +1 -1
- package/lib/duet/{p-b3db918f.system.js → p-ce9ccf2d.system.js} +1 -1
- package/lib/duet/{p-0dc6b624.entry.js → p-cf99e1f3.entry.js} +1 -1
- package/lib/duet/{p-4089860d.entry.js → p-d183f34f.entry.js} +1 -1
- package/lib/duet/{p-9142977a.system.entry.js → p-d4756796.system.entry.js} +1 -1
- package/lib/duet/{p-968b499b.system.entry.js → p-d4de8d9f.system.entry.js} +1 -1
- package/lib/duet/{p-d5515fac.entry.js → p-d53821a2.entry.js} +1 -1
- package/lib/duet/{p-0b378a70.entry.js → p-d7c2f4d7.entry.js} +1 -1
- package/lib/duet/{p-b7bf4009.entry.js → p-d8097437.entry.js} +1 -1
- package/lib/duet/{p-74dfe55a.system.entry.js → p-db17c060.system.entry.js} +1 -1
- package/lib/duet/{p-5454ec0d.entry.js → p-dbcafad8.entry.js} +1 -1
- package/lib/duet/{p-c8dbbdb3.entry.js → p-dd3427ef.entry.js} +1 -1
- package/lib/duet/{p-cf909acf.entry.js → p-de0a78f9.entry.js} +1 -1
- package/lib/duet/{p-d7a3e71f.entry.js → p-e10e1117.entry.js} +1 -1
- package/lib/duet/{p-5477fad9.entry.js → p-e1e65613.entry.js} +1 -1
- package/lib/duet/{p-e84bace7.system.entry.js → p-e32ff504.system.entry.js} +1 -1
- package/lib/duet/{p-f3826346.entry.js → p-e3d448c5.entry.js} +1 -1
- package/lib/duet/{p-f0045080.entry.js → p-e3e5f427.entry.js} +1 -1
- package/lib/duet/{p-983cfc54.entry.js → p-e44f1b3a.entry.js} +1 -1
- package/lib/duet/{p-b7356342.system.entry.js → p-e53164d0.system.entry.js} +2 -2
- package/lib/duet/p-e7c62f85.js +4 -0
- package/lib/duet/{p-178bcd12.entry.js → p-e7e3b445.entry.js} +1 -1
- package/lib/duet/{p-ed4f4aad.system.entry.js → p-e87b84f3.system.entry.js} +1 -1
- package/lib/duet/{p-3015a884.system.js → p-e88c356e.system.js} +1 -1
- package/lib/duet/{p-5af61a5f.entry.js → p-ea386f3b.entry.js} +1 -1
- package/lib/duet/{p-bd983df7.system.entry.js → p-eb5844f6.system.entry.js} +1 -1
- package/lib/duet/{p-7b8ac676.system.entry.js → p-ef65048c.system.entry.js} +1 -1
- package/lib/duet/{p-94eab61e.system.js → p-ef731dfb.system.js} +1 -1
- package/lib/duet/{p-eb1a935b.js → p-f1e02e7b.js} +1 -1
- package/lib/duet/{p-4a043858.entry.js → p-f35b246d.entry.js} +1 -1
- package/lib/duet/p-f3e84569.js +5 -0
- package/lib/duet/{p-0d304014.system.entry.js → p-f4be3ed1.system.entry.js} +1 -1
- package/lib/duet/p-f4c1b623.system.js +5 -0
- package/lib/duet/p-f5546613.entry.js +4 -0
- package/lib/duet/{p-b16949ab.entry.js → p-f6e819df.entry.js} +1 -1
- package/lib/duet/{p-3bbea70e.system.entry.js → p-fcc9506a.system.entry.js} +1 -1
- package/lib/esm/{app-globals-69cf92e7.js → app-globals-60b4029b.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +50 -40
- package/lib/esm/duet-callout.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +19 -10
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip_3.entry.js +28 -16
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +31 -18
- package/lib/esm/duet-contact-card.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +8 -8
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +5 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +12 -6
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +2 -2
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +6 -6
- package/lib/esm/duet-slideout.entry.js +27 -18
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +3 -3
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-6d8b4e99.js → errorcodes.utils-b639fe8c.js} +1 -1
- package/lib/esm/{focus-utils-32a6966b.js → focus-utils-fad21cfb.js} +1 -1
- package/lib/esm/{index-fd030e61.js → index-4160b620.js} +2 -2
- package/lib/esm/{language-utils-58773b88.js → language-utils-afb0d677.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-b0edb3d8.js → slot-utils-fdd6c75c.js} +1 -1
- package/lib/esm/{token-utils-3c2fb643.js → token-utils-a32eb753.js} +1 -1
- package/lib/esm/{tokens.module-216c2ae9.js → tokens.module-a746651a.js} +1 -1
- package/lib/esm-es5/{app-globals-69cf92e7.js → app-globals-60b4029b.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-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 +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-6d8b4e99.js → errorcodes.utils-b639fe8c.js} +1 -1
- package/lib/esm-es5/focus-utils-fad21cfb.js +4 -0
- package/lib/esm-es5/index-4160b620.js +5 -0
- package/lib/esm-es5/{language-utils-58773b88.js → language-utils-afb0d677.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-b0edb3d8.js → slot-utils-fdd6c75c.js} +1 -1
- package/lib/esm-es5/{token-utils-3c2fb643.js → token-utils-a32eb753.js} +1 -1
- package/lib/esm-es5/{tokens.module-216c2ae9.js → tokens.module-a746651a.js} +1 -1
- package/lib/types/common-types.d.ts +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +6 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-link/duet-link.d.ts +1 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +5 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +5 -1
- package/lib/types/components.d.ts +32 -0
- package/package.json +4 -4
- package/lib/duet/p-019b2e71.entry.js +0 -4
- package/lib/duet/p-103ca5a4.system.entry.js +0 -4
- package/lib/duet/p-11c247e4.system.entry.js +0 -4
- package/lib/duet/p-1a0f2b4f.entry.js +0 -4
- package/lib/duet/p-29280b69.system.js +0 -4
- package/lib/duet/p-3e99f641.entry.js +0 -4
- package/lib/duet/p-4cb1e4cb.js +0 -5
- package/lib/duet/p-4cd53729.entry.js +0 -4
- package/lib/duet/p-50b6a535.entry.js +0 -4
- package/lib/duet/p-54029779.js +0 -4
- package/lib/duet/p-5901fd99.js +0 -4
- package/lib/duet/p-71a4f317.js +0 -4
- package/lib/duet/p-71a7b2a4.system.entry.js +0 -4
- package/lib/duet/p-71eaba09.system.entry.js +0 -4
- package/lib/duet/p-7592ae1c.entry.js +0 -4
- package/lib/duet/p-76268cc3.entry.js +0 -4
- package/lib/duet/p-77103998.entry.js +0 -4
- package/lib/duet/p-83466781.entry.js +0 -4
- package/lib/duet/p-8b3b5673.js +0 -4
- package/lib/duet/p-9c371796.entry.js +0 -4
- package/lib/duet/p-ae0a58ae.entry.js +0 -4
- package/lib/duet/p-b4485a1c.system.js +0 -4
- package/lib/duet/p-c87a4d77.system.js +0 -4
- package/lib/duet/p-cbde8507.system.js +0 -5
- package/lib/duet/p-d82677e9.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-32a6966b.js +0 -4
- package/lib/esm-es5/index-fd030e61.js +0 -5
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const jsUtils = require('./js-utils-92e24ba1.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
const tokenUtils = require('./token-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
14
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
|
-
require('./tokens.module-
|
|
16
|
+
require('./tokens.module-46ddb47a.js');
|
|
17
17
|
|
|
18
18
|
const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";
|
|
19
19
|
const DuetActionButtonStyle0 = duetActionButtonCss;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
13
|
+
const slotUtils = require('./slot-utils-c1e99a43.js');
|
|
14
14
|
require('./string-utils-7b13c16e.js');
|
|
15
15
|
|
|
16
16
|
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}";
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-c1e99a43.js');
|
|
11
11
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
12
|
-
const tokenUtils = require('./token-utils-
|
|
13
|
-
require('./tokens.module-
|
|
12
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
13
|
+
require('./tokens.module-46ddb47a.js');
|
|
14
14
|
|
|
15
15
|
const DuetPicture = ({ img, sources }) => {
|
|
16
16
|
return (index.h("picture", null,
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
11
|
-
const languageUtils = require('./language-utils-
|
|
11
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
13
|
|
|
14
14
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const languageUtils = require('./language-utils-
|
|
11
|
-
const tokenUtils = require('./token-utils-
|
|
10
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
11
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
|
-
require('./tokens.module-
|
|
13
|
+
require('./tokens.module-46ddb47a.js');
|
|
14
14
|
|
|
15
15
|
const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;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}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;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}";
|
|
16
16
|
const DuetBreadcrumbsStyle0 = duetBreadcrumbsCss;
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
|
-
const languageUtils = require('./language-utils-
|
|
12
|
-
const tokenUtils = require('./token-utils-
|
|
11
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
12
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
13
13
|
require('./string-utils-7b13c16e.js');
|
|
14
|
-
require('./tokens.module-
|
|
14
|
+
require('./tokens.module-46ddb47a.js');
|
|
15
15
|
|
|
16
16
|
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{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{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{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{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-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-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-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-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-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-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-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-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;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-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.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.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
17
17
|
const DuetButtonStyle0 = duetButtonCss;
|
|
@@ -21,6 +21,42 @@ const DuetButton = class {
|
|
|
21
21
|
index.registerInstance(this, hostRef);
|
|
22
22
|
this.duetFocus = index.createEvent(this, "duetFocus", 7);
|
|
23
23
|
this.duetBlur = index.createEvent(this, "duetBlur", 7);
|
|
24
|
+
this.proxyButtonSetUp = () => {
|
|
25
|
+
const slottedElement = this.element.querySelector("button[slot=proxybutton]");
|
|
26
|
+
const button = slottedElement || document.createElement("button");
|
|
27
|
+
if (this.url) {
|
|
28
|
+
if (slottedElement) {
|
|
29
|
+
slottedElement.remove();
|
|
30
|
+
}
|
|
31
|
+
this.proxyButton = null;
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
button.setAttribute("slot", "proxybutton");
|
|
35
|
+
button.style.display = "none";
|
|
36
|
+
button.type = this.getButtonType();
|
|
37
|
+
button.disabled = this.disabled;
|
|
38
|
+
button.setAttribute("form", this.form);
|
|
39
|
+
if (!this.form) {
|
|
40
|
+
button.removeAttribute("form");
|
|
41
|
+
}
|
|
42
|
+
// attributes should be removed in cases where name/value is not set
|
|
43
|
+
if (this.name != null) {
|
|
44
|
+
button.name = this.name;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
button.removeAttribute("name");
|
|
48
|
+
}
|
|
49
|
+
if (this.value != null) {
|
|
50
|
+
button.value = this.value;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
button.removeAttribute("value");
|
|
54
|
+
}
|
|
55
|
+
if (!slottedElement) {
|
|
56
|
+
this.element.appendChild(button);
|
|
57
|
+
}
|
|
58
|
+
this.proxyButton = button;
|
|
59
|
+
};
|
|
24
60
|
/**
|
|
25
61
|
* Component event handling.
|
|
26
62
|
*/
|
|
@@ -29,7 +65,7 @@ const DuetButton = class {
|
|
|
29
65
|
// climb up the dom to see if we're in a <form>
|
|
30
66
|
// and if so, then use JS to submit it.
|
|
31
67
|
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
32
|
-
if (!this.url && this.element.closest("form")) {
|
|
68
|
+
if (!this.url && (this.element.closest("form") || this.form) && ev.target === this.element) {
|
|
33
69
|
ev.preventDefault();
|
|
34
70
|
this.proxyButton.click();
|
|
35
71
|
}
|
|
@@ -56,6 +92,7 @@ const DuetButton = class {
|
|
|
56
92
|
this.negative = false;
|
|
57
93
|
this.theme = "";
|
|
58
94
|
this.margin = "auto";
|
|
95
|
+
this.form = undefined;
|
|
59
96
|
this.padding = "auto";
|
|
60
97
|
this.centerText = false;
|
|
61
98
|
this.wrapping = "auto";
|
|
@@ -90,9 +127,6 @@ const DuetButton = class {
|
|
|
90
127
|
}
|
|
91
128
|
}
|
|
92
129
|
connectedCallback() {
|
|
93
|
-
this.proxyButton = document.createElement("button");
|
|
94
|
-
this.proxyButton.style.display = "none";
|
|
95
|
-
this.syncToProxyButton();
|
|
96
130
|
languageUtils.connectLanguageChangeObserver(this, [
|
|
97
131
|
{
|
|
98
132
|
prop: "accessibleLabelExternal",
|
|
@@ -103,36 +137,18 @@ const DuetButton = class {
|
|
|
103
137
|
defaults: "accessibleLabelLoadingDefaults",
|
|
104
138
|
},
|
|
105
139
|
]);
|
|
106
|
-
if (!this.url && this.element.closest("form")) {
|
|
107
|
-
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
108
|
-
}
|
|
109
140
|
}
|
|
110
141
|
disconnectedCallback() {
|
|
111
142
|
if (this.proxyButton) {
|
|
112
|
-
this.proxyButton
|
|
143
|
+
this.proxyButton = null;
|
|
113
144
|
}
|
|
114
|
-
this.proxyButton = null;
|
|
115
145
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
116
146
|
}
|
|
117
|
-
|
|
147
|
+
componentDidRender() {
|
|
118
148
|
if (this.disabled === false) {
|
|
119
149
|
this.element.removeAttribute("disabled");
|
|
120
150
|
}
|
|
121
|
-
this.
|
|
122
|
-
this.proxyButton.disabled = this.disabled;
|
|
123
|
-
// attributes should be removed in cases where name/value is not set
|
|
124
|
-
if (this.name != null) {
|
|
125
|
-
this.proxyButton.name = this.name;
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
this.proxyButton.removeAttribute("name");
|
|
129
|
-
}
|
|
130
|
-
if (this.value != null) {
|
|
131
|
-
this.proxyButton.value = this.value;
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
this.proxyButton.removeAttribute("value");
|
|
135
|
-
}
|
|
151
|
+
this.proxyButtonSetUp();
|
|
136
152
|
}
|
|
137
153
|
getButtonType() {
|
|
138
154
|
return this.submit ? "submit" : "button";
|
|
@@ -170,12 +186,12 @@ const DuetButton = class {
|
|
|
170
186
|
// enforce consistency for external links
|
|
171
187
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
172
188
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
173
|
-
const commonChildren = (index.h("span", { key: '
|
|
189
|
+
const commonChildren = (index.h("span", { key: '5a0c6410ac691a86fc5015ab7db83c969dc3bad1', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: tokenUtils.getColorByName(this.color) } }, icon && (index.h("span", { key: 'e40d495dc3100c27f283c4e35c5e9a27c98464c2', "aria-hidden": "true", class: {
|
|
174
190
|
"duet-button-icon": true,
|
|
175
191
|
left: !iconRight,
|
|
176
192
|
right: iconRight,
|
|
177
193
|
[this.getButtonIconSize()]: true,
|
|
178
|
-
} }, index.h("duet-icon", { key: '
|
|
194
|
+
} }, index.h("duet-icon", { key: '96a0389f3704e534f2c4da39243f6f7b87038f6f', size: "auto", margin: "none", name: icon, color: "currentColor" }))), index.h("span", { key: 'cbc6c347c96296ed4f4afa3963a12495fea09884', class: "duet-button-contents-slot" }, index.h("slot", { key: '894a6a4e9f03f813a7e8918abf87ef9ceabecbc3' }))));
|
|
179
195
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
180
196
|
const commonProps = {
|
|
181
197
|
onFocus: this.onFocus,
|
|
@@ -210,7 +226,7 @@ const DuetButton = class {
|
|
|
210
226
|
"aria-details": this.accessibleDetails,
|
|
211
227
|
"aria-description": this.accessibleDescription,
|
|
212
228
|
};
|
|
213
|
-
return (index.h(index.Host, { key: '
|
|
229
|
+
return (index.h(index.Host, { key: '24621240c8dcf778398f04e79c780bade455090f', onClick: this.handleClick, class: {
|
|
214
230
|
"duet-m-0": this.margin === "none",
|
|
215
231
|
"duet-small": this.size === "small",
|
|
216
232
|
"duet-x-small": this.size === "x-small",
|
|
@@ -218,21 +234,15 @@ const DuetButton = class {
|
|
|
218
234
|
"duet-expand": this.expand,
|
|
219
235
|
[this.variation]: true,
|
|
220
236
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
221
|
-
} }, index.h("span", { key: '
|
|
237
|
+
} }, index.h("span", { key: 'ca827a33826b3c42662ccd5a079d8327b9b6175e', class: {
|
|
222
238
|
"duet-button-container": true,
|
|
223
239
|
"duet-button-is-loading": this.loading,
|
|
224
240
|
"duet-theme-turva": this.theme === "turva",
|
|
225
241
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
226
242
|
[this.variation]: true,
|
|
227
|
-
} }, this.url ? (index.h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && index.h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (index.h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && index.h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && index.h("duet-spinner", { key: '
|
|
243
|
+
} }, this.url ? (index.h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && index.h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (index.h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && index.h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "), index.h("slot", { name: "proxybutton" }))), this.loading && index.h("duet-spinner", { key: '7e1e99a1cc8724ea6db15316084259e62926b82b', color: "currentColor" }))));
|
|
228
244
|
}
|
|
229
245
|
get element() { return index.getElement(this); }
|
|
230
|
-
static get watchers() { return {
|
|
231
|
-
"disabled": ["syncToProxyButton"],
|
|
232
|
-
"submit": ["syncToProxyButton"],
|
|
233
|
-
"value": ["syncToProxyButton"],
|
|
234
|
-
"name": ["syncToProxyButton"]
|
|
235
|
-
}; }
|
|
236
246
|
};
|
|
237
247
|
DuetButton.style = DuetButtonStyle0;
|
|
238
248
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-c1e99a43.js');
|
|
11
11
|
|
|
12
12
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
13
13
|
const DuetCalloutStyle0 = duetCalloutCss;
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
11
|
-
const tokenUtils = require('./token-utils-
|
|
11
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
12
12
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
13
13
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
14
14
|
const a11yUtils = require('./a11y-utils-76311b95.js');
|
|
15
|
-
const languageUtils = require('./language-utils-
|
|
15
|
+
const languageUtils = require('./language-utils-041b3463.js');
|
|
16
16
|
const createId = require('./create-id-1f8c438f.js');
|
|
17
|
-
require('./tokens.module-
|
|
17
|
+
require('./tokens.module-46ddb47a.js');
|
|
18
18
|
|
|
19
19
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
|
|
20
20
|
const DuetCaptionStyle0 = duetCaptionCss;
|
|
@@ -102,7 +102,7 @@ var actionDownloadSmall={"title":"action-download-small","tags":"action download
|
|
|
102
102
|
|
|
103
103
|
var actionNewWindow={"title":"action-new-window","tags":"arrow open new window tab external link square box rectangle action","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z\"/></svg>"};
|
|
104
104
|
|
|
105
|
-
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button),.duet-link-is-download.duet-link:not(.block,.button){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*{flex-shrink:0}.duet-link.button .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button{min-height:50px}.duet-link.button.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}";
|
|
105
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
106
106
|
const DuetLinkStyle0 = duetLinkCss;
|
|
107
107
|
|
|
108
108
|
const DuetLink = class {
|
|
@@ -166,6 +166,7 @@ const DuetLink = class {
|
|
|
166
166
|
this.mediaQuerySmall = window.matchMedia(tokenUtils.breakpointToToken["xx-small"]);
|
|
167
167
|
this.mediaQueryMedium = window.matchMedia(tokenUtils.breakpointToToken["medium"]);
|
|
168
168
|
this.isSmallScreen = this.mediaQuerySmall.matches;
|
|
169
|
+
this.isMediumScreen = this.mediaQueryMedium.matches;
|
|
169
170
|
this.mediaQuerySmall.addEventListener("change", this.screenTestBound);
|
|
170
171
|
this.mediaQueryMedium.addEventListener("change", this.screenTestBound);
|
|
171
172
|
}
|
|
@@ -179,6 +180,7 @@ const DuetLink = class {
|
|
|
179
180
|
}
|
|
180
181
|
screenTest(event) {
|
|
181
182
|
this.isSmallScreen = event.matches;
|
|
183
|
+
this.isMediumScreen = event.matches;
|
|
182
184
|
}
|
|
183
185
|
resolveDownload() {
|
|
184
186
|
if (this.download === "") {
|
|
@@ -194,11 +196,17 @@ const DuetLink = class {
|
|
|
194
196
|
renderBlockContent() {
|
|
195
197
|
return (index.h(index.Fragment, null, this.icon && (index.h("span", { class: "block__icon" }, index.h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), index.h("span", { class: "block__content" }, this.renderDefaultContent()), index.h("span", { class: "block__chevron", part: "block-chevron" }, index.h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
196
198
|
}
|
|
197
|
-
|
|
199
|
+
renderButtonCardContent() {
|
|
198
200
|
const iconWrapStyle = {
|
|
199
201
|
"background-color": tokenUtils.getColorByName(this.iconBackground, this.theme),
|
|
200
202
|
};
|
|
201
|
-
|
|
203
|
+
const iconSize = () => {
|
|
204
|
+
if (this.variation === "button") {
|
|
205
|
+
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
206
|
+
}
|
|
207
|
+
return this.isMediumScreen ? "large" : "medium";
|
|
208
|
+
};
|
|
209
|
+
return (index.h(index.Fragment, null, this.icon && (index.h("span", { class: "icon-wrap", style: iconWrapStyle }, index.h("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), index.h("div", { class: "duet-link-content", part: "duet-link-content" }, index.h("slot", null)), index.h("span", { class: "chevron-wrap" }, index.h("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
202
210
|
}
|
|
203
211
|
renderContent() {
|
|
204
212
|
switch (this.variation) {
|
|
@@ -207,7 +215,8 @@ const DuetLink = class {
|
|
|
207
215
|
case "block":
|
|
208
216
|
return this.renderBlockContent();
|
|
209
217
|
case "button":
|
|
210
|
-
|
|
218
|
+
case "card":
|
|
219
|
+
return this.renderButtonCardContent();
|
|
211
220
|
}
|
|
212
221
|
}
|
|
213
222
|
/**
|
|
@@ -217,10 +226,10 @@ const DuetLink = class {
|
|
|
217
226
|
render() {
|
|
218
227
|
const Tag = !this.url ? "button" : "a";
|
|
219
228
|
const isButton = Tag === "button";
|
|
220
|
-
return (index.h(index.Host, { key: '
|
|
229
|
+
return (index.h(index.Host, { key: '2025edd3774d559f0d6877498e0a806532fb310c', class: {
|
|
221
230
|
[`duet-link-${this.variation}`]: true,
|
|
222
231
|
"duet-m-0": this.margin === "none",
|
|
223
|
-
} }, index.h(Tag, { key: '
|
|
232
|
+
} }, index.h(Tag, { key: 'ee013e25058fdfe22cf04784e06162181b9ff5a2', href: this.url, class: {
|
|
224
233
|
"duet-link": true,
|
|
225
234
|
"duet-link-is-external": this.external,
|
|
226
235
|
"duet-link-is-download": !!this.download,
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-681e11ec.js');
|
|
12
12
|
const stringUtils = require('./string-utils-7b13c16e.js');
|
|
13
|
-
const tokenUtils = require('./token-utils-
|
|
14
|
-
require('./tokens.module-
|
|
13
|
+
const tokenUtils = require('./token-utils-12717808.js');
|
|
14
|
+
require('./tokens.module-46ddb47a.js');
|
|
15
15
|
|
|
16
16
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
17
17
|
const duetBlock = "div";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-efe7ea48.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
|
|
11
11
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|