@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
|
@@ -6,7 +6,7 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
-
import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
|
|
9
|
+
import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
10
10
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
11
11
|
/**
|
|
12
12
|
* @part duet-hero - piercing selector for styling the hero container
|
|
@@ -32,6 +32,32 @@ export class DuetHero {
|
|
|
32
32
|
}
|
|
33
33
|
this.emitChange(ev, data);
|
|
34
34
|
};
|
|
35
|
+
this.getPreHeadingText = () => {
|
|
36
|
+
if (this.preHeading) {
|
|
37
|
+
return this.preHeading;
|
|
38
|
+
}
|
|
39
|
+
if (this.hasPreHeadingSlot) {
|
|
40
|
+
const slotContents = getElementsFromNamedSlot(this.element, "pre-heading");
|
|
41
|
+
return slotContents.map(s => s.textContent).join(" ");
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
this.getHeadingText = () => {
|
|
45
|
+
if (this.heading) {
|
|
46
|
+
return this.heading;
|
|
47
|
+
}
|
|
48
|
+
if (this.hasHeadingSlot) {
|
|
49
|
+
const slotContents = getElementsFromNamedSlot(this.element, "heading");
|
|
50
|
+
return slotContents.map(s => s.textContent).join(" ");
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
this.getAccessibleHeading = () => {
|
|
54
|
+
const preHeadingText = this.getPreHeadingText();
|
|
55
|
+
if (!preHeadingText) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const headingText = this.getHeadingText();
|
|
59
|
+
return `${preHeadingText} ${headingText}`;
|
|
60
|
+
};
|
|
35
61
|
this.processedListItems = null;
|
|
36
62
|
this.processedActions = null;
|
|
37
63
|
this.processedBack = null;
|
|
@@ -158,7 +184,7 @@ export class DuetHero {
|
|
|
158
184
|
outlineColor = "color-primary-turva";
|
|
159
185
|
}
|
|
160
186
|
}
|
|
161
|
-
return (h("div", { key: '
|
|
187
|
+
return (h("div", { key: '79a4748e197cb13d12426d31a773e80de0bf24d3', role: "region", class: {
|
|
162
188
|
"duet-hero": true,
|
|
163
189
|
"duet-theme-turva": this.theme === "turva",
|
|
164
190
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -176,17 +202,17 @@ export class DuetHero {
|
|
|
176
202
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
177
203
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
178
204
|
"duet-hero-narrow": this.layout === "narrow",
|
|
179
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
180
|
-
this.processedBack && (h("div", { key: '
|
|
205
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: 'd682d61c3df9ff5aa0de0d60f5360043c7758e8e', class: "background-area" }, h("div", { key: '24559b721dd84d83bfdf5c28de75fc4aa7f714b5', class: "background-container" }, h("div", { key: 'db0304babcbd6bc96f521ddc8cd2529664c319da', class: "background" }, h("img", { key: 'faaa1cca613a95730b7883037fe12284b911a613', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '57e0fc31ca863b81d650251fde4c07fda3a56c7f', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '488536b4435de480f283ba93edfdc067f354e930', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '58c20ab7c59e1014941bdc4b0e7fdbe581440306', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '40a410f02f66b9e818e9ed9561b2830c896fc1c2', class: { background: true, [this.layout]: true } }, h("div", { key: 'ce895485f02d4ea98e6cc1457c29e1f3a7784717', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '281423e9d6531f3fd4ebf10ae5ebfcda24951dda', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '96fc11cb2ccc74f5be49046aa5b389efaf64364c', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '90f437b9b18699f75d3b34b99be94c2a4cf88f31', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '6488e9a8d054c1d5214656b8caa8f4e20e1750a0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: '6fa35a25e4c381e482bbbae4a3df1f06047af480', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'bdfaedea4be098fadd96d9d929f1fae9457a7926', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: 'be9171d3c2e7f1c23b4f7988b22a26fed5b1e8bf', class: "background-area" }, h("div", { key: '1235593c97fef5902b99463f035015aa23002b1a', class: "background" }, h("div", { key: '65a0b19616ca3b8fce3a15a59fc945eec54c47c8', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '1003348d17c085d5072314825e7c6fb8a2cc7225', class: "brand-shape" }), h("div", { key: '498d05da95f5fdd02bf997a337895dab086759b2', class: "brand-shaped-image" }, h("div", { key: '8d3045b9cd0ca613308ebff65fe0e2f6b4c855d4', class: "brand-shaped-image-wrapper" }, h("div", { key: '0badd67dee13a83376cf406d20dc01e145cb8845', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '30393a3de1c35d957fcfef401369b7b5c4e68c6c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'f52aad5ae7e746f762976a6e247acbe59bee3ed0', class: "duet-hero-image-mask" }, h("div", { key: '26414776eeb6190638bf7af2a34cfa44ee7064e8', class: "duet-hero-image-wrapper" }, h("div", { key: '6678fd20703ac787ba671cb52b5564518fc14c01', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
206
|
+
this.processedBack && (h("div", { key: '40d3d30290fde0ba4a40aaab524d91d9c135c400', class: "duet-hero-back" }, h("duet-button", { key: '06a523d3c85d28dd4b404ffeda16740bd63fc850', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
181
207
|
label: this.processedBack.label,
|
|
182
208
|
href: this.processedBack.href,
|
|
183
209
|
id: this.processedBack.id,
|
|
184
210
|
analyticsId: this.processedBack.analyticsId,
|
|
185
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
211
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '4172031b2169f76ae476b5474766f7d50ff2df91', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: 'c83165c63592cac3465c2b44bf163395afcacebb', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '064ff94f9208d86002b8448b496fda560ffe2b0b', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: '60e82a0abcc9631399989fced2784d10cd6e834e', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '10caa898e02b7c90ed7e7eea6cda347825b0c843', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '0195c8e2fcb05b10b455d646765ba1cb4f003a60', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '43fb22936307753456d1ae53f65b48876848420f', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '898c23976b72cffc561de2c7c9322e03bdc1dadd', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '1baa7faff302bc7fa568c1cd333404e07aaf29d1', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '2b4b7ae5046305afaf5495dd522a68d373577959', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '1b54ac8a84af82798438d73c7c1caf15bd5ae84d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: 'd3e6edd597ea5b83953430a92577762b560e6507', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
186
212
|
this.variation !== "image" &&
|
|
187
213
|
!campaignOrSection &&
|
|
188
214
|
this.variation !== "product" &&
|
|
189
|
-
this.variation !== "content" && h("div", { key: '
|
|
215
|
+
this.variation !== "content" && h("div", { key: '0eaf81bc088fc984d9ee19de53cf09c6f46c5e83', class: "duet-hero-image", style: styles }), h("slot", { key: '884f6b4b0d44224a29b7ba5906e1a303052f532c', name: "bottom" }))));
|
|
190
216
|
}
|
|
191
217
|
static get is() { return "duet-hero"; }
|
|
192
218
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,14 +127,41 @@ duet-caption:not(:last-of-type) {
|
|
|
127
127
|
opacity: 0.75;
|
|
128
128
|
transition: none;
|
|
129
129
|
}
|
|
130
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button {
|
|
131
|
+
top: -12px;
|
|
132
|
+
}
|
|
133
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button {
|
|
134
|
+
top: -16px;
|
|
135
|
+
}
|
|
136
|
+
.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button {
|
|
137
|
+
top: -20px;
|
|
138
|
+
}
|
|
130
139
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button {
|
|
131
140
|
top: -48px;
|
|
132
141
|
right: 0;
|
|
133
142
|
}
|
|
143
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button {
|
|
144
|
+
top: -36px;
|
|
145
|
+
}
|
|
146
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button {
|
|
147
|
+
top: -40px;
|
|
148
|
+
}
|
|
149
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button {
|
|
150
|
+
top: -44px;
|
|
151
|
+
}
|
|
134
152
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button {
|
|
135
153
|
top: -24px;
|
|
136
154
|
right: 12px;
|
|
137
155
|
}
|
|
156
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button {
|
|
157
|
+
top: -12px;
|
|
158
|
+
}
|
|
159
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button {
|
|
160
|
+
top: -16px;
|
|
161
|
+
}
|
|
162
|
+
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button {
|
|
163
|
+
top: -20px;
|
|
164
|
+
}
|
|
138
165
|
.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button {
|
|
139
166
|
top: -24px;
|
|
140
167
|
right: 0;
|
|
@@ -464,6 +464,7 @@ export class DuetInput {
|
|
|
464
464
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
465
465
|
"duet-input-clear-icon-double": !!this.icon,
|
|
466
466
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
467
|
+
[`input-padding-${this.inputPadding}`]: true,
|
|
467
468
|
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
468
469
|
? this.hidePasswordLabel[this.language]
|
|
469
470
|
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed
|
|
@@ -145,7 +145,8 @@ export class DuetPhoneInput {
|
|
|
145
145
|
return (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, "");
|
|
146
146
|
}
|
|
147
147
|
set value(val) {
|
|
148
|
-
this.
|
|
148
|
+
this.duetInputElement.value = val;
|
|
149
|
+
this.handleInput();
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
152
|
* This is a proxy for the enclosed native inputs validity
|
|
@@ -236,7 +237,7 @@ export class DuetPhoneInput {
|
|
|
236
237
|
"duet-theme-turva": this.theme === "turva",
|
|
237
238
|
"duet-expand": this.expand,
|
|
238
239
|
"duet-m-0": this.margin === "none",
|
|
239
|
-
} }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-
|
|
240
|
+
} }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-divider", null))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, error: this.error, name: this.name, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
|
|
240
241
|
}
|
|
241
242
|
static get is() { return "duet-phone-input"; }
|
|
242
243
|
static get encapsulation() { return "shadow"; }
|
|
@@ -302,12 +302,37 @@ export class DuetPopupMenu {
|
|
|
302
302
|
get itemElements() {
|
|
303
303
|
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
304
304
|
}
|
|
305
|
+
getAllPrecedingMatchingSiblings(el, selector) {
|
|
306
|
+
const prev = el.previousElementSibling;
|
|
307
|
+
if (prev) {
|
|
308
|
+
const matches = this.getAllPrecedingMatchingSiblings(prev, selector);
|
|
309
|
+
if (prev === null || prev === void 0 ? void 0 : prev.matches(selector)) {
|
|
310
|
+
matches.push(prev);
|
|
311
|
+
}
|
|
312
|
+
return matches;
|
|
313
|
+
}
|
|
314
|
+
return [];
|
|
315
|
+
}
|
|
305
316
|
get popupMenuStyleHeight() {
|
|
317
|
+
var _a;
|
|
306
318
|
const selector = ":scope duet-popup-menu-item, :scope duet-notification";
|
|
307
319
|
const elements = Array.from(this.element.querySelectorAll(selector));
|
|
308
|
-
if
|
|
320
|
+
// if we have filter, elements may be hidden
|
|
321
|
+
const visibleElements = elements.filter(el => el.style.display !== "none");
|
|
322
|
+
if (visibleElements.length > 0 && this.scrollLimit) {
|
|
323
|
+
// of the visible elements, we want to show at moist scrollLimit items
|
|
324
|
+
const itemsToShow = visibleElements.slice(0, this.scrollLimit - 1);
|
|
325
|
+
// use the actual heights of the items to show
|
|
326
|
+
const itemsToShowHeight = itemsToShow.reduce((acc, cur) => acc + cur.offsetHeight, 0);
|
|
327
|
+
// include possible filter input
|
|
328
|
+
const filterHeight = ((_a = this.filterInput) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
329
|
+
// include all dividers that preced the last item to show
|
|
330
|
+
// as their height with margins can not be easily captured, use magic number 17, 1px height + 2 * 8px margin
|
|
331
|
+
const lastItemToShow = itemsToShow[itemsToShow.length - 1];
|
|
332
|
+
const dividerHeight = this.getAllPrecedingMatchingSiblings(lastItemToShow, "duet-divider").length * 17;
|
|
333
|
+
// popup-menu has spaceXSmall top and bottom paddings
|
|
309
334
|
const paddings = Number(spaceXSmall.replace("px", "")) * 2;
|
|
310
|
-
return `${
|
|
335
|
+
return `${itemsToShowHeight + filterHeight + dividerHeight + paddings}px`;
|
|
311
336
|
}
|
|
312
337
|
else {
|
|
313
338
|
return "auto";
|
|
@@ -330,17 +355,17 @@ export class DuetPopupMenu {
|
|
|
330
355
|
overflowY: "auto",
|
|
331
356
|
height: this.popupMenuStyleHeight,
|
|
332
357
|
};
|
|
333
|
-
return (h(Host, { key: '
|
|
358
|
+
return (h(Host, { key: 'b122068ff5f05a161926a7eeec8418fd258dc753' }, h("div", { key: '3ee437f9fce94ed063c132bb045aedf2714a4ccf', ref: element => {
|
|
334
359
|
this.menuElement = element;
|
|
335
360
|
}, style: styles, class: {
|
|
336
361
|
open: this.open,
|
|
337
362
|
"duet-popup-menu-list": true,
|
|
338
363
|
"duet-theme-turva": this.theme === "turva",
|
|
339
364
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
340
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: '
|
|
365
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (h("div", { key: '73faa0c97cebf6cb99abae830cabcc06525b4b57' }, h("duet-input", { key: 'fa2d88575830d3dae9beb503dc7016e419a7cef0', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), h("duet-visually-hidden", { key: '56c6e3412f75452b9da5bc8888405ce19289d7d1' }, h("span", { key: 'ad2a9bb358c92fb580f225a347f45f4bd2147e14', role: "status" }, `
|
|
341
366
|
${this.filterResultCount}/${this.itemElements.length}
|
|
342
367
|
${this.filterResultCountLabel[this.language]}
|
|
343
|
-
`)), h("duet-spacer", { key: '
|
|
368
|
+
`)), h("duet-spacer", { key: 'dfd8ee96c3234e6c1cfd6389fdbf30996dab3d0d', size: "xx-small" }))), h("slot", { key: 'adc7655a36b4009b4dc5cfcb9d83b73a2e0beb9e' }))));
|
|
344
369
|
}
|
|
345
370
|
static get is() { return "duet-popup-menu"; }
|
|
346
371
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.duet-share-chart-horizontal-bar {
|
|
26
|
+
height: 16px;
|
|
27
|
+
margin-bottom: 20px;
|
|
28
|
+
border-radius: 4px;
|
|
29
|
+
}
|
|
30
|
+
.duet-share-chart-horizontal-bar .duet-share-chart-share {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
display: inline-block;
|
|
33
|
+
height: 16px;
|
|
34
|
+
border-color: rgb(255, 255, 255);
|
|
35
|
+
border-style: solid;
|
|
36
|
+
border-width: 0 1px;
|
|
37
|
+
}
|
|
38
|
+
.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child {
|
|
39
|
+
border-left-width: 0;
|
|
40
|
+
border-radius: 4px 0 0 4px;
|
|
41
|
+
}
|
|
42
|
+
.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child {
|
|
43
|
+
border-right-width: 0;
|
|
44
|
+
border-radius: 0 4px 4px 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.duet-share-chart-item-list {
|
|
48
|
+
padding: 0 4px;
|
|
49
|
+
margin: 0;
|
|
50
|
+
list-style: none;
|
|
51
|
+
}
|
|
52
|
+
.duet-share-chart-item-list li {
|
|
53
|
+
display: flex;
|
|
54
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
55
|
+
font-size: 1rem;
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
font-variant-numeric: tabular-nums;
|
|
59
|
+
color: rgb(8, 42, 77);
|
|
60
|
+
}
|
|
61
|
+
.duet-share-chart-item-list li.duet-theme-turva {
|
|
62
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
63
|
+
color: rgb(23, 28, 58);
|
|
64
|
+
}
|
|
65
|
+
.duet-share-chart-item-list span {
|
|
66
|
+
display: inline-block;
|
|
67
|
+
}
|
|
68
|
+
.duet-share-chart-item-list .duet-share-chart-item-color {
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
width: 12px;
|
|
71
|
+
height: 12px;
|
|
72
|
+
margin-top: calc((1.5rem - 12px) / 2);
|
|
73
|
+
margin-right: 12px;
|
|
74
|
+
border-radius: 4px;
|
|
75
|
+
}
|
|
76
|
+
.duet-share-chart-item-list .duet-share-chart-item-value {
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { Build, h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { getElementsFromDefaultSlot } from "../../utils/slot-utils";
|
|
7
|
+
import { getColorByName } from "../../utils/token-utils";
|
|
8
|
+
export class DuetShareChart {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.defaultColors = [
|
|
11
|
+
"lt-blue-800",
|
|
12
|
+
"lt-blue-600",
|
|
13
|
+
"success-600",
|
|
14
|
+
"success-800",
|
|
15
|
+
"warning-600",
|
|
16
|
+
"danger-600",
|
|
17
|
+
"danger-800",
|
|
18
|
+
];
|
|
19
|
+
/**
|
|
20
|
+
* Local methods
|
|
21
|
+
*/
|
|
22
|
+
this.colorPickCount = 0;
|
|
23
|
+
this.items = undefined;
|
|
24
|
+
this.theme = "";
|
|
25
|
+
this.unit = "%";
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Component lifecycle events.
|
|
29
|
+
*/
|
|
30
|
+
componentWillLoad() {
|
|
31
|
+
inheritGlobalTheme(this);
|
|
32
|
+
}
|
|
33
|
+
connectedCallback() {
|
|
34
|
+
if (!Build.isServer) {
|
|
35
|
+
this.childObserver = new MutationObserver(this.updateChartItems.bind(this));
|
|
36
|
+
this.childObserver.observe(this.element, { childList: true });
|
|
37
|
+
}
|
|
38
|
+
this.updateChartItems();
|
|
39
|
+
}
|
|
40
|
+
disconnectedCallback() {
|
|
41
|
+
if (this.childObserver) {
|
|
42
|
+
this.childObserver.disconnect();
|
|
43
|
+
this.childObserver = undefined;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
pickColor() {
|
|
47
|
+
const color = this.defaultColors[this.colorPickCount];
|
|
48
|
+
this.colorPickCount += 1;
|
|
49
|
+
if (this.colorPickCount > this.defaultColors.length - 1) {
|
|
50
|
+
this.colorPickCount = 0;
|
|
51
|
+
}
|
|
52
|
+
return color;
|
|
53
|
+
}
|
|
54
|
+
updateChartItems() {
|
|
55
|
+
const children = getElementsFromDefaultSlot(this.element).filter(el => el.tagName.toLocaleLowerCase() === "duet-share-chart-item");
|
|
56
|
+
this.items = children.map(child => ({
|
|
57
|
+
text: child.innerText,
|
|
58
|
+
value: child.value,
|
|
59
|
+
color: child.color || this.pickColor(),
|
|
60
|
+
}));
|
|
61
|
+
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
62
|
+
}
|
|
63
|
+
render() {
|
|
64
|
+
return (h(Host, { key: '230ed44d6302403fc483392a556cdd6a994ece90' }, h("div", { key: '491a97e31835484f390449c35cd21720e06b6a7a', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (h("span", { class: "duet-share-chart-share", style: {
|
|
65
|
+
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
66
|
+
backgroundColor: getColorByName(item.color, this.theme),
|
|
67
|
+
} })))), h("ul", { key: '943e85740a3ece5878daa1138dfca90ee5798ab2', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", item.value, "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${(item.value / this.itemsTotalValue) * 100}%`)))))), h("slot", { key: '5c102cbf81beeb8b1c9f2a66508bd34d7547a2b5' })));
|
|
68
|
+
}
|
|
69
|
+
static get is() { return "duet-share-chart"; }
|
|
70
|
+
static get encapsulation() { return "shadow"; }
|
|
71
|
+
static get originalStyleUrls() {
|
|
72
|
+
return {
|
|
73
|
+
"$": ["duet-share-chart.scss"]
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static get styleUrls() {
|
|
77
|
+
return {
|
|
78
|
+
"$": ["duet-share-chart.css"]
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static get properties() {
|
|
82
|
+
return {
|
|
83
|
+
"theme": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"mutable": true,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "DuetTheme",
|
|
88
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
89
|
+
"references": {
|
|
90
|
+
"DuetTheme": {
|
|
91
|
+
"location": "import",
|
|
92
|
+
"path": "../../common-types",
|
|
93
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "Theme of the component."
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
105
|
+
"attribute": "theme",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "\"\""
|
|
108
|
+
},
|
|
109
|
+
"unit": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "The string to show after each items value. When using \"%\" the enclosed items' values should add up to 100."
|
|
122
|
+
},
|
|
123
|
+
"getter": false,
|
|
124
|
+
"setter": false,
|
|
125
|
+
"attribute": "unit",
|
|
126
|
+
"reflect": false,
|
|
127
|
+
"defaultValue": "\"%\""
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static get states() {
|
|
132
|
+
return {
|
|
133
|
+
"items": {}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static get elementRef() { return "element"; }
|
|
137
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
export class DuetShareChartItem {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.value = 0;
|
|
8
|
+
this.color = undefined;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, { key: '1db343b4bc9ac0287de482ea0d609049a4645d8d' }, h("div", { key: 'e75250d63d27f9501799767cb42283f664f860ea', hidden: true }, h("slot", { key: 'd480ba557649e858697129546874bae17e47135d' }))));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "duet-share-chart-item"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get properties() {
|
|
16
|
+
return {
|
|
17
|
+
"value": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"mutable": false,
|
|
20
|
+
"complexType": {
|
|
21
|
+
"original": "number",
|
|
22
|
+
"resolved": "number",
|
|
23
|
+
"references": {}
|
|
24
|
+
},
|
|
25
|
+
"required": false,
|
|
26
|
+
"optional": false,
|
|
27
|
+
"docs": {
|
|
28
|
+
"tags": [],
|
|
29
|
+
"text": "The value of the item."
|
|
30
|
+
},
|
|
31
|
+
"getter": false,
|
|
32
|
+
"setter": false,
|
|
33
|
+
"attribute": "value",
|
|
34
|
+
"reflect": false,
|
|
35
|
+
"defaultValue": "0"
|
|
36
|
+
},
|
|
37
|
+
"color": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"mutable": false,
|
|
40
|
+
"complexType": {
|
|
41
|
+
"original": "DuetColor",
|
|
42
|
+
"resolved": "string",
|
|
43
|
+
"references": {
|
|
44
|
+
"DuetColor": {
|
|
45
|
+
"location": "import",
|
|
46
|
+
"path": "../../common-types",
|
|
47
|
+
"id": "src/common-types.d.ts::DuetColor"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": "The color to use in the graph given as a Duet color token. If left out, the Share chart picks a color from a default set."
|
|
56
|
+
},
|
|
57
|
+
"getter": false,
|
|
58
|
+
"setter": false,
|
|
59
|
+
"attribute": "color",
|
|
60
|
+
"reflect": false
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
static get elementRef() { return "element"; }
|
|
65
|
+
}
|
|
@@ -96,7 +96,7 @@ export class DuetShowMore {
|
|
|
96
96
|
"duet-theme-turva": this.theme === "turva",
|
|
97
97
|
"duet-m-0": this.margin === "none",
|
|
98
98
|
open: this.open,
|
|
99
|
-
} }, h("div", { key: '
|
|
99
|
+
} }, h("div", { key: 'bc1f2d3525d4e5ce6b10770013aa6696822a71aa', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'b250102aac08de1604938717797afcfc7f28f624', class: { "slotted-content": true } }, h("slot", { key: '95f39f8e5abf0a79bf9f40cf34281013991cdd8b' }))), 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" }, h("span", { key: '33157363432909baaa57cb03d67c71c0de61b073' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "duet-show-more"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
|
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
37
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '848aaedd9e1c8ed6d539b69daef3a831af55b178' }, h("div", { key: '69695781b71a228e58973bd2673c7765582b6fcb', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '2305f5314bf1fb5c270d2a8eeb55f75382d2591a', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: '2d7a718ac92ce21dd138e7fb71e27a02ac5ca1ae' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-slideout-lang"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,12 +42,12 @@ export class DuetSlideoutLink {
|
|
|
42
42
|
* Always the last one in the class.
|
|
43
43
|
*/
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '9c7e694f19f234e14ac86c900c0f7ae6f765f7ab' }, h("a", { key: 'ff3e3a23d2d1b3f56b0b994e7eeccb6f71b4c5be', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
46
46
|
"duet-slideout-link": true,
|
|
47
47
|
"duet-theme-turva": this.theme === "turva",
|
|
48
48
|
active: this.active,
|
|
49
49
|
[this.size]: true,
|
|
50
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '
|
|
50
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: 'f7528118eb9ac1331797c4e375e5373511ed2b5a', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: '7ade705aba28a34b24d53a09ec067823b94c03d6', class: "label" }, h("span", { key: '84085ddeaa526502419641aefd0cd30106b89fe0' }, h("span", { key: '792db99a27189102d713db6351e724547297670f', class: "label-container" }, h("span", { key: '1416b4f044e1320c2f71a2db1b3839e21d482979', class: "label-content" }, h("slot", { key: '7f66789e0c27b6c09309f446179cdc8e5a6dfa6d' })), this.external && (h("duet-icon", { key: 'b1e870744e89431b43907f9ca6030a075af36be7', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '3dcd61fca8f725f97ea83d397d676ede325fb624', name: "description" })), this.caret && (h("duet-icon", { key: '4bcd014bb5cd4c1d1af3d42d113407b26bcad004', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-slideout-link"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|