@duetds/components 10.6.0 → 10.8.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 +557 -271
- package/hydrate/index.mjs +557 -271
- package/lib/cjs/{a11y-utils-CgWjS7yq.js → a11y-utils-DZ42p33K.js} +1 -1
- package/lib/cjs/{app-globals-D68ciWsb.js → app-globals-DiBfle2l.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 +5 -5
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
- package/lib/cjs/duet-card.cjs.entry.js +10 -9
- 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 +16 -7
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +32 -25
- 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 +17 -13
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- 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 +33 -19
- 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 +12 -13
- 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 +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +13 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -13
- 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 +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- 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 +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-teaser.cjs.entry.js +110 -0
- package/lib/cjs/duet-textarea.cjs.entry.js +20 -11
- 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 +10 -10
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- 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-MdC-C1Fa.js} +1 -1
- package/lib/cjs/{floating-ui.dom.browser.min-Cj0r5YDz.js → floating-ui.dom.browser.min-DaH62q3u.js} +83 -0
- package/lib/cjs/{focus-utils-tCoGOO7d.js → focus-utils-KpSp5WDp.js} +1 -1
- package/lib/cjs/{index-BeiMjjVl.js → index-BP4tQozH.js} +5 -1
- package/lib/cjs/{label-Cu4DNShe.js → label-CjvqwyJR.js} +1 -1
- package/lib/cjs/{language-utils-B3NubUDr.js → language-utils-BCJyRc_q.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{picture-utils-D_HVgfq5.js → picture-utils-Dp6TiDHy.js} +7 -2
- package/lib/cjs/{slot-utils-Dny6EJ_G.js → slot-utils-DvtoWHAA.js} +1 -1
- package/lib/cjs/{themeable-component-Csdvrnsd.js → themeable-component-BXqwFhg-.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-button/duet-button.css +3 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +13 -9
- 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 +12 -3
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +30 -24
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +23 -3
- package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +34 -7
- 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-input/duet-input.css +31 -0
- package/lib/collection/components/duet-input/duet-input.js +48 -14
- package/lib/collection/components/duet-link/duet-link.css +16 -0
- 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-modal/duet-modal.css +8 -1
- package/lib/collection/components/duet-modal/duet-modal.js +6 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- 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-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +23 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +9 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +23 -4
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- 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-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.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-tab-group/duet-tab-group.js +4 -4
- 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.css +8 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +35 -6
- 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.css +6 -0
- 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-01a6e993.entry.js +4 -0
- package/lib/duet/{p-4e1c2676.entry.js → p-0476dabc.entry.js} +1 -1
- package/lib/duet/p-06e879d2.entry.js +4 -0
- package/lib/duet/p-0f433f55.entry.js +4 -0
- package/lib/duet/{p-1d7a9425.entry.js → p-126b3fd0.entry.js} +1 -1
- package/lib/duet/{p-c54ecb23.entry.js → p-1566e2ec.entry.js} +1 -1
- package/lib/duet/{p-4e5532c8.entry.js → p-1956dd8e.entry.js} +1 -1
- package/lib/duet/{p-20c8226c.entry.js → p-1db9e784.entry.js} +1 -1
- package/lib/duet/{p-6ce82324.entry.js → p-1deed1aa.entry.js} +1 -1
- package/lib/duet/{p-3b9d7f6a.entry.js → p-27894857.entry.js} +1 -1
- package/lib/duet/{p-4a041c60.entry.js → p-2c2e7c9b.entry.js} +1 -1
- package/lib/duet/{p-ee369233.entry.js → p-2c465a03.entry.js} +1 -1
- package/lib/duet/p-2d780739.entry.js +4 -0
- package/lib/duet/{p-4b07ce36.entry.js → p-2f092aed.entry.js} +1 -1
- package/lib/duet/p-304af2e5.entry.js +4 -0
- package/lib/duet/{p-6a11ba26.entry.js → p-34d16cbb.entry.js} +1 -1
- package/lib/duet/p-34ec25cb.entry.js +4 -0
- package/lib/duet/{p-f4de7ac0.entry.js → p-37d5a3c5.entry.js} +1 -1
- package/lib/duet/{p-2e44c6b8.entry.js → p-3932a89b.entry.js} +1 -1
- package/lib/duet/{p-46287d85.entry.js → p-3c8d76e2.entry.js} +1 -1
- package/lib/duet/{p-8fbcea55.entry.js → p-3d454072.entry.js} +1 -1
- package/lib/duet/{p-aa1256f9.entry.js → p-3e66035d.entry.js} +1 -1
- package/lib/duet/{p-83dcbb64.entry.js → p-471d4d75.entry.js} +1 -1
- package/lib/duet/{p-f4538e9d.entry.js → p-4ddf8009.entry.js} +1 -1
- package/lib/duet/{p-4acdc586.entry.js → p-5044e0ed.entry.js} +1 -1
- package/lib/duet/{p-304a9a55.entry.js → p-5103d5f4.entry.js} +1 -1
- package/lib/duet/{p-3533d6ee.entry.js → p-51693a7c.entry.js} +1 -1
- package/lib/duet/{p-f297f8f2.entry.js → p-54bfe081.entry.js} +1 -1
- package/lib/duet/p-588e75cd.entry.js +4 -0
- package/lib/duet/{p-174935bc.entry.js → p-5d70e259.entry.js} +1 -1
- package/lib/duet/p-618cfeef.entry.js +4 -0
- package/lib/duet/{p-12d7fdf6.entry.js → p-6449b1cc.entry.js} +1 -1
- package/lib/duet/{p-e442943d.entry.js → p-6502a274.entry.js} +1 -1
- package/lib/duet/p-69a72f22.entry.js +4 -0
- package/lib/duet/{p-512d18c8.entry.js → p-6e4536e3.entry.js} +1 -1
- package/lib/duet/{p-fdc4a97c.entry.js → p-6ed52261.entry.js} +1 -1
- package/lib/duet/{p-ac4fc44c.entry.js → p-712adcec.entry.js} +1 -1
- package/lib/duet/{p-4cee693b.entry.js → p-79afa773.entry.js} +1 -1
- package/lib/duet/p-7d61dc62.entry.js +4 -0
- package/lib/duet/p-7f9de2a6.entry.js +4 -0
- package/lib/duet/{p-e40d9c21.entry.js → p-870d3c78.entry.js} +1 -1
- package/lib/duet/{p-ae382e2e.entry.js → p-88bf42dc.entry.js} +1 -1
- package/lib/duet/{p-8927ccc1.entry.js → p-88e65283.entry.js} +1 -1
- package/lib/duet/{p-bc41d13d.entry.js → p-8aaf283d.entry.js} +1 -1
- package/lib/duet/p-8d939074.entry.js +4 -0
- package/lib/duet/{p-a01f3141.entry.js → p-908fca79.entry.js} +1 -1
- package/lib/duet/{p-9b2731b9.entry.js → p-93080f2d.entry.js} +1 -1
- package/lib/duet/{p-407d4e5a.entry.js → p-94d057ea.entry.js} +1 -1
- package/lib/duet/{p-84f8bee8.entry.js → p-99367980.entry.js} +1 -1
- package/lib/duet/{p-f30c3cfe.entry.js → p-9a248faf.entry.js} +1 -1
- package/lib/duet/p-9d405b35.entry.js +4 -0
- package/lib/duet/{p-30d8a1e4.entry.js → p-9ed154f5.entry.js} +1 -1
- package/lib/duet/{p-DI7IXBXp.js → p-B1GzOTNZ.js} +1 -1
- package/lib/duet/p-BQTM1aqo.js +4 -0
- package/lib/duet/{p-D3450NfA.js → p-CdcBxXLd.js} +1 -1
- package/lib/duet/{p-KbNgo0QF.js → p-CirNV9Vh.js} +1 -1
- package/lib/duet/{p-D9N9LBeD.js → p-Cj9zQLn2.js} +1 -1
- package/lib/duet/{p-JFwTD5kM.js → p-D3ladndz.js} +1 -1
- package/lib/duet/p-D4pJQwPW.js +4 -0
- package/lib/duet/p-Dbe-q7B5.js +4 -0
- package/lib/duet/{p-BDgGHTHh.js → p-DmLE9-rw.js} +1 -1
- package/lib/duet/{p-CcoGR9T9.js → p-DoEOuTZj.js} +1 -1
- package/lib/duet/{p-61abccd4.entry.js → p-a2514ad4.entry.js} +1 -1
- package/lib/duet/{p-0e10e36b.entry.js → p-a4a3febe.entry.js} +1 -1
- package/lib/duet/p-a517cdce.entry.js +4 -0
- package/lib/duet/{p-374b48f6.entry.js → p-a70bb08d.entry.js} +1 -1
- package/lib/duet/{p-d72dee5d.entry.js → p-aa2c3e0a.entry.js} +1 -1
- package/lib/duet/{p-95bb2a8d.entry.js → p-af7b2954.entry.js} +1 -1
- package/lib/duet/{p-9c41f1d5.entry.js → p-b37d4985.entry.js} +1 -1
- package/lib/duet/p-b4cf5f14.entry.js +4 -0
- package/lib/duet/{p-d7abb7fa.entry.js → p-b6233e75.entry.js} +1 -1
- package/lib/duet/{p-555e0c78.entry.js → p-b97098a6.entry.js} +1 -1
- package/lib/duet/{p-f8d640ba.entry.js → p-bd0263e4.entry.js} +1 -1
- package/lib/duet/{p-244bfbf9.entry.js → p-beaa4612.entry.js} +1 -1
- package/lib/duet/{p-264688ae.entry.js → p-c15c8dd2.entry.js} +1 -1
- package/lib/duet/{p-20066df8.entry.js → p-c223cd3e.entry.js} +1 -1
- package/lib/duet/{p-8bdcfd1f.entry.js → p-c35ae5a0.entry.js} +1 -1
- package/lib/duet/p-c435bb67.entry.js +4 -0
- package/lib/duet/{p-3def9480.entry.js → p-c6e3723f.entry.js} +1 -1
- package/lib/duet/{p-9b448008.entry.js → p-c7b32952.entry.js} +1 -1
- package/lib/duet/p-c95669be.entry.js +4 -0
- package/lib/duet/{p-1579bdf5.entry.js → p-c987a644.entry.js} +1 -1
- package/lib/duet/p-c9b8c2ba.entry.js +4 -0
- package/lib/duet/{p-ec1d2e0a.entry.js → p-c9bdf927.entry.js} +1 -1
- package/lib/duet/p-cdf0fb4c.entry.js +4 -0
- package/lib/duet/p-d069edf1.entry.js +4 -0
- package/lib/duet/p-ddafe27d.entry.js +4 -0
- package/lib/duet/{p-210bc161.entry.js → p-dfdec452.entry.js} +1 -1
- package/lib/duet/{p-829bccb7.entry.js → p-e0f729ad.entry.js} +1 -1
- package/lib/duet/{p-5f72134e.entry.js → p-e32af858.entry.js} +1 -1
- package/lib/duet/{p-5b322a86.entry.js → p-e353daaf.entry.js} +1 -1
- package/lib/duet/p-e5dbac7a.entry.js +4 -0
- package/lib/duet/p-ec2dcb1b.entry.js +4 -0
- package/lib/duet/{p-9889218e.entry.js → p-ed7fbc44.entry.js} +1 -1
- package/lib/duet/{p-914ee7ac.entry.js → p-ef6ce9dc.entry.js} +1 -1
- package/lib/duet/{p-fc2be136.entry.js → p-fcb9c0db.entry.js} +1 -1
- package/lib/duet/{p-48e77341.entry.js → p-fe821e46.entry.js} +1 -1
- package/lib/duet/p-qboSQpUe.js +4 -0
- package/lib/esm/{a11y-utils--wwGTL0T.js → a11y-utils-DbDY4hy4.js} +1 -1
- package/lib/esm/{app-globals-Diuuep9d.js → app-globals-COfbcvxE.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 +5 -5
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +10 -10
- package/lib/esm/duet-card.entry.js +10 -9
- 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 +16 -7
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +32 -25
- 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 +17 -13
- package/lib/esm/duet-divider_2.entry.js +3 -3
- 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 +33 -19
- 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 +12 -13
- 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 +9 -9
- package/lib/esm/duet-number-input.entry.js +8 -8
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +6 -6
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +13 -5
- package/lib/esm/duet-popup-menu_2.entry.js +22 -13
- 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 +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +15 -15
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -9
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +5 -5
- 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 +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-teaser.entry.js +108 -0
- package/lib/esm/duet-textarea.entry.js +20 -11
- 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 +10 -10
- package/lib/esm/duet-tooltip.entry.js +5 -5
- 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-0XnfYFAn.js} +1 -1
- package/lib/esm/{floating-ui.dom.browser.min-B_NkY9T0.js → floating-ui.dom.browser.min-BQTM1aqo.js} +83 -1
- package/lib/esm/{focus-utils-C4oaajGr.js → focus-utils-BwoMMpkj.js} +1 -1
- package/lib/esm/{index-D3450NfA.js → index-CdcBxXLd.js} +5 -1
- package/lib/esm/{label-C1HF2o4Y.js → label-D835wXCb.js} +1 -1
- package/lib/esm/{language-utils-D4WVl8Ph.js → language-utils-C-lpMyP9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{picture-utils-MSeJTkDk.js → picture-utils-Cl2qK3GJ.js} +7 -2
- package/lib/esm/{slot-utils-Dxcjtmp3.js → slot-utils-BSS0Em_Z.js} +1 -1
- package/lib/esm/{themeable-component-QHdUfcat.js → themeable-component-DQtSOD4i.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 +2 -1
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -1
- 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-input/duet-input.d.ts +11 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +1 -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/duet-textarea/duet-textarea.d.ts +8 -1
- package/lib/types/components.d.ts +235 -12
- 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-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-4a251661.entry.js +0 -4
- package/lib/duet/p-4a4e5bb5.entry.js +0 -4
- package/lib/duet/p-6bd78205.entry.js +0 -4
- package/lib/duet/p-6c239923.entry.js +0 -4
- package/lib/duet/p-6d1d1199.entry.js +0 -4
- package/lib/duet/p-81c5d3e3.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-B_NkY9T0.js +0 -4
- package/lib/duet/p-CyfEm8iD.js +0 -4
- package/lib/duet/p-Dk60lC7n.js +0 -4
- package/lib/duet/p-a49b5d93.entry.js +0 -4
- package/lib/duet/p-a6dbe893.entry.js +0 -4
- package/lib/duet/p-aa7e4c81.entry.js +0 -4
- package/lib/duet/p-dbb9e1d4.entry.js +0 -4
- package/lib/duet/p-e43df9c2.entry.js +0 -4
- package/lib/duet/p-eb7bc989.entry.js +0 -4
- package/lib/duet/p-edcdf0b7.entry.js +0 -4
- package/lib/duet/p-f9db8670.entry.js +0 -4
- package/lib/duet/p-fc1a18f8.entry.js +0 -4
|
@@ -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"
|
|
@@ -1292,7 +1302,7 @@ export namespace Components {
|
|
|
1292
1302
|
interface DuetCombobox {
|
|
1293
1303
|
/**
|
|
1294
1304
|
* Defaults for the accessible labels for the select items
|
|
1295
|
-
* @default { en: { heading: "Select:", item: "{name}",
|
|
1305
|
+
* @default { en: { heading: "Select:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount} options found", noOptionsFound: "No options found", }, fi: { heading: "Valitse:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount}, valintaa löydetty", // extra comma to prevent unwanted conjugation noOptionsFound: "Yhtään valintaa ei löydy", }, sv: { heading: "Välj:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount} val hittades", noOptionsFound: "Inget val hittades", }, }
|
|
1296
1306
|
*/
|
|
1297
1307
|
"accessibleLabelDefaults": DuetLangObject | string;
|
|
1298
1308
|
/**
|
|
@@ -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"
|
|
@@ -1453,8 +1467,8 @@ export namespace Components {
|
|
|
1453
1467
|
*/
|
|
1454
1468
|
"direction": DuetDatePickerDirection;
|
|
1455
1469
|
/**
|
|
1456
|
-
*
|
|
1457
|
-
* @default
|
|
1470
|
+
* @deprecated changed from opt-out to opt-in with attribute `enable-built-in-errors`
|
|
1471
|
+
* @default true
|
|
1458
1472
|
*/
|
|
1459
1473
|
"disableBuiltInErrors": boolean;
|
|
1460
1474
|
/**
|
|
@@ -1482,6 +1496,11 @@ export namespace Components {
|
|
|
1482
1496
|
* @default false
|
|
1483
1497
|
*/
|
|
1484
1498
|
"echoPlaceholder": boolean;
|
|
1499
|
+
/**
|
|
1500
|
+
* Date picker can use built-in error messages for invalid or missing entries if the application does not handle those.
|
|
1501
|
+
* @default false
|
|
1502
|
+
*/
|
|
1503
|
+
"enableBuiltInErrors": boolean;
|
|
1485
1504
|
/**
|
|
1486
1505
|
* Display the date picker input in error state along with an error message.
|
|
1487
1506
|
* @default ""
|
|
@@ -1867,7 +1886,8 @@ export namespace Components {
|
|
|
1867
1886
|
| "sidebar-left"
|
|
1868
1887
|
| "two-columns"
|
|
1869
1888
|
| "three-columns"
|
|
1870
|
-
| "button-grid"
|
|
1889
|
+
| "button-grid"
|
|
1890
|
+
| "teaser";
|
|
1871
1891
|
/**
|
|
1872
1892
|
* 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
1893
|
* @default "auto"
|
|
@@ -2180,6 +2200,11 @@ export namespace Components {
|
|
|
2180
2200
|
* @default "auto"
|
|
2181
2201
|
*/
|
|
2182
2202
|
"imagePosition": "auto" | "center";
|
|
2203
|
+
/**
|
|
2204
|
+
* 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"
|
|
2205
|
+
* @default "high"
|
|
2206
|
+
*/
|
|
2207
|
+
"imagePriority": "high" | "low";
|
|
2183
2208
|
/**
|
|
2184
2209
|
* Image sizing.
|
|
2185
2210
|
* @default "auto"
|
|
@@ -2431,7 +2456,7 @@ export namespace Components {
|
|
|
2431
2456
|
*/
|
|
2432
2457
|
"echoPlaceholder": boolean;
|
|
2433
2458
|
/**
|
|
2434
|
-
* Display the input in error state along with an error message.
|
|
2459
|
+
* Display the input in error state along with an error message. If input is disabled or readonly, error is ignored.
|
|
2435
2460
|
* @default ""
|
|
2436
2461
|
*/
|
|
2437
2462
|
"error": string;
|
|
@@ -2534,6 +2559,11 @@ export namespace Components {
|
|
|
2534
2559
|
* Hint text to display.
|
|
2535
2560
|
*/
|
|
2536
2561
|
"placeholder": string;
|
|
2562
|
+
/**
|
|
2563
|
+
* Makes the input component not mutable, meaning the user cannot edit the control. The user can otherwise interact, e.g. by selecting the content and copying it. Due to differences in different browsers' and screen readers' implementations it is strongly advisable to use this only with type="text".
|
|
2564
|
+
* @default false
|
|
2565
|
+
*/
|
|
2566
|
+
"readonly": boolean;
|
|
2537
2567
|
/**
|
|
2538
2568
|
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
2539
2569
|
* @default false
|
|
@@ -3512,6 +3542,10 @@ export namespace Components {
|
|
|
3512
3542
|
* @default {fi: "Vähenn {step} {unit}ä", en: "Subtract {step} {unit}", sv: "Sutrahera {step} {unit}"}
|
|
3513
3543
|
*/
|
|
3514
3544
|
"accessibleSubtractDefaults": DuetLangObject | string;
|
|
3545
|
+
/**
|
|
3546
|
+
* Caption shown below label, also included in aria-describedby
|
|
3547
|
+
*/
|
|
3548
|
+
"caption": string;
|
|
3515
3549
|
/**
|
|
3516
3550
|
* Makes the number input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
|
|
3517
3551
|
* @default false
|
|
@@ -4214,6 +4248,10 @@ export namespace Components {
|
|
|
4214
4248
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
4215
4249
|
*/
|
|
4216
4250
|
"imageAlt": string;
|
|
4251
|
+
/**
|
|
4252
|
+
* 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"
|
|
4253
|
+
*/
|
|
4254
|
+
"imagePriority": "high" | "low";
|
|
4217
4255
|
/**
|
|
4218
4256
|
* Controls the margin of the component.
|
|
4219
4257
|
* @default "auto"
|
|
@@ -5544,6 +5582,73 @@ export namespace Components {
|
|
|
5544
5582
|
*/
|
|
5545
5583
|
"variation": DuetTableVariant;
|
|
5546
5584
|
}
|
|
5585
|
+
interface DuetTeaser {
|
|
5586
|
+
/**
|
|
5587
|
+
* Description text shown below the heading.
|
|
5588
|
+
*/
|
|
5589
|
+
"description": string;
|
|
5590
|
+
/**
|
|
5591
|
+
* The heading text.
|
|
5592
|
+
*/
|
|
5593
|
+
"heading": string;
|
|
5594
|
+
/**
|
|
5595
|
+
* The actual heading level used in the HTML markup.
|
|
5596
|
+
* @default "h3"
|
|
5597
|
+
*/
|
|
5598
|
+
"headingLevel": DuetHeadingLevel;
|
|
5599
|
+
/**
|
|
5600
|
+
* Controls the visual size of the heading. Headings longer than 60 characters always use "h5" visually, regardless of this setting.
|
|
5601
|
+
* @default "h3"
|
|
5602
|
+
*/
|
|
5603
|
+
"headingVisualLevel": DuetTeaserHeadingVisualLevel;
|
|
5604
|
+
/**
|
|
5605
|
+
* Icon to display when no image is set. Not used if the image property is given.
|
|
5606
|
+
*/
|
|
5607
|
+
"icon": DuetIconName;
|
|
5608
|
+
/**
|
|
5609
|
+
* Background color for the icon
|
|
5610
|
+
* @default "color-background-accent-secondary"
|
|
5611
|
+
*/
|
|
5612
|
+
"iconBackground": DuetColor;
|
|
5613
|
+
/**
|
|
5614
|
+
* Color for the icon
|
|
5615
|
+
* @default "color-foreground-accent-secondary"
|
|
5616
|
+
*/
|
|
5617
|
+
"iconColor": DuetIconColor;
|
|
5618
|
+
/**
|
|
5619
|
+
* Image URL. If provided, the icon property is ignored.
|
|
5620
|
+
*/
|
|
5621
|
+
"image": string;
|
|
5622
|
+
/**
|
|
5623
|
+
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
5624
|
+
*/
|
|
5625
|
+
"imageAlt": string;
|
|
5626
|
+
/**
|
|
5627
|
+
* 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"
|
|
5628
|
+
*/
|
|
5629
|
+
"imagePriority": "high" | "low";
|
|
5630
|
+
/**
|
|
5631
|
+
* Meta text (date, category, etc.). Placed after the heading in source order, but rendered visually above it.
|
|
5632
|
+
*/
|
|
5633
|
+
"meta": string;
|
|
5634
|
+
/**
|
|
5635
|
+
* Sets focus on underlying a element. Available only when url attribute is used. Use this method instead of the native `focus()`.
|
|
5636
|
+
*/
|
|
5637
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
5638
|
+
/**
|
|
5639
|
+
* Array of sources for responsive images. Sources have the properties of <source> element.
|
|
5640
|
+
*/
|
|
5641
|
+
"sources": DuetSource[] | string;
|
|
5642
|
+
/**
|
|
5643
|
+
* Theme.
|
|
5644
|
+
* @default ""
|
|
5645
|
+
*/
|
|
5646
|
+
"theme": DuetTheme;
|
|
5647
|
+
/**
|
|
5648
|
+
* 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.
|
|
5649
|
+
*/
|
|
5650
|
+
"url": string;
|
|
5651
|
+
}
|
|
5547
5652
|
interface DuetTextarea {
|
|
5548
5653
|
/**
|
|
5549
5654
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -5615,7 +5720,7 @@ export namespace Components {
|
|
|
5615
5720
|
*/
|
|
5616
5721
|
"echoPlaceholder": boolean;
|
|
5617
5722
|
/**
|
|
5618
|
-
* Display the textarea in error state along with an error message.
|
|
5723
|
+
* Display the textarea in error state along with an error message. If the textarea is disabled or readonly, the error is ignored.
|
|
5619
5724
|
* @default ""
|
|
5620
5725
|
*/
|
|
5621
5726
|
"error": string;
|
|
@@ -5667,6 +5772,11 @@ export namespace Components {
|
|
|
5667
5772
|
* Hint text to display.
|
|
5668
5773
|
*/
|
|
5669
5774
|
"placeholder": string;
|
|
5775
|
+
/**
|
|
5776
|
+
* Makes the textarea component not mutable, meaning the user cannot edit the control. The user can otherwise interact, e.g. by selecting the content and copying it.
|
|
5777
|
+
* @default false
|
|
5778
|
+
*/
|
|
5779
|
+
"readonly": boolean;
|
|
5670
5780
|
/**
|
|
5671
5781
|
* Set whether the textarea is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
5672
5782
|
* @default false
|
|
@@ -7672,6 +7782,12 @@ declare global {
|
|
|
7672
7782
|
prototype: HTMLDuetTableElement;
|
|
7673
7783
|
new (): HTMLDuetTableElement;
|
|
7674
7784
|
};
|
|
7785
|
+
interface HTMLDuetTeaserElement extends Components.DuetTeaser, HTMLStencilElement {
|
|
7786
|
+
}
|
|
7787
|
+
var HTMLDuetTeaserElement: {
|
|
7788
|
+
prototype: HTMLDuetTeaserElement;
|
|
7789
|
+
new (): HTMLDuetTeaserElement;
|
|
7790
|
+
};
|
|
7675
7791
|
interface HTMLDuetTextareaElementEventMap {
|
|
7676
7792
|
"duetInput": DuetTextareaEvent;
|
|
7677
7793
|
"duetChange": DuetTextareaEvent;
|
|
@@ -7911,6 +8027,7 @@ declare global {
|
|
|
7911
8027
|
"duet-tab": HTMLDuetTabElement;
|
|
7912
8028
|
"duet-tab-group": HTMLDuetTabGroupElement;
|
|
7913
8029
|
"duet-table": HTMLDuetTableElement;
|
|
8030
|
+
"duet-teaser": HTMLDuetTeaserElement;
|
|
7914
8031
|
"duet-textarea": HTMLDuetTextareaElement;
|
|
7915
8032
|
"duet-toggle": HTMLDuetToggleElement;
|
|
7916
8033
|
"duet-toolbar": HTMLDuetToolbarElement;
|
|
@@ -8169,6 +8286,10 @@ declare namespace LocalJSX {
|
|
|
8169
8286
|
* @default "cover"
|
|
8170
8287
|
*/
|
|
8171
8288
|
"imageFit"?: "cover" | "contain";
|
|
8289
|
+
/**
|
|
8290
|
+
* 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"
|
|
8291
|
+
*/
|
|
8292
|
+
"imagePriority"?: "high" | "low";
|
|
8172
8293
|
/**
|
|
8173
8294
|
* Controls the margin of the component.
|
|
8174
8295
|
* @default "auto"
|
|
@@ -8517,6 +8638,10 @@ declare namespace LocalJSX {
|
|
|
8517
8638
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
8518
8639
|
*/
|
|
8519
8640
|
"imageAlt"?: string;
|
|
8641
|
+
/**
|
|
8642
|
+
* 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"
|
|
8643
|
+
*/
|
|
8644
|
+
"imagePriority"?: "high" | "low";
|
|
8520
8645
|
/**
|
|
8521
8646
|
* Controls the margin of the component.
|
|
8522
8647
|
* @default "auto"
|
|
@@ -9093,7 +9218,7 @@ declare namespace LocalJSX {
|
|
|
9093
9218
|
interface DuetCombobox {
|
|
9094
9219
|
/**
|
|
9095
9220
|
* Defaults for the accessible labels for the select items
|
|
9096
|
-
* @default { en: { heading: "Select:", item: "{name}",
|
|
9221
|
+
* @default { en: { heading: "Select:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount} options found", noOptionsFound: "No options found", }, fi: { heading: "Valitse:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount}, valintaa löydetty", // extra comma to prevent unwanted conjugation noOptionsFound: "Yhtään valintaa ei löydy", }, sv: { heading: "Välj:", item: "{name}", activeItemLabel: "{name}, {current} / {total}", optionsFound: "{optionCount} val hittades", noOptionsFound: "Inget val hittades", }, }
|
|
9097
9222
|
*/
|
|
9098
9223
|
"accessibleLabelDefaults"?: DuetLangObject | string;
|
|
9099
9224
|
/**
|
|
@@ -9186,6 +9311,10 @@ declare namespace LocalJSX {
|
|
|
9186
9311
|
* Image.
|
|
9187
9312
|
*/
|
|
9188
9313
|
"image"?: string;
|
|
9314
|
+
/**
|
|
9315
|
+
* 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"
|
|
9316
|
+
*/
|
|
9317
|
+
"imagePriority"?: "high" | "low";
|
|
9189
9318
|
/**
|
|
9190
9319
|
* Controls the margin of the component.
|
|
9191
9320
|
* @default "auto"
|
|
@@ -9257,8 +9386,8 @@ declare namespace LocalJSX {
|
|
|
9257
9386
|
*/
|
|
9258
9387
|
"direction"?: DuetDatePickerDirection;
|
|
9259
9388
|
/**
|
|
9260
|
-
*
|
|
9261
|
-
* @default
|
|
9389
|
+
* @deprecated changed from opt-out to opt-in with attribute `enable-built-in-errors`
|
|
9390
|
+
* @default true
|
|
9262
9391
|
*/
|
|
9263
9392
|
"disableBuiltInErrors"?: boolean;
|
|
9264
9393
|
/**
|
|
@@ -9286,6 +9415,11 @@ declare namespace LocalJSX {
|
|
|
9286
9415
|
* @default false
|
|
9287
9416
|
*/
|
|
9288
9417
|
"echoPlaceholder"?: boolean;
|
|
9418
|
+
/**
|
|
9419
|
+
* Date picker can use built-in error messages for invalid or missing entries if the application does not handle those.
|
|
9420
|
+
* @default false
|
|
9421
|
+
*/
|
|
9422
|
+
"enableBuiltInErrors"?: boolean;
|
|
9289
9423
|
/**
|
|
9290
9424
|
* Display the date picker input in error state along with an error message.
|
|
9291
9425
|
* @default ""
|
|
@@ -9695,7 +9829,8 @@ declare namespace LocalJSX {
|
|
|
9695
9829
|
| "sidebar-left"
|
|
9696
9830
|
| "two-columns"
|
|
9697
9831
|
| "three-columns"
|
|
9698
|
-
| "button-grid"
|
|
9832
|
+
| "button-grid"
|
|
9833
|
+
| "teaser";
|
|
9699
9834
|
/**
|
|
9700
9835
|
* 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
9836
|
* @default "auto"
|
|
@@ -10036,6 +10171,11 @@ declare namespace LocalJSX {
|
|
|
10036
10171
|
* @default "auto"
|
|
10037
10172
|
*/
|
|
10038
10173
|
"imagePosition"?: "auto" | "center";
|
|
10174
|
+
/**
|
|
10175
|
+
* 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"
|
|
10176
|
+
* @default "high"
|
|
10177
|
+
*/
|
|
10178
|
+
"imagePriority"?: "high" | "low";
|
|
10039
10179
|
/**
|
|
10040
10180
|
* Image sizing.
|
|
10041
10181
|
* @default "auto"
|
|
@@ -10271,7 +10411,7 @@ declare namespace LocalJSX {
|
|
|
10271
10411
|
*/
|
|
10272
10412
|
"echoPlaceholder"?: boolean;
|
|
10273
10413
|
/**
|
|
10274
|
-
* Display the input in error state along with an error message.
|
|
10414
|
+
* Display the input in error state along with an error message. If input is disabled or readonly, error is ignored.
|
|
10275
10415
|
* @default ""
|
|
10276
10416
|
*/
|
|
10277
10417
|
"error"?: string;
|
|
@@ -10382,6 +10522,11 @@ declare namespace LocalJSX {
|
|
|
10382
10522
|
* Hint text to display.
|
|
10383
10523
|
*/
|
|
10384
10524
|
"placeholder"?: string;
|
|
10525
|
+
/**
|
|
10526
|
+
* Makes the input component not mutable, meaning the user cannot edit the control. The user can otherwise interact, e.g. by selecting the content and copying it. Due to differences in different browsers' and screen readers' implementations it is strongly advisable to use this only with type="text".
|
|
10527
|
+
* @default false
|
|
10528
|
+
*/
|
|
10529
|
+
"readonly"?: boolean;
|
|
10385
10530
|
/**
|
|
10386
10531
|
* Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
10387
10532
|
* @default false
|
|
@@ -11302,6 +11447,10 @@ declare namespace LocalJSX {
|
|
|
11302
11447
|
* @default {fi: "Vähenn {step} {unit}ä", en: "Subtract {step} {unit}", sv: "Sutrahera {step} {unit}"}
|
|
11303
11448
|
*/
|
|
11304
11449
|
"accessibleSubtractDefaults"?: DuetLangObject | string;
|
|
11450
|
+
/**
|
|
11451
|
+
* Caption shown below label, also included in aria-describedby
|
|
11452
|
+
*/
|
|
11453
|
+
"caption"?: string;
|
|
11305
11454
|
/**
|
|
11306
11455
|
* Makes the number input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
|
|
11307
11456
|
* @default false
|
|
@@ -12011,6 +12160,10 @@ declare namespace LocalJSX {
|
|
|
12011
12160
|
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
12012
12161
|
*/
|
|
12013
12162
|
"imageAlt"?: string;
|
|
12163
|
+
/**
|
|
12164
|
+
* 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"
|
|
12165
|
+
*/
|
|
12166
|
+
"imagePriority"?: "high" | "low";
|
|
12014
12167
|
/**
|
|
12015
12168
|
* Controls the margin of the component.
|
|
12016
12169
|
* @default "auto"
|
|
@@ -13293,6 +13446,69 @@ declare namespace LocalJSX {
|
|
|
13293
13446
|
*/
|
|
13294
13447
|
"variation"?: DuetTableVariant;
|
|
13295
13448
|
}
|
|
13449
|
+
interface DuetTeaser {
|
|
13450
|
+
/**
|
|
13451
|
+
* Description text shown below the heading.
|
|
13452
|
+
*/
|
|
13453
|
+
"description"?: string;
|
|
13454
|
+
/**
|
|
13455
|
+
* The heading text.
|
|
13456
|
+
*/
|
|
13457
|
+
"heading"?: string;
|
|
13458
|
+
/**
|
|
13459
|
+
* The actual heading level used in the HTML markup.
|
|
13460
|
+
* @default "h3"
|
|
13461
|
+
*/
|
|
13462
|
+
"headingLevel"?: DuetHeadingLevel;
|
|
13463
|
+
/**
|
|
13464
|
+
* Controls the visual size of the heading. Headings longer than 60 characters always use "h5" visually, regardless of this setting.
|
|
13465
|
+
* @default "h3"
|
|
13466
|
+
*/
|
|
13467
|
+
"headingVisualLevel"?: DuetTeaserHeadingVisualLevel;
|
|
13468
|
+
/**
|
|
13469
|
+
* Icon to display when no image is set. Not used if the image property is given.
|
|
13470
|
+
*/
|
|
13471
|
+
"icon"?: DuetIconName;
|
|
13472
|
+
/**
|
|
13473
|
+
* Background color for the icon
|
|
13474
|
+
* @default "color-background-accent-secondary"
|
|
13475
|
+
*/
|
|
13476
|
+
"iconBackground"?: DuetColor;
|
|
13477
|
+
/**
|
|
13478
|
+
* Color for the icon
|
|
13479
|
+
* @default "color-foreground-accent-secondary"
|
|
13480
|
+
*/
|
|
13481
|
+
"iconColor"?: DuetIconColor;
|
|
13482
|
+
/**
|
|
13483
|
+
* Image URL. If provided, the icon property is ignored.
|
|
13484
|
+
*/
|
|
13485
|
+
"image"?: string;
|
|
13486
|
+
/**
|
|
13487
|
+
* Alt attribute text for the image. If not provided, image is assigned presentation role.
|
|
13488
|
+
*/
|
|
13489
|
+
"imageAlt"?: string;
|
|
13490
|
+
/**
|
|
13491
|
+
* 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"
|
|
13492
|
+
*/
|
|
13493
|
+
"imagePriority"?: "high" | "low";
|
|
13494
|
+
/**
|
|
13495
|
+
* Meta text (date, category, etc.). Placed after the heading in source order, but rendered visually above it.
|
|
13496
|
+
*/
|
|
13497
|
+
"meta"?: string;
|
|
13498
|
+
/**
|
|
13499
|
+
* Array of sources for responsive images. Sources have the properties of <source> element.
|
|
13500
|
+
*/
|
|
13501
|
+
"sources"?: DuetSource[] | string;
|
|
13502
|
+
/**
|
|
13503
|
+
* Theme.
|
|
13504
|
+
* @default ""
|
|
13505
|
+
*/
|
|
13506
|
+
"theme"?: DuetTheme;
|
|
13507
|
+
/**
|
|
13508
|
+
* 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.
|
|
13509
|
+
*/
|
|
13510
|
+
"url"?: string;
|
|
13511
|
+
}
|
|
13296
13512
|
interface DuetTextarea {
|
|
13297
13513
|
/**
|
|
13298
13514
|
* Indicates the id of a related component’s visually focused element.
|
|
@@ -13364,7 +13580,7 @@ declare namespace LocalJSX {
|
|
|
13364
13580
|
*/
|
|
13365
13581
|
"echoPlaceholder"?: boolean;
|
|
13366
13582
|
/**
|
|
13367
|
-
* Display the textarea in error state along with an error message.
|
|
13583
|
+
* Display the textarea in error state along with an error message. If the textarea is disabled or readonly, the error is ignored.
|
|
13368
13584
|
* @default ""
|
|
13369
13585
|
*/
|
|
13370
13586
|
"error"?: string;
|
|
@@ -13432,6 +13648,11 @@ declare namespace LocalJSX {
|
|
|
13432
13648
|
* Hint text to display.
|
|
13433
13649
|
*/
|
|
13434
13650
|
"placeholder"?: string;
|
|
13651
|
+
/**
|
|
13652
|
+
* Makes the textarea component not mutable, meaning the user cannot edit the control. The user can otherwise interact, e.g. by selecting the content and copying it.
|
|
13653
|
+
* @default false
|
|
13654
|
+
*/
|
|
13655
|
+
"readonly"?: boolean;
|
|
13435
13656
|
/**
|
|
13436
13657
|
* Set whether the textarea is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
|
|
13437
13658
|
* @default false
|
|
@@ -14399,6 +14620,7 @@ declare namespace LocalJSX {
|
|
|
14399
14620
|
"duet-tab": DuetTab;
|
|
14400
14621
|
"duet-tab-group": DuetTabGroup;
|
|
14401
14622
|
"duet-table": DuetTable;
|
|
14623
|
+
"duet-teaser": DuetTeaser;
|
|
14402
14624
|
"duet-textarea": DuetTextarea;
|
|
14403
14625
|
"duet-toggle": DuetToggle;
|
|
14404
14626
|
"duet-toolbar": DuetToolbar;
|
|
@@ -14511,6 +14733,7 @@ declare module "@stencil/core" {
|
|
|
14511
14733
|
"duet-tab": LocalJSX.DuetTab & JSXBase.HTMLAttributes<HTMLDuetTabElement>;
|
|
14512
14734
|
"duet-tab-group": LocalJSX.DuetTabGroup & JSXBase.HTMLAttributes<HTMLDuetTabGroupElement>;
|
|
14513
14735
|
"duet-table": LocalJSX.DuetTable & JSXBase.HTMLAttributes<HTMLDuetTableElement>;
|
|
14736
|
+
"duet-teaser": LocalJSX.DuetTeaser & JSXBase.HTMLAttributes<HTMLDuetTeaserElement>;
|
|
14514
14737
|
"duet-textarea": LocalJSX.DuetTextarea & JSXBase.HTMLAttributes<HTMLDuetTextareaElement>;
|
|
14515
14738
|
"duet-toggle": LocalJSX.DuetToggle & JSXBase.HTMLAttributes<HTMLDuetToggleElement>;
|
|
14516
14739
|
"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.8.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.70",
|
|
71
|
+
"@duetds/icons": "4.3.12",
|
|
72
|
+
"@duetds/tokens": "5.1.5",
|
|
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": "412579b44346f339a127c6e63b60236ff2dec291"
|
|
101
101
|
}
|