@duetds/components 9.8.0 → 9.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +247 -89
- package/lib/cjs/{a11y-utils-a2456285.js → a11y-utils-050310c7.js} +1 -1
- package/lib/cjs/{app-globals-d1845172.js → app-globals-f4faf11d.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +14 -11
- package/lib/cjs/duet-badge.cjs.entry.js +2 -2
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +8 -11
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +5 -5
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +35 -9
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-phone-input.cjs.entry.js +7 -6
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +35 -10
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
- package/lib/cjs/duet-share-chart.cjs.entry.js +83 -0
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-status-icon.cjs.entry.js +10 -7
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-f65f1fe3.js → errorcodes.utils-6917a13a.js} +1 -1
- package/lib/cjs/{focus-utils-923b8b88.js → focus-utils-17b92876.js} +1 -1
- package/lib/cjs/{index-3d8a31a0.js → index-45354cdd.js} +9 -1
- package/lib/cjs/{language-utils-53bb7035.js → language-utils-5a4f4a41.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-f85c14a2.js → slot-utils-4e1bb28c.js} +1 -1
- package/lib/cjs/{themeable-component-996b489c.js → themeable-component-ad21363c.js} +3 -2
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/common/themeable-component.js +3 -2
- package/lib/collection/components/duet-alert/duet-alert.js +10 -7
- package/lib/collection/components/duet-button/duet-button.js +5 -8
- package/lib/collection/components/duet-choice/duet-choice.js +1 -1
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-divider/duet-divider.css +4 -2
- package/lib/collection/components/duet-hero/duet-hero.js +32 -6
- package/lib/collection/components/duet-input/duet-input.css +27 -0
- package/lib/collection/components/duet-input/duet-input.js +1 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +3 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +30 -5
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +78 -0
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +137 -0
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +65 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +9 -6
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +9 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- 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 +3 -3
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +42 -16
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +20 -19
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- 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 +2 -2
- package/lib/dist-custom-elements/duet-share-chart-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-share-chart-item.js +39 -0
- package/lib/dist-custom-elements/duet-share-chart.d.ts +11 -0
- package/lib/dist-custom-elements/duet-share-chart.js +106 -0
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
- 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-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +9 -9
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -4
- 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 +6 -6
- 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 +21 -21
- 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-8d795f62.js → p-06c403d9.js} +2 -2
- package/lib/dist-custom-elements/{p-0e65f2d7.js → p-132b261a.js} +13 -12
- package/lib/dist-custom-elements/{p-0d73c2f1.js → p-175fc551.js} +1 -1
- package/lib/dist-custom-elements/{p-3c4c4976.js → p-1c4fcb41.js} +3 -3
- package/lib/dist-custom-elements/{p-7247730a.js → p-1eb29b1c.js} +11 -11
- package/lib/dist-custom-elements/{p-614647ec.js → p-1f610268.js} +2 -2
- package/lib/dist-custom-elements/{p-c8aa0c8c.js → p-238a3868.js} +9 -9
- package/lib/dist-custom-elements/{p-f0d133ad.js → p-2a0aefe4.js} +2 -2
- package/lib/dist-custom-elements/{p-59a8e5d4.js → p-2e0d729f.js} +1 -1
- package/lib/dist-custom-elements/{p-aaa7a7bd.js → p-2e417433.js} +3 -2
- package/lib/dist-custom-elements/{p-31dbfae1.js → p-3acb66c0.js} +3 -3
- package/lib/dist-custom-elements/{p-7fc5f0dc.js → p-42b1e9d0.js} +2 -2
- package/lib/dist-custom-elements/{p-0e694c06.js → p-42eebb86.js} +1 -1
- package/lib/dist-custom-elements/{p-b78caef0.js → p-49773f56.js} +18 -15
- package/lib/dist-custom-elements/{p-ebecd579.js → p-4d6e3fcc.js} +3 -3
- package/lib/dist-custom-elements/{p-9a109585.js → p-56cd0edf.js} +6 -6
- package/lib/dist-custom-elements/{p-153359ff.js → p-57a0b5df.js} +2 -2
- package/lib/dist-custom-elements/{p-30c1366b.js → p-647c78a8.js} +3 -3
- package/lib/dist-custom-elements/{p-991fa955.js → p-761fd588.js} +11 -8
- package/lib/dist-custom-elements/{p-ad18c534.js → p-7947d2cd.js} +44 -19
- package/lib/dist-custom-elements/{p-30ef95ec.js → p-79480384.js} +3 -3
- package/lib/dist-custom-elements/{p-dda43548.js → p-7a37b78a.js} +2 -2
- package/lib/dist-custom-elements/{p-685e9f01.js → p-813debec.js} +3 -3
- package/lib/dist-custom-elements/{p-9978e596.js → p-85b61ebc.js} +1 -1
- package/lib/dist-custom-elements/{p-9e65e6c5.js → p-86746543.js} +4 -4
- package/lib/dist-custom-elements/{p-c4fbeffc.js → p-9d462464.js} +2 -2
- package/lib/dist-custom-elements/{p-5980607d.js → p-b1717bf1.js} +2 -2
- package/lib/dist-custom-elements/{p-2a6040d0.js → p-b388715c.js} +6 -6
- package/lib/dist-custom-elements/{p-eafee3ad.js → p-b5c0ae56.js} +6 -6
- package/lib/dist-custom-elements/{p-b29b6605.js → p-b7bf60cf.js} +2 -2
- package/lib/dist-custom-elements/{p-4e2c2dde.js → p-b8c6f396.js} +7 -7
- package/lib/dist-custom-elements/{p-04762e09.js → p-bc7aeee0.js} +4 -4
- package/lib/dist-custom-elements/{p-5330f4d6.js → p-bd7dd1f2.js} +2 -2
- package/lib/dist-custom-elements/{p-4365799e.js → p-bec2501d.js} +6 -6
- package/lib/dist-custom-elements/{p-d0fa2af7.js → p-cda5f601.js} +2 -2
- package/lib/dist-custom-elements/{p-40ede289.js → p-dca657f2.js} +10 -13
- package/lib/dist-custom-elements/{p-498c5db1.js → p-dcd7d6d2.js} +3 -3
- package/lib/dist-custom-elements/{p-e3decce6.js → p-df8428db.js} +2 -2
- package/lib/dist-custom-elements/{p-364b7287.js → p-f2b72f2d.js} +2 -2
- package/lib/dist-custom-elements/{p-c824afc6.js → p-fd3dd124.js} +3 -3
- package/lib/dist-custom-elements/{p-a80179a7.js → p-fee53217.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-315b2470.entry.js → p-00a1eee5.entry.js} +1 -1
- package/lib/duet/{p-35d29de1.system.entry.js → p-00c275a8.system.entry.js} +1 -1
- package/lib/duet/{p-bbfe0fc7.entry.js → p-00f58c81.entry.js} +1 -1
- package/lib/duet/{p-038e3b41.system.entry.js → p-0128eef9.system.entry.js} +1 -1
- package/lib/duet/p-015b7bce.system.entry.js +4 -0
- package/lib/duet/p-02f8661f.entry.js +4 -0
- package/lib/duet/{p-ea419ab1.system.entry.js → p-0484d391.system.entry.js} +1 -1
- package/lib/duet/{p-bc7d623e.system.entry.js → p-062c814d.system.entry.js} +1 -1
- package/lib/duet/{p-018b754d.system.entry.js → p-06479d57.system.entry.js} +1 -1
- package/lib/duet/{p-1ebe06b3.js → p-0773901d.js} +1 -1
- package/lib/duet/{p-933894b9.entry.js → p-0936d659.entry.js} +1 -1
- package/lib/duet/{p-77163df8.system.entry.js → p-0a5a0f9f.system.entry.js} +1 -1
- package/lib/duet/{p-7ff31aac.entry.js → p-0a9b1b0b.entry.js} +1 -1
- package/lib/duet/{p-9edfcaf6.system.entry.js → p-0c27b62a.system.entry.js} +1 -1
- package/lib/duet/{p-72ce083f.entry.js → p-0dd3a7c9.entry.js} +1 -1
- package/lib/duet/{p-4ed96d6a.entry.js → p-0fe8704c.entry.js} +1 -1
- package/lib/duet/{p-ef35aa03.system.entry.js → p-116c7db8.system.entry.js} +1 -1
- package/lib/duet/{p-801fd1e1.entry.js → p-12a12f9c.entry.js} +1 -1
- package/lib/duet/p-151fb80c.system.entry.js +4 -0
- package/lib/duet/{p-ff643468.system.entry.js → p-15aaf279.system.entry.js} +1 -1
- package/lib/duet/{p-be301324.entry.js → p-16997663.entry.js} +1 -1
- package/lib/duet/p-16a2b903.entry.js +4 -0
- package/lib/duet/{p-c387c23d.system.entry.js → p-17aa4bbe.system.entry.js} +1 -1
- package/lib/duet/{p-0c8421f5.system.entry.js → p-184e698a.system.entry.js} +1 -1
- package/lib/duet/p-1921b16d.entry.js +4 -0
- package/lib/duet/{p-bc4acf3c.entry.js → p-1b7ac0a5.entry.js} +1 -1
- package/lib/duet/{p-71639b6e.system.entry.js → p-1c107ee6.system.entry.js} +1 -1
- package/lib/duet/{p-bb6aee0a.system.entry.js → p-1de43ba1.system.entry.js} +1 -1
- package/lib/duet/{p-58c9bd19.system.entry.js → p-1f337fe3.system.entry.js} +1 -1
- package/lib/duet/{p-e35fa4c0.system.entry.js → p-1fe573fb.system.entry.js} +1 -1
- package/lib/duet/{p-b8c6086f.entry.js → p-20611247.entry.js} +1 -1
- package/lib/duet/{p-457fc76a.entry.js → p-238fa831.entry.js} +1 -1
- package/lib/duet/{p-97b94b88.system.entry.js → p-24c9714a.system.entry.js} +2 -2
- package/lib/duet/{p-3848cdc3.entry.js → p-28b88f1b.entry.js} +1 -1
- package/lib/duet/{p-acb3b427.system.entry.js → p-2afae3ba.system.entry.js} +1 -1
- package/lib/duet/{p-fa2753c1.system.entry.js → p-2b2a0e6f.system.entry.js} +1 -1
- package/lib/duet/{p-cf66bd19.entry.js → p-2b30e991.entry.js} +1 -1
- package/lib/duet/{p-e981142d.system.entry.js → p-2b4f458d.system.entry.js} +1 -1
- package/lib/duet/p-2e417433.js +4 -0
- package/lib/duet/p-2e51ccc4.entry.js +4 -0
- package/lib/duet/{p-a0703d11.entry.js → p-303a9f45.entry.js} +1 -1
- package/lib/duet/p-31bb5751.js +4 -0
- package/lib/duet/{p-9141866f.system.entry.js → p-321b7867.system.entry.js} +1 -1
- package/lib/duet/{p-64f9793b.system.entry.js → p-34afb5ae.system.entry.js} +1 -1
- package/lib/duet/{p-2cd44aef.system.entry.js → p-393c06a4.system.entry.js} +2 -2
- package/lib/duet/{p-0fa57cb4.entry.js → p-3964bb3b.entry.js} +1 -1
- package/lib/duet/p-3c6da86e.entry.js +4 -0
- package/lib/duet/{p-6dcdd126.entry.js → p-3e7f5733.entry.js} +1 -1
- package/lib/duet/{p-b0839ac6.system.entry.js → p-3f35573d.system.entry.js} +1 -1
- package/lib/duet/{p-e78deb4d.system.entry.js → p-407dcb6c.system.entry.js} +1 -1
- package/lib/duet/{p-b1242cfd.system.entry.js → p-42f8f330.system.entry.js} +1 -1
- package/lib/duet/{p-df6faea3.entry.js → p-437d2bb6.entry.js} +1 -1
- package/lib/duet/{p-5939ca51.system.entry.js → p-4393178b.system.entry.js} +1 -1
- package/lib/duet/{p-451b4abc.system.entry.js → p-442222ef.system.entry.js} +1 -1
- package/lib/duet/{p-ffc592b1.entry.js → p-44d6dc12.entry.js} +1 -1
- package/lib/duet/{p-d10be375.system.entry.js → p-48bd046c.system.entry.js} +1 -1
- package/lib/duet/{p-ec025b1a.entry.js → p-4b3b6db2.entry.js} +1 -1
- package/lib/duet/{p-02ea4090.entry.js → p-4d7b963e.entry.js} +1 -1
- package/lib/duet/{p-00feb58c.system.entry.js → p-5373b8ad.system.entry.js} +1 -1
- package/lib/duet/{p-198b651e.entry.js → p-55865968.entry.js} +1 -1
- package/lib/duet/{p-e59aa740.entry.js → p-55a8a353.entry.js} +1 -1
- package/lib/duet/{p-47c86331.system.entry.js → p-56cef695.system.entry.js} +1 -1
- package/lib/duet/{p-d8c070da.entry.js → p-5844d557.entry.js} +1 -1
- package/lib/duet/{p-80b1d485.system.entry.js → p-599ce571.system.entry.js} +1 -1
- package/lib/duet/{p-f075d310.entry.js → p-5a9197a4.entry.js} +1 -1
- package/lib/duet/{p-41b3ba17.entry.js → p-5b908466.entry.js} +1 -1
- package/lib/duet/p-5e0962cd.entry.js +4 -0
- package/lib/duet/{p-3e748a32.entry.js → p-60162940.entry.js} +1 -1
- package/lib/duet/p-6229bcd8.system.js +4 -0
- package/lib/duet/{p-7476c2a6.entry.js → p-636a177b.entry.js} +1 -1
- package/lib/duet/p-64d39db4.js +4 -0
- package/lib/duet/p-65e8cb09.entry.js +4 -0
- package/lib/duet/{p-f46c78c3.system.entry.js → p-67b4c262.system.entry.js} +1 -1
- package/lib/duet/{p-1b7c607c.entry.js → p-67fc5d1c.entry.js} +1 -1
- package/lib/duet/{p-34a25d95.system.entry.js → p-682e6943.system.entry.js} +1 -1
- package/lib/duet/p-68eb7faa.entry.js +4 -0
- package/lib/duet/{p-ff1194f7.system.js → p-6bbac3f9.system.js} +1 -1
- package/lib/duet/{p-f3285f42.entry.js → p-6d16043c.entry.js} +1 -1
- package/lib/duet/{p-b4cfa7bb.system.entry.js → p-70ae6f2c.system.entry.js} +2 -2
- package/lib/duet/{p-32c98c69.system.entry.js → p-725c2a9e.system.entry.js} +1 -1
- package/lib/duet/{p-63675f5c.js → p-737130d0.js} +1 -1
- package/lib/duet/p-74184074.system.entry.js +4 -0
- package/lib/duet/{p-efb38f60.system.entry.js → p-74941bed.system.entry.js} +1 -1
- package/lib/duet/p-74f7b2c7.entry.js +4 -0
- package/lib/duet/p-7930b999.system.js +4 -0
- package/lib/duet/p-793b2147.entry.js +4 -0
- package/lib/duet/{p-5f38327e.system.entry.js → p-793f3625.system.entry.js} +1 -1
- package/lib/duet/{p-ccfce1f5.entry.js → p-7a33d0be.entry.js} +1 -1
- package/lib/duet/{p-e82e56d1.system.entry.js → p-7bf8f183.system.entry.js} +1 -1
- package/lib/duet/{p-9b2636f0.system.entry.js → p-7c0e1242.system.entry.js} +1 -1
- package/lib/duet/{p-90dad2bc.system.js → p-7df350f6.system.js} +1 -1
- package/lib/duet/{p-b26f5296.system.entry.js → p-7e257f15.system.entry.js} +1 -1
- package/lib/duet/p-85bd737a.js +4 -0
- package/lib/duet/p-86a187a0.system.entry.js +4 -0
- package/lib/duet/{p-83114a6d.system.entry.js → p-8763fcda.system.entry.js} +1 -1
- package/lib/duet/{p-13381697.entry.js → p-88f1717c.entry.js} +1 -1
- package/lib/duet/{p-36f4e631.entry.js → p-89aebeb3.entry.js} +1 -1
- package/lib/duet/{p-c8cad658.system.entry.js → p-89fb266e.system.entry.js} +1 -1
- package/lib/duet/{p-b7646687.entry.js → p-8aeb58ba.entry.js} +1 -1
- package/lib/duet/p-8da50ca3.entry.js +4 -0
- package/lib/duet/{p-ec6820d3.system.entry.js → p-912efbb2.system.entry.js} +1 -1
- package/lib/duet/{p-799a3c7b.system.entry.js → p-9240897c.system.entry.js} +1 -1
- package/lib/duet/{p-5cce55d7.system.entry.js → p-938f9b3e.system.entry.js} +1 -1
- package/lib/duet/{p-630fd37d.system.entry.js → p-94a34398.system.entry.js} +1 -1
- package/lib/duet/{p-57dbe566.system.js → p-94e4f977.system.js} +1 -1
- package/lib/duet/{p-26095d4c.entry.js → p-953ec2bf.entry.js} +1 -1
- package/lib/duet/{p-cd3bd02d.entry.js → p-96c232c1.entry.js} +1 -1
- package/lib/duet/{p-35ef7ec4.entry.js → p-9a04c2b1.entry.js} +1 -1
- package/lib/duet/{p-b5fe55fe.system.entry.js → p-9bdb177a.system.entry.js} +1 -1
- package/lib/duet/{p-2f2954b2.system.entry.js → p-9c39ff09.system.entry.js} +1 -1
- package/lib/duet/{p-26ec4dbe.entry.js → p-9e736904.entry.js} +1 -1
- package/lib/duet/{p-6e2b62bf.system.entry.js → p-a0cc3a57.system.entry.js} +1 -1
- package/lib/duet/{p-122d1eb2.system.js → p-a1105b5c.system.js} +1 -1
- package/lib/duet/{p-e24cf47d.system.entry.js → p-a487e706.system.entry.js} +1 -1
- package/lib/duet/{p-fc7fd7e4.system.entry.js → p-a5c6603f.system.entry.js} +1 -1
- package/lib/duet/p-a7e0505e.system.entry.js +4 -0
- package/lib/duet/{p-1d5686e9.system.entry.js → p-aa59a64b.system.entry.js} +2 -2
- package/lib/duet/{p-36ea2c29.entry.js → p-ab6757f6.entry.js} +1 -1
- package/lib/duet/p-ac5d2bcc.entry.js +4 -0
- package/lib/duet/{p-df163adc.system.entry.js → p-ac8c8a39.system.entry.js} +1 -1
- package/lib/duet/{p-7bd75507.system.entry.js → p-ad3f1daf.system.entry.js} +1 -1
- package/lib/duet/{p-411366b0.system.js → p-ad694b62.system.js} +1 -1
- package/lib/duet/{p-ee2ad3a0.entry.js → p-adaf3f59.entry.js} +1 -1
- package/lib/duet/{p-86b908de.system.entry.js → p-ae0c29d6.system.entry.js} +1 -1
- package/lib/duet/p-ae924d35.js +4 -0
- package/lib/duet/{p-a0a62431.system.js → p-af5d05c3.system.js} +1 -1
- package/lib/duet/{p-ba8e2d0a.system.entry.js → p-afa617d4.system.entry.js} +1 -1
- package/lib/duet/{p-a31a969b.entry.js → p-b1ab0652.entry.js} +1 -1
- package/lib/duet/{p-7186b899.entry.js → p-b1ba3c6a.entry.js} +1 -1
- package/lib/duet/p-b1fb2829.entry.js +4 -0
- package/lib/duet/{p-739a8ad7.system.entry.js → p-b4676151.system.entry.js} +1 -1
- package/lib/duet/{p-e180ccbf.system.entry.js → p-b6ba7e61.system.entry.js} +1 -1
- package/lib/duet/{p-c15b13a7.entry.js → p-b84219f5.entry.js} +1 -1
- package/lib/duet/{p-a438841c.entry.js → p-b8a0329d.entry.js} +1 -1
- package/lib/duet/{p-815520c1.system.entry.js → p-baa4658c.system.entry.js} +1 -1
- package/lib/duet/{p-a420b2d1.entry.js → p-bb19eb2d.entry.js} +1 -1
- package/lib/duet/p-bfa81195.entry.js +4 -0
- package/lib/duet/{p-52a7b68f.system.entry.js → p-c03f1b5c.system.entry.js} +1 -1
- package/lib/duet/{p-5eee138b.entry.js → p-c07e462d.entry.js} +1 -1
- package/lib/duet/{p-b31efa7d.entry.js → p-c2509427.entry.js} +1 -1
- package/lib/duet/{p-058dde3c.system.js → p-c378ccdd.system.js} +1 -1
- package/lib/duet/{p-03ec5f79.system.entry.js → p-c4538952.system.entry.js} +1 -1
- package/lib/duet/p-c45f948b.system.entry.js +4 -0
- package/lib/duet/{p-1d81cad7.system.entry.js → p-c6ad88ca.system.entry.js} +1 -1
- package/lib/duet/{p-67cccb20.system.entry.js → p-c708fd70.system.entry.js} +1 -1
- package/lib/duet/p-c9bed1f1.entry.js +4 -0
- package/lib/duet/{p-0aaa3c39.system.entry.js → p-c9f780bb.system.entry.js} +1 -1
- package/lib/duet/{p-6722009a.system.entry.js → p-cb66bf76.system.entry.js} +1 -1
- package/lib/duet/{p-b53d454b.entry.js → p-ce092918.entry.js} +1 -1
- package/lib/duet/{p-00eead31.entry.js → p-cff0ecb0.entry.js} +1 -1
- package/lib/duet/{p-fcd270af.entry.js → p-d0ba77fe.entry.js} +1 -1
- package/lib/duet/{p-5ff67999.system.entry.js → p-d13e3716.system.entry.js} +1 -1
- package/lib/duet/{p-bc923039.system.entry.js → p-d286a412.system.entry.js} +1 -1
- package/lib/duet/{p-ee209df1.system.entry.js → p-d440f795.system.entry.js} +1 -1
- package/lib/duet/{p-5c732e81.system.entry.js → p-d45702f5.system.entry.js} +1 -1
- package/lib/duet/{p-71fe9d70.entry.js → p-d45de9cb.entry.js} +1 -1
- package/lib/duet/{p-09bd9f19.entry.js → p-d535f442.entry.js} +1 -1
- package/lib/duet/{p-e7ca4c2a.system.entry.js → p-d64d72d6.system.entry.js} +1 -1
- package/lib/duet/p-dadd8c19.system.entry.js +4 -0
- package/lib/duet/{p-5f13e48c.entry.js → p-dbe6cf3c.entry.js} +1 -1
- package/lib/duet/p-dcd70e16.entry.js +4 -0
- package/lib/duet/{p-dc844ded.entry.js → p-de9a637d.entry.js} +1 -1
- package/lib/duet/{p-8a388f5b.system.entry.js → p-dfc8cb16.system.entry.js} +1 -1
- package/lib/duet/{p-40c929c7.system.entry.js → p-e0880953.system.entry.js} +1 -1
- package/lib/duet/{p-fe1cf73e.entry.js → p-e2bf5465.entry.js} +1 -1
- package/lib/duet/{p-71c75b42.entry.js → p-e52a6209.entry.js} +1 -1
- package/lib/duet/{p-760c9e95.system.entry.js → p-e5606a0f.system.entry.js} +1 -1
- package/lib/duet/{p-a9b1974d.entry.js → p-e57748ed.entry.js} +1 -1
- package/lib/duet/{p-700a2c3e.entry.js → p-e6236342.entry.js} +1 -1
- package/lib/duet/{p-cd16c798.system.entry.js → p-e79cba3f.system.entry.js} +1 -1
- package/lib/duet/{p-d8a4ec3a.system.entry.js → p-e91e9697.system.entry.js} +1 -1
- package/lib/duet/p-e9c354e0.entry.js +4 -0
- package/lib/duet/{p-834cbeea.entry.js → p-ea8bc817.entry.js} +1 -1
- package/lib/duet/p-eaf430ed.entry.js +4 -0
- package/lib/duet/{p-efdcb86f.entry.js → p-eb4ce4cc.entry.js} +1 -1
- package/lib/duet/{p-5c1cada7.js → p-ed0179f9.js} +1 -1
- package/lib/duet/{p-575df633.entry.js → p-ef2872f7.entry.js} +1 -1
- package/lib/duet/{p-a671f12e.system.entry.js → p-efeb6892.system.entry.js} +1 -1
- package/lib/duet/{p-d21b4ed5.entry.js → p-f0939f30.entry.js} +1 -1
- package/lib/duet/p-f189d547.entry.js +4 -0
- package/lib/duet/{p-e72daab4.entry.js → p-f5d1a11c.entry.js} +1 -1
- package/lib/duet/{p-22ab9afa.system.entry.js → p-f6099430.system.entry.js} +1 -1
- package/lib/duet/{p-946b9f45.entry.js → p-fa05d75c.entry.js} +1 -1
- package/lib/duet/{p-02ce78c7.entry.js → p-fe66eee6.entry.js} +1 -1
- package/lib/duet/{p-01182f5e.entry.js → p-ff06b22b.entry.js} +1 -1
- package/lib/esm/{a11y-utils-02146774.js → a11y-utils-ba8ce43e.js} +1 -1
- package/lib/esm/{app-globals-3f3fcf1f.js → app-globals-90a110af.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +14 -11
- package/lib/esm/duet-badge.entry.js +2 -2
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +8 -11
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +5 -5
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +6 -6
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +35 -9
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +6 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +5 -5
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +5 -5
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-phone-input.entry.js +7 -6
- package/lib/esm/duet-popup-menu_2.entry.js +35 -10
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +4 -4
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +18 -0
- package/lib/esm/duet-share-chart.entry.js +79 -0
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +11 -11
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-status-icon.entry.js +10 -7
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-0b711abe.js → errorcodes.utils-755952c8.js} +1 -1
- package/lib/esm/{focus-utils-59c3798e.js → focus-utils-a8518a11.js} +1 -1
- package/lib/esm/{index-dd60f5fc.js → index-56e364b1.js} +9 -1
- package/lib/esm/{language-utils-47475a59.js → language-utils-abee49de.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-205a8937.js → slot-utils-2d133bd0.js} +1 -1
- package/lib/esm/{themeable-component-860041c5.js → themeable-component-2575bd2f.js} +3 -2
- package/lib/esm-es5/{a11y-utils-02146774.js → a11y-utils-ba8ce43e.js} +1 -1
- package/lib/esm-es5/{app-globals-3f3fcf1f.js → app-globals-90a110af.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +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-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +4 -0
- package/lib/esm-es5/duet-share-chart.entry.js +4 -0
- 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-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +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 +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-0b711abe.js → errorcodes.utils-755952c8.js} +1 -1
- package/lib/esm-es5/focus-utils-a8518a11.js +4 -0
- package/lib/esm-es5/index-56e364b1.js +4 -0
- package/lib/esm-es5/{language-utils-47475a59.js → language-utils-abee49de.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-205a8937.js → slot-utils-2d133bd0.js} +1 -1
- package/lib/esm-es5/themeable-component-2575bd2f.js +4 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -0
- package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +36 -0
- package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
- package/lib/types/components.d.ts +58 -0
- package/package.json +4 -4
- package/lib/duet/p-01c72f8e.entry.js +0 -4
- package/lib/duet/p-03ff933b.entry.js +0 -4
- package/lib/duet/p-09cb29f2.system.entry.js +0 -4
- package/lib/duet/p-242b4466.entry.js +0 -4
- package/lib/duet/p-40de9bfa.entry.js +0 -4
- package/lib/duet/p-585fb676.system.js +0 -4
- package/lib/duet/p-5ee5540a.js +0 -4
- package/lib/duet/p-5fdc84cf.entry.js +0 -4
- package/lib/duet/p-5fef7caf.entry.js +0 -4
- package/lib/duet/p-600b6b9f.entry.js +0 -4
- package/lib/duet/p-630e7601.entry.js +0 -4
- package/lib/duet/p-97ff0a20.system.entry.js +0 -4
- package/lib/duet/p-985a89d4.system.entry.js +0 -4
- package/lib/duet/p-a7a13290.entry.js +0 -4
- package/lib/duet/p-aaa7a7bd.js +0 -4
- package/lib/duet/p-ab0bf0f4.entry.js +0 -4
- package/lib/duet/p-b1a2f837.entry.js +0 -4
- package/lib/duet/p-b54f9b74.js +0 -4
- package/lib/duet/p-b5d3ae06.entry.js +0 -4
- package/lib/duet/p-c854531e.system.entry.js +0 -4
- package/lib/duet/p-cfa74eff.js +0 -4
- package/lib/duet/p-d6d0230a.entry.js +0 -4
- package/lib/duet/p-daf57f21.entry.js +0 -4
- package/lib/duet/p-e216bea4.system.js +0 -4
- package/lib/duet/p-e80aa07c.entry.js +0 -4
- package/lib/duet/p-e8532ea6.js +0 -4
- package/lib/duet/p-eac48d1e.system.entry.js +0 -4
- package/lib/duet/p-fc16a9c7.entry.js +0 -4
- package/lib/duet/p-fe982640.entry.js +0 -4
- package/lib/esm-es5/focus-utils-59c3798e.js +0 -4
- package/lib/esm-es5/index-dd60f5fc.js +0 -4
- package/lib/esm-es5/themeable-component-860041c5.js +0 -4
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
|
+
const slotUtils = require('./slot-utils-4e1bb28c.js');
|
|
11
|
+
const tokenUtils = require('./token-utils-6258d3f7.js');
|
|
12
|
+
require('./tokens.module-a7c77c13.js');
|
|
13
|
+
|
|
14
|
+
const duetShareChartCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}";
|
|
15
|
+
const DuetShareChartStyle0 = duetShareChartCss;
|
|
16
|
+
|
|
17
|
+
const DuetShareChart = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
index.registerInstance(this, hostRef);
|
|
20
|
+
this.defaultColors = [
|
|
21
|
+
"lt-blue-800",
|
|
22
|
+
"lt-blue-600",
|
|
23
|
+
"success-600",
|
|
24
|
+
"success-800",
|
|
25
|
+
"warning-600",
|
|
26
|
+
"danger-600",
|
|
27
|
+
"danger-800",
|
|
28
|
+
];
|
|
29
|
+
/**
|
|
30
|
+
* Local methods
|
|
31
|
+
*/
|
|
32
|
+
this.colorPickCount = 0;
|
|
33
|
+
this.items = undefined;
|
|
34
|
+
this.theme = "";
|
|
35
|
+
this.unit = "%";
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Component lifecycle events.
|
|
39
|
+
*/
|
|
40
|
+
componentWillLoad() {
|
|
41
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
42
|
+
}
|
|
43
|
+
connectedCallback() {
|
|
44
|
+
{
|
|
45
|
+
this.childObserver = new MutationObserver(this.updateChartItems.bind(this));
|
|
46
|
+
this.childObserver.observe(this.element, { childList: true });
|
|
47
|
+
}
|
|
48
|
+
this.updateChartItems();
|
|
49
|
+
}
|
|
50
|
+
disconnectedCallback() {
|
|
51
|
+
if (this.childObserver) {
|
|
52
|
+
this.childObserver.disconnect();
|
|
53
|
+
this.childObserver = undefined;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
pickColor() {
|
|
57
|
+
const color = this.defaultColors[this.colorPickCount];
|
|
58
|
+
this.colorPickCount += 1;
|
|
59
|
+
if (this.colorPickCount > this.defaultColors.length - 1) {
|
|
60
|
+
this.colorPickCount = 0;
|
|
61
|
+
}
|
|
62
|
+
return color;
|
|
63
|
+
}
|
|
64
|
+
updateChartItems() {
|
|
65
|
+
const children = slotUtils.getElementsFromDefaultSlot(this.element).filter(el => el.tagName.toLocaleLowerCase() === "duet-share-chart-item");
|
|
66
|
+
this.items = children.map(child => ({
|
|
67
|
+
text: child.innerText,
|
|
68
|
+
value: child.value,
|
|
69
|
+
color: child.color || this.pickColor(),
|
|
70
|
+
}));
|
|
71
|
+
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
72
|
+
}
|
|
73
|
+
render() {
|
|
74
|
+
return (index.h(index.Host, { key: '230ed44d6302403fc483392a556cdd6a994ece90' }, index.h("div", { key: '491a97e31835484f390449c35cd21720e06b6a7a', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (index.h("span", { class: "duet-share-chart-share", style: {
|
|
75
|
+
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
76
|
+
backgroundColor: tokenUtils.getColorByName(item.color, this.theme),
|
|
77
|
+
} })))), index.h("ul", { key: '943e85740a3ece5878daa1138dfca90ee5798ab2', class: "duet-share-chart-item-list" }, this.items.map(item => (index.h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, index.h("span", { class: "duet-share-chart-item-color", style: { background: tokenUtils.getColorByName(item.color, this.theme) } }), index.h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), index.h("span", { class: "duet-share-chart-item-value" }, "\u00A0", item.value, "\u00A0", this.unit), this.unit !== "%" && (index.h("duet-visually-hidden", null, `${(item.value / this.itemsTotalValue) * 100}%`)))))), index.h("slot", { key: '5c102cbf81beeb8b1c9f2a66508bd34d7547a2b5' })));
|
|
78
|
+
}
|
|
79
|
+
get element() { return index.getElement(this); }
|
|
80
|
+
};
|
|
81
|
+
DuetShareChart.style = DuetShareChartStyle0;
|
|
82
|
+
|
|
83
|
+
exports.duet_share_chart = DuetShareChart;
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
13
13
|
require('./string-utils-7b13c16e.js');
|
|
14
14
|
|
|
15
15
|
const duetShowMoreCss = "*,*::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}.duet-show-more{margin-bottom:16px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.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-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
@@ -107,7 +107,7 @@ const DuetShowMore = class {
|
|
|
107
107
|
"duet-theme-turva": this.theme === "turva",
|
|
108
108
|
"duet-m-0": this.margin === "none",
|
|
109
109
|
open: this.open,
|
|
110
|
-
} }, index.h("div", { key: '
|
|
110
|
+
} }, index.h("div", { key: 'bc1f2d3525d4e5ce6b10770013aa6696822a71aa', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, index.h("div", { key: 'b250102aac08de1604938717797afcfc7f28f624', class: { "slotted-content": true } }, index.h("slot", { key: '95f39f8e5abf0a79bf9f40cf34281013991cdd8b' }))), index.h("duet-button", { key: 'b07f00cb1d84ba412a711f7f1f37e7e3269e1984', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, index.h("span", { key: '33157363432909baaa57cb03d67c71c0de61b073' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
111
111
|
}
|
|
112
112
|
get element() { return index.getElement(this); }
|
|
113
113
|
};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
10
|
-
const languageUtils = require('./language-utils-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
11
11
|
require('./string-utils-7b13c16e.js');
|
|
12
12
|
|
|
13
13
|
const duetSlideoutLangCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:20px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-16px;width:2px;height:50%;content:\"\";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}";
|
|
@@ -45,7 +45,7 @@ const DuetSlideoutLang = class {
|
|
|
45
45
|
*/
|
|
46
46
|
render() {
|
|
47
47
|
const langTranslation = languageUtils.getLocaleString(this.chooseLangObject);
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: '848aaedd9e1c8ed6d539b69daef3a831af55b178' }, index.h("div", { key: '69695781b71a228e58973bd2673c7765582b6fcb', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, index.h("duet-icon", { key: '2305f5314bf1fb5c270d2a8eeb55f75382d2591a', name: "navigation-language", margin: "none", color: "secondary" }), index.h("slot", { key: '2d7a718ac92ce21dd138e7fb71e27a02ac5ca1ae' }))));
|
|
49
49
|
}
|
|
50
50
|
get element() { return index.getElement(this); }
|
|
51
51
|
};
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
9
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
|
-
const themeableComponent = require('./themeable-component-
|
|
12
|
-
const a11yUtils = require('./a11y-utils-
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
require('./slot-utils-
|
|
11
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
12
|
+
const a11yUtils = require('./a11y-utils-050310c7.js');
|
|
13
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
14
|
+
require('./slot-utils-4e1bb28c.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
|
|
17
17
|
const duetSlideoutLinkCss = "*,*::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-slideout-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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-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-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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\"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:\"\";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}";
|
|
@@ -53,12 +53,12 @@ const DuetSlideoutLink = class {
|
|
|
53
53
|
* Always the last one in the class.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h(index.Host, { key: '
|
|
56
|
+
return (index.h(index.Host, { key: '9c7e694f19f234e14ac86c900c0f7ae6f765f7ab' }, index.h("a", { key: 'ff3e3a23d2d1b3f56b0b994e7eeccb6f71b4c5be', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
57
57
|
"duet-slideout-link": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
active: this.active,
|
|
60
60
|
[this.size]: true,
|
|
61
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (index.h("duet-icon", { key: '
|
|
61
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (index.h("duet-icon", { key: 'f7528118eb9ac1331797c4e375e5373511ed2b5a', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), index.h("div", { key: '7ade705aba28a34b24d53a09ec067823b94c03d6', class: "label" }, index.h("span", { key: '84085ddeaa526502419641aefd0cd30106b89fe0' }, index.h("span", { key: '792db99a27189102d713db6351e724547297670f', class: "label-container" }, index.h("span", { key: '1416b4f044e1320c2f71a2db1b3839e21d482979', class: "label-content" }, index.h("slot", { key: '7f66789e0c27b6c09309f446179cdc8e5a6dfa6d' })), this.external && (index.h("duet-icon", { key: 'b1e870744e89431b43907f9ca6030a075af36be7', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), index.h("slot", { key: '3dcd61fca8f725f97ea83d397d676ede325fb624', name: "description" })), this.caret && (index.h("duet-icon", { key: '4bcd014bb5cd4c1d1af3d42d113407b26bcad004', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
62
62
|
}
|
|
63
63
|
get element() { return index.getElement(this); }
|
|
64
64
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutPanelDropdownCss = "*,*::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%}: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-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{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.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}";
|
|
12
12
|
const DuetSlideoutPanelDropdownStyle0 = duetSlideoutPanelDropdownCss;
|
|
@@ -49,16 +49,16 @@ const DuetSlideoutPanelDropdown = class {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: '89618f83739daf830ec8b90e05e9f3e5f9b52f34' }, index.h("div", { key: 'e155beffd0996d1cace98318dc02b6a9cd6f1531', class: {
|
|
53
53
|
"duet-slideout-panel-dropdown": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
55
|
active: this.open,
|
|
56
|
-
} }, index.h("button", { key: '
|
|
56
|
+
} }, index.h("button", { key: 'f2aeae59fdea3ec033d49a5a5539c5d5f076394a', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
57
57
|
active: this.active,
|
|
58
|
-
}, onClick: this.onClick }, this.icon && index.h("duet-icon", { key: '
|
|
58
|
+
}, onClick: this.onClick }, this.icon && index.h("duet-icon", { key: 'c884fa8d6236722a189b5bc384eb85000587ffa1', name: this.icon, size: "medium", margin: "none", color: "secondary" }), index.h("span", { key: '73cfdab8bb78c2504a8fc0d45d581be2161b6039', class: "label" }, index.h("slot", { key: '656c5d97ba82b382db0feb02003427fe41eb1767', name: "label" }), index.h("duet-icon", { key: 'd927fed89d4414a08391ca31fdfde8d51cd64b01', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), index.h("div", { key: '2292a1771bdc183cc5b4eb3836e32af3caf69397', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
59
59
|
items: true,
|
|
60
60
|
hidden: !this.open,
|
|
61
|
-
} }, index.h("slot", { key: '
|
|
61
|
+
} }, index.h("slot", { key: '8b5ea9880c9444c6bd3d98db753a7503813cdd21' })))));
|
|
62
62
|
}
|
|
63
63
|
get element() { return index.getElement(this); }
|
|
64
64
|
};
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const bodyScroll = require('./body-scroll-dba42314.js');
|
|
11
|
-
const focusUtils = require('./focus-utils-
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
13
|
-
const slotUtils = require('./slot-utils-
|
|
11
|
+
const focusUtils = require('./focus-utils-17b92876.js');
|
|
12
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
13
|
+
const slotUtils = require('./slot-utils-4e1bb28c.js');
|
|
14
14
|
const tokenUtils = require('./token-utils-6258d3f7.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
require('./tokens.module-a7c77c13.js');
|
|
@@ -164,23 +164,23 @@ const DuetSlideoutPanel = class {
|
|
|
164
164
|
};
|
|
165
165
|
const exitTranslation = languageUtils.getLocaleString(this.exitLangObject);
|
|
166
166
|
const backTranslation = languageUtils.getLocaleString(this.backLangObject);
|
|
167
|
-
return (index.h(index.Host, { key: '
|
|
167
|
+
return (index.h(index.Host, { key: 'cb822cc9737388e773957e9167d9a3f3092a5024' }, index.h("div", { key: 'ecf89dccd7aaa7516815ddb1b3283dcb88561624', class: {
|
|
168
168
|
"duet-slideout-panel": true,
|
|
169
169
|
"duet-theme-turva": this.theme === "turva",
|
|
170
170
|
active: this.open,
|
|
171
|
-
} }, index.h("button", { key: '
|
|
171
|
+
} }, index.h("button", { key: '1c5d2a8c1e0ccc4d56c57c12e32f37fd2d8bdf28', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
172
172
|
link: true,
|
|
173
173
|
active: this.active,
|
|
174
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '
|
|
174
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (index.h("div", { key: '2ed84760445304c52dc13d7d5691fa83386a3fb3', class: "duet-slideout-icon" }, index.h("duet-icon", { key: 'a80ea5ba954811c488852ac37d6d7239b7b33a14', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && index.h("div", { key: 'a66f32d3b20af0bbad481d024da7cc5616b1c879', class: "duet-slideout-badge" }))), index.h("span", { key: 'da846f3815471fb3fdcd4c1319e18f1a5597cfa0', class: "label" }, index.h("span", { key: 'f6e260a2a4e4b97d6f724f45e1e46ab386dff47d', class: { "label-text": true, [this.labelSize]: true } }, index.h("slot", { key: 'abddec9671e9c3b3a3cf43ee916ee198a06b0516', name: "label" })), index.h("duet-icon", { key: 'ed3ef00614b835aac2526866e71b05198dabe225', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), index.h("div", { key: 'f004a0beebfa0aea1f9140d94f44a53def61be84', ref: element => (this.dialog = element), class: {
|
|
175
175
|
dialog: true,
|
|
176
176
|
hidden: !this.open,
|
|
177
|
-
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '
|
|
177
|
+
}, style: styles }, index.h(focusUtils.FocusGuard, { key: '141275269b60c09c78245f2cdba73e3c1556ec89', moveFocusTo: this.closeButton }), index.h("div", { key: '8835c47450104420f6dd3a208375dfc129fe13fc', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, index.h("div", { key: 'e26413e851f98164d3f00b4839899a7a05c57a0d', class: "top" }, index.h("button", { key: 'e47be55cb0d87b1031a051ce164af014ca773e17', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
178
178
|
back: true,
|
|
179
|
-
}, onClick: this.onClick }, index.h("duet-icon", { key: '
|
|
179
|
+
}, onClick: this.onClick }, index.h("duet-icon", { key: '6c1caa323b815ad3940991fdc7aacec7aab7f94a', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), index.h("span", { key: '96e9ac9d7ff5121db3d90ce76613d00db1864778' }, this.label.innerHTML), index.h("button", { key: '4557397517d57085b8442828c0b60164ce048a3e', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, index.h("duet-icon", { key: '7c00e8108b826b44fc9343d172fcda9eb700d4a9', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { key: 'b9f1ebcaf47a9635917063bec751725fd580f019', class: "sticky-header" }, index.h("slot", { key: 'd70c5e23758b79af9cfadfab39349bf9b71b4a76', name: "sticky-header" }))), index.h("div", { key: 'c87464365151093c3edca5fc7478af7b3b90e2ff', tabindex: "-1", role: "menu",
|
|
180
180
|
//TODO: slideout menu fades out, needs to be instant
|
|
181
181
|
id: "menu", "aria-labelledby": "button", class: {
|
|
182
182
|
items: true,
|
|
183
|
-
} }, index.h("slot", { key: '
|
|
183
|
+
} }, index.h("slot", { key: 'a0dd655320d212ccc005c3fb096b578f19f9c0a8' })), index.h(focusUtils.FocusGuard, { key: 'dafafa79bc1b13a9c9eb46379181a02ab0487aa5', moveFocusTo: this.closeButton })))));
|
|
184
184
|
}
|
|
185
185
|
get element() { return index.getElement(this); }
|
|
186
186
|
static get watchers() { return {
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const bodyScroll = require('./body-scroll-dba42314.js');
|
|
11
|
-
const focusUtils = require('./focus-utils-
|
|
11
|
+
const focusUtils = require('./focus-utils-17b92876.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
const slotUtils = require('./slot-utils-
|
|
13
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
14
|
+
const slotUtils = require('./slot-utils-4e1bb28c.js');
|
|
15
15
|
const teleport = require('./teleport-c0eede18.js');
|
|
16
16
|
const tokenUtils = require('./token-utils-6258d3f7.js');
|
|
17
17
|
require('./string-utils-7b13c16e.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
9
|
const tokens = require('./tokens-e6fda5ee.js');
|
|
10
10
|
|
|
11
11
|
const DuetStatusIcon = class {
|
|
@@ -44,14 +44,17 @@ const DuetStatusIcon = class {
|
|
|
44
44
|
this.margin = "auto";
|
|
45
45
|
this.strong = false;
|
|
46
46
|
}
|
|
47
|
+
getVariation() {
|
|
48
|
+
return ["default", "success", "danger", "warning"].includes(this.variation) ? this.variation : "default";
|
|
49
|
+
}
|
|
47
50
|
getBg() {
|
|
48
|
-
return tokens.tokens[this.bg[this.strong ? "strong" : "default"][this.
|
|
51
|
+
return tokens.tokens[this.bg[this.strong ? "strong" : "default"][this.getVariation()]];
|
|
49
52
|
}
|
|
50
53
|
getColor() {
|
|
51
|
-
return tokens.tokens[this.color[this.strong ? "strong" : "default"][this.
|
|
54
|
+
return tokens.tokens[this.color[this.strong ? "strong" : "default"][this.getVariation()]];
|
|
52
55
|
}
|
|
53
56
|
getIcon() {
|
|
54
|
-
switch (this.
|
|
57
|
+
switch (this.getVariation()) {
|
|
55
58
|
case "default":
|
|
56
59
|
return `
|
|
57
60
|
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
@@ -76,10 +79,10 @@ const DuetStatusIcon = class {
|
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
render() {
|
|
79
|
-
return (index.h(index.Host, { key: '
|
|
80
|
-
[`duet-status-icon-${this.
|
|
82
|
+
return (index.h(index.Host, { key: 'f2a27d2fd14f0521619a4a4acc078853914cb77d', class: {
|
|
83
|
+
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
81
84
|
"duet-strong-bg": this.strong,
|
|
82
|
-
} }, index.h("duet-icon", { key: '
|
|
85
|
+
} }, index.h("duet-icon", { key: '9fea7a807f88b0c840a4fb37ea025126edf80a3e', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
83
86
|
}
|
|
84
87
|
};
|
|
85
88
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
12
12
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
11
11
|
|
|
12
12
|
const duetSubmenuBarDropdownLinkCss = "*,*::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-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-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-submenu-bar-dropdown-link:focus,.duet-submenu-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-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-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-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}";
|
|
@@ -40,12 +40,12 @@ const DuetSubmenuBarDropdownLink = class {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(index.Host, { key: '
|
|
43
|
+
return (index.h(index.Host, { key: 'c9c117e150388808484adcbb1b89d8a1f402c5dd' }, index.h("a", { key: '4b79d238f3e36813339bea04e3c9a559ee3972a6', class: {
|
|
44
44
|
"duet-submenu-bar-dropdown-link": true,
|
|
45
45
|
"duet-theme-turva": this.theme === "turva",
|
|
46
46
|
highlight: this.highlight,
|
|
47
47
|
active: this.active,
|
|
48
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: '
|
|
48
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && index.h("duet-icon", { key: 'f0de902b75bd2c14f2e5ab7bab9045c6f7516219', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), index.h("span", { key: 'fb4cc6db27bd38658bbca4c0ac023c60b8c1f9f1', class: "label-container" }, index.h("span", { key: '4451bf79f482417ca15545d3c066d1bb5f2fabf4', class: "label" }, index.h("slot", { key: 'ff2def8614a7757177b420f8f0f071d5f6b2dda8' })), this.caret && index.h("duet-icon", { key: 'd2e513116a7031390c920b937617b8f365c2fa9a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (index.h("duet-icon", { key: '0b9751d96777023aef4b13d1b06ac493975f219a', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
49
49
|
}
|
|
50
50
|
get element() { return index.getElement(this); }
|
|
51
51
|
};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
9
|
const tokens = require('./tokens-e6fda5ee.js');
|
|
10
|
-
const themeableComponent = require('./themeable-component-
|
|
10
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
12
12
|
|
|
13
13
|
const duetSubmenuBarDropdownCss = "*,*::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-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;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:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::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-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}";
|
|
@@ -105,18 +105,18 @@ const DuetSubmenuBarDropdown = class {
|
|
|
105
105
|
* Always the last one in the class.
|
|
106
106
|
*/
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h(index.Host, { key: '
|
|
108
|
+
return (index.h(index.Host, { key: '76e8b37395a41c08dfb79044c9aa9e8ca5ba5274', role: "listitem" }, index.h("div", { key: '16c3746948dd9f622b4cb003304e22f1dc1faf9d', class: {
|
|
109
109
|
"duet-submenu-bar-dropdown": true,
|
|
110
110
|
"duet-theme-turva": this.theme === "turva",
|
|
111
111
|
open: this.open,
|
|
112
112
|
active: this.active,
|
|
113
|
-
} }, index.h("button", { key: '
|
|
113
|
+
} }, index.h("button", { key: 'e1714f05f37e793f5f83a72cf63a62a5798e0415', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
114
114
|
open: this.open,
|
|
115
115
|
active: this.active,
|
|
116
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '
|
|
116
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'f0e8d42456dd083616c6245a2a67f6f83a2e2553', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '4a8c42c00dab9378cee591e449d27c3e313fbed2', class: "label" }, index.h("span", { key: 'f04bb5583ba82c58534312b22dbb86129837fba4', class: "label-text" }, index.h("slot", { key: '1ff407f2b05a19f13d3cdf7abc508853e9fb951c', name: "label" })), index.h("duet-icon", { key: '8c0911d940e05310687d92a0cacc1ef55d388475', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '30970885dfcc36d710bb0fe2eed310a71348c0d2', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
117
117
|
items: true,
|
|
118
118
|
hidden: !this.open,
|
|
119
|
-
} }, index.h("slot", { key: '
|
|
119
|
+
} }, index.h("slot", { key: '19623f7c88cc36d51607272ac2e2e9e582c79654' })))));
|
|
120
120
|
}
|
|
121
121
|
get element() { return index.getElement(this); }
|
|
122
122
|
};
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
9
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
10
10
|
const commonStrings = require('./common-strings-2984301e.js');
|
|
11
|
-
const themeableComponent = require('./themeable-component-
|
|
12
|
-
const a11yUtils = require('./a11y-utils-
|
|
11
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
12
|
+
const a11yUtils = require('./a11y-utils-050310c7.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
14
|
-
const languageUtils = require('./language-utils-
|
|
15
|
-
require('./slot-utils-
|
|
14
|
+
const languageUtils = require('./language-utils-5a4f4a41.js');
|
|
15
|
+
require('./slot-utils-4e1bb28c.js');
|
|
16
16
|
require('./string-utils-7b13c16e.js');
|
|
17
17
|
|
|
18
18
|
const duetSubmenuBarItemCss = "*,*::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, 75, 129);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 .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.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(126, 2, 35)}.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(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}";
|
|
@@ -68,7 +68,7 @@ const DuetSubmenuBarItem = class {
|
|
|
68
68
|
render() {
|
|
69
69
|
const TagName = this.url ? "a" : "button";
|
|
70
70
|
const role = this.url ? "link" : "button";
|
|
71
|
-
return (index.h(index.Host, { key: '
|
|
71
|
+
return (index.h(index.Host, { key: '286d31e43175b586e05d660dcae91f2ba0176f8d', role: "listitem" }, index.h(TagName, { key: 'ff2ee974d9ee8340c3c53e24c07eb4793f6f9bec', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("duet-icon", { key: '8ad8924d66e2bc49aa1605f59ae9c96b06c91ddc', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '3433ef2e595da4391f05927fab8deb99304887bc', class: "label" }, index.h("span", { key: 'df2750c809a744a98e41624478d8ff5616ba496c', class: "label-text" }, index.h("slot", { key: '83fb30a29389e5e2f5caebb04b99be1d480fdc3c' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: 'b00f95d9b7f5c0ad824c25fc32936964cc5d9e69', class: {
|
|
72
72
|
"trailing-icon": !!this.trailingIcon,
|
|
73
73
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
74
74
|
"external-icon": !!this.external,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
11
11
|
|
|
12
12
|
const duetSubmenuBarLinkCss = "*,*::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-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-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-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.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-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-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}";
|
|
@@ -38,7 +38,7 @@ const DuetSubmenuBarLink = class {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '523a71ea3cb2b043ce88a6bc11bbdb371eb665bb', role: "listitem" }, index.h("a", { key: 'e6a7fd1bbc7a46c356e2b1c682f170c263e18e46', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (index.h("duet-icon", { key: '3643314e71d9195799cdfed981987b062ed8fcd9', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: '2605d1554838ec11a74e2f04767ab315f03bf14f', class: "label" }, index.h("slot", { key: '8a9329340f3efc9b0de1ac382941d01435bae8d4' })))));
|
|
42
42
|
}
|
|
43
43
|
get element() { return index.getElement(this); }
|
|
44
44
|
};
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-45354cdd.js');
|
|
9
9
|
const tokens = require('./tokens-e6fda5ee.js');
|
|
10
10
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-dd2d7d91.js');
|
|
11
|
-
const themeableComponent = require('./themeable-component-
|
|
11
|
+
const themeableComponent = require('./themeable-component-ad21363c.js');
|
|
12
12
|
|
|
13
13
|
const duetSubmenuBarCss = "*,*::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%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}";
|
|
14
14
|
const DuetSubmenuBarStyle0 = duetSubmenuBarCss;
|
|
@@ -131,19 +131,19 @@ const DuetSubmenuBar = class {
|
|
|
131
131
|
* Always the last one in the class.
|
|
132
132
|
*/
|
|
133
133
|
render() {
|
|
134
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.Host, { key: '417d739470c7fe9b87ddc61a9f660113df598c22' }, index.h("nav", { key: '139ebc35685702253a213c7105407af7a141a62c', class: {
|
|
135
135
|
"duet-submenu-bar": true,
|
|
136
136
|
"duet-theme-turva": this.theme === "turva",
|
|
137
137
|
hidden: this.hidden,
|
|
138
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: '
|
|
138
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: '501638b4c30ab12368c39a05f74bb1c3b1317362', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
139
139
|
active: this.open,
|
|
140
|
-
}, onClick: this.onClick }, index.h("span", { key: '
|
|
140
|
+
}, onClick: this.onClick }, index.h("span", { key: '403ee71ef7c4a79e36018e751e8beb7dc48049c9', class: "label" }, index.h("slot", { key: 'd3c17dd11de845bb119d8f753fd358bd2c65a6d9', name: "label" }), index.h("duet-icon", { key: '81b28c9228a242a36202f53c9ed9fd8a8b609221', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: 'ba2b698fcce4246cbd779e87dfac3a6be181d926', class: {
|
|
141
141
|
"menu-container": true,
|
|
142
142
|
hidden: !this.open,
|
|
143
|
-
}, role: "presentation" }, index.h("div", { key: '
|
|
143
|
+
}, role: "presentation" }, index.h("div", { key: 'e76659541e9d8c28c9dad388f363d794e6d352e1', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
144
144
|
items: true,
|
|
145
145
|
hidden: !this.open,
|
|
146
|
-
}, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '
|
|
146
|
+
}, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '51f96f2351bc5d0e236ce4b36f71aaa5054e5f15', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: 'e82358ec5faa3172b05111c5cb8b4a92af93408b' }), index.h("div", { key: '1dc90575c0ca00419a1a6dabc94d997a658b4d04', class: "list-padding" }))), index.h("duet-overlay", { key: '6a46e855d0da8c13ca1bff8f69016dfab10afa5d', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
147
147
|
}
|
|
148
148
|
get element() { return index.getElement(this); }
|
|
149
149
|
static get watchers() { return {
|