@duetds/components 10.0.0-alpha.30 → 10.0.0-alpha.31
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 +110 -90
- package/hydrate/index.mjs +110 -90
- package/lib/cjs/{a11y-utils-D2e4DE4A.js → a11y-utils-DDfmTUFZ.js} +1 -1
- package/lib/cjs/{app-globals-P2FPiN9v.js → app-globals-BUWupN9p.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 +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +14 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +13 -24
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
- package/lib/cjs/duet-card.cjs.entry.js +7 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +15 -9
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-indicator.cjs.entry.js +12 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +7 -7
- package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +13 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +14 -14
- package/lib/cjs/duet-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +5 -5
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +5 -5
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +4 -4
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +6 -6
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-B_Hqvx-5.js → errorcodes.utils-HU_3reMl.js} +1 -1
- package/lib/cjs/{focus-utils-B7QfRXd-.js → focus-utils-DHGNKs9U.js} +1 -1
- package/lib/cjs/{index-B1t_Yumd.js → index-CKsfMbRW.js} +1 -1
- package/lib/cjs/{label-e--2ISFA.js → label-DbnS5tex.js} +1 -1
- package/lib/cjs/{language-utils-Ce6b_uA3.js → language-utils-CYOjMfnd.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-C8k-6Rvc.js → slot-utils-D4QyzHw3.js} +1 -1
- package/lib/cjs/{themeable-component-DmPMm0Cz.js → themeable-component-BuC0WY98.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.css +3 -0
- package/lib/collection/components/duet-banner/duet-banner.css +24 -4
- package/lib/collection/components/duet-banner/duet-banner.js +29 -4
- package/lib/collection/components/duet-button/duet-button.css +19 -2
- package/lib/collection/components/duet-card/duet-card.css +4 -1
- package/lib/collection/components/duet-card/duet-card.js +22 -3
- package/lib/collection/components/duet-chip/duet-chip.css +3 -0
- package/lib/collection/components/duet-choice/duet-choice.css +9 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
- package/lib/collection/components/duet-footer/duet-footer.js +1 -1
- package/lib/collection/components/duet-grid/duet-grid.js +6 -5
- package/lib/collection/components/duet-hero/duet-hero.js +30 -5
- package/lib/collection/components/duet-indicator/duet-indicator.css +4 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +35 -1
- package/lib/collection/components/duet-link/duet-link.css +3 -0
- package/lib/collection/components/duet-logo/duet-logo.css +3 -0
- package/lib/collection/components/duet-modal/duet-modal.js +2 -2
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +3 -0
- package/lib/collection/components/duet-notification/duet-notification.css +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +9 -2
- package/lib/collection/components/duet-number-input/duet-number-input.css +3 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +3 -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.css +3 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +21 -2
- package/lib/collection/components/duet-radio/duet-radio.css +6 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +3 -0
- package/lib/collection/components/duet-select/duet-select.css +3 -0
- package/lib/collection/components/duet-slideout/duet-slideout.css +9 -12
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +5 -14
- package/lib/collection/components/duet-spinner/duet-spinner.js +13 -26
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -15
- package/lib/collection/components/duet-textarea/duet-textarea.css +3 -0
- package/lib/collection/components/duet-toggle/duet-toggle.css +3 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-963f5510.entry.js → p-06db096d.entry.js} +1 -1
- package/lib/duet/{p-3f932150.entry.js → p-0d373228.entry.js} +1 -1
- package/lib/duet/p-15d39d1f.entry.js +4 -0
- package/lib/duet/p-16caa5b6.entry.js +4 -0
- package/lib/duet/{p-67cbf570.entry.js → p-18c37a64.entry.js} +1 -1
- package/lib/duet/p-1e78e2c1.entry.js +4 -0
- package/lib/duet/{p-11dc2ca3.entry.js → p-1ff6c95a.entry.js} +1 -1
- package/lib/duet/{p-5c4687b0.entry.js → p-208c5266.entry.js} +1 -1
- package/lib/duet/{p-2f34aa4c.entry.js → p-22297e2c.entry.js} +1 -1
- package/lib/duet/{p-39e7cc4b.entry.js → p-23ab5f9a.entry.js} +1 -1
- package/lib/duet/p-26948251.entry.js +4 -0
- package/lib/duet/{p-64db9820.entry.js → p-28568a2e.entry.js} +1 -1
- package/lib/duet/p-2892dd48.entry.js +4 -0
- package/lib/duet/{p-da90aae6.entry.js → p-2a1cbe32.entry.js} +1 -1
- package/lib/duet/{p-ba0fc0f3.entry.js → p-309afd7a.entry.js} +1 -1
- package/lib/duet/{p-dceb943b.entry.js → p-3555559c.entry.js} +1 -1
- package/lib/duet/p-391d7483.entry.js +4 -0
- package/lib/duet/{p-52bb0826.entry.js → p-3aecdd96.entry.js} +1 -1
- package/lib/duet/{p-b8e1621d.entry.js → p-3d6a1cbd.entry.js} +1 -1
- package/lib/duet/{p-df64aa65.entry.js → p-4266fbf1.entry.js} +1 -1
- package/lib/duet/{p-ae22406a.entry.js → p-49cec27c.entry.js} +1 -1
- package/lib/duet/p-4a54f0ec.entry.js +4 -0
- package/lib/duet/{p-9fe9aaec.entry.js → p-4a6a79ac.entry.js} +1 -1
- package/lib/duet/p-4b6399eb.entry.js +4 -0
- package/lib/duet/{p-4efa7172.entry.js → p-4e05a8a2.entry.js} +1 -1
- package/lib/duet/{p-3c5f5035.entry.js → p-509d502b.entry.js} +1 -1
- package/lib/duet/{p-835532a3.entry.js → p-534e3e7e.entry.js} +1 -1
- package/lib/duet/{p-9fd3fbde.entry.js → p-53eddd20.entry.js} +1 -1
- package/lib/duet/{p-11303551.entry.js → p-5470d3ee.entry.js} +1 -1
- package/lib/duet/{p-89119c58.entry.js → p-5540e106.entry.js} +1 -1
- package/lib/duet/{p-625bf656.entry.js → p-581bd1e2.entry.js} +1 -1
- package/lib/duet/{p-ac7bf279.entry.js → p-594e10ea.entry.js} +1 -1
- package/lib/duet/{p-c74cd476.entry.js → p-5c0847ed.entry.js} +1 -1
- package/lib/duet/{p-e057762a.entry.js → p-5eaf6c14.entry.js} +1 -1
- package/lib/duet/p-60102fbf.entry.js +4 -0
- package/lib/duet/{p-2f0a1808.entry.js → p-6952b6c4.entry.js} +1 -1
- package/lib/duet/{p-cf054af5.entry.js → p-69fcd700.entry.js} +1 -1
- package/lib/duet/{p-4457a9cc.entry.js → p-7159567b.entry.js} +1 -1
- package/lib/duet/{p-7d8ba1c8.entry.js → p-72c34073.entry.js} +1 -1
- package/lib/duet/{p-52f52f3f.entry.js → p-7587023c.entry.js} +1 -1
- package/lib/duet/{p-9278d908.entry.js → p-75a6c4ea.entry.js} +1 -1
- package/lib/duet/{p-0cf754a3.entry.js → p-76906326.entry.js} +1 -1
- package/lib/duet/{p-0c4bde0e.entry.js → p-7d8a853a.entry.js} +1 -1
- package/lib/duet/{p-9c452a9d.entry.js → p-7def72b6.entry.js} +1 -1
- package/lib/duet/{p-513683f8.entry.js → p-7e14f2af.entry.js} +1 -1
- package/lib/duet/p-82a8d1b8.entry.js +4 -0
- package/lib/duet/{p-d49e4c1a.entry.js → p-83471afa.entry.js} +1 -1
- package/lib/duet/{p-52e64670.entry.js → p-83ea7a2c.entry.js} +1 -1
- package/lib/duet/{p-ea09620e.entry.js → p-8c4cf422.entry.js} +1 -1
- package/lib/duet/{p-c2afba51.entry.js → p-8fc3ee0c.entry.js} +1 -1
- package/lib/duet/{p-d27678ec.entry.js → p-91f53c07.entry.js} +1 -1
- package/lib/duet/{p-653a4f52.entry.js → p-93e08345.entry.js} +1 -1
- package/lib/duet/{p-19c8adaa.entry.js → p-94e4dcc5.entry.js} +1 -1
- package/lib/duet/{p-ec601f3c.entry.js → p-987f395f.entry.js} +1 -1
- package/lib/duet/{p-17b2fad7.entry.js → p-9e0e21eb.entry.js} +1 -1
- package/lib/duet/{p-a22b9c52.entry.js → p-9f038082.entry.js} +1 -1
- package/lib/duet/{p-CZ7vOBA_.js → p-B0SZpElh.js} +1 -1
- package/lib/duet/{p-Bt_DCuTi.js → p-BO8h6fkS.js} +1 -1
- package/lib/duet/p-BVAkfiYN.js +5 -0
- package/lib/duet/p-Bpx9VxA7.js +4 -0
- package/lib/duet/{p-DmZj36y3.js → p-CSVmZZ1n.js} +1 -1
- package/lib/duet/p-D8ISRP9m.js +4 -0
- package/lib/duet/p-J96UYMqg.js +4 -0
- package/lib/duet/{p-64482bf0.entry.js → p-b171fbba.entry.js} +1 -1
- package/lib/duet/{p-14b9af85.entry.js → p-b95c5ccf.entry.js} +1 -1
- package/lib/duet/{p-492d90a6.entry.js → p-b9869df2.entry.js} +1 -1
- package/lib/duet/p-c05e4dae.entry.js +4 -0
- package/lib/duet/{p-ec7bdfaf.entry.js → p-c0942782.entry.js} +1 -1
- package/lib/duet/p-c2ca49c2.entry.js +4 -0
- package/lib/duet/{p-bba12747.entry.js → p-c392eb8d.entry.js} +1 -1
- package/lib/duet/{p-87d63c67.entry.js → p-c6b031aa.entry.js} +1 -1
- package/lib/duet/p-c9000a76.entry.js +4 -0
- package/lib/duet/{p-7ab7b977.entry.js → p-cbc310dc.entry.js} +1 -1
- package/lib/duet/{p-4b4d9bdc.entry.js → p-d3812b9c.entry.js} +1 -1
- package/lib/duet/p-d3edd251.entry.js +4 -0
- package/lib/duet/p-d618c7d5.entry.js +4 -0
- package/lib/duet/p-ddcc5283.entry.js +4 -0
- package/lib/duet/{p-3e08bd06.entry.js → p-e05b9e89.entry.js} +1 -1
- package/lib/duet/{p-6d0a6cef.entry.js → p-e16141aa.entry.js} +1 -1
- package/lib/duet/p-e2a75d7e.entry.js +4 -0
- package/lib/duet/p-e59a56b9.entry.js +4 -0
- package/lib/duet/{p-25bfc839.entry.js → p-e6f0473b.entry.js} +1 -1
- package/lib/duet/{p-9ff0f670.entry.js → p-e71cd888.entry.js} +1 -1
- package/lib/duet/{p-93d1d4cb.entry.js → p-e832a646.entry.js} +1 -1
- package/lib/duet/p-e9a32cd5.entry.js +4 -0
- package/lib/duet/{p-414f4b06.entry.js → p-ea010c0c.entry.js} +1 -1
- package/lib/duet/{p-05b44a92.entry.js → p-ea333ff9.entry.js} +1 -1
- package/lib/duet/{p-4d4f7a6e.entry.js → p-eadd1f00.entry.js} +1 -1
- package/lib/duet/{p-bf4c10ea.entry.js → p-f1e8ef6c.entry.js} +1 -1
- package/lib/duet/{p-4a743428.entry.js → p-f9010948.entry.js} +1 -1
- package/lib/duet/{p-ca8ad275.entry.js → p-fcd416b7.entry.js} +1 -1
- package/lib/duet/{p-81fdf21e.entry.js → p-fe5f6bf5.entry.js} +1 -1
- package/lib/duet/{p-9bdedc1c.entry.js → p-ff8f848e.entry.js} +1 -1
- package/lib/duet/p-s4mQ--kV.js +4 -0
- package/lib/duet/{p-CcCc0HYj.js → p-zqnwKSPV.js} +1 -1
- package/lib/esm/{a11y-utils-CfJGGdQJ.js → a11y-utils-Cm7NmtQF.js} +1 -1
- package/lib/esm/{app-globals-DGW8k4EA.js → app-globals-BfoWvhn6.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 +4 -4
- package/lib/esm/duet-banner.entry.js +14 -8
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +13 -24
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +6 -6
- package/lib/esm/duet-card.entry.js +7 -7
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +5 -5
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +7 -6
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +15 -9
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-indicator.entry.js +12 -4
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +5 -5
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +7 -7
- package/lib/esm/duet-multiselect.entry.js +6 -6
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +13 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +14 -14
- package/lib/esm/duet-panel.entry.js +2 -2
- package/lib/esm/duet-phone-input.entry.js +5 -5
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +5 -5
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +5 -5
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +4 -4
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +5 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +7 -7
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-status-icon.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +6 -6
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-qEQnnnLR.js → errorcodes.utils-DCSMydPz.js} +1 -1
- package/lib/esm/{focus-utils-D7bOJ91T.js → focus-utils-C8cj1ygp.js} +1 -1
- package/lib/esm/{index-CjRTMlgs.js → index-BVAkfiYN.js} +1 -1
- package/lib/esm/{label-DI1u_MFQ.js → label-Cqxj4RVo.js} +1 -1
- package/lib/esm/{language-utils-DMUadJDW.js → language-utils-uFQZRSPE.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-DmMljwEF.js → slot-utils-D8NnYUf2.js} +1 -1
- package/lib/esm/{themeable-component-CULFNCJP.js → themeable-component-B8TGOi99.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
- package/lib/types/components/duet-card/duet-card.d.ts +4 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
- package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
- package/lib/types/components.d.ts +46 -8
- package/package.json +4 -4
- package/lib/duet/p-1UeoYjt6.js +0 -4
- package/lib/duet/p-2690a420.entry.js +0 -4
- package/lib/duet/p-37bdc3b9.entry.js +0 -4
- package/lib/duet/p-450983a5.entry.js +0 -4
- package/lib/duet/p-51e85e15.entry.js +0 -4
- package/lib/duet/p-559a54d1.entry.js +0 -4
- package/lib/duet/p-56331c29.entry.js +0 -4
- package/lib/duet/p-5f2507ee.entry.js +0 -4
- package/lib/duet/p-638d143f.entry.js +0 -4
- package/lib/duet/p-63d75040.entry.js +0 -4
- package/lib/duet/p-80157aab.entry.js +0 -4
- package/lib/duet/p-88b2a4ab.entry.js +0 -4
- package/lib/duet/p-8a22e0f7.entry.js +0 -4
- package/lib/duet/p-BW-c05c3.js +0 -4
- package/lib/duet/p-CjRTMlgs.js +0 -5
- package/lib/duet/p-DzEPksgg.js +0 -4
- package/lib/duet/p-a39af7a5.entry.js +0 -4
- package/lib/duet/p-a49e7633.entry.js +0 -4
- package/lib/duet/p-a5ebee52.entry.js +0 -4
- package/lib/duet/p-b17749b1.entry.js +0 -4
- package/lib/duet/p-c8c7616a.entry.js +0 -4
- package/lib/duet/p-e04410c6.entry.js +0 -4
- package/lib/duet/p-ebd27669.entry.js +0 -4
- package/lib/duet/p-qH1epSqB.js +0 -4
|
@@ -70,12 +70,12 @@ export class DuetPromoCard {
|
|
|
70
70
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
71
71
|
};
|
|
72
72
|
const TagName = this.url ? "a" : "div";
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '6d2ebadbdc4716a50f44a6805ec97f2915476f4e', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '12c8b32f7a486ababadb37b0cb125337a4b548f5', class: {
|
|
74
74
|
"duet-promo-card": true,
|
|
75
75
|
"duet-theme-turva": this.theme === "turva",
|
|
76
76
|
"no-bg-color": !this.backgroundColor,
|
|
77
77
|
"duet-promo-card-link": !!this.url,
|
|
78
|
-
}, style: bannerStyles }, h(TagName, { key: '
|
|
78
|
+
}, style: bannerStyles }, h(TagName, { key: 'caef7b4cd0f222eb2039602c241438ecdd77d7ad', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, h("img", { key: '59e3b0877935a3ea2de4010312571a89ac32851b', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), h("div", { key: 'c27c8862d34045213fb6982cbc790c0d88d5da70', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '9ea892228de3f899f5e1031247b17d095e25e1de', class: "pre-heading" }, h("slot", { key: '4174b492f22e704b0354be13d0a178b9ef02a5eb', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: '8d21d1464f81c9745c91791a8857fcbe28788dce', class: "heading" }, h("duet-heading", { key: '7716f9540e3fc2638bea8ba30ce266d9f1c13390', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'e2ec91a5bdc861f6f228f6e662b347c8c8b06410' }, h("slot", { key: '9d423ea6373cada2b93d47c80a897efd38d97013', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '739454e12666bfb262d6a2243d61c658189410f5', class: "description" }, h("duet-paragraph", { key: '6592dd6a78e64e89ec88a06ce89120a011c2885e', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '599855764a99fba164a1500616f5a766be168b4b' }, h("slot", { key: 'deb8f54c39068fd0a313080a14e5dfdfb072ac14', name: "description" }))))), this.hasActionSlot && (h("div", { key: '32d5c8f68c70b99cd039254054130ea149a436c3', class: "action" }, h("slot", { key: '4185c9a0f8a624e3992481fba39852335746ddbb', name: "action" }))))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "duet-promo-card"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -215,6 +215,25 @@ export class DuetPromoCard {
|
|
|
215
215
|
"reflect": false,
|
|
216
216
|
"defaultValue": "\"\""
|
|
217
217
|
},
|
|
218
|
+
"imageAlt": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"attribute": "image-alt",
|
|
221
|
+
"mutable": false,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "string",
|
|
224
|
+
"resolved": "string",
|
|
225
|
+
"references": {}
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": false,
|
|
229
|
+
"docs": {
|
|
230
|
+
"tags": [],
|
|
231
|
+
"text": "Alt attribute text for the image. If not provided, image is assigned presentation role."
|
|
232
|
+
},
|
|
233
|
+
"getter": false,
|
|
234
|
+
"setter": false,
|
|
235
|
+
"reflect": false
|
|
236
|
+
},
|
|
218
237
|
"headingLevel": {
|
|
219
238
|
"type": "string",
|
|
220
239
|
"attribute": "heading-level",
|
|
@@ -30,6 +30,9 @@
|
|
|
30
30
|
:host:last-child, :host:last-of-type {
|
|
31
31
|
margin-right: 0 !important;
|
|
32
32
|
}
|
|
33
|
+
[alignment=form-distribute] > :host:last-of-type {
|
|
34
|
+
margin-right: 28px !important;
|
|
35
|
+
}
|
|
33
36
|
|
|
34
37
|
:host(.vertical) {
|
|
35
38
|
margin-right: 0 !important;
|
|
@@ -52,6 +55,9 @@
|
|
|
52
55
|
:host(.horizontal-responsive):last-child, :host(.horizontal-responsive):last-of-type {
|
|
53
56
|
margin-right: 0 !important;
|
|
54
57
|
}
|
|
58
|
+
[alignment=form-distribute] > :host(.horizontal-responsive):last-of-type {
|
|
59
|
+
margin-right: 28px !important;
|
|
60
|
+
}
|
|
55
61
|
:host(.horizontal-responsive) .duet-label .duet-label-content {
|
|
56
62
|
max-width: 100%;
|
|
57
63
|
}
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
:host:last-child, :host:last-of-type {
|
|
100
100
|
margin-right: 0 !important;
|
|
101
101
|
}
|
|
102
|
+
[alignment=form-distribute] > :host:last-of-type {
|
|
103
|
+
margin-right: 16px !important;
|
|
104
|
+
}
|
|
102
105
|
@media (min-width: 36em) {
|
|
103
106
|
:host {
|
|
104
107
|
width: calc(50% - 16px - 3px);
|
|
@@ -109,6 +109,9 @@
|
|
|
109
109
|
:host(:not(.duet-m-0)):last-child, :host(:not(.duet-m-0)):last-of-type {
|
|
110
110
|
margin-right: 0 !important;
|
|
111
111
|
}
|
|
112
|
+
[alignment=form-distribute] > :host(:not(.duet-m-0)):last-of-type {
|
|
113
|
+
margin-right: 16px !important;
|
|
114
|
+
}
|
|
112
115
|
|
|
113
116
|
@media (min-width: 36em) {
|
|
114
117
|
:host(.duet-expand) {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
z-index: 200;
|
|
85
85
|
}
|
|
86
86
|
.duet-slideout .dialog .top-container.has-sticky-header-slot .top {
|
|
87
|
-
background: rgb(
|
|
87
|
+
background: rgb(255, 255, 255);
|
|
88
88
|
}
|
|
89
89
|
.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header {
|
|
90
90
|
display: block;
|
|
@@ -118,11 +118,16 @@
|
|
|
118
118
|
.duet-slideout .dialog .sticky-header {
|
|
119
119
|
display: none;
|
|
120
120
|
width: 100%;
|
|
121
|
-
padding: 0
|
|
121
|
+
padding: 0 20px 20px;
|
|
122
122
|
margin-bottom: 20px;
|
|
123
|
-
background: rgb(
|
|
123
|
+
background: rgb(255, 255, 255);
|
|
124
124
|
border-bottom: 1px solid rgb(212, 223, 229);
|
|
125
125
|
}
|
|
126
|
+
@media (min-width: 36em) {
|
|
127
|
+
.duet-slideout .dialog .sticky-header {
|
|
128
|
+
padding: 0 28px 28px;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
126
131
|
.duet-slideout .dialog .items {
|
|
127
132
|
display: flex;
|
|
128
133
|
flex-direction: column;
|
|
@@ -168,11 +173,7 @@
|
|
|
168
173
|
.duet-slideout.duet-theme-turva button.active::after {
|
|
169
174
|
background: rgb(198, 12, 48);
|
|
170
175
|
}
|
|
171
|
-
.duet-slideout.duet-theme-turva .has-sticky-header-slot .top {
|
|
172
|
-
background: rgb(245, 247, 250);
|
|
173
|
-
}
|
|
174
176
|
.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header {
|
|
175
|
-
background: rgb(245, 247, 250);
|
|
176
177
|
border-bottom: 1px solid rgb(222, 224, 228);
|
|
177
178
|
}
|
|
178
179
|
|
|
@@ -200,12 +201,8 @@ slot {
|
|
|
200
201
|
:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active::after {
|
|
201
202
|
background: rgb(230, 23, 64);
|
|
202
203
|
}
|
|
203
|
-
:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .top {
|
|
204
|
-
background: rgb(253, 247, 242);
|
|
205
|
-
}
|
|
206
204
|
:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header {
|
|
207
|
-
|
|
208
|
-
border-bottom-color: rgb(251, 225, 209);
|
|
205
|
+
border-bottom-color: rgb(212, 221, 226);
|
|
209
206
|
}
|
|
210
207
|
:host(.duet-theme-turva2) slot {
|
|
211
208
|
color: rgb(23, 42, 59);
|
|
@@ -188,11 +188,11 @@ export class DuetSlideoutPanel {
|
|
|
188
188
|
}, style: styles }, h(FocusGuard, { key: 'ad7c4a34db3120b40ed51061125f05d69017b342', moveFocusTo: this.closeButton }), h("div", { key: 'af56281cf6a0a4c7355f48d17b66c5495e7982f9', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '676eca91428ce8439e68da74b59a0bc8d393f5a5', class: "top" }, h("button", { key: '2d8f3d984de8ca1efccc191115b7657a455c5ef9', 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: 'f4d1be2b1157d12fff10e9f84eb7905d93091e79', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '2e0426bee359ed9f3ccf9f044e9c751924003a5c' }, this.label.innerHTML), h("button", { key: '
|
|
191
|
+
}, onClick: this.onClick }, h("duet-icon", { key: 'f4d1be2b1157d12fff10e9f84eb7905d93091e79', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '2e0426bee359ed9f3ccf9f044e9c751924003a5c' }, this.label.innerHTML), h("button", { key: 'f4edf9a9df667475a3c00b214e134bce7d9d7ae9', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '548ed5fadb9216137fcdc0762b35454ceb21c8d4', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '923603a20dbab28d51a376a9c252c35e33803880', class: "sticky-header" }, h("slot", { key: '07e15709effbee9950d36f03dd91e73b7e9ab336', name: "sticky-header" }))), h("div", { key: '7e63e1cd014106736bb712c20023f62245e43486', 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: 'fa18b91a1114433c57ecd566934f505e9fc62cf5' })), h(FocusGuard, { key: '7251452b17bbdfd8978f302bfde0e33991b39465', moveFocusTo: this.closeButton })))));
|
|
196
196
|
}
|
|
197
197
|
static get is() { return "duet-slideout-panel"; }
|
|
198
198
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,18 +14,6 @@
|
|
|
14
14
|
max-width: 100%;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
:host(.duet-theme-default) .duet-spinner {
|
|
18
|
-
color: rgb(0, 119, 179) !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host(.duet-theme-turva) .duet-spinner {
|
|
22
|
-
color: rgb(198, 12, 48) !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host(.duet-custom-color) {
|
|
26
|
-
color: inherit;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
17
|
*,
|
|
30
18
|
*::after,
|
|
31
19
|
*::before {
|
|
@@ -56,6 +44,9 @@
|
|
|
56
44
|
transform-origin: 0% 0%;
|
|
57
45
|
animation: duetRotate 0.6s linear infinite;
|
|
58
46
|
}
|
|
47
|
+
.duet-spinner.duet-theme-turva {
|
|
48
|
+
color: rgb(198, 12, 48);
|
|
49
|
+
}
|
|
59
50
|
.duet-spinner::after {
|
|
60
51
|
position: absolute;
|
|
61
52
|
top: 50%;
|
|
@@ -97,6 +88,6 @@
|
|
|
97
88
|
transform: translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%);
|
|
98
89
|
}
|
|
99
90
|
}
|
|
100
|
-
:host(.duet-theme-turva2) .duet-spinner {
|
|
101
|
-
color: rgb(230, 23, 64)
|
|
91
|
+
:host(.duet-theme-turva2) .duet-theme-turva.duet-spinner {
|
|
92
|
+
color: rgb(230, 23, 64);
|
|
102
93
|
}
|
|
@@ -3,28 +3,20 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
3
3
|
import { getColorByName } from "../../utils/token-utils";
|
|
4
4
|
export class DuetSpinner {
|
|
5
5
|
constructor() {
|
|
6
|
-
/**
|
|
7
|
-
* Color of the spinner, as a design token entered in camelCase or kebab-case.
|
|
8
|
-
* Example: "color-primary". This property can also be set to "currentColor"
|
|
9
|
-
* which forces the icon to use the CSS text color of parent element instead.
|
|
10
|
-
* Useful when you want to control the color in stylesheet instead.
|
|
11
|
-
*/
|
|
12
|
-
this.color = "gray-lightest";
|
|
13
6
|
/**
|
|
14
7
|
* Size variation of the spinner.
|
|
15
8
|
*/
|
|
16
9
|
this.size = "small";
|
|
17
|
-
/**
|
|
18
|
-
* Theme of the spinner. When used this will override the color setting and
|
|
19
|
-
* use "primary" or "primary-turva" as the color depending on which theme
|
|
20
|
-
* is chosen.
|
|
21
|
-
*/
|
|
22
|
-
this.theme = "";
|
|
23
10
|
}
|
|
24
11
|
/**
|
|
25
12
|
* Component lifecycle events.
|
|
26
13
|
*/
|
|
27
14
|
componentWillLoad() {
|
|
15
|
+
// NOTE: for backward compatibility reasons, if no theme and no color is given, we default to "gray-lightest".
|
|
16
|
+
// Changing this would be a breaking change, and we do it only when we have other things to break too.
|
|
17
|
+
if (!this.color && !this.theme) {
|
|
18
|
+
this.color = "gray-lightest";
|
|
19
|
+
}
|
|
28
20
|
inheritGlobalTheme(this);
|
|
29
21
|
}
|
|
30
22
|
/**
|
|
@@ -32,14 +24,11 @@ export class DuetSpinner {
|
|
|
32
24
|
* Always the last one in the class.
|
|
33
25
|
*/
|
|
34
26
|
render() {
|
|
35
|
-
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
-
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
38
|
-
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
39
|
-
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
40
|
-
} }, h("div", { key: 'e4d1b98fbcdc05241e8ea87fe91a944be89d1bff', class: {
|
|
27
|
+
const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
|
|
28
|
+
return (h(Host, { key: '0d9ba3a785f72e0bd9318f4b38bc5b5459075704' }, h("div", { key: '5fed4253f83731359bfdf0a5b266b2352354b1cc', class: {
|
|
41
29
|
"duet-spinner": true,
|
|
42
30
|
[this.size]: true,
|
|
31
|
+
"duet-theme-turva": this.theme === "turva",
|
|
43
32
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
44
33
|
}
|
|
45
34
|
static get is() { return "duet-spinner"; }
|
|
@@ -78,7 +67,7 @@ export class DuetSpinner {
|
|
|
78
67
|
"color": {
|
|
79
68
|
"type": "string",
|
|
80
69
|
"attribute": "color",
|
|
81
|
-
"mutable":
|
|
70
|
+
"mutable": true,
|
|
82
71
|
"complexType": {
|
|
83
72
|
"original": "DuetColor",
|
|
84
73
|
"resolved": "string",
|
|
@@ -94,12 +83,11 @@ export class DuetSpinner {
|
|
|
94
83
|
"optional": false,
|
|
95
84
|
"docs": {
|
|
96
85
|
"tags": [],
|
|
97
|
-
"text": "Color of the spinner, as a design token entered in camelCase or kebab-case.\nExample: \"color-primary\". This property can also be set to \"currentColor\"\nwhich forces the icon to use the CSS text color of parent element instead.\nUseful when you want to control the color in stylesheet instead."
|
|
86
|
+
"text": "Color of the spinner, as a design token entered in camelCase or kebab-case.\nExample: \"color-primary\". This property can also be set to \"currentColor\"\nwhich forces the icon to use the CSS text color of parent element instead.\nUseful when you want to control the color in stylesheet instead.\nNote that in earlier versions the color has defaulted to \"gray-lightest\", but\nin a future release it will change to undefined, so that the color will be\nthe theme's primary. If you have relied on not defining color to result in\nwhite, it is advisable to update your code to explicitly define it."
|
|
98
87
|
},
|
|
99
88
|
"getter": false,
|
|
100
89
|
"setter": false,
|
|
101
|
-
"reflect": false
|
|
102
|
-
"defaultValue": "\"gray-lightest\""
|
|
90
|
+
"reflect": false
|
|
103
91
|
},
|
|
104
92
|
"size": {
|
|
105
93
|
"type": "string",
|
|
@@ -146,12 +134,11 @@ export class DuetSpinner {
|
|
|
146
134
|
"optional": false,
|
|
147
135
|
"docs": {
|
|
148
136
|
"tags": [],
|
|
149
|
-
"text": "Theme of the spinner.
|
|
137
|
+
"text": "Theme of the spinner."
|
|
150
138
|
},
|
|
151
139
|
"getter": false,
|
|
152
140
|
"setter": false,
|
|
153
|
-
"reflect": false
|
|
154
|
-
"defaultValue": "\"\""
|
|
141
|
+
"reflect": false
|
|
155
142
|
}
|
|
156
143
|
};
|
|
157
144
|
}
|
|
@@ -305,10 +305,6 @@
|
|
|
305
305
|
color: rgb(45, 52, 79);
|
|
306
306
|
background: rgb(234, 235, 239);
|
|
307
307
|
}
|
|
308
|
-
.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible {
|
|
309
|
-
outline-color: rgba(199, 202, 207, 0.8);
|
|
310
|
-
border-color: rgb(222, 224, 228);
|
|
311
|
-
}
|
|
312
308
|
.duet-tab-variation-plain .duet-tab-button {
|
|
313
309
|
display: inline-block;
|
|
314
310
|
width: auto;
|
|
@@ -507,13 +503,6 @@
|
|
|
507
503
|
background-color: rgb(113, 118, 132);
|
|
508
504
|
}
|
|
509
505
|
|
|
510
|
-
:host(.duet-theme-turva2) {
|
|
511
|
-
/* Plain variation: divider nude, hover & active underlines red */
|
|
512
|
-
/* Base tab button mapping + selected underline red, outer borders nude */
|
|
513
|
-
/* Default variation selected underline (uses ::before) should be red */
|
|
514
|
-
/* Default variation focus-visible border stays nude */
|
|
515
|
-
/* Checked variation selected state */
|
|
516
|
-
}
|
|
517
506
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-group-tabs.duet-tab-variation-plain {
|
|
518
507
|
border-bottom-color: rgb(251, 225, 209);
|
|
519
508
|
}
|
|
@@ -528,12 +517,9 @@
|
|
|
528
517
|
}
|
|
529
518
|
:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-button.selected {
|
|
530
519
|
color: rgb(23, 42, 59);
|
|
531
|
-
border-color: rgb(
|
|
520
|
+
border-color: rgb(212, 221, 226);
|
|
532
521
|
border-bottom-color: rgb(230, 23, 64);
|
|
533
522
|
}
|
|
534
523
|
:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before {
|
|
535
524
|
background-color: rgb(230, 23, 64);
|
|
536
|
-
}
|
|
537
|
-
:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible {
|
|
538
|
-
border-color: rgb(251, 225, 209);
|
|
539
525
|
}
|
|
@@ -36,11 +36,11 @@ export class DuetToolbar {
|
|
|
36
36
|
: this.variation === "secondary"
|
|
37
37
|
? "secondary"
|
|
38
38
|
: "default";
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '2434866ef0b95d7b07a2248edc89a4f473d9ecc6' }, h("nav", { key: '9938a3cd11e5230013027cb613c8aa81f95e5bf7', class: {
|
|
40
40
|
"duet-toolbar": true,
|
|
41
41
|
"duet-theme-turva": this.theme === "turva",
|
|
42
42
|
[variation]: true,
|
|
43
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
43
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '9c915e9ffe872ec9b253bf9c7b7ca58ac5c39bee', class: "container" }, h("div", { key: '7a1ce3f543e9b908638de889a1b6b8270f73d830', class: "list", role: "list" }, h("slot", { key: '396f255c2694dbff16ae2f2584be49e4f5d4fdf5', name: "left" })), h("div", { key: '975122519f64947d2fc01d8a5c9fa63c3052097a', class: "list", role: "list" }, h("slot", { key: '8d070c2c7e5a168d7c426df35a4b742a95696383', name: "right" }))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "duet-toolbar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,17 +86,17 @@ export class DuetToolbarItem {
|
|
|
86
86
|
: this.variation === "secondary"
|
|
87
87
|
? "secondary"
|
|
88
88
|
: "default";
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: 'f36d0228f8546f61bd7f1a21fc94bbfacb229270', role: "listitem" }, this.badge && h("duet-indicator", { key: 'a46dc8ea7f76a4f8c76664dc4e1ad56941028a10', variation: "change" }), h(TagName, { key: 'e488df937c34dadf25be1f2beacfe29161ba73cf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
90
90
|
"duet-toolbar-item": true,
|
|
91
91
|
"duet-theme-turva": this.theme === "turva",
|
|
92
92
|
active: this.active,
|
|
93
93
|
[variation]: true,
|
|
94
|
-
}, 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("div", { key: '
|
|
94
|
+
}, 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("div", { key: 'fb792acb4d635caf2dbe6d6b34eb7ca0257c6425', class: "duet-toolbar-icon" }, h("duet-icon", { key: '7aeb14377fab6bbba397bdcb85942bc7f9026f99', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && h("div", { key: 'f2a6ed7704a7d21782c32fe02f1d768203a0e543', class: "duet-toolbar-badge" }))), h("slot", { key: 'c5f8d0d4644d68d9ae8bae97f3b26d9cb7ff2693' }), (this.trailingIcon || (this.url && this.external)) && (h("div", { key: '1258c07b9515853adcc3461d186240ba86fdc491', class: "duet-toolbar-icon" }, h("duet-icon", { key: '3472d1724fb3d148dd2ac58a964db4ab2ae7908e', class: {
|
|
95
95
|
"trailing-icon": !!this.trailingIcon,
|
|
96
96
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
97
97
|
"external-icon": !!(this.url && this.external),
|
|
98
98
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
99
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: '
|
|
99
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && h("div", { key: 'df9aa0697ed176678be4f45596c3276da1218a33', class: "duet-toolbar-badge" }))))));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "duet-toolbar-item"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|