@duetds/components 10.0.0-alpha.27 → 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 +164 -127
- package/hydrate/index.mjs +164 -127
- package/lib/cjs/{a11y-utils-B33qnv_c.js → a11y-utils-C2urHioz.js} +1 -1
- package/lib/cjs/{app-globals-DxEBgBDv.js → app-globals-CiRzLcdj.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- 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 +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +12 -10
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- 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 +17 -8
- 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 +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -5
- 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 +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +18 -11
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +22 -23
- 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 +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +26 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +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 +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-panel.cjs.entry.js +3 -3
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- 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-D9V4NJkh.js → errorcodes.utils-CT287Ycp.js} +1 -1
- package/lib/cjs/{focus-utils-2MQWj2yf.js → focus-utils-DYmtJ1FV.js} +1 -1
- package/lib/cjs/{index-CgbT-GDe.js → index-ULRMHMT6.js} +1 -1
- package/lib/cjs/{label-B2EZulEI.js → label-Cw2Vvd6f.js} +1 -1
- package/lib/cjs/{language-utils-DjVt82-o.js → language-utils-D_noDTNR.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-mZWWDERy.js → slot-utils-CuWfl8gF.js} +1 -1
- package/lib/cjs/{themeable-component-DtTN09xK.js → themeable-component-vXSpPXDS.js} +1 -1
- package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- 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-button/duet-button.css +3 -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-collapsible/duet-collapsible.js +15 -6
- 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.css +4 -0
- package/lib/collection/components/duet-hero/duet-hero.js +13 -6
- 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-menu-bar/duet-menu-bar.css +4 -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-nav/duet-nav.css +4 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +3 -3
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -1
- package/lib/collection/components/duet-panel/duet-panel.css +5 -4
- 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-submenu-bar/duet-submenu-bar.css +4 -0
- 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/collection/utils/token-utils.js +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-493d938a.entry.js → p-01b28129.entry.js} +1 -1
- package/lib/duet/{p-e439d733.entry.js → p-01bfda23.entry.js} +1 -1
- package/lib/duet/{p-875dd701.entry.js → p-01c80d5a.entry.js} +1 -1
- package/lib/duet/{p-0528f691.entry.js → p-06ca53e7.entry.js} +1 -1
- package/lib/duet/{p-8ff78f91.entry.js → p-098d9160.entry.js} +1 -1
- package/lib/duet/{p-72c7db64.entry.js → p-0a9945d3.entry.js} +1 -1
- package/lib/duet/{p-6fe283f7.entry.js → p-0eb86bf1.entry.js} +1 -1
- package/lib/duet/{p-cd4d12c2.entry.js → p-10640c4f.entry.js} +1 -1
- package/lib/duet/{p-b37b1542.entry.js → p-18674149.entry.js} +1 -1
- package/lib/duet/{p-4107efb5.entry.js → p-1d192423.entry.js} +1 -1
- package/lib/duet/p-1e043a65.entry.js +4 -0
- package/lib/duet/{p-f6b76f66.entry.js → p-218d8d0c.entry.js} +1 -1
- package/lib/duet/{p-9af77c24.entry.js → p-22baa879.entry.js} +1 -1
- package/lib/duet/{p-d11b094d.entry.js → p-22c91ab8.entry.js} +1 -1
- package/lib/duet/{p-c4fe8bae.entry.js → p-23cf09fc.entry.js} +1 -1
- package/lib/duet/{p-7379c2ed.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-366f6c75.entry.js +4 -0
- package/lib/duet/{p-a94cc8a6.entry.js → p-368f8b17.entry.js} +1 -1
- package/lib/duet/{p-208fdfe6.entry.js → p-3740d6a3.entry.js} +1 -1
- package/lib/duet/{p-e882bbb5.entry.js → p-38f1f411.entry.js} +1 -1
- package/lib/duet/{p-5efda812.entry.js → p-3a774155.entry.js} +1 -1
- package/lib/duet/{p-1228299f.entry.js → p-40965806.entry.js} +1 -1
- package/lib/duet/{p-fc7d6429.entry.js → p-43417674.entry.js} +1 -1
- package/lib/duet/{p-076d2d0d.entry.js → p-4743f2de.entry.js} +1 -1
- package/lib/duet/{p-2c976b5a.entry.js → p-49bccc83.entry.js} +1 -1
- package/lib/duet/{p-5a8f14cf.entry.js → p-4a0f1cdb.entry.js} +1 -1
- package/lib/duet/{p-c43669b3.entry.js → p-4a4795be.entry.js} +1 -1
- package/lib/duet/{p-b025df86.entry.js → p-4c421d4a.entry.js} +1 -1
- package/lib/duet/{p-91f39296.entry.js → p-5175a2dd.entry.js} +1 -1
- package/lib/duet/{p-5b2527f7.entry.js → p-531ccf9e.entry.js} +1 -1
- package/lib/duet/{p-a582e823.entry.js → p-545fc3f7.entry.js} +1 -1
- package/lib/duet/{p-d65a706f.entry.js → p-55905e75.entry.js} +1 -1
- package/lib/duet/p-5689da45.entry.js +4 -0
- package/lib/duet/{p-4f638a3d.entry.js → p-56fbb9c9.entry.js} +1 -1
- package/lib/duet/{p-bc7d4da0.entry.js → p-5eaf6164.entry.js} +1 -1
- package/lib/duet/{p-4b032feb.entry.js → p-5ef0982d.entry.js} +1 -1
- package/lib/duet/p-6442c2be.entry.js +4 -0
- package/lib/duet/{p-a431d704.entry.js → p-6b5e575b.entry.js} +1 -1
- package/lib/duet/{p-6943a2ef.entry.js → p-6c1a7d2a.entry.js} +1 -1
- package/lib/duet/{p-59cd72fc.entry.js → p-726b706a.entry.js} +1 -1
- package/lib/duet/{p-25ebe6a5.entry.js → p-73041240.entry.js} +1 -1
- package/lib/duet/{p-15d4751c.entry.js → p-7340a148.entry.js} +1 -1
- package/lib/duet/{p-bed6b29f.entry.js → p-78f0104d.entry.js} +1 -1
- package/lib/duet/{p-ba6dc53e.entry.js → p-7c4b51bc.entry.js} +1 -1
- package/lib/duet/p-7d682f0c.entry.js +4 -0
- package/lib/duet/p-7dde6589.entry.js +4 -0
- package/lib/duet/{p-9500f26b.entry.js → p-80c2a22b.entry.js} +1 -1
- package/lib/duet/{p-39087512.entry.js → p-86613005.entry.js} +1 -1
- package/lib/duet/{p-a274b8fd.entry.js → p-866d5fba.entry.js} +1 -1
- package/lib/duet/{p-79c93372.entry.js → p-878e745d.entry.js} +1 -1
- package/lib/duet/{p-7ace4629.entry.js → p-89de527f.entry.js} +1 -1
- package/lib/duet/{p-41dd144f.entry.js → p-8eb11318.entry.js} +1 -1
- package/lib/duet/p-96179df4.entry.js +4 -0
- package/lib/duet/{p-3facac5a.entry.js → p-994e0989.entry.js} +1 -1
- package/lib/duet/{p-931b4437.entry.js → p-9d630f8d.entry.js} +1 -1
- package/lib/duet/{p-Ob09ol4-.js → p-B0lHdUDq.js} +1 -1
- package/lib/duet/{p-BSOF0zb5.js → p-Bq8ssolA.js} +1 -1
- package/lib/duet/p-C-pON5qf.js +4 -0
- package/lib/duet/{p-vt84lkeQ.js → p-Cg-Sy7Qf.js} +1 -1
- package/lib/duet/p-CmVjSa2G.js +4 -0
- package/lib/duet/{p-1s1EpusX.js → p-D8Vx4GZo.js} +1 -1
- package/lib/duet/{p-BXJZKiJg.js → p-DNq3_6qZ.js} +1 -1
- package/lib/duet/p-DhhvHRbK.js +4 -0
- package/lib/duet/p-Do6ugHz0.js +4 -0
- package/lib/duet/{p-fe393084.entry.js → p-a456687d.entry.js} +1 -1
- package/lib/duet/p-a6eed3fb.entry.js +4 -0
- package/lib/duet/p-a954bbc6.entry.js +4 -0
- package/lib/duet/{p-ed5f5c6b.entry.js → p-ac84994d.entry.js} +1 -1
- package/lib/duet/{p-a9094bdc.entry.js → p-ae830c4f.entry.js} +1 -1
- package/lib/duet/{p-55a63695.entry.js → p-b8f14348.entry.js} +1 -1
- package/lib/duet/{p-deb90dc7.entry.js → p-c3e002cb.entry.js} +1 -1
- package/lib/duet/{p-a0e708db.entry.js → p-c6c245d2.entry.js} +1 -1
- package/lib/duet/p-c6c2f1dc.entry.js +4 -0
- package/lib/duet/{p-b6354004.entry.js → p-ca1ac603.entry.js} +1 -1
- package/lib/duet/{p-3389969d.entry.js → p-cb5020b3.entry.js} +1 -1
- package/lib/duet/{p-4289c214.entry.js → p-cc2fe910.entry.js} +1 -1
- package/lib/duet/{p-1995091e.entry.js → p-d0fe1162.entry.js} +1 -1
- package/lib/duet/{p-fe29dee3.entry.js → p-d4c5c776.entry.js} +1 -1
- package/lib/duet/{p-9f9576a2.entry.js → p-d77d51df.entry.js} +1 -1
- package/lib/duet/{p-338667ab.entry.js → p-e03b4d6d.entry.js} +1 -1
- package/lib/duet/{p-75fd0eca.entry.js → p-e18ded3f.entry.js} +1 -1
- package/lib/duet/{p-b001a8a4.entry.js → p-e1997fb2.entry.js} +1 -1
- package/lib/duet/p-e41e1570.entry.js +4 -0
- package/lib/duet/{p-3c7ba14f.entry.js → p-e443cf8a.entry.js} +1 -1
- package/lib/duet/{p-ef821bec.entry.js → p-e6a4707d.entry.js} +1 -1
- package/lib/duet/{p-ab61831a.entry.js → p-e9ff33aa.entry.js} +1 -1
- package/lib/duet/{p-ca2fd9dc.entry.js → p-eb7799de.entry.js} +1 -1
- package/lib/duet/{p-167290f7.entry.js → p-ed4f565e.entry.js} +1 -1
- package/lib/duet/{p-263790e3.entry.js → p-ee8f51c9.entry.js} +1 -1
- package/lib/duet/{p-50afabfb.entry.js → p-f25c9b3a.entry.js} +1 -1
- package/lib/duet/{p-503a290b.entry.js → p-f950ae45.entry.js} +1 -1
- package/lib/duet/{p-c745c02a.entry.js → p-fd19cbeb.entry.js} +1 -1
- package/lib/duet/{p-6a95d722.entry.js → p-ffa644e6.entry.js} +1 -1
- package/lib/duet/p-vLG7vkZg.js +4 -0
- package/lib/esm/{a11y-utils-CROKOfOD.js → a11y-utils-k-txkQIa.js} +1 -1
- package/lib/esm/{app-globals-CahJi_2c.js → app-globals-BL1PM4GK.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- 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 +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +11 -20
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +5 -5
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +12 -10
- package/lib/esm/duet-card.entry.js +4 -4
- 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 +17 -8
- 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 +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +6 -5
- 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 +4 -4
- package/lib/esm/duet-hero.entry.js +18 -11
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-indicator.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +22 -23
- 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 +4 -4
- package/lib/esm/duet-modal.entry.js +26 -14
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +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 +3 -3
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-panel.entry.js +3 -3
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-status-icon.entry.js +1 -1
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- 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-6V_f8y5q.js → errorcodes.utils-DMBhYFft.js} +1 -1
- package/lib/esm/{focus-utils-CErdQceY.js → focus-utils-CKJz94Qb.js} +1 -1
- package/lib/esm/{index-vt84lkeQ.js → index-Cg-Sy7Qf.js} +1 -1
- package/lib/esm/{label-BosP5JdK.js → label-CiT_iRKt.js} +1 -1
- package/lib/esm/{language-utils-B9dLrWKg.js → language-utils-CQS4gIfI.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-BZXZ33TK.js → slot-utils-BtxgUznn.js} +1 -1
- package/lib/esm/{themeable-component-CsnFpp6R.js → themeable-component-C76K02P9.js} +1 -1
- package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
- package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
- package/lib/types/components/duet-hero/duet-hero.d.ts +2 -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 +24 -4
- package/package.json +3 -3
- package/lib/duet/p-26146512.entry.js +0 -4
- package/lib/duet/p-3d3aff4c.entry.js +0 -4
- package/lib/duet/p-46eaee49.entry.js +0 -4
- package/lib/duet/p-537d3b11.entry.js +0 -4
- package/lib/duet/p-61105f0d.entry.js +0 -4
- package/lib/duet/p-950c4ec0.entry.js +0 -4
- package/lib/duet/p-Cq7Ixl9a.js +0 -4
- package/lib/duet/p-DejMEymG.js +0 -4
- package/lib/duet/p-Dr2j33H2.js +0 -4
- package/lib/duet/p-G09pKpI-.js +0 -4
- package/lib/duet/p-aWO-HcmJ.js +0 -4
- package/lib/duet/p-b2780442.entry.js +0 -4
- package/lib/duet/p-babbf633.entry.js +0 -4
- package/lib/duet/p-c516bf93.entry.js +0 -4
- package/lib/duet/p-c588fc15.entry.js +0 -4
- package/lib/duet/p-cbedc26b.entry.js +0 -4
- package/lib/duet/p-f46480c6.entry.js +0 -4
- package/lib/duet/p-fd989bd6.entry.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-Cg-Sy7Qf.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-C76K02P9.js';
|
|
6
6
|
import { c as createID } from './create-id-Cfr_DJqU.js';
|
|
7
|
-
import { h as hasSlot } from './slot-utils-
|
|
7
|
+
import { h as hasSlot } from './slot-utils-BtxgUznn.js';
|
|
8
8
|
|
|
9
9
|
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}";
|
|
10
10
|
|
|
@@ -30,6 +30,10 @@ const DuetFieldset = class {
|
|
|
30
30
|
* If caption is present, larger lineheight is used regardless of this prop.
|
|
31
31
|
*/
|
|
32
32
|
this.compactLabel = false;
|
|
33
|
+
/**
|
|
34
|
+
* An error message to be shown next to the label.
|
|
35
|
+
*/
|
|
36
|
+
this.error = "";
|
|
33
37
|
/**
|
|
34
38
|
* The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
|
|
35
39
|
* makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
|
|
@@ -71,20 +75,20 @@ const DuetFieldset = class {
|
|
|
71
75
|
* Always the last one in the class.
|
|
72
76
|
*/
|
|
73
77
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: 'e1a788de39eaef07a1abaa996870dd726b226aee', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'e7d2b6ecb24666f6a563d4923bb228bdf7e8820d', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
75
79
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
76
80
|
// once they do, we can remove errors from the aria-describedby
|
|
77
81
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
78
82
|
class: {
|
|
79
83
|
"duet-fieldset": true,
|
|
80
84
|
"duet-theme-turva": this.theme === "turva",
|
|
81
|
-
} }, h("legend", { key: '
|
|
85
|
+
} }, h("legend", { key: '9412c1763b18075c6c6d585389c3ac9d22542f64', id: this.labelId }, h(this.labelHeadingLevel, { key: '9c1c5cfef779deef96e68e7f3760f0eeec8d347a' }, this.label), this.caption && h("span", { key: 'd166f280495ee9e156e705fe52455b18c5a13ea2' }, this.caption)), h("div", { key: 'e390d201c421bbd2086946b4548dc98d5c58fead', class: {
|
|
82
86
|
"duet-legend-wrapper": true,
|
|
83
87
|
"duet-legend-has-caption": !!this.caption,
|
|
84
88
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
85
89
|
"duet-legend-hidden": this.labelHidden,
|
|
86
90
|
"duet-legend-compact": this.compactLabel,
|
|
87
|
-
} }, h("div", { key: '
|
|
91
|
+
} }, h("div", { key: '10861fb7ec43cc4aec34ae9b04b1b191dd7a0d5c', class: "duet-fieldset-label" }, h("span", { key: '63b295dc887c75eb4bc062d214bb5b6a899e0f83', "aria-hidden": "true" }, this.label), h("slot", { key: 'dc154b5f9980e99c525884e32f7811e36fe634fc', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '1803a70997b3d2de928d501cfb86864bfa3af614', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'c574d64b9a375d0af50bc0bed35ea0418139f579', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '48665d8be4d66036d4d69090d7a98ee01f99dbac' }), 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 && h("span", { key: '93bfa1f3fb33cf3bc23055948b416a18369b8497', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
88
92
|
}
|
|
89
93
|
get element() { return getElement(this); }
|
|
90
94
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-Cg-Sy7Qf.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-C76K02P9.js';
|
|
6
6
|
|
|
7
7
|
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}";
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-Cg-Sy7Qf.js';
|
|
5
5
|
import { n as newWindowIcon } from './action-new-window-small-EH8_HdAm.js';
|
|
6
6
|
import { a as DuetStringsExternalDefaults } from './common-strings-BWvtXbhA.js';
|
|
7
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
7
|
+
import { i as inheritGlobalTheme } from './themeable-component-C76K02P9.js';
|
|
8
8
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
|
|
9
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot } from './slot-utils-
|
|
9
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-CQS4gIfI.js';
|
|
10
|
+
import { h as hasSlot } from './slot-utils-BtxgUznn.js';
|
|
11
11
|
import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
|
|
12
12
|
import './_commonjsHelpers-DvwKrUS6.js';
|
|
13
13
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
5
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-Cg-Sy7Qf.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './themeable-component-C76K02P9.js';
|
|
6
6
|
|
|
7
7
|
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}";
|
|
8
8
|
|
|
@@ -30,9 +30,10 @@ const DuetGrid = class {
|
|
|
30
30
|
*/
|
|
31
31
|
this.rowReverse = false;
|
|
32
32
|
/**
|
|
33
|
-
* Adjusts the vertical alignment of the grid items, if set to "
|
|
33
|
+
* Adjusts the vertical alignment of the grid items, if set to "form-distribute"
|
|
34
34
|
* the grid will try to calculate correct paddings for any duet-input fields inside duet-grid-items,
|
|
35
|
-
* so that they align even when displaying errors.
|
|
35
|
+
* so that they align even when displaying errors. Value "form_distribute" is deprecated, use
|
|
36
|
+
* "form-distribute" for new development.
|
|
36
37
|
*/
|
|
37
38
|
this.alignment = "top";
|
|
38
39
|
/**
|
|
@@ -48,6 +49,12 @@ const DuetGrid = class {
|
|
|
48
49
|
*/
|
|
49
50
|
this.gridTemplate = null;
|
|
50
51
|
}
|
|
52
|
+
validateAlignment(newValue) {
|
|
53
|
+
if (newValue === "form_distribute") {
|
|
54
|
+
console.warn(`DuetGrid alignment value "form_distribute" is deprecated, replace with "form-distribute"`);
|
|
55
|
+
this.alignment = "form-distribute";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
51
58
|
/**
|
|
52
59
|
* Private functions
|
|
53
60
|
*/
|
|
@@ -74,10 +81,15 @@ const DuetGrid = class {
|
|
|
74
81
|
this.childObserver.observe(this.element, { childList: true });
|
|
75
82
|
}
|
|
76
83
|
// the next two functions are used to watch for changes in the grid items, and are process intensive - so only run when needed
|
|
77
|
-
if (this.alignment === "
|
|
84
|
+
if (this.alignment === "form-distribute") {
|
|
78
85
|
{
|
|
79
86
|
this.formDistributeObserver = new MutationObserver(this.updateGridItemsWithInputFields.bind(this));
|
|
80
|
-
this.formDistributeObserver.observe(this.element, {
|
|
87
|
+
this.formDistributeObserver.observe(this.element, {
|
|
88
|
+
subtree: true,
|
|
89
|
+
childList: true,
|
|
90
|
+
characterData: true,
|
|
91
|
+
attributeFilter: ["error"],
|
|
92
|
+
});
|
|
81
93
|
window.addEventListener("resize", this.debounceWindowResizeHandler);
|
|
82
94
|
}
|
|
83
95
|
this.updateGridItemsWithInputFields();
|
|
@@ -111,7 +123,7 @@ const DuetGrid = class {
|
|
|
111
123
|
});
|
|
112
124
|
}
|
|
113
125
|
async updateGridItemsWithInputFields() {
|
|
114
|
-
// Duet components that need to taken into account in
|
|
126
|
+
// Duet components that need to taken into account in form-distribute
|
|
115
127
|
const elementNames = [
|
|
116
128
|
"duet-button",
|
|
117
129
|
"duet-checkbox",
|
|
@@ -188,11 +200,11 @@ const DuetGrid = class {
|
|
|
188
200
|
* Always the last one in the class.
|
|
189
201
|
*/
|
|
190
202
|
render() {
|
|
191
|
-
return (h(Host, { key: '
|
|
203
|
+
return (h(Host, { key: '9212e2e0bff89f3625e4194c7c1ea2d8f71576c9', class: {
|
|
192
204
|
"duet-grid": true,
|
|
193
205
|
"duet-no-stacking": !this.responsive,
|
|
194
206
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
195
|
-
"duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "
|
|
207
|
+
"duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "form-distribute", // flex-end
|
|
196
208
|
"duet-grid-align-center": this.alignment === "center", // center
|
|
197
209
|
"duet-grid-align-stretch": this.alignment === "stretch", // stretch
|
|
198
210
|
"duet-grid-align-baseline": this.alignment === "baseline", // baseline
|
|
@@ -215,10 +227,11 @@ const DuetGrid = class {
|
|
|
215
227
|
"duet-grid-row-reverse": this.rowReverse,
|
|
216
228
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
217
229
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
218
|
-
} }, h("slot", { key: '
|
|
230
|
+
} }, h("slot", { key: '3b4490d66c0ad8256492ab43535a62150495ca41' })));
|
|
219
231
|
}
|
|
220
232
|
get element() { return getElement(this); }
|
|
221
233
|
static get watchers() { return {
|
|
234
|
+
"alignment": ["validateAlignment"],
|
|
222
235
|
"responsive": ["updateGridItems"],
|
|
223
236
|
"breakpoint": ["updateGridItems"],
|
|
224
237
|
"direction": ["updateGridItems"]
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, c as createEvent$1, B as Build, H as Host, F as Fragment, g as getElement } from './index-
|
|
4
|
+
import { h, r as registerInstance, c as createEvent$1, B as Build, H as Host, F as Fragment, g as getElement } from './index-Cg-Sy7Qf.js';
|
|
5
5
|
import { s as searchIcon } from './form-search-CevX33LA.js';
|
|
6
6
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
|
|
7
7
|
import { a as media_query_large } from './tokens-DxV3RbmM.js';
|
|
8
8
|
import { d as disableBodyScroll, e as enableBodyScroll } from './bodyScrollLock.es6-B1B-PPrh.js';
|
|
9
9
|
import { a as DuetStringsExternalDefaults } from './common-strings-BWvtXbhA.js';
|
|
10
|
-
import { i as inheritGlobalTheme } from './themeable-component-
|
|
10
|
+
import { i as inheritGlobalTheme } from './themeable-component-C76K02P9.js';
|
|
11
11
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, a as isEscapeKey, q as isSpaceKey, d as isArrowLeftKey, e as isArrowUpKey, f as isArrowRightKey, g as isArrowDownKey } from './keyboard-utils-Db8rvjPI.js';
|
|
12
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
12
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-CQS4gIfI.js';
|
|
13
13
|
import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
|
|
14
|
-
import { p as postfixTheme } from './token-utils-
|
|
14
|
+
import { p as postfixTheme } from './token-utils-C-c-tsXV.js';
|
|
15
15
|
import { a as arrowDownIcon } from './action-arrow-down-small-Bk3GShyI.js';
|
|
16
16
|
import { C as colorGrayLightest, I as colorBrandGrayTurva, d as colorPrimaryTurva, a as colorPrimary } from './tokens.module-Z0D6Gy9e.js';
|
|
17
17
|
import { c as createID } from './create-id-Cfr_DJqU.js';
|