@duetds/components 10.0.0-alpha.30 → 10.0.0-alpha.32
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 +166 -129
- package/hydrate/index.mjs +166 -129
- package/lib/cjs/{a11y-utils-D2e4DE4A.js → a11y-utils-gRNAWDsE.js} +1 -1
- package/lib/cjs/{app-globals-P2FPiN9v.js → app-globals-IqxTFC9D.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- 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 +16 -10
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +15 -26
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +9 -9
- 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 +5 -5
- 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 +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -8
- 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 +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +15 -9
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-indicator.cjs.entry.js +12 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
- 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 +9 -9
- 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 +16 -16
- 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 +7 -7
- 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 +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +7 -7
- 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 +6 -6
- 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 +9 -9
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +50 -34
- 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 +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- 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-CI6sFyqj.js} +1 -1
- package/lib/cjs/{focus-utils-B7QfRXd-.js → focus-utils-D6oLee8e.js} +1 -1
- package/lib/cjs/{index-B1t_Yumd.js → index-CZgR8hZO.js} +1 -1
- package/lib/cjs/{label-e--2ISFA.js → label-DLhV0DOC.js} +1 -1
- package/lib/cjs/{language-utils-Ce6b_uA3.js → language-utils-iTAyJvsm.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-C8k-6Rvc.js → slot-utils-CnfGuEKm.js} +1 -1
- package/lib/cjs/{themeable-component-DmPMm0Cz.js → themeable-component-lQsgCsDa.js} +1 -1
- package/lib/cjs/{token-utils-COKjUxmn.js → token-utils-BJtlJxnJ.js} +1 -1
- package/lib/cjs/{tokens-9aevMbB1.js → tokens-BxWzRxOl.js} +3 -3
- package/lib/cjs/{tokens.module-Bhh9B2g8.js → tokens.module-DJt2h4FX.js} +3 -3
- 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 +29 -12
- package/lib/collection/components/duet-link/duet-link.js +3 -3
- 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-table/duet-table.js +3 -3
- package/lib/collection/components/duet-textarea/duet-textarea.css +3 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +57 -33
- 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-a5ebee52.entry.js → p-086ada06.entry.js} +1 -1
- package/lib/duet/{p-67cbf570.entry.js → p-092f1ba3.entry.js} +1 -1
- package/lib/duet/{p-492d90a6.entry.js → p-0a7a967d.entry.js} +1 -1
- package/lib/duet/{p-9c452a9d.entry.js → p-0ad4c0ed.entry.js} +1 -1
- package/lib/duet/{p-414f4b06.entry.js → p-0c434757.entry.js} +1 -1
- package/lib/duet/{p-81fdf21e.entry.js → p-10dda4be.entry.js} +1 -1
- package/lib/duet/{p-ec601f3c.entry.js → p-10fcd200.entry.js} +1 -1
- package/lib/duet/{p-5c4687b0.entry.js → p-15f436de.entry.js} +1 -1
- package/lib/duet/p-1ccd58c5.entry.js +4 -0
- package/lib/duet/{p-64482bf0.entry.js → p-1db13f0b.entry.js} +1 -1
- package/lib/duet/{p-513683f8.entry.js → p-1e0686a9.entry.js} +1 -1
- package/lib/duet/{p-4457a9cc.entry.js → p-242aa821.entry.js} +1 -1
- package/lib/duet/{p-7ab7b977.entry.js → p-2444ec8f.entry.js} +1 -1
- package/lib/duet/{p-625bf656.entry.js → p-289ccd98.entry.js} +1 -1
- package/lib/duet/{p-d49e4c1a.entry.js → p-2e2c2a19.entry.js} +1 -1
- package/lib/duet/{p-0cf754a3.entry.js → p-2ecc650a.entry.js} +1 -1
- package/lib/duet/{p-ca8ad275.entry.js → p-310bb92b.entry.js} +1 -1
- package/lib/duet/{p-da90aae6.entry.js → p-34450295.entry.js} +1 -1
- package/lib/duet/{p-ac7bf279.entry.js → p-345e2183.entry.js} +1 -1
- package/lib/duet/{p-52bb0826.entry.js → p-3604860c.entry.js} +1 -1
- package/lib/duet/p-37b2ee9a.entry.js +4 -0
- package/lib/duet/p-40870281.entry.js +4 -0
- package/lib/duet/{p-64db9820.entry.js → p-40a23d13.entry.js} +1 -1
- package/lib/duet/p-4d965642.entry.js +4 -0
- package/lib/duet/p-4f06d471.entry.js +4 -0
- package/lib/duet/{p-17b2fad7.entry.js → p-4fe07ef0.entry.js} +1 -1
- package/lib/duet/p-50825938.entry.js +4 -0
- package/lib/duet/{p-bba12747.entry.js → p-53cae335.entry.js} +1 -1
- package/lib/duet/{p-87d63c67.entry.js → p-5809592e.entry.js} +1 -1
- package/lib/duet/{p-11dc2ca3.entry.js → p-598e5e73.entry.js} +1 -1
- package/lib/duet/{p-835532a3.entry.js → p-5f184ba7.entry.js} +1 -1
- package/lib/duet/p-632e7663.entry.js +4 -0
- package/lib/duet/{p-4a743428.entry.js → p-672539ed.entry.js} +1 -1
- package/lib/duet/{p-d27678ec.entry.js → p-68a068da.entry.js} +1 -1
- package/lib/duet/{p-89119c58.entry.js → p-69b51723.entry.js} +1 -1
- package/lib/duet/p-6aa7994d.entry.js +4 -0
- package/lib/duet/{p-9ff0f670.entry.js → p-6fc4b281.entry.js} +1 -1
- package/lib/duet/{p-19c8adaa.entry.js → p-739c6384.entry.js} +1 -1
- package/lib/duet/{p-3f932150.entry.js → p-764400c1.entry.js} +1 -1
- package/lib/duet/{p-6d0a6cef.entry.js → p-7e71334f.entry.js} +1 -1
- package/lib/duet/{p-bf4c10ea.entry.js → p-82dce6d4.entry.js} +1 -1
- package/lib/duet/p-8a49f99d.entry.js +4 -0
- package/lib/duet/{p-9278d908.entry.js → p-8f4d8ad8.entry.js} +1 -1
- package/lib/duet/{p-3c5f5035.entry.js → p-936fb185.entry.js} +1 -1
- package/lib/duet/{p-9fe9aaec.entry.js → p-936fdded.entry.js} +1 -1
- package/lib/duet/{p-dceb943b.entry.js → p-949677c5.entry.js} +1 -1
- package/lib/duet/{p-653a4f52.entry.js → p-962271e5.entry.js} +1 -1
- package/lib/duet/{p-ae22406a.entry.js → p-98719175.entry.js} +1 -1
- package/lib/duet/{p-cf054af5.entry.js → p-989bad93.entry.js} +1 -1
- package/lib/duet/{p-05b44a92.entry.js → p-9eac0547.entry.js} +1 -1
- package/lib/duet/{p-CZ7vOBA_.js → p-B4KFAMK0.js} +1 -1
- package/lib/duet/p-BDAqOMlM.js +4 -0
- package/lib/duet/p-BZUiUO2r.js +5 -0
- package/lib/duet/{p-Df3Doz7n.js → p-Bg75Vqqq.js} +1 -1
- package/lib/duet/{p-CcCc0HYj.js → p-BuGwN6pE.js} +1 -1
- package/lib/duet/p-CmXKRkHp.js +4 -0
- package/lib/duet/{p-Bt_DCuTi.js → p-CvYfTat-.js} +1 -1
- package/lib/duet/p-DOuLHrH5.js +4 -0
- package/lib/duet/p-DoYaLdz3.js +4 -0
- package/lib/duet/p-NibHwfQi.js +4 -0
- package/lib/duet/{p-c74cd476.entry.js → p-a04be8ca.entry.js} +1 -1
- package/lib/duet/p-a102a6aa.entry.js +4 -0
- package/lib/duet/{p-df64aa65.entry.js → p-a3b21740.entry.js} +1 -1
- package/lib/duet/{p-39e7cc4b.entry.js → p-a597acb6.entry.js} +1 -1
- package/lib/duet/{p-3e08bd06.entry.js → p-acd1befc.entry.js} +1 -1
- package/lib/duet/{p-0c4bde0e.entry.js → p-b23c29f7.entry.js} +1 -1
- package/lib/duet/{p-93d1d4cb.entry.js → p-b308c0c2.entry.js} +1 -1
- package/lib/duet/p-b57ee80f.entry.js +4 -0
- package/lib/duet/{p-a22b9c52.entry.js → p-b8741a8d.entry.js} +1 -1
- package/lib/duet/{p-b8e1621d.entry.js → p-b8de3ad9.entry.js} +1 -1
- package/lib/duet/{p-52e64670.entry.js → p-b9123cc0.entry.js} +1 -1
- package/lib/duet/p-bfbadbcb.entry.js +4 -0
- package/lib/duet/{p-4efa7172.entry.js → p-c0130fb4.entry.js} +1 -1
- package/lib/duet/{p-2f34aa4c.entry.js → p-c1a3211b.entry.js} +1 -1
- package/lib/duet/p-c211c485.entry.js +4 -0
- package/lib/duet/p-c2b71972.entry.js +4 -0
- package/lib/duet/{p-e057762a.entry.js → p-c9f7f4ae.entry.js} +1 -1
- package/lib/duet/p-cc1c4f4e.entry.js +4 -0
- package/lib/duet/p-d1ca5023.entry.js +4 -0
- package/lib/duet/{p-ea09620e.entry.js → p-d6675d5a.entry.js} +1 -1
- package/lib/duet/p-d687723c.entry.js +4 -0
- package/lib/duet/{p-9fd3fbde.entry.js → p-d7a53137.entry.js} +1 -1
- package/lib/duet/p-da4ac3b6.entry.js +4 -0
- package/lib/duet/p-da53bd51.entry.js +4 -0
- package/lib/duet/{p-11303551.entry.js → p-dd0ef23d.entry.js} +1 -1
- package/lib/duet/{p-ec7bdfaf.entry.js → p-dd2f230e.entry.js} +1 -1
- package/lib/duet/{p-2f0a1808.entry.js → p-dd6b0719.entry.js} +1 -1
- package/lib/duet/{p-52f52f3f.entry.js → p-dd95273b.entry.js} +1 -1
- package/lib/duet/{p-7d8ba1c8.entry.js → p-e1de05fd.entry.js} +1 -1
- package/lib/duet/p-e83797f5.entry.js +4 -0
- package/lib/duet/{p-c2afba51.entry.js → p-eb331c3a.entry.js} +1 -1
- package/lib/duet/{p-ba0fc0f3.entry.js → p-eb781bf8.entry.js} +1 -1
- package/lib/duet/{p-963f5510.entry.js → p-f157de7a.entry.js} +1 -1
- package/lib/duet/{p-4d4f7a6e.entry.js → p-f9ccb081.entry.js} +1 -1
- package/lib/duet/{p-25bfc839.entry.js → p-fb1c1409.entry.js} +1 -1
- package/lib/duet/p-fc4091da.entry.js +4 -0
- package/lib/duet/p-n6rJZ22e.js +4 -0
- package/lib/duet/p-piYiXb5x.js +4 -0
- package/lib/esm/{a11y-utils-CfJGGdQJ.js → a11y-utils-C8mMYav1.js} +1 -1
- package/lib/esm/{app-globals-DGW8k4EA.js → app-globals-BM9EbF8c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- 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 +16 -10
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +15 -26
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +9 -9
- 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 +5 -5
- 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 +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +11 -8
- 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 +7 -7
- package/lib/esm/duet-hero.entry.js +15 -9
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-indicator.entry.js +12 -4
- package/lib/esm/duet-input_2.entry.js +7 -7
- 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 +9 -9
- 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 +16 -16
- 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 +7 -7
- 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 +4 -4
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +7 -7
- 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 +6 -6
- 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 +9 -9
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-status-icon.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/lib/esm/duet-textarea.entry.js +50 -34
- 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 +5 -5
- package/lib/esm/duet-tray.entry.js +4 -4
- 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-Dx5bYlis.js} +1 -1
- package/lib/esm/{focus-utils-D7bOJ91T.js → focus-utils-C9Mfpzkg.js} +1 -1
- package/lib/esm/{index-CjRTMlgs.js → index-BZUiUO2r.js} +1 -1
- package/lib/esm/{label-DI1u_MFQ.js → label-DA07U81d.js} +1 -1
- package/lib/esm/{language-utils-DMUadJDW.js → language-utils-DBHdig-k.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-DmMljwEF.js → slot-utils-CiYHolIk.js} +1 -1
- package/lib/esm/{themeable-component-CULFNCJP.js → themeable-component-CMi71I41.js} +1 -1
- package/lib/esm/{token-utils-Dw-GA7-4.js → token-utils-Dks4GBDa.js} +1 -1
- package/lib/esm/{tokens-DcQPCCbT.js → tokens-DOuLHrH5.js} +3 -3
- package/lib/esm/{tokens.module-Bh9dkusU.js → tokens.module-BDAqOMlM.js} +3 -3
- 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/duet-textarea/duet-textarea.d.ts +13 -7
- package/lib/types/components.d.ts +50 -12
- package/package.json +15 -9
- package/lib/duet/p-14b9af85.entry.js +0 -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-4b4d9bdc.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-9bdedc1c.entry.js +0 -4
- package/lib/duet/p-BW-c05c3.js +0 -4
- package/lib/duet/p-Bh9dkusU.js +0 -4
- package/lib/duet/p-CjRTMlgs.js +0 -5
- package/lib/duet/p-DcQPCCbT.js +0 -4
- package/lib/duet/p-DmZj36y3.js +0 -4
- 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-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
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
:host:last-child, :host:last-of-type {
|
|
34
34
|
margin-right: 0 !important;
|
|
35
35
|
}
|
|
36
|
+
[alignment=form-distribute] > :host:last-of-type:not(:last-child) {
|
|
37
|
+
margin-right: 16px !important;
|
|
38
|
+
}
|
|
36
39
|
@media (min-width: 36em) {
|
|
37
40
|
:host {
|
|
38
41
|
width: calc(50% - 16px - 3px);
|
|
@@ -394,32 +394,32 @@ export class DuetPagination {
|
|
|
394
394
|
* Always the last one in the class.
|
|
395
395
|
*/
|
|
396
396
|
render() {
|
|
397
|
-
return (h(Host, { key: '
|
|
397
|
+
return (h(Host, { key: '52e784473ef29848499981e51ce1306b85a6982e', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: 'c6bb124db6d838e10370f48544b86a9f7619b0e9', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
398
398
|
"duet-pagination-nav": true,
|
|
399
399
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
400
|
-
} }, this.numbersStore !== "" && (h("div", { key: '
|
|
400
|
+
} }, this.numbersStore !== "" && (h("div", { key: '5796a23be63400e02cdcda3547ba16b5095efb2d', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: 'ae244394fde7f973460ad58c73b0188c2a4fac47', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '8d0eb963238e39d216193a48562142b3be082cbb', id: this.listId, class: {
|
|
401
401
|
"duet-pagination": true,
|
|
402
402
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
403
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
403
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'd7e1fda8280ef37a4e6a9a035651faa3812dd609', class: {
|
|
404
404
|
"duet-pagination-page-button": true,
|
|
405
405
|
"duet-pagination-button-first": true,
|
|
406
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
406
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '286dda612fa7b6f2149f75dc57124d5eb6decdb2', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '7dda62b7807922dcef3cd2d16f0bc66bfe134ea4', class: {
|
|
407
407
|
"duet-pagination-page-button": true,
|
|
408
408
|
"duet-pagination-button-first": true,
|
|
409
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
409
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'e2274296bc1bee4ccc388c0db9bb0d93d24c835b', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
410
410
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
411
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
412
|
-
this.shouldDisplayNavigation() && (h(Fragment, { key: '
|
|
411
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '3f9b85167c0a76403aa15f29f1c1f1288ad0e4d0' }, h("li", { key: 'e64af2416ffc7613778f7da6cb788d4a72f4eef0', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'ed827f262c1d9672d8a0da1209d214cf0201c14c', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '123675ff6455a2af26041f5887226e4c0ae2e92d', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '937ef0dd5be48ea9cc25e0d76183cf871435fae1', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'b943f95c41d2325cbc8f4ee8654feb079f0bde26', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '0abefda80e80fd7299d0e6b1a6d474f5f0a004ab', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
412
|
+
this.shouldDisplayNavigation() && (h(Fragment, { key: '20184dc0cfdf26f29d63dcfbfe1ae2c4837a56bc' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '6bb0d7a4742be774e7b453dd091b8ec9bc4ddb68', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '5a6c286824409fc75f08fcb2c5144bbeb19d95d5', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: '8b8bb2c2b47d687d20e556840d5960dab27c90b6', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '762f4434753385d3599f159d62ca921def9a18a2', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '5dd3404fa6a43253b611c8c35045041136a9241e', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
413
413
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
414
|
-
: undefined }, h("div", { key: '
|
|
414
|
+
: undefined }, h("div", { key: '8e3876cbbbf37cd2f2e2e3cc527b5553479b3e18', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '68e1f7e8c908396d2564d1fb30880d726dea24cd', class: {
|
|
415
415
|
"duet-pagination-page-button": true,
|
|
416
416
|
"duet-pagination-button-last": true,
|
|
417
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
417
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'edfe5c34fbdd5406dcb10355ef7027da35279af2', disabled: !!((this.current === this.totalPages &&
|
|
418
418
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
419
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '
|
|
419
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '69ace8f9afc0c82112a6ac194d7fc5ef5041f179', class: {
|
|
420
420
|
"duet-pagination-page-button": true,
|
|
421
421
|
"duet-pagination-button-last": true,
|
|
422
|
-
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '
|
|
422
|
+
}, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '8ff4d39efec69737f39608581d72bfafc174a513', disabled: (this.current === this.totalPages &&
|
|
423
423
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
424
424
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
425
425
|
}
|
|
@@ -40,6 +40,9 @@ span.flag-container {
|
|
|
40
40
|
:host:last-child, :host:last-of-type {
|
|
41
41
|
margin-right: 0 !important;
|
|
42
42
|
}
|
|
43
|
+
[alignment=form-distribute] > :host:last-of-type:not(:last-child) {
|
|
44
|
+
margin-right: 16px !important;
|
|
45
|
+
}
|
|
43
46
|
@media (min-width: 36em) {
|
|
44
47
|
:host {
|
|
45
48
|
width: calc(50% - 16px - 3px);
|
|
@@ -101,11 +101,11 @@ export class DuetPopupMenuItem {
|
|
|
101
101
|
};
|
|
102
102
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
103
103
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
104
|
-
return (h(Host, { key: '69c44a1d58780969eb4ac52879cd12d91f138a54', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'b4a7e9fc9c862bd2ef7e82abde09d9454e9b1585', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: '8a4412f1d2aa25c099780b3441d4ed06699fe987', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'a08f5aef8339a1c96e16c05f87cf60bf0fda3a0e', class: "duet-popup-menu-item-label" }, h("slot", { key: '1ccdab3f89ce6fc1ce8222e7219c6d68f99ab61e' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '
|
|
104
|
+
return (h(Host, { key: '69c44a1d58780969eb4ac52879cd12d91f138a54', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'b4a7e9fc9c862bd2ef7e82abde09d9454e9b1585', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: '8a4412f1d2aa25c099780b3441d4ed06699fe987', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'a08f5aef8339a1c96e16c05f87cf60bf0fda3a0e', class: "duet-popup-menu-item-label" }, h("slot", { key: '1ccdab3f89ce6fc1ce8222e7219c6d68f99ab61e' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: 'bd891c106163c5bc13ae83420199b2ec6108c1c4', name: this.url && this.external
|
|
105
105
|
? newWindowIcon.title
|
|
106
106
|
: this.active
|
|
107
107
|
? "messaging-checked-small"
|
|
108
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '
|
|
108
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '4c88625e8599b8ef038cf37236e8be4c06aaf3e7', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "duet-popup-menu-item"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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:not(:last-child) {
|
|
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:not(:last-child) {
|
|
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:not(:last-child) {
|
|
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:not(:last-child) {
|
|
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
|
}
|
|
@@ -120,7 +120,7 @@ export class DuetTable {
|
|
|
120
120
|
* Local methods.
|
|
121
121
|
*/
|
|
122
122
|
copyHeadingsToCells() {
|
|
123
|
-
if (Build.isServer) {
|
|
123
|
+
if (Build.isServer || ["none", "none-scrollable"].includes(this.breakpoint)) {
|
|
124
124
|
return;
|
|
125
125
|
}
|
|
126
126
|
const headingElements = this.element.querySelectorAll(this.headingSelector);
|
|
@@ -144,7 +144,7 @@ export class DuetTable {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '02ed0a7f4b3c7504b0f6df2ee9e923f5afbca106', class: {
|
|
148
148
|
[`duet-table-${this.variation}`]: true,
|
|
149
149
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
150
150
|
// sticky only valid when in regular table layout
|
|
@@ -153,7 +153,7 @@ export class DuetTable {
|
|
|
153
153
|
"duet-m-0": this.margin === "none",
|
|
154
154
|
"duet-theme-turva": this.theme === "turva",
|
|
155
155
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
156
|
-
} }, h("slot", { key: '
|
|
156
|
+
} }, h("slot", { key: '946a620f959caf19dc712844d81ebc345870757d' })));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "duet-table"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
:host:last-child, :host:last-of-type {
|
|
99
99
|
margin-right: 0 !important;
|
|
100
100
|
}
|
|
101
|
+
[alignment=form-distribute] > :host:last-of-type:not(:last-child) {
|
|
102
|
+
margin-right: 16px !important;
|
|
103
|
+
}
|
|
101
104
|
@media (min-width: 36em) {
|
|
102
105
|
:host {
|
|
103
106
|
width: calc(50% - 16px - 3px);
|