@duetds/components 10.1.1 → 10.2.1
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 +325 -255
- package/hydrate/index.mjs +325 -255
- package/lib/cjs/{a11y-utils-B_EYQg_6.js → a11y-utils-DIgK57bg.js} +1 -1
- package/lib/cjs/{app-globals-BFWJwMVq.js → app-globals-CQh0dxkp.js} +1 -1
- package/lib/cjs/{common-strings-CC6Xpjb8.js → common-strings-DMaSb4Ld.js} +8 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +5 -5
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +20 -14
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +19 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +30 -9
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +9 -9
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +10 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +9 -9
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +10 -10
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- 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 +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
- 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 +7 -7
- 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 +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +24 -7
- 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 +9 -9
- 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 +9 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- 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 +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-BiQq7F-O.js → errorcodes.utils-DflKGDer.js} +1 -1
- package/lib/cjs/{focus-utils-8IrILmeG.js → focus-utils-CsX9QzWh.js} +1 -1
- package/lib/cjs/{index-CwMzFaC2.js → index-CHPE0RRI.js} +1 -1
- package/lib/cjs/{label-Bw-qhJBs.js → label-Bk7Tl0vN.js} +1 -1
- package/lib/cjs/{language-utils-BLi7aaEv.js → language-utils-D7JgugVP.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-l9-tZvM8.js → slot-utils-Cz6-0IYe.js} +1 -1
- package/lib/cjs/{themeable-component-DlxAauty.js → themeable-component-DYp2VYiJ.js} +1 -1
- package/lib/collection/common-strings.js +7 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +12 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +24 -2
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +28 -6
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +3 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.js +1 -1
- package/lib/collection/components/duet-input/duet-input.css +7 -7
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +43 -8
- package/lib/collection/components/duet-link/duet-link.js +11 -5
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.css +13 -7
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.css +10 -4
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- 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-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/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-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +22 -9
- package/lib/collection/components/duet-toggle/duet-toggle.js +83 -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 +3 -3
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.esm.js.map +1 -0
- package/lib/duet/index.esm.js.map +1 -0
- package/lib/duet/{p-8ef9d397.entry.js → p-026b5d97.entry.js} +1 -1
- package/lib/duet/{p-8fb7d2ad.entry.js → p-0278421d.entry.js} +1 -1
- package/lib/duet/{p-be967aa3.entry.js → p-0ac52236.entry.js} +1 -1
- package/lib/duet/{p-35ab9df3.entry.js → p-0c0485ca.entry.js} +1 -1
- package/lib/duet/{p-b4405bb2.entry.js → p-0c4d3ef8.entry.js} +1 -1
- package/lib/duet/{p-23c8a3cf.entry.js → p-10593797.entry.js} +1 -1
- package/lib/duet/{p-5e312efa.entry.js → p-13423abb.entry.js} +1 -1
- package/lib/duet/{p-1a92ea28.entry.js → p-1674f94c.entry.js} +1 -1
- package/lib/duet/{p-6b6a8585.entry.js → p-16ef5016.entry.js} +1 -1
- package/lib/duet/{p-8ef3fe6f.entry.js → p-19f51a31.entry.js} +1 -1
- package/lib/duet/{p-d851fb45.entry.js → p-1a0890fa.entry.js} +1 -1
- package/lib/duet/{p-2459de04.entry.js → p-1b45ccdc.entry.js} +1 -1
- package/lib/duet/p-1b9bfe32.entry.js +4 -0
- package/lib/duet/{p-5ee97e54.entry.js → p-1dbbd855.entry.js} +1 -1
- package/lib/duet/{p-24e49455.entry.js → p-1dcde973.entry.js} +1 -1
- package/lib/duet/{p-a1bddbe0.entry.js → p-1f44c859.entry.js} +1 -1
- package/lib/duet/{p-c08a6b40.entry.js → p-1f6ea6df.entry.js} +1 -1
- package/lib/duet/{p-cd9c1ddc.entry.js → p-203ef386.entry.js} +1 -1
- package/lib/duet/{p-a94c2063.entry.js → p-22d59683.entry.js} +1 -1
- package/lib/duet/{p-8e105140.entry.js → p-24106c45.entry.js} +1 -1
- package/lib/duet/{p-af604e20.entry.js → p-2a8b5bfa.entry.js} +1 -1
- package/lib/duet/p-2d578570.entry.js +4 -0
- package/lib/duet/{p-0f15317c.entry.js → p-2e9897c7.entry.js} +1 -1
- package/lib/duet/{p-3caabda3.entry.js → p-31d16e95.entry.js} +1 -1
- package/lib/duet/{p-414306dc.entry.js → p-323fa45a.entry.js} +1 -1
- package/lib/duet/p-3434fb72.entry.js +4 -0
- package/lib/duet/{p-7cad4a7d.entry.js → p-35ea3b5a.entry.js} +1 -1
- package/lib/duet/{p-e08191e2.entry.js → p-3a42f2e8.entry.js} +1 -1
- package/lib/duet/{p-fcb7ab98.entry.js → p-48767e14.entry.js} +1 -1
- package/lib/duet/{p-47d33b6b.entry.js → p-519a52bc.entry.js} +1 -1
- package/lib/duet/{p-e0c9c534.entry.js → p-52980dc6.entry.js} +1 -1
- package/lib/duet/{p-20bfba9e.entry.js → p-55973c08.entry.js} +1 -1
- package/lib/duet/{p-e06f599b.entry.js → p-56bfa7b4.entry.js} +1 -1
- package/lib/duet/p-5be4e1b3.entry.js +4 -0
- package/lib/duet/{p-ab65780a.entry.js → p-5ded9cdd.entry.js} +1 -1
- package/lib/duet/{p-68bb7d28.entry.js → p-5f93c14a.entry.js} +1 -1
- package/lib/duet/{p-69c2989d.entry.js → p-6872f751.entry.js} +1 -1
- package/lib/duet/{p-1bf0b984.entry.js → p-6a223004.entry.js} +1 -1
- package/lib/duet/{p-a886ee0b.entry.js → p-6b20c695.entry.js} +1 -1
- package/lib/duet/{p-1bf130a0.entry.js → p-6c4ad8dd.entry.js} +1 -1
- package/lib/duet/{p-96334633.entry.js → p-71a993e9.entry.js} +1 -1
- package/lib/duet/p-77bd81a7.entry.js +4 -0
- package/lib/duet/{p-46fdb6a9.entry.js → p-78e28708.entry.js} +1 -1
- package/lib/duet/{p-f9c54d66.entry.js → p-7c27d54d.entry.js} +1 -1
- package/lib/duet/{p-999ff774.entry.js → p-7c5559aa.entry.js} +1 -1
- package/lib/duet/{p-f0c6161a.entry.js → p-7c71acff.entry.js} +1 -1
- package/lib/duet/p-8246aca5.entry.js +4 -0
- package/lib/duet/p-82bed3e4.entry.js +4 -0
- package/lib/duet/{p-5214be20.entry.js → p-83873c17.entry.js} +1 -1
- package/lib/duet/{p-fb4af30f.entry.js → p-879d2e6a.entry.js} +1 -1
- package/lib/duet/p-8RjiAqaE.js +4 -0
- package/lib/duet/{p-07b33d9a.entry.js → p-8d568b05.entry.js} +1 -1
- package/lib/duet/{p-64003bfb.entry.js → p-8f022fe4.entry.js} +1 -1
- package/lib/duet/{p-24c89cbd.entry.js → p-8f39b76a.entry.js} +1 -1
- package/lib/duet/{p-4b150620.entry.js → p-953910c3.entry.js} +1 -1
- package/lib/duet/{p-14c52ecc.entry.js → p-9705bdf2.entry.js} +1 -1
- package/lib/duet/p-9UeJiEXx.js.map +1 -0
- package/lib/duet/{p-4c8ff6a9.entry.js → p-9ad3562b.entry.js} +1 -1
- package/lib/duet/{p-c96cf3d3.entry.js → p-9dfb1602.entry.js} +1 -1
- package/lib/duet/p-BBhgW58t.js.map +1 -0
- package/lib/duet/{p-CPZ9Rh_9.js → p-BEyqDEKQ.js} +1 -1
- package/lib/duet/p-BK12s3nI.js.map +1 -0
- package/lib/duet/{p-Cz75kJ4Z.js → p-BOvQtVMD.js} +1 -1
- package/lib/duet/p-BW6JNddK.js.map +1 -0
- package/lib/duet/p-BcPp3KKD.js.map +1 -0
- package/lib/duet/p-Bd_IFUlc.js.map +1 -0
- package/lib/duet/p-BfhNMsMk.js.map +1 -0
- package/lib/duet/p-C4eu9Z7w.js.map +1 -0
- package/lib/duet/p-CGf6zkuF.js.map +1 -0
- package/lib/duet/p-CIGqx4Cc.js.map +1 -0
- package/lib/duet/p-CLDy7YaM.js.map +1 -0
- package/lib/duet/p-CV1dC6Oy.js.map +1 -0
- package/lib/duet/p-CaF2pz74.js.map +1 -0
- package/lib/duet/p-Cfr_DJqU.js.map +1 -0
- package/lib/duet/p-CgIXOlgn.js.map +1 -0
- package/lib/duet/p-CooAqTCj.js.map +1 -0
- package/lib/duet/{p-D2reh8UV.js → p-CsGZzH1g.js} +1 -1
- package/lib/duet/p-D0ZPQviq.js.map +1 -0
- package/lib/duet/p-D2eXyGqW.js.map +1 -0
- package/lib/duet/p-DAU-6bv0.js.map +1 -0
- package/lib/duet/{p-0d9FRr_b.js → p-DBab1eZF.js} +1 -1
- package/lib/duet/p-DE6tkjJW.js.map +1 -0
- package/lib/duet/{p-D7O8dU_Q.js → p-DRpZDk0L.js} +1 -1
- package/lib/duet/p-DWe9P8ry.js.map +1 -0
- package/lib/duet/p-DYO3k3VG.js.map +1 -0
- package/lib/duet/p-DajeMr0n.js.map +1 -0
- package/lib/duet/p-DbVclHyj.js +4 -0
- package/lib/duet/p-DifBJmpD.js.map +1 -0
- package/lib/duet/p-Dj_oRxdS.js +4 -0
- package/lib/duet/p-DxESMgwA.js.map +1 -0
- package/lib/duet/p-EQ8o9Cpg.js.map +1 -0
- package/lib/duet/{p-ae11d834.entry.js → p-a318f737.entry.js} +1 -1
- package/lib/duet/{p-0be1cbcc.entry.js → p-a4088637.entry.js} +1 -1
- package/lib/duet/{p-3937103e.entry.js → p-a64c60c9.entry.js} +1 -1
- package/lib/duet/{p-9c176eae.entry.js → p-a711aace.entry.js} +1 -1
- package/lib/duet/{p-46594b20.entry.js → p-a833d24e.entry.js} +1 -1
- package/lib/duet/p-aa73d232.entry.js +4 -0
- package/lib/duet/{p-e29699ea.entry.js → p-ab3f7d47.entry.js} +1 -1
- package/lib/duet/{p-87fdb2d1.entry.js → p-ae149a1c.entry.js} +1 -1
- package/lib/duet/p-af08e085.entry.js +4 -0
- package/lib/duet/p-afd58bd7.entry.js +4 -0
- package/lib/duet/{p-bafb269a.entry.js → p-afe51b83.entry.js} +1 -1
- package/lib/duet/{p-6a5089bf.entry.js → p-b051a253.entry.js} +1 -1
- package/lib/duet/{p-ec572857.entry.js → p-b108c836.entry.js} +1 -1
- package/lib/duet/p-b519650f.entry.js +4 -0
- package/lib/duet/p-b6b7126b.entry.js +4 -0
- package/lib/duet/{p-e3116610.entry.js → p-ba84bc30.entry.js} +1 -1
- package/lib/duet/{p-49f9404b.entry.js → p-be63e6cf.entry.js} +1 -1
- package/lib/duet/{p-c49521b1.entry.js → p-c0617b94.entry.js} +1 -1
- package/lib/duet/p-c5756278.entry.js +4 -0
- package/lib/duet/p-c7b7a009.entry.js +4 -0
- package/lib/duet/p-d49b80d5.entry.js +4 -0
- package/lib/duet/{p-3115c01d.entry.js → p-d6c7db11.entry.js} +1 -1
- package/lib/duet/p-df13a49e.entry.js +4 -0
- package/lib/duet/{p-53a8fc76.entry.js → p-dfd8dd6f.entry.js} +1 -1
- package/lib/duet/{p-6f1841f2.entry.js → p-e639afce.entry.js} +1 -1
- package/lib/duet/{p-c5f27149.entry.js → p-ef9c311e.entry.js} +1 -1
- package/lib/duet/{p-ad94e5b7.entry.js → p-f018de8a.entry.js} +1 -1
- package/lib/duet/{p-e1eff77c.entry.js → p-f592f327.entry.js} +1 -1
- package/lib/duet/{p-65eed68b.entry.js → p-fa0b596e.entry.js} +1 -1
- package/lib/duet/p-lTKl7i2u.js.map +1 -0
- package/lib/duet/{p-Be4oMqD2.js → p-nAcNUKp2.js} +1 -1
- package/lib/duet/p-vGm6JOUa.js.map +1 -0
- package/lib/duet/{p-B01I4GZJ.js → p-yNCV1XSS.js} +1 -1
- package/lib/esm/{a11y-utils-BPzUw6wf.js → a11y-utils-DaSX4sm4.js} +1 -1
- package/lib/esm/{app-globals-SsQsu12e.js → app-globals-Hj3SA8Ai.js} +1 -1
- package/lib/esm/{common-strings-CVPfl9fc.js → common-strings-8RjiAqaE.js} +8 -2
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +5 -5
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +5 -5
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +20 -14
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +19 -5
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +13 -13
- package/lib/esm/duet-collapsible.entry.js +5 -5
- package/lib/esm/duet-combobox.entry.js +30 -9
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +9 -9
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +10 -10
- package/lib/esm/duet-empty-state.entry.js +4 -4
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +9 -9
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +10 -10
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +12 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +8 -8
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +13 -13
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +9 -9
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +11 -11
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +5 -5
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +15 -15
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- 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 +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +7 -7
- 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 +7 -7
- 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 +8 -8
- package/lib/esm/duet-toggle.entry.js +24 -7
- 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 +9 -9
- 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 +9 -9
- package/lib/esm/duet-tooltip.entry.js +4 -4
- 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 +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-BSrGsmkE.js → errorcodes.utils-AyF-6hZu.js} +1 -1
- package/lib/esm/{focus-utils-pVdst0px.js → focus-utils-CCWbE_kr.js} +1 -1
- package/lib/esm/{index-CPZ9Rh_9.js → index-BEyqDEKQ.js} +1 -1
- package/lib/esm/{label-DOI1kYHr.js → label-C58dWzTQ.js} +1 -1
- package/lib/esm/{language-utils-D2LZ-dAb.js → language-utils-BXhYaE0m.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-Plu0scZN.js → slot-utils-BI9kmtvd.js} +1 -1
- package/lib/esm/{themeable-component-CyP7TR8I.js → themeable-component-BAHIh10B.js} +1 -1
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/common-types.d.ts +8 -1
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +6 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-link/duet-link.d.ts +3 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +16 -0
- package/lib/types/components.d.ts +28 -2
- package/package.json +5 -5
- package/lib/duet/p-0557d0e3.entry.js +0 -4
- package/lib/duet/p-0596ed8f.entry.js +0 -4
- package/lib/duet/p-12037a2a.entry.js +0 -4
- package/lib/duet/p-22ecf342.entry.js +0 -4
- package/lib/duet/p-24bd3f6b.entry.js +0 -4
- package/lib/duet/p-38e2f4db.entry.js +0 -4
- package/lib/duet/p-4eb8634c.entry.js +0 -4
- package/lib/duet/p-5c8619fc.entry.js +0 -4
- package/lib/duet/p-760530e9.entry.js +0 -4
- package/lib/duet/p-8b3be0f7.entry.js +0 -4
- package/lib/duet/p-8d0727d6.entry.js +0 -4
- package/lib/duet/p-91ce1d13.entry.js +0 -4
- package/lib/duet/p-BBJluIMx.js +0 -4
- package/lib/duet/p-BiXEBkqx.js +0 -4
- package/lib/duet/p-CVPfl9fc.js +0 -4
- package/lib/duet/p-a79d0152.entry.js +0 -4
- package/lib/duet/p-b90b0d7a.entry.js +0 -4
- package/lib/duet/p-d16bdf01.entry.js +0 -4
- package/lib/duet/p-e51c28bc.entry.js +0 -4
|
@@ -284,7 +284,7 @@ export class DuetHero {
|
|
|
284
284
|
outlineColor = "color-primary-turva";
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
return (h("div", { key: '
|
|
287
|
+
return (h("div", { key: '0516fd4837dba53aae81d2ae0c78b70585422107', role: "region", class: {
|
|
288
288
|
"duet-hero": true,
|
|
289
289
|
"duet-theme-turva": this.theme === "turva",
|
|
290
290
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -302,17 +302,17 @@ export class DuetHero {
|
|
|
302
302
|
"duet-hero-text-center": this.variation !== "product" && ((this.textCenter && !this.leftAlign) || campaignOrSection),
|
|
303
303
|
"duet-hero-left-align": this.variation === "product" || (this.leftAlign && !campaignOrSection),
|
|
304
304
|
"duet-hero-narrow": this.layout === "narrow",
|
|
305
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
306
|
-
this.processedBack && (h("div", { key: '
|
|
305
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: 'c9519b4ff36fdb3ec68d569667065a743d57a360', class: "background-area" }, h("div", { key: 'ddb4386a162fe50a1ec65bfb5920194cd8b8247f', class: "background-container" }, h("div", { key: 'af9a1b99358098c95c9ca8ff11c8b4e8fed691db', class: "background" }, h("img", { key: 'caea4a0bec4b0fab914d327878fd82fc8937528d', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" })), h("div", { key: '570fc51ca220622428a0d0ae0c0956c5f1ee0452', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '954467ff85417b30a4a6fc18c700464df609f586', class: { "background-area": true, [this.layout]: true } }, h("div", { key: 'a709338a6570cf245f37272263b03d7a27128f9e', class: { "background-container": true, [this.layout]: true } }, h("div", { key: 'b93c7f5ac020bd754dba88132aaa9b7ea1ba4003', class: { background: true, [this.layout]: true } }, h("div", { key: '905662fbb3364da7510db2555f03de974562e505', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '262820358ecd29844c65be4a1d7e82549b45cee2', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '3d20072088e4a405b83d2f65268f2d488a5112ac', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: 'e8c63df219322992bb8d722b01dcad205c044f9c', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", Object.assign({ key: '5b265dcc9db7e68c749b2b9c9d0e8fa4064f6b70', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }, bgImgA11yAttrs)))), this.categoryIcon && (h("div", { key: '81e36645d1a21d9bc66fae4765e9ef3272537f03', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '504a1771e2e356783be5844509166ab29f78159d', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '97b506d236d0679f53696cac58503d7be257231f', class: "background-area" }, h("div", { key: '36890d9dc2a8f8b124420c7b3225ada20d01e35e', class: "background" }, h("div", { key: '1df015994f4bd85a884de6e1875be96408f599b7', class: "background-mask" }), this.theme !== "turva" && h("div", { key: 'f68c97a4b3c8e4b03bac4bb2181e630ef63c8639', class: "brand-shape" }), h("div", { key: 'ba89b95cc6d1d2a55ca0681206266f0e52d10059', class: "brand-shaped-image" }, h("div", { key: '0c133b49c54fa275782754ac6ab44c468592b50b', class: "brand-shaped-image-wrapper" }, h("div", Object.assign({ key: 'c9963f3b6134885b5cd4facc450e337fd3807749', class: "brand-shaped-image-bg", style: styles }, bgImgA11yAttrs))))))), h("div", { key: '6cd4723c1191be8841b3e72c186438d60b762165', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: '76e6d63f430faa884dbe432dcf5241287edb6d94', class: "duet-hero-image-mask" }, h("div", { key: 'ac28833afeffb4273df030b71484549022dbcd7b', class: "duet-hero-image-wrapper" }, h("div", Object.assign({ key: '3bd97c165b52eae5b07653f04508c94f3e2fbaa3', class: "duet-hero-image", style: styles }, bgImgA11yAttrs))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
306
|
+
this.processedBack && (h("div", { key: 'a3139ada0576c86e38608e8b3babde7bf1cb6428', class: "duet-hero-back" }, h("duet-button", { key: '18696adb6758e912d78507989319403a05031383', 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, {
|
|
307
307
|
label: this.processedBack.label,
|
|
308
308
|
href: this.processedBack.href,
|
|
309
309
|
id: this.processedBack.id,
|
|
310
310
|
analyticsId: this.processedBack.analyticsId,
|
|
311
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
311
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '28d192b8f069b4a32baa01a027abc42bdfb95887', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '012bf0e526bb27720cf999130cee18c48f154328', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '5cbbe391ce79e56835076065ebcffe0bab5228ba', 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: 'b3e524e1dfb703166dabf2f84bbcc4114b55a30a', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'aa79305d862247ab6107539664112d93a239e8a7', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : 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: 'd7be291d344c0357c68891dafcce35f2b39b5da5', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '32bb887d95e7bbf0c2037520f47080d4a4680bba', name: "subheading" }))), this.description && (h("duet-paragraph", { key: 'd391fad4e9710b15fe3bbc98e8e22078f3a84972', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '927d16ef81835f367bda345400b4603d6c5dd36a', 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: '05b8812b4a5f224422c0d102c9f6869bfcfe3a69', 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: '512d50180bb9fba05bcde538b19fa87e70cf5a3a' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '1ca120e7175b467c0265513ecd4d32a30e5eaba8', 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 &&
|
|
312
312
|
this.variation !== "image" &&
|
|
313
313
|
!campaignOrSection &&
|
|
314
314
|
this.variation !== "product" &&
|
|
315
|
-
this.variation !== "content" && h("div", Object.assign({ key: '
|
|
315
|
+
this.variation !== "content" && h("div", Object.assign({ key: 'f49f23c4edbf72e479d8f7cf4cf2767d688c362b', class: "duet-hero-image", style: styles }, bgImgA11yAttrs)), h("slot", { key: 'a99b7943cc1408366bc93827beb41867aaf5fb01', name: "bottom" }))));
|
|
316
316
|
}
|
|
317
317
|
static get is() { return "duet-hero"; }
|
|
318
318
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,11 +144,11 @@ export class DuetIcon {
|
|
|
144
144
|
: {};
|
|
145
145
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
146
146
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: 'f6a74ccabd59055d22eec3654bde9c81fd4a9ce3', class: {
|
|
148
148
|
"duet-m-0": this.margin === "none",
|
|
149
149
|
"duet-icon-has-outline": !!this.outline,
|
|
150
150
|
"duet-icon-has-background": !!this.background,
|
|
151
|
-
} }, h("span", { key: '
|
|
151
|
+
} }, h("span", { key: 'f2ea10e9ec8459d5a5995781e193c6d8df7fb1ef', "aria-hidden": "true", style: styles, class: {
|
|
152
152
|
"duet-icon": true,
|
|
153
153
|
"duet-theme-turva": this.theme === "turva",
|
|
154
154
|
"duet-theme-default": this.theme === "default",
|
|
@@ -157,7 +157,7 @@ export class DuetIcon {
|
|
|
157
157
|
[shapeStyle]: true,
|
|
158
158
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
159
159
|
"duet-icon-not-responsive": !this.responsive,
|
|
160
|
-
} }, h("span", { key: '
|
|
160
|
+
} }, h("span", { key: '3d93b31d1831fa77b71a5f574a38d838636c7757', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "duet-icon"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class DuetIndicator {
|
|
|
45
45
|
inheritGlobalTheme(this);
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '9361561218a4fa5c4fe9508e72b80992ad22aadc', class: { [this.theme]: true } }, h("span", { key: 'd974ea12e2bfc4d8e753cc89044379b846c182ca', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '0d3abea6442dcb6254391043a32d224188cbc814' }, this.getAccessibleLabel())));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "duet-indicator"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
margin-right: 0 !important;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
:host(.form-distribute:last-of-type:not(:last-child)) {
|
|
92
92
|
margin-right: 16px !important;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -388,15 +388,15 @@ duet-caption:not(:last-of-type) {
|
|
|
388
388
|
color: rgb(8, 42, 77) !important;
|
|
389
389
|
cursor: not-allowed !important;
|
|
390
390
|
outline: none !important;
|
|
391
|
-
background: rgb(
|
|
392
|
-
border-color: rgb(
|
|
391
|
+
background: rgb(228, 236, 239) !important;
|
|
392
|
+
border-color: rgb(228, 236, 239) !important;
|
|
393
393
|
opacity: 1 !important;
|
|
394
394
|
-webkit-text-fill-color: rgb(8, 42, 77) !important;
|
|
395
395
|
}
|
|
396
396
|
.duet-theme-turva .duet-input[disabled] {
|
|
397
397
|
color: rgb(23, 28, 58) !important;
|
|
398
|
-
background: rgb(
|
|
399
|
-
border-color: rgb(
|
|
398
|
+
background: rgb(228, 233, 237) !important;
|
|
399
|
+
border-color: rgb(228, 233, 237) !important;
|
|
400
400
|
-webkit-text-fill-color: rgb(23, 28, 58) !important;
|
|
401
401
|
}
|
|
402
402
|
.duet-input:hover:not(:disabled) {
|
|
@@ -656,8 +656,8 @@ duet-caption:not(:last-of-type) {
|
|
|
656
656
|
}
|
|
657
657
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-input[disabled] {
|
|
658
658
|
color: rgb(23, 42, 59) !important;
|
|
659
|
-
background: rgb(
|
|
660
|
-
border-color: rgb(
|
|
659
|
+
background: rgb(228, 233, 237) !important;
|
|
660
|
+
border-color: rgb(228, 233, 237) !important;
|
|
661
661
|
-webkit-text-fill-color: rgb(23, 42, 59) !important;
|
|
662
662
|
}
|
|
663
663
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-input:focus {
|
|
@@ -548,7 +548,7 @@ export class DuetInput {
|
|
|
548
548
|
this.type !== "password" &&
|
|
549
549
|
this.type !== "time" &&
|
|
550
550
|
this.variation !== "button";
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '97c6c512b6c027ca8043a43672a95b94f03f6156', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'b822ea081dcf6540e2b68897ee048047aff84628', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: '9e605485547ba28244c552f56e417b5601b54fe8', class: {
|
|
552
552
|
"duet-input-container": true,
|
|
553
553
|
"duet-theme-turva": this.theme === "turva",
|
|
554
554
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -562,7 +562,7 @@ export class DuetInput {
|
|
|
562
562
|
"has-clear": this.clear,
|
|
563
563
|
"has-focus": this.isFocused,
|
|
564
564
|
disabled: this.disabled,
|
|
565
|
-
} }, h("div", { key: '
|
|
565
|
+
} }, h("div", { key: '80b702bcab4580a325ba20786e5c4aabc2ed6097', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: 'c1deac7c8b5bb4a0b7f83b56300847e0320bbe5c', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'c62963ee9ff47b91fa4380725a514df722c9d2a6', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '024482e338a12e5e93c1a281c5780575f72986f5', name: "tooltip" })), this.caption && (h("duet-caption", { key: '38d05c2a565c01b678e55ffd8229387e67d313e5', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '211a0b1ea0a61065f35ba521c44656002a82af3d', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: '48c712f9c9ac80bf82ced7d12b6e3d82a4fafd9a', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '94be7e517078792db305259a743d3e9f9b1ed78f', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: '1c73512bd1cb13064dface542dd5c83c0ce0bb61', name: "button-left" }), h("input", Object.assign({ key: '2712744a1452a269a9cf149aaa6e6b5fc99cefe3', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
566
566
|
"duet-input": true,
|
|
567
567
|
disabled: this.disabled,
|
|
568
568
|
"is-number": this.component === "number",
|
|
@@ -570,17 +570,17 @@ export class DuetInput {
|
|
|
570
570
|
"after-chip": this.getAllChips().length > 0,
|
|
571
571
|
"align-right": this.inputAlign === "right",
|
|
572
572
|
[`input-padding-${this.inputPadding}`]: true,
|
|
573
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '
|
|
573
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '080395d2f4005f5e2d40ebeadf5be30fb014e71d', class: "duet-input-icon" }, h("duet-icon", { key: '2a5bfe3a6d42a97e6cf451f833deeae80d852374', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '92a1308358fff9f5c6aed1a07e24053c7499e788', class: {
|
|
574
574
|
"duet-input-clear-icon": true,
|
|
575
575
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
576
576
|
"duet-input-clear-icon-double": !!this.icon,
|
|
577
577
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
578
578
|
[`input-padding-${this.inputPadding}`]: true,
|
|
579
|
-
} }, h("button", { key: '
|
|
579
|
+
} }, h("button", { key: 'b921d4ca4eb54fc267ad62f3c956a9acd9ea4487', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'bdea13847de38a2cfd7cab93aa5867dda090e8d0', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '4e49e31671b84ffbda56882870611aba296daab2', class: "duet-input-icon" }, h("duet-icon", { key: '8d95610824e317a5dd0c2a445f074a8845e118f9', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: 'a65627a7d986abbe186808402689fc99a08bf173', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'c1ae746e55b6cf639c28a8b510c399c390ab875e', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
580
580
|
? this.hidePasswordLabel[this.language]
|
|
581
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '
|
|
581
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '002a8f8fcab8184f130dc007637ef24216aadee3' }, h("span", { key: 'fd669556e6e64700f4c2347183e20e6cbeb5682b', "aria-live": "polite" }, this.isPasswordRevealed
|
|
582
582
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
583
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
583
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: 'cc9d622df88881cabca741a1dd95a162e955c349' })), h("span", { key: '31c73b30b14c89c56268c32102bb5427b9850ff1', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'b04cbeca6289a6b421013dde03381db825ac7a2c', class: "duet-input-error" }, this.error)))));
|
|
584
584
|
}
|
|
585
585
|
static get is() { return "duet-input"; }
|
|
586
586
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,24 +66,24 @@ export class DuetLayout {
|
|
|
66
66
|
* Always the last one in the class.
|
|
67
67
|
*/
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'fe098e91c7bb01e0e85f187ba546f8f0c15cf657', class: {
|
|
70
70
|
center: this.center,
|
|
71
71
|
"duet-middle": this.middle,
|
|
72
72
|
"duet-ie": isInternetExplorer(),
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: 'da78ba19b431c58d4c317488d836973313b3205e', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '6e681d77a0e10bb86b110e92d2843a41a95f57b3', class: {
|
|
74
74
|
"duet-layout-top": true,
|
|
75
75
|
"duet-center": this.center,
|
|
76
|
-
} }, h("div", { key: '
|
|
76
|
+
} }, h("div", { key: 'cb6263cad7fbb6bcd52af5be3286998c5e6f8ff3', class: "duet-layout-top-wrapper" }, h("slot", { key: 'c5c141ad0307a0c11bb7a03b5c78e45356b19945', name: "top" })))), h("div", { key: 'e524ed28fa4b2069b1bbbb3f603ba4e6101bd9b7', class: {
|
|
77
77
|
"duet-layout": true,
|
|
78
78
|
"has-sidebar": this.hasSidebar,
|
|
79
79
|
"duet-center": this.center,
|
|
80
80
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
81
|
-
} }, h("main", { key: '
|
|
81
|
+
} }, h("main", { key: 'c593638dad35304125cad8df76e2666a68c537b6', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '9bf4eb387cc838260b36ba8d14ca567dd0ab084e', name: "page-heading" }), h("slot", { key: 'afb96493e079f8eb59c1ad43746c25d5a522e239', name: "main" })), this.hasSidebar && (h("aside", { key: '0c61d31a6c40af17a4c2831ea7e441d3625b23b0', class: "duet-sidebar" }, h("div", { key: '524ea0db179272409930c635aa1faca2716f88d4', class: {
|
|
82
82
|
"duet-sidebar-container": true,
|
|
83
83
|
"has-tabs": this.tabs,
|
|
84
84
|
sticky: this.sticky,
|
|
85
85
|
[this.stickyDistance]: this.sticky,
|
|
86
|
-
} }, h("slot", { key: '
|
|
86
|
+
} }, h("slot", { key: '8e4836e0cc16d836afcdadf1fb31b5e8f9e81e45', name: "sidebar" }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "duet-layout"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,20 +85,20 @@ button {
|
|
|
85
85
|
cursor: pointer;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.duet-link-is-external.duet-link:not(.block, .button, .card),
|
|
89
|
-
.duet-link-is-download.duet-link:not(.block, .button, .card) {
|
|
88
|
+
.duet-link-is-external.duet-link:not(.block, .button, .card, .article-list),
|
|
89
|
+
.duet-link-is-download.duet-link:not(.block, .button, .card, .article-list) {
|
|
90
90
|
text-decoration: none;
|
|
91
91
|
}
|
|
92
|
-
.duet-link-is-external.duet-link:not(.block, .button, .card) .duet-link-content,
|
|
93
|
-
.duet-link-is-download.duet-link:not(.block, .button, .card) .duet-link-content {
|
|
92
|
+
.duet-link-is-external.duet-link:not(.block, .button, .card, .article-list) .duet-link-content,
|
|
93
|
+
.duet-link-is-download.duet-link:not(.block, .button, .card, .article-list) .duet-link-content {
|
|
94
94
|
text-decoration: underline;
|
|
95
95
|
}
|
|
96
|
-
.duet-link-is-external.duet-link:not(.block, .button, .card):hover > .duet-link-content,
|
|
97
|
-
.duet-link-is-download.duet-link:not(.block, .button, .card):hover > .duet-link-content {
|
|
96
|
+
.duet-link-is-external.duet-link:not(.block, .button, .card, .article-list):hover > .duet-link-content,
|
|
97
|
+
.duet-link-is-download.duet-link:not(.block, .button, .card, .article-list):hover > .duet-link-content {
|
|
98
98
|
text-decoration: none;
|
|
99
99
|
}
|
|
100
|
-
.duet-link-is-external.duet-link:not(.block, .button, .card) .duet-link-icon-tail,
|
|
101
|
-
.duet-link-is-download.duet-link:not(.block, .button, .card) .duet-link-icon-tail {
|
|
100
|
+
.duet-link-is-external.duet-link:not(.block, .button, .card, .article-list) .duet-link-icon-tail,
|
|
101
|
+
.duet-link-is-download.duet-link:not(.block, .button, .card, .article-list) .duet-link-icon-tail {
|
|
102
102
|
white-space: nowrap;
|
|
103
103
|
text-decoration: none;
|
|
104
104
|
}
|
|
@@ -442,6 +442,41 @@ button {
|
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
+
.duet-link.article-list {
|
|
446
|
+
display: block;
|
|
447
|
+
padding: 20px 0;
|
|
448
|
+
margin-bottom: -1px;
|
|
449
|
+
text-decoration: none;
|
|
450
|
+
border: solid rgb(212, 223, 229);
|
|
451
|
+
border-width: 1px 0;
|
|
452
|
+
border-radius: 0;
|
|
453
|
+
}
|
|
454
|
+
.duet-link.article-list .duet-link-content {
|
|
455
|
+
font-weight: 600;
|
|
456
|
+
color: rgb(0, 75, 129);
|
|
457
|
+
}
|
|
458
|
+
.duet-link.article-list .duet-link-content-wrap {
|
|
459
|
+
display: flex;
|
|
460
|
+
}
|
|
461
|
+
.duet-link.article-list .duet-link-bullet {
|
|
462
|
+
flex-shrink: 0;
|
|
463
|
+
width: 8px;
|
|
464
|
+
height: 8px;
|
|
465
|
+
margin-top: 8px;
|
|
466
|
+
margin-right: 16px;
|
|
467
|
+
border-radius: 2px;
|
|
468
|
+
}
|
|
469
|
+
.duet-link.article-list .duet-link-meta {
|
|
470
|
+
display: block;
|
|
471
|
+
margin-top: 4px;
|
|
472
|
+
font-weight: 400;
|
|
473
|
+
color: rgb(81, 105, 123);
|
|
474
|
+
}
|
|
475
|
+
.duet-link.article-list:focus .duet-link-content, .duet-link.article-list:hover .duet-link-content {
|
|
476
|
+
color: rgb(0, 97, 155);
|
|
477
|
+
text-decoration: underline;
|
|
478
|
+
}
|
|
479
|
+
|
|
445
480
|
:host(.duet-theme-turva2) .duet-theme-turva.duet-link {
|
|
446
481
|
color: rgb(185, 3, 41);
|
|
447
482
|
}
|
|
@@ -80,7 +80,8 @@ export class DuetLink {
|
|
|
80
80
|
*/
|
|
81
81
|
this.iconColor = "currentColor";
|
|
82
82
|
/**
|
|
83
|
-
* Color of the icon to display (
|
|
83
|
+
* Color of the icon to display (with "button" variation) or color of the bullet (with "article-list"
|
|
84
|
+
* variation). Not used for other variations.
|
|
84
85
|
*/
|
|
85
86
|
this.iconBackground = null;
|
|
86
87
|
/**
|
|
@@ -160,6 +161,9 @@ export class DuetLink {
|
|
|
160
161
|
};
|
|
161
162
|
return (h(Fragment, null, this.icon && (h("span", { class: "icon-wrap", style: iconWrapStyle }, h("duet-icon", { size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), h("div", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), h("span", { class: "chevron-wrap" }, h("duet-icon", { class: "block__chevron-icon", icon: this.external ? newWindowIconLarge.svg : chevronIcon.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
162
163
|
}
|
|
164
|
+
renderArticleListContent() {
|
|
165
|
+
return (h("div", { class: "duet-link-content-wrap" }, this.iconBackground && (h("div", { class: "duet-link-bullet", style: { background: getColorByName(this.iconBackground, this.theme) } })), h("span", null, h("span", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), Build.isBrowser && (this.resolvedDownload || this.external) && (h(Fragment, null, h("span", { class: "duet-link-icon-tail" }, "\u00A0", h("duet-icon", { icon: this.resolvedDownload ? downloadIcon.svg : newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-link-meta" }, h("slot", { name: "meta" })))));
|
|
166
|
+
}
|
|
163
167
|
renderContent() {
|
|
164
168
|
switch (this.variation) {
|
|
165
169
|
case "default":
|
|
@@ -171,6 +175,8 @@ export class DuetLink {
|
|
|
171
175
|
case "list-button":
|
|
172
176
|
case "card":
|
|
173
177
|
return this.renderButtonCardContent();
|
|
178
|
+
case "article-list":
|
|
179
|
+
return this.renderArticleListContent();
|
|
174
180
|
}
|
|
175
181
|
}
|
|
176
182
|
/**
|
|
@@ -181,10 +187,10 @@ export class DuetLink {
|
|
|
181
187
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
182
188
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
183
189
|
const isButton = Tag === "button";
|
|
184
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: '63ea212c967fed116f28d316bf7b4dc6f7bed88d', class: {
|
|
185
191
|
[`duet-link-${this.variation}`]: true,
|
|
186
192
|
"duet-m-0": this.margin === "none",
|
|
187
|
-
} }, h(Tag, { key: '
|
|
193
|
+
} }, h(Tag, { key: 'c799db0446fbca186340c781f23ccecaf58e4336', href: this.url, class: {
|
|
188
194
|
"duet-link": true,
|
|
189
195
|
"duet-link-is-external": this.external,
|
|
190
196
|
"duet-link-is-download": !!this.download,
|
|
@@ -218,7 +224,7 @@ export class DuetLink {
|
|
|
218
224
|
"mutable": false,
|
|
219
225
|
"complexType": {
|
|
220
226
|
"original": "DuetLinkVariation",
|
|
221
|
-
"resolved": "\"block\" | \"block-center\" | \"button\" | \"card\" | \"default\" | \"list-button\"",
|
|
227
|
+
"resolved": "\"article-list\" | \"block\" | \"block-center\" | \"button\" | \"card\" | \"default\" | \"list-button\"",
|
|
222
228
|
"references": {
|
|
223
229
|
"DuetLinkVariation": {
|
|
224
230
|
"location": "import",
|
|
@@ -627,7 +633,7 @@ export class DuetLink {
|
|
|
627
633
|
"optional": false,
|
|
628
634
|
"docs": {
|
|
629
635
|
"tags": [],
|
|
630
|
-
"text": "Color of the icon to display (
|
|
636
|
+
"text": "Color of the icon to display (with \"button\" variation) or color of the bullet (with \"article-list\"\nvariation). Not used for other variations."
|
|
631
637
|
},
|
|
632
638
|
"getter": false,
|
|
633
639
|
"setter": false,
|
|
@@ -101,7 +101,7 @@ export class DuetList {
|
|
|
101
101
|
* Always the last one in the class.
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
|
-
return (h("dl", { key: '
|
|
104
|
+
return (h("dl", { key: '8cae41f240da2961c27153dc122763812b5fa34c', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, h("slot", { key: 'b99b56fcc934c6a52c71df3e77d60b91393ade02' })));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "duet-list"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class DuetListItem {
|
|
|
34
34
|
* Always the last one in the class.
|
|
35
35
|
*/
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '2fc646c6ec771484ba741b13db4e05af02190613', class: {
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
"duet-no-stacking": !this.responsive,
|
|
40
40
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -42,7 +42,7 @@ export class DuetListItem {
|
|
|
42
42
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
43
43
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
44
44
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
45
|
-
} }, h("dt", { key: '
|
|
45
|
+
} }, h("dt", { key: 'a6f04cd679b723dec94b73f49a1f01e765cc2c2c' }, h("slot", { key: '3406e6b4499bc4e1ccbb65c8c20861a940058120', name: "label" })), h("dd", { key: '12904de4492dd50e266c323d2d038a514e4ed4f1' }, h("slot", { key: '1b5922436da8b77d4687c2fe55e7f58c5af37647', name: "value" }))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "duet-list-item"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,7 +148,7 @@ export class DuetLogo {
|
|
|
148
148
|
*/
|
|
149
149
|
render() {
|
|
150
150
|
const TagName = this.href ? "a" : "div";
|
|
151
|
-
return (h(Host, { key: '
|
|
151
|
+
return (h(Host, { key: '45473fa278154204ad2358fcea7063bf90c56594', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '6311062a05dc397c72ffbd371c6443cf96e3438e', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
152
152
|
"duet-logo": true,
|
|
153
153
|
[this.size]: true,
|
|
154
154
|
"duet-logo-inverse": this.inverse,
|
|
@@ -132,17 +132,17 @@ export class DuetMenuBar {
|
|
|
132
132
|
render() {
|
|
133
133
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
134
134
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
135
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: '0465c2eb195dcbd9b168a73646321e57fdbf6ac9' }, h("nav", { key: 'f0bfcd1ec120c1471fe1d32715b6892125f03baa', class: {
|
|
136
136
|
"duet-menu-bar": true,
|
|
137
137
|
"duet-theme-turva": this.theme === "turva",
|
|
138
138
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
139
139
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
140
140
|
hidden: this.hidden && this.hideOnScroll,
|
|
141
141
|
bottom: this.onBottom,
|
|
142
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
142
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'bc2ac882034c4d1ffc30fa989bf6d4927ecd50dc', class: "top" }), h("div", { key: '2495e91eb00325b4cb6d01814a13196916e62703', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '4eaa51862b000fb13b27c4abe9d4d44cc9ad2f1c' }, h("duet-logo", { key: '909c1992fd75363ff871776e4d948d295f21ee2e', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'e672f17cccb5ba665d93375746eda2427a43fd5a', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: '92864cb719cd05cf81b3e1a8513179daeceaae30', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: 'bdea5133ca4fe524e4514808a1233094a4427bd7', class: {
|
|
143
143
|
"duet-logo-info-text": true,
|
|
144
144
|
"duet-theme-turva": this.theme === "turva",
|
|
145
|
-
} }, this.logoInfoText)))), h("div", { key: '
|
|
145
|
+
} }, this.logoInfoText)))), h("div", { key: '05e4681d1eb7add830ec0dba6d8bf33df33e77a1', class: "list center", role: "list" }, h("div", { key: '6b29f783a3df400d7e2f8bfca9dba33321d658c6', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '938d6956b67e6a8a5592ea6f13e013a672af3f0a', name: "center" }), h("div", { key: '27897945987291e920d738a520fe16b2a82284f4', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '9cc2f6e6297e855cdac09b2a3fa5d6c3a42ecf9c', class: "list right", role: "list" }, h("slot", { key: '257a5853501bb6dde1d152842c77c4e8cd00b709', name: "right" }))), h("div", { key: '3a7b3b351b057060e8359a4acc7857fabe29ab3d', class: "bottom" }))));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "duet-menu-bar"; }
|
|
148
148
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '27fb2c633e88b04b7397830d15c881240d29a91b', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '29791cfd8473dc9407238460bcb1e169f183f074', ref: button => (this.nativeButton = button), class: {
|
|
53
53
|
"duet-menu-bar-button": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '
|
|
55
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: 'e037dac1385bef39b070602ba5bfb278470a49dd', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '95fd0aef38328dece2756ceed18c904c0c447d76' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-button"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
|
|
|
62
62
|
* Always the last one in the class.
|
|
63
63
|
*/
|
|
64
64
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'c46c77a3b37d72d4f026c5027a8bed6dc33621c5', role: "listitem" }, h("div", { key: 'bed24491075bfc2c5dcf225c5262a1af76e7a34f', class: {
|
|
66
66
|
"duet-menu-bar-dropdown": true,
|
|
67
67
|
"duet-theme-turva": this.theme === "turva",
|
|
68
68
|
active: this.open,
|
|
69
69
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
70
|
-
} }, h("button", { key: '
|
|
70
|
+
} }, h("button", { key: 'bee18f72f97fe86364cdf6afa685602feea7f694', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
71
71
|
active: this.open,
|
|
72
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
72
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '9b5beb13681712fe262c14ba74de6b30ab481dff', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'debea3ea41d1b4358dbf774b54558d8921b92006', class: "label" }, h("slot", { key: 'fffcc54cdfb0032577c066e374c3465eafac3206', name: "label" }), h("duet-icon", { key: 'a36c591292ca2c2b445e04f53721f788a4005934', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '3794aa5366239e4db4286303ef75f30778e3b911', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
73
73
|
items: true,
|
|
74
74
|
hidden: !this.open,
|
|
75
|
-
} }, h("slot", { key: '
|
|
75
|
+
} }, h("slot", { key: '4a0657ee88ab885d6e177b654e0e9231d0027ec1' })))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
78
78
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
48
48
|
* Always the last one in the class.
|
|
49
49
|
*/
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '44c02bb0c92ca03579e70dc6f79178099f38de61' }, h("a", { key: '26b45ac19043800a070894afec67517d051b6ccc', class: {
|
|
52
52
|
"duet-menu-bar-dropdown-link": true,
|
|
53
53
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '4d481450931bbf089d2f6d5ee7076aca7c3978f1', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'b47043814429787c833949bac92bae95b2001419' }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
|
|
|
71
71
|
*/
|
|
72
72
|
render() {
|
|
73
73
|
const TagName = this.url ? "a" : "button";
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '9feca792c6d12ed05344d17db4a5076ad037994e', role: "listitem" }, h(TagName, { key: '5ab6813f5290c5f323713e6015a46330089d555a', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
75
75
|
"duet-menu-bar-item": true,
|
|
76
76
|
"duet-theme-turva": this.theme === "turva",
|
|
77
77
|
active: this.active,
|
|
78
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
78
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '7b6541e7b7cab53fedf815feebc683b9f122e323', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'ab89cf87285d10e52798cd123c404acb69d6bf91' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '6bc587bed959b634caf6b25db7f3374ed538151c', class: {
|
|
79
79
|
"trailing-icon": !!this.trailingIcon,
|
|
80
80
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
81
81
|
"external-icon": !!this.external,
|
|
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
|
|
|
33
33
|
* Always the last one in the class.
|
|
34
34
|
*/
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '044fd632f4ea61ecd3bbbb77e3c2d0eda50f16a4', role: "listitem" }, h("a", { key: 'b910e6d15c696910ab231b49facb9cd3250d66c4', class: {
|
|
37
37
|
"duet-menu-bar-link": true,
|
|
38
38
|
"duet-theme-turva": this.theme === "turva",
|
|
39
39
|
active: this.active,
|
|
40
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
40
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '46ede326e61111856df4318b018a4128b7743658', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '774a0d744c12e5d43783123c2d07d450a0ad0472' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-menu-bar-link"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|