@duetds/components 10.6.0 → 10.7.0
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 +301 -163
- package/hydrate/index.mjs +301 -163
- package/lib/cjs/{a11y-utils-CgWjS7yq.js → a11y-utils-DmCjy3Q3.js} +1 -1
- package/lib/cjs/{app-globals-D68ciWsb.js → app-globals-D1tikFob.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +8 -8
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
- package/lib/cjs/duet-card.cjs.entry.js +9 -8
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- 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 +5 -15
- package/lib/cjs/duet-contact-card.cjs.entry.js +8 -7
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +12 -8
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +18 -13
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
- 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 +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +8 -8
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +11 -11
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-teaser.cjs.entry.js +110 -0
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-C0tQ3k6Z.js → errorcodes.utils-Di-nO8ua.js} +1 -1
- package/lib/cjs/{focus-utils-tCoGOO7d.js → focus-utils-uEO1pi2O.js} +1 -1
- package/lib/cjs/{index-BeiMjjVl.js → index-BGRMvA4R.js} +5 -1
- package/lib/cjs/{label-Cu4DNShe.js → label-CwgdRt0Q.js} +1 -1
- package/lib/cjs/{language-utils-B3NubUDr.js → language-utils-CrB5zNlc.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{picture-utils-D_HVgfq5.js → picture-utils-CZhgDlXJ.js} +7 -2
- package/lib/cjs/{slot-utils-Dny6EJ_G.js → slot-utils-4v5bqyQh.js} +1 -1
- package/lib/cjs/{themeable-component-Csdvrnsd.js → themeable-component-I4SEm6nQ.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +23 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +24 -4
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.js +1 -13
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +23 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid/duet-grid.css +22 -0
- package/lib/collection/components/duet-grid/duet-grid.js +14 -5
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +149 -136
- package/lib/collection/components/duet-hero/duet-hero.js +32 -7
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +23 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-teaser/duet-teaser.css +127 -0
- package/lib/collection/components/duet-teaser/duet-teaser.js +462 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/picture-utils.js +6 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-ae382e2e.entry.js → p-017873ec.entry.js} +1 -1
- package/lib/duet/{p-4acdc586.entry.js → p-047af1e2.entry.js} +1 -1
- package/lib/duet/{p-30d8a1e4.entry.js → p-058fcc72.entry.js} +1 -1
- package/lib/duet/p-05a6360b.entry.js +4 -0
- package/lib/duet/p-05b5ef84.entry.js +4 -0
- package/lib/duet/{p-555e0c78.entry.js → p-07d43c60.entry.js} +1 -1
- package/lib/duet/{p-9889218e.entry.js → p-0ab559fb.entry.js} +1 -1
- package/lib/duet/{p-374b48f6.entry.js → p-0acf9bcf.entry.js} +1 -1
- package/lib/duet/{p-95bb2a8d.entry.js → p-0c42cc61.entry.js} +1 -1
- package/lib/duet/{p-6a11ba26.entry.js → p-0df7094e.entry.js} +1 -1
- package/lib/duet/{p-eb7bc989.entry.js → p-10baba94.entry.js} +1 -1
- package/lib/duet/{p-9b2731b9.entry.js → p-1358a396.entry.js} +1 -1
- package/lib/duet/{p-d72dee5d.entry.js → p-1498e4a8.entry.js} +1 -1
- package/lib/duet/p-16d5dd2c.entry.js +4 -0
- package/lib/duet/{p-9c41f1d5.entry.js → p-1ec31f22.entry.js} +1 -1
- package/lib/duet/{p-8927ccc1.entry.js → p-2013545d.entry.js} +1 -1
- package/lib/duet/p-2265c46a.entry.js +4 -0
- package/lib/duet/{p-6bd78205.entry.js → p-2394b3cd.entry.js} +1 -1
- package/lib/duet/{p-fc2be136.entry.js → p-2b17c517.entry.js} +1 -1
- package/lib/duet/{p-f30c3cfe.entry.js → p-2f0f3a4a.entry.js} +1 -1
- package/lib/duet/{p-ec1d2e0a.entry.js → p-3ce04abc.entry.js} +1 -1
- package/lib/duet/{p-61abccd4.entry.js → p-420df0aa.entry.js} +1 -1
- package/lib/duet/{p-f4de7ac0.entry.js → p-430fad4e.entry.js} +1 -1
- package/lib/duet/p-453001ea.entry.js +4 -0
- package/lib/duet/p-4695398d.entry.js +4 -0
- package/lib/duet/{p-46287d85.entry.js → p-4bc7198d.entry.js} +1 -1
- package/lib/duet/p-4e028274.entry.js +4 -0
- package/lib/duet/{p-dbb9e1d4.entry.js → p-5be103d0.entry.js} +1 -1
- package/lib/duet/{p-4a4e5bb5.entry.js → p-5e5b6dc7.entry.js} +1 -1
- package/lib/duet/{p-1d7a9425.entry.js → p-5fc88879.entry.js} +1 -1
- package/lib/duet/{p-ee369233.entry.js → p-6865e880.entry.js} +1 -1
- package/lib/duet/{p-5b322a86.entry.js → p-68a9ffb5.entry.js} +1 -1
- package/lib/duet/{p-244bfbf9.entry.js → p-69bcb076.entry.js} +1 -1
- package/lib/duet/{p-a6dbe893.entry.js → p-71da8fbe.entry.js} +1 -1
- package/lib/duet/{p-914ee7ac.entry.js → p-76e2c659.entry.js} +1 -1
- package/lib/duet/p-7f5387dd.entry.js +4 -0
- package/lib/duet/{p-a01f3141.entry.js → p-84ed366e.entry.js} +1 -1
- package/lib/duet/{p-4a041c60.entry.js → p-868647de.entry.js} +1 -1
- package/lib/duet/{p-bc41d13d.entry.js → p-8ad4bb4c.entry.js} +1 -1
- package/lib/duet/{p-20c8226c.entry.js → p-8b9ffff4.entry.js} +1 -1
- package/lib/duet/{p-84f8bee8.entry.js → p-8da66626.entry.js} +1 -1
- package/lib/duet/{p-12d7fdf6.entry.js → p-8ea85c31.entry.js} +1 -1
- package/lib/duet/p-940a87e7.entry.js +4 -0
- package/lib/duet/{p-6d1d1199.entry.js → p-99550717.entry.js} +1 -1
- package/lib/duet/{p-4b07ce36.entry.js → p-9987420d.entry.js} +1 -1
- package/lib/duet/{p-8fbcea55.entry.js → p-9d41df85.entry.js} +1 -1
- package/lib/duet/{p-1579bdf5.entry.js → p-9dee0205.entry.js} +1 -1
- package/lib/duet/{p-D9N9LBeD.js → p-B0XOGsB6.js} +1 -1
- package/lib/duet/p-B44ykle6.js +4 -0
- package/lib/duet/{p-CyfEm8iD.js → p-B5SMAn1G.js} +1 -1
- package/lib/duet/p-BAiGBGTO.js +4 -0
- package/lib/duet/p-BWz_ChlU.js +4 -0
- package/lib/duet/p-Bnup2-sN.js +4 -0
- package/lib/duet/p-C6rGA5IU.js +4 -0
- package/lib/duet/{p-D3450NfA.js → p-D4MpGrUR.js} +1 -1
- package/lib/duet/{p-BDgGHTHh.js → p-DSNAI2Lx.js} +1 -1
- package/lib/duet/{p-DI7IXBXp.js → p-DtprEjjN.js} +1 -1
- package/lib/duet/{p-264688ae.entry.js → p-a2106abd.entry.js} +1 -1
- package/lib/duet/p-a2a2f775.entry.js +4 -0
- package/lib/duet/{p-0e10e36b.entry.js → p-a2f7ef35.entry.js} +1 -1
- package/lib/duet/{p-9b448008.entry.js → p-a62e6d8d.entry.js} +1 -1
- package/lib/duet/{p-4e5532c8.entry.js → p-a6dc8c7d.entry.js} +1 -1
- package/lib/duet/{p-e442943d.entry.js → p-a944ffff.entry.js} +1 -1
- package/lib/duet/{p-f8d640ba.entry.js → p-aebcf484.entry.js} +1 -1
- package/lib/duet/{p-6ce82324.entry.js → p-b2f0905a.entry.js} +1 -1
- package/lib/duet/p-b3a7ef62.entry.js +4 -0
- package/lib/duet/{p-ac4fc44c.entry.js → p-b4a1c719.entry.js} +1 -1
- package/lib/duet/p-b5204ec2.entry.js +4 -0
- package/lib/duet/{p-f297f8f2.entry.js → p-b58cfa18.entry.js} +1 -1
- package/lib/duet/{p-f9db8670.entry.js → p-b69946d4.entry.js} +1 -1
- package/lib/duet/{p-20066df8.entry.js → p-b7351bfd.entry.js} +1 -1
- package/lib/duet/{p-8bdcfd1f.entry.js → p-b7bb7472.entry.js} +1 -1
- package/lib/duet/{p-407d4e5a.entry.js → p-b9e97305.entry.js} +1 -1
- package/lib/duet/{p-fc1a18f8.entry.js → p-bb7fa0cf.entry.js} +1 -1
- package/lib/duet/{p-5f72134e.entry.js → p-bef7eed7.entry.js} +1 -1
- package/lib/duet/p-bffae8f6.entry.js +4 -0
- package/lib/duet/{p-304a9a55.entry.js → p-c26e2123.entry.js} +1 -1
- package/lib/duet/{p-4cee693b.entry.js → p-c49a72ad.entry.js} +1 -1
- package/lib/duet/{p-aa1256f9.entry.js → p-c5c63d0f.entry.js} +1 -1
- package/lib/duet/{p-a49b5d93.entry.js → p-c9a12663.entry.js} +1 -1
- package/lib/duet/{p-f4538e9d.entry.js → p-ccaf5c28.entry.js} +1 -1
- package/lib/duet/{p-512d18c8.entry.js → p-d78923f9.entry.js} +1 -1
- package/lib/duet/p-d8383f1a.entry.js +4 -0
- package/lib/duet/{p-4e1c2676.entry.js → p-e3d91f53.entry.js} +1 -1
- package/lib/duet/{p-48e77341.entry.js → p-e78af675.entry.js} +1 -1
- package/lib/duet/{p-2e44c6b8.entry.js → p-e9a7215b.entry.js} +1 -1
- package/lib/duet/{p-d7abb7fa.entry.js → p-ebe55a34.entry.js} +1 -1
- package/lib/duet/{p-4a251661.entry.js → p-ef340dc6.entry.js} +1 -1
- package/lib/duet/{p-e40d9c21.entry.js → p-f17438c7.entry.js} +1 -1
- package/lib/duet/{p-3b9d7f6a.entry.js → p-f264879d.entry.js} +1 -1
- package/lib/duet/p-f61ebeb1.entry.js +4 -0
- package/lib/duet/p-f647f09e.entry.js +4 -0
- package/lib/duet/{p-829bccb7.entry.js → p-f89da74c.entry.js} +1 -1
- package/lib/duet/{p-3533d6ee.entry.js → p-f959ca52.entry.js} +1 -1
- package/lib/duet/{p-210bc161.entry.js → p-fb0f6212.entry.js} +1 -1
- package/lib/duet/p-fb59f80d.entry.js +4 -0
- package/lib/duet/{p-174935bc.entry.js → p-feae1702.entry.js} +1 -1
- package/lib/esm/{a11y-utils--wwGTL0T.js → a11y-utils-DZqe1lDK.js} +1 -1
- package/lib/esm/{app-globals-Diuuep9d.js → app-globals-Byl9AdI1.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +8 -8
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +7 -7
- package/lib/esm/duet-card.entry.js +9 -8
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +4 -4
- 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 +5 -15
- package/lib/esm/duet-contact-card.entry.js +8 -7
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +12 -8
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +18 -13
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +5 -5
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +6 -6
- 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 +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +8 -8
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +11 -11
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +11 -11
- package/lib/esm/duet-slideout.entry.js +6 -6
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-teaser.entry.js +108 -0
- package/lib/esm/duet-textarea.entry.js +8 -8
- package/lib/esm/duet-toggle.entry.js +8 -8
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-S_WrUPeV.js → errorcodes.utils-KA3z1KuW.js} +1 -1
- package/lib/esm/{focus-utils-C4oaajGr.js → focus-utils-id9x3opi.js} +1 -1
- package/lib/esm/{index-D3450NfA.js → index-D4MpGrUR.js} +5 -1
- package/lib/esm/{label-C1HF2o4Y.js → label-Caev3m-F.js} +1 -1
- package/lib/esm/{language-utils-D4WVl8Ph.js → language-utils-DTyUbpD-.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{picture-utils-MSeJTkDk.js → picture-utils-4PMNZDR2.js} +7 -2
- package/lib/esm/{slot-utils-Dxcjtmp3.js → slot-utils-BhEk4zKY.js} +1 -1
- package/lib/esm/{themeable-component-QHdUfcat.js → themeable-component-B_d7Klmd.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
- package/lib/types/components/duet-card/duet-card.d.ts +5 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +0 -1
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
- package/lib/types/components/duet-grid/duet-grid.d.ts +2 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +5 -0
- package/lib/types/components/duet-teaser/duet-teaser.d.ts +93 -0
- package/lib/types/components.d.ts +187 -2
- package/lib/types/utils/picture-utils.d.ts +4 -0
- package/package.json +5 -5
- package/lib/duet/p-054c334d.entry.js +0 -4
- package/lib/duet/p-2bf78fe4.entry.js +0 -4
- package/lib/duet/p-3445529c.entry.js +0 -4
- package/lib/duet/p-3def9480.entry.js +0 -4
- package/lib/duet/p-3fbe466a.entry.js +0 -4
- package/lib/duet/p-41230630.entry.js +0 -4
- package/lib/duet/p-44e53564.entry.js +0 -4
- package/lib/duet/p-6c239923.entry.js +0 -4
- package/lib/duet/p-81c5d3e3.entry.js +0 -4
- package/lib/duet/p-83dcbb64.entry.js +0 -4
- package/lib/duet/p-985213bb.entry.js +0 -4
- package/lib/duet/p-BZev46O8.js +0 -4
- package/lib/duet/p-CcoGR9T9.js +0 -4
- package/lib/duet/p-Dk60lC7n.js +0 -4
- package/lib/duet/p-JFwTD5kM.js +0 -4
- package/lib/duet/p-KbNgo0QF.js +0 -4
- package/lib/duet/p-aa7e4c81.entry.js +0 -4
- package/lib/duet/p-c54ecb23.entry.js +0 -4
- package/lib/duet/p-e43df9c2.entry.js +0 -4
- package/lib/duet/p-edcdf0b7.entry.js +0 -4
- package/lib/duet/p-fdc4a97c.entry.js +0 -4
|
@@ -37,11 +37,11 @@ export class DuetCallout {
|
|
|
37
37
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
38
38
|
</svg>
|
|
39
39
|
`;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'd3e96c80e032ccbcd8acf8a4f3b8d8d358548786' }, h("div", { key: 'b6caf5e67fcb292b3bf73dc0b9bf27fd06be5590', class: {
|
|
41
41
|
"duet-callout": true,
|
|
42
42
|
"duet-theme-turva": this.theme === "turva",
|
|
43
43
|
"duet-m-0": this.margin === "none",
|
|
44
|
-
} }, h("figure", { key: '
|
|
44
|
+
} }, h("figure", { key: '0b1740d79f890107d1ed0f48b2d0bc9904a6c6c4', class: "container" }, h("duet-icon", { key: 'fc90c293c0008e13b6b7355e4ab32a09d23aaf5e', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'a9de71b59c2208091da32a2e9c0acb2fe121d7f7' }, h("slot", { key: '45e54b298e547f5a1dd2f33abf07f48a1bfbea84' })), this.hasAuthorSlot && (h("figcaption", { key: 'f495d161f2993d6cfe240cbd7fe583b447b65186', class: "author" }, h("span", { key: '95b14fcee9c5ed6bbaf04f1711348164a07bf592' }, "\u2014 "), h("slot", { key: '1371283e50a2b7580799984ad815542ccb9e87db', name: "author" })))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-callout"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,16 +156,17 @@ export class DuetCard {
|
|
|
156
156
|
img: {
|
|
157
157
|
src: this.image,
|
|
158
158
|
alt: this.imageAlt || "",
|
|
159
|
-
loading: "lazy",
|
|
159
|
+
loading: this.imagePriority === "high" ? "eager" : "lazy",
|
|
160
|
+
fetchpriority: this.imagePriority,
|
|
160
161
|
class: "duet-card-image",
|
|
161
162
|
role: this.imageAlt ? undefined : "presentation",
|
|
162
163
|
},
|
|
163
164
|
sources: parsePossibleJSON(this.sources),
|
|
164
165
|
};
|
|
165
|
-
return (h(Host, { key: '
|
|
166
|
+
return (h(Host, { key: 'e665c5842a71a942c9098bb06045587327958776', class: {
|
|
166
167
|
"duet-m-0": this.margin === "none",
|
|
167
168
|
"duet-card-info": this.variation === "info",
|
|
168
|
-
} }, h(TagName, { key: '
|
|
169
|
+
} }, h(TagName, { key: '10722ae1c42744e1924df0a38313eb68acb8a4b1', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
169
170
|
"duet-card": true,
|
|
170
171
|
[this.padding]: true,
|
|
171
172
|
[this.variation]: true,
|
|
@@ -175,7 +176,7 @@ export class DuetCard {
|
|
|
175
176
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
176
177
|
"duet-card-has-icon": !!this.icon,
|
|
177
178
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
178
|
-
} }, this.image && (h("div", { key: '
|
|
179
|
+
} }, this.image && (h("div", { key: 'a9a0b21ac68624cba6b3bfb9c0e8d3d87597cfe0', class: "duet-card-image-mask" }, h(DuetPicture, Object.assign({ key: 'efa16a802e16d5be73243c2c1e2c2bd7fe49839b' }, pictureSource)))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'a6ea5db0ad9150e7e5a4dd59ae42bb1c6603aac3', class: "duet-card-content", id: this.cardId }, h("slot", { key: '33a498070a2b68d6361247afe7bd12c440abad6b' }), this.hasFooter && (h("div", { key: 'f2ddb3f3e200fcab419911d5023831019cc4e9e3', class: "duet-card-footer" }, h("slot", { key: 'ac749be2398980321f3cfe4f6b3b679cd2803be0', name: "footer" })))))));
|
|
179
180
|
}
|
|
180
181
|
static get is() { return "duet-card"; }
|
|
181
182
|
static get encapsulation() { return "shadow"; }
|
|
@@ -456,6 +457,25 @@ export class DuetCard {
|
|
|
456
457
|
"setter": false,
|
|
457
458
|
"reflect": false
|
|
458
459
|
},
|
|
460
|
+
"imagePriority": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"attribute": "image-priority",
|
|
463
|
+
"mutable": false,
|
|
464
|
+
"complexType": {
|
|
465
|
+
"original": "\"high\" | \"low\"",
|
|
466
|
+
"resolved": "\"high\" | \"low\"",
|
|
467
|
+
"references": {}
|
|
468
|
+
},
|
|
469
|
+
"required": false,
|
|
470
|
+
"optional": false,
|
|
471
|
+
"docs": {
|
|
472
|
+
"tags": [],
|
|
473
|
+
"text": "Make the image load with higher or lower priority. Value \"high\" sets the img's attributes fetchpriority and loading to\n\"high\" and \"eager\", while value \"low\" sets those attributes to \"low\" and \"lazy\""
|
|
474
|
+
},
|
|
475
|
+
"getter": false,
|
|
476
|
+
"setter": false,
|
|
477
|
+
"reflect": false
|
|
478
|
+
},
|
|
459
479
|
"sources": {
|
|
460
480
|
"type": "string",
|
|
461
481
|
"attribute": "sources",
|
|
@@ -33,11 +33,11 @@ export class DuetCheckmark {
|
|
|
33
33
|
inheritGlobalTheme(this);
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '599968da32eca61083a4709ce013889772213f97', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '57f28c3d631c55101a557422617bbd4507ccd2cc', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '6dcd9490f08a532578bd12aa808e40ff5014597d', class: {
|
|
37
37
|
"duet-checkmark-container": true,
|
|
38
38
|
center: this.center,
|
|
39
39
|
"duet-checkmark-radio": this.type === "radio",
|
|
40
|
-
} }, this.checked && h("div", { key: '
|
|
40
|
+
} }, this.checked && h("div", { key: '8c27e1f31cf9e1625838308435b62ac73421d350', class: "duet-checkmark" })))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "duet-checkmark"; }
|
|
43
43
|
static get originalStyleUrls() {
|
|
@@ -181,14 +181,14 @@ export class DuetChoiceGroup {
|
|
|
181
181
|
* Always the last one in the class.
|
|
182
182
|
*/
|
|
183
183
|
render() {
|
|
184
|
-
return (h(Host, { key: '
|
|
184
|
+
return (h(Host, { key: 'd310a51e8554b474adaaa10b91392effcac7e189', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
185
185
|
horizontal: this.direction === "horizontal",
|
|
186
186
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
187
187
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
188
188
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
189
189
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
190
190
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
191
|
-
} }, h("duet-fieldset", { key: '
|
|
191
|
+
} }, h("duet-fieldset", { key: 'a107c1b68c3227d3236020bb9721218f1be052fd', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '0e45f60e7b2ebe7f30f0f87216bbcc176244f80a', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'd129fc812d0be8450b08588910c30be0b4db8a02', name: "tooltip", slot: "tooltip" }), h("div", { key: 'e2ca5fd41342dd4b38442fbb718f2a06c1ba3237', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '12f74fdf5360122b6d5fef83495ba68dede524da' })))));
|
|
192
192
|
}
|
|
193
193
|
static get is() { return "duet-choice-group"; }
|
|
194
194
|
static get encapsulation() { return "shadow"; }
|
|
@@ -137,7 +137,7 @@ export class DuetCombobox {
|
|
|
137
137
|
if (!this.force && !this.multiple && this.selectedItems.size > 0 && newValue !== this.getSelectedItemLabel()) {
|
|
138
138
|
this.selectedItems.clear();
|
|
139
139
|
}
|
|
140
|
-
if (!this.
|
|
140
|
+
if (!this.multiple && newValue === "") {
|
|
141
141
|
this.value = undefined;
|
|
142
142
|
}
|
|
143
143
|
this.listOpen = String(newValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
@@ -245,15 +245,6 @@ export class DuetCombobox {
|
|
|
245
245
|
}
|
|
246
246
|
this.activeItemAnnouncement = "";
|
|
247
247
|
}
|
|
248
|
-
inputValueHandler() {
|
|
249
|
-
setTimeout(async () => {
|
|
250
|
-
const label = await this.getSelectedItemLabel();
|
|
251
|
-
if (this.input.value == "" && label) {
|
|
252
|
-
this.input.value = "";
|
|
253
|
-
this.value = undefined;
|
|
254
|
-
}
|
|
255
|
-
}, 200);
|
|
256
|
-
}
|
|
257
248
|
handleDocumentClick(e) {
|
|
258
249
|
//we want to remove all user text if they have NOT selected from the dropdown
|
|
259
250
|
const path = e.composedPath();
|
|
@@ -1031,9 +1022,6 @@ export class DuetCombobox {
|
|
|
1031
1022
|
}, {
|
|
1032
1023
|
"propName": "activeItem",
|
|
1033
1024
|
"methodName": "activeItemHandler"
|
|
1034
|
-
}, {
|
|
1035
|
-
"propName": "inputValue",
|
|
1036
|
-
"methodName": "inputValueHandler"
|
|
1037
1025
|
}, {
|
|
1038
1026
|
"propName": "items",
|
|
1039
1027
|
"methodName": "processItems"
|
|
@@ -53,15 +53,16 @@ export class DuetContactCard {
|
|
|
53
53
|
img: {
|
|
54
54
|
src: this.image,
|
|
55
55
|
alt: this.name || "",
|
|
56
|
-
loading: "lazy",
|
|
56
|
+
loading: this.imagePriority === "high" ? "eager" : "lazy",
|
|
57
|
+
fetchpriority: this.imagePriority,
|
|
57
58
|
class: "image",
|
|
58
59
|
},
|
|
59
60
|
sources: parsePossibleJSON(this.sources),
|
|
60
61
|
};
|
|
61
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: 'e33b5a9345cc0e38336978b22b5a5e833bb03bb9', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '836de470febdb6a96d024a08f55a25a62392b350', class: {
|
|
62
63
|
"duet-contact-card": true,
|
|
63
64
|
"duet-theme-turva": this.theme === "turva",
|
|
64
|
-
}, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: '
|
|
65
|
+
}, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: '7b0b31acf238f0b6c8a8579bc22f5f819fa794a3' }, this.name && (h("duet-heading", { key: '03c95063f1c164feeee6d7ffec8050e76a863065', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '35343cc1d650f5f6f83d1c98db2e7d5d8df32232', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'a4565eeb9a17b36e5cb086f4a7a071f7da471958', class: "email" }, h("duet-icon", { key: '622531d9bba0fb9991aa5d15577d906aa637fb97', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'dc454c0170ea57a3e9e9a1c891cda1852c20330c', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '8df6d3ba05579ea713093fb7a254c85ea2827f17', class: "phone" }, h("duet-icon", { key: 'c0551285cbe9b64e23ca131cbc6be05efab7bbe1', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'd3f01bfb37c0120280514925cb386a75f660ee26', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'df56d1a6ac897401fa74b40da6f163908dedd2db', class: "call-to-action" }, h("duet-button", { key: 'be684b20bf8f7f976cc2b8934b10650c09dc824d', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: 'c1719ef0b401fd6d6a189a68ad61a6339f1299c9' }), h("slot", { key: '59366556e70ea407134c67f51da830cab886171d' }))));
|
|
65
66
|
}
|
|
66
67
|
static get is() { return "duet-contact-card"; }
|
|
67
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,6 +149,25 @@ export class DuetContactCard {
|
|
|
148
149
|
"setter": false,
|
|
149
150
|
"reflect": false
|
|
150
151
|
},
|
|
152
|
+
"imagePriority": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"attribute": "image-priority",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "\"high\" | \"low\"",
|
|
158
|
+
"resolved": "\"high\" | \"low\"",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Make the image load with higher or lower priority. Value \"high\" sets the img's attributes fetchpriority and loading to\n\"high\" and \"eager\", while value \"low\" sets those attributes to \"low\" and \"lazy\""
|
|
166
|
+
},
|
|
167
|
+
"getter": false,
|
|
168
|
+
"setter": false,
|
|
169
|
+
"reflect": false
|
|
170
|
+
},
|
|
151
171
|
"sources": {
|
|
152
172
|
"type": "string",
|
|
153
173
|
"attribute": "sources",
|
|
@@ -75,20 +75,20 @@ export class DuetFieldset {
|
|
|
75
75
|
* Always the last one in the class.
|
|
76
76
|
*/
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '6b5e616dee35539f33f740844d8cb031480e7034', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'b9847559a5f6d043d40cf13941b02abcafcd4826', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
79
79
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
80
80
|
// once they do, we can remove errors from the aria-describedby
|
|
81
81
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
82
82
|
class: {
|
|
83
83
|
"duet-fieldset": true,
|
|
84
84
|
"duet-theme-turva": this.theme === "turva",
|
|
85
|
-
} }, h("legend", { key: '
|
|
85
|
+
} }, h("legend", { key: '00db725af6a81cc39f9812b6ad907e14099e640b', id: this.labelId }, h(this.labelHeadingLevel, { key: 'e790c1bb2136af773035d687afa1af037f965174' }, this.label), this.caption && h("span", { key: '94cfa68d4e1bc683b16749e06667ad9fa13a84c6' }, this.caption)), h("div", { key: 'f7fbe98556ff25593ef84788b28a95a684a923e6', class: {
|
|
86
86
|
"duet-legend-wrapper": true,
|
|
87
87
|
"duet-legend-has-caption": !!this.caption,
|
|
88
88
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
89
89
|
"duet-legend-hidden": this.labelHidden,
|
|
90
90
|
"duet-legend-compact": this.compactLabel,
|
|
91
|
-
} }, h("div", { key: '
|
|
91
|
+
} }, h("div", { key: '1ed3c1d5c1e394cc84c6b38d05d6dae5c81025de', class: "duet-fieldset-label" }, h("span", { key: '0a004664043ce7eecc9a0a12383342f4d6bd7b46', "aria-hidden": "true" }, this.label), h("slot", { key: '3e1c56c60ca7a1b343aa25d3e63609ddcfef2822', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '8b165ea6688eb0a0c179fe76c583990d357e99d6', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'b54388620f28ecef14c0da6d4e8d27ed9b16de78', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '41fa24ea72a9f4318bb6dd183fb0a464ed45d8ca' }), h("span", { key: '6569844fd76312f12b64a7864f35e6f4637110db', 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: 'cef4273c56dff02051a14435d02d975131d4c4a4', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "duet-fieldset"; }
|
|
94
94
|
static get encapsulation() { return "shadow"; }
|
|
@@ -594,4 +594,26 @@
|
|
|
594
594
|
:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {
|
|
595
595
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
596
596
|
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
:host(.duet-grid-variation-grid.duet-grid-template-teaser) {
|
|
600
|
+
grid-template-columns: minmax(0, 540px);
|
|
601
|
+
gap: 40px;
|
|
602
|
+
padding: 0;
|
|
603
|
+
}
|
|
604
|
+
@container (min-width: 720px) {
|
|
605
|
+
:host(.duet-grid-variation-grid.duet-grid-template-teaser) {
|
|
606
|
+
grid-template-columns: repeat(2, minmax(0, 540px));
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
@container (min-width: 1100px) {
|
|
610
|
+
:host(.duet-grid-variation-grid.duet-grid-template-teaser) {
|
|
611
|
+
grid-template-columns: repeat(3, minmax(0, 540px));
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
@container (min-width: 1100px) {
|
|
616
|
+
:host(.duet-grid-variation-grid.duet-grid-template-teaser.duet-grid-direct-children-4) {
|
|
617
|
+
grid-template-columns: repeat(2, minmax(0, 540px));
|
|
618
|
+
}
|
|
597
619
|
}
|
|
@@ -5,6 +5,7 @@ import { Build, h, Host } from "@stencil/core";
|
|
|
5
5
|
import { debounce } from "../../utils/js-utils";
|
|
6
6
|
export class DuetGrid {
|
|
7
7
|
constructor() {
|
|
8
|
+
this.directChildCount = 0;
|
|
8
9
|
/**
|
|
9
10
|
* Enable or disable the automatic responsive behaviour of the grid component.
|
|
10
11
|
* Setting this option to "true" makes sure that contents are stacked vertically
|
|
@@ -121,7 +122,9 @@ export class DuetGrid {
|
|
|
121
122
|
return Array.from(Build.isServer ? this.element.children : this.element.querySelectorAll(":scope > *"));
|
|
122
123
|
}
|
|
123
124
|
async updateGridItems() {
|
|
124
|
-
const
|
|
125
|
+
const children = this.getDirectChildren();
|
|
126
|
+
this.directChildCount = children.length;
|
|
127
|
+
const items = children.filter(child => child.tagName.toLowerCase() === "duet-grid-item");
|
|
125
128
|
items.forEach(item => {
|
|
126
129
|
item.responsive = this.responsive;
|
|
127
130
|
item.breakpoint = this.breakpoint;
|
|
@@ -208,7 +211,7 @@ export class DuetGrid {
|
|
|
208
211
|
* Always the last one in the class.
|
|
209
212
|
*/
|
|
210
213
|
render() {
|
|
211
|
-
return (h(Host, { key: '
|
|
214
|
+
return (h(Host, { key: 'af6ceb11c84216f03b1dda1c12f3ae224b5c4874', class: {
|
|
212
215
|
"duet-grid": true,
|
|
213
216
|
"duet-no-stacking": !this.responsive,
|
|
214
217
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -235,9 +238,10 @@ export class DuetGrid {
|
|
|
235
238
|
"duet-grid-row-reverse": this.rowReverse,
|
|
236
239
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
237
240
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
241
|
+
[`duet-grid-direct-children-${this.directChildCount}`]: true,
|
|
238
242
|
"duet-grid-no-row-gap": this.gridTemplateGap.startsWith("none") && this.gridTemplate !== "button-grid",
|
|
239
243
|
"duet-grid-no-column-gap": this.gridTemplateGap.endsWith("none") && this.gridTemplate !== "button-grid",
|
|
240
|
-
} }, h("slot", { key: '
|
|
244
|
+
} }, h("slot", { key: 'c000cfdac55f96a2f4698668e48b13f1e6829ccc' })));
|
|
241
245
|
}
|
|
242
246
|
static get is() { return "duet-grid"; }
|
|
243
247
|
static get encapsulation() { return "shadow"; }
|
|
@@ -428,8 +432,8 @@ export class DuetGrid {
|
|
|
428
432
|
"attribute": "grid-template",
|
|
429
433
|
"mutable": false,
|
|
430
434
|
"complexType": {
|
|
431
|
-
"original": "| \"small\"\n | \"medium\"\n | \"large\"\n | \"sidebar-right\"\n | \"sidebar-left\"\n | \"two-columns\"\n | \"three-columns\"\n | \"button-grid\"",
|
|
432
|
-
"resolved": "\"button-grid\" | \"large\" | \"medium\" | \"sidebar-left\" | \"sidebar-right\" | \"small\" | \"three-columns\" | \"two-columns\"",
|
|
435
|
+
"original": "| \"small\"\n | \"medium\"\n | \"large\"\n | \"sidebar-right\"\n | \"sidebar-left\"\n | \"two-columns\"\n | \"three-columns\"\n | \"button-grid\"\n | \"teaser\"",
|
|
436
|
+
"resolved": "\"button-grid\" | \"large\" | \"medium\" | \"sidebar-left\" | \"sidebar-right\" | \"small\" | \"teaser\" | \"three-columns\" | \"two-columns\"",
|
|
433
437
|
"references": {}
|
|
434
438
|
},
|
|
435
439
|
"required": false,
|
|
@@ -465,6 +469,11 @@ export class DuetGrid {
|
|
|
465
469
|
}
|
|
466
470
|
};
|
|
467
471
|
}
|
|
472
|
+
static get states() {
|
|
473
|
+
return {
|
|
474
|
+
"directChildCount": {}
|
|
475
|
+
};
|
|
476
|
+
}
|
|
468
477
|
static get elementRef() { return "element"; }
|
|
469
478
|
static get watchers() {
|
|
470
479
|
return [{
|
|
@@ -53,7 +53,7 @@ export class DuetGridItem {
|
|
|
53
53
|
* Always the last one in the class.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '1a1bfed712a2b3acd4f87bd37bb4b22e06521056', style: {
|
|
57
57
|
"min-width": this.minWidth,
|
|
58
58
|
"max-width": this.maxWidth,
|
|
59
59
|
}, class: {
|
|
@@ -70,7 +70,7 @@ export class DuetGridItem {
|
|
|
70
70
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
71
71
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
72
72
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
73
|
-
} }, h("slot", { key: '
|
|
73
|
+
} }, h("slot", { key: '11a8e27d181731baadfceaafef6de847fd3fd081' })));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "duet-grid-item"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|