@duetds/components 10.0.0-alpha.28 → 10.0.0-alpha.29
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 +120 -91
- package/hydrate/index.mjs +120 -91
- package/lib/cjs/{a11y-utils-CJbT7JyN.js → a11y-utils-C2urHioz.js} +1 -1
- package/lib/cjs/{app-globals-Bg_Qat6e.js → app-globals-CiRzLcdj.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +5 -5
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -9
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- 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 +8 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +10 -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 +23 -10
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +12 -9
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +21 -22
- 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 +25 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
- 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 +3 -3
- package/lib/cjs/duet-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +4 -4
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
- package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +4 -4
- 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 +5 -5
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-CvAMXZjl.js → errorcodes.utils-CT287Ycp.js} +1 -1
- package/lib/cjs/{focus-utils-C8MDOQZG.js → focus-utils-DYmtJ1FV.js} +1 -1
- package/lib/cjs/{index-BkDTP7hm.js → index-ULRMHMT6.js} +1 -1
- package/lib/cjs/{label-DYV9pC59.js → label-Cw2Vvd6f.js} +1 -1
- package/lib/cjs/{language-utils-BxIeXBGy.js → language-utils-D_noDTNR.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-F-Jmx-3a.js → slot-utils-CuWfl8gF.js} +1 -1
- package/lib/cjs/{themeable-component-DvX_Xgrg.js → themeable-component-vXSpPXDS.js} +1 -1
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -3
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +9 -4
- package/lib/collection/components/duet-grid/duet-grid.js +27 -12
- package/lib/collection/components/duet-hero/duet-hero.js +8 -5
- package/lib/collection/components/duet-input/duet-input.css +7 -0
- package/lib/collection/components/duet-input/duet-input.js +26 -42
- package/lib/collection/components/duet-link/duet-link.css +6 -0
- package/lib/collection/components/duet-modal/duet-modal.js +20 -8
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-number-input/duet-number-input.js +3 -3
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +1 -1
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +2 -2
- package/lib/collection/components/duet-select/duet-select.js +6 -6
- package/lib/collection/components/duet-table/duet-table-styles.js +1 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-97ba0b31.entry.js → p-01b28129.entry.js} +1 -1
- package/lib/duet/{p-cc343a6c.entry.js → p-01bfda23.entry.js} +1 -1
- package/lib/duet/{p-3a1c718a.entry.js → p-01c80d5a.entry.js} +1 -1
- package/lib/duet/{p-7e02804f.entry.js → p-06ca53e7.entry.js} +1 -1
- package/lib/duet/{p-ea979f26.entry.js → p-098d9160.entry.js} +1 -1
- package/lib/duet/{p-8017e834.entry.js → p-0a9945d3.entry.js} +1 -1
- package/lib/duet/{p-fec4da8c.entry.js → p-0eb86bf1.entry.js} +1 -1
- package/lib/duet/{p-f30823aa.entry.js → p-10640c4f.entry.js} +1 -1
- package/lib/duet/{p-30035283.entry.js → p-18674149.entry.js} +1 -1
- package/lib/duet/{p-8356498a.entry.js → p-1d192423.entry.js} +1 -1
- package/lib/duet/p-1e043a65.entry.js +4 -0
- package/lib/duet/{p-1206ff96.entry.js → p-218d8d0c.entry.js} +1 -1
- package/lib/duet/{p-5a2e2e55.entry.js → p-22baa879.entry.js} +1 -1
- package/lib/duet/{p-b9125a20.entry.js → p-22c91ab8.entry.js} +1 -1
- package/lib/duet/{p-caf2cab9.entry.js → p-23cf09fc.entry.js} +1 -1
- package/lib/duet/{p-787b30fc.entry.js → p-242e8590.entry.js} +1 -1
- package/lib/duet/p-2defb00a.entry.js +4 -0
- package/lib/duet/p-35d6644f.entry.js +4 -0
- package/lib/duet/{p-f78c747f.entry.js → p-366f6c75.entry.js} +1 -1
- package/lib/duet/{p-6b79244a.entry.js → p-368f8b17.entry.js} +1 -1
- package/lib/duet/{p-5da18b67.entry.js → p-3740d6a3.entry.js} +1 -1
- package/lib/duet/{p-4e6bc806.entry.js → p-38f1f411.entry.js} +1 -1
- package/lib/duet/{p-fc2d3b85.entry.js → p-3a774155.entry.js} +1 -1
- package/lib/duet/{p-ee38050b.entry.js → p-40965806.entry.js} +1 -1
- package/lib/duet/{p-daa8f255.entry.js → p-43417674.entry.js} +1 -1
- package/lib/duet/{p-12ac4ff1.entry.js → p-4743f2de.entry.js} +1 -1
- package/lib/duet/{p-2cdeebb1.entry.js → p-49bccc83.entry.js} +1 -1
- package/lib/duet/{p-66dc053b.entry.js → p-4a0f1cdb.entry.js} +1 -1
- package/lib/duet/{p-09758ca7.entry.js → p-4a4795be.entry.js} +1 -1
- package/lib/duet/{p-81992942.entry.js → p-4c421d4a.entry.js} +1 -1
- package/lib/duet/{p-16a96348.entry.js → p-5175a2dd.entry.js} +1 -1
- package/lib/duet/{p-ddbdbe11.entry.js → p-531ccf9e.entry.js} +1 -1
- package/lib/duet/{p-78db887a.entry.js → p-545fc3f7.entry.js} +1 -1
- package/lib/duet/{p-abd2d2e5.entry.js → p-55905e75.entry.js} +1 -1
- package/lib/duet/p-5689da45.entry.js +4 -0
- package/lib/duet/{p-d83d4c83.entry.js → p-56fbb9c9.entry.js} +1 -1
- package/lib/duet/{p-c43dc2fd.entry.js → p-5eaf6164.entry.js} +1 -1
- package/lib/duet/{p-cb78347a.entry.js → p-5ef0982d.entry.js} +1 -1
- package/lib/duet/{p-44e44f11.entry.js → p-6442c2be.entry.js} +1 -1
- package/lib/duet/{p-f2b7be73.entry.js → p-6b5e575b.entry.js} +1 -1
- package/lib/duet/{p-34ca9627.entry.js → p-6c1a7d2a.entry.js} +1 -1
- package/lib/duet/{p-68b125c1.entry.js → p-726b706a.entry.js} +1 -1
- package/lib/duet/{p-c9fd65ce.entry.js → p-73041240.entry.js} +1 -1
- package/lib/duet/p-7340a148.entry.js +4 -0
- package/lib/duet/{p-54dff5d5.entry.js → p-78f0104d.entry.js} +1 -1
- package/lib/duet/{p-fcc4cd08.entry.js → p-7c4b51bc.entry.js} +1 -1
- package/lib/duet/p-7d682f0c.entry.js +4 -0
- package/lib/duet/{p-9ac2964f.entry.js → p-7dde6589.entry.js} +1 -1
- package/lib/duet/{p-b88c7286.entry.js → p-80c2a22b.entry.js} +1 -1
- package/lib/duet/{p-1a8da00c.entry.js → p-86613005.entry.js} +1 -1
- package/lib/duet/{p-c9ef3dfc.entry.js → p-866d5fba.entry.js} +1 -1
- package/lib/duet/{p-97bb619b.entry.js → p-878e745d.entry.js} +1 -1
- package/lib/duet/{p-dd8692cb.entry.js → p-89de527f.entry.js} +1 -1
- package/lib/duet/{p-35fdce02.entry.js → p-8eb11318.entry.js} +1 -1
- package/lib/duet/{p-be077745.entry.js → p-96179df4.entry.js} +1 -1
- package/lib/duet/{p-2f8ac3ad.entry.js → p-994e0989.entry.js} +1 -1
- package/lib/duet/{p-3a4a486b.entry.js → p-9d630f8d.entry.js} +1 -1
- package/lib/duet/{p-D4WDSjzx.js → p-B0lHdUDq.js} +1 -1
- package/lib/duet/p-Bq8ssolA.js +4 -0
- package/lib/duet/p-C-pON5qf.js +4 -0
- package/lib/duet/{p-BfHFKBVa.js → p-Cg-Sy7Qf.js} +1 -1
- package/lib/duet/{p-x84EsPoI.js → p-CmVjSa2G.js} +1 -1
- package/lib/duet/{p-BVUumLs-.js → p-D8Vx4GZo.js} +1 -1
- package/lib/duet/{p-BFsh4y5I.js → p-DNq3_6qZ.js} +1 -1
- package/lib/duet/{p-DEF77zC7.js → p-DhhvHRbK.js} +1 -1
- package/lib/duet/{p-2f21ed78.entry.js → p-a456687d.entry.js} +1 -1
- package/lib/duet/{p-8d3c4a3f.entry.js → p-a6eed3fb.entry.js} +1 -1
- package/lib/duet/p-a954bbc6.entry.js +4 -0
- package/lib/duet/{p-d93c2be4.entry.js → p-ac84994d.entry.js} +1 -1
- package/lib/duet/{p-3208daa6.entry.js → p-ae830c4f.entry.js} +1 -1
- package/lib/duet/{p-796eec58.entry.js → p-b8f14348.entry.js} +1 -1
- package/lib/duet/{p-9dd85685.entry.js → p-c3e002cb.entry.js} +1 -1
- package/lib/duet/{p-20fa2389.entry.js → p-c6c245d2.entry.js} +1 -1
- package/lib/duet/{p-8de6d1e2.entry.js → p-c6c2f1dc.entry.js} +1 -1
- package/lib/duet/{p-631b16b7.entry.js → p-ca1ac603.entry.js} +1 -1
- package/lib/duet/{p-5d626b10.entry.js → p-cb5020b3.entry.js} +1 -1
- package/lib/duet/{p-bd08aba8.entry.js → p-cc2fe910.entry.js} +1 -1
- package/lib/duet/{p-a1442533.entry.js → p-d0fe1162.entry.js} +1 -1
- package/lib/duet/{p-fdab5c0b.entry.js → p-d4c5c776.entry.js} +1 -1
- package/lib/duet/{p-49534af3.entry.js → p-d77d51df.entry.js} +1 -1
- package/lib/duet/{p-adf33c50.entry.js → p-e03b4d6d.entry.js} +1 -1
- package/lib/duet/{p-166bc231.entry.js → p-e18ded3f.entry.js} +1 -1
- package/lib/duet/{p-6e1454e9.entry.js → p-e1997fb2.entry.js} +1 -1
- package/lib/duet/{p-5cd78818.entry.js → p-e41e1570.entry.js} +1 -1
- package/lib/duet/{p-7c3fcd96.entry.js → p-e443cf8a.entry.js} +1 -1
- package/lib/duet/p-e6a4707d.entry.js +4 -0
- package/lib/duet/{p-7b718349.entry.js → p-e9ff33aa.entry.js} +1 -1
- package/lib/duet/{p-01a9a47d.entry.js → p-eb7799de.entry.js} +1 -1
- package/lib/duet/{p-f0076621.entry.js → p-ed4f565e.entry.js} +1 -1
- package/lib/duet/{p-eab48b73.entry.js → p-ee8f51c9.entry.js} +1 -1
- package/lib/duet/{p-b942ee5a.entry.js → p-f25c9b3a.entry.js} +1 -1
- package/lib/duet/{p-447520f5.entry.js → p-f950ae45.entry.js} +1 -1
- package/lib/duet/{p-7912bc42.entry.js → p-fd19cbeb.entry.js} +1 -1
- package/lib/duet/{p-22e7cf7d.entry.js → p-ffa644e6.entry.js} +1 -1
- package/lib/duet/{p-Yh6R_0l1.js → p-vLG7vkZg.js} +1 -1
- package/lib/esm/{a11y-utils-CRHgvsu9.js → a11y-utils-k-txkQIa.js} +1 -1
- package/lib/esm/{app-globals-CYQv_sg4.js → app-globals-BL1PM4GK.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +5 -5
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +3 -3
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +11 -9
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +4 -4
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +3 -3
- 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 +8 -8
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +5 -4
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +10 -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 +23 -10
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +12 -9
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-indicator.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +21 -22
- 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 +25 -13
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +3 -3
- package/lib/esm/duet-number-input.entry.js +6 -6
- 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 +3 -3
- package/lib/esm/duet-panel.entry.js +2 -2
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +4 -4
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +4 -4
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +9 -9
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +4 -4
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +5 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +5 -5
- package/lib/esm/duet-slideout.entry.js +5 -5
- package/lib/esm/duet-status-icon.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +8 -8
- package/lib/esm/duet-toggle.entry.js +4 -4
- 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 +5 -5
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-MZm5Z6Ra.js → errorcodes.utils-DMBhYFft.js} +1 -1
- package/lib/esm/{focus-utils-CrtNnjPR.js → focus-utils-CKJz94Qb.js} +1 -1
- package/lib/esm/{index-BfHFKBVa.js → index-Cg-Sy7Qf.js} +1 -1
- package/lib/esm/{label-BewTofiP.js → label-CiT_iRKt.js} +1 -1
- package/lib/esm/{language-utils-BvGD3xAJ.js → language-utils-CQS4gIfI.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-QOcACBKy.js → slot-utils-BtxgUznn.js} +1 -1
- package/lib/esm/{themeable-component-D9rAA2iK.js → themeable-component-C76K02P9.js} +1 -1
- package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
- package/lib/types/components/duet-input/duet-input.d.ts +5 -10
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components.d.ts +22 -2
- package/package.json +3 -3
- package/lib/duet/p-41558cfd.entry.js +0 -4
- package/lib/duet/p-6f710a62.entry.js +0 -4
- package/lib/duet/p-87fa61b0.entry.js +0 -4
- package/lib/duet/p-882f0aaf.entry.js +0 -4
- package/lib/duet/p-88e2e400.entry.js +0 -4
- package/lib/duet/p-D3JjrjH_.js +0 -4
- package/lib/duet/p-DeH5mj7m.js +0 -4
- package/lib/duet/p-c084c91d.entry.js +0 -4
- package/lib/duet/p-d0cc1c5b.entry.js +0 -4
- package/lib/duet/p-ff169773.entry.js +0 -4
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
var tokenUtils = require('./token-utils-b3aW02zZ.js');
|
|
9
9
|
require('./tokens.module-7opSZfop.js');
|
|
10
10
|
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
var jsUtils = require('./js-utils-hJ4A2edy.js');
|
|
9
9
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
10
|
-
var languageUtils = require('./language-utils-
|
|
10
|
+
var languageUtils = require('./language-utils-D_noDTNR.js');
|
|
11
11
|
var tokens_module = require('./tokens.module-7opSZfop.js');
|
|
12
12
|
var tokenUtils = require('./token-utils-b3aW02zZ.js');
|
|
13
13
|
var createId = require('./create-id-DtslnIOq.js');
|
|
14
14
|
var stringUtils = require('./string-utils-B35hEUBv.js');
|
|
15
|
-
var errorcodes_utils = require('./errorcodes.utils-
|
|
15
|
+
var errorcodes_utils = require('./errorcodes.utils-CT287Ycp.js');
|
|
16
16
|
|
|
17
17
|
//simple functional component that renders the data in the table
|
|
18
18
|
const TableData = ({ data, groupId, alignment }, _children) => {
|
|
@@ -413,6 +413,7 @@ duet-table {
|
|
|
413
413
|
.duet-table-sticky thead th {
|
|
414
414
|
position: sticky;
|
|
415
415
|
top: 0;
|
|
416
|
+
z-index: $z-index-sticky;
|
|
416
417
|
background: ${tokens_module.colorGrayLightest};
|
|
417
418
|
}
|
|
418
419
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
|
|
9
9
|
const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-empty-state.duet-theme-turva{color:#172a3b;background:#f5f6f7}";
|
|
10
10
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
var createId = require('./create-id-DtslnIOq.js');
|
|
9
|
-
var slotUtils = require('./slot-utils-
|
|
9
|
+
var slotUtils = require('./slot-utils-CuWfl8gF.js');
|
|
10
10
|
|
|
11
11
|
const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper{color:#172a3b}";
|
|
12
12
|
|
|
@@ -32,6 +32,10 @@ const DuetFieldset = class {
|
|
|
32
32
|
* If caption is present, larger lineheight is used regardless of this prop.
|
|
33
33
|
*/
|
|
34
34
|
this.compactLabel = false;
|
|
35
|
+
/**
|
|
36
|
+
* An error message to be shown next to the label.
|
|
37
|
+
*/
|
|
38
|
+
this.error = "";
|
|
35
39
|
/**
|
|
36
40
|
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
37
41
|
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
@@ -73,20 +77,20 @@ const DuetFieldset = class {
|
|
|
73
77
|
* Always the last one in the class.
|
|
74
78
|
*/
|
|
75
79
|
render() {
|
|
76
|
-
return (index.h(index.Host, { key: '
|
|
80
|
+
return (index.h(index.Host, { key: 'e1a788de39eaef07a1abaa996870dd726b226aee', class: { "duet-m-0": this.margin === "none" } }, index.h("fieldset", { key: 'e7d2b6ecb24666f6a563d4923bb228bdf7e8820d', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
77
81
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
78
82
|
// once they do, we can remove errors from the aria-describedby
|
|
79
83
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
80
84
|
class: {
|
|
81
85
|
"duet-fieldset": true,
|
|
82
86
|
"duet-theme-turva": this.theme === "turva",
|
|
83
|
-
} }, index.h("legend", { key: '
|
|
87
|
+
} }, index.h("legend", { key: '9412c1763b18075c6c6d585389c3ac9d22542f64', id: this.labelId }, index.h(this.labelHeadingLevel, { key: '9c1c5cfef779deef96e68e7f3760f0eeec8d347a' }, this.label), this.caption && index.h("span", { key: 'd166f280495ee9e156e705fe52455b18c5a13ea2' }, this.caption)), index.h("div", { key: 'e390d201c421bbd2086946b4548dc98d5c58fead', class: {
|
|
84
88
|
"duet-legend-wrapper": true,
|
|
85
89
|
"duet-legend-has-caption": !!this.caption,
|
|
86
90
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
87
91
|
"duet-legend-hidden": this.labelHidden,
|
|
88
92
|
"duet-legend-compact": this.compactLabel,
|
|
89
|
-
} }, index.h("div", { key: '
|
|
93
|
+
} }, index.h("div", { key: '10861fb7ec43cc4aec34ae9b04b1b191dd7a0d5c', class: "duet-fieldset-label" }, index.h("span", { key: '63b295dc887c75eb4bc062d214bb5b6a899e0f83', "aria-hidden": "true" }, this.label), index.h("slot", { key: 'dc154b5f9980e99c525884e32f7811e36fe634fc', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (index.h("div", { key: '1803a70997b3d2de928d501cfb86864bfa3af614', class: "duet-fieldset-caption", "aria-hidden": "true" }, index.h("duet-caption", { key: 'c574d64b9a375d0af50bc0bed35ea0418139f579', theme: this.theme, margin: "none" }, this.caption)))), index.h("slot", { key: '48665d8be4d66036d4d69090d7a98ee01f99dbac' }), index.h("span", { key: '9815f8bf073a39267673baf538de5908b52758e9', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '93bfa1f3fb33cf3bc23055948b416a18369b8497', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
90
94
|
}
|
|
91
95
|
get element() { return index.getElement(this); }
|
|
92
96
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
|
|
9
9
|
const duetFileChooserCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";
|
|
10
10
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
7
|
var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
|
|
8
8
|
var commonStrings = require('./common-strings-CSqtNIxt.js');
|
|
9
|
-
var themeableComponent = require('./themeable-component-
|
|
9
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
10
10
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
11
|
-
var languageUtils = require('./language-utils-
|
|
12
|
-
var slotUtils = require('./slot-utils-
|
|
11
|
+
var languageUtils = require('./language-utils-D_noDTNR.js');
|
|
12
|
+
var slotUtils = require('./slot-utils-CuWfl8gF.js');
|
|
13
13
|
var stringUtils = require('./string-utils-B35hEUBv.js');
|
|
14
14
|
require('./_commonjsHelpers-4N64IRaP.js');
|
|
15
15
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
|
|
9
9
|
const duetGridCss = ":host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host(.duet-grid-variation-flex) {\n display: flex !important;\n flex-direction: column !important;\n align-items: flex-start !important;\n justify-content: flex-start !important;\n width: 100%;\n max-width: 100%;\n height: auto;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: row !important;\n}\n@media (max-width: 22.5em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-wrap) {\n flex-wrap: wrap !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking) {\n flex-direction: row !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n}\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n}\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking) {\n align-items: center !important;\n}\n\n.duet-grid-align-stretch.duet-no-stacking {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking) {\n align-items: baseline !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small) {\n align-items: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small) {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small) {\n align-items: baseline !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large) {\n align-items: baseline !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-left) {\n justify-content: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-right) {\n justify-content: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-center) {\n justify-content: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-between) {\n justify-content: space-between !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-around) {\n justify-content: space-around !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-evenly) {\n justify-content: space-evenly !important;\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-left) {\n align-items: flex-start !important;\n justify-content: flex-start !important;\n text-align: left !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) {\n align-items: center !important;\n justify-content: center !important;\n text-align: center !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) * {\n text-align: center !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) {\n align-items: flex-end !important;\n justify-content: flex-end !important;\n text-align: right !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) * {\n text-align: right !important;\n }\n}\n\n:host(.duet-grid-variation-grid) {\n display: grid;\n grid-template-rows: repeat(1, 1fr);\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: 16px;\n align-items: flex-start;\n justify-content: center;\n padding: 0 20px;\n container-type: inline-size;\n overflow-x: clip;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid) {\n gap: 24px;\n padding: 0 40px;\n }\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(8, 55px);\n gap: 24px 32px;\n padding: 0;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n padding: 0 64px;\n }\n}\n@media (min-width: 76.25em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, 55px);\n gap: 40px;\n padding: 0;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 3/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 2/span 10;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 12;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 5/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 6;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 5/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 7/span 6;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 5/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n padding: 0;\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n gap: 16px;\n }\n}\n@container (min-width: 664px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n@container (min-width: 1100px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n /* stylelint-enable */\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}";
|
|
10
10
|
|
|
@@ -32,9 +32,10 @@ const DuetGrid = class {
|
|
|
32
32
|
*/
|
|
33
33
|
this.rowReverse = false;
|
|
34
34
|
/**
|
|
35
|
-
* Adjusts the vertical alignment of the grid items, if set to "
|
|
35
|
+
* Adjusts the vertical alignment of the grid items, if set to "form-distribute"
|
|
36
36
|
* the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items,
|
|
37
|
-
* so that they align even when displaying errors.
|
|
37
|
+
* so that they align even when displaying errors. Value "form_distribute" is deprecated, use
|
|
38
|
+
* "form-distribute" for new development.
|
|
38
39
|
*/
|
|
39
40
|
this.alignment = "top";
|
|
40
41
|
/**
|
|
@@ -50,6 +51,12 @@ const DuetGrid = class {
|
|
|
50
51
|
*/
|
|
51
52
|
this.gridTemplate = null;
|
|
52
53
|
}
|
|
54
|
+
validateAlignment(newValue) {
|
|
55
|
+
if (newValue === "form_distribute") {
|
|
56
|
+
console.warn(`DuetGrid alignment value "form_distribute" is deprecated, replace with "form-distribute"`);
|
|
57
|
+
this.alignment = "form-distribute";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
53
60
|
/**
|
|
54
61
|
* Private functions
|
|
55
62
|
*/
|
|
@@ -76,10 +83,15 @@ const DuetGrid = class {
|
|
|
76
83
|
this.childObserver.observe(this.element, { childList: true });
|
|
77
84
|
}
|
|
78
85
|
// the next two functions are used to watch for changes in the grid items, and are process intensive - so only run when needed
|
|
79
|
-
if (this.alignment === "
|
|
86
|
+
if (this.alignment === "form-distribute") {
|
|
80
87
|
{
|
|
81
88
|
this.formDistributeObserver = new MutationObserver(this.updateGridItemsWithInputFields.bind(this));
|
|
82
|
-
this.formDistributeObserver.observe(this.element, {
|
|
89
|
+
this.formDistributeObserver.observe(this.element, {
|
|
90
|
+
subtree: true,
|
|
91
|
+
childList: true,
|
|
92
|
+
characterData: true,
|
|
93
|
+
attributeFilter: ["error"],
|
|
94
|
+
});
|
|
83
95
|
window.addEventListener("resize", this.debounceWindowResizeHandler);
|
|
84
96
|
}
|
|
85
97
|
this.updateGridItemsWithInputFields();
|
|
@@ -113,7 +125,7 @@ const DuetGrid = class {
|
|
|
113
125
|
});
|
|
114
126
|
}
|
|
115
127
|
async updateGridItemsWithInputFields() {
|
|
116
|
-
// Duet components that need to taken into account in
|
|
128
|
+
// Duet components that need to taken into account in form-distribute
|
|
117
129
|
const elementNames = [
|
|
118
130
|
"duet-button",
|
|
119
131
|
"duet-checkbox",
|
|
@@ -190,11 +202,11 @@ const DuetGrid = class {
|
|
|
190
202
|
* Always the last one in the class.
|
|
191
203
|
*/
|
|
192
204
|
render() {
|
|
193
|
-
return (index.h(index.Host, { key: '
|
|
205
|
+
return (index.h(index.Host, { key: '9212e2e0bff89f3625e4194c7c1ea2d8f71576c9', class: {
|
|
194
206
|
"duet-grid": true,
|
|
195
207
|
"duet-no-stacking": !this.responsive,
|
|
196
208
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
197
|
-
"duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "
|
|
209
|
+
"duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "form-distribute", // flex-end
|
|
198
210
|
"duet-grid-align-center": this.alignment === "center", // center
|
|
199
211
|
"duet-grid-align-stretch": this.alignment === "stretch", // stretch
|
|
200
212
|
"duet-grid-align-baseline": this.alignment === "baseline", // baseline
|
|
@@ -217,10 +229,11 @@ const DuetGrid = class {
|
|
|
217
229
|
"duet-grid-row-reverse": this.rowReverse,
|
|
218
230
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
219
231
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
220
|
-
} }, index.h("slot", { key: '
|
|
232
|
+
} }, index.h("slot", { key: '3b4490d66c0ad8256492ab43535a62150495ca41' })));
|
|
221
233
|
}
|
|
222
234
|
get element() { return index.getElement(this); }
|
|
223
235
|
static get watchers() { return {
|
|
236
|
+
"alignment": ["validateAlignment"],
|
|
224
237
|
"responsive": ["updateGridItems"],
|
|
225
238
|
"breakpoint": ["updateGridItems"],
|
|
226
239
|
"direction": ["updateGridItems"]
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
7
|
var formSearch = require('./form-search-CzPfHB80.js');
|
|
8
8
|
var _commonjsHelpers = require('./_commonjsHelpers-4N64IRaP.js');
|
|
9
9
|
var tokens = require('./tokens-D7zqZKjQ.js');
|
|
10
10
|
var bodyScrollLock_es6 = require('./bodyScrollLock.es6-B2sCDud5.js');
|
|
11
11
|
var commonStrings = require('./common-strings-CSqtNIxt.js');
|
|
12
|
-
var themeableComponent = require('./themeable-component-
|
|
12
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
13
13
|
var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
|
|
14
|
-
var languageUtils = require('./language-utils-
|
|
14
|
+
var languageUtils = require('./language-utils-D_noDTNR.js');
|
|
15
15
|
var stringUtils = require('./string-utils-B35hEUBv.js');
|
|
16
16
|
var tokenUtils = require('./token-utils-b3aW02zZ.js');
|
|
17
17
|
var actionArrowDownSmall = require('./action-arrow-down-small-CDsSJFvZ.js');
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
7
|
var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
|
|
8
8
|
var commonStrings = require('./common-strings-CSqtNIxt.js');
|
|
9
|
-
var themeableComponent = require('./themeable-component-
|
|
10
|
-
var languageUtils = require('./language-utils-
|
|
11
|
-
var slotUtils = require('./slot-utils-
|
|
9
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
10
|
+
var languageUtils = require('./language-utils-D_noDTNR.js');
|
|
11
|
+
var slotUtils = require('./slot-utils-CuWfl8gF.js');
|
|
12
12
|
var stringUtils = require('./string-utils-B35hEUBv.js');
|
|
13
13
|
require('./_commonjsHelpers-4N64IRaP.js');
|
|
14
14
|
|
|
@@ -190,6 +190,9 @@ const DuetHero = class {
|
|
|
190
190
|
if (this.hasHeadingSlot && slotUtils.getElementsFromNamedSlot(this.element, "heading")[0].matches(headings)) {
|
|
191
191
|
this.hasHeadingSlotNative = true;
|
|
192
192
|
}
|
|
193
|
+
if (this.hasSubHeadingSlot && slotUtils.getElementsFromNamedSlot(this.element, "subheading")[0].matches(headings)) {
|
|
194
|
+
this.hasSubHeadingSlotNative = true;
|
|
195
|
+
}
|
|
193
196
|
this.refresh();
|
|
194
197
|
}
|
|
195
198
|
connectedCallback() {
|
|
@@ -273,7 +276,7 @@ const DuetHero = class {
|
|
|
273
276
|
outlineColor = "color-primary-turva";
|
|
274
277
|
}
|
|
275
278
|
}
|
|
276
|
-
return (index.h("div", { key: '
|
|
279
|
+
return (index.h("div", { key: 'fc3ecc930f72a824e8e8e488594714fe52f31fff', role: "region", class: {
|
|
277
280
|
"duet-hero": true,
|
|
278
281
|
"duet-theme-turva": this.theme === "turva",
|
|
279
282
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -291,17 +294,17 @@ const DuetHero = class {
|
|
|
291
294
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
292
295
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
293
296
|
"duet-hero-narrow": this.layout === "narrow",
|
|
294
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (index.h("div", { key: '
|
|
295
|
-
this.processedBack && (index.h("div", { key: '
|
|
297
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (index.h("div", { key: 'a8cdeb3e0c17fed0de61ab1c84a5f8b4eb92d43f', class: "background-area" }, index.h("div", { key: 'c0e772e0eb58c3b59be2ef2441653d7d9355b7be', class: "background-container" }, index.h("div", { key: 'ff30622beb78548046143236845a8c6252dc4c40', class: "background" }, index.h("img", { key: '4ed685b3b1f5926867fcf8e53050a4f4dbe71060', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), index.h("div", { key: '8757c109c1ecbf249d31b7f3fdfe062e7cbcdf46', class: "brand-shape" })))), this.variation === "product" && this.image && (index.h("div", { key: 'b6b734d21571cbe03adab7be1942caa351eb886e', class: { "background-area": true, [this.layout]: true } }, index.h("div", { key: '5e6e459f153a9665bc8993789961ae5d23ff389e', class: { "background-container": true, [this.layout]: true } }, index.h("div", { key: '593f8f68c2df59b1e6499eb6f59394dee782891e', class: { background: true, [this.layout]: true } }, index.h("div", { key: '49aaadfc675e5cc1cf528cfb3516577d3baa1c4f', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && index.h("div", { key: '52d15566f49e4ee0d72ab9ec10f992d55291a2cd', class: { "brand-shape": true, [this.layout]: true } }), index.h("div", { key: 'a7275c16c76b667037cfe0044b21b11ce09bf413', class: { "brand-shaped-image": true, [this.layout]: true } }, index.h("div", { key: 'a3522f3ed67befbb439ee07195e959180b3e01a1', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, index.h("div", { key: '3cb4ef66b9af1357e75318bc6f97e732e1787ce2', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (index.h("div", { key: 'c15dfb764fe13d5766c3ad5e2b4bf012c739e257', class: { "brand-shaped-icon": true, [this.layout]: true } }, index.h("duet-icon", { key: 'd5f3d4a50473d2e2b56575de789e42c246c69987', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (index.h("div", { key: 'c0ace6245e4431276a7e72a618b37f967d0b4bc5', class: "background-area" }, index.h("div", { key: 'cf04f88d15da106d8416d910835e07e87dd04bea', class: "background" }, index.h("div", { key: '0536ea5ec869a1ec253ab616a12485b01433982d', class: "background-mask" }), this.theme !== "turva" && index.h("div", { key: 'd7933f6c85dc709697ba451cf89cda8f7a9e3f03', class: "brand-shape" }), index.h("div", { key: 'c5fd0f3a99befd7d054303c9ebfd596989e7ccb8', class: "brand-shaped-image" }, index.h("div", { key: '96c71979b18e456b1a94fbb2bc1ae56bbf5cf318', class: "brand-shaped-image-wrapper" }, index.h("div", { key: 'acd8a1ce0a639e28970c6ca41b789bcfac03f9c7', class: "brand-shaped-image-bg", style: styles })))))), index.h("div", { key: '8d08cf63aac9a03e1874b8cbfa4741ee1f1c4949', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (index.h("div", { key: '6da49938f8cf4c5038179fb9b48e0d8d5b8a521a', class: "duet-hero-image-mask" }, index.h("div", { key: '1682a488a00e1188d2be47d0aa895277f065adee', class: "duet-hero-image-wrapper" }, index.h("div", { key: '6fc100efe321915493d840f3fd2f01100fa954fd', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
298
|
+
this.processedBack && (index.h("div", { key: '2777feaa8cc994cf4215d49143c69bee06d85552', class: "duet-hero-back" }, index.h("duet-button", { key: '57315d5cb34c6db55f6642224b442b12ebb7fe9a', 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, {
|
|
296
299
|
label: this.processedBack.label,
|
|
297
300
|
href: this.processedBack.href,
|
|
298
301
|
id: this.processedBack.id,
|
|
299
302
|
analyticsId: this.processedBack.analyticsId,
|
|
300
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (index.h("duet-icon", { key: '
|
|
303
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (index.h("duet-icon", { key: '282df2be20e350964563837a2344b4fd3fbd6812', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), index.h("div", { key: '0a04e8f9ada19e0e157a52295248291e4ce30703', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (index.h("duet-paragraph", { key: '38897d3fc34f854e13e2675bc3c79005a7ba16b1', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (index.h("span", null, index.h("slot", { name: "pre-heading" }))))), index.h("slot", { key: 'c77b97021d7c7a735ce0aeba42fabce91d83da39', name: "badge" }), (this.heading || this.hasHeadingSlot) && (index.h("duet-heading", { key: 'cd22335d7881e672e2df6367d58c734784ff5f6e', 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 : index.h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (index.h("duet-heading", { key: 'ce92b7e2ce3f86fa082b8601dd070d5a76b27437', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, index.h("slot", { key: 'f79855d9d88deba48f86e05f2318cf9459da6db0', name: "subheading" }))), this.description && (index.h("duet-paragraph", { key: '9b3cefb7c435efb47e07a1501e18dee9db1b6b5b', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (index.h("duet-list", { key: '1c4915294fb3b2335ff981939207a961069d6b74', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (index.h("duet-list-item", null, index.h("span", { slot: "label" }, item.label), index.h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (index.h("duet-button", { key: 'ba2b9cded251cad0aea4ebd4c66d1fddf78bea38', 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)), index.h("slot", { key: '0570f78ab10d749668c6dc20bb97db5896ce1039' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (index.h("div", { key: '647db5a0b2aa0416fd2a499bf168523b2f090e81', class: "duet-hero-links" }, this.processedActions.map(item => (index.h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, index.h("div", { class: "duet-hero-action-icon" }, index.h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), index.h("span", null, item.label), item.external && index.h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (index.h("div", { class: "duet-hero-action-arrow" }, index.h("duet-icon", { icon: actionNewWindowSmall.newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
301
304
|
this.variation !== "image" &&
|
|
302
305
|
!campaignOrSection &&
|
|
303
306
|
this.variation !== "product" &&
|
|
304
|
-
this.variation !== "content" && index.h("div", { key: '
|
|
307
|
+
this.variation !== "content" && index.h("div", { key: '32f36cc551b37aefb3a06403431479f4d4e7460d', class: "duet-hero-image", style: styles }), index.h("slot", { key: 'd53f84c8a9c995bb049ba25531b49b8119d40353', name: "bottom" }))));
|
|
305
308
|
}
|
|
306
309
|
get element() { return index.getElement(this); }
|
|
307
310
|
static get watchers() { return {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var themeableComponent = require('./themeable-component-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var themeableComponent = require('./themeable-component-vXSpPXDS.js');
|
|
8
8
|
var tokenUtils = require('./token-utils-b3aW02zZ.js');
|
|
9
9
|
require('./tokens.module-7opSZfop.js');
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var languageUtils = require('./language-utils-
|
|
6
|
+
var index = require('./index-ULRMHMT6.js');
|
|
7
|
+
var languageUtils = require('./language-utils-D_noDTNR.js');
|
|
8
8
|
require('./string-utils-B35hEUBv.js');
|
|
9
9
|
|
|
10
10
|
const duetIndicatorCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}";
|