@duetds/components 8.1.5 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +114 -76
- 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 +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +7 -5
- 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 +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +4 -3
- 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 +22 -3
- 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 +3 -2
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +14 -13
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -4
- 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 +32 -51
- 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 +2 -2
- 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-ec077a62.js → focus-utils-1780ee53.js} +1 -1
- package/lib/cjs/{index-00f527af.js → index-8595e0c1.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/slot-utils-6c81bd09.js +20 -0
- package/lib/cjs/{token-utils-a5356b00.js → token-utils-c672402d.js} +1 -1
- package/lib/cjs/{tokens-51cfbe11.js → tokens-c3eecae6.js} +1 -1
- package/lib/cjs/{tokens.module-ce5f9579.js → tokens.module-bc323a09.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.css +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +3 -0
- package/lib/collection/components/duet-banner/duet-banner.js +8 -1
- package/lib/collection/components/duet-button/duet-button.css +1 -0
- package/lib/collection/components/duet-button/duet-button.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.css +18 -1
- package/lib/collection/components/duet-callout/duet-callout.js +3 -2
- package/lib/collection/components/duet-chip/duet-chip.css +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +55 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -4
- package/lib/collection/components/duet-icon/duet-icon.css +1 -0
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +43 -14
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +32 -51
- package/lib/collection/utils/slot-utils.js +16 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +10 -14
- 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 +6 -11
- 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 +25 -4
- 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 +11 -10
- 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 +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +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 +15 -13
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -5
- 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 +35 -52
- 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-d517fc9a.js → p-0297efef.js} +10 -10
- package/lib/dist-custom-elements/{p-975a4689.js → p-0aef3ad3.js} +2 -2
- package/lib/dist-custom-elements/{p-583e21a8.js → p-13916d96.js} +2 -2
- package/lib/dist-custom-elements/p-15d5aa46.js +60 -0
- package/lib/dist-custom-elements/p-188d76d4.js +205 -0
- package/lib/dist-custom-elements/{p-3cc835d7.js → p-1b55b8aa.js} +1 -1
- package/lib/dist-custom-elements/{p-7bcdcf71.js → p-27efc5ff.js} +3 -3
- package/lib/dist-custom-elements/{p-7d7291bf.js → p-30fe9f1c.js} +8 -8
- package/lib/dist-custom-elements/{p-7bb90fcc.js → p-3bb00966.js} +10 -10
- package/lib/dist-custom-elements/{p-9b174e03.js → p-4086f5d7.js} +2 -2
- package/lib/dist-custom-elements/{p-6d0197c3.js → p-5c8435c6.js} +5 -5
- package/lib/dist-custom-elements/{p-a4605d27.js → p-63997028.js} +6 -6
- package/lib/dist-custom-elements/{p-d10e4492.js → p-679f9f84.js} +1 -1
- package/lib/dist-custom-elements/{p-1e82d8a1.js → p-6a6a112e.js} +2 -2
- package/lib/dist-custom-elements/{p-3d6047c0.js → p-7b59279f.js} +2 -2
- package/lib/dist-custom-elements/{p-9c2d3a9d.js → p-80cc1a6e.js} +2 -2
- package/lib/dist-custom-elements/{p-475baac7.js → p-811f6b14.js} +1 -1
- package/lib/dist-custom-elements/{p-bb1ac896.js → p-8313084c.js} +1 -1
- package/lib/dist-custom-elements/{p-4d3e1b52.js → p-8371f4c9.js} +4 -4
- package/lib/dist-custom-elements/{p-8735b4db.js → p-8aeece22.js} +2 -2
- package/lib/dist-custom-elements/{p-254a95d4.js → p-8f9c9ce8.js} +2 -2
- package/lib/dist-custom-elements/{p-0156b860.js → p-929cc9d5.js} +1 -1
- package/lib/dist-custom-elements/{p-3158e24f.js → p-98aea896.js} +1 -1
- package/lib/dist-custom-elements/{p-471a62cc.js → p-9e103db0.js} +1 -1
- package/lib/dist-custom-elements/{p-9a9a04bd.js → p-9f454015.js} +3 -3
- package/lib/dist-custom-elements/{p-66f15eba.js → p-a5057e42.js} +2 -2
- package/lib/dist-custom-elements/p-bb24a019.js +18 -0
- package/lib/dist-custom-elements/{p-6b977095.js → p-d072d3f7.js} +8 -8
- package/lib/dist-custom-elements/{p-4c5751cd.js → p-d07f9fcc.js} +1 -1
- package/lib/dist-custom-elements/{p-2b56c0d7.js → p-d37a3cec.js} +1 -1
- package/lib/{esm/tokens-04106a43.js → dist-custom-elements/p-d81ec707.js} +1 -1
- package/lib/dist-custom-elements/{p-b590a133.js → p-d87fd2f0.js} +3 -3
- package/lib/dist-custom-elements/{p-4a55dff3.js → p-dbaac77a.js} +5 -5
- package/lib/dist-custom-elements/{p-f3d25b08.js → p-e5e0a9d5.js} +2 -2
- package/lib/dist-custom-elements/{p-da8acaf1.js → p-e93fe17b.js} +2 -2
- package/lib/dist-custom-elements/{p-cab60e87.js → p-ee518783.js} +1 -1
- package/lib/dist-custom-elements/{p-e078836c.js → p-ef9c200e.js} +1 -1
- package/lib/dist-custom-elements/{p-fc6bb9ab.js → p-f992d96f.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-de41a03b.entry.js → p-00af1839.entry.js} +1 -1
- package/lib/duet/{p-6216e282.entry.js → p-03504efc.entry.js} +1 -1
- package/lib/duet/{p-8b1b9953.system.entry.js → p-07639744.system.entry.js} +1 -1
- package/lib/duet/{p-d852ae7e.system.entry.js → p-0b1e9389.system.entry.js} +1 -1
- package/lib/duet/p-0b2e2097.system.entry.js +4 -0
- package/lib/duet/{p-ceb5b489.system.entry.js → p-0c4251d2.system.entry.js} +1 -1
- package/lib/duet/{p-757b1ab3.entry.js → p-0d546b56.entry.js} +1 -1
- package/lib/duet/{p-b012ba6c.entry.js → p-0ee8f124.entry.js} +1 -1
- package/lib/duet/p-0f6f152d.entry.js +4 -0
- package/lib/duet/{p-fdb9f8df.system.entry.js → p-0fb3d28c.system.entry.js} +1 -1
- package/lib/duet/{p-bac92652.entry.js → p-1069a865.entry.js} +1 -1
- package/lib/duet/{p-abbd8ae3.entry.js → p-10e05065.entry.js} +1 -1
- package/lib/duet/p-13241469.system.entry.js +4 -0
- package/lib/duet/{p-f6803f4c.entry.js → p-145de3e0.entry.js} +1 -1
- package/lib/duet/{p-e12b3d60.system.js → p-15fde8cc.system.js} +1 -1
- package/lib/duet/{p-0ec40046.entry.js → p-189f31b8.entry.js} +1 -1
- package/lib/duet/{p-8cfac25d.entry.js → p-1d3f4925.entry.js} +1 -1
- package/lib/duet/p-1ebb5d23.entry.js +4 -0
- package/lib/duet/{p-330db26d.entry.js → p-1fcccba8.entry.js} +1 -1
- package/lib/duet/{p-10f289cb.entry.js → p-204a1ab8.entry.js} +1 -1
- package/lib/duet/{p-c8c9fc58.system.entry.js → p-2073966b.system.entry.js} +1 -1
- package/lib/duet/{p-c0483523.system.entry.js → p-22df3386.system.entry.js} +1 -1
- package/lib/duet/{p-b2996b8c.system.entry.js → p-23043e9e.system.entry.js} +1 -1
- package/lib/duet/{p-9bd338fd.system.js → p-23354cf7.system.js} +1 -1
- package/lib/duet/{p-932be5dd.system.entry.js → p-26a30f41.system.entry.js} +1 -1
- package/lib/duet/{p-5d023790.system.entry.js → p-26e6c296.system.entry.js} +1 -1
- package/lib/duet/{p-15a4a165.system.entry.js → p-2975e980.system.entry.js} +1 -1
- package/lib/duet/{p-7dcdefb0.system.entry.js → p-2f2a6fbf.system.entry.js} +1 -1
- package/lib/duet/{p-9514ee57.system.entry.js → p-3120a193.system.entry.js} +1 -1
- package/lib/duet/{p-e4efc7ea.system.entry.js → p-31215119.system.entry.js} +1 -1
- package/lib/duet/{p-0440798d.entry.js → p-342a250d.entry.js} +1 -1
- package/lib/duet/{p-28a033de.system.entry.js → p-3809955c.system.entry.js} +1 -1
- package/lib/duet/{p-4adb4139.entry.js → p-39aac14c.entry.js} +1 -1
- package/lib/duet/{p-d92ad0d1.system.entry.js → p-3e7d63ff.system.entry.js} +1 -1
- package/lib/duet/{p-79f01df6.entry.js → p-414cc15d.entry.js} +1 -1
- package/lib/duet/{p-7d9cffe7.system.entry.js → p-4350eaaa.system.entry.js} +1 -1
- package/lib/duet/{p-b2a54e37.entry.js → p-462326bc.entry.js} +1 -1
- package/lib/duet/{p-65007ed4.system.entry.js → p-46bc086c.system.entry.js} +1 -1
- package/lib/duet/p-485f3748.system.entry.js +4 -0
- package/lib/duet/{p-c481631f.system.entry.js → p-508c6401.system.entry.js} +1 -1
- package/lib/duet/p-50ebc951.system.entry.js +4 -0
- package/lib/duet/{p-3bda5078.system.entry.js → p-51b802fe.system.entry.js} +1 -1
- package/lib/duet/{p-0198349d.entry.js → p-5224b8e7.entry.js} +1 -1
- package/lib/duet/{p-cea2cb32.entry.js → p-52811ee4.entry.js} +1 -1
- package/lib/duet/{p-0777ebba.entry.js → p-529b0ef8.entry.js} +1 -1
- package/lib/duet/{p-662da762.js → p-52bcdf36.js} +1 -1
- package/lib/duet/{p-67d8175e.system.entry.js → p-530dc869.system.entry.js} +1 -1
- package/lib/duet/{p-049d43f7.entry.js → p-531c259f.entry.js} +1 -1
- package/lib/duet/{p-17373631.entry.js → p-57a29655.entry.js} +1 -1
- package/lib/duet/{p-aab21f91.entry.js → p-57b54fc2.entry.js} +1 -1
- package/lib/duet/{p-930f8fe7.system.entry.js → p-5983c4c1.system.entry.js} +1 -1
- package/lib/duet/{p-1fbb9af9.entry.js → p-59d78e4a.entry.js} +1 -1
- package/lib/duet/p-5a5fb62b.system.entry.js +4 -0
- package/lib/duet/{p-cf1e1237.system.entry.js → p-5a8c6db7.system.entry.js} +1 -1
- package/lib/duet/{p-1e67f010.system.entry.js → p-5b2d1616.system.entry.js} +1 -1
- package/lib/duet/p-5b8477c2.system.js +4 -0
- package/lib/duet/{p-75eb9381.system.entry.js → p-5bd11cd6.system.entry.js} +1 -1
- package/lib/duet/{p-2f98c466.system.entry.js → p-5ed4cad9.system.entry.js} +1 -1
- package/lib/duet/{p-f1f7ee14.entry.js → p-600af4ae.entry.js} +1 -1
- package/lib/duet/{p-54cf9288.system.entry.js → p-6073f3e6.system.entry.js} +1 -1
- package/lib/duet/p-61a76b2b.system.js +4 -0
- package/lib/duet/p-61ab4c50.system.entry.js +4 -0
- package/lib/duet/{p-55e1e8e8.system.entry.js → p-62a1697f.system.entry.js} +1 -1
- package/lib/duet/{p-55f3f985.entry.js → p-62cd7e30.entry.js} +1 -1
- package/lib/duet/{p-e36f923b.entry.js → p-62d30a58.entry.js} +1 -1
- package/lib/duet/{p-eb790693.entry.js → p-6374b7ea.entry.js} +1 -1
- package/lib/duet/{p-a22130db.entry.js → p-641be297.entry.js} +1 -1
- package/lib/duet/{p-154ca6bb.entry.js → p-64737ee3.entry.js} +1 -1
- package/lib/duet/{p-9b62ef83.entry.js → p-6484d791.entry.js} +1 -1
- package/lib/duet/{p-4347cce6.system.entry.js → p-692d016e.system.entry.js} +1 -1
- package/lib/duet/{p-18b36a30.entry.js → p-697addd1.entry.js} +1 -1
- package/lib/duet/p-6e53e390.system.entry.js +4 -0
- package/lib/duet/{p-ddc7c96e.system.entry.js → p-73ec169a.system.entry.js} +1 -1
- package/lib/duet/{p-0081d434.system.entry.js → p-7576d859.system.entry.js} +1 -1
- package/lib/duet/{p-d350968c.system.entry.js → p-7694b9fa.system.entry.js} +2 -2
- package/lib/duet/{p-7ac648a3.system.entry.js → p-7b57105a.system.entry.js} +1 -1
- package/lib/duet/{p-dd7d3b2b.entry.js → p-7bced88e.entry.js} +1 -1
- package/lib/duet/{p-44ac28ab.entry.js → p-7ceb2a64.entry.js} +1 -1
- package/lib/duet/{p-afea9845.entry.js → p-7d4f3ee9.entry.js} +1 -1
- package/lib/duet/{p-576cd780.entry.js → p-7f06df0d.entry.js} +1 -1
- package/lib/duet/{p-174f2859.entry.js → p-7fed706e.entry.js} +1 -1
- package/lib/duet/{p-673fdacb.system.entry.js → p-7ff65dc0.system.entry.js} +1 -1
- package/lib/duet/{p-5f877026.system.entry.js → p-802d6f86.system.entry.js} +1 -1
- package/lib/duet/{p-16b80d3b.js → p-81c39b69.js} +1 -1
- package/lib/duet/{p-eac79871.entry.js → p-8214bafd.entry.js} +1 -1
- package/lib/duet/p-876456fd.entry.js +4 -0
- package/lib/duet/{p-d585ac25.entry.js → p-87653f71.entry.js} +1 -1
- package/lib/duet/{p-2c917cc6.entry.js → p-877c5c97.entry.js} +1 -1
- package/lib/duet/{p-b0fd435f.system.entry.js → p-89aa11c5.system.entry.js} +1 -1
- package/lib/duet/p-8a08dc1c.system.entry.js +4 -0
- package/lib/duet/{p-e2a0e33f.system.entry.js → p-8b7288e6.system.entry.js} +1 -1
- package/lib/duet/{p-ebd1b7ae.system.entry.js → p-8c8752c1.system.entry.js} +1 -1
- package/lib/duet/{p-71bd1c3c.entry.js → p-8c9f4ffd.entry.js} +1 -1
- package/lib/duet/{p-965f292c.system.entry.js → p-8ca7b2fa.system.entry.js} +1 -1
- package/lib/duet/{p-2e037205.system.entry.js → p-8dbc03c1.system.entry.js} +1 -1
- package/lib/duet/{p-ca21be58.entry.js → p-90f13f5e.entry.js} +1 -1
- package/lib/duet/p-9333f3f2.entry.js +4 -0
- package/lib/duet/{p-610b364b.system.js → p-95eca09b.system.js} +1 -1
- package/lib/duet/{p-73c27f4f.entry.js → p-97c30079.entry.js} +1 -1
- package/lib/duet/p-99269e38.system.js +4 -0
- package/lib/duet/p-9a43d193.entry.js +4 -0
- package/lib/duet/{p-65b45177.system.entry.js → p-9a5fd97c.system.entry.js} +1 -1
- package/lib/duet/p-9a7c25f2.entry.js +4 -0
- package/lib/duet/{p-196afde9.system.entry.js → p-9ad8c8d4.system.entry.js} +1 -1
- package/lib/duet/{p-e49e8a54.system.entry.js → p-9d328100.system.entry.js} +1 -1
- package/lib/duet/{p-d832433b.system.entry.js → p-9de27a8f.system.entry.js} +1 -1
- package/lib/duet/{p-e5c0b71a.js → p-9dff8650.js} +1 -1
- package/lib/duet/{p-8be10d34.entry.js → p-9f939b40.entry.js} +1 -1
- package/lib/duet/{p-563dfb63.system.entry.js → p-9fd8cf3b.system.entry.js} +1 -1
- package/lib/duet/{p-70dd63d2.entry.js → p-9fffb1b4.entry.js} +1 -1
- package/lib/duet/{p-9f29048f.entry.js → p-a13bb243.entry.js} +1 -1
- package/lib/duet/{p-780dd22d.entry.js → p-a37947f2.entry.js} +1 -1
- package/lib/duet/{p-e9928179.system.entry.js → p-a658fd46.system.entry.js} +1 -1
- package/lib/duet/{p-23548d24.entry.js → p-a6a7278c.entry.js} +1 -1
- package/lib/duet/{p-39a3beb3.entry.js → p-a71dfbc3.entry.js} +1 -1
- package/lib/duet/{p-a34e7225.entry.js → p-a7788ac6.entry.js} +1 -1
- package/lib/duet/{p-1fec3835.system.entry.js → p-a871d5b1.system.entry.js} +1 -1
- package/lib/duet/{p-7aff0f7c.entry.js → p-a904b928.entry.js} +1 -1
- package/lib/duet/{p-ae30e4ce.entry.js → p-a9fb2dad.entry.js} +1 -1
- package/lib/duet/{p-33666f2e.entry.js → p-a9fee462.entry.js} +1 -1
- package/lib/duet/{p-f5fee877.entry.js → p-aad8ab06.entry.js} +1 -1
- package/lib/duet/{p-5b528cd1.system.entry.js → p-ac10c490.system.entry.js} +1 -1
- package/lib/duet/{p-5908bf36.entry.js → p-ac607868.entry.js} +1 -1
- package/lib/duet/{p-dd5b17d0.system.entry.js → p-acad0f72.system.entry.js} +1 -1
- package/lib/duet/p-aefc858d.entry.js +4 -0
- package/lib/duet/{p-0c5ed102.entry.js → p-af1bc725.entry.js} +1 -1
- package/lib/duet/{p-f9b3965d.system.entry.js → p-af4af7bb.system.entry.js} +1 -1
- package/lib/duet/p-b099522e.system.entry.js +4 -0
- package/lib/duet/{p-4218b915.system.entry.js → p-b1afb239.system.entry.js} +1 -1
- package/lib/duet/{p-074fcd6b.system.entry.js → p-b1e84ea2.system.entry.js} +1 -1
- package/lib/duet/p-b2608fe2.system.entry.js +4 -0
- package/lib/duet/p-b2744aa5.entry.js +4 -0
- package/lib/duet/{p-b710add2.system.entry.js → p-b3a4cb83.system.entry.js} +1 -1
- package/lib/duet/{p-2abdfdf5.entry.js → p-b4ebdbc3.entry.js} +1 -1
- package/lib/duet/{p-753f2b28.entry.js → p-b61c49de.entry.js} +1 -1
- package/lib/duet/p-bb24a019.js +4 -0
- package/lib/duet/{p-bb35b92e.system.entry.js → p-bb507da0.system.entry.js} +1 -1
- package/lib/duet/{p-5339aeea.entry.js → p-c233d99d.entry.js} +1 -1
- package/lib/duet/{p-b9cb8ccb.system.entry.js → p-c2552968.system.entry.js} +1 -1
- package/lib/duet/{p-b9ea34d3.system.entry.js → p-c521eae3.system.entry.js} +1 -1
- package/lib/duet/{p-3f23694f.entry.js → p-d20b8b82.entry.js} +1 -1
- package/lib/duet/{p-d57d7d49.system.entry.js → p-d241457a.system.entry.js} +1 -1
- package/lib/duet/{p-b2b02430.entry.js → p-d577a8d9.entry.js} +1 -1
- package/lib/duet/{p-1498e92a.system.entry.js → p-d6b7c83c.system.entry.js} +1 -1
- package/lib/duet/{p-5e849463.js → p-d81ec707.js} +1 -1
- package/lib/duet/{p-639fd377.system.entry.js → p-d9af65c8.system.entry.js} +1 -1
- package/lib/duet/{p-3bfdf5dc.system.entry.js → p-db73a673.system.entry.js} +1 -1
- package/lib/duet/{p-94147b17.system.entry.js → p-def2db15.system.entry.js} +1 -1
- package/lib/duet/{p-b89fe252.entry.js → p-e006f206.entry.js} +1 -1
- package/lib/duet/{p-37b3c823.entry.js → p-e108f77f.entry.js} +1 -1
- package/lib/duet/{p-21774475.system.js → p-e1868c94.system.js} +1 -1
- package/lib/duet/{p-7fb66081.system.entry.js → p-e4cec0cd.system.entry.js} +1 -1
- package/lib/duet/{p-61b870ac.entry.js → p-e55b0091.entry.js} +1 -1
- package/lib/duet/{p-ca0f9f08.system.entry.js → p-e634de62.system.entry.js} +1 -1
- package/lib/duet/{p-762c0edb.system.entry.js → p-e87e976f.system.entry.js} +1 -1
- package/lib/duet/{p-ce88ecc6.entry.js → p-e9dc6d6c.entry.js} +1 -1
- package/lib/duet/{p-c7fdc7dc.system.entry.js → p-ebc55747.system.entry.js} +1 -1
- package/lib/duet/p-ecb2cbbf.entry.js +4 -0
- package/lib/duet/{p-f7f16a52.entry.js → p-efa1441d.entry.js} +1 -1
- package/lib/duet/p-f041d166.entry.js +4 -0
- package/lib/duet/{p-b9157c7e.js → p-f2aa1623.js} +1 -1
- package/lib/duet/{p-b8c89970.entry.js → p-f4551b33.entry.js} +1 -1
- package/lib/duet/{p-a70815fa.system.entry.js → p-f52a6fc5.system.entry.js} +1 -1
- package/lib/duet/p-f5909e7f.entry.js +4 -0
- package/lib/duet/{p-bf2fd03b.entry.js → p-f603773e.entry.js} +1 -1
- package/lib/duet/{p-a75b2646.system.entry.js → p-fd8935c8.system.entry.js} +1 -1
- package/lib/duet/{p-42b9b16c.system.entry.js → p-fef7a17b.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 +3 -3
- package/lib/esm/duet-banner.entry.js +7 -5
- 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 +6 -6
- package/lib/esm/duet-callout.entry.js +4 -3
- 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 +22 -3
- 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 +3 -2
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +3 -3
- 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 +1 -1
- 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 +14 -13
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +5 -4
- 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 +33 -52
- 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 +2 -2
- 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-2a29f64e.js → focus-utils-d168d36c.js} +1 -1
- package/lib/esm/{index-909a963e.js → index-5c989c52.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/slot-utils-07ba4363.js +18 -0
- package/lib/esm/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
- package/lib/{dist-custom-elements/p-5e849463.js → esm/tokens-30d01e1d.js} +1 -1
- package/lib/esm/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- 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-d168d36c.js +4 -0
- package/lib/esm-es5/{index-909a963e.js → index-5c989c52.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-utils-07ba4363.js +4 -0
- package/lib/esm-es5/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
- package/lib/esm-es5/{tokens-04106a43.js → tokens-30d01e1d.js} +1 -1
- package/lib/esm-es5/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
- package/lib/types/components/duet-callout/duet-callout.d.ts +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +13 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -3
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -3
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +6 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -3
- package/lib/types/components.d.ts +36 -2
- package/lib/types/utils/slot-utils.d.ts +2 -0
- package/package.json +7 -7
- package/lib/dist-custom-elements/p-1c7bd169.js +0 -60
- package/lib/dist-custom-elements/p-c493eecb.js +0 -205
- package/lib/duet/p-031b59ba.system.entry.js +0 -4
- package/lib/duet/p-05f62501.entry.js +0 -4
- package/lib/duet/p-12f3d121.system.entry.js +0 -4
- package/lib/duet/p-207544a2.entry.js +0 -4
- package/lib/duet/p-25109b90.system.entry.js +0 -4
- package/lib/duet/p-3fb7b966.entry.js +0 -4
- package/lib/duet/p-50a679f4.entry.js +0 -4
- package/lib/duet/p-50dbbb82.system.entry.js +0 -4
- package/lib/duet/p-6f806923.system.js +0 -4
- package/lib/duet/p-7bdbb023.entry.js +0 -4
- package/lib/duet/p-844e7c4c.entry.js +0 -4
- package/lib/duet/p-8a264125.system.entry.js +0 -4
- package/lib/duet/p-acfdeb70.entry.js +0 -4
- package/lib/duet/p-b0dfe576.system.entry.js +0 -4
- package/lib/duet/p-b0fa4550.system.js +0 -4
- package/lib/duet/p-cca98ade.entry.js +0 -4
- package/lib/duet/p-ce879ecd.system.entry.js +0 -4
- package/lib/duet/p-d038c90c.system.entry.js +0 -4
- package/lib/duet/p-d3141c64.entry.js +0 -4
- package/lib/duet/p-d54396be.system.entry.js +0 -4
- package/lib/duet/p-e91cced0.entry.js +0 -4
- package/lib/duet/p-ee815760.system.entry.js +0 -4
- package/lib/duet/p-f715214a.entry.js +0 -4
- package/lib/esm-es5/focus-utils-2a29f64e.js +0 -4
|
@@ -22,7 +22,6 @@ export declare class DuetSlideout implements ThemeableComponent {
|
|
|
22
22
|
private exitLangObject;
|
|
23
23
|
private topLevelOpenMenuBarLangObject;
|
|
24
24
|
private isSafariBrowser;
|
|
25
|
-
private intersectionObserver;
|
|
26
25
|
private mutationObserver;
|
|
27
26
|
private teleport;
|
|
28
27
|
private hasStickyHeaderSlot;
|
|
@@ -64,9 +63,8 @@ export declare class DuetSlideout implements ThemeableComponent {
|
|
|
64
63
|
*/
|
|
65
64
|
componentWillLoad(): void;
|
|
66
65
|
connectedCallback(): void;
|
|
67
|
-
componentDidRender(): void;
|
|
68
66
|
disconnectedCallback(): void;
|
|
69
|
-
|
|
67
|
+
handleOpenChange(): void;
|
|
70
68
|
private setOpenButton;
|
|
71
69
|
private openButtonEventListener;
|
|
72
70
|
private getOpenPanel;
|
|
@@ -42,6 +42,7 @@ import { DuetNotificationDrawerDirection } from "./components/duet-notification-
|
|
|
42
42
|
import { DuetNumberInputEvent } from "./components/duet-number-input/duet-number-input";
|
|
43
43
|
import { DuetPaginationPageEvent, DuetPaginationVariation } from "./components/duet-pagination/duet-pagination";
|
|
44
44
|
import { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
|
|
45
|
+
import { FocusableComponent, OpenerComponent } from "./common";
|
|
45
46
|
import { DuetPopupMenuEvent } from "./components/duet-popup-menu/duet-popup-menu";
|
|
46
47
|
import { DuetPopupMenuItemEvent } from "./components/duet-popup-menu-item/duet-popup-menu-item";
|
|
47
48
|
import { DuetRadioEvent } from "./components/duet-radio/duet-radio";
|
|
@@ -101,6 +102,7 @@ export { DuetNotificationDrawerDirection } from "./components/duet-notification-
|
|
|
101
102
|
export { DuetNumberInputEvent } from "./components/duet-number-input/duet-number-input";
|
|
102
103
|
export { DuetPaginationPageEvent, DuetPaginationVariation } from "./components/duet-pagination/duet-pagination";
|
|
103
104
|
export { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
|
|
105
|
+
export { FocusableComponent, OpenerComponent } from "./common";
|
|
104
106
|
export { DuetPopupMenuEvent } from "./components/duet-popup-menu/duet-popup-menu";
|
|
105
107
|
export { DuetPopupMenuItemEvent } from "./components/duet-popup-menu-item/duet-popup-menu-item";
|
|
106
108
|
export { DuetRadioEvent } from "./components/duet-radio/duet-radio";
|
|
@@ -739,10 +741,18 @@ export namespace Components {
|
|
|
739
741
|
"type": DuetChoiceType;
|
|
740
742
|
}
|
|
741
743
|
interface DuetChip {
|
|
744
|
+
/**
|
|
745
|
+
* If the component expands or collapses adjacent content, then use this property to add the aria-expanded attribute to the opening element. Set the value to convey the current expanded (true) or collapsed (false) state of the content.
|
|
746
|
+
*/
|
|
747
|
+
"accessibleExpanded": boolean;
|
|
742
748
|
/**
|
|
743
749
|
* Adds accessible label for the chip that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
744
750
|
*/
|
|
745
751
|
"accessibleLabel": string;
|
|
752
|
+
/**
|
|
753
|
+
* Use this property to add an aria-haspopup attribute.
|
|
754
|
+
*/
|
|
755
|
+
"accessiblePopup": string;
|
|
746
756
|
/**
|
|
747
757
|
* Checked state of the filter chip.
|
|
748
758
|
*/
|
|
@@ -2869,10 +2879,14 @@ export namespace Components {
|
|
|
2869
2879
|
* Adds accessible label for the menu that is only presented for users of assistive technologies. A popup menu should always have an accessible label that describes the popup's function.
|
|
2870
2880
|
*/
|
|
2871
2881
|
"accessibleLabel": string;
|
|
2882
|
+
/**
|
|
2883
|
+
* Accessible role.
|
|
2884
|
+
*/
|
|
2885
|
+
"accessibleRole": "menu" | "list";
|
|
2872
2886
|
/**
|
|
2873
2887
|
* Element controlling the opening and closing of the popup menu.
|
|
2874
2888
|
*/
|
|
2875
|
-
"controller": HTMLElement
|
|
2889
|
+
"controller": HTMLElement & FocusableComponent & OpenerComponent;
|
|
2876
2890
|
/**
|
|
2877
2891
|
* Cross axis positioning offset of the popup menu relative to its controller. For "top" and "bottom" placements cross axis is horizontal, for "left" and "right" vertical.
|
|
2878
2892
|
*/
|
|
@@ -2926,6 +2940,10 @@ export namespace Components {
|
|
|
2926
2940
|
* Adds accessible label for the button or link that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
2927
2941
|
*/
|
|
2928
2942
|
"accessibleLabel": string;
|
|
2943
|
+
/**
|
|
2944
|
+
* Accessible role.
|
|
2945
|
+
*/
|
|
2946
|
+
"accessibleRole": "menuitem" | "listitem";
|
|
2929
2947
|
/**
|
|
2930
2948
|
* Is the item currently active (e.g. selected)
|
|
2931
2949
|
*/
|
|
@@ -6661,10 +6679,18 @@ declare namespace LocalJSX {
|
|
|
6661
6679
|
"type"?: DuetChoiceType;
|
|
6662
6680
|
}
|
|
6663
6681
|
interface DuetChip {
|
|
6682
|
+
/**
|
|
6683
|
+
* If the component expands or collapses adjacent content, then use this property to add the aria-expanded attribute to the opening element. Set the value to convey the current expanded (true) or collapsed (false) state of the content.
|
|
6684
|
+
*/
|
|
6685
|
+
"accessibleExpanded"?: boolean;
|
|
6664
6686
|
/**
|
|
6665
6687
|
* Adds accessible label for the chip that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
6666
6688
|
*/
|
|
6667
6689
|
"accessibleLabel"?: string;
|
|
6690
|
+
/**
|
|
6691
|
+
* Use this property to add an aria-haspopup attribute.
|
|
6692
|
+
*/
|
|
6693
|
+
"accessiblePopup"?: string;
|
|
6668
6694
|
/**
|
|
6669
6695
|
* Checked state of the filter chip.
|
|
6670
6696
|
*/
|
|
@@ -8884,10 +8910,14 @@ declare namespace LocalJSX {
|
|
|
8884
8910
|
* Adds accessible label for the menu that is only presented for users of assistive technologies. A popup menu should always have an accessible label that describes the popup's function.
|
|
8885
8911
|
*/
|
|
8886
8912
|
"accessibleLabel"?: string;
|
|
8913
|
+
/**
|
|
8914
|
+
* Accessible role.
|
|
8915
|
+
*/
|
|
8916
|
+
"accessibleRole"?: "menu" | "list";
|
|
8887
8917
|
/**
|
|
8888
8918
|
* Element controlling the opening and closing of the popup menu.
|
|
8889
8919
|
*/
|
|
8890
|
-
"controller"?: HTMLElement
|
|
8920
|
+
"controller"?: HTMLElement & FocusableComponent & OpenerComponent;
|
|
8891
8921
|
/**
|
|
8892
8922
|
* Cross axis positioning offset of the popup menu relative to its controller. For "top" and "bottom" placements cross axis is horizontal, for "left" and "right" vertical.
|
|
8893
8923
|
*/
|
|
@@ -8929,6 +8959,10 @@ declare namespace LocalJSX {
|
|
|
8929
8959
|
* Adds accessible label for the button or link that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
|
|
8930
8960
|
*/
|
|
8931
8961
|
"accessibleLabel"?: string;
|
|
8962
|
+
/**
|
|
8963
|
+
* Accessible role.
|
|
8964
|
+
*/
|
|
8965
|
+
"accessibleRole"?: "menuitem" | "listitem";
|
|
8932
8966
|
/**
|
|
8933
8967
|
* Is the item currently active (e.g. selected)
|
|
8934
8968
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "This package includes Duet Design System Web Components and related utilities.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "duetdesignsystem@lahitapiola.fi"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"prepare-vizdif": "node -e 'require(\"./prepare-vizdif\").prepare()'",
|
|
36
36
|
"clear-vizdif": "node -e 'require(\"./prepare-vizdif\").clear()'",
|
|
37
37
|
"test:percy": "run-s -c build prepare-vizdif koa:test percy-snapshot koa:kill clear-vizdif",
|
|
38
|
-
"percy-snapshot": "
|
|
38
|
+
"percy-snapshot": "percy snapshot ./percy.js",
|
|
39
39
|
"version": "npm run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"body-scroll-lock": "3.1.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@duetds/fonts": "3.0.
|
|
47
|
-
"@duetds/icons": "4.0.
|
|
48
|
-
"@duetds/tokens": "4.0.
|
|
49
|
-
"@percy/cli": "1.
|
|
46
|
+
"@duetds/fonts": "3.0.31",
|
|
47
|
+
"@duetds/icons": "4.0.31",
|
|
48
|
+
"@duetds/tokens": "4.0.31",
|
|
49
|
+
"@percy/cli": "1.28.1",
|
|
50
50
|
"@rollup/plugin-replace": "5.0.2",
|
|
51
51
|
"@stencil/core": "4.10.0",
|
|
52
52
|
"@stencil/sass": "3.0.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"collection": "lib/collection/collection-manifest.json",
|
|
75
75
|
"es2015": "lib/esm/index.js",
|
|
76
76
|
"es2017": "lib/esm/index.js",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "49460065a488a7834a6567d1bb4878c714a4b2e1"
|
|
78
78
|
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-471a62cc.js';
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
|
|
7
|
-
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
8
|
-
|
|
9
|
-
const DuetBadge = /*@__PURE__*/ proxyCustomElement(class DuetBadge extends H {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.__attachShadow();
|
|
14
|
-
this.theme = "";
|
|
15
|
-
this.variation = "default";
|
|
16
|
-
this.background = "normal";
|
|
17
|
-
this.margin = "auto";
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Component lifecycle events.
|
|
21
|
-
*/
|
|
22
|
-
componentWillLoad() {
|
|
23
|
-
inheritGlobalTheme(this);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* render() function
|
|
27
|
-
* Always the last one of the class.
|
|
28
|
-
*/
|
|
29
|
-
render() {
|
|
30
|
-
const backgroundClass = `background-${this.background}`;
|
|
31
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
32
|
-
"duet-badge": true,
|
|
33
|
-
[this.variation]: true,
|
|
34
|
-
[backgroundClass]: true,
|
|
35
|
-
"duet-theme-turva": this.theme === "turva",
|
|
36
|
-
} }, h("slot", null))));
|
|
37
|
-
}
|
|
38
|
-
get element() { return this; }
|
|
39
|
-
static get style() { return duetBadgeCss; }
|
|
40
|
-
}, [1, "duet-badge", {
|
|
41
|
-
"theme": [1025],
|
|
42
|
-
"variation": [1],
|
|
43
|
-
"background": [1],
|
|
44
|
-
"margin": [1]
|
|
45
|
-
}]);
|
|
46
|
-
function defineCustomElement() {
|
|
47
|
-
if (typeof customElements === "undefined") {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
const components = ["duet-badge"];
|
|
51
|
-
components.forEach(tagName => { switch (tagName) {
|
|
52
|
-
case "duet-badge":
|
|
53
|
-
if (!customElements.get(tagName)) {
|
|
54
|
-
customElements.define(tagName, DuetBadge);
|
|
55
|
-
}
|
|
56
|
-
break;
|
|
57
|
-
} });
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export { DuetBadge as D, defineCustomElement as d };
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { E as Env, p as proxyCustomElement, H, h, d as Host } from './p-471a62cc.js';
|
|
5
|
-
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { g as getColorByName, r as rgbaColorFromRgb } from './p-e078836c.js';
|
|
7
|
-
|
|
8
|
-
const cleanupSvg = (svgContent) => {
|
|
9
|
-
if (typeof document === "undefined" || !svgContent) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const div = document.createElement("div");
|
|
13
|
-
div.innerHTML = svgContent;
|
|
14
|
-
// setup this way to ensure it works on our buddy IE
|
|
15
|
-
for (let i = div.childNodes.length - 1; i >= 0; i--) {
|
|
16
|
-
const child = div.childNodes[i];
|
|
17
|
-
if (child.nodeName.toLowerCase() !== "svg") {
|
|
18
|
-
div.removeChild(div.childNodes[i]);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return div.firstElementChild;
|
|
22
|
-
};
|
|
23
|
-
const isValid = (elm) => {
|
|
24
|
-
if (elm.nodeName.toLowerCase() === "script") {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
for (let i = 0; i < elm.attributes.length; i++) {
|
|
28
|
-
const attribute = elm.attributes[i];
|
|
29
|
-
if (attribute.name.toLowerCase().indexOf("on") === 0) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
if (elm.children) {
|
|
34
|
-
for (let i = 0; i < elm.children.length; i++) {
|
|
35
|
-
if (!isValid(elm.children[i])) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return true;
|
|
41
|
-
};
|
|
42
|
-
const buildIconUrl = (iconName) => {
|
|
43
|
-
// under normal operations the Icons should always be loaded from the CDN
|
|
44
|
-
{
|
|
45
|
-
return `${Env.cdnURIProd}/icons/${Env.duetIconVersion}/lib/assets/${iconName}.svg`;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
const iconCache = {};
|
|
49
|
-
function fetchIconByUrl(url) {
|
|
50
|
-
if (iconCache[url]) {
|
|
51
|
-
return iconCache[url];
|
|
52
|
-
}
|
|
53
|
-
// we create a function that covers all the fetching, cleanup, validation etc,
|
|
54
|
-
// this way we can perform that work just once, and then return the same promise in future.
|
|
55
|
-
async function doFetch() {
|
|
56
|
-
const res = await fetch(url);
|
|
57
|
-
if (!res.ok) {
|
|
58
|
-
throw new Error(`SVG request failed: ${res.status} ${res.statusText}`);
|
|
59
|
-
}
|
|
60
|
-
const responseText = await res.text();
|
|
61
|
-
const svgElement = cleanupSvg(responseText);
|
|
62
|
-
if (!isValid(svgElement)) {
|
|
63
|
-
throw new Error("SVG validation failed");
|
|
64
|
-
}
|
|
65
|
-
// OuterHTML does not unfortunately work here with IE11
|
|
66
|
-
// was previously: resolve(svgElement.outerHTML)
|
|
67
|
-
const div = document.createElement("div");
|
|
68
|
-
div.appendChild(svgElement);
|
|
69
|
-
return div.innerHTML;
|
|
70
|
-
}
|
|
71
|
-
// we do not `await` the fetch, as we only care about initiating the work,
|
|
72
|
-
// it's the responsibility of the calling code to wait for the response.
|
|
73
|
-
const req = doFetch();
|
|
74
|
-
// cache for the repeat requests
|
|
75
|
-
return (iconCache[url] = req);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const duetIconCss = "*,*::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:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";
|
|
79
|
-
|
|
80
|
-
const DuetIcon = /*@__PURE__*/ proxyCustomElement(class DuetIcon extends H {
|
|
81
|
-
constructor() {
|
|
82
|
-
super();
|
|
83
|
-
this.__registerHost();
|
|
84
|
-
this.__attachShadow();
|
|
85
|
-
this.svgContent = undefined;
|
|
86
|
-
this.theme = "";
|
|
87
|
-
this.icon = undefined;
|
|
88
|
-
this.src = undefined;
|
|
89
|
-
this.name = "action-add";
|
|
90
|
-
this.margin = "auto";
|
|
91
|
-
this.responsive = true;
|
|
92
|
-
this.color = "";
|
|
93
|
-
this.background = "";
|
|
94
|
-
this.backgroundOpacity = 1;
|
|
95
|
-
this.backgroundRotation = 0;
|
|
96
|
-
this.size = "medium";
|
|
97
|
-
this.outline = "";
|
|
98
|
-
this.shape = "circle";
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Component lifecycle events.
|
|
102
|
-
*/
|
|
103
|
-
componentWillLoad() {
|
|
104
|
-
inheritGlobalTheme(this);
|
|
105
|
-
if (this.src && this.icon) {
|
|
106
|
-
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
107
|
-
}
|
|
108
|
-
this.loadIcon();
|
|
109
|
-
}
|
|
110
|
-
async loadIcon() {
|
|
111
|
-
// static icon known at build-time, so we can set it synchronously
|
|
112
|
-
if (this.icon) {
|
|
113
|
-
this.svgContent = this.icon;
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
// dynamically load icon from url
|
|
117
|
-
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
118
|
-
try {
|
|
119
|
-
this.svgContent = await fetchIconByUrl(src);
|
|
120
|
-
}
|
|
121
|
-
catch (e) {
|
|
122
|
-
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* render() function.
|
|
127
|
-
* Always the last one in the class.
|
|
128
|
-
*/
|
|
129
|
-
render() {
|
|
130
|
-
const color = this.color === "currentColor"
|
|
131
|
-
? "currentColor"
|
|
132
|
-
: getColorByName(this.color, this.theme) || getColorByName(this.outline, this.theme);
|
|
133
|
-
const backgroundRotationStyles = this.backgroundRotation
|
|
134
|
-
? {
|
|
135
|
-
transform: `rotate(${this.backgroundRotation}deg)`,
|
|
136
|
-
"transform-origin": "center center",
|
|
137
|
-
}
|
|
138
|
-
: {};
|
|
139
|
-
const styles = Object.assign({ color, background: rgbaColorFromRgb(getColorByName(this.background, this.theme), this.backgroundOpacity), "border-color": getColorByName(this.outline, this.theme) }, backgroundRotationStyles);
|
|
140
|
-
const iconRotationStyles = this.backgroundRotation
|
|
141
|
-
? {
|
|
142
|
-
transform: `rotate(-${this.backgroundRotation}deg)`,
|
|
143
|
-
"transform-origin": "center center",
|
|
144
|
-
}
|
|
145
|
-
: {};
|
|
146
|
-
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
147
|
-
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
148
|
-
return (h(Host, { class: {
|
|
149
|
-
"duet-m-0": this.margin === "none",
|
|
150
|
-
"duet-icon-has-outline": !!this.outline,
|
|
151
|
-
"duet-icon-has-background": !!this.background,
|
|
152
|
-
} }, h("div", { "aria-hidden": "true", style: styles, class: {
|
|
153
|
-
"duet-icon": true,
|
|
154
|
-
[this.size]: true,
|
|
155
|
-
"duet-theme-turva": this.theme === "turva",
|
|
156
|
-
"duet-theme-default": this.theme === "default",
|
|
157
|
-
"duet-icon-has-outline": !!this.outline,
|
|
158
|
-
"duet-icon-has-background": !!this.background,
|
|
159
|
-
[shapeStyle]: true,
|
|
160
|
-
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
161
|
-
"duet-icon-not-responsive": !this.responsive,
|
|
162
|
-
} }, h("span", { "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, innerHTML: this.svgContent, style: iconStyles }))));
|
|
163
|
-
}
|
|
164
|
-
get element() { return this; }
|
|
165
|
-
static get watchers() { return {
|
|
166
|
-
"src": ["loadIcon"],
|
|
167
|
-
"icon": ["loadIcon"],
|
|
168
|
-
"name": ["loadIcon"]
|
|
169
|
-
}; }
|
|
170
|
-
static get style() { return duetIconCss; }
|
|
171
|
-
}, [1, "duet-icon", {
|
|
172
|
-
"theme": [1025],
|
|
173
|
-
"icon": [1],
|
|
174
|
-
"src": [1],
|
|
175
|
-
"name": [1],
|
|
176
|
-
"margin": [1],
|
|
177
|
-
"responsive": [4],
|
|
178
|
-
"color": [513],
|
|
179
|
-
"background": [1],
|
|
180
|
-
"backgroundOpacity": [2, "background-opacity"],
|
|
181
|
-
"backgroundRotation": [2, "background-rotation"],
|
|
182
|
-
"size": [1],
|
|
183
|
-
"outline": [1],
|
|
184
|
-
"shape": [1],
|
|
185
|
-
"svgContent": [32]
|
|
186
|
-
}, undefined, {
|
|
187
|
-
"src": ["loadIcon"],
|
|
188
|
-
"icon": ["loadIcon"],
|
|
189
|
-
"name": ["loadIcon"]
|
|
190
|
-
}]);
|
|
191
|
-
function defineCustomElement() {
|
|
192
|
-
if (typeof customElements === "undefined") {
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
const components = ["duet-icon"];
|
|
196
|
-
components.forEach(tagName => { switch (tagName) {
|
|
197
|
-
case "duet-icon":
|
|
198
|
-
if (!customElements.get(tagName)) {
|
|
199
|
-
customElements.define(tagName, DuetIcon);
|
|
200
|
-
}
|
|
201
|
-
break;
|
|
202
|
-
} });
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export { DuetIcon as D, defineCustomElement as d };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function u(e){try{s(i.next(e))}catch(e){r(e)}}function a(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?n(e.value):o(e.value).then(u,a)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return s([e,t])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(n=0)),n)try{if(i=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];o=0}finally{i=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,o,r,u;return{setters:[function(e){t=e.r;n=e.c;i=e.h;o=e.H;r=e.g},function(e){u=e.i}],execute:function(){var a='*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}';var s=e("duet_popup_menu_item",function(){function e(e){var i=this;t(this,e);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.onFocus=function(e){i.focus=true;i.duetFocus.emit({originalEvent:e,value:i.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){i.focus=false;i.duetBlur.emit({originalEvent:e,value:i.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.theme="";this.url=undefined;this.external=false;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false}e.prototype.componentWillLoad=function(){u(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var n={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva"};return i(o,null,i(t,{ref:function(t){return e.itemElement=t},tabIndex:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"menuitem","aria-label":this.accessibleLabel,class:n,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined},this.leadingIcon&&i("duet-icon",{name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{class:"duet-popup-menu-item-label"},i("slot",null)),this.trailingIcon&&i("duet-icon",{name:this.trailingIcon,size:"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,c as t,h as o,H as i,g as n}from"./p-662da762.js";import{i as s}from"./p-a58bd561.js";const a=class{constructor(o){e(this,o),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.theme="",this.url=void 0,this.external=!1,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1}componentWillLoad(){s(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}async isFocused(){return this.focus}render(){return o(i,null,o(this.url?"a":"button",{ref:e=>this.itemElement=e,tabIndex:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"menuitem","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&o("duet-icon",{name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),o("span",{class:"duet-popup-menu-item-label"},o("slot",null)),this.trailingIcon&&o("duet-icon",{name:this.trailingIcon,size:"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&o("span",{class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};a.style='*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}';export{a as duet_popup_menu_item}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,r,o,a,n;return{setters:[function(e){t=e.r;r=e.h;o=e.H;a=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';var g=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(o,{class:{"duet-m-0":this.margin==="none"}},r("div",{class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());g.style=d}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as e,h as o,H as n,g as r}from"./p-662da762.js";import{i as u}from"./p-a58bd561.js";import{D as i,a as d}from"./p-4ab776f4.js";import{a,g as s,c as b,d as l}from"./p-2e36d5bf.js";import{g as p}from"./p-e5c0b71a.js";import"./p-0e052642.js";import"./p-b9157c7e.js";const h=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.handleClick=t=>{!this.url&&this.element.closest("form")&&(t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=a(),this.accessibleLabelExternalDefaults=i,this.accessibleLabelExternal=s(this.accessibleLabelExternalDefaults),this.accessibleLabelLoadingDefaults=d,this.accessibleLabelLoading=s(this.accessibleLabelLoadingDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){u(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){this.proxyButton=document.createElement("button"),this.proxyButton.style.display="none",this.syncToProxyButton(),b(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}]),!this.url&&this.element.closest("form")&&this.element.insertAdjacentElement("beforebegin",this.proxyButton)}disconnectedCallback(){this.proxyButton.remove(),this.proxyButton=null,l(this)}syncToProxyButton(){this.proxyButton.type=this.getButtonType(),this.proxyButton.disabled=this.disabled,null!=this.name?this.proxyButton.name=this.name:this.proxyButton.removeAttribute("name"),null!=this.value?this.proxyButton.value=this.value:this.proxyButton.removeAttribute("value")}getButtonType(){return this.submit?"submit":"button"}getButtonIconSize(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":default:return"medium";case"large":return"large"}}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t,e;const r=this.external&&this.url,u=r?"action-new-window":this.icon,i=!!r||this.iconRight,d=o("span",{class:{"duet-button-contents":!0,"icon-right":i},style:{color:p(this.color)}},u&&o("div",{"aria-hidden":"true",class:{"duet-button-icon":!0,left:!i,right:i,[this.getButtonIconSize()]:!0}},o("duet-icon",{size:"auto",margin:"none",name:u,color:"currentColor"})),o("span",{class:"duet-button-contents-slot"},o("slot",null))),a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,[`duet-button-size-${this.size}`]:!0,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button"),disabled:this.disabled,icon:!!u,"icon-right":i,"icon-left":!!u&&!i,[this.getButtonIconSize()]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(n,{onClick:this.handleClick,class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-x-small":"x-small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,[this.variation]:!0,"input-button":null===(e=this.variation)||void 0===e?void 0:e.startsWith("input-button")}},o("div",{class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},a,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),d,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},a,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),d,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{color:"currentColor"})))}get element(){return r(this)}static get watchers(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}}};h.style='*,*::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}';const m=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){u(this)}render(){const t="currentColor"===this.color?"currentColor":p(this.color);return o(n,{class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}};m.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';export{h as duet_button,m as duet_spinner}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function o(t){try{a(n.next(t))}catch(t){s(t)}}function u(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(o,u)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(i){return a([t,i])}}function a(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(e=0)),e)try{if(n=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;r=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){e.label=u[1];break}if(u[0]===6&&e.label<s[1]){e.label=s[1];s=u;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(u);break}if(s[2])e.ops.pop();e.trys.pop();continue}u=i.call(t,e)}catch(t){u=[6,t];r=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-610b364b.system.js","./p-232940fa.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js","./p-f42c2d6e.system.js"],(function(t){"use strict";var i,e,n,r,s,o,u,a,c,h,f,p,d,l;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.H;s=t.g},function(t){o=t.c;u=t.o;a=t.f},function(t){c=t.i},function(t){h=t.f;f=t.c;p=t.b;d=t.o},function(t){l=t.T}],execute:function(){var m="*,*::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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";var b=t("duet_popup_menu",function(){function t(t){var n=this;i(this,t);this.duetToggle=e(this,"duetToggle",7);this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.controller){return[2]}return[4,o(this.controller,this.element,{middleware:[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),a()],placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.theme="";this.controller=undefined;this.placement="bottom-start";this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0}t.prototype.componentWillLoad=function(){c(this);this.teleport=new l(this.element)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.handleKeyUp=function(t){if(this.open){if(h(t)){this.focusController();this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,i;return __generator(this,(function(e){switch(e.label){case 0:if(!this.open)return[3,5];if(!f(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=e.sent();if(i!==-1){if(i<this.itemElements.length-1){this.itemElements[i+1].setFocus()}else{this.itemElements[0].setFocus()}}e.label=2;case 2:if(!p(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=e.sent();if(i!==-1){if(i===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[i-1].setFocus()}}e.label=4;case 4:if(d(t)){t.preventDefault();this.hide()}e.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var i=this;var e=t.composedPath().every((function(t){return t!==i.element&&t!==i.controller}));if(this.open&&e){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;this.teleport.go();this.itemElements[0].setFocus();this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.updatePlacement();return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;this.duetToggle.emit({open:this.open,component:"duet-popup-menu"});this.focusController();this.teleport.resume(200);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.focusController=function(){if(this.controller){if("setFocus"in this.controller){this.controller.setFocus()}else{this.controller.focus()}}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"))},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.itemElements;i=0;e.label=1;case 1:if(!(i<t.length))return[3,4];return[4,t[i].isFocused()];case 2:if(e.sent()){return[2,i]}e.label=3;case 3:i++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px")};return n(r,{class:this.position},n("div",{style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva"},role:"menu","aria-label":this.accessibleLabel},n("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());b.style=m}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as o,H as e,g as a}from"./p-662da762.js";import{i as n}from"./p-a58bd561.js";const i=class{constructor(o){t(this,o),this.hasAuthorSlot=!1,this.theme="",this.margin="auto"}componentWillLoad(){n(this),this.hasAuthorSlot=!!this.element.querySelector('[slot="author"]')}render(){return o(e,null,o("div",{class:{"duet-callout":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},o("figure",{class:"container"},o("duet-icon",{class:"callout-icon",shape:"brand-rotated",background:"primary-lighter","background-opacity":"0.75","background-rotation":"turva"===this.theme?"0":"7",color:"secondary",icon:'<svg viewBox="0 0 22 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>\n </svg>\n ',size:"auto",margin:"none",theme:this.theme}),o("blockquote",null,o("duet-paragraph",{variation:"intro",weight:"semi-bold",margin:"none",theme:this.theme},o("slot",null))),this.hasAuthorSlot&&o("figcaption",{class:"author"},o("span",null,"— "),o("span",null,o("slot",{name:"author"}))))))}get element(){return a(this)}};i.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}';export{i as duet_callout}
|