@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
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { DuetColor, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetTheme } from "../../common-types";
|
|
2
|
+
import { ThemeableComponent } from "../../common/themeable-component";
|
|
3
|
+
import { DuetSource } from "../../utils/picture-utils";
|
|
4
|
+
export type DuetTeaserHeadingVisualLevel = "h3" | "h5";
|
|
5
|
+
/**
|
|
6
|
+
* @slot links - Slot for links or buttons related to the teaser. Only default duet-link and plain duet-button components should be used in this slot. Not rendered when the `url` property is set.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DuetTeaser implements ThemeableComponent {
|
|
9
|
+
private aOrDivElement;
|
|
10
|
+
private hasLinksSlot;
|
|
11
|
+
element: HTMLElement;
|
|
12
|
+
/**
|
|
13
|
+
* Theme.
|
|
14
|
+
*/
|
|
15
|
+
theme: DuetTheme;
|
|
16
|
+
/**
|
|
17
|
+
* The heading text.
|
|
18
|
+
*/
|
|
19
|
+
heading: string;
|
|
20
|
+
/**
|
|
21
|
+
* The actual heading level used in the HTML markup.
|
|
22
|
+
*/
|
|
23
|
+
headingLevel: DuetHeadingLevel;
|
|
24
|
+
/**
|
|
25
|
+
* Controls the visual size of the heading. Headings longer than 60 characters
|
|
26
|
+
* always use "h5" visually, regardless of this setting.
|
|
27
|
+
*/
|
|
28
|
+
headingVisualLevel: DuetTeaserHeadingVisualLevel;
|
|
29
|
+
/**
|
|
30
|
+
* Description text shown below the heading.
|
|
31
|
+
*/
|
|
32
|
+
description: string;
|
|
33
|
+
/**
|
|
34
|
+
* Meta text (date, category, etc.). Placed after the heading in source order, but rendered visually above it.
|
|
35
|
+
*/
|
|
36
|
+
meta: string;
|
|
37
|
+
/**
|
|
38
|
+
* A destination to link to, rendered in the href attribute of a link. Makes
|
|
39
|
+
* the whole teaser act as a link and disables the links slot.
|
|
40
|
+
*/
|
|
41
|
+
url: string;
|
|
42
|
+
/**
|
|
43
|
+
* Image URL. If provided, the icon property is ignored.
|
|
44
|
+
*/
|
|
45
|
+
image: string;
|
|
46
|
+
/**
|
|
47
|
+
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
48
|
+
*/
|
|
49
|
+
imageAlt: string;
|
|
50
|
+
/**
|
|
51
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to
|
|
52
|
+
* "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
53
|
+
*/
|
|
54
|
+
imagePriority: "high" | "low";
|
|
55
|
+
/**
|
|
56
|
+
* Array of sources for responsive images. Sources have the properties of <source> element.
|
|
57
|
+
*/
|
|
58
|
+
sources: DuetSource[] | string;
|
|
59
|
+
/**
|
|
60
|
+
* Icon to display when no image is set. Not used if the image property is given.
|
|
61
|
+
*/
|
|
62
|
+
icon: DuetIconName;
|
|
63
|
+
/**
|
|
64
|
+
* Background color for the icon
|
|
65
|
+
*/
|
|
66
|
+
iconBackground: DuetColor;
|
|
67
|
+
/**
|
|
68
|
+
* Color for the icon
|
|
69
|
+
*/
|
|
70
|
+
iconColor: DuetIconColor;
|
|
71
|
+
/**
|
|
72
|
+
* Component lifecycle events.
|
|
73
|
+
*/
|
|
74
|
+
componentWillLoad(): void;
|
|
75
|
+
componentDidRender(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Sets focus on underlying a element.
|
|
78
|
+
* Available only when url attribute is used.
|
|
79
|
+
* Use this method instead of the native `focus()`.
|
|
80
|
+
*/
|
|
81
|
+
setFocus(options?: FocusOptions): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Creates/updates the actual heading element as a light DOM child of the
|
|
84
|
+
* host, slotted into the "heading" slot.
|
|
85
|
+
*/
|
|
86
|
+
private headingSetUp;
|
|
87
|
+
private getHeadingVisualLevel;
|
|
88
|
+
/**
|
|
89
|
+
* render() function
|
|
90
|
+
* Always the last one of the class.
|
|
91
|
+
*/
|
|
92
|
+
render(): any;
|
|
93
|
+
}
|
|
@@ -63,6 +63,7 @@ import { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-s
|
|
|
63
63
|
import { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
64
64
|
import { IndicatorVariation as IndicatorVariation1 } from "./components/duet-indicator/duet-indicator";
|
|
65
65
|
import { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
66
|
+
import { DuetTeaserHeadingVisualLevel } from "./components/duet-teaser/duet-teaser";
|
|
66
67
|
import { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
67
68
|
import { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
68
69
|
import { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
@@ -131,6 +132,7 @@ export { DuetStepClickEvent, DuetStepState } from "./components/duet-step/duet-s
|
|
|
131
132
|
export { DuetStepChangeEvent } from "./components/duet-stepper/duet-stepper";
|
|
132
133
|
export { IndicatorVariation as IndicatorVariation1 } from "./components/duet-indicator/duet-indicator";
|
|
133
134
|
export { DuetTabGroupEvent, DuetTabVariation } from "./components/duet-tab-group/duet-tab-group";
|
|
135
|
+
export { DuetTeaserHeadingVisualLevel } from "./components/duet-teaser/duet-teaser";
|
|
134
136
|
export { DuetTextareaEvent } from "./components/duet-textarea/duet-textarea";
|
|
135
137
|
export { DuetToggleChangeEvent } from "./components/duet-toggle/duet-toggle";
|
|
136
138
|
export { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
|
|
@@ -386,6 +388,10 @@ export namespace Components {
|
|
|
386
388
|
* @default "cover"
|
|
387
389
|
*/
|
|
388
390
|
"imageFit": "cover" | "contain";
|
|
391
|
+
/**
|
|
392
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
393
|
+
*/
|
|
394
|
+
"imagePriority": "high" | "low";
|
|
389
395
|
/**
|
|
390
396
|
* Controls the margin of the component.
|
|
391
397
|
* @default "auto"
|
|
@@ -730,6 +736,10 @@ export namespace Components {
|
|
|
730
736
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
731
737
|
*/
|
|
732
738
|
"imageAlt": string;
|
|
739
|
+
/**
|
|
740
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
741
|
+
*/
|
|
742
|
+
"imagePriority": "high" | "low";
|
|
733
743
|
/**
|
|
734
744
|
* Controls the margin of the component.
|
|
735
745
|
* @default "auto"
|
|
@@ -1386,6 +1396,10 @@ export namespace Components {
|
|
|
1386
1396
|
* Image.
|
|
1387
1397
|
*/
|
|
1388
1398
|
"image": string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
1401
|
+
*/
|
|
1402
|
+
"imagePriority": "high" | "low";
|
|
1389
1403
|
/**
|
|
1390
1404
|
* Controls the margin of the component.
|
|
1391
1405
|
* @default "auto"
|
|
@@ -1867,7 +1881,8 @@ export namespace Components {
|
|
|
1867
1881
|
| "sidebar-left"
|
|
1868
1882
|
| "two-columns"
|
|
1869
1883
|
| "three-columns"
|
|
1870
|
-
| "button-grid"
|
|
1884
|
+
| "button-grid"
|
|
1885
|
+
| "teaser";
|
|
1871
1886
|
/**
|
|
1872
1887
|
* When gridTemplate is used, gridTemplateGap sets the row and column gaps. With two values the first is row-gap and the second column-gap. Does not apply to button-grid.
|
|
1873
1888
|
* @default "auto"
|
|
@@ -2180,6 +2195,11 @@ export namespace Components {
|
|
|
2180
2195
|
* @default "auto"
|
|
2181
2196
|
*/
|
|
2182
2197
|
"imagePosition": "auto" | "center";
|
|
2198
|
+
/**
|
|
2199
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
2200
|
+
* @default "high"
|
|
2201
|
+
*/
|
|
2202
|
+
"imagePriority": "high" | "low";
|
|
2183
2203
|
/**
|
|
2184
2204
|
* Image sizing.
|
|
2185
2205
|
* @default "auto"
|
|
@@ -4214,6 +4234,10 @@ export namespace Components {
|
|
|
4214
4234
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
4215
4235
|
*/
|
|
4216
4236
|
"imageAlt": string;
|
|
4237
|
+
/**
|
|
4238
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
4239
|
+
*/
|
|
4240
|
+
"imagePriority": "high" | "low";
|
|
4217
4241
|
/**
|
|
4218
4242
|
* Controls the margin of the component.
|
|
4219
4243
|
* @default "auto"
|
|
@@ -5544,6 +5568,73 @@ export namespace Components {
|
|
|
5544
5568
|
*/
|
|
5545
5569
|
"variation": DuetTableVariant;
|
|
5546
5570
|
}
|
|
5571
|
+
interface DuetTeaser {
|
|
5572
|
+
/**
|
|
5573
|
+
* Description text shown below the heading.
|
|
5574
|
+
*/
|
|
5575
|
+
"description": string;
|
|
5576
|
+
/**
|
|
5577
|
+
* The heading text.
|
|
5578
|
+
*/
|
|
5579
|
+
"heading": string;
|
|
5580
|
+
/**
|
|
5581
|
+
* The actual heading level used in the HTML markup.
|
|
5582
|
+
* @default "h3"
|
|
5583
|
+
*/
|
|
5584
|
+
"headingLevel": DuetHeadingLevel;
|
|
5585
|
+
/**
|
|
5586
|
+
* Controls the visual size of the heading. Headings longer than 60 characters always use "h5" visually, regardless of this setting.
|
|
5587
|
+
* @default "h3"
|
|
5588
|
+
*/
|
|
5589
|
+
"headingVisualLevel": DuetTeaserHeadingVisualLevel;
|
|
5590
|
+
/**
|
|
5591
|
+
* Icon to display when no image is set. Not used if the image property is given.
|
|
5592
|
+
*/
|
|
5593
|
+
"icon": DuetIconName;
|
|
5594
|
+
/**
|
|
5595
|
+
* Background color for the icon
|
|
5596
|
+
* @default "color-background-accent-secondary"
|
|
5597
|
+
*/
|
|
5598
|
+
"iconBackground": DuetColor;
|
|
5599
|
+
/**
|
|
5600
|
+
* Color for the icon
|
|
5601
|
+
* @default "color-foreground-accent-secondary"
|
|
5602
|
+
*/
|
|
5603
|
+
"iconColor": DuetIconColor;
|
|
5604
|
+
/**
|
|
5605
|
+
* Image URL. If provided, the icon property is ignored.
|
|
5606
|
+
*/
|
|
5607
|
+
"image": string;
|
|
5608
|
+
/**
|
|
5609
|
+
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
5610
|
+
*/
|
|
5611
|
+
"imageAlt": string;
|
|
5612
|
+
/**
|
|
5613
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
5614
|
+
*/
|
|
5615
|
+
"imagePriority": "high" | "low";
|
|
5616
|
+
/**
|
|
5617
|
+
* Meta text (date, category, etc.). Placed after the heading in source order, but rendered visually above it.
|
|
5618
|
+
*/
|
|
5619
|
+
"meta": string;
|
|
5620
|
+
/**
|
|
5621
|
+
* Sets focus on underlying a element. Available only when url attribute is used. Use this method instead of the native `focus()`.
|
|
5622
|
+
*/
|
|
5623
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
5624
|
+
/**
|
|
5625
|
+
* Array of sources for responsive images. Sources have the properties of <source> element.
|
|
5626
|
+
*/
|
|
5627
|
+
"sources": DuetSource[] | string;
|
|
5628
|
+
/**
|
|
5629
|
+
* Theme.
|
|
5630
|
+
* @default ""
|
|
5631
|
+
*/
|
|
5632
|
+
"theme": DuetTheme;
|
|
5633
|
+
/**
|
|
5634
|
+
* A destination to link to, rendered in the href attribute of a link. Makes the whole teaser act as a link and disables the links slot.
|
|
5635
|
+
*/
|
|
5636
|
+
"url": string;
|
|
5637
|
+
}
|
|
5547
5638
|
interface DuetTextarea {
|
|
5548
5639
|
/**
|
|
5549
5640
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -7672,6 +7763,12 @@ declare global {
|
|
|
7672
7763
|
prototype: HTMLDuetTableElement;
|
|
7673
7764
|
new (): HTMLDuetTableElement;
|
|
7674
7765
|
};
|
|
7766
|
+
interface HTMLDuetTeaserElement extends Components.DuetTeaser, HTMLStencilElement {
|
|
7767
|
+
}
|
|
7768
|
+
var HTMLDuetTeaserElement: {
|
|
7769
|
+
prototype: HTMLDuetTeaserElement;
|
|
7770
|
+
new (): HTMLDuetTeaserElement;
|
|
7771
|
+
};
|
|
7675
7772
|
interface HTMLDuetTextareaElementEventMap {
|
|
7676
7773
|
"duetInput": DuetTextareaEvent;
|
|
7677
7774
|
"duetChange": DuetTextareaEvent;
|
|
@@ -7911,6 +8008,7 @@ declare global {
|
|
|
7911
8008
|
"duet-tab": HTMLDuetTabElement;
|
|
7912
8009
|
"duet-tab-group": HTMLDuetTabGroupElement;
|
|
7913
8010
|
"duet-table": HTMLDuetTableElement;
|
|
8011
|
+
"duet-teaser": HTMLDuetTeaserElement;
|
|
7914
8012
|
"duet-textarea": HTMLDuetTextareaElement;
|
|
7915
8013
|
"duet-toggle": HTMLDuetToggleElement;
|
|
7916
8014
|
"duet-toolbar": HTMLDuetToolbarElement;
|
|
@@ -8169,6 +8267,10 @@ declare namespace LocalJSX {
|
|
|
8169
8267
|
* @default "cover"
|
|
8170
8268
|
*/
|
|
8171
8269
|
"imageFit"?: "cover" | "contain";
|
|
8270
|
+
/**
|
|
8271
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
8272
|
+
*/
|
|
8273
|
+
"imagePriority"?: "high" | "low";
|
|
8172
8274
|
/**
|
|
8173
8275
|
* Controls the margin of the component.
|
|
8174
8276
|
* @default "auto"
|
|
@@ -8517,6 +8619,10 @@ declare namespace LocalJSX {
|
|
|
8517
8619
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
8518
8620
|
*/
|
|
8519
8621
|
"imageAlt"?: string;
|
|
8622
|
+
/**
|
|
8623
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
8624
|
+
*/
|
|
8625
|
+
"imagePriority"?: "high" | "low";
|
|
8520
8626
|
/**
|
|
8521
8627
|
* Controls the margin of the component.
|
|
8522
8628
|
* @default "auto"
|
|
@@ -9186,6 +9292,10 @@ declare namespace LocalJSX {
|
|
|
9186
9292
|
* Image.
|
|
9187
9293
|
*/
|
|
9188
9294
|
"image"?: string;
|
|
9295
|
+
/**
|
|
9296
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
9297
|
+
*/
|
|
9298
|
+
"imagePriority"?: "high" | "low";
|
|
9189
9299
|
/**
|
|
9190
9300
|
* Controls the margin of the component.
|
|
9191
9301
|
* @default "auto"
|
|
@@ -9695,7 +9805,8 @@ declare namespace LocalJSX {
|
|
|
9695
9805
|
| "sidebar-left"
|
|
9696
9806
|
| "two-columns"
|
|
9697
9807
|
| "three-columns"
|
|
9698
|
-
| "button-grid"
|
|
9808
|
+
| "button-grid"
|
|
9809
|
+
| "teaser";
|
|
9699
9810
|
/**
|
|
9700
9811
|
* When gridTemplate is used, gridTemplateGap sets the row and column gaps. With two values the first is row-gap and the second column-gap. Does not apply to button-grid.
|
|
9701
9812
|
* @default "auto"
|
|
@@ -10036,6 +10147,11 @@ declare namespace LocalJSX {
|
|
|
10036
10147
|
* @default "auto"
|
|
10037
10148
|
*/
|
|
10038
10149
|
"imagePosition"?: "auto" | "center";
|
|
10150
|
+
/**
|
|
10151
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
10152
|
+
* @default "high"
|
|
10153
|
+
*/
|
|
10154
|
+
"imagePriority"?: "high" | "low";
|
|
10039
10155
|
/**
|
|
10040
10156
|
* Image sizing.
|
|
10041
10157
|
* @default "auto"
|
|
@@ -12011,6 +12127,10 @@ declare namespace LocalJSX {
|
|
|
12011
12127
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
12012
12128
|
*/
|
|
12013
12129
|
"imageAlt"?: string;
|
|
12130
|
+
/**
|
|
12131
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
12132
|
+
*/
|
|
12133
|
+
"imagePriority"?: "high" | "low";
|
|
12014
12134
|
/**
|
|
12015
12135
|
* Controls the margin of the component.
|
|
12016
12136
|
* @default "auto"
|
|
@@ -13293,6 +13413,69 @@ declare namespace LocalJSX {
|
|
|
13293
13413
|
*/
|
|
13294
13414
|
"variation"?: DuetTableVariant;
|
|
13295
13415
|
}
|
|
13416
|
+
interface DuetTeaser {
|
|
13417
|
+
/**
|
|
13418
|
+
* Description text shown below the heading.
|
|
13419
|
+
*/
|
|
13420
|
+
"description"?: string;
|
|
13421
|
+
/**
|
|
13422
|
+
* The heading text.
|
|
13423
|
+
*/
|
|
13424
|
+
"heading"?: string;
|
|
13425
|
+
/**
|
|
13426
|
+
* The actual heading level used in the HTML markup.
|
|
13427
|
+
* @default "h3"
|
|
13428
|
+
*/
|
|
13429
|
+
"headingLevel"?: DuetHeadingLevel;
|
|
13430
|
+
/**
|
|
13431
|
+
* Controls the visual size of the heading. Headings longer than 60 characters always use "h5" visually, regardless of this setting.
|
|
13432
|
+
* @default "h3"
|
|
13433
|
+
*/
|
|
13434
|
+
"headingVisualLevel"?: DuetTeaserHeadingVisualLevel;
|
|
13435
|
+
/**
|
|
13436
|
+
* Icon to display when no image is set. Not used if the image property is given.
|
|
13437
|
+
*/
|
|
13438
|
+
"icon"?: DuetIconName;
|
|
13439
|
+
/**
|
|
13440
|
+
* Background color for the icon
|
|
13441
|
+
* @default "color-background-accent-secondary"
|
|
13442
|
+
*/
|
|
13443
|
+
"iconBackground"?: DuetColor;
|
|
13444
|
+
/**
|
|
13445
|
+
* Color for the icon
|
|
13446
|
+
* @default "color-foreground-accent-secondary"
|
|
13447
|
+
*/
|
|
13448
|
+
"iconColor"?: DuetIconColor;
|
|
13449
|
+
/**
|
|
13450
|
+
* Image URL. If provided, the icon property is ignored.
|
|
13451
|
+
*/
|
|
13452
|
+
"image"?: string;
|
|
13453
|
+
/**
|
|
13454
|
+
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
13455
|
+
*/
|
|
13456
|
+
"imageAlt"?: string;
|
|
13457
|
+
/**
|
|
13458
|
+
* Make the image load with higher or lower priority. Value "high" sets the img's attributes fetchpriority and loading to "high" and "eager", while value "low" sets those attributes to "low" and "lazy"
|
|
13459
|
+
*/
|
|
13460
|
+
"imagePriority"?: "high" | "low";
|
|
13461
|
+
/**
|
|
13462
|
+
* Meta text (date, category, etc.). Placed after the heading in source order, but rendered visually above it.
|
|
13463
|
+
*/
|
|
13464
|
+
"meta"?: string;
|
|
13465
|
+
/**
|
|
13466
|
+
* Array of sources for responsive images. Sources have the properties of <source> element.
|
|
13467
|
+
*/
|
|
13468
|
+
"sources"?: DuetSource[] | string;
|
|
13469
|
+
/**
|
|
13470
|
+
* Theme.
|
|
13471
|
+
* @default ""
|
|
13472
|
+
*/
|
|
13473
|
+
"theme"?: DuetTheme;
|
|
13474
|
+
/**
|
|
13475
|
+
* A destination to link to, rendered in the href attribute of a link. Makes the whole teaser act as a link and disables the links slot.
|
|
13476
|
+
*/
|
|
13477
|
+
"url"?: string;
|
|
13478
|
+
}
|
|
13296
13479
|
interface DuetTextarea {
|
|
13297
13480
|
/**
|
|
13298
13481
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -14399,6 +14582,7 @@ declare namespace LocalJSX {
|
|
|
14399
14582
|
"duet-tab": DuetTab;
|
|
14400
14583
|
"duet-tab-group": DuetTabGroup;
|
|
14401
14584
|
"duet-table": DuetTable;
|
|
14585
|
+
"duet-teaser": DuetTeaser;
|
|
14402
14586
|
"duet-textarea": DuetTextarea;
|
|
14403
14587
|
"duet-toggle": DuetToggle;
|
|
14404
14588
|
"duet-toolbar": DuetToolbar;
|
|
@@ -14511,6 +14695,7 @@ declare module "@stencil/core" {
|
|
|
14511
14695
|
"duet-tab": LocalJSX.DuetTab & JSXBase.HTMLAttributes<HTMLDuetTabElement>;
|
|
14512
14696
|
"duet-tab-group": LocalJSX.DuetTabGroup & JSXBase.HTMLAttributes<HTMLDuetTabGroupElement>;
|
|
14513
14697
|
"duet-table": LocalJSX.DuetTable & JSXBase.HTMLAttributes<HTMLDuetTableElement>;
|
|
14698
|
+
"duet-teaser": LocalJSX.DuetTeaser & JSXBase.HTMLAttributes<HTMLDuetTeaserElement>;
|
|
14514
14699
|
"duet-textarea": LocalJSX.DuetTextarea & JSXBase.HTMLAttributes<HTMLDuetTextareaElement>;
|
|
14515
14700
|
"duet-toggle": LocalJSX.DuetToggle & JSXBase.HTMLAttributes<HTMLDuetToggleElement>;
|
|
14516
14701
|
"duet-toolbar": LocalJSX.DuetToolbar & JSXBase.HTMLAttributes<HTMLDuetToolbarElement>;
|
|
@@ -7,9 +7,13 @@ export type DuetSource = {
|
|
|
7
7
|
};
|
|
8
8
|
export type DuetImg = {
|
|
9
9
|
src: string;
|
|
10
|
+
class?: string;
|
|
10
11
|
alt?: string;
|
|
11
12
|
width?: string | number;
|
|
12
13
|
height?: string | number;
|
|
14
|
+
role?: string;
|
|
15
|
+
loading?: "eager" | "lazy";
|
|
16
|
+
fetchpriority?: "high" | "low";
|
|
13
17
|
};
|
|
14
18
|
export type DuetPictureSource = {
|
|
15
19
|
sources: DuetSource[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.7.0",
|
|
4
4
|
"description": "This package includes Duet Design System Web Components and related utilities.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "duetdesignsystem@lahitapiola.fi"
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"body-scroll-lock": "3.1.5"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@duetds/fonts": "3.0.
|
|
71
|
-
"@duetds/icons": "4.3.
|
|
72
|
-
"@duetds/tokens": "5.1.
|
|
70
|
+
"@duetds/fonts": "3.0.69",
|
|
71
|
+
"@duetds/icons": "4.3.11",
|
|
72
|
+
"@duetds/tokens": "5.1.4",
|
|
73
73
|
"@percy/cli": "1.30.1",
|
|
74
74
|
"@rollup/plugin-replace": "5.0.2",
|
|
75
75
|
"@stencil/core": "4.36.3",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"publishConfig": {
|
|
98
98
|
"access": "public"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "8d551fabdfe64b18b16ba0e247f6fbd99fc1f6aa"
|
|
101
101
|
}
|