@duetds/components 8.1.3 → 8.1.4
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 +30 -15
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -8
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- 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.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +3 -3
- 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 +1 -1
- package/lib/cjs/duet-number-input.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 +3 -3
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- 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 +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -7
- 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 +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- 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-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 +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-c921d7b4.js → focus-utils-fd4fdee9.js} +1 -1
- package/lib/cjs/{index-23baafec.js → index-6ea7b876.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{teleport-e7315776.js → teleport-6a1f83a1.js} +2 -2
- package/lib/cjs/{token-utils-f11c288e.js → token-utils-a5356b00.js} +1 -1
- package/lib/cjs/{tokens-c0b8b3a8.js → tokens-51cfbe11.js} +4 -1
- package/lib/cjs/{tokens.module-44ad1fdb.js → tokens.module-ce5f9579.js} +3 -1
- package/lib/collection/components/duet-button/duet-button.css +120 -131
- package/lib/collection/components/duet-button/duet-button.js +10 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-label/duet-label.js +28 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +14 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +26 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +21 -2
- package/lib/collection/utils/teleport.js +2 -2
- 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 +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- 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 +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- 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 +12 -12
- 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 +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +12 -18
- 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 +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- 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 +5 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- 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 +5 -5
- 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 +8 -6
- 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 +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- 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 +1 -1
- 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-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 +18 -18
- 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-25e5732f.js → p-077e5396.js} +10 -10
- package/lib/dist-custom-elements/{p-367ad3f1.js → p-0d74f436.js} +2 -2
- package/lib/dist-custom-elements/{p-32b5c09b.js → p-18ec08ac.js} +4 -4
- package/lib/dist-custom-elements/{p-2ffd3907.js → p-19fc0434.js} +1 -1
- package/lib/dist-custom-elements/{p-e79a85cc.js → p-1ed786bc.js} +1 -1
- package/lib/dist-custom-elements/{p-e6db0986.js → p-2941d90a.js} +1 -1
- package/lib/dist-custom-elements/{p-7d6b2e2a.js → p-2b56c0d7.js} +3 -1
- package/lib/dist-custom-elements/{p-3400ca0c.js → p-2eb72ea1.js} +1 -1
- package/lib/dist-custom-elements/{p-5cb5afdb.js → p-36cee998.js} +5 -5
- package/lib/dist-custom-elements/{p-e4d6f4d9.js → p-4091ca56.js} +1 -1
- package/lib/dist-custom-elements/{p-b1f60850.js → p-482e780b.js} +2 -2
- package/lib/dist-custom-elements/{p-8aa81f02.js → p-506c2666.js} +7 -3
- package/lib/dist-custom-elements/{p-b06dc288.js → p-57e61e85.js} +3 -3
- package/lib/dist-custom-elements/{p-5f0f197a.js → p-583ae9d7.js} +2 -2
- package/lib/dist-custom-elements/{p-8b205719.js → p-59fdca12.js} +2 -2
- package/lib/dist-custom-elements/{p-147a15c7.js → p-5b14ef9f.js} +1 -1
- package/lib/dist-custom-elements/{p-0cc51aa5.js → p-5e849463.js} +4 -1
- package/lib/dist-custom-elements/{p-709ad7fb.js → p-5f8459bd.js} +8 -8
- package/lib/dist-custom-elements/p-7a6cf439.js +305 -0
- package/lib/dist-custom-elements/{p-35de0b49.js → p-7c5f9c80.js} +5 -5
- package/lib/dist-custom-elements/{p-e4b39e02.js → p-802e0cd4.js} +6 -6
- package/lib/dist-custom-elements/{p-671e391d.js → p-88b5a225.js} +2 -2
- package/lib/dist-custom-elements/{p-003d89e4.js → p-8aaaefdf.js} +2 -2
- package/lib/dist-custom-elements/{p-8977c832.js → p-8c81a26f.js} +2 -2
- package/lib/dist-custom-elements/{p-34e3bbfd.js → p-91facf89.js} +2 -2
- package/lib/dist-custom-elements/{p-a0befa19.js → p-98dcc2eb.js} +4 -4
- package/lib/dist-custom-elements/{p-c68e31b1.js → p-9b14643e.js} +2 -2
- package/lib/dist-custom-elements/{p-1a884f8d.js → p-9c5b3e92.js} +1 -1
- package/lib/dist-custom-elements/{p-87c24ccc.js → p-b06b80ce.js} +1 -1
- package/lib/dist-custom-elements/{p-09d350df.js → p-bb59b14d.js} +2 -2
- package/lib/dist-custom-elements/{p-ce5d7b7d.js → p-c9808777.js} +10 -10
- package/lib/dist-custom-elements/{p-751344b2.js → p-ccdff614.js} +2 -2
- package/lib/dist-custom-elements/{p-d080d0f8.js → p-d18ca3d9.js} +2 -2
- package/lib/dist-custom-elements/{p-0a4f2604.js → p-d68c9433.js} +1 -1
- package/lib/dist-custom-elements/{p-1ecc8fe6.js → p-d94a9d9c.js} +1 -1
- package/lib/dist-custom-elements/{p-9a81250e.js → p-e078836c.js} +1 -1
- package/lib/dist-custom-elements/{p-70dfb83b.js → p-f91938ae.js} +2 -2
- package/lib/dist-custom-elements/{p-63530da2.js → p-ff50aff2.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00f75643.system.entry.js +4 -0
- package/lib/duet/{p-79ee23d6.system.entry.js → p-010986d1.system.entry.js} +1 -1
- package/lib/duet/{p-594a8770.entry.js → p-0142d94d.entry.js} +1 -1
- package/lib/duet/{p-67c86fda.entry.js → p-0360829b.entry.js} +1 -1
- package/lib/duet/{p-85531f7d.system.entry.js → p-04c3f872.system.entry.js} +1 -1
- package/lib/duet/{p-80d1c3cd.entry.js → p-0660a9a6.entry.js} +1 -1
- package/lib/duet/{p-f8c7fce1.entry.js → p-066f078b.entry.js} +1 -1
- package/lib/duet/{p-64deaa4c.entry.js → p-07c3d88d.entry.js} +1 -1
- package/lib/duet/{p-d75a69ce.entry.js → p-088ac559.entry.js} +1 -1
- package/lib/duet/{p-a9babd6c.system.entry.js → p-0b2ff6ce.system.entry.js} +1 -1
- package/lib/duet/{p-f0a86dc0.system.entry.js → p-103ab767.system.entry.js} +1 -1
- package/lib/duet/p-164be464.entry.js +4 -0
- package/lib/duet/{p-d9c7f458.entry.js → p-180c61a0.entry.js} +1 -1
- package/lib/duet/{p-4a19cbfe.system.entry.js → p-18322745.system.entry.js} +1 -1
- package/lib/duet/{p-b587d0b8.entry.js → p-18aaa40c.entry.js} +1 -1
- package/lib/duet/{p-c998a6e0.system.entry.js → p-1a8494b0.system.entry.js} +1 -1
- package/lib/duet/{p-27f85f4b.entry.js → p-1b46db77.entry.js} +1 -1
- package/lib/duet/{p-e5b6378a.entry.js → p-1d11b3b6.entry.js} +1 -1
- package/lib/duet/{p-77d57c4f.system.entry.js → p-1db3121f.system.entry.js} +1 -1
- package/lib/duet/{p-5fd7ca40.system.entry.js → p-1e0df043.system.entry.js} +1 -1
- package/lib/duet/{p-be945742.system.entry.js → p-210adc0e.system.entry.js} +1 -1
- package/lib/duet/p-21774475.system.js +4 -0
- package/lib/duet/p-23914c18.entry.js +4 -0
- package/lib/duet/{p-ffbf6336.entry.js → p-244387a0.entry.js} +1 -1
- package/lib/duet/{p-dc30f206.entry.js → p-24edf4ed.entry.js} +1 -1
- package/lib/duet/{p-dc079043.entry.js → p-252baa0d.entry.js} +1 -1
- package/lib/duet/{p-6ed3466a.system.entry.js → p-2590ca65.system.entry.js} +1 -1
- package/lib/duet/{p-348752e5.system.entry.js → p-261014df.system.entry.js} +1 -1
- package/lib/duet/{p-aee18e0f.entry.js → p-2858bbdf.entry.js} +1 -1
- package/lib/duet/{p-820c3c6a.entry.js → p-2c139545.entry.js} +1 -1
- package/lib/duet/{p-fdc585bc.entry.js → p-2c34a804.entry.js} +1 -1
- package/lib/duet/{p-b9afc2fb.system.entry.js → p-2cc17967.system.entry.js} +1 -1
- package/lib/duet/{p-69663b1b.system.entry.js → p-2d366120.system.entry.js} +1 -1
- package/lib/duet/{p-2d821b8d.entry.js → p-314d5b44.entry.js} +1 -1
- package/lib/duet/{p-ffd099cc.system.entry.js → p-3515cd72.system.entry.js} +1 -1
- package/lib/duet/{p-d4c8218f.system.entry.js → p-3865240e.system.entry.js} +1 -1
- package/lib/duet/p-38df728c.system.entry.js +4 -0
- package/lib/duet/p-41203a2d.entry.js +4 -0
- package/lib/duet/{p-146d8644.system.entry.js → p-4175e48c.system.entry.js} +1 -1
- package/lib/duet/{p-28c5570c.entry.js → p-426ba263.entry.js} +1 -1
- package/lib/duet/{p-25c520b6.entry.js → p-42959a52.entry.js} +1 -1
- package/lib/duet/{p-a26a04d4.entry.js → p-42f92e6f.entry.js} +1 -1
- package/lib/duet/{p-0dc0d364.entry.js → p-441595f6.entry.js} +1 -1
- package/lib/duet/{p-036071a1.system.js → p-45a16be3.system.js} +1 -1
- package/lib/duet/p-474f53fe.entry.js +4 -0
- package/lib/duet/{p-e21f7498.system.entry.js → p-4a130ebf.system.entry.js} +1 -1
- package/lib/duet/{p-f02dee9c.entry.js → p-4a2adee6.entry.js} +1 -1
- package/lib/duet/{p-4bd13a7d.entry.js → p-4b745f4d.entry.js} +1 -1
- package/lib/duet/p-4bfc3a15.entry.js +4 -0
- package/lib/duet/{p-57b76622.system.entry.js → p-4d3ef5ea.system.entry.js} +1 -1
- package/lib/duet/{p-b7f08ac0.system.entry.js → p-4dc81aa3.system.entry.js} +1 -1
- package/lib/duet/{p-9cd2a179.entry.js → p-4e9b4950.entry.js} +1 -1
- package/lib/duet/{p-af82dc9b.system.entry.js → p-4fe09b26.system.entry.js} +1 -1
- package/lib/duet/{p-224ef4fb.system.entry.js → p-53229ab4.system.entry.js} +1 -1
- package/lib/duet/{p-c79bae8b.system.entry.js → p-5373f6cf.system.entry.js} +1 -1
- package/lib/duet/p-53e33daf.js +4 -0
- package/lib/duet/{p-d73aac37.system.entry.js → p-582b7fa7.system.entry.js} +2 -2
- package/lib/duet/{p-76126782.entry.js → p-594ffed9.entry.js} +1 -1
- package/lib/duet/{p-b2aa8a23.entry.js → p-5b27ed7e.entry.js} +1 -1
- package/lib/duet/{p-d717d828.entry.js → p-5cbc1b17.entry.js} +1 -1
- package/lib/duet/{p-1a2966fc.entry.js → p-5d6e1173.entry.js} +1 -1
- package/lib/duet/{p-0cc51aa5.js → p-5e849463.js} +1 -1
- package/lib/duet/{p-3170506b.entry.js → p-5eaf9a5e.entry.js} +1 -1
- package/lib/duet/{p-23c53556.system.entry.js → p-600f3cf8.system.entry.js} +1 -1
- package/lib/duet/{p-47280725.system.entry.js → p-6020800c.system.entry.js} +1 -1
- package/lib/duet/{p-f58c84af.system.entry.js → p-60be4608.system.entry.js} +1 -1
- package/lib/duet/p-60d0817e.system.entry.js +4 -0
- package/lib/duet/{p-5ffec513.entry.js → p-620c416c.entry.js} +1 -1
- package/lib/duet/{p-165a02ec.system.entry.js → p-63150ee3.system.entry.js} +1 -1
- package/lib/duet/{p-323b233e.system.entry.js → p-645a4cd3.system.entry.js} +1 -1
- package/lib/duet/{p-bc44b51c.entry.js → p-64c8cce6.entry.js} +1 -1
- package/lib/duet/p-64e16fb9.system.js +4 -0
- package/lib/duet/{p-6feae75f.system.entry.js → p-67eee05e.system.entry.js} +1 -1
- package/lib/duet/{p-07650e7e.entry.js → p-68967bb9.entry.js} +1 -1
- package/lib/duet/{p-31f882ec.entry.js → p-69ba8b52.entry.js} +1 -1
- package/lib/duet/{p-af2458bb.system.entry.js → p-6bad895a.system.entry.js} +1 -1
- package/lib/duet/{p-8def73a8.system.entry.js → p-6f9e49da.system.entry.js} +1 -1
- package/lib/duet/{p-d02213d8.system.entry.js → p-702810e3.system.entry.js} +1 -1
- package/lib/duet/p-711c2a2b.system.js +4 -0
- package/lib/duet/{p-838a0e3d.system.entry.js → p-7130f6d6.system.entry.js} +1 -1
- package/lib/duet/{p-4857a879.entry.js → p-722a4867.entry.js} +1 -1
- package/lib/duet/{p-01556920.system.entry.js → p-7768931c.system.entry.js} +2 -2
- package/lib/duet/{p-46cdc3eb.entry.js → p-77e1b69b.entry.js} +1 -1
- package/lib/duet/{p-2acffffa.entry.js → p-78777bcf.entry.js} +1 -1
- package/lib/duet/{p-cb9ea98d.entry.js → p-7ad157c2.entry.js} +1 -1
- package/lib/duet/{p-38e71fa2.system.entry.js → p-82461381.system.entry.js} +1 -1
- package/lib/duet/{p-2ffd74b1.entry.js → p-84031069.entry.js} +1 -1
- package/lib/duet/{p-3ff35a28.system.entry.js → p-86251661.system.entry.js} +1 -1
- package/lib/duet/{p-9f68dc35.entry.js → p-8ae84c52.entry.js} +1 -1
- package/lib/duet/{p-4a125e5e.system.entry.js → p-8e7dc4ed.system.entry.js} +1 -1
- package/lib/duet/{p-f59fbe18.entry.js → p-8ec9245a.entry.js} +1 -1
- package/lib/duet/{p-791b8696.system.entry.js → p-8f504a32.system.entry.js} +1 -1
- package/lib/duet/{p-03e42478.system.entry.js → p-90378229.system.entry.js} +1 -1
- package/lib/duet/{p-975d5c57.entry.js → p-906c13df.entry.js} +1 -1
- package/lib/duet/{p-262be7ec.system.entry.js → p-954c7df4.system.entry.js} +1 -1
- package/lib/duet/{p-39927ae1.system.entry.js → p-95ca3440.system.entry.js} +1 -1
- package/lib/duet/{p-541d7034.system.entry.js → p-9894f629.system.entry.js} +1 -1
- package/lib/duet/{p-5358d93b.entry.js → p-98e033d1.entry.js} +1 -1
- package/lib/duet/{p-bd513d22.entry.js → p-993f5974.entry.js} +1 -1
- package/lib/duet/{p-0cc36862.entry.js → p-9b8c4a19.entry.js} +1 -1
- package/lib/duet/{p-1a9958ee.system.js → p-9bd338fd.system.js} +1 -1
- package/lib/duet/{p-93952086.system.entry.js → p-9eb39bd3.system.entry.js} +1 -1
- package/lib/duet/{p-a6753536.entry.js → p-9f05508d.entry.js} +1 -1
- package/lib/duet/{p-692bb988.system.entry.js → p-a020bf81.system.entry.js} +1 -1
- package/lib/duet/{p-710baba1.entry.js → p-a075ba4d.entry.js} +1 -1
- package/lib/duet/{p-467edb2f.system.entry.js → p-a09af712.system.entry.js} +1 -1
- package/lib/duet/{p-1aa7e90d.entry.js → p-a2541d8a.entry.js} +1 -1
- package/lib/duet/{p-165e9779.entry.js → p-a9b6b8d5.entry.js} +1 -1
- package/lib/duet/{p-ea8c019e.entry.js → p-ab63306b.entry.js} +1 -1
- package/lib/duet/{p-40838403.system.entry.js → p-ab9b7324.system.entry.js} +1 -1
- package/lib/duet/{p-212608a2.entry.js → p-ac09ef10.entry.js} +1 -1
- package/lib/duet/{p-ea0b06d3.system.entry.js → p-ac6f456f.system.entry.js} +1 -1
- package/lib/duet/{p-ec4c94f2.system.entry.js → p-b2af386a.system.entry.js} +1 -1
- package/lib/duet/{p-219b4030.entry.js → p-b2d010fa.entry.js} +1 -1
- package/lib/duet/{p-8b502861.system.entry.js → p-b627091f.system.entry.js} +1 -1
- package/lib/duet/{p-f4b7ed29.entry.js → p-b7be1375.entry.js} +1 -1
- package/lib/duet/{p-d96c1564.js → p-b9157c7e.js} +1 -1
- package/lib/duet/{p-2ebff6d7.system.entry.js → p-b931d3fa.system.entry.js} +1 -1
- package/lib/duet/{p-19a7ee95.entry.js → p-bc7e75a7.entry.js} +1 -1
- package/lib/duet/{p-60e172b5.system.entry.js → p-bdbe3e35.system.entry.js} +1 -1
- package/lib/duet/{p-e482c83a.system.entry.js → p-be3bf41a.system.entry.js} +2 -2
- package/lib/duet/{p-2c839646.entry.js → p-c1e6dcf6.entry.js} +1 -1
- package/lib/duet/p-c34e419e.system.entry.js +4 -0
- package/lib/duet/{p-8add9b29.js → p-c45c621f.js} +1 -1
- package/lib/duet/{p-7ab2acd3.entry.js → p-c65851ca.entry.js} +1 -1
- package/lib/duet/{p-4855cdd1.entry.js → p-c6b5368b.entry.js} +1 -1
- package/lib/duet/{p-bb1241dd.system.entry.js → p-c73db725.system.entry.js} +1 -1
- package/lib/duet/{p-aa47193b.entry.js → p-c9a6ad4d.entry.js} +1 -1
- package/lib/duet/{p-7af93eb8.entry.js → p-cbbe6410.entry.js} +1 -1
- package/lib/duet/p-ccdff614.js +4 -0
- package/lib/duet/{p-d460763b.system.entry.js → p-cd13fb8f.system.entry.js} +1 -1
- package/lib/duet/{p-e3472812.system.entry.js → p-ce0ffc6e.system.entry.js} +1 -1
- package/lib/duet/{p-c9cdb557.system.entry.js → p-ce50e4c0.system.entry.js} +1 -1
- package/lib/duet/{p-b9b8e55c.entry.js → p-cf6c967a.entry.js} +1 -1
- package/lib/duet/{p-926bc03b.system.entry.js → p-d053b6be.system.entry.js} +1 -1
- package/lib/duet/{p-7098b274.system.entry.js → p-d125d287.system.entry.js} +1 -1
- package/lib/duet/{p-3723bb5e.entry.js → p-d189500a.entry.js} +1 -1
- package/lib/duet/{p-659496e9.system.entry.js → p-d1a42e5b.system.entry.js} +1 -1
- package/lib/duet/{p-c19f8b47.entry.js → p-d206ba69.entry.js} +1 -1
- package/lib/duet/{p-7f104c3a.system.entry.js → p-d26b9e1f.system.entry.js} +1 -1
- package/lib/duet/{p-232eaac8.entry.js → p-d6938dce.entry.js} +1 -1
- package/lib/duet/{p-cbc7c330.entry.js → p-d94c8c20.entry.js} +1 -1
- package/lib/duet/{p-9befdbe8.system.entry.js → p-db09c828.system.entry.js} +1 -1
- package/lib/duet/{p-96ccba4e.entry.js → p-dba6c1ee.entry.js} +1 -1
- package/lib/duet/{p-e00c21b4.system.entry.js → p-dc4697ce.system.entry.js} +1 -1
- package/lib/duet/{p-3b06628b.system.entry.js → p-e0aa8284.system.entry.js} +1 -1
- package/lib/duet/p-e0e5597f.entry.js +4 -0
- package/lib/duet/p-e12b3d60.system.js +4 -0
- package/lib/duet/{p-3b92f8f8.system.entry.js → p-e4231291.system.entry.js} +1 -1
- package/lib/duet/{p-94387202.system.entry.js → p-e50ab4d3.system.entry.js} +1 -1
- package/lib/duet/{p-a4fd3204.js → p-e5c0b71a.js} +1 -1
- package/lib/duet/{p-aad672f1.entry.js → p-e836814b.entry.js} +1 -1
- package/lib/duet/{p-54fa7330.entry.js → p-ea5bad4c.entry.js} +1 -1
- package/lib/duet/{p-5c358bc1.entry.js → p-eadbc1cf.entry.js} +1 -1
- package/lib/duet/{p-04648bbd.system.entry.js → p-ecf9b56e.system.entry.js} +1 -1
- package/lib/duet/{p-dbf2f7c4.system.entry.js → p-edd0d41d.system.entry.js} +1 -1
- package/lib/duet/{p-c43ee2af.system.entry.js → p-ee9d7b51.system.entry.js} +1 -1
- package/lib/duet/{p-6c2c20cd.system.entry.js → p-f08a7552.system.entry.js} +1 -1
- package/lib/duet/{p-6f64f7ad.system.entry.js → p-f1faaa0b.system.entry.js} +1 -1
- package/lib/duet/p-f42c2d6e.system.js +4 -0
- package/lib/duet/{p-0584f2d0.entry.js → p-f587e799.entry.js} +1 -1
- package/lib/duet/{p-0f9e6b84.system.entry.js → p-f781276f.system.entry.js} +1 -1
- package/lib/duet/{p-ab380eb2.entry.js → p-f7e4069c.entry.js} +1 -1
- package/lib/duet/{p-b5ec2571.system.entry.js → p-f81647e9.system.entry.js} +1 -1
- package/lib/duet/{p-be4b6375.entry.js → p-f866c944.entry.js} +1 -1
- package/lib/duet/{p-476b19aa.entry.js → p-fb6a8b36.entry.js} +1 -1
- package/lib/duet/{p-4fd75d60.system.entry.js → p-fee4d237.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +12 -8
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +3 -3
- 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.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +6 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +3 -3
- 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 +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-popup-menu-item.entry.js +3 -2
- package/lib/esm/duet-popup-menu.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- 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 +4 -4
- package/lib/esm/duet-slideout.entry.js +8 -7
- 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 +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- 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-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-d6fb240b.js → focus-utils-8f59f0fc.js} +1 -1
- package/lib/esm/{index-5f1c2664.js → index-6a5abb95.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{teleport-691e534d.js → teleport-d66d62e4.js} +2 -2
- package/lib/esm/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
- package/lib/esm/{tokens-5a0d14c7.js → tokens-04106a43.js} +4 -1
- package/lib/esm/{tokens.module-16569707.js → tokens.module-7a2f9c49.js} +3 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.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-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- 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/{focus-utils-d6fb240b.js → focus-utils-8f59f0fc.js} +1 -1
- package/lib/esm-es5/{index-5f1c2664.js → index-6a5abb95.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/teleport-d66d62e4.js +4 -0
- package/lib/esm-es5/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
- package/lib/esm-es5/tokens-04106a43.js +4 -0
- package/lib/esm-es5/tokens.module-7a2f9c49.js +4 -0
- package/lib/types/components/duet-button/duet-button.d.ts +2 -2
- package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
- package/lib/types/components/duet-label/duet-label.d.ts +6 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +5 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -0
- package/lib/types/components.d.ts +28 -4
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-60857718.js +0 -301
- package/lib/duet/p-1b31feee.entry.js +0 -4
- package/lib/duet/p-277ddf44.entry.js +0 -4
- package/lib/duet/p-4469e8f9.system.js +0 -4
- package/lib/duet/p-4e70e1e4.system.entry.js +0 -4
- package/lib/duet/p-5141bab5.system.entry.js +0 -4
- package/lib/duet/p-52e711b6.system.js +0 -4
- package/lib/duet/p-5802dd1b.entry.js +0 -4
- package/lib/duet/p-59be3a18.system.entry.js +0 -4
- package/lib/duet/p-5ba2eed6.entry.js +0 -4
- package/lib/duet/p-613459ec.system.js +0 -4
- package/lib/duet/p-751344b2.js +0 -4
- package/lib/duet/p-87d4aa11.entry.js +0 -4
- package/lib/duet/p-8eaaef1c.system.js +0 -4
- package/lib/duet/p-92956f9e.system.entry.js +0 -4
- package/lib/duet/p-b214b357.entry.js +0 -4
- package/lib/duet/p-b985bcf7.system.js +0 -4
- package/lib/duet/p-ba073aac.js +0 -4
- package/lib/esm-es5/teleport-691e534d.js +0 -4
- package/lib/esm-es5/tokens-5a0d14c7.js +0 -4
- package/lib/esm-es5/tokens.module-16569707.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { w as watchForOptions } from './p-7d8a2628.js';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { h as hasSlot } from './p-11230037.js';
|
|
7
7
|
import { c as createID } from './p-5e59e970.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-2941d90a.js';
|
|
9
9
|
|
|
10
10
|
const duetFieldsetCss = "*,*::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-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;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.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{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(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
11
11
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
+
import { g as getColorByName } from './p-e078836c.js';
|
|
6
7
|
|
|
7
8
|
const duetLabelCss = "*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;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 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}";
|
|
8
9
|
|
|
@@ -14,6 +15,7 @@ const DuetLabel = /*@__PURE__*/ proxyCustomElement(class DuetLabel extends H {
|
|
|
14
15
|
this.for = undefined;
|
|
15
16
|
this.margin = "auto";
|
|
16
17
|
this.size = "medium";
|
|
18
|
+
this.color = "";
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Component lifecycle events.
|
|
@@ -26,13 +28,14 @@ const DuetLabel = /*@__PURE__*/ proxyCustomElement(class DuetLabel extends H {
|
|
|
26
28
|
* Always the last one in the class.
|
|
27
29
|
*/
|
|
28
30
|
render() {
|
|
31
|
+
const color = getColorByName(this.color);
|
|
29
32
|
return (h(Host, { class: {
|
|
30
33
|
"duet-label": true,
|
|
31
34
|
"duet-label-small": this.size === "small",
|
|
32
35
|
"duet-theme-turva": this.theme === "turva",
|
|
33
36
|
"duet-small-margin": this.margin === "small",
|
|
34
37
|
"duet-m-0": this.margin === "none",
|
|
35
|
-
} }, h("label", { htmlFor: this.for }, h("span", null, h("slot", null)))));
|
|
38
|
+
} }, h("label", { htmlFor: this.for, style: { color } }, h("span", null, h("slot", null)))));
|
|
36
39
|
}
|
|
37
40
|
get element() { return this; }
|
|
38
41
|
static get style() { return duetLabelCss; }
|
|
@@ -40,7 +43,8 @@ const DuetLabel = /*@__PURE__*/ proxyCustomElement(class DuetLabel extends H {
|
|
|
40
43
|
"theme": [1025],
|
|
41
44
|
"for": [1],
|
|
42
45
|
"margin": [1],
|
|
43
|
-
"size": [1]
|
|
46
|
+
"size": [1],
|
|
47
|
+
"color": [1]
|
|
44
48
|
}]);
|
|
45
49
|
function defineCustomElement() {
|
|
46
50
|
if (typeof customElements === "undefined") {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { s as sizeNavigation, i as sizeHeader } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
|
+
import { s as sizeNavigation, i as sizeHeader } from './p-2b56c0d7.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { d as debounce } from './p-9e371678.js';
|
|
8
8
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
9
|
-
import { a as breakpointTokensUpTo, b as breakpointToToken } from './p-
|
|
9
|
+
import { a as breakpointTokensUpTo, b as breakpointToToken } from './p-e078836c.js';
|
|
10
10
|
|
|
11
11
|
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{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;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
12
12
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
|
+
import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-2b56c0d7.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { c as createID } from './p-5e59e970.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { g as getColorByName } from './p-
|
|
6
|
+
import { g as getColorByName } from './p-e078836c.js';
|
|
7
7
|
|
|
8
8
|
const duetDividerCss = "*,*::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%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
5
|
|
|
6
6
|
const duetSpacerCss = ":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:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
7
7
|
|
|
@@ -124,8 +124,9 @@ const size_icon_large = "30px";
|
|
|
124
124
|
const size_layout_max_width = "1110px";
|
|
125
125
|
const size_tappable_square = "48px";
|
|
126
126
|
const size_icon_x_small = "16px";
|
|
127
|
+
const size_medium_border = "2px";
|
|
127
128
|
const size_icon_xxx_small = "7px";
|
|
128
|
-
const size_button_border = "
|
|
129
|
+
const size_button_border = "1px";
|
|
129
130
|
const size_button_tiny_border = "1px";
|
|
130
131
|
const size_icon_medium = "24px";
|
|
131
132
|
const size_icon_small = "20px";
|
|
@@ -284,6 +285,7 @@ const tokens = {
|
|
|
284
285
|
size_layout_max_width: size_layout_max_width,
|
|
285
286
|
size_tappable_square: size_tappable_square,
|
|
286
287
|
size_icon_x_small: size_icon_x_small,
|
|
288
|
+
size_medium_border: size_medium_border,
|
|
287
289
|
size_icon_xxx_small: size_icon_xxx_small,
|
|
288
290
|
size_button_border: size_button_border,
|
|
289
291
|
size_button_tiny_border: size_button_tiny_border,
|
|
@@ -447,6 +449,7 @@ const tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
447
449
|
size_layout_max_width: size_layout_max_width,
|
|
448
450
|
size_tappable_square: size_tappable_square,
|
|
449
451
|
size_icon_x_small: size_icon_x_small,
|
|
452
|
+
size_medium_border: size_medium_border,
|
|
450
453
|
size_icon_xxx_small: size_icon_xxx_small,
|
|
451
454
|
size_button_border: size_button_border,
|
|
452
455
|
size_button_tiny_border: size_button_tiny_border,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
8
|
-
import { d as defineCustomElement$7 } from './p-
|
|
9
|
-
import { d as defineCustomElement$6 } from './p-
|
|
10
|
-
import { d as defineCustomElement$5 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-2941d90a.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-88b5a225.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-506c2666.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-802e0cd4.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-8c81a26f.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-98dcc2eb.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-1ed786bc.js';
|
|
15
15
|
|
|
16
16
|
const duetSelectCss = "*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h,.duet-select-variation-compact.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-select-variation-compact.sc-duet-select-h{width:auto}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;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}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select{padding:0 !important;line-height:1}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;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;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{opacity:0}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{display:none}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help.sc-duet-select{display:block;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.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{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(116, 116, 117)}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
17
17
|
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d94a9d9c.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
+
import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-4ab776f4.js';
|
|
7
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
8
|
+
import { g as getColorByName } from './p-e078836c.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-88b5a225.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-9b14643e.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-1ed786bc.js';
|
|
12
|
+
|
|
13
|
+
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;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:24px;padding-left:24px;font-size:1rem;border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:18px;padding-left:18px;font-size:0.875rem;border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:14px}.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{border-color:rgb(207, 210, 212)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.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(228, 228, 230) !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(148, 9, 37);border-color:rgb(148, 9, 37)}.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(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 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(225, 227, 230) !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(228, 228, 230) !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(0, 41, 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(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.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(101, 119, 135) !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(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !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(207, 210, 212);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(228, 228, 230)}.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(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !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(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !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}";
|
|
14
|
+
|
|
15
|
+
const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.__registerHost();
|
|
19
|
+
this.__attachShadow();
|
|
20
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
21
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
22
|
+
/**
|
|
23
|
+
* Component event handling.
|
|
24
|
+
*/
|
|
25
|
+
this.handleClick = (ev) => {
|
|
26
|
+
// If this button wants to specifically submit a form
|
|
27
|
+
// climb up the dom to see if we're in a <form>
|
|
28
|
+
// and if so, then use JS to submit it.
|
|
29
|
+
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
30
|
+
if (!this.url && this.element.closest("form")) {
|
|
31
|
+
ev.preventDefault();
|
|
32
|
+
this.proxyButton.click();
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
this.onFocus = () => {
|
|
36
|
+
this.duetFocus.emit();
|
|
37
|
+
};
|
|
38
|
+
this.onBlur = () => {
|
|
39
|
+
this.duetBlur.emit();
|
|
40
|
+
};
|
|
41
|
+
this.accessibleLabel = undefined;
|
|
42
|
+
this.accessibleControls = undefined;
|
|
43
|
+
this.accessiblePopup = "false";
|
|
44
|
+
this.accessibleActiveDescendant = undefined;
|
|
45
|
+
this.accessibleOwns = undefined;
|
|
46
|
+
this.accessibleDescribedBy = undefined;
|
|
47
|
+
this.accessibleDetails = undefined;
|
|
48
|
+
this.accessibleLabelledBy = undefined;
|
|
49
|
+
this.accessibleDescription = undefined;
|
|
50
|
+
this.accessibleExpanded = undefined;
|
|
51
|
+
this.accessiblePressed = undefined;
|
|
52
|
+
this.loading = false;
|
|
53
|
+
this.variation = "default";
|
|
54
|
+
this.negative = false;
|
|
55
|
+
this.theme = "";
|
|
56
|
+
this.margin = "auto";
|
|
57
|
+
this.padding = "auto";
|
|
58
|
+
this.centerText = false;
|
|
59
|
+
this.wrapping = "auto";
|
|
60
|
+
this.expand = false;
|
|
61
|
+
this.fixed = false;
|
|
62
|
+
this.disabled = false;
|
|
63
|
+
this.name = undefined;
|
|
64
|
+
this.value = undefined;
|
|
65
|
+
this.identifier = undefined;
|
|
66
|
+
this.submit = false;
|
|
67
|
+
this.external = false;
|
|
68
|
+
this.language = getLanguage();
|
|
69
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
70
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
71
|
+
this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
|
|
72
|
+
this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
|
|
73
|
+
this.icon = "";
|
|
74
|
+
this.color = "";
|
|
75
|
+
this.iconRight = false;
|
|
76
|
+
this.iconSize = "medium";
|
|
77
|
+
this.size = "medium";
|
|
78
|
+
this.iconOnly = false;
|
|
79
|
+
this.url = undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Component lifecycle events.
|
|
83
|
+
*/
|
|
84
|
+
componentWillLoad() {
|
|
85
|
+
inheritGlobalTheme(this);
|
|
86
|
+
if (this.url && this.external && this.icon) {
|
|
87
|
+
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
connectedCallback() {
|
|
91
|
+
this.proxyButton = document.createElement("button");
|
|
92
|
+
this.proxyButton.style.display = "none";
|
|
93
|
+
this.syncToProxyButton();
|
|
94
|
+
connectLanguageChangeObserver(this, [
|
|
95
|
+
{
|
|
96
|
+
prop: "accessibleLabelExternal",
|
|
97
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
prop: "accessibleLabelLoading",
|
|
101
|
+
defaults: "accessibleLabelLoadingDefaults",
|
|
102
|
+
},
|
|
103
|
+
]);
|
|
104
|
+
if (!this.url && this.element.closest("form")) {
|
|
105
|
+
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
disconnectedCallback() {
|
|
109
|
+
this.proxyButton.remove();
|
|
110
|
+
this.proxyButton = null;
|
|
111
|
+
disconnectLanguageChangeObserver(this);
|
|
112
|
+
}
|
|
113
|
+
syncToProxyButton() {
|
|
114
|
+
this.proxyButton.type = this.getButtonType();
|
|
115
|
+
this.proxyButton.disabled = this.disabled;
|
|
116
|
+
// attributes should be removed in cases where name/value is not set
|
|
117
|
+
if (this.name != null) {
|
|
118
|
+
this.proxyButton.name = this.name;
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
this.proxyButton.removeAttribute("name");
|
|
122
|
+
}
|
|
123
|
+
if (this.value != null) {
|
|
124
|
+
this.proxyButton.value = this.value;
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
this.proxyButton.removeAttribute("value");
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
getButtonType() {
|
|
131
|
+
return this.submit ? "submit" : "button";
|
|
132
|
+
}
|
|
133
|
+
getButtonIconSize() {
|
|
134
|
+
switch (this.iconSize) {
|
|
135
|
+
case "small":
|
|
136
|
+
return "small";
|
|
137
|
+
case "medium-small":
|
|
138
|
+
return "medium-small";
|
|
139
|
+
case "medium":
|
|
140
|
+
return "medium";
|
|
141
|
+
case "large":
|
|
142
|
+
return "large";
|
|
143
|
+
default:
|
|
144
|
+
return "medium";
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
149
|
+
* `button.focus()`.
|
|
150
|
+
*/
|
|
151
|
+
async setFocus(options) {
|
|
152
|
+
if (this.nativeButton) {
|
|
153
|
+
this.nativeButton.focus(options);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* render() function.
|
|
158
|
+
* Always the last one in the class.
|
|
159
|
+
*/
|
|
160
|
+
render() {
|
|
161
|
+
var _a, _b;
|
|
162
|
+
const isExternalLink = this.external && this.url;
|
|
163
|
+
// enforce consistency for external links
|
|
164
|
+
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
165
|
+
const iconRight = isExternalLink ? true : this.iconRight;
|
|
166
|
+
const commonChildren = (h("span", { class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
|
|
167
|
+
"duet-button-icon": true,
|
|
168
|
+
left: !iconRight,
|
|
169
|
+
right: iconRight,
|
|
170
|
+
[this.getButtonIconSize()]: true,
|
|
171
|
+
} }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { class: "duet-button-contents-slot" }, h("slot", null))));
|
|
172
|
+
const commonProps = {
|
|
173
|
+
onFocus: this.onFocus,
|
|
174
|
+
onBlur: this.onBlur,
|
|
175
|
+
ref: button => (this.nativeButton = button),
|
|
176
|
+
id: this.identifier,
|
|
177
|
+
class: {
|
|
178
|
+
"duet-m-0": this.margin === "none",
|
|
179
|
+
"duet-p-0": this.padding === "none",
|
|
180
|
+
"duet-no-wrap": this.wrapping === "none",
|
|
181
|
+
"duet-button": true,
|
|
182
|
+
"duet-button-is-small": this.size === "small",
|
|
183
|
+
[`duet-button-size-${this.size}`]: true,
|
|
184
|
+
"duet-button-icon-only": this.iconOnly,
|
|
185
|
+
"duet-button-text-center": this.centerText,
|
|
186
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
187
|
+
[this.variation]: true,
|
|
188
|
+
"input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
|
|
189
|
+
disabled: this.disabled,
|
|
190
|
+
icon: !!icon,
|
|
191
|
+
"icon-right": iconRight,
|
|
192
|
+
"icon-left": !!icon && !iconRight,
|
|
193
|
+
[this.getButtonIconSize()]: true,
|
|
194
|
+
},
|
|
195
|
+
"aria-controls": this.accessibleControls,
|
|
196
|
+
"aria-label": this.accessibleLabel,
|
|
197
|
+
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
198
|
+
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
199
|
+
"aria-owns": this.accessibleOwns,
|
|
200
|
+
"aria-describedby": this.accessibleDescribedBy,
|
|
201
|
+
"aria-labelledby": this.accessibleLabelledBy,
|
|
202
|
+
"aria-details": this.accessibleDetails,
|
|
203
|
+
"aria-description": this.accessibleDescription,
|
|
204
|
+
};
|
|
205
|
+
return (h(Host, { onClick: this.handleClick, class: {
|
|
206
|
+
"duet-m-0": this.margin === "none",
|
|
207
|
+
"duet-small": this.size === "small",
|
|
208
|
+
"duet-x-small": this.size === "x-small",
|
|
209
|
+
"duet-fixed": this.fixed,
|
|
210
|
+
"duet-expand": this.expand,
|
|
211
|
+
[this.variation]: true,
|
|
212
|
+
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
213
|
+
} }, h("div", { class: {
|
|
214
|
+
"duet-button-container": true,
|
|
215
|
+
"duet-button-is-loading": this.loading,
|
|
216
|
+
"duet-theme-turva": this.theme === "turva",
|
|
217
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
218
|
+
[this.variation]: true,
|
|
219
|
+
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
|
|
220
|
+
}
|
|
221
|
+
get element() { return this; }
|
|
222
|
+
static get watchers() { return {
|
|
223
|
+
"disabled": ["syncToProxyButton"],
|
|
224
|
+
"submit": ["syncToProxyButton"],
|
|
225
|
+
"value": ["syncToProxyButton"],
|
|
226
|
+
"name": ["syncToProxyButton"]
|
|
227
|
+
}; }
|
|
228
|
+
static get style() { return duetButtonCss; }
|
|
229
|
+
}, [1, "duet-button", {
|
|
230
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
231
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
232
|
+
"accessiblePopup": [1, "accessible-popup"],
|
|
233
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
234
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
235
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
236
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
237
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
238
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
239
|
+
"accessibleExpanded": [4, "accessible-expanded"],
|
|
240
|
+
"accessiblePressed": [4, "accessible-pressed"],
|
|
241
|
+
"loading": [4],
|
|
242
|
+
"variation": [1],
|
|
243
|
+
"negative": [4],
|
|
244
|
+
"theme": [1025],
|
|
245
|
+
"margin": [1],
|
|
246
|
+
"padding": [1],
|
|
247
|
+
"centerText": [4, "center-text"],
|
|
248
|
+
"wrapping": [1],
|
|
249
|
+
"expand": [4],
|
|
250
|
+
"fixed": [4],
|
|
251
|
+
"disabled": [516],
|
|
252
|
+
"name": [1],
|
|
253
|
+
"value": [1],
|
|
254
|
+
"identifier": [1],
|
|
255
|
+
"submit": [516],
|
|
256
|
+
"external": [4],
|
|
257
|
+
"language": [1537],
|
|
258
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
259
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
260
|
+
"accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
|
|
261
|
+
"accessibleLabelLoading": [1025, "accessible-label-loading"],
|
|
262
|
+
"icon": [1],
|
|
263
|
+
"color": [1],
|
|
264
|
+
"iconRight": [4, "icon-right"],
|
|
265
|
+
"iconSize": [1, "icon-size"],
|
|
266
|
+
"size": [1],
|
|
267
|
+
"iconOnly": [4, "icon-only"],
|
|
268
|
+
"url": [513],
|
|
269
|
+
"setFocus": [64]
|
|
270
|
+
}, undefined, {
|
|
271
|
+
"disabled": ["syncToProxyButton"],
|
|
272
|
+
"submit": ["syncToProxyButton"],
|
|
273
|
+
"value": ["syncToProxyButton"],
|
|
274
|
+
"name": ["syncToProxyButton"]
|
|
275
|
+
}]);
|
|
276
|
+
function defineCustomElement() {
|
|
277
|
+
if (typeof customElements === "undefined") {
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
281
|
+
components.forEach(tagName => { switch (tagName) {
|
|
282
|
+
case "duet-button":
|
|
283
|
+
if (!customElements.get(tagName)) {
|
|
284
|
+
customElements.define(tagName, DuetButton);
|
|
285
|
+
}
|
|
286
|
+
break;
|
|
287
|
+
case "duet-icon":
|
|
288
|
+
if (!customElements.get(tagName)) {
|
|
289
|
+
defineCustomElement$3();
|
|
290
|
+
}
|
|
291
|
+
break;
|
|
292
|
+
case "duet-spinner":
|
|
293
|
+
if (!customElements.get(tagName)) {
|
|
294
|
+
defineCustomElement$2();
|
|
295
|
+
}
|
|
296
|
+
break;
|
|
297
|
+
case "duet-visually-hidden":
|
|
298
|
+
if (!customElements.get(tagName)) {
|
|
299
|
+
defineCustomElement$1();
|
|
300
|
+
}
|
|
301
|
+
break;
|
|
302
|
+
} });
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export { DuetButton as D, defineCustomElement as d };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-d94a9d9c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8f253845.js';
|
|
8
8
|
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
-
import { d as defineCustomElement$1 } from './p-
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-7a6cf439.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-88b5a225.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-9b14643e.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './p-1ed786bc.js';
|
|
13
13
|
|
|
14
14
|
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{margin-bottom:16px !important;position:relative;width:100%;padding:16px;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(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.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.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.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-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
15
15
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
5
|
-
import { m as media_query_medium, a as media_query_large } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
|
|
5
|
+
import { m as media_query_medium, a as media_query_large } from './p-5e849463.js';
|
|
6
6
|
import { c as computePosition, f as flip, s as shift, a as arrow } from './p-00c8a755.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
8
8
|
import { c as createID } from './p-5e59e970.js';
|
|
9
9
|
import { b as isEscapeKey } from './p-8f253845.js';
|
|
10
10
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-88b5a225.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-8c81a26f.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-98dcc2eb.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-1ed786bc.js';
|
|
15
15
|
|
|
16
16
|
const duetTooltipCss = "*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";
|
|
17
17
|
|