@duetds/components 10.0.0-alpha.26 → 10.0.0-alpha.28
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 +364 -273
- package/hydrate/index.mjs +364 -273
- package/lib/cjs/{a11y-utils-CnLnSK4z.js → a11y-utils-CJbT7JyN.js} +1 -1
- package/lib/cjs/{app-globals-B3iie8Hv.js → app-globals-Bg_Qat6e.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +20 -9
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- 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 +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-hero.cjs.entry.js +15 -11
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-modal.cjs.entry.js +13 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +4 -4
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
- 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 +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +21 -19
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -20
- package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-BgHe-1YU.js → errorcodes.utils-CvAMXZjl.js} +1 -1
- package/lib/cjs/{focus-utils-CT74z9Qb.js → focus-utils-C8MDOQZG.js} +1 -1
- package/lib/cjs/{index-C6D9Bly8.js → index-BkDTP7hm.js} +5 -1
- package/lib/cjs/{label-tyZX3oPG.js → label-DYV9pC59.js} +1 -1
- package/lib/cjs/{language-utils-DcgSN-KH.js → language-utils-BxIeXBGy.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-ByPWwvPp.js → slot-utils-F-Jmx-3a.js} +1 -1
- package/lib/cjs/{themeable-component-Doq36ycm.js → themeable-component-DvX_Xgrg.js} +1 -1
- package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +27 -0
- package/lib/collection/components/duet-banner/duet-banner.js +15 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +9 -22
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +3 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +12 -3
- package/lib/collection/components/duet-chip/duet-chip.css +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +4 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.js +7 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +220 -29
- package/lib/collection/components/duet-hero/duet-hero.js +10 -6
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
- package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.css +4 -0
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +4 -15
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +5 -4
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +53 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-4da25e3d.entry.js → p-01a9a47d.entry.js} +1 -1
- package/lib/duet/{p-534180fa.entry.js → p-09758ca7.entry.js} +1 -1
- package/lib/duet/{p-a745298d.entry.js → p-1206ff96.entry.js} +1 -1
- package/lib/duet/{p-84777c03.entry.js → p-12ac4ff1.entry.js} +1 -1
- package/lib/duet/{p-dd8216e7.entry.js → p-166bc231.entry.js} +1 -1
- package/lib/duet/{p-16f691fd.entry.js → p-16a96348.entry.js} +1 -1
- package/lib/duet/{p-ec72f3a2.entry.js → p-1a8da00c.entry.js} +1 -1
- package/lib/duet/p-20fa2389.entry.js +4 -0
- package/lib/duet/p-22e7cf7d.entry.js +4 -0
- package/lib/duet/p-2cdeebb1.entry.js +4 -0
- package/lib/duet/{p-88216acf.entry.js → p-2f21ed78.entry.js} +1 -1
- package/lib/duet/p-2f8ac3ad.entry.js +4 -0
- package/lib/duet/{p-a64da31d.entry.js → p-30035283.entry.js} +1 -1
- package/lib/duet/{p-0864a12e.entry.js → p-3208daa6.entry.js} +1 -1
- package/lib/duet/{p-f82a2ab7.entry.js → p-34ca9627.entry.js} +1 -1
- package/lib/duet/{p-d05bbd77.entry.js → p-35fdce02.entry.js} +1 -1
- package/lib/duet/{p-4cd019a5.entry.js → p-3a1c718a.entry.js} +1 -1
- package/lib/duet/{p-117970c7.entry.js → p-3a4a486b.entry.js} +1 -1
- package/lib/duet/p-41558cfd.entry.js +4 -0
- package/lib/duet/{p-a704d617.entry.js → p-447520f5.entry.js} +1 -1
- package/lib/duet/p-44e44f11.entry.js +4 -0
- package/lib/duet/{p-2d62148e.entry.js → p-49534af3.entry.js} +1 -1
- package/lib/duet/{p-0fccda7b.entry.js → p-4e6bc806.entry.js} +1 -1
- package/lib/duet/{p-2a563d22.entry.js → p-54dff5d5.entry.js} +1 -1
- package/lib/duet/p-5a2e2e55.entry.js +4 -0
- package/lib/duet/p-5cd78818.entry.js +4 -0
- package/lib/duet/{p-1f9c5d58.entry.js → p-5d626b10.entry.js} +1 -1
- package/lib/duet/p-5da18b67.entry.js +4 -0
- package/lib/duet/{p-806121b1.entry.js → p-631b16b7.entry.js} +1 -1
- package/lib/duet/{p-288da581.entry.js → p-66dc053b.entry.js} +1 -1
- package/lib/duet/{p-829482da.entry.js → p-68b125c1.entry.js} +1 -1
- package/lib/duet/{p-44deeddc.entry.js → p-6b79244a.entry.js} +1 -1
- package/lib/duet/{p-e9886226.entry.js → p-6e1454e9.entry.js} +1 -1
- package/lib/duet/{p-8194b05d.entry.js → p-6f710a62.entry.js} +1 -1
- package/lib/duet/{p-02ba799f.entry.js → p-787b30fc.entry.js} +1 -1
- package/lib/duet/{p-15a7a9be.entry.js → p-78db887a.entry.js} +1 -1
- package/lib/duet/{p-d079278e.entry.js → p-7912bc42.entry.js} +1 -1
- package/lib/duet/{p-4da439ae.entry.js → p-796eec58.entry.js} +1 -1
- package/lib/duet/p-7b718349.entry.js +4 -0
- package/lib/duet/{p-66cb6021.entry.js → p-7c3fcd96.entry.js} +1 -1
- package/lib/duet/{p-9a7382a4.entry.js → p-7e02804f.entry.js} +1 -1
- package/lib/duet/p-8017e834.entry.js +4 -0
- package/lib/duet/{p-ecb4e99d.entry.js → p-81992942.entry.js} +1 -1
- package/lib/duet/{p-f2ae56b2.entry.js → p-8356498a.entry.js} +1 -1
- package/lib/duet/p-87fa61b0.entry.js +4 -0
- package/lib/duet/p-882f0aaf.entry.js +4 -0
- package/lib/duet/{p-92b13088.entry.js → p-88e2e400.entry.js} +1 -1
- package/lib/duet/p-8d3c4a3f.entry.js +4 -0
- package/lib/duet/p-8de6d1e2.entry.js +4 -0
- package/lib/duet/p-97ba0b31.entry.js +4 -0
- package/lib/duet/{p-066f855b.entry.js → p-97bb619b.entry.js} +1 -1
- package/lib/duet/p-9ac2964f.entry.js +4 -0
- package/lib/duet/{p-34706bbb.entry.js → p-9dd85685.entry.js} +1 -1
- package/lib/duet/{p-C-YpEPL-.js → p-BFsh4y5I.js} +1 -1
- package/lib/duet/{p-DoTAjqzf.js → p-BVUumLs-.js} +1 -1
- package/lib/duet/{p-BPFqbaxm.js → p-BfHFKBVa.js} +1 -1
- package/lib/duet/p-D3JjrjH_.js +4 -0
- package/lib/duet/{p-BkHWWyft.js → p-D4WDSjzx.js} +1 -1
- package/lib/duet/p-DEF77zC7.js +4 -0
- package/lib/duet/p-DeH5mj7m.js +4 -0
- package/lib/duet/p-Do6ugHz0.js +4 -0
- package/lib/duet/{p-C2xFZ1pZ.js → p-Yh6R_0l1.js} +1 -1
- package/lib/duet/{p-6fa7de01.entry.js → p-a1442533.entry.js} +1 -1
- package/lib/duet/{p-23475050.entry.js → p-abd2d2e5.entry.js} +1 -1
- package/lib/duet/p-adf33c50.entry.js +4 -0
- package/lib/duet/{p-4c118ad6.entry.js → p-b88c7286.entry.js} +1 -1
- package/lib/duet/{p-148b6203.entry.js → p-b9125a20.entry.js} +1 -1
- package/lib/duet/{p-d71a366e.entry.js → p-b942ee5a.entry.js} +1 -1
- package/lib/duet/{p-8625d3ce.entry.js → p-bd08aba8.entry.js} +1 -1
- package/lib/duet/p-be077745.entry.js +4 -0
- package/lib/duet/{p-433a9f98.entry.js → p-c084c91d.entry.js} +1 -1
- package/lib/duet/{p-ad08429f.entry.js → p-c43dc2fd.entry.js} +1 -1
- package/lib/duet/{p-15859eb3.entry.js → p-c9ef3dfc.entry.js} +1 -1
- package/lib/duet/p-c9fd65ce.entry.js +4 -0
- package/lib/duet/{p-0e15fd30.entry.js → p-caf2cab9.entry.js} +1 -1
- package/lib/duet/{p-babe244b.entry.js → p-cb78347a.entry.js} +1 -1
- package/lib/duet/p-cc343a6c.entry.js +4 -0
- package/lib/duet/p-d0cc1c5b.entry.js +4 -0
- package/lib/duet/{p-e9becc58.entry.js → p-d83d4c83.entry.js} +1 -1
- package/lib/duet/{p-22641f21.entry.js → p-d93c2be4.entry.js} +1 -1
- package/lib/duet/{p-5fdfb13d.entry.js → p-daa8f255.entry.js} +1 -1
- package/lib/duet/{p-4a325ef1.entry.js → p-dd8692cb.entry.js} +1 -1
- package/lib/duet/{p-2f150cd4.entry.js → p-ddbdbe11.entry.js} +1 -1
- package/lib/duet/{p-78a9b684.entry.js → p-ea979f26.entry.js} +1 -1
- package/lib/duet/p-eab48b73.entry.js +4 -0
- package/lib/duet/p-ee38050b.entry.js +4 -0
- package/lib/duet/p-f0076621.entry.js +4 -0
- package/lib/duet/p-f2b7be73.entry.js +4 -0
- package/lib/duet/{p-6b2697ad.entry.js → p-f30823aa.entry.js} +1 -1
- package/lib/duet/p-f78c747f.entry.js +4 -0
- package/lib/duet/p-fc2d3b85.entry.js +4 -0
- package/lib/duet/{p-6dca8f77.entry.js → p-fcc4cd08.entry.js} +1 -1
- package/lib/duet/{p-9440a479.entry.js → p-fdab5c0b.entry.js} +1 -1
- package/lib/duet/{p-5a6fd350.entry.js → p-fec4da8c.entry.js} +1 -1
- package/lib/duet/{p-62df87ea.entry.js → p-ff169773.entry.js} +1 -1
- package/lib/duet/{p-D5MfS1RP.js → p-x84EsPoI.js} +1 -1
- package/lib/esm/{a11y-utils-C6cn5C3e.js → a11y-utils-CRHgvsu9.js} +1 -1
- package/lib/esm/{app-globals-CcxHDwb4.js → app-globals-CYQv_sg4.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +20 -9
- package/lib/esm/duet-breadcrumb.entry.js +11 -20
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +7 -7
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +10 -10
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +7 -7
- package/lib/esm/duet-collapsible.entry.js +17 -8
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- 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 +9 -9
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +11 -10
- package/lib/esm/duet-header_2.entry.js +5 -5
- package/lib/esm/duet-hero.entry.js +15 -11
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-indicator.entry.js +51 -0
- package/lib/esm/duet-input_2.entry.js +12 -12
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +7 -7
- package/lib/esm/duet-modal.entry.js +13 -13
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +4 -4
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +6 -6
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- package/lib/esm/duet-panel.entry.js +5 -5
- package/lib/esm/duet-phone-input.entry.js +22 -7
- 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 +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +21 -19
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -9
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -5
- package/lib/esm/duet-slideout-link.entry.js +8 -8
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
- package/lib/esm/duet-slideout-panel.entry.js +15 -20
- package/lib/esm/duet-slideout.entry.js +11 -11
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +8 -8
- package/lib/esm/duet-toggle.entry.js +6 -6
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +9 -9
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-CEyBUBSM.js → errorcodes.utils-MZm5Z6Ra.js} +1 -1
- package/lib/esm/{focus-utils-BhO5oz9w.js → focus-utils-CrtNnjPR.js} +1 -1
- package/lib/esm/{index-BPFqbaxm.js → index-BfHFKBVa.js} +5 -1
- package/lib/esm/{label-BGqhM4kx.js → label-BewTofiP.js} +1 -1
- package/lib/esm/{language-utils-CNMTW_pZ.js → language-utils-BvGD3xAJ.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-BABbKvvc.js → slot-utils-QOcACBKy.js} +1 -1
- package/lib/esm/{themeable-component-Csv1RXxf.js → themeable-component-D9rAA2iK.js} +1 -1
- package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
- package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
- package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
- package/lib/types/components/duet-input/duet-input.d.ts +0 -2
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
- package/lib/types/components.d.ts +77 -10
- package/package.json +3 -3
- package/lib/duet/p-0964b56d.entry.js +0 -4
- package/lib/duet/p-1ec554c6.entry.js +0 -4
- package/lib/duet/p-4c37165a.entry.js +0 -4
- package/lib/duet/p-4fc62376.entry.js +0 -4
- package/lib/duet/p-57165bf0.entry.js +0 -4
- package/lib/duet/p-5bfa5e5d.entry.js +0 -4
- package/lib/duet/p-6fdb09d1.entry.js +0 -4
- package/lib/duet/p-7b849d35.entry.js +0 -4
- package/lib/duet/p-7c1e8291.entry.js +0 -4
- package/lib/duet/p-7f0aa937.entry.js +0 -4
- package/lib/duet/p-804b326c.entry.js +0 -4
- package/lib/duet/p-98aa7ac5.entry.js +0 -4
- package/lib/duet/p-9c838ec0.entry.js +0 -4
- package/lib/duet/p-B5RO_CRT.js +0 -4
- package/lib/duet/p-CwVyzidG.js +0 -4
- package/lib/duet/p-DixsuovU.js +0 -4
- package/lib/duet/p-Dr2j33H2.js +0 -4
- package/lib/duet/p-ad3d8ac8.entry.js +0 -4
- package/lib/duet/p-b1f362dc.entry.js +0 -4
- package/lib/duet/p-b9acaca1.entry.js +0 -4
- package/lib/duet/p-c35c9198.entry.js +0 -4
- package/lib/duet/p-c62aeb2e.entry.js +0 -4
- package/lib/duet/p-c8a66d4b.entry.js +0 -4
- package/lib/duet/p-cfd5c934.entry.js +0 -4
- package/lib/duet/p-d110954d.entry.js +0 -4
- package/lib/duet/p-d92c5cfa.entry.js +0 -4
- package/lib/duet/p-dbab30ea.entry.js +0 -4
- package/lib/duet/p-e18a1599.entry.js +0 -4
- package/lib/duet/p-e76051c3.entry.js +0 -4
- package/lib/duet/p-f51c072f.entry.js +0 -4
- package/lib/duet/p-f82079f2.entry.js +0 -4
|
@@ -284,6 +284,10 @@
|
|
|
284
284
|
top: 310px;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
+
.duet-hero.duet-hero-campaign ::slotted(.duet-heading), .duet-hero.duet-hero-section ::slotted(.duet-heading) {
|
|
288
|
+
font-size: inherit !important;
|
|
289
|
+
color: inherit !important;
|
|
290
|
+
}
|
|
287
291
|
.duet-hero.duet-hero-campaign .duet-hero-text, .duet-hero.duet-hero-section .duet-hero-text {
|
|
288
292
|
width: 100%;
|
|
289
293
|
}
|
|
@@ -1813,49 +1817,235 @@ duet-heading + duet-button {
|
|
|
1813
1817
|
}
|
|
1814
1818
|
:host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .background-area .brand-shape, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .background-area .brand-shape {
|
|
1815
1819
|
background-color: rgb(255, 255, 255);
|
|
1816
|
-
border-radius:
|
|
1820
|
+
border-radius: 24px;
|
|
1817
1821
|
mask-image: none;
|
|
1818
1822
|
}
|
|
1819
|
-
:host(.duet-theme-turva2) .duet-hero.duet-hero-product
|
|
1820
|
-
|
|
1823
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1824
|
+
display: flex;
|
|
1825
|
+
flex-direction: column;
|
|
1826
|
+
gap: 20px;
|
|
1827
|
+
min-height: auto;
|
|
1828
|
+
padding-top: 0;
|
|
1829
|
+
padding-bottom: 72px;
|
|
1830
|
+
margin: 0 auto;
|
|
1821
1831
|
}
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1832
|
+
@media (min-width: 62em) {
|
|
1833
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1834
|
+
flex-direction: row-reverse;
|
|
1835
|
+
gap: 40px;
|
|
1836
|
+
padding-top: 72px;
|
|
1837
|
+
padding-right: 56px;
|
|
1838
|
+
padding-left: 56px;
|
|
1839
|
+
}
|
|
1825
1840
|
}
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1841
|
+
@media (min-width: 76.25em) {
|
|
1842
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product {
|
|
1843
|
+
max-width: 1110px;
|
|
1844
|
+
padding-right: 0;
|
|
1845
|
+
padding-left: 0;
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area {
|
|
1849
|
+
position: relative;
|
|
1850
|
+
height: auto;
|
|
1851
|
+
overflow: visible;
|
|
1852
|
+
}
|
|
1853
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1854
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1855
|
+
position: relative;
|
|
1856
|
+
top: 0;
|
|
1830
1857
|
width: 100%;
|
|
1858
|
+
height: auto;
|
|
1859
|
+
aspect-ratio: 576/250;
|
|
1860
|
+
padding: 0;
|
|
1861
|
+
overflow: visible;
|
|
1862
|
+
/* stylelint-disable max-nesting-depth */
|
|
1863
|
+
}
|
|
1864
|
+
@media (min-width: 36em) {
|
|
1865
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1866
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1867
|
+
height: 250px;
|
|
1868
|
+
aspect-ratio: auto;
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
@media (min-width: 48em) {
|
|
1872
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1873
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1874
|
+
padding-right: 28px;
|
|
1875
|
+
padding-left: 28px;
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
@media (min-width: 62em) {
|
|
1879
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
|
|
1880
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
|
|
1881
|
+
height: auto;
|
|
1882
|
+
aspect-ratio: 53/32;
|
|
1883
|
+
padding-right: 0;
|
|
1884
|
+
padding-left: 0;
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background,
|
|
1888
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background {
|
|
1889
|
+
position: relative;
|
|
1890
|
+
top: auto;
|
|
1831
1891
|
height: 100%;
|
|
1832
|
-
content: "";
|
|
1833
|
-
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
|
|
1834
|
-
background-repeat: no-repeat;
|
|
1835
|
-
background-position-y: bottom;
|
|
1836
|
-
background-size: contain;
|
|
1837
1892
|
}
|
|
1838
|
-
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .
|
|
1893
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .background-mask,
|
|
1894
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .background-mask {
|
|
1839
1895
|
display: none;
|
|
1840
|
-
}
|
|
1841
|
-
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background .background-mask {
|
|
1842
1896
|
background-image: none;
|
|
1843
1897
|
}
|
|
1844
|
-
:host(.duet-theme-turva2) .duet-hero.duet-hero-
|
|
1845
|
-
|
|
1898
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1899
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1900
|
+
position: static;
|
|
1901
|
+
width: 100%;
|
|
1902
|
+
height: 100%;
|
|
1903
|
+
border-radius: 0;
|
|
1846
1904
|
mask-image: none;
|
|
1847
1905
|
}
|
|
1848
|
-
:host(.duet-theme-turva2) .duet-hero.duet-hero-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
z-index: 1;
|
|
1906
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg,
|
|
1907
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg {
|
|
1908
|
+
position: static;
|
|
1852
1909
|
width: 100%;
|
|
1853
1910
|
height: 100%;
|
|
1854
|
-
|
|
1855
|
-
background-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1911
|
+
background-position: 0;
|
|
1912
|
+
background-size: cover;
|
|
1913
|
+
transform: none;
|
|
1914
|
+
}
|
|
1915
|
+
@media (min-width: 48em) {
|
|
1916
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1917
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1918
|
+
border-radius: 0 0 12px 12px;
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
@media (min-width: 62em) {
|
|
1922
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1923
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
|
|
1924
|
+
border-radius: 12px;
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1928
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1929
|
+
top: auto;
|
|
1930
|
+
right: 20px;
|
|
1931
|
+
bottom: -16px;
|
|
1932
|
+
width: auto;
|
|
1933
|
+
height: auto;
|
|
1934
|
+
padding: 0;
|
|
1935
|
+
background-color: #172a3b;
|
|
1936
|
+
border-radius: 8px;
|
|
1937
|
+
mask-image: none;
|
|
1938
|
+
}
|
|
1939
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
|
|
1940
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
|
|
1941
|
+
top: 0;
|
|
1942
|
+
width: 62px;
|
|
1943
|
+
height: 62px;
|
|
1944
|
+
}
|
|
1945
|
+
@media (min-width: 36em) {
|
|
1946
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1947
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1948
|
+
right: 40px;
|
|
1949
|
+
bottom: -24px;
|
|
1950
|
+
padding: 8px;
|
|
1951
|
+
}
|
|
1952
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
|
|
1953
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
|
|
1954
|
+
width: 80px;
|
|
1955
|
+
height: 80px;
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
@media (min-width: 48em) {
|
|
1959
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1960
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1961
|
+
right: 68px;
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
@media (min-width: 62em) {
|
|
1965
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
|
|
1966
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
|
|
1967
|
+
right: 40px;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-text {
|
|
1971
|
+
width: 100%;
|
|
1972
|
+
}
|
|
1973
|
+
@media (min-width: 48em) {
|
|
1974
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
|
|
1975
|
+
margin-top: 28px;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
@media (min-width: 62em) {
|
|
1979
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
|
|
1980
|
+
padding: 0;
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content {
|
|
1984
|
+
padding: 0;
|
|
1985
|
+
margin: 20px auto;
|
|
1986
|
+
}
|
|
1987
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1988
|
+
max-width: 888px;
|
|
1989
|
+
}
|
|
1990
|
+
@media (min-width: 36em) {
|
|
1991
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1992
|
+
padding: 0 48px;
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
@media (min-width: 48em) {
|
|
1996
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
|
|
1997
|
+
padding: 0 72px;
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2001
|
+
position: static;
|
|
2002
|
+
padding: 0 16px;
|
|
2003
|
+
margin: 0 auto;
|
|
2004
|
+
}
|
|
2005
|
+
@media (min-width: 36em) {
|
|
2006
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2007
|
+
padding: 0 28px;
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
@media (min-width: 62em) {
|
|
2011
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2012
|
+
padding: 0 56px;
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
@media (min-width: 76.25em) {
|
|
2016
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
|
|
2017
|
+
max-width: 1110px;
|
|
2018
|
+
padding: 0;
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background {
|
|
2022
|
+
position: static;
|
|
2023
|
+
height: auto;
|
|
2024
|
+
}
|
|
2025
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .background-mask {
|
|
2026
|
+
display: none;
|
|
2027
|
+
background-image: none;
|
|
2028
|
+
}
|
|
2029
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image {
|
|
2030
|
+
position: static;
|
|
2031
|
+
width: auto;
|
|
2032
|
+
height: auto;
|
|
2033
|
+
}
|
|
2034
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-wrapper {
|
|
2035
|
+
width: auto;
|
|
2036
|
+
height: auto;
|
|
2037
|
+
}
|
|
2038
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-bg {
|
|
2039
|
+
position: static;
|
|
2040
|
+
width: 100%;
|
|
2041
|
+
height: auto;
|
|
2042
|
+
aspect-ratio: 5/2;
|
|
2043
|
+
background-size: cover;
|
|
2044
|
+
transform: none;
|
|
2045
|
+
}
|
|
2046
|
+
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
|
|
2047
|
+
border-radius: 12px;
|
|
2048
|
+
mask-image: none;
|
|
1859
2049
|
}
|
|
1860
2050
|
:host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
|
|
1861
2051
|
margin-top: 28px;
|
|
@@ -1866,6 +2056,7 @@ duet-heading + duet-button {
|
|
|
1866
2056
|
}
|
|
1867
2057
|
}
|
|
1868
2058
|
:host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
|
|
2059
|
+
position: static;
|
|
1869
2060
|
margin-top: 16px;
|
|
1870
2061
|
}
|
|
1871
2062
|
@media (min-width: 48em) {
|
|
@@ -180,13 +180,17 @@ export class DuetHero {
|
|
|
180
180
|
* Component lifecycle events.
|
|
181
181
|
*/
|
|
182
182
|
componentWillLoad() {
|
|
183
|
+
const headings = "h1, h2, h3, h4, h5, h6";
|
|
183
184
|
inheritGlobalTheme(this);
|
|
184
185
|
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
185
186
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
186
187
|
this.hasSubHeadingSlot = hasSlot(this.element, "subheading");
|
|
187
188
|
checkNamedSlotElement(this.element, "pre-heading", "span");
|
|
188
|
-
checkNamedSlotElement(this.element, "heading",
|
|
189
|
+
checkNamedSlotElement(this.element, "heading", `span, ${headings}`);
|
|
189
190
|
checkNamedSlotElement(this.element, "subheading", "span");
|
|
191
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings)) {
|
|
192
|
+
this.hasHeadingSlotNative = true;
|
|
193
|
+
}
|
|
190
194
|
this.refresh();
|
|
191
195
|
}
|
|
192
196
|
connectedCallback() {
|
|
@@ -270,7 +274,7 @@ export class DuetHero {
|
|
|
270
274
|
outlineColor = "color-primary-turva";
|
|
271
275
|
}
|
|
272
276
|
}
|
|
273
|
-
return (h("div", { key: '
|
|
277
|
+
return (h("div", { key: '2acab1c8b82358799dafa10a59b26c5c4926d9c2', role: "region", class: {
|
|
274
278
|
"duet-hero": true,
|
|
275
279
|
"duet-theme-turva": this.theme === "turva",
|
|
276
280
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -288,17 +292,17 @@ export class DuetHero {
|
|
|
288
292
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
289
293
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
290
294
|
"duet-hero-narrow": this.layout === "narrow",
|
|
291
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
292
|
-
this.processedBack && (h("div", { key: '
|
|
295
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '6eaf6fdf31c583d1bf46b6e0a17e5f59fd9bef16', class: "background-area" }, h("div", { key: 'cffc1963ec6f4f330a45b16ef8597fd0406810ff', class: "background-container" }, h("div", { key: '5d5a8bbbe8acf1873aac92bb8958ce89645586b6', class: "background" }, h("img", { key: '275067a598c6e3698a173ae744c78a3561cf9860', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '3d2d60e4424fd538cf25286506898ca36ead0e25', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: 'e67359431f573b15907e91a3849e85dd68a2b644', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '397e5301fc2b4a121e3c0a2de7e2370004208035', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '078e49f6846a0b61d1bbb11928c7c1b4f0969237', class: { background: true, [this.layout]: true } }, h("div", { key: '2daa9135a889476521e74ed6aa803bbace92dd6d', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: 'ae26a5feaebc0b7911990d0b9c30057856721dac', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: 'f419c7247da65238eebad9f99b75518c2c2b8ada', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '68ccb4c3fe4fd2440d6ff7e335df5d2846b7aa85', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '5f7b2f8284d75a99cedbd8222a64fa85da3bbba0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: 'a5dd4a3ddf8496bb7410510b3f7dd0b0a25bb669', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '1294469ae73fd7152468c7511115df26ade001c6', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '94e722b437acc481d8850afa5a427d663db361df', class: "background-area" }, h("div", { key: '24695ae05a4f5e71286485ca9de320a188a3f750', class: "background" }, h("div", { key: '49ff7ba2e5bff31c66ff1a8e25089d93d04dbe79', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '220556ff22eea0a4c635c9848d8b8819bc6efd1f', class: "brand-shape" }), h("div", { key: '378d01fdda36431c580f66a784648efb5560b686', class: "brand-shaped-image" }, h("div", { key: '1fc789aafa6956bd228968caf0db6dff147114dc', class: "brand-shaped-image-wrapper" }, h("div", { key: '7788059d7f3affaec40ab2ae5990657f991dd48c', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: 'af608366dc29bfccac27e761e93e75c0b7bfec2c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'afe18dd2b7e20333e45e00e5c5a4a966e35660f9', class: "duet-hero-image-mask" }, h("div", { key: 'f4ab5d687e3907148e0b4f0d1363576cd2b566e2', class: "duet-hero-image-wrapper" }, h("div", { key: '593e3142b5e6452188ca524610bd213eeea25c3f', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
296
|
+
this.processedBack && (h("div", { key: '6ef1cb9203c2a2e553ecb1765a912929d9db9846', class: "duet-hero-back" }, h("duet-button", { key: '88c8ae092e2822124387ea072d6b367d52192100', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
293
297
|
label: this.processedBack.label,
|
|
294
298
|
href: this.processedBack.href,
|
|
295
299
|
id: this.processedBack.id,
|
|
296
300
|
analyticsId: this.processedBack.analyticsId,
|
|
297
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
301
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '84ee8012288a996c6f8e8784ec4f11cfbd1b8ae0', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: 'f01a0715385faba12c729803e38c98d63081afbb', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: 'cadb1a1a8c68ef87c94a91ccb04055e978df8ef6', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'a7fc32e5f238d1cd628753e0f20a4afd1e5e0eb9', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'e3275e3977ba1e6900478aa53175f2e2e4e40d04', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: 'fe9b5e29d6ae66ad144b44c8e148bf2094ea90af', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '32b4475fd032d945cb71f8a3bbf1853be66e2e22', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '0524a2070a96b01316a972650024cea29f21e414', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '5a63ea9d07f59ea32ba37a1d0347b8eb38f25d6b', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: 'e579589e4189bb1f3f07c7557fa99ce2223dbe40', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '516589bcc702ae95a21b1dd6c3204f678a658a0d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: 'd7b178afe535335a3c51949d7e8f3546d3d434e3', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
298
302
|
this.variation !== "image" &&
|
|
299
303
|
!campaignOrSection &&
|
|
300
304
|
this.variation !== "product" &&
|
|
301
|
-
this.variation !== "content" && h("div", { key: '
|
|
305
|
+
this.variation !== "content" && h("div", { key: '24764772d259abadc2405cc658c07c9b255a48e4', class: "duet-hero-image", style: styles }), h("slot", { key: 'f8209505395340f3f3f2cd2d8d7d3e7d2c9a8740', name: "bottom" }))));
|
|
302
306
|
}
|
|
303
307
|
static get is() { return "duet-hero"; }
|
|
304
308
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,11 +144,11 @@ export class DuetIcon {
|
|
|
144
144
|
: {};
|
|
145
145
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
146
146
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '2a800d3292964b5a1dd5fd454662f690ce9e6b5a', class: {
|
|
148
148
|
"duet-m-0": this.margin === "none",
|
|
149
149
|
"duet-icon-has-outline": !!this.outline,
|
|
150
150
|
"duet-icon-has-background": !!this.background,
|
|
151
|
-
} }, h("span", { key: '
|
|
151
|
+
} }, h("span", { key: '4d5d3fc155d6d2e4f677d8753c116c82eb865a2c', "aria-hidden": "true", style: styles, class: {
|
|
152
152
|
"duet-icon": true,
|
|
153
153
|
"duet-theme-turva": this.theme === "turva",
|
|
154
154
|
"duet-theme-default": this.theme === "default",
|
|
@@ -157,7 +157,7 @@ export class DuetIcon {
|
|
|
157
157
|
[shapeStyle]: true,
|
|
158
158
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
159
159
|
"duet-icon-not-responsive": !this.responsive,
|
|
160
|
-
} }, h("span", { key: '
|
|
160
|
+
} }, h("span", { key: '6c79866426237ff75ff36401a9117dca1a68cf19', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "duet-icon"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-indicator {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
width: 8px;
|
|
32
|
+
height: 8px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
.duet-indicator-new {
|
|
36
|
+
background: rgb(0, 119, 179);
|
|
37
|
+
}
|
|
38
|
+
.duet-indicator-change {
|
|
39
|
+
background: rgb(247, 178, 40);
|
|
40
|
+
}
|
|
41
|
+
.duet-indicator-error {
|
|
42
|
+
background: rgb(185, 16, 74);
|
|
43
|
+
}
|
|
44
|
+
.duet-indicator-success {
|
|
45
|
+
background: rgb(29, 106, 88);
|
|
46
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { getLocaleString } from "../../utils/language-utils";
|
|
6
|
+
export class DuetIndicator {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.defaultLabels = {
|
|
9
|
+
new: {
|
|
10
|
+
fi: "Uutta sisältöä",
|
|
11
|
+
en: "New content",
|
|
12
|
+
sv: "Nyt innehålle",
|
|
13
|
+
},
|
|
14
|
+
change: {
|
|
15
|
+
fi: "Muuttunutta sisältöä",
|
|
16
|
+
en: "Changed content",
|
|
17
|
+
sv: "Ändrat innehålle",
|
|
18
|
+
},
|
|
19
|
+
error: {
|
|
20
|
+
fi: "Sisältää virheen",
|
|
21
|
+
en: "Contains error",
|
|
22
|
+
sv: "Innehåller ett fel",
|
|
23
|
+
},
|
|
24
|
+
success: {
|
|
25
|
+
fi: "Onnistunut toiminto",
|
|
26
|
+
en: "Completed successfully",
|
|
27
|
+
sv: "Lyckad åtgärd",
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used
|
|
32
|
+
* only in special cases, as errors and succeses normally require a more prominent message.
|
|
33
|
+
*/
|
|
34
|
+
this.variation = "change";
|
|
35
|
+
this.getAccessibleLabel = () => {
|
|
36
|
+
return this.accessibleLabel || getLocaleString(this.defaultLabels[this.variation]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
return (h(Host, { key: '09990afce3e74a91ff9ce76ac6a038418e40272e' }, h("span", { key: 'e5695f01c4d009bc1c18b92b07975980e799becd', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '4300b55a370c674cb6bd0caf3f5b834e382481a9' }, this.getAccessibleLabel())));
|
|
41
|
+
}
|
|
42
|
+
static get is() { return "duet-indicator"; }
|
|
43
|
+
static get encapsulation() { return "shadow"; }
|
|
44
|
+
static get originalStyleUrls() {
|
|
45
|
+
return {
|
|
46
|
+
"$": ["duet-indicator.scss"]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static get styleUrls() {
|
|
50
|
+
return {
|
|
51
|
+
"$": ["duet-indicator.css"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
static get properties() {
|
|
55
|
+
return {
|
|
56
|
+
"variation": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"attribute": "variation",
|
|
59
|
+
"mutable": false,
|
|
60
|
+
"complexType": {
|
|
61
|
+
"original": "IndicatorVariation",
|
|
62
|
+
"resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
|
|
63
|
+
"references": {
|
|
64
|
+
"IndicatorVariation": {
|
|
65
|
+
"location": "local",
|
|
66
|
+
"path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-indicator/duet-indicator.tsx",
|
|
67
|
+
"id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": false,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "The variation of the indicator. Typically \"change\" and \"new\" are used; \"error\" and \"success\" should be used\nonly in special cases, as errors and succeses normally require a more prominent message."
|
|
76
|
+
},
|
|
77
|
+
"getter": false,
|
|
78
|
+
"setter": false,
|
|
79
|
+
"reflect": false,
|
|
80
|
+
"defaultValue": "\"change\""
|
|
81
|
+
},
|
|
82
|
+
"accessibleLabel": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"attribute": "accessible-label",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "string",
|
|
88
|
+
"resolved": "string",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": "Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this\nproperty."
|
|
96
|
+
},
|
|
97
|
+
"getter": false,
|
|
98
|
+
"setter": false,
|
|
99
|
+
"reflect": false
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
static get elementRef() { return "element"; }
|
|
104
|
+
}
|
|
@@ -528,7 +528,7 @@ export class DuetInput {
|
|
|
528
528
|
this.type !== "password" &&
|
|
529
529
|
this.type !== "time" &&
|
|
530
530
|
this.variation !== "button";
|
|
531
|
-
return (h(Host, { key: '
|
|
531
|
+
return (h(Host, { key: 'a510fa25a1bfafc15b45ec3ae52673542c9431f8', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'de872f33e40e697f2bfbbd44cf50baa6119d7cf1', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'c90de920afdad7d205699cea7d5f4fdd1572a87b', class: {
|
|
532
532
|
"duet-input-container": true,
|
|
533
533
|
"duet-theme-turva": this.theme === "turva",
|
|
534
534
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -542,7 +542,7 @@ export class DuetInput {
|
|
|
542
542
|
"has-clear": this.clear,
|
|
543
543
|
"has-focus": this.isFocused,
|
|
544
544
|
disabled: this.disabled,
|
|
545
|
-
} }, h("div", { key: '
|
|
545
|
+
} }, h("div", { key: '25af0df12601480977d1073be0dac1f37edce26e', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '8472acbdb1f02f3177acb1cc359b684359577c97', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '6ae13a9809afd8abea403d05594d0ac605043f13', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '456f3ee403878a23c7141e9b063c8d8e04e95be2', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'c4c6f0174d210348bbbab129508fc99917243f2c', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'ba63a0017715fab0c39fca2a948c9bfbfdad1f31', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'eaad95087d69b5b4a8e72b43ddb184bf8b941087', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '2013c4ffb1127068ced232f02ef8885f3e8f614e', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: '5fbfb4ca2fd57a0ae853d4ec2512c79fa85aefd0', name: "button-left" }), h("input", Object.assign({ key: '060cab78180db35d613d8e8944ae17fc61dcb7c8', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
546
546
|
"duet-input": true,
|
|
547
547
|
disabled: this.disabled,
|
|
548
548
|
"is-number": this.component === "number",
|
|
@@ -550,17 +550,17 @@ export class DuetInput {
|
|
|
550
550
|
"after-chip": this.getAllChips().length > 0,
|
|
551
551
|
"align-right": this.inputAlign === "right",
|
|
552
552
|
[`input-padding-${this.inputPadding}`]: true,
|
|
553
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '
|
|
553
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2ef57d881263ad7285afe3bd58ed9de8913131ca', class: "duet-input-icon" }, h("duet-icon", { key: '0424cb373c27e808b8ed1e1f44ca28b077af2f43', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '2ba7ed30cf2409845b231bbc21cb1a7b9e001196', class: {
|
|
554
554
|
"duet-input-clear-icon": true,
|
|
555
555
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
556
556
|
"duet-input-clear-icon-double": !!this.icon,
|
|
557
557
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
558
558
|
[`input-padding-${this.inputPadding}`]: true,
|
|
559
|
-
} }, h("button", { key: '
|
|
559
|
+
} }, h("button", { key: '7be0f3cce53d669a7cb2553ea0c720a0a8f234fb', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'd51041231a488756076772109503dcb42a47cef9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '34624c33d8582374f0deddee30d4cc3968fa38db', class: "duet-input-icon" }, h("duet-icon", { key: 'f1fde9b9334ea64219f70363ec2bf40aa9e57d6f', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '5f490c321a2ac47676a4aff02e30f0871b640dc2', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'd8c8a40544d07411b453bfa332c9741851bf6226', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
560
560
|
? this.hidePasswordLabel[this.language]
|
|
561
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '
|
|
561
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '6c96533d140ef424e33a3a67961042c3d3838161' }, h("span", { key: '6ab1b5959e16b393688eaa068d772b0a600badaf', "aria-live": "polite" }, this.isPasswordRevealed
|
|
562
562
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
563
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '
|
|
563
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '5546955121bfe120490c3b22825c1035c096dd6c' })), h("span", { key: '79328cf71b7ba877431ed97a0ec98cadc31efa56', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f483bcaa8219c1636b5f0b83ee1ee33bd49ec1d5', class: "duet-input-error" }, this.error)))));
|
|
564
564
|
}
|
|
565
565
|
static get is() { return "duet-input"; }
|
|
566
566
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1297,7 +1297,7 @@ export class DuetInput {
|
|
|
1297
1297
|
"optional": false,
|
|
1298
1298
|
"docs": {
|
|
1299
1299
|
"tags": [],
|
|
1300
|
-
"text": "Use maxlength to specify the maximum length of the value that can be entered
|
|
1300
|
+
"text": "Use maxlength to specify the maximum length of the value that can be entered."
|
|
1301
1301
|
},
|
|
1302
1302
|
"getter": false,
|
|
1303
1303
|
"setter": false,
|
|
@@ -1316,7 +1316,7 @@ export class DuetInput {
|
|
|
1316
1316
|
"optional": false,
|
|
1317
1317
|
"docs": {
|
|
1318
1318
|
"tags": [],
|
|
1319
|
-
"text": "Use minlength to specify the minimum length of the value that can be entered
|
|
1319
|
+
"text": "Use minlength to specify the minimum length of the value that can be entered."
|
|
1320
1320
|
},
|
|
1321
1321
|
"getter": false,
|
|
1322
1322
|
"setter": false,
|