@duetds/components 8.4.1 → 8.4.3
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 +194 -34
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- 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 +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -4
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -6
- 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 +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- 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 +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +92 -0
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- 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-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +9 -2
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{floating-ui.dom.esm-a7d59d53.js → floating-ui.dom.esm-91f66430.js} +60 -20
- package/lib/cjs/{focus-utils-327224fb.js → focus-utils-a8f819a3.js} +1 -1
- package/lib/cjs/{index-f9de8fc6.js → index-cb4d7840.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +26 -0
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +5 -5
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.css +12 -0
- package/lib/collection/components/duet-header/duet-header.js +16 -16
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +14 -7
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +6 -0
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +3 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +113 -0
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +290 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +6 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +48 -18
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +31 -3
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- 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 +12 -12
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- 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 +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +3 -3
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- 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 +2 -2
- 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 +4 -4
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +123 -0
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +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-item.js +3 -3
- 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 +3 -3
- 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 +30 -23
- 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-95fd6b77.js → p-010b0059.js} +3 -3
- package/lib/dist-custom-elements/{p-3b611f77.js → p-04a28e53.js} +1 -1
- package/lib/dist-custom-elements/{p-ee4d3c46.js → p-09ac88f3.js} +4 -4
- package/lib/dist-custom-elements/{p-19e196d7.js → p-101df5e0.js} +2 -2
- package/lib/dist-custom-elements/{p-00c8a755.js → p-11e152cd.js} +60 -20
- package/lib/dist-custom-elements/{p-de784f1a.js → p-2103fc77.js} +1 -1
- package/lib/dist-custom-elements/{p-d91292b9.js → p-22530bf0.js} +1 -1
- package/lib/dist-custom-elements/{p-5744809e.js → p-252800e5.js} +1 -1
- package/lib/dist-custom-elements/{p-57391cc8.js → p-29282584.js} +1 -1
- package/lib/dist-custom-elements/{p-4b0c6729.js → p-34f86ab2.js} +1 -1
- package/lib/dist-custom-elements/{p-fe64b544.js → p-3a2a46d4.js} +13 -6
- package/lib/dist-custom-elements/{p-e1bb31ca.js → p-3da9e71c.js} +5 -5
- package/lib/dist-custom-elements/{p-65c75ef9.js → p-3e7280f6.js} +8 -8
- package/lib/dist-custom-elements/{p-2e054d37.js → p-3fa35111.js} +2 -2
- package/lib/dist-custom-elements/{p-40c896f1.js → p-44cdc06d.js} +1 -1
- package/lib/dist-custom-elements/{p-eef66341.js → p-4bd749d9.js} +1 -1
- package/lib/dist-custom-elements/{p-44597ec8.js → p-4da748b2.js} +1 -1
- package/lib/dist-custom-elements/{p-8e5e3b4e.js → p-613dba69.js} +4 -4
- package/lib/dist-custom-elements/{p-65d670a0.js → p-6a2c4e3a.js} +6 -6
- package/lib/dist-custom-elements/{p-c0e3f8a6.js → p-8af17456.js} +1 -1
- package/lib/dist-custom-elements/{p-f70cdce4.js → p-8d2fe91f.js} +10 -10
- package/lib/dist-custom-elements/{p-4ef93ac1.js → p-9b8fa220.js} +2 -2
- package/lib/dist-custom-elements/{p-72e0efbc.js → p-a225fccd.js} +5 -5
- package/lib/dist-custom-elements/{p-f6fffc84.js → p-b7f8263a.js} +2 -2
- package/lib/dist-custom-elements/{p-6542b17e.js → p-bb06c3ac.js} +1 -1
- package/lib/dist-custom-elements/{p-15060f3e.js → p-c5d64549.js} +19 -11
- package/lib/dist-custom-elements/{p-99feccb2.js → p-c7343af9.js} +1 -1
- package/lib/dist-custom-elements/{p-7a89935d.js → p-c7bbc1bd.js} +1 -1
- package/lib/dist-custom-elements/{p-a6d6bf5b.js → p-c8659f64.js} +1 -1
- package/lib/dist-custom-elements/{p-0ccedd20.js → p-cd25ec2f.js} +1 -1
- package/lib/dist-custom-elements/{p-2e5140b1.js → p-d0cf13fd.js} +1 -1
- package/lib/dist-custom-elements/{p-4bff90c2.js → p-d940c692.js} +1 -1
- package/lib/dist-custom-elements/{p-6c44ff37.js → p-d9f82ff4.js} +1 -1
- package/lib/dist-custom-elements/{p-d696adf5.js → p-e6920cf3.js} +2 -2
- package/lib/dist-custom-elements/{p-5230e644.js → p-ea4b4bbb.js} +1 -1
- package/lib/dist-custom-elements/{p-2a149fd8.js → p-f79a36ee.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-dfa44807.entry.js → p-01a3e3f8.entry.js} +1 -1
- package/lib/duet/{p-19c965b5.entry.js → p-01bf6506.entry.js} +1 -1
- package/lib/duet/{p-adab3da6.system.entry.js → p-02833fe6.system.entry.js} +1 -1
- package/lib/duet/{p-10b4dd2b.system.entry.js → p-029e0713.system.entry.js} +1 -1
- package/lib/duet/{p-946b6050.system.entry.js → p-04e058bc.system.entry.js} +1 -1
- package/lib/duet/{p-1aca2547.system.entry.js → p-0806aac6.system.entry.js} +1 -1
- package/lib/duet/{p-db927865.system.entry.js → p-091d343c.system.entry.js} +1 -1
- package/lib/duet/{p-790dad25.system.entry.js → p-098dcfbc.system.entry.js} +1 -1
- package/lib/duet/p-0995d4db.entry.js +4 -0
- package/lib/duet/{p-bfec3e0a.entry.js → p-0ad0dc08.entry.js} +1 -1
- package/lib/duet/{p-9b22092d.system.entry.js → p-0b80e74d.system.entry.js} +1 -1
- package/lib/duet/{p-63dfab5b.entry.js → p-0cfba791.entry.js} +1 -1
- package/lib/duet/{p-0fa339a9.system.entry.js → p-0f33db5a.system.entry.js} +1 -1
- package/lib/duet/{p-41f5841c.entry.js → p-0f9796d8.entry.js} +1 -1
- package/lib/duet/p-11e152cd.js +4 -0
- package/lib/duet/{p-f60d9095.system.entry.js → p-142fffe3.system.entry.js} +1 -1
- package/lib/duet/{p-1cacf327.entry.js → p-16669185.entry.js} +1 -1
- package/lib/duet/{p-2d5e65b9.system.entry.js → p-17130b15.system.entry.js} +1 -1
- package/lib/duet/{p-6315a118.system.entry.js → p-18b21092.system.entry.js} +1 -1
- package/lib/duet/{p-7599b013.entry.js → p-19348034.entry.js} +1 -1
- package/lib/duet/{p-40ec91af.system.entry.js → p-1a2ff25f.system.entry.js} +1 -1
- package/lib/duet/{p-ae014830.system.entry.js → p-1b32fc71.system.entry.js} +1 -1
- package/lib/duet/{p-b0d6abce.entry.js → p-1bf2c055.entry.js} +1 -1
- package/lib/duet/{p-18bc2b2f.entry.js → p-1d7f59a7.entry.js} +1 -1
- package/lib/duet/{p-571a1255.system.entry.js → p-1e3a9599.system.entry.js} +1 -1
- package/lib/duet/{p-ca737839.entry.js → p-205c1d86.entry.js} +1 -1
- package/lib/duet/{p-e58cd7fd.system.entry.js → p-22d2d468.system.entry.js} +1 -1
- package/lib/duet/{p-20211120.entry.js → p-2765967c.entry.js} +1 -1
- package/lib/duet/{p-351dbf91.system.entry.js → p-29d5a763.system.entry.js} +1 -1
- package/lib/duet/{p-a942bdee.entry.js → p-29e18bae.entry.js} +1 -1
- package/lib/duet/{p-2609cbef.system.entry.js → p-2a594105.system.entry.js} +1 -1
- package/lib/duet/{p-284bcc14.entry.js → p-2bfe2f51.entry.js} +1 -1
- package/lib/duet/{p-0f667990.system.entry.js → p-2c1f79ac.system.entry.js} +1 -1
- package/lib/duet/{p-cddf8053.system.entry.js → p-2e53172a.system.entry.js} +1 -1
- package/lib/duet/{p-6b8435d2.entry.js → p-2f82c4d4.entry.js} +1 -1
- package/lib/duet/{p-bc06eaac.entry.js → p-30a6959f.entry.js} +1 -1
- package/lib/duet/{p-70fa2c28.system.entry.js → p-31322a2c.system.entry.js} +1 -1
- package/lib/duet/{p-a8028561.entry.js → p-3266adc5.entry.js} +1 -1
- package/lib/duet/p-34eeb826.entry.js +4 -0
- package/lib/duet/{p-08708eb4.system.entry.js → p-3736f46a.system.entry.js} +1 -1
- package/lib/duet/{p-e11114db.entry.js → p-389ec8d1.entry.js} +1 -1
- package/lib/duet/{p-34dd8057.entry.js → p-39b31261.entry.js} +1 -1
- package/lib/duet/{p-35ba024d.entry.js → p-3a93f309.entry.js} +1 -1
- package/lib/duet/{p-3c4f16aa.system.entry.js → p-3b930917.system.entry.js} +1 -1
- package/lib/duet/{p-42529cf1.entry.js → p-3c47cc95.entry.js} +1 -1
- package/lib/duet/{p-b80d0aeb.system.entry.js → p-3d74d9ba.system.entry.js} +1 -1
- package/lib/duet/{p-85b7c2e7.entry.js → p-3e86fc2f.entry.js} +1 -1
- package/lib/duet/{p-26ed2d8a.entry.js → p-4128d086.entry.js} +1 -1
- package/lib/duet/{p-7ad82468.entry.js → p-41faac57.entry.js} +1 -1
- package/lib/duet/{p-1bce83be.system.entry.js → p-4219a6cc.system.entry.js} +1 -1
- package/lib/duet/{p-8d4942c5.entry.js → p-44dd3f6b.entry.js} +1 -1
- package/lib/duet/{p-29e5a618.system.entry.js → p-46efd28d.system.entry.js} +1 -1
- package/lib/duet/{p-87ce9349.entry.js → p-473f2aeb.entry.js} +1 -1
- package/lib/duet/{p-004adfad.entry.js → p-4999bd59.entry.js} +1 -1
- package/lib/duet/{p-9531abc8.system.entry.js → p-4dc1f780.system.entry.js} +1 -1
- package/lib/duet/p-4e22efae.entry.js +4 -0
- package/lib/duet/{p-3cbad6d0.entry.js → p-4ebf7879.entry.js} +1 -1
- package/lib/duet/{p-2b05e7f2.system.entry.js → p-51f24687.system.entry.js} +1 -1
- package/lib/duet/{p-fc070130.entry.js → p-543bc859.entry.js} +1 -1
- package/lib/duet/{p-6d276a1a.system.entry.js → p-56c12a47.system.entry.js} +1 -1
- package/lib/duet/{p-0fc49dba.entry.js → p-57a3bf19.entry.js} +1 -1
- package/lib/duet/p-580aed81.system.entry.js +4 -0
- package/lib/duet/{p-5d1dd83e.system.entry.js → p-5e396e57.system.entry.js} +1 -1
- package/lib/duet/{p-beed8c17.system.entry.js → p-5ea4fe7b.system.entry.js} +1 -1
- package/lib/duet/{p-813c70d0.system.entry.js → p-611fc71b.system.entry.js} +1 -1
- package/lib/duet/{p-67081f4b.system.entry.js → p-660c33d4.system.entry.js} +1 -1
- package/lib/duet/{p-f8d38386.system.entry.js → p-665cd245.system.entry.js} +1 -1
- package/lib/duet/{p-a6e667d6.entry.js → p-67af148d.entry.js} +1 -1
- package/lib/duet/{p-f3108381.system.entry.js → p-682cc430.system.entry.js} +1 -1
- package/lib/duet/{p-c0d2a7a9.system.entry.js → p-6aaaa6e6.system.entry.js} +1 -1
- package/lib/duet/{p-b72bdbe7.entry.js → p-6b9228dd.entry.js} +1 -1
- package/lib/duet/{p-fe2b2427.entry.js → p-71fc3743.entry.js} +1 -1
- package/lib/duet/{p-c8ad985d.entry.js → p-720b866c.entry.js} +1 -1
- package/lib/duet/{p-0086f84d.system.entry.js → p-76d99102.system.entry.js} +1 -1
- package/lib/duet/{p-0506b997.system.entry.js → p-778af8b7.system.entry.js} +1 -1
- package/lib/duet/p-7a79672d.system.entry.js +4 -0
- package/lib/duet/{p-6f6a2a37.entry.js → p-7ac66521.entry.js} +1 -1
- package/lib/duet/{p-7985f554.entry.js → p-7ad16b5f.entry.js} +1 -1
- package/lib/duet/{p-aeef3da1.system.entry.js → p-7b220ee3.system.entry.js} +1 -1
- package/lib/duet/{p-7d9cb5c8.system.entry.js → p-7df9ed1a.system.entry.js} +1 -1
- package/lib/duet/{p-dc3cc6a3.entry.js → p-7e7d991d.entry.js} +1 -1
- package/lib/duet/{p-651ba417.entry.js → p-80ab419c.entry.js} +1 -1
- package/lib/duet/p-81a240d4.entry.js +4 -0
- package/lib/duet/{p-f1bbf5eb.system.entry.js → p-83d69e66.system.entry.js} +1 -1
- package/lib/duet/{p-90d3f3c8.entry.js → p-841e2acc.entry.js} +1 -1
- package/lib/duet/{p-70c8c61a.entry.js → p-849e68d1.entry.js} +1 -1
- package/lib/duet/{p-78fb70b7.entry.js → p-85695c74.entry.js} +1 -1
- package/lib/duet/{p-6a3c4621.system.entry.js → p-8606a8a4.system.entry.js} +1 -1
- package/lib/duet/{p-cb40a8fc.entry.js → p-876f9b62.entry.js} +1 -1
- package/lib/duet/{p-fe57483c.system.entry.js → p-8814dca5.system.entry.js} +1 -1
- package/lib/duet/{p-de80b40e.system.entry.js → p-88f72255.system.entry.js} +1 -1
- package/lib/duet/{p-8cedb41b.system.entry.js → p-88f9880c.system.entry.js} +1 -1
- package/lib/duet/p-89beef33.entry.js +4 -0
- package/lib/duet/{p-4fd6f45a.entry.js → p-8ad68512.entry.js} +1 -1
- package/lib/duet/{p-5fd0a40f.entry.js → p-8c6521c9.entry.js} +1 -1
- package/lib/duet/p-8cf21e97.system.entry.js +4 -0
- package/lib/duet/{p-b1efef46.entry.js → p-904b6f63.entry.js} +1 -1
- package/lib/duet/{p-8f27c1f3.system.entry.js → p-916c05c0.system.entry.js} +1 -1
- package/lib/duet/{p-46b89ca6.js → p-93872497.js} +1 -1
- package/lib/duet/{p-30e523d0.entry.js → p-97574cd9.entry.js} +1 -1
- package/lib/duet/{p-214121e2.entry.js → p-977832d7.entry.js} +1 -1
- package/lib/duet/{p-f52f2a6e.system.entry.js → p-98f8ad8c.system.entry.js} +1 -1
- package/lib/duet/{p-dec35d01.system.entry.js → p-99528b33.system.entry.js} +1 -1
- package/lib/duet/{p-96ebee12.entry.js → p-9bfa5c62.entry.js} +1 -1
- package/lib/duet/p-9ce7e4da.entry.js +4 -0
- package/lib/duet/{p-bed03d19.entry.js → p-9d3ff1f9.entry.js} +1 -1
- package/lib/duet/{p-01d4ec9a.entry.js → p-9dd9783c.entry.js} +1 -1
- package/lib/duet/{p-c6077732.entry.js → p-9fa80a0d.entry.js} +1 -1
- package/lib/duet/{p-3bfb8a8b.system.entry.js → p-9ff8f713.system.entry.js} +1 -1
- package/lib/duet/{p-556a9b8e.entry.js → p-a25a5bda.entry.js} +1 -1
- package/lib/duet/{p-8ecc454b.entry.js → p-a7e7dc8e.entry.js} +1 -1
- package/lib/duet/{p-89fa198c.system.entry.js → p-a82cd36e.system.entry.js} +1 -1
- package/lib/duet/p-a8b99baa.system.entry.js +4 -0
- package/lib/duet/{p-e8731309.entry.js → p-aaa9d7f0.entry.js} +1 -1
- package/lib/duet/{p-c5e6009e.system.js → p-ae31c909.system.js} +1 -1
- package/lib/duet/{p-f3cd8f65.entry.js → p-afa55acc.entry.js} +1 -1
- package/lib/duet/{p-78774220.system.entry.js → p-b6168b5a.system.entry.js} +1 -1
- package/lib/duet/{p-4c85aea8.system.entry.js → p-b9678b20.system.entry.js} +1 -1
- package/lib/duet/{p-11220124.entry.js → p-b9fe5e8a.entry.js} +1 -1
- package/lib/duet/{p-630d3a3a.entry.js → p-ba1d9ad1.entry.js} +1 -1
- package/lib/duet/{p-5caa2783.entry.js → p-bb134fb0.entry.js} +1 -1
- package/lib/duet/{p-7c9656b0.entry.js → p-bc715683.entry.js} +1 -1
- package/lib/duet/{p-77d6d051.system.entry.js → p-be48cfce.system.entry.js} +1 -1
- package/lib/duet/{p-57a4f750.system.entry.js → p-bee1c0ab.system.entry.js} +1 -1
- package/lib/duet/{p-5ba285e6.entry.js → p-bef5842c.entry.js} +1 -1
- package/lib/duet/{p-0681edcd.system.entry.js → p-c1502939.system.entry.js} +1 -1
- package/lib/duet/{p-827c5d5a.system.entry.js → p-c746fdd9.system.entry.js} +1 -1
- package/lib/duet/{p-41a45115.system.entry.js → p-c782fbd2.system.entry.js} +1 -1
- package/lib/duet/{p-da6df9ee.entry.js → p-c8405ffe.entry.js} +1 -1
- package/lib/duet/{p-60e4f666.entry.js → p-c946fab0.entry.js} +1 -1
- package/lib/duet/{p-b001db05.entry.js → p-cacd3719.entry.js} +1 -1
- package/lib/duet/{p-deff1b20.system.entry.js → p-d1a08c91.system.entry.js} +2 -2
- package/lib/duet/{p-403f1729.entry.js → p-d1acd619.entry.js} +1 -1
- package/lib/duet/{p-7e09da7d.system.entry.js → p-d2fff81e.system.entry.js} +1 -1
- package/lib/duet/{p-460e260b.system.entry.js → p-d40d6372.system.entry.js} +1 -1
- package/lib/duet/{p-3d8d12ae.system.entry.js → p-d5366eb5.system.entry.js} +1 -1
- package/lib/duet/{p-cf3efe73.entry.js → p-d5e31ef5.entry.js} +1 -1
- package/lib/duet/{p-fdedb0c5.entry.js → p-d79938f5.entry.js} +1 -1
- package/lib/duet/{p-43b43c30.entry.js → p-d915620f.entry.js} +1 -1
- package/lib/duet/{p-474c2b3a.system.entry.js → p-d9cbeb06.system.entry.js} +1 -1
- package/lib/duet/{p-b9842ee6.entry.js → p-da899a00.entry.js} +1 -1
- package/lib/duet/{p-c9768708.system.entry.js → p-deb7a598.system.entry.js} +1 -1
- package/lib/duet/{p-3caa2fe0.system.entry.js → p-dfedf8dc.system.entry.js} +1 -1
- package/lib/duet/{p-0201d375.system.entry.js → p-e066623e.system.entry.js} +1 -1
- package/lib/duet/{p-17b7ba64.entry.js → p-e2d770ba.entry.js} +1 -1
- package/lib/duet/p-e4206eb5.system.entry.js +4 -0
- package/lib/duet/{p-bc9d8564.js → p-e45c589a.js} +1 -1
- package/lib/duet/p-e56fe6af.system.js +4 -0
- package/lib/duet/p-e639b9ee.system.js +4 -0
- package/lib/duet/{p-ab53abe4.entry.js → p-e94af0bf.entry.js} +1 -1
- package/lib/duet/{p-2b681fe9.system.entry.js → p-e9a89efc.system.entry.js} +1 -1
- package/lib/duet/{p-f7dc5f61.entry.js → p-ebc5c075.entry.js} +1 -1
- package/lib/duet/{p-3bcb8dde.system.entry.js → p-ee3003f9.system.entry.js} +1 -1
- package/lib/duet/p-ef3fb30c.entry.js +4 -0
- package/lib/duet/p-f0233912.entry.js +4 -0
- package/lib/duet/{p-e9d9754b.system.entry.js → p-f102b3c6.system.entry.js} +1 -1
- package/lib/duet/{p-b0f55d96.system.entry.js → p-f24be27e.system.entry.js} +2 -2
- package/lib/duet/{p-a60b9d5f.system.entry.js → p-f2eee8be.system.entry.js} +1 -1
- package/lib/duet/{p-4d7b03d6.system.entry.js → p-f3bcdaa7.system.entry.js} +1 -1
- package/lib/duet/{p-2663955a.system.entry.js → p-f441c24f.system.entry.js} +1 -1
- package/lib/duet/{p-8efd4118.entry.js → p-f598c39f.entry.js} +1 -1
- package/lib/duet/{p-cac37646.system.entry.js → p-f624f421.system.entry.js} +1 -1
- package/lib/duet/{p-2ccdffe3.system.entry.js → p-f63c4cea.system.entry.js} +1 -1
- package/lib/duet/p-f65457b0.system.js +4 -0
- package/lib/duet/{p-e309c2a0.system.entry.js → p-f7dc3756.system.entry.js} +1 -1
- package/lib/duet/p-f8ce87ee.system.entry.js +4 -0
- package/lib/duet/{p-5c52a571.entry.js → p-fa9802a4.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +2 -2
- 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 +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +11 -4
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +11 -6
- 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 +1 -1
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm/duet-popup-menu.entry.js +3 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- 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 +2 -2
- package/lib/esm/duet-slideout.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +88 -0
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- 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-item.entry.js +2 -2
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +9 -2
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{floating-ui.dom.esm-efad5c89.js → floating-ui.dom.esm-34e0a5fa.js} +60 -20
- package/lib/esm/{focus-utils-92ce3363.js → focus-utils-68697c1f.js} +1 -1
- package/lib/esm/{index-ca0e302d.js → index-090eaa9b.js} +1 -1
- package/lib/esm/loader.js +3 -3
- 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 +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +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 +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +4 -0
- 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-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/floating-ui.dom.esm-34e0a5fa.js +4 -0
- package/lib/esm-es5/{focus-utils-92ce3363.js → focus-utils-68697c1f.js} +1 -1
- package/lib/esm-es5/{index-ca0e302d.js → index-090eaa9b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +3 -1
- package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +68 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +7 -0
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +8 -0
- package/lib/types/components.d.ts +103 -4
- package/package.json +7 -6
- package/lib/duet/p-00c8a755.js +0 -4
- package/lib/duet/p-1ed57d33.entry.js +0 -4
- package/lib/duet/p-232940fa.system.js +0 -4
- package/lib/duet/p-3106cd96.entry.js +0 -4
- package/lib/duet/p-3626334d.entry.js +0 -4
- package/lib/duet/p-39a8acfe.entry.js +0 -4
- package/lib/duet/p-3a42e1ad.entry.js +0 -4
- package/lib/duet/p-47f5cc6a.entry.js +0 -4
- package/lib/duet/p-72e17db2.system.entry.js +0 -4
- package/lib/duet/p-83e46984.system.entry.js +0 -4
- package/lib/duet/p-b2fbc8d4.system.entry.js +0 -4
- package/lib/duet/p-b7331242.entry.js +0 -4
- package/lib/duet/p-befc75ae.system.js +0 -4
- package/lib/duet/p-cb238aa1.system.entry.js +0 -4
- package/lib/duet/p-d27edac1.system.entry.js +0 -4
- package/lib/duet/p-e350f3f3.system.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-efad5c89.js +0 -4
- /package/lib/cjs/{bodyScrollLock.es6-83f334d1.js → bodyScrollLock.es6-dd2d7d91.js} +0 -0
- /package/lib/dist-custom-elements/{p-62c7d9d4.js → p-33937fd7.js} +0 -0
- /package/lib/dist-custom-elements/{p-141e14d0.js → p-8354d1f1.js} +0 -0
- /package/lib/duet/{p-ed5a5071.system.js → p-49957220.system.js} +0 -0
- /package/lib/duet/{p-141e14d0.js → p-8354d1f1.js} +0 -0
- /package/lib/esm/{bodyScrollLock.es6-8dc7cca7.js → bodyScrollLock.es6-ecbf187e.js} +0 -0
- /package/lib/esm-es5/{bodyScrollLock.es6-8dc7cca7.js → bodyScrollLock.es6-ecbf187e.js} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var t,n=1,e=arguments.length;n<e;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))r[i]=t[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,t,n,e){function i(r){return r instanceof n?r:new n((function(t){t(r)}))}return new(n||(n=Promise))((function(n,a){function o(r){try{f(e.next(r))}catch(r){a(r)}}function u(r){try{f(e["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,u)}f((e=e.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(r){return function(t){return f([r,t])}}function f(u){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(e=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(r,n)}catch(r){u=[6,r];i=0}finally{e=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,t){var n={};for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0)n[e]=r[e];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,e=Object.getOwnPropertySymbols(r);i<e.length;i++){if(t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i]))n[e[i]]=r[e[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var e=0,i=t.length,a;e<i;e++){if(a||!(e in t)){if(!a)a=Array.prototype.slice.call(t,0,e);a[e]=t[e]}}return r.concat(a||Array.prototype.slice.call(t))};
|
|
2
|
+
/*!
|
|
3
|
+
* Built with Duet Design System
|
|
4
|
+
*/System.register([],(function(r){"use strict";return{execute:function(){var t=this;var n=Math.min;var e=Math.max;var i={left:"right",right:"left",bottom:"top",top:"bottom"};var a={start:"end",end:"start"};function o(r,t,i){return e(r,n(t,i))}function u(r,t){return typeof r==="function"?r(t):r}function f(r){return r.split("-")[0]}function c(r){return r.split("-")[1]}function s(r){return r==="x"?"y":"x"}function v(r){return r==="y"?"height":"width"}function l(r){return["top","bottom"].includes(f(r))?"y":"x"}function d(r){return s(l(r))}function h(r,t,n){if(n===void 0){n=false}var e=c(r);var i=d(r);var a=v(i);var o=i==="x"?e===(n?"end":"start")?"right":"left":e==="start"?"bottom":"top";if(t.reference[a]>t.floating[a]){o=m(o)}return[o,m(o)]}function _(r){var t=m(r);return[g(r),t,g(t)]}function g(r){return r.replace(/start|end/g,(function(r){return a[r]}))}function y(r,t,n){var e=["left","right"];var i=["right","left"];var a=["top","bottom"];var o=["bottom","top"];switch(r){case"top":case"bottom":if(n)return t?i:e;return t?e:i;case"left":case"right":return t?a:o;default:return[]}}function p(r,t,n,e){var i=c(r);var a=y(f(r),n==="start",e);if(i){a=a.map((function(r){return r+"-"+i}));if(t){a=a.concat(a.map(g))}}return a}function m(r){return r.replace(/left|right|bottom|top/g,(function(r){return i[r]}))}function w(r){return __assign({top:0,right:0,bottom:0,left:0},r)}function x(r){return typeof r!=="number"?w(r):{top:r,right:r,bottom:r,left:r}}function b(r){var t=r.x,n=r.y,e=r.width,i=r.height;return{width:e,height:i,top:n,left:t,right:t+e,bottom:n+i,x:t,y:n}}function A(r,t,n){var e=r.reference,i=r.floating;var a=l(t);var o=d(t);var u=v(o);var s=f(t);var h=a==="y";var _=e.x+e.width/2-i.width/2;var g=e.y+e.height/2-i.height/2;var y=e[u]/2-i[u]/2;var p;switch(s){case"top":p={x:_,y:e.y-i.height};break;case"bottom":p={x:_,y:e.y+e.height};break;case"right":p={x:e.x+e.width,y:g};break;case"left":p={x:e.x-i.width,y:g};break;default:p={x:e.x,y:e.y}}switch(c(t)){case"start":p[o]-=y*(n&&h?-1:1);break;case"end":p[o]+=y*(n&&h?-1:1);break}return p}var k=function(r,n,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,o,u,f,c,s,v,l,d,h,_,g,y,p,m,w,x,b,k,S,R,O,j,P;var T,C;return __generator(this,(function(F){switch(F.label){case 0:t=e.placement,i=t===void 0?"bottom":t,a=e.strategy,o=a===void 0?"absolute":a,u=e.middleware,f=u===void 0?[]:u,c=e.platform;s=f.filter(Boolean);return[4,c.isRTL==null?void 0:c.isRTL(n)];case 1:v=F.sent();return[4,c.getElementRects({reference:r,floating:n,strategy:o})];case 2:l=F.sent();d=A(l,i,v),h=d.x,_=d.y;g=i;y={};p=0;m=0;F.label=3;case 3:if(!(m<s.length))return[3,11];w=s[m],x=w.name,b=w.fn;return[4,b({x:h,y:_,initialPlacement:i,placement:g,strategy:o,middlewareData:y,rects:l,platform:c,elements:{reference:r,floating:n}})];case 4:k=F.sent(),S=k.x,R=k.y,O=k.data,j=k.reset;h=S!=null?S:h;_=R!=null?R:_;y=__assign(__assign({},y),(T={},T[x]=__assign(__assign({},y[x]),O),T));if(!(j&&p<=50))return[3,10];p++;if(!(typeof j==="object"))return[3,9];if(j.placement){g=j.placement}if(!j.rects)return[3,8];if(!(j.rects===true))return[3,6];return[4,c.getElementRects({reference:r,floating:n,strategy:o})];case 5:P=F.sent();return[3,7];case 6:P=j.rects;F.label=7;case 7:l=P;F.label=8;case 8:C=A(l,g,v),h=C.x,_=C.y;F.label=9;case 9:m=-1;F.label=10;case 10:m++;return[3,3];case 11:return[2,{x:h,y:_,placement:g,strategy:o,middlewareData:y}]}}))}))};function S(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,o,f,c,s,v,l,d,h,_,g,y,p,m,w,A,k,S,R,O,j,P,T,C,F,M,D,L,E,N,B;var G;return __generator(this,(function(H){switch(H.label){case 0:if(t===void 0){t={}}e=r.x,i=r.y,a=r.platform,o=r.rects,f=r.elements,c=r.strategy;s=u(t,r),v=s.boundary,l=v===void 0?"clippingAncestors":v,d=s.rootBoundary,h=d===void 0?"viewport":d,_=s.elementContext,g=_===void 0?"floating":_,y=s.altBoundary,p=y===void 0?false:y,m=s.padding,w=m===void 0?0:m;A=x(w);k=g==="floating"?"reference":"floating";S=f[p?k:g];O=b;P=(j=a).getClippingRect;G={};return[4,a.isElement==null?void 0:a.isElement(S)];case 1:if(!((n=H.sent())!=null?n:true))return[3,2];T=S;return[3,5];case 2:C=S.contextElement;if(C)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(f.floating)];case 3:C=H.sent();H.label=4;case 4:T=C;H.label=5;case 5:return[4,P.apply(j,[(G.element=T,G.boundary=l,G.rootBoundary=h,G.strategy=c,G)])];case 6:R=O.apply(void 0,[H.sent()]);F=g==="floating"?{x:e,y:i,width:o.floating.width,height:o.floating.height}:o.reference;return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(f.floating)];case 7:M=H.sent();return[4,a.isElement==null?void 0:a.isElement(M)];case 8:if(!H.sent())return[3,10];return[4,a.getScale==null?void 0:a.getScale(M)];case 9:L=H.sent()||{x:1,y:1};return[3,11];case 10:L={x:1,y:1};H.label=11;case 11:D=L;N=b;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,13];return[4,a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:F,offsetParent:M,strategy:c})];case 12:B=H.sent();return[3,14];case 13:B=F;H.label=14;case 14:E=N.apply(void 0,[B]);return[2,{top:(R.top-E.top+A.top)/D.y,bottom:(E.bottom-R.bottom+A.bottom)/D.y,left:(R.left-E.left+A.left)/D.x,right:(E.right-R.right+A.right)/D.x}]}}))}))}var R=r("a",(function(r){return{name:"arrow",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,a,f,s,l,h,_,g,y,p,m,w,b,A,k,S,R,O,j,P,T,C,F,M,D,L,E,N,B,G,H,V,W,q;var z,I;return __generator(this,(function(J){switch(J.label){case 0:e=t.x,i=t.y,a=t.placement,f=t.rects,s=t.platform,l=t.elements,h=t.middlewareData;_=u(r,t)||{},g=_.element,y=_.padding,p=y===void 0?0:y;if(g==null){return[2,{}]}m=x(p);w={x:e,y:i};b=d(a);A=v(b);return[4,s.getDimensions(g)];case 1:k=J.sent();S=b==="y";R=S?"top":"left";O=S?"bottom":"right";j=S?"clientHeight":"clientWidth";P=f.reference[A]+f.reference[b]-w[b]-f.floating[A];T=w[b]-f.reference[b];return[4,s.getOffsetParent==null?void 0:s.getOffsetParent(g)];case 2:C=J.sent();F=C?C[j]:0;M=!F;if(M)return[3,4];return[4,s.isElement==null?void 0:s.isElement(C)];case 3:M=!J.sent();J.label=4;case 4:if(M){F=l.floating[j]||f.floating[A]}D=P/2-T/2;L=F/2-k[A]/2-1;E=n(m[R],L);N=n(m[O],L);B=E;G=F-k[A]-N;H=F/2-k[A]/2+D;V=o(B,H,G);W=!h.arrow&&c(a)!=null&&H!==V&&f.reference[A]/2-(H<B?E:N)-k[A]/2<0;q=W?H<B?H-B:H-G:0;return[2,(z={},z[b]=w[b]+q,z.data=__assign((I={},I[b]=V,I.centerOffset=H-V-q,I),W&&{alignmentOffset:q}),z.reset=W,z)]}}))}))}}}));var O=r("f",(function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,o,c,s,v,l,d,g,y,w,x,b,A,k,R,O,j,P,T,C,F,M,D,L,E,N,B,G,H,V,W,q,z,I;return __generator(this,(function(J){switch(J.label){case 0:i=t.placement,a=t.middlewareData,o=t.rects,c=t.initialPlacement,s=t.platform,v=t.elements;l=u(r,t),d=l.mainAxis,g=d===void 0?true:d,y=l.crossAxis,w=y===void 0?true:y,x=l.fallbackPlacements,b=l.fallbackStrategy,A=b===void 0?"bestFit":b,k=l.fallbackAxisSideDirection,R=k===void 0?"none":k,O=l.flipAlignment,j=O===void 0?true:O,P=__rest(l,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset){return[2,{}]}T=f(i);C=f(c)===c;return[4,s.isRTL==null?void 0:s.isRTL(v.floating)];case 1:F=J.sent();M=x||(C||!j?[m(c)]:_(c));if(!x&&R!=="none"){M.push.apply(M,p(c,j,R,F))}D=__spreadArray([c],M,true);return[4,S(t,P)];case 2:L=J.sent();E=[];N=((e=a.flip)==null?void 0:e.overflows)||[];if(g){E.push(L[T])}if(w){B=h(i,o,F);E.push(L[B[0]],L[B[1]])}N=__spreadArray(__spreadArray([],N,true),[{placement:i,overflows:E}],false);if(!E.every((function(r){return r<=0}))){V=(((G=a.flip)==null?void 0:G.index)||0)+1;W=D[V];if(W){return[2,{data:{index:V,overflows:N},reset:{placement:W}}]}q=(H=N.filter((function(r){return r.overflows[0]<=0})).sort((function(r,t){return r.overflows[1]-t.overflows[1]}))[0])==null?void 0:H.placement;if(!q){switch(A){case"bestFit":{I=(z=N.map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,t){return r+t}),0)]})).sort((function(r,t){return r[1]-t[1]}))[0])==null?void 0:z[0];if(I){q=I}break}case"initialPlacement":q=c;break}}if(i!==q){return[2,{reset:{placement:q}}]}}return[2,{}]}}))}))}}}));function j(r,t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,o,s,v,d,h,_,g,y,p,m;return __generator(this,(function(w){switch(w.label){case 0:n=r.placement,e=r.platform,i=r.elements;return[4,e.isRTL==null?void 0:e.isRTL(i.floating)];case 1:a=w.sent();o=f(n);s=c(n);v=l(n)==="y";d=["left","top"].includes(o)?-1:1;h=a&&v?-1:1;_=u(t,r);g=typeof _==="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},_),y=g.mainAxis,p=g.crossAxis,m=g.alignmentAxis;if(s&&typeof m==="number"){p=s==="end"?m*-1:m}return[2,v?{x:p*h,y:y*d}:{x:y*d,y:p*h}]}}))}))}var P=r("o",(function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,o,u,f;return __generator(this,(function(c){switch(c.label){case 0:i=t.x,a=t.y,o=t.placement,u=t.middlewareData;return[4,j(t,r)];case 1:f=c.sent();if(o===((n=u.offset)==null?void 0:n.placement)&&(e=u.arrow)!=null&&e.alignmentOffset){return[2,{}]}return[2,{x:i+f.x,y:a+f.y,data:__assign(__assign({},f),{placement:o})}]}}))}))}}}));var T=r("s",(function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(t){return __awaiter(this,void 0,void 0,(function(){var n,e,i,a,c,v,d,h,_,g,y,p,m,w,x,b,A,k,R,O,j,k,R,P,T,C;var F;return __generator(this,(function(M){switch(M.label){case 0:n=t.x,e=t.y,i=t.placement;a=u(r,t),c=a.mainAxis,v=c===void 0?true:c,d=a.crossAxis,h=d===void 0?false:d,_=a.limiter,g=_===void 0?{fn:function(r){var t=r.x,n=r.y;return{x:t,y:n}}}:_,y=__rest(a,["mainAxis","crossAxis","limiter"]);p={x:n,y:e};return[4,S(t,y)];case 1:m=M.sent();w=l(f(i));x=s(w);b=p[x];A=p[w];if(v){k=x==="y"?"top":"left";R=x==="y"?"bottom":"right";O=b+m[k];j=b-m[R];b=o(O,b,j)}if(h){k=w==="y"?"top":"left";R=w==="y"?"bottom":"right";P=A+m[k];T=A-m[R];A=o(P,A,T)}C=g.fn(__assign(__assign({},t),(F={},F[x]=b,F[w]=A,F)));return[2,__assign(__assign({},C),{data:{x:C.x-n,y:C.y-e}})]}}))}))}}}));function C(r){var t;return((t=r.ownerDocument)==null?void 0:t.defaultView)||window}function F(r){return C(r).getComputedStyle(r)}function M(r){return r instanceof C(r).Node}function D(r){return M(r)?(r.nodeName||"").toLowerCase():""}function L(r){return r instanceof C(r).HTMLElement}function E(r){return r instanceof C(r).Element}function N(r){if(typeof ShadowRoot==="undefined"){return false}var t=C(r).ShadowRoot;return r instanceof t||r instanceof ShadowRoot}function B(r){var t=F(r),n=t.overflow,e=t.overflowX,i=t.overflowY,a=t.display;return/auto|scroll|overlay|hidden|clip/.test(n+i+e)&&!["inline","contents"].includes(a)}function G(r){return["table","td","th"].includes(D(r))}function H(r){var t=V();var n=F(r);return n.transform!=="none"||n.perspective!=="none"||!t&&(n.backdropFilter?n.backdropFilter!=="none":false)||!t&&(n.filter?n.filter!=="none":false)||["transform","perspective","filter"].some((function(r){return(n.willChange||"").includes(r)}))||["paint","layout","strict","content"].some((function(r){return(n.contain||"").includes(r)}))}function V(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function W(r){return["html","body","#document"].includes(D(r))}var q=Math.min;var z=Math.max;var I=Math.round;function J(r){var t=F(r);var n=parseFloat(t.width)||0;var e=parseFloat(t.height)||0;var i=L(r);var a=i?r.offsetWidth:n;var o=i?r.offsetHeight:e;var u=I(n)!==a||I(e)!==o;if(u){n=a;e=o}return{width:n,height:e,fallback:u}}function K(r){return!E(r)?r.contextElement:r}var Q={x:1,y:1};function U(r){var t=K(r);if(!L(t)){return Q}var n=t.getBoundingClientRect();var e=J(t),i=e.width,a=e.height,o=e.fallback;var u=(o?I(n.width):n.width)/i;var f=(o?I(n.height):n.height)/a;if(!u||!Number.isFinite(u)){u=1}if(!f||!Number.isFinite(f)){f=1}return{x:u,y:f}}var X={x:0,y:0};function Y(r,t,n){var e,i;if(t===void 0){t=true}if(!V()){return X}var a=r?C(r):window;if(!n||t&&n!==a){return X}return{x:((e=a.visualViewport)==null?void 0:e.offsetLeft)||0,y:((i=a.visualViewport)==null?void 0:i.offsetTop)||0}}function Z(r,t,n,e){if(t===void 0){t=false}if(n===void 0){n=false}var i=r.getBoundingClientRect();var a=K(r);var o=Q;if(t){if(e){if(E(e)){o=U(e)}}else{o=U(r)}}var u=Y(a,n,e);var f=(i.left+u.x)/o.x;var c=(i.top+u.y)/o.y;var s=i.width/o.x;var v=i.height/o.y;if(a){var l=C(a);var d=e&&E(e)?C(e):e;var h=l.frameElement;while(h&&e&&d!==l){var _=U(h);var g=h.getBoundingClientRect();var y=getComputedStyle(h);g.x+=(h.clientLeft+parseFloat(y.paddingLeft))*_.x;g.y+=(h.clientTop+parseFloat(y.paddingTop))*_.y;f*=_.x;c*=_.y;s*=_.x;v*=_.y;f+=g.x;c+=g.y;h=C(h).frameElement}}return b({width:s,height:v,x:f,y:c})}function $(r){return((M(r)?r.ownerDocument:r.document)||window.document).documentElement}function rr(r){if(E(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function tr(r){var t=r.rect,n=r.offsetParent,e=r.strategy;var i=L(n);var a=$(n);if(n===a){return t}var o={scrollLeft:0,scrollTop:0};var u={x:1,y:1};var f={x:0,y:0};if(i||!i&&e!=="fixed"){if(D(n)!=="body"||B(a)){o=rr(n)}if(L(n)){var c=Z(n);u=U(n);f.x=c.x+n.clientLeft;f.y=c.y+n.clientTop}}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-o.scrollLeft*u.x+f.x,y:t.y*u.y-o.scrollTop*u.y+f.y}}function nr(r){return Z($(r)).left+rr(r).scrollLeft}function er(r){var t=$(r);var n=rr(r);var e=r.ownerDocument.body;var i=z(t.scrollWidth,t.clientWidth,e.scrollWidth,e.clientWidth);var a=z(t.scrollHeight,t.clientHeight,e.scrollHeight,e.clientHeight);var o=-n.scrollLeft+nr(r);var u=-n.scrollTop;if(F(e).direction==="rtl"){o+=z(t.clientWidth,e.clientWidth)-i}return{width:i,height:a,x:o,y:u}}function ir(r){if(D(r)==="html"){return r}var t=r.assignedSlot||r.parentNode||N(r)&&r.host||$(r);return N(t)?t.host:t}function ar(r){var t=ir(r);if(W(t)){return t.ownerDocument.body}if(L(t)&&B(t)){return t}return ar(t)}function or(r,t){var n;if(t===void 0){t=[]}var e=ar(r);var i=e===((n=r.ownerDocument)==null?void 0:n.body);var a=C(e);if(i){return t.concat(a,a.visualViewport||[],B(e)?e:[])}return t.concat(e,or(e))}function ur(r,t){var n=C(r);var e=$(r);var i=n.visualViewport;var a=e.clientWidth;var o=e.clientHeight;var u=0;var f=0;if(i){a=i.width;o=i.height;var c=V();if(!c||c&&t==="fixed"){u=i.offsetLeft;f=i.offsetTop}}return{width:a,height:o,x:u,y:f}}function fr(r,t){var n=Z(r,true,t==="fixed");var e=n.top+r.clientTop;var i=n.left+r.clientLeft;var a=L(r)?U(r):{x:1,y:1};var o=r.clientWidth*a.x;var u=r.clientHeight*a.y;var f=i*a.x;var c=e*a.y;return{width:o,height:u,x:f,y:c}}function cr(r,t,n){var e;if(t==="viewport"){e=ur(r,n)}else if(t==="document"){e=er($(r))}else if(E(t)){e=fr(t,n)}else{var i=Y(r);e=__assign(__assign({},t),{x:t.x-i.x,y:t.y-i.y})}return b(e)}function sr(r,t){var n=ir(r);if(n===t||!E(n)||W(n)){return false}return F(n).position==="fixed"||sr(n,t)}function vr(r,t){var n=t.get(r);if(n){return n}var e=or(r).filter((function(r){return E(r)&&D(r)!=="body"}));var i=null;var a=F(r).position==="fixed";var o=a?ir(r):r;while(E(o)&&!W(o)){var u=F(o);var f=H(o);if(!f&&u.position==="fixed"){i=null}var c=a?!f&&!i:!f&&u.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||B(o)&&!f&&sr(r,o);if(c){e=e.filter((function(r){return r!==o}))}else{i=u}o=ir(o)}t.set(r,e);return e}function lr(r){var t=r.element,n=r.boundary,e=r.rootBoundary,i=r.strategy;var a=n==="clippingAncestors"?vr(t,this._c):[].concat(n);var o=__spreadArray(__spreadArray([],a,true),[e],false);var u=o[0];var f=o.reduce((function(r,n){var e=cr(t,n,i);r.top=z(e.top,r.top);r.right=q(e.right,r.right);r.bottom=q(e.bottom,r.bottom);r.left=z(e.left,r.left);return r}),cr(t,u,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function dr(r){return J(r)}function hr(r,t){if(!L(r)||F(r).position==="fixed"){return null}if(t){return t(r)}return r.offsetParent}function _r(r){var t=ir(r);while(L(t)&&!W(t)){if(H(t)){return t}else{t=ir(t)}}return null}function gr(r,t){var n=C(r);if(!L(r)){return n}var e=hr(r,t);while(e&&G(e)&&F(e).position==="static"){e=hr(e,t)}if(e&&(D(e)==="html"||D(e)==="body"&&F(e).position==="static"&&!H(e))){return n}return e||_r(r)||n}function yr(r,t,n){var e=L(t);var i=$(t);var a=n==="fixed";var o=Z(r,true,a,t);var u={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(e||!e&&!a){if(D(t)!=="body"||B(i)){u=rr(t)}if(L(t)){var c=Z(t,true,a,t);f.x=c.x+t.clientLeft;f.y=c.y+t.clientTop}else if(i){f.x=nr(i)}}return{x:o.left+u.scrollLeft-f.x,y:o.top+u.scrollTop-f.y,width:o.width,height:o.height}}var pr={getClippingRect:lr,convertOffsetParentRelativeRectToViewportRelativeRect:tr,isElement:E,getDimensions:dr,getOffsetParent:gr,getDocumentElement:$,getScale:U,getElementRects:function(r){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a,o,u,f;var c;return __generator(this,(function(s){switch(s.label){case 0:t=r.reference,n=r.floating,e=r.strategy;i=this.getOffsetParent||gr;a=this.getDimensions;c={};o=yr;u=[t];return[4,i(n)];case 1:c.reference=o.apply(void 0,u.concat([s.sent(),e]));f=[{x:0,y:0}];return[4,a(n)];case 2:return[2,(c.floating=__assign.apply(void 0,f.concat([s.sent()])),c)]}}))}))},getClientRects:function(r){return Array.from(r.getClientRects())},isRTL:function(r){return F(r).direction==="rtl"}};var mr=r("c",(function(r,t,n){var e=new Map;var i=__assign({platform:pr},n);var a=__assign(__assign({},i.platform),{_c:e});return k(r,t,__assign(__assign({},i),{platform:a}))}))}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{h as t,r as e,H as a,g as i}from"./p-
|
|
4
|
+
import{h as t,r as e,H as a,g as i}from"./p-e45c589a.js";import{i as n}from"./p-a58bd561.js";import{h as o,c as r}from"./p-796edee6.js";import{p as s}from"./p-0e052642.js";import{g as u}from"./p-5f87ea3d.js";import"./p-f2aa1623.js";const l=({img:e,sources:a})=>t("picture",null,a&&a.map((e=>t("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),t("img",Object.assign({},e))),d=class{constructor(t){e(this,t),this.setButtonSize=()=>{if(this.hasActionSlot){console.log(this.size);const t=this.element.querySelector("duet-button[slot='action']");null===t.getAttribute("size")&&"large"!==this.size&&(t.size="small")}},this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="auto",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){n(this),this.hasHeadingSlot=o(this.element,"heading"),this.hasDescriptionSlot=o(this.element,"description"),this.hasActionSlot=o(this.element,"action"),r(this.element,"heading","span"),this.setButtonSize()}render(){const e=u("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=u(this.textColor,this.theme),n={backgroundColor:e},o={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:s(this.sources)};return t(a,{class:{"duet-m-0":"none"===this.margin}},t("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.size]:!0},style:n},t("div",{class:"visual"},t("div",{class:"image-container"},this.image&&t(l,Object.assign({},o))),this.icon&&t("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"large"===this.size?"xx-large":"x-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),t("div",{class:"content"},this.hasHeadingSlot&&t("div",{class:"heading"},t("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"large"===this.size?"h2":"h3","fixed-size":!0,margin:"none",color:this.textColor},t("span",null,t("slot",{name:"heading"})))),this.hasDescriptionSlot&&t("div",{class:"description",style:{color:i}},t("slot",{name:"description"})),this.hasActionSlot&&t("div",{class:"action"},t("slot",{name:"action"})))))}get element(){return i(this)}};d.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:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.medium{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}.duet-banner.medium .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.medium .visual .image-container{position:absolute;bottom:-72px;left:-178px}.duet-banner.medium .visual .image{width:auto;height:auto}.duet-banner.medium .visual .icon{top:36px;left:168px}.duet-banner.medium .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.medium .action{flex-grow:0}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{position:relative;top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px;width:100%;height:100%}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}@media (max-width: 35.9375em){.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}}@media (min-width: 36em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{position:absolute;bottom:-72px;left:-178px}.duet-banner.auto .visual .image{width:auto;height:auto}.duet-banner.auto .visual .icon{top:36px;left:168px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{position:relative;top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px;width:100%;height:100%}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.medium .visual .image-container{top:-54.923px;left:-185px;width:410px;height:422px}.duet-banner.duet-theme-turva.medium .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px;width:526px;height:456px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 36em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-185px;width:410px;height:422px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px;width:526px;height:456px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';export{d as duet_banner}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{r(n.next(e))}catch(e){a(e)}}function l(e){try{r(n["throw"](e))}catch(e){a(e)}}function r(e){e.done?i(e.value):o(e.value).then(s,l)}r((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(n=1,o&&(a=l[0]&2?o["return"]:l[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,l[1])).done)return a;if(o=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;o=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(l[0]===6&&i.label<a[1]){i.label=a[1];a=l;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(l);break}if(a[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];o=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-ae31c909.system.js","./p-50f4bca2.system.js","./p-f65457b0.system.js","./p-224f6c46.system.js","./p-7c6d5f9c.system.js","./p-abdbce02.system.js","./p-6ef75455.system.js","./p-e1868c94.system.js"],(function(e){"use strict";var t,i,n,o,a,s,l,r,u,c,d,p;return{setters:[function(e){t=e.r;i=e.h;n=e.H;o=e.g},function(e){a=e.i},function(e){s=e.F},function(e){l=e.a;r=e.c;u=e.d;c=e.g},function(e){d=e.h},function(e){p=e.g},function(){},function(){}],execute:function(){var h='*,*::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;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}';var f=e("duet_slideout_panel",function(){function e(e){var i=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=i.element.querySelector("[slot='label']");i.label=e};this.onToggleClick=function(){var e=!i.open;i.open=e;if(e){setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){if(e!==i.element){e.inert=true}}));i.closeButton.focus()}),200)}else{setTimeout((function(){var e=Array.from(i.element.parentElement.children);e.forEach((function(e){e.inert=false}));i.openButton.focus()}),200)}};this.onCloseClick=function(e){e.stopPropagation();var t=i.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var n=i.element.parentElement;n.toggle()}};this.label=undefined;this.language=l();this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest"}e.prototype.componentWillLoad=function(){a(this);this.updateLabel();this.hasStickyHeaderSlot=d(this.element,"sticky-header")};e.prototype.connectedCallback=function(){r(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var o=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var a={background:p(o,this.theme)};var l=c(this.exitLangObject);var r=c(this.backLangObject);return i(n,null,i("div",{class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},i("button",{ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onToggleClick,inert:this.open},this.icon&&i("duet-icon",{name:this.icon,size:"medium",margin:"none",color:"secondary"}),i("span",{class:"label"},i("span",{class:(e={"label-text":true},e[this.labelSize]=true,e)},i("slot",{name:"label"})),i("duet-icon",{class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),i("div",{class:{dialog:true,hidden:!this.open},style:a},i(s,{moveFocusTo:this.closeButton}),i("div",{class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{class:"top"},i("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(r),type:"button",class:{back:true},onClick:this.onToggleClick},i("duet-icon",{class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),i("span",null,this.label.innerHTML),i("button",{class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(l)},i("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{class:"sticky-header"},i("slot",{name:"sticky-header"}))),i("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},i("slot",null)),i(s,{moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());f.style=h}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as o,H as t,g as n}from"./p-
|
|
4
|
+
import{r as e,h as o,H as t,g as n}from"./p-e45c589a.js";import{i as r}from"./p-a58bd561.js";import{f as a}from"./p-3624bad1.js";const i=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){r(this)}handleEscape(e){if(a(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,null,o("a",{class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",null)))}get element(){return n(this)}};i.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;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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:center;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';export{i as duet_menu_bar_dropdown_link}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-ae31c909.system.js","./p-b864159a.system.js"],(function(t){"use strict";var e,i,a,n,d;return{setters:[function(t){e=t.r;i=t.h;a=t.H;n=t.g},function(t){d=t.i}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";var u=t("duet_section_layout",function(){function t(t){e(this,t);this.margin="auto";this.middle=false}t.prototype.render=function(){return i(a,{class:{"duet-middle":this.middle,"duet-ie":d()}},i("div",{class:{"duet-layout":true,"duet-m-0":this.margin==="none"}},i("section",{class:"duet-main"},i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());u.style=o}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,h as t,g as i}from"./p-e45c589a.js";import{i as s}from"./p-a58bd561.js";import{g as a}from"./p-2e36d5bf.js";import{a as o}from"./p-fabb616b.js";import"./p-0e052642.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:i}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:i}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){s(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:i,uploaded:s,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const i=t<0?0:t,s=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,s)).toFixed(i))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][s]})(i),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,a(this.fileUploadingInfo))),t("duet-progress",{progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},s&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:a(this.buttonTitles[e.name])}render(){const{uid:e,meta:i,item:s}=this.data,o=i&&i.badges?t("span",null,i.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${i&&i.badges?i.badges.join(","):""} ${s.name}`;return t("div",{class:{"upload-item-row":!0}},this.showCategory&&t("div",{class:"item-categories"},t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},a(this.categoryLabel)),o),t("div",{class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},a(this.label)),this.getFileNameLine()),t("div",{class:"item-actions"},this.actions.map((s=>t("duet-action-button",{actionMeta:Object.assign({},i||{}),actionId:e||null,actionName:s.name,theme:this.theme,iconName:s.icon,iconColor:s.color,iconSize:s.size,background:s.background,"accessible-label":`${n} ${a(s.label)} `,accessibleTitle:this.getActionButtonTitle(s),ref:e=>this.actionButton=e})))))}get element(){return i(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import{r as e,h as t,H as a,g as i}from"./p-e45c589a.js";import{a as o}from"./p-d81ec707.js";import{i as r}from"./p-a58bd561.js";import{f as s}from"./p-3624bad1.js";const n=class{constructor(t){e(this,t),this.mql=[window.matchMedia(o.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="small",this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false"}componentWillLoad(){r(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(s(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){return t(a,null,t(this.url?"a":"button",{ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.leadingIcon&&t("duet-icon",{theme:this.theme,name:this.leadingIcon,size:this.iconSize,margin:"none",color:"currentColor"}),t("div",{class:"label"},t("span",{class:"label-text"},t("slot",null)),this.trailingIcon&&t("duet-icon",{class:{"trailing-icon":!0,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"action-arrow-down-small"===this.trailingIcon?"xxx-small":this.iconSize,color:"currentColor"}))))}get element(){return i(this)}};n.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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-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-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(230, 242, 248)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(148, 9, 37)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}';export{n as duet_submenu_bar_item}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-ae31c909.system.js","./p-50f4bca2.system.js","./p-7c6d5f9c.system.js","./p-abdbce02.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var e,n,r,o,i,a,s,c;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.i},function(t){a=t.h;s=t.c},function(t){c=t.g},function(){}],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:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';var p=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){i(this);this.hasPreHeadingSlot=a(this.element,"pre-heading");this.hasHeadingSlot=a(this.element,"heading");this.hasDescriptionSlot=a(this.element,"description");this.hasActionSlot=a(this.element,"action");s(this.element,"heading","span");s(this.element,"description","span")};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;var e=c(this.backgroundColor,this.theme);var o={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return n(r,{class:{"duet-m-0":this.margin==="none"}},n("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},n(i,{href:this.url,class:"content-wrapper",ref:function(e){return t.aOrDivElement=e}},n("img",{class:"image",src:this.image,alt:"",role:"presentation"}),n("div",{class:"content"},this.hasPreHeadingSlot&&n("div",{class:"pre-heading"},n("slot",{name:"pre-heading"})),this.hasHeadingSlot&&n("div",{class:"heading"},n("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},n("span",null,n("slot",{name:"heading"})))),this.hasDescriptionSlot&&n("div",{class:"description"},n("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},n("span",null,n("slot",{name:"description"})))),this.hasActionSlot&&n("div",{class:"action"},n("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
|