@duetds/components 10.6.0 → 10.8.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 +557 -271
- package/hydrate/index.mjs +557 -271
- package/lib/cjs/{a11y-utils-CgWjS7yq.js → a11y-utils-DZ42p33K.js} +1 -1
- package/lib/cjs/{app-globals-D68ciWsb.js → app-globals-DiBfle2l.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +8 -8
- 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 +10 -10
- package/lib/cjs/duet-card.cjs.entry.js +10 -9
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +16 -7
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +32 -25
- package/lib/cjs/duet-contact-card.cjs.entry.js +8 -7
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +17 -13
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- 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 +12 -8
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +18 -13
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +33 -19
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- 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 +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +12 -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 +8 -8
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
- 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 +13 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -13
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +8 -8
- 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 +9 -9
- 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 +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 +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- 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-teaser.cjs.entry.js +110 -0
- package/lib/cjs/duet-textarea.cjs.entry.js +20 -11
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
- 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 +10 -10
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- 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-C0tQ3k6Z.js → errorcodes.utils-MdC-C1Fa.js} +1 -1
- package/lib/cjs/{floating-ui.dom.browser.min-Cj0r5YDz.js → floating-ui.dom.browser.min-DaH62q3u.js} +83 -0
- package/lib/cjs/{focus-utils-tCoGOO7d.js → focus-utils-KpSp5WDp.js} +1 -1
- package/lib/cjs/{index-BeiMjjVl.js → index-BP4tQozH.js} +5 -1
- package/lib/cjs/{label-Cu4DNShe.js → label-CjvqwyJR.js} +1 -1
- package/lib/cjs/{language-utils-B3NubUDr.js → language-utils-BCJyRc_q.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{picture-utils-D_HVgfq5.js → picture-utils-Dp6TiDHy.js} +7 -2
- package/lib/cjs/{slot-utils-Dny6EJ_G.js → slot-utils-DvtoWHAA.js} +1 -1
- package/lib/cjs/{themeable-component-Csdvrnsd.js → themeable-component-BXqwFhg-.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +23 -4
- 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-button/duet-button.css +3 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +13 -9
- package/lib/collection/components/duet-card/duet-card.js +24 -4
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +12 -3
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +30 -24
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +23 -3
- package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +34 -7
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.css +22 -0
- package/lib/collection/components/duet-grid/duet-grid.js +14 -5
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +149 -136
- package/lib/collection/components/duet-hero/duet-hero.js +32 -7
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +31 -0
- package/lib/collection/components/duet-input/duet-input.js +48 -14
- package/lib/collection/components/duet-link/duet-link.css +16 -0
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- 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.css +8 -1
- package/lib/collection/components/duet-modal/duet-modal.js +6 -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.js +23 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
- 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-phone-input/duet-phone-input.js +9 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -0
- 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 +23 -4
- 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.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-teaser/duet-teaser.css +127 -0
- package/lib/collection/components/duet-teaser/duet-teaser.js +462 -0
- package/lib/collection/components/duet-textarea/duet-textarea.css +8 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +35 -6
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- 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.css +6 -0
- 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/collection/utils/picture-utils.js +6 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-01a6e993.entry.js +4 -0
- package/lib/duet/{p-4e1c2676.entry.js → p-0476dabc.entry.js} +1 -1
- package/lib/duet/p-06e879d2.entry.js +4 -0
- package/lib/duet/p-0f433f55.entry.js +4 -0
- package/lib/duet/{p-1d7a9425.entry.js → p-126b3fd0.entry.js} +1 -1
- package/lib/duet/{p-c54ecb23.entry.js → p-1566e2ec.entry.js} +1 -1
- package/lib/duet/{p-4e5532c8.entry.js → p-1956dd8e.entry.js} +1 -1
- package/lib/duet/{p-20c8226c.entry.js → p-1db9e784.entry.js} +1 -1
- package/lib/duet/{p-6ce82324.entry.js → p-1deed1aa.entry.js} +1 -1
- package/lib/duet/{p-3b9d7f6a.entry.js → p-27894857.entry.js} +1 -1
- package/lib/duet/{p-4a041c60.entry.js → p-2c2e7c9b.entry.js} +1 -1
- package/lib/duet/{p-ee369233.entry.js → p-2c465a03.entry.js} +1 -1
- package/lib/duet/p-2d780739.entry.js +4 -0
- package/lib/duet/{p-4b07ce36.entry.js → p-2f092aed.entry.js} +1 -1
- package/lib/duet/p-304af2e5.entry.js +4 -0
- package/lib/duet/{p-6a11ba26.entry.js → p-34d16cbb.entry.js} +1 -1
- package/lib/duet/p-34ec25cb.entry.js +4 -0
- package/lib/duet/{p-f4de7ac0.entry.js → p-37d5a3c5.entry.js} +1 -1
- package/lib/duet/{p-2e44c6b8.entry.js → p-3932a89b.entry.js} +1 -1
- package/lib/duet/{p-46287d85.entry.js → p-3c8d76e2.entry.js} +1 -1
- package/lib/duet/{p-8fbcea55.entry.js → p-3d454072.entry.js} +1 -1
- package/lib/duet/{p-aa1256f9.entry.js → p-3e66035d.entry.js} +1 -1
- package/lib/duet/{p-83dcbb64.entry.js → p-471d4d75.entry.js} +1 -1
- package/lib/duet/{p-f4538e9d.entry.js → p-4ddf8009.entry.js} +1 -1
- package/lib/duet/{p-4acdc586.entry.js → p-5044e0ed.entry.js} +1 -1
- package/lib/duet/{p-304a9a55.entry.js → p-5103d5f4.entry.js} +1 -1
- package/lib/duet/{p-3533d6ee.entry.js → p-51693a7c.entry.js} +1 -1
- package/lib/duet/{p-f297f8f2.entry.js → p-54bfe081.entry.js} +1 -1
- package/lib/duet/p-588e75cd.entry.js +4 -0
- package/lib/duet/{p-174935bc.entry.js → p-5d70e259.entry.js} +1 -1
- package/lib/duet/p-618cfeef.entry.js +4 -0
- package/lib/duet/{p-12d7fdf6.entry.js → p-6449b1cc.entry.js} +1 -1
- package/lib/duet/{p-e442943d.entry.js → p-6502a274.entry.js} +1 -1
- package/lib/duet/p-69a72f22.entry.js +4 -0
- package/lib/duet/{p-512d18c8.entry.js → p-6e4536e3.entry.js} +1 -1
- package/lib/duet/{p-fdc4a97c.entry.js → p-6ed52261.entry.js} +1 -1
- package/lib/duet/{p-ac4fc44c.entry.js → p-712adcec.entry.js} +1 -1
- package/lib/duet/{p-4cee693b.entry.js → p-79afa773.entry.js} +1 -1
- package/lib/duet/p-7d61dc62.entry.js +4 -0
- package/lib/duet/p-7f9de2a6.entry.js +4 -0
- package/lib/duet/{p-e40d9c21.entry.js → p-870d3c78.entry.js} +1 -1
- package/lib/duet/{p-ae382e2e.entry.js → p-88bf42dc.entry.js} +1 -1
- package/lib/duet/{p-8927ccc1.entry.js → p-88e65283.entry.js} +1 -1
- package/lib/duet/{p-bc41d13d.entry.js → p-8aaf283d.entry.js} +1 -1
- package/lib/duet/p-8d939074.entry.js +4 -0
- package/lib/duet/{p-a01f3141.entry.js → p-908fca79.entry.js} +1 -1
- package/lib/duet/{p-9b2731b9.entry.js → p-93080f2d.entry.js} +1 -1
- package/lib/duet/{p-407d4e5a.entry.js → p-94d057ea.entry.js} +1 -1
- package/lib/duet/{p-84f8bee8.entry.js → p-99367980.entry.js} +1 -1
- package/lib/duet/{p-f30c3cfe.entry.js → p-9a248faf.entry.js} +1 -1
- package/lib/duet/p-9d405b35.entry.js +4 -0
- package/lib/duet/{p-30d8a1e4.entry.js → p-9ed154f5.entry.js} +1 -1
- package/lib/duet/{p-DI7IXBXp.js → p-B1GzOTNZ.js} +1 -1
- package/lib/duet/p-BQTM1aqo.js +4 -0
- package/lib/duet/{p-D3450NfA.js → p-CdcBxXLd.js} +1 -1
- package/lib/duet/{p-KbNgo0QF.js → p-CirNV9Vh.js} +1 -1
- package/lib/duet/{p-D9N9LBeD.js → p-Cj9zQLn2.js} +1 -1
- package/lib/duet/{p-JFwTD5kM.js → p-D3ladndz.js} +1 -1
- package/lib/duet/p-D4pJQwPW.js +4 -0
- package/lib/duet/p-Dbe-q7B5.js +4 -0
- package/lib/duet/{p-BDgGHTHh.js → p-DmLE9-rw.js} +1 -1
- package/lib/duet/{p-CcoGR9T9.js → p-DoEOuTZj.js} +1 -1
- package/lib/duet/{p-61abccd4.entry.js → p-a2514ad4.entry.js} +1 -1
- package/lib/duet/{p-0e10e36b.entry.js → p-a4a3febe.entry.js} +1 -1
- package/lib/duet/p-a517cdce.entry.js +4 -0
- package/lib/duet/{p-374b48f6.entry.js → p-a70bb08d.entry.js} +1 -1
- package/lib/duet/{p-d72dee5d.entry.js → p-aa2c3e0a.entry.js} +1 -1
- package/lib/duet/{p-95bb2a8d.entry.js → p-af7b2954.entry.js} +1 -1
- package/lib/duet/{p-9c41f1d5.entry.js → p-b37d4985.entry.js} +1 -1
- package/lib/duet/p-b4cf5f14.entry.js +4 -0
- package/lib/duet/{p-d7abb7fa.entry.js → p-b6233e75.entry.js} +1 -1
- package/lib/duet/{p-555e0c78.entry.js → p-b97098a6.entry.js} +1 -1
- package/lib/duet/{p-f8d640ba.entry.js → p-bd0263e4.entry.js} +1 -1
- package/lib/duet/{p-244bfbf9.entry.js → p-beaa4612.entry.js} +1 -1
- package/lib/duet/{p-264688ae.entry.js → p-c15c8dd2.entry.js} +1 -1
- package/lib/duet/{p-20066df8.entry.js → p-c223cd3e.entry.js} +1 -1
- package/lib/duet/{p-8bdcfd1f.entry.js → p-c35ae5a0.entry.js} +1 -1
- package/lib/duet/p-c435bb67.entry.js +4 -0
- package/lib/duet/{p-3def9480.entry.js → p-c6e3723f.entry.js} +1 -1
- package/lib/duet/{p-9b448008.entry.js → p-c7b32952.entry.js} +1 -1
- package/lib/duet/p-c95669be.entry.js +4 -0
- package/lib/duet/{p-1579bdf5.entry.js → p-c987a644.entry.js} +1 -1
- package/lib/duet/p-c9b8c2ba.entry.js +4 -0
- package/lib/duet/{p-ec1d2e0a.entry.js → p-c9bdf927.entry.js} +1 -1
- package/lib/duet/p-cdf0fb4c.entry.js +4 -0
- package/lib/duet/p-d069edf1.entry.js +4 -0
- package/lib/duet/p-ddafe27d.entry.js +4 -0
- package/lib/duet/{p-210bc161.entry.js → p-dfdec452.entry.js} +1 -1
- package/lib/duet/{p-829bccb7.entry.js → p-e0f729ad.entry.js} +1 -1
- package/lib/duet/{p-5f72134e.entry.js → p-e32af858.entry.js} +1 -1
- package/lib/duet/{p-5b322a86.entry.js → p-e353daaf.entry.js} +1 -1
- package/lib/duet/p-e5dbac7a.entry.js +4 -0
- package/lib/duet/p-ec2dcb1b.entry.js +4 -0
- package/lib/duet/{p-9889218e.entry.js → p-ed7fbc44.entry.js} +1 -1
- package/lib/duet/{p-914ee7ac.entry.js → p-ef6ce9dc.entry.js} +1 -1
- package/lib/duet/{p-fc2be136.entry.js → p-fcb9c0db.entry.js} +1 -1
- package/lib/duet/{p-48e77341.entry.js → p-fe821e46.entry.js} +1 -1
- package/lib/duet/p-qboSQpUe.js +4 -0
- package/lib/esm/{a11y-utils--wwGTL0T.js → a11y-utils-DbDY4hy4.js} +1 -1
- package/lib/esm/{app-globals-Diuuep9d.js → app-globals-COfbcvxE.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +8 -8
- 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 +10 -10
- package/lib/esm/duet-card.entry.js +10 -9
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +16 -7
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +32 -25
- package/lib/esm/duet-contact-card.entry.js +8 -7
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +17 -13
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- 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 +12 -8
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +18 -13
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +33 -19
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- 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 +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +12 -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 +8 -8
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +6 -6
- 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 +13 -5
- package/lib/esm/duet-popup-menu_2.entry.js +22 -13
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +8 -8
- 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 +9 -9
- 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 +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 +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +6 -6
- 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-teaser.entry.js +108 -0
- package/lib/esm/duet-textarea.entry.js +20 -11
- package/lib/esm/duet-toggle.entry.js +8 -8
- 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 +10 -10
- package/lib/esm/duet-tooltip.entry.js +5 -5
- 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-S_WrUPeV.js → errorcodes.utils-0XnfYFAn.js} +1 -1
- package/lib/esm/{floating-ui.dom.browser.min-B_NkY9T0.js → floating-ui.dom.browser.min-BQTM1aqo.js} +83 -1
- package/lib/esm/{focus-utils-C4oaajGr.js → focus-utils-BwoMMpkj.js} +1 -1
- package/lib/esm/{index-D3450NfA.js → index-CdcBxXLd.js} +5 -1
- package/lib/esm/{label-C1HF2o4Y.js → label-D835wXCb.js} +1 -1
- package/lib/esm/{language-utils-D4WVl8Ph.js → language-utils-C-lpMyP9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{picture-utils-MSeJTkDk.js → picture-utils-Cl2qK3GJ.js} +7 -2
- package/lib/esm/{slot-utils-Dxcjtmp3.js → slot-utils-BSS0Em_Z.js} +1 -1
- package/lib/esm/{themeable-component-QHdUfcat.js → themeable-component-DQtSOD4i.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
- package/lib/types/components/duet-card/duet-card.d.ts +5 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -1
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +2 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
- package/lib/types/components/duet-input/duet-input.d.ts +11 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +5 -0
- package/lib/types/components/duet-teaser/duet-teaser.d.ts +93 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +8 -1
- package/lib/types/components.d.ts +235 -12
- package/lib/types/utils/picture-utils.d.ts +4 -0
- package/package.json +5 -5
- package/lib/duet/p-054c334d.entry.js +0 -4
- package/lib/duet/p-2bf78fe4.entry.js +0 -4
- package/lib/duet/p-3445529c.entry.js +0 -4
- package/lib/duet/p-3fbe466a.entry.js +0 -4
- package/lib/duet/p-41230630.entry.js +0 -4
- package/lib/duet/p-44e53564.entry.js +0 -4
- package/lib/duet/p-4a251661.entry.js +0 -4
- package/lib/duet/p-4a4e5bb5.entry.js +0 -4
- package/lib/duet/p-6bd78205.entry.js +0 -4
- package/lib/duet/p-6c239923.entry.js +0 -4
- package/lib/duet/p-6d1d1199.entry.js +0 -4
- package/lib/duet/p-81c5d3e3.entry.js +0 -4
- package/lib/duet/p-985213bb.entry.js +0 -4
- package/lib/duet/p-BZev46O8.js +0 -4
- package/lib/duet/p-B_NkY9T0.js +0 -4
- package/lib/duet/p-CyfEm8iD.js +0 -4
- package/lib/duet/p-Dk60lC7n.js +0 -4
- package/lib/duet/p-a49b5d93.entry.js +0 -4
- package/lib/duet/p-a6dbe893.entry.js +0 -4
- package/lib/duet/p-aa7e4c81.entry.js +0 -4
- package/lib/duet/p-dbb9e1d4.entry.js +0 -4
- package/lib/duet/p-e43df9c2.entry.js +0 -4
- package/lib/duet/p-eb7bc989.entry.js +0 -4
- package/lib/duet/p-edcdf0b7.entry.js +0 -4
- package/lib/duet/p-f9db8670.entry.js +0 -4
- package/lib/duet/p-fc1a18f8.entry.js +0 -4
|
@@ -181,17 +181,17 @@ export class DuetRadio {
|
|
|
181
181
|
* Always the last one in the class.
|
|
182
182
|
*/
|
|
183
183
|
render() {
|
|
184
|
-
return (h(Host, { key: '
|
|
184
|
+
return (h(Host, { key: '29c7e9f14ff4c754ebba4120c003a837a0ac32f0', class: {
|
|
185
185
|
vertical: this.groupDirection === "vertical",
|
|
186
186
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
187
187
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
188
188
|
"duet-m-0": this.margin === "none",
|
|
189
|
-
} }, h("div", { key: '
|
|
189
|
+
} }, h("div", { key: 'd2408d28b5d18fd9f039e12263dfea29aebe3b00', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: '73c0247859265711e30f1b2aa9a6d88e8fec2d65', name: "input" }), h("label", { key: '03196671dde4b1ec067e049f1d9a10715fa48cda', inert: true, ref: element => (this.labelElement = element), class: {
|
|
190
190
|
"duet-label": true,
|
|
191
191
|
checked: this.checked,
|
|
192
192
|
focus: this.focus,
|
|
193
193
|
disabled: this.disabled || this.groupDisabled,
|
|
194
|
-
} }, h("div", { key: '
|
|
194
|
+
} }, h("div", { key: '49caed7ab06483a88f1ec6e13b42d58bbd6d0c49', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
|
|
195
195
|
}
|
|
196
196
|
static get is() { return "duet-radio"; }
|
|
197
197
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
|
|
|
158
158
|
* Always the last one in the class.
|
|
159
159
|
*/
|
|
160
160
|
render() {
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'b2b6d23b32ce0192c2793ac76f8178b4658abf78', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '51275fe0f808f32e82bda0389f306546f006eb9d', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'f12dac2f01fd32293e7d075e70ecedad6695709e', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'bb8d90fd7e329d57129fc7594ad6cd13e142fe3c', name: "tooltip", slot: "tooltip" }), h("div", { key: 'c49b8642d476b6b3a43d286481523adf573d5232', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '7a0f2eb3f85a4ac1803ae0be898aadc1360a98ea' })))));
|
|
162
162
|
}
|
|
163
163
|
static get is() { return "duet-radio-group"; }
|
|
164
164
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,13 +156,13 @@ export class DuetRangeSlider {
|
|
|
156
156
|
const rangeStyles = {
|
|
157
157
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
158
158
|
};
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '740ff7d06f193b8bfe148e68702228b0e969e177', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'd401cbcaed967a4f946771a878893bbdf5b8b765', class: {
|
|
160
160
|
"duet-range-container": true,
|
|
161
161
|
"duet-label-hidden": this.labelHidden,
|
|
162
162
|
"duet-theme-turva": this.theme === "turva",
|
|
163
163
|
"duet-ie": isInternetExplorer(),
|
|
164
164
|
"duet-range-disabled": this.disabled,
|
|
165
|
-
} }, h(DuetInternalLabel, { key: '
|
|
165
|
+
} }, h(DuetInternalLabel, { key: 'd19d2ae90fe8aba1b8894566f9cd1c445c56df7a', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: 'c596df8a741761dd493cf18adf08f7f0f1f4b94f', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: 'de318d3817d8f23921312361fe2f35fa9b79dc88', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
166
166
|
}
|
|
167
167
|
static get is() { return "duet-range-slider"; }
|
|
168
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -196,10 +196,10 @@ export class DuetRangeStepper {
|
|
|
196
196
|
* Always the last one in the class.
|
|
197
197
|
*/
|
|
198
198
|
render() {
|
|
199
|
-
return (h("div", { key: '
|
|
199
|
+
return (h("div", { key: 'ee60a3b8c9a38eef22d54525e2173980f4471a80', class: {
|
|
200
200
|
"duet-range-stepper": true,
|
|
201
201
|
"duet-theme-turva": this.theme === "turva",
|
|
202
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '
|
|
202
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '802f99d51d6cab2ed946337466def72d9fdad351', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '396ccc56f5b5617029313bc1ade243103a5b1a2a', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: '90f158af1224b99186b4b24b6089b37afa9264f0', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
203
203
|
}
|
|
204
204
|
static get is() { return "duet-range-stepper"; }
|
|
205
205
|
static get encapsulation() { return "shadow"; }
|
|
@@ -284,18 +284,18 @@ export class DuetScrollable {
|
|
|
284
284
|
* Always the last one in the class.
|
|
285
285
|
*/
|
|
286
286
|
render() {
|
|
287
|
-
return (h(Host, { key: '
|
|
287
|
+
return (h(Host, { key: '8c26c49fa79b5ae44744540e1910fc5cd23e2280', class: {
|
|
288
288
|
"duet-theme-turva": this.theme === "turva",
|
|
289
289
|
"duet-theme-default": this.theme === "default",
|
|
290
|
-
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: '
|
|
290
|
+
} }, this.hasCollapseButtonLabelSlot && (h("div", { key: 'a56b751635fce29f6cd1838c696267913e1a8bb7', class: {
|
|
291
291
|
collapse: true,
|
|
292
292
|
hide: !this.needsScrolling && !this.collapsed,
|
|
293
|
-
} }, h("duet-button", { key: '
|
|
293
|
+
} }, h("duet-button", { key: '5dbff0b7fbcdc5be8d30276efc1d537e14715133', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: 'eba374d5ac518957c878f5c8b7610cc749776908', name: "collapse-button-label" })))), h("div", { key: '3aa49b4cc6c52939d07e56f53aa02f915cc94dfd', class: {
|
|
294
294
|
"duet-scrollable-items": true,
|
|
295
295
|
buttons: this.buttons,
|
|
296
296
|
center: this.center,
|
|
297
297
|
"duet-theme-turva": this.theme === "turva",
|
|
298
|
-
} }, this.buttons && this.renderButton("left"), h("div", { key: '
|
|
298
|
+
} }, this.buttons && this.renderButton("left"), h("div", { key: 'c85bf3929c372cbea0b8be43f5e9aa912ef0df2e', class: {
|
|
299
299
|
"duet-scrollable-list": true,
|
|
300
300
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
301
301
|
[`gap-${this.gap}`]: true,
|
|
@@ -303,7 +303,7 @@ export class DuetScrollable {
|
|
|
303
303
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
304
304
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
305
305
|
"duet-scrollable-stretch": this.stretch,
|
|
306
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '
|
|
306
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'a5b51ed3a159ce2b580850e8973800c75af4b3d5' })), this.buttons && this.renderButton("right"))));
|
|
307
307
|
}
|
|
308
308
|
static get is() { return "duet-scrollable"; }
|
|
309
309
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,13 +24,13 @@ export class DuetSectionLayout {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: 'b94e0fb95034731dd6fa96fd68011589fef87858', class: {
|
|
28
28
|
"duet-middle": this.middle,
|
|
29
29
|
"duet-ie": isInternetExplorer(),
|
|
30
|
-
} }, h("div", { key: '
|
|
30
|
+
} }, h("div", { key: '12e1c3868a43482d02a1e9103593015035dfce3d', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '058f4850f071237d9fa1eb4eec97f760b8113a25', class: {
|
|
31
31
|
"duet-layout": true,
|
|
32
32
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
33
|
-
} }, h("section", { key: '
|
|
33
|
+
} }, h("section", { key: '6138f2dda261d7823a9b6b5db4e0c8c7d7e0a335', class: "duet-main" }, h("slot", { key: '3d190b45ea4e7c773c4c74c12486c802d8067536' }))))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "duet-section-layout"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -197,23 +197,23 @@ export class DuetSelect {
|
|
|
197
197
|
*/
|
|
198
198
|
render() {
|
|
199
199
|
const identifier = this.identifier || this.selectId;
|
|
200
|
-
return (h(Host, { key: '
|
|
200
|
+
return (h(Host, { key: '05edeb2d61b86141dafcb6a3a124497b41bb0242', class: {
|
|
201
201
|
"duet-m-0": this.margin === "none",
|
|
202
202
|
"duet-expand": this.expand,
|
|
203
203
|
[`duet-select-variation-${this.variation}`]: true,
|
|
204
|
-
} }, h("div", { key: '
|
|
204
|
+
} }, h("div", { key: '897d4e5471ec22b463adb6629b2d3c7ed2e4c8e1', class: {
|
|
205
205
|
"duet-select-container": true,
|
|
206
206
|
"duet-label-hidden": this.labelHidden,
|
|
207
207
|
"duet-theme-turva": this.theme === "turva",
|
|
208
208
|
[`duet-select-variation-${this.variation}`]: true,
|
|
209
209
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
210
210
|
"has-error": !!this.error,
|
|
211
|
-
} }, h(DuetInternalLabel, { key: '
|
|
211
|
+
} }, h(DuetInternalLabel, { key: '50c26fd239285a6a168f54f0974c94fa4d5ccc5e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '3337a7a9d80314cd7bd69816200ea8adc9ed64cc', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'e59013542be31c7f564f347ac36c6c58716c1fad', name: "tooltip" }), this.caption && (h("duet-caption", { key: '6f9a2f7d3b1891be67ef2d99320466d6b89d4945', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '856cb3b0e207b4c440b9542c3aed96f5d35b3c3b', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '20ca49020566bd26705715a12279ad043ea0d40d', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: '5d2dd785db740afbe15e754d2080f39fb93534fb' }), h("select", { key: '2e2f8e99ae58d570c4756ae8801ce5d1293ae806', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: 'a6b868ec1eefe2c508c38a73a97d1e19f1e04f14', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
212
212
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
213
|
-
}))), h("div", { key: '
|
|
213
|
+
}))), h("div", { key: 'bb4b1ce4fcc1ced68464eb4e89e65b2f31d9c489', class: {
|
|
214
214
|
"duet-select": true,
|
|
215
215
|
[`duet-select-variation-${this.variation}`]: true,
|
|
216
|
-
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: '
|
|
216
|
+
}, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'dd8a6f6455d08d562c17bc41295567fbf6c2b756', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'efc3261cede3e5ec10932481cd2a2415bb4ff6b3', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { key: '973409781026e93c2b343a47895c2051152ccf66', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: '8c4375727be85a26ebc724cefb69600193a5a3af', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '184737a1361d67fc58be1e54e92ce17b1e9b9d9b', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '20bb85898431127cd66bc9b71ac18b99d9075ae7', class: "duet-select-error" }, this.error)))));
|
|
217
217
|
}
|
|
218
218
|
static get is() { return "duet-select"; }
|
|
219
219
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,9 +33,9 @@ export class DuetShapedImage {
|
|
|
33
33
|
const style = {
|
|
34
34
|
"--rotation": `${this.rotation}deg`,
|
|
35
35
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '7b1d056821d3a87f329524519264ae42642f79b2', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: 'cfee37d6e11b4c774057f6e93efc6b4411b4535c', class: {
|
|
37
37
|
"shaped-image": true,
|
|
38
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '
|
|
38
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '1b81306ffb9c9c34a2301b952ed6894705f2cb03', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'de6e0992fec3395802b4ed7863e969b26405a329', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-shaped-image"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,12 +63,12 @@ export class DuetShareChart {
|
|
|
63
63
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'cbf28a10c67b0f2b45f925b2fc1e3307eb28b417' }, h("div", { key: '5d21486e2571bf894d01ff990a144334a1c54690', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
|
|
67
67
|
.filter(i => !!i.value)
|
|
68
68
|
.map(item => (h("span", { class: "duet-share-chart-share", style: {
|
|
69
69
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
70
70
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
71
|
-
} })))), h("ul", { key: '
|
|
71
|
+
} })))), h("ul", { key: 'd292d9aecfdbc152d1c2cc8beb81abb295580fe7', 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", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '12967cf08700fdf0fee3741b3ba552c6eb89d565' })));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "duet-share-chart"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class DuetShareChartItem {
|
|
|
10
10
|
this.value = 0;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'a4f958f8110b3d7c6c18999ab4c96346923715e6' }, h("div", { key: 'e0253794e39235b6e3f93d475c7a84a21f9ae8ef', hidden: true }, h("slot", { key: '8ce6f29e00278febb2225437385987fcfac48eb7' }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "duet-share-chart-item"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -136,12 +136,12 @@ export class DuetShowMore {
|
|
|
136
136
|
* Always the last one of the class.
|
|
137
137
|
*/
|
|
138
138
|
render() {
|
|
139
|
-
return (h(Host, { key: '
|
|
139
|
+
return (h(Host, { key: '9afe7d7d486b0149b0d7d0f2f565ebed0a06125b' }, h("div", { key: '68e86cab291190cd4e56871e3dbb8456a8e67a8e', class: {
|
|
140
140
|
"duet-show-more": true,
|
|
141
141
|
"duet-theme-turva": this.theme === "turva",
|
|
142
142
|
"duet-m-0": this.margin === "none",
|
|
143
143
|
open: this.open,
|
|
144
|
-
} }, h("div", { key: '
|
|
144
|
+
} }, h("div", { key: '3e95652047d8e72819869f278ae30a1c2c387f6c', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'be27b4b6e37c644fc4022ab4b628adb4f220a08d', class: { "slotted-content": true } }, h("slot", { key: 'f0f1bb220a099f21340da94176c281667a8a5287' }))), h("duet-button", { key: '04759c15d2218db3332056e41d1ee5725237aba0', 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: '6219f2cd6af88b56a9e829bf667e00565b7a8109' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "duet-show-more"; }
|
|
147
147
|
static get encapsulation() { return "shadow"; }
|
|
@@ -302,17 +302,17 @@ export class DuetSlideout {
|
|
|
302
302
|
};
|
|
303
303
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
304
304
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
305
|
-
return (h(Host, { key: '
|
|
305
|
+
return (h(Host, { key: 'c5298a04c706d21901c666657d022fbf6ac2ccbf' }, h("div", { key: 'f449518506a39eb2112fe07828e9d345b225cb39', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'b6e2a80e4cf4e73870a108661bf73a29b41e7e85', visible: this.open, zIndex: "600" }), h("div", { key: '53b4cf1cef91b08e31c8c1a39d98a327c6d6f409', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
306
306
|
dialog: true,
|
|
307
307
|
hidden: !this.open,
|
|
308
308
|
modal: this.modal,
|
|
309
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
309
|
+
}, style: styles }, h(FocusGuard, { key: 'babca49248ba28d1e2811593058ee32742712507', moveFocusTo: this.closeButton }), h("div", { key: '75123b9e195240e64ad91ca08d38f2b8333ae8fc', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '4d8806dd671066b064e4f7176332b756d654080b', class: "top" }, h("button", { key: 'f4aee0f201feb52d93f93d9a52a28912860c7614', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
310
310
|
"slideout-close": true,
|
|
311
311
|
active: this.open,
|
|
312
312
|
"duet-theme-turva": this.theme === "turva",
|
|
313
|
-
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '
|
|
313
|
+
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '548f982fcbb29297168b949fdeb169765ad3615a', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '22bc0ca96855476ea148c016e7434be2beee9823', class: "sticky-header" }, h("slot", { key: 'ab6575d6303c56291d08d6276f150216de2e17d5', name: "sticky-header" }))), h("div", { key: 'cb6c393cb05fd8be1d487755cc123786e93ccfb6', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
314
314
|
items: true,
|
|
315
|
-
} }, h("slot", { key: '
|
|
315
|
+
} }, h("slot", { key: 'efd0a4ced368a63a52de97e6ca0416461d4e0dfc' })), h(FocusGuard, { key: '395ee2fb97043653972a9082f82f6a423abfcbfe', moveFocusTo: this.closeButton })))));
|
|
316
316
|
}
|
|
317
317
|
static get is() { return "duet-slideout"; }
|
|
318
318
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
|
|
|
38
38
|
*/
|
|
39
39
|
render() {
|
|
40
40
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '4553d896b4bfdb640ba3d098ea57128d964a19b6' }, h("div", { key: 'e296a886f0cb3243458c937866a41f2b4be3a538', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: 'bb80517845c1ee6384be27ed48efc598befb18b3', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: '8bd61a2b46aa5d6f488d1ef61d260ca1f2d6c698' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "duet-slideout-lang"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
|
|
|
77
77
|
* Always the last one in the class.
|
|
78
78
|
*/
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '0fa4145e0ed6826a49aafd34c4ca247e7f2960e8' }, h("a", { key: '8b44ab4f3639e42c46dd9868586eb42a6066f808', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
81
81
|
"duet-slideout-link": true,
|
|
82
82
|
"duet-theme-turva": this.theme === "turva",
|
|
83
83
|
active: this.active,
|
|
84
84
|
[this.size]: true,
|
|
85
|
-
}, 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: '
|
|
85
|
+
}, 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: '7de46db5dc6aee8706a63e96c136aa36b3092716', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: 'edf5b92481f2c7678b5e8d74dd08f62c60875593', class: "label" }, h("span", { key: 'df63061c436078c2decf3ebaabb2e7909ec6df2b' }, h("span", { key: '79e134bfc5b40595760793751a4dfde4b4895638', class: "label-container" }, h("span", { key: 'a69d00a9b25e5ff0a709c27bd5418691a20eb1e3', class: "label-content" }, h("slot", { key: 'abf04341872118d105d8703dca1566d6aa33f6ea' })), this.external && (h("duet-icon", { key: '695eb8fbfe860d0dc19475a255139f9c042ad9e9', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '1587bcc9a12db87d4c4c153d6e938ca136acfedc', name: "description" })), this.caret && (h("duet-icon", { key: 'd40e0716e4dfa8a6b20fbeebb8c19b6868c11087', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "duet-slideout-link"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -174,25 +174,25 @@ export class DuetSlideoutPanel {
|
|
|
174
174
|
};
|
|
175
175
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
176
176
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
177
|
-
return (h(Host, { key: '
|
|
177
|
+
return (h(Host, { key: 'd6f887a4066a57a089fbb66e8dcf9738025fcf32' }, h("div", { key: '9e4366a8bf2394467c60c58d9c6e28d3a73eeb70', class: {
|
|
178
178
|
"duet-slideout-panel": true,
|
|
179
179
|
"duet-theme-turva": this.theme === "turva",
|
|
180
180
|
active: this.open,
|
|
181
|
-
} }, this.badge && h("duet-indicator", { key: '
|
|
181
|
+
} }, this.badge && h("duet-indicator", { key: '8653c304ca1073549efb1b3b1e530c1d44a414de', variation: "change" }), h("button", { key: 'b5597ee44dfd1e7cd694670e16a6c89cfbac979d', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
182
182
|
link: true,
|
|
183
183
|
active: this.active,
|
|
184
184
|
"duet-theme-turva": this.theme === "turva",
|
|
185
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '
|
|
185
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '72c123b4d7dafd5c7f390c38422ec80206d0f2c1', class: "duet-slideout-icon" }, h("duet-icon", { key: '28a9b256bb5d354e8da1c5f7221781e727d800e8', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '202044837e321fbacb1ff3cee181a7bef41d0119', class: "label" }, h("span", { key: 'f638d3d0ef1668cf7d427de10ac54e74b39011db', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '3c854c284b0b9efb93e849ca20595949f8436e58', name: "label" })), h("duet-icon", { key: '05ab8ab345187d418d2e847ea7b9fb95b9df48ac', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '4997c8cf6f2f442211a671c1f996e7f0a5bad5b0', ref: element => (this.dialog = element), class: {
|
|
186
186
|
dialog: true,
|
|
187
187
|
hidden: !this.open,
|
|
188
|
-
}, style: styles }, h(FocusGuard, { key: '
|
|
188
|
+
}, style: styles }, h(FocusGuard, { key: '3d7fbcc1526cc861f8b8ed25cd150cd0776e41e2', moveFocusTo: this.closeButton }), h("div", { key: '6263ee14fb4ed01b3882fd5aee6072085b4d2673', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '7129481501bde51cde421266fa427feb71d60e96', class: "top" }, h("button", { key: '9c9b4a36175962ecfd9d4d55315a6f7387dd83fb', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
189
189
|
back: true,
|
|
190
190
|
"duet-theme-turva": this.theme === "turva",
|
|
191
|
-
}, onClick: this.onClick }, h("duet-icon", { key: '
|
|
191
|
+
}, onClick: this.onClick }, h("duet-icon", { key: 'd993b8b1ca9f1dd5246c09d0aa6c1e2af14f8404', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '7548145c9fefcb76a430cc3ab53c4dce08c0e244' }, this.label.innerHTML), h("button", { key: '05f09bf1036ae0db17edd1f0dccbc3e67a0d3e78', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: 'eb271988b011397d50d77fb303e0902d987ea717', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '14aa2af7d6c1c6671056fed4a92d1982a24da715', class: "sticky-header" }, h("slot", { key: 'ceace8c522d5236bc7814d85aed1fefb88645c63', name: "sticky-header" }))), h("div", { key: 'a21d4a36e5a0d09ec6d2352c78a40ab9b7d26b94', tabindex: "-1", role: "menu",
|
|
192
192
|
//TODO: slideout menu fades out, needs to be instant
|
|
193
193
|
id: "menu", "aria-labelledby": "button", class: {
|
|
194
194
|
items: true,
|
|
195
|
-
} }, h("slot", { key: '
|
|
195
|
+
} }, h("slot", { key: '59691db3416b43696ca5620275e7be271cc84595' })), h(FocusGuard, { key: 'd1840ad6416502b10cd8bfe89c091c5265fc89ac', moveFocusTo: this.closeButton })))));
|
|
196
196
|
}
|
|
197
197
|
static get is() { return "duet-slideout-panel"; }
|
|
198
198
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js
CHANGED
|
@@ -52,18 +52,18 @@ export class DuetSlideoutPanelDropdown {
|
|
|
52
52
|
* Always the last one in the class.
|
|
53
53
|
*/
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'b8179a5080947725342d197344710fbb8c99fee2' }, h("div", { key: 'dfb6f63b98b77618b5f556d2008bb2745c5164ac', class: {
|
|
56
56
|
"duet-slideout-panel-dropdown": true,
|
|
57
57
|
"duet-theme-turva": this.theme === "turva",
|
|
58
58
|
active: this.open,
|
|
59
|
-
} }, h("button", { key: '
|
|
59
|
+
} }, h("button", { key: '6a31f384af8ec340aa0d26d3fb18efe76855d18b', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
60
60
|
active: this.active,
|
|
61
61
|
"duet-theme-turva": this.theme === "turva",
|
|
62
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '
|
|
62
|
+
}, onClick: this.onClick }, this.icon && h("duet-icon", { key: '10ffc7f65f631843ec04d4a016061155033d633e', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: 'de2ae3fe7a4de7974c3b839d245449d8b7268abc', class: "label" }, h("slot", { key: 'e2f3a31a59d5baf185f7a49076b5fa47d2a9eba2', name: "label" }), h("duet-icon", { key: '654ec9b0d065f01e1f144c3de8838ccd9a16a38c', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'e14ff7d4a35724a16e4463d19c7ac7abfa1e2aa7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
63
63
|
items: true,
|
|
64
64
|
hidden: !this.open,
|
|
65
65
|
"duet-theme-turva": this.theme === "turva",
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: 'd2ccb0322e0d7b4a2bb757bd5d23cebfe60db960' })))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "duet-slideout-panel-dropdown"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,7 +23,7 @@ export class DuetSpacer {
|
|
|
23
23
|
* Always the last one in the class.
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'd6cd3738f2f7e8184419c36dab8844ba5bbb5e1e', class: {
|
|
27
27
|
"duet-spacer": true,
|
|
28
28
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
29
29
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -25,7 +25,7 @@ export class DuetSpinner {
|
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
27
|
const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '2bc7c46f85e5bc998bdacbd35c9c1446f69cbafb' }, h("div", { key: '7d7f56f381399e446b907acf07560819c0cbe769', class: {
|
|
29
29
|
"duet-spinner": true,
|
|
30
30
|
[this.size]: true,
|
|
31
31
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -85,11 +85,11 @@ export class DuetStatusIcon {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: '1ca69dd10d6b02ca1861ed79ca6893995846297a', class: {
|
|
89
89
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
90
90
|
"duet-strong-bg": this.strong,
|
|
91
91
|
"duet-m-0": this.margin === "none",
|
|
92
|
-
} }, h("duet-icon", { key: '
|
|
92
|
+
} }, h("duet-icon", { key: 'fa7ba272523dad56aca0e17ce988da0f737ba2dd', icon: this.getIcon(), size: this.size, margin: "none" })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "duet-status-icon"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -93,13 +93,13 @@ export class DuetStep {
|
|
|
93
93
|
* Always the last one in the class.
|
|
94
94
|
*/
|
|
95
95
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: '410f3ba5a4c08c17e565dca5914c6397a8b4a9bb', class: {
|
|
97
97
|
"duet-step": true,
|
|
98
98
|
[`is-${this.state}`]: true,
|
|
99
99
|
"rounded-top": this.roundedTop,
|
|
100
100
|
"rounded-bottom": this.roundedBottom,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
|
-
} }, h("div", { key: '
|
|
102
|
+
} }, h("div", { key: 'c32f962589b722dd4cdff4570236e5461844d9f2', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '534b449b0149f14c71c8a255e97f438f1fb534b3', "aria-hidden": "true" }, h("div", { key: '83026292f5ad4c4fd49cfb3eabd2788af1fd4780', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '40bd8de5bb73973ce94b92840593dfa62db9652d', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'e821c6539548079ca25a9bf9fb2a23c3514933de', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: 'a30345d3bc25835f4f949a35cc5f904dddd23d89' }, h("duet-heading", { key: '5bff2f4ba60be7e1fc9055a5768e9833185ab3aa', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '975fd245cc2446e5e5512e14d2321c52e14fb956', direction: "horizontal", size: "large" }), h("div", { key: '3fcc998e525a6466b3e3145ff3761785e90ec3b8', class: "duet-step-heading-slot" }, h("slot", { key: 'e9d50a730784ed9bd962dca7d877ad087fa4609d', name: "heading-content" }))), h("div", { key: '55ac85266d0d99b8395ea4767eb4ac2286803ec5', class: "duet-step-content-wrapper" }, h("div", { key: 'aba80e085e8739ac8c87c4e1ead392b3d1965017', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'e45dc448e50cc6a3a025de1c1869e1dca0591caa' })))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "duet-step"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class DuetStepper {
|
|
|
118
118
|
* Always the last one in the class.
|
|
119
119
|
*/
|
|
120
120
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'ad7496622f65e7ea3efc00cd1d5cde5f83bee8de', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '6a48c6be81c8b46c82d4b3004b28ce5c7b50c345', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: 'b121f34975d226d3dc3bfc78c30507d0d8ad359f', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: '6cc98ee6e6fde161ec959cceee943d8e13e9054d' }))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "duet-stepper"; }
|
|
124
124
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
|
|
|
131
131
|
* Always the last one in the class.
|
|
132
132
|
*/
|
|
133
133
|
render() {
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '816ecf621e240e3cf6a2288aab18767528ef10b0' }, h("nav", { key: 'aee92ffb8c65faaa013ddfdf10c40ec4f467030f', class: {
|
|
135
135
|
"duet-submenu-bar": true,
|
|
136
136
|
"duet-theme-turva": this.theme === "turva",
|
|
137
137
|
hidden: this.hidden,
|
|
138
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '
|
|
138
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: 'c6d43080e7c320cfb23321f04aaf242a00d08a0d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
139
139
|
active: this.open,
|
|
140
|
-
}, onClick: this.onClick }, h("span", { key: '
|
|
140
|
+
}, onClick: this.onClick }, h("span", { key: '724fe14b534bb7275701c6ee57f6eba306ed21ce', class: "label" }, h("slot", { key: '1e761ff10257510e5a44b581d3c6bbae8e3fd1f2', name: "label" }), h("duet-icon", { key: 'ca72a4a98873e59b5dfd602408c05913de7b7070', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: 'beed4388ee3ff813baa6c1fe93c8bfddb6c7529f', class: {
|
|
141
141
|
"menu-container": true,
|
|
142
142
|
hidden: !this.open,
|
|
143
|
-
}, role: "presentation" }, h("div", { key: '
|
|
143
|
+
}, role: "presentation" }, h("div", { key: 'e294e75a427015c1cbbde13893a39ea85f1f7835', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
144
144
|
items: true,
|
|
145
145
|
hidden: !this.open,
|
|
146
|
-
}, ref: element => (this.itemsContainer = element) }, h("div", { key: '
|
|
146
|
+
}, ref: element => (this.itemsContainer = element) }, h("div", { key: '99cf2dbeac35681c212fa459d303036f74c6e66e', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: 'fb30bed27a6b2d3dc7289043e4814b5aa076e210' }), h("div", { key: '09ccbcb5e99b2579ea961dddbdda729420d0f43f', class: "list-padding" }))), h("duet-overlay", { key: 'c95ed4b5f791d6c6cab6ade6fb4269a00dc4af1d', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
147
147
|
}
|
|
148
148
|
static get is() { return "duet-submenu-bar"; }
|
|
149
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
|
|
|
108
108
|
* Always the last one in the class.
|
|
109
109
|
*/
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'b51e8416e33625711e381e53bec0724889b3d4a1', role: "listitem" }, h("div", { key: '44c9b2f36c4579b75175240b1ab037d48fabed5d', class: {
|
|
112
112
|
"duet-submenu-bar-dropdown": true,
|
|
113
113
|
"duet-theme-turva": this.theme === "turva",
|
|
114
114
|
open: this.open,
|
|
115
115
|
active: this.active,
|
|
116
|
-
} }, h("button", { key: '
|
|
116
|
+
} }, h("button", { key: '9142786ada48453874be341a2409d16c83e91347', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
117
117
|
open: this.open,
|
|
118
118
|
active: this.active,
|
|
119
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
119
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'e0dba09b06d16f60131bf1ac7744e7867e77a9c3', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'da38470a493fbbae28f1e9ab1217f63fa8106937', class: "label" }, h("span", { key: '64980453db932e88d8dfe8f88f28e1aa5eb14c66', class: "label-text" }, h("slot", { key: 'f8dc584414a25bd7ab46519ebc01e0b9f1892db0', name: "label" })), h("duet-icon", { key: '1ede41bfa5de2236c4f2d1dbfc3c470864710fca', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '18aec6f6c56e6b784c2e74fe652e9cce530b675f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
120
120
|
items: true,
|
|
121
121
|
hidden: !this.open,
|
|
122
|
-
} }, h("slot", { key: '
|
|
122
|
+
} }, h("slot", { key: '8dc7c90b3bf98db886ad26d888b54899eb399a29' })))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "duet-submenu-bar-dropdown"; }
|
|
125
125
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js
CHANGED
|
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '46fc9ecd76bd0715d98c22b8e9b0fc81fa13b151' }, h("a", { key: '3bd490d3d6485f2a2aa481cbcd294c76f18670ec', class: {
|
|
53
53
|
"duet-submenu-bar-dropdown-link": true,
|
|
54
54
|
"duet-theme-turva": this.theme === "turva",
|
|
55
55
|
highlight: this.highlight,
|
|
56
56
|
active: this.active,
|
|
57
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '
|
|
57
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'ad47b72b28599ba487f8c98ed70b01514e3e1086', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: 'df8c68c67625c6c7c4ef9363225bdddc13946d6f', class: "label-container" }, h("span", { key: '2befba9fc4edcedfc11cd3554439fa795d8baaf3', class: "label" }, h("slot", { key: '0ff3ae9e9ea866cc6bf02cf51ef3c157101164b5' })), this.caret && h("duet-icon", { key: '5206b89fd11d42de2c5072746c8a0de5d01e8236', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '4ef4476f43c827135b27937299b87b29e8026412', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "duet-submenu-bar-dropdown-link"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
|
|
|
80
80
|
render() {
|
|
81
81
|
const TagName = this.url ? "a" : "button";
|
|
82
82
|
const role = this.url ? "link" : "button";
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: 'a6d866946b9ba85265cc7df4d98403697d619606', role: "listitem" }, h(TagName, { key: '32a6f64535cfb4468e4df774b840203265d183d8', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '49ecd11776943249f4563c1131a9f76dff3914e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'b129913e594e27a973bd72edcb1cde1eb5cb3e1e', class: "label" }, h("span", { key: '0f6a39e368b2e40b6ba401586fc4daa9442cf8f0', class: "label-text" }, h("slot", { key: '00bfacd528e419c0e68e6d9c8040d36f0cc0b71c' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'e44a9f410642e5acd3f79250bf80844393789527', class: {
|
|
84
84
|
"trailing-icon": !!this.trailingIcon,
|
|
85
85
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
86
86
|
"external-icon": !!this.external,
|
|
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
|
|
|
41
41
|
* Always the last one in the class.
|
|
42
42
|
*/
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '61a7e1fc2b326138c7cfc134690d1c4f190fe946', role: "listitem" }, h("a", { key: 'd5322e03b0df04c31a0937d405679c24674b35d6', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '5f5def1255fed4d06a745760805a4d5305165c2e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '5c0f68184f743f8252c0a05efa52fbd7b6bcd5c0', class: "label" }, h("slot", { key: 'd372e57f8d53c24773f8f0583e73194abeab8601' })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-submenu-bar-link"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|