@duetds/components 10.5.0 → 10.6.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 +501 -263
- package/hydrate/index.mjs +501 -263
- package/lib/cjs/{a11y-utils-DaAO4N9d.js → a11y-utils-CgWjS7yq.js} +1 -1
- package/lib/cjs/{app-globals-CHNvdfQj.js → app-globals-D68ciWsb.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +7 -7
- package/lib/cjs/duet-banner.cjs.entry.js +15 -16
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +21 -10
- 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 +28 -12
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
- package/lib/cjs/duet-contact-card.cjs.entry.js +17 -7
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +127 -14
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +15 -15
- 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 +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +22 -21
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +70 -18
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
- 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 +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +15 -15
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
- 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 +19 -19
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +11 -6
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +20 -8
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +8 -8
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +18 -18
- 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 +8 -8
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
- 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 +13 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +20 -14
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
- package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
- package/lib/cjs/duet-toggle.cjs.entry.js +9 -9
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
- 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 +7 -7
- 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-Dkf_MfrJ.js → errorcodes.utils-C0tQ3k6Z.js} +1 -1
- package/lib/cjs/{focus-utils-BuGg0Oha.js → focus-utils-tCoGOO7d.js} +1 -1
- package/lib/cjs/{index-ZxE6MB5V.js → index-BeiMjjVl.js} +9 -9
- package/lib/cjs/{keyboard-utils-D9UlHbik.js → keyboard-utils-DibQafwg.js} +2 -0
- package/lib/cjs/{label-CpPOBfjS.js → label-Cu4DNShe.js} +1 -1
- package/lib/cjs/{language-utils-C7Z0KYg-.js → language-utils-B3NubUDr.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/picture-utils-D_HVgfq5.js +15 -0
- package/lib/cjs/{slot-utils-BXdHT3A1.js → slot-utils-Dny6EJ_G.js} +1 -1
- package/lib/cjs/{themeable-component-CIDaln0Z.js → themeable-component-Csdvrnsd.js} +1 -1
- package/lib/cjs/{token-utils-DY3-olMV.js → token-utils-ZISdNshf.js} +1 -1
- package/lib/cjs/{tokens.module-CTbvyezn.js → tokens.module-CGRpZaa1.js} +2 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +12 -0
- package/lib/collection/components/duet-banner/duet-banner.js +30 -5
- 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.js +8 -8
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.css +3 -0
- package/lib/collection/components/duet-card/duet-card.js +43 -7
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +53 -17
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +3 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +38 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-picker-month.js +4 -2
- package/lib/collection/components/duet-date-picker/date-utils.js +7 -0
- package/lib/collection/components/duet-date-picker/disallowed-days.js +23 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +100 -10
- package/lib/collection/components/duet-date-picker/finnish-bank-holidays.js +66 -0
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +92 -14
- package/lib/collection/components/duet-hero/duet-hero.js +47 -21
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +73 -20
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +6 -6
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +4 -4
- 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.js +11 -11
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
- 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 +4 -4
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -8
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
- package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
- package/lib/collection/components/duet-panel/duet-panel.js +3 -3
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +30 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +4 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +39 -2
- package/lib/collection/components/duet-radio/duet-radio.js +6 -6
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- 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 +10 -10
- 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 +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -6
- 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 +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +4 -4
- package/lib/collection/components/duet-stepper/duet-stepper.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-tab-group/duet-tab-group.js +9 -9
- package/lib/collection/components/duet-table/duet-table-styles.js +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +7 -7
- package/lib/collection/components/duet-toggle/duet-toggle.js +4 -4
- 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-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +16 -16
- 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 +4 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +1 -0
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-054c334d.entry.js +4 -0
- package/lib/duet/{p-3277233e.entry.js → p-0e10e36b.entry.js} +1 -1
- package/lib/duet/{p-9ae7aaef.entry.js → p-12d7fdf6.entry.js} +1 -1
- package/lib/duet/{p-3f7afd87.entry.js → p-1579bdf5.entry.js} +1 -1
- package/lib/duet/{p-7eea47d5.entry.js → p-174935bc.entry.js} +1 -1
- package/lib/duet/{p-42ec7305.entry.js → p-1d7a9425.entry.js} +1 -1
- package/lib/duet/{p-317e81f3.entry.js → p-20066df8.entry.js} +1 -1
- package/lib/duet/{p-3690576a.entry.js → p-20c8226c.entry.js} +1 -1
- package/lib/duet/{p-19863cdf.entry.js → p-210bc161.entry.js} +1 -1
- package/lib/duet/{p-b747f6e9.entry.js → p-244bfbf9.entry.js} +1 -1
- package/lib/duet/{p-38973524.entry.js → p-264688ae.entry.js} +1 -1
- package/lib/duet/{p-93ff8fe4.entry.js → p-2bf78fe4.entry.js} +1 -1
- package/lib/duet/{p-9e1a59d1.entry.js → p-2e44c6b8.entry.js} +1 -1
- package/lib/duet/{p-c1afac0d.entry.js → p-304a9a55.entry.js} +1 -1
- package/lib/duet/{p-516397ba.entry.js → p-30d8a1e4.entry.js} +1 -1
- package/lib/duet/p-3445529c.entry.js +4 -0
- package/lib/duet/{p-2f8a47e2.entry.js → p-3533d6ee.entry.js} +1 -1
- package/lib/duet/{p-fe829b53.entry.js → p-374b48f6.entry.js} +1 -1
- package/lib/duet/{p-7353ee4c.entry.js → p-3b9d7f6a.entry.js} +1 -1
- package/lib/duet/{p-5f5f72d4.entry.js → p-3def9480.entry.js} +1 -1
- package/lib/duet/p-3fbe466a.entry.js +4 -0
- package/lib/duet/{p-d3b5c997.entry.js → p-407d4e5a.entry.js} +1 -1
- package/lib/duet/p-41230630.entry.js +4 -0
- package/lib/duet/p-44e53564.entry.js +4 -0
- package/lib/duet/p-46287d85.entry.js +4 -0
- package/lib/duet/p-48e77341.entry.js +4 -0
- package/lib/duet/{p-a8876b3d.entry.js → p-4a041c60.entry.js} +1 -1
- package/lib/duet/{p-efa4eecc.entry.js → p-4a251661.entry.js} +1 -1
- package/lib/duet/{p-407f7f03.entry.js → p-4a4e5bb5.entry.js} +1 -1
- package/lib/duet/{p-b1326cbb.entry.js → p-4acdc586.entry.js} +1 -1
- package/lib/duet/{p-8ace1eb4.entry.js → p-4b07ce36.entry.js} +1 -1
- package/lib/duet/{p-e7f2359a.entry.js → p-4cee693b.entry.js} +1 -1
- package/lib/duet/{p-3f35fce3.entry.js → p-4e1c2676.entry.js} +1 -1
- package/lib/duet/{p-40fa7371.entry.js → p-4e5532c8.entry.js} +1 -1
- package/lib/duet/{p-7fd39204.entry.js → p-512d18c8.entry.js} +1 -1
- package/lib/duet/{p-6ef683d5.entry.js → p-555e0c78.entry.js} +1 -1
- package/lib/duet/{p-cb6c4158.entry.js → p-5b322a86.entry.js} +1 -1
- package/lib/duet/p-5f72134e.entry.js +4 -0
- package/lib/duet/{p-dedf6a32.entry.js → p-61abccd4.entry.js} +1 -1
- package/lib/duet/{p-443af533.entry.js → p-6a11ba26.entry.js} +1 -1
- package/lib/duet/{p-f040706c.entry.js → p-6bd78205.entry.js} +1 -1
- package/lib/duet/p-6c239923.entry.js +4 -0
- package/lib/duet/{p-bdbf0fae.entry.js → p-6ce82324.entry.js} +1 -1
- package/lib/duet/{p-268b3066.entry.js → p-6d1d1199.entry.js} +1 -1
- package/lib/duet/p-81c5d3e3.entry.js +4 -0
- package/lib/duet/p-829bccb7.entry.js +4 -0
- package/lib/duet/{p-c2026c6b.entry.js → p-83dcbb64.entry.js} +1 -1
- package/lib/duet/{p-461d4089.entry.js → p-84f8bee8.entry.js} +1 -1
- package/lib/duet/{p-d6f0afa5.entry.js → p-8927ccc1.entry.js} +1 -1
- package/lib/duet/{p-3b2fba0f.entry.js → p-8bdcfd1f.entry.js} +1 -1
- package/lib/duet/{p-833802f9.entry.js → p-8fbcea55.entry.js} +1 -1
- package/lib/duet/{p-20a8ef81.entry.js → p-914ee7ac.entry.js} +1 -1
- package/lib/duet/{p-d3baa815.entry.js → p-95bb2a8d.entry.js} +1 -1
- package/lib/duet/{p-cbcee3e2.entry.js → p-985213bb.entry.js} +1 -1
- package/lib/duet/{p-52beb436.entry.js → p-9889218e.entry.js} +1 -1
- package/lib/duet/{p-30108edc.entry.js → p-9b2731b9.entry.js} +1 -1
- package/lib/duet/{p-829db926.entry.js → p-9b448008.entry.js} +1 -1
- package/lib/duet/p-9c41f1d5.entry.js +4 -0
- package/lib/duet/p-BDgGHTHh.js +4 -0
- package/lib/duet/p-BZev46O8.js +4 -0
- package/lib/duet/p-BaefVzkx.js +4 -0
- package/lib/duet/p-CcoGR9T9.js +4 -0
- package/lib/duet/{p-R3pTP2Oy.js → p-CyfEm8iD.js} +1 -1
- package/lib/duet/p-D3450NfA.js +5 -0
- package/lib/duet/{p-CFqvB5PA.js → p-D9N9LBeD.js} +1 -1
- package/lib/duet/{p-C5Yfx2kd.js → p-DI7IXBXp.js} +1 -1
- package/lib/duet/{p-D2ly4TZR.js → p-DYmL1tSl.js} +1 -1
- package/lib/duet/p-Dk60lC7n.js +4 -0
- package/lib/duet/p-JFwTD5kM.js +4 -0
- package/lib/duet/{p-BzYmwX5_.js → p-KbNgo0QF.js} +1 -1
- package/lib/duet/{p-110c7572.entry.js → p-a01f3141.entry.js} +1 -1
- package/lib/duet/{p-43e076b5.entry.js → p-a49b5d93.entry.js} +1 -1
- package/lib/duet/p-a6dbe893.entry.js +4 -0
- package/lib/duet/{p-1da7703d.entry.js → p-aa1256f9.entry.js} +1 -1
- package/lib/duet/{p-a068c086.entry.js → p-aa7e4c81.entry.js} +1 -1
- package/lib/duet/{p-70612314.entry.js → p-ac4fc44c.entry.js} +1 -1
- package/lib/duet/{p-61ec0e1c.entry.js → p-ae382e2e.entry.js} +1 -1
- package/lib/duet/{p-a483117e.entry.js → p-bc41d13d.entry.js} +1 -1
- package/lib/duet/{p-734249e0.entry.js → p-c54ecb23.entry.js} +1 -1
- package/lib/duet/{p-70961edb.entry.js → p-d72dee5d.entry.js} +1 -1
- package/lib/duet/p-d7abb7fa.entry.js +4 -0
- package/lib/duet/{p-8b0dfbd7.entry.js → p-dbb9e1d4.entry.js} +1 -1
- package/lib/duet/{p-317a1fc0.entry.js → p-e40d9c21.entry.js} +1 -1
- package/lib/duet/{p-06297bd8.entry.js → p-e43df9c2.entry.js} +1 -1
- package/lib/duet/{p-02d8e844.entry.js → p-e442943d.entry.js} +1 -1
- package/lib/duet/p-eb7bc989.entry.js +4 -0
- package/lib/duet/{p-a9104184.entry.js → p-ec1d2e0a.entry.js} +1 -1
- package/lib/duet/p-edcdf0b7.entry.js +4 -0
- package/lib/duet/{p-e08dce92.entry.js → p-ee369233.entry.js} +1 -1
- package/lib/duet/{p-8012c7bc.entry.js → p-f297f8f2.entry.js} +1 -1
- package/lib/duet/{p-c54be349.entry.js → p-f30c3cfe.entry.js} +1 -1
- package/lib/duet/{p-a5177d32.entry.js → p-f4538e9d.entry.js} +1 -1
- package/lib/duet/{p-c216e746.entry.js → p-f4de7ac0.entry.js} +1 -1
- package/lib/duet/{p-4b7f1244.entry.js → p-f8d640ba.entry.js} +1 -1
- package/lib/duet/{p-2dd7d75e.entry.js → p-f9db8670.entry.js} +1 -1
- package/lib/duet/p-fc1a18f8.entry.js +4 -0
- package/lib/duet/{p-d779fe42.entry.js → p-fc2be136.entry.js} +1 -1
- package/lib/duet/p-fdc4a97c.entry.js +4 -0
- package/lib/duet/p-kkZE1C6Z.js +4 -0
- package/lib/esm/{a11y-utils-ChN5Nhxh.js → a11y-utils--wwGTL0T.js} +1 -1
- package/lib/esm/{app-globals-4kCk2rkO.js → app-globals-Diuuep9d.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +6 -6
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +7 -7
- package/lib/esm/duet-banner.entry.js +15 -16
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +8 -8
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +22 -11
- 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 +28 -12
- package/lib/esm/duet-choice_2.entry.js +7 -7
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +6 -6
- package/lib/esm/duet-contact-card.entry.js +17 -7
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +127 -14
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +15 -15
- 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 +5 -5
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +7 -7
- package/lib/esm/duet-hero.entry.js +22 -21
- package/lib/esm/duet-icon.entry.js +7 -7
- package/lib/esm/duet-indicator.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +70 -18
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
- 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 +6 -6
- package/lib/esm/duet-modal.entry.js +15 -15
- package/lib/esm/duet-multiselect.entry.js +11 -11
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +10 -10
- package/lib/esm/duet-number-input.entry.js +9 -9
- 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 +19 -19
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +11 -6
- package/lib/esm/duet-popup-menu_2.entry.js +10 -10
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +20 -8
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +8 -8
- package/lib/esm/duet-scrollable_3.entry.js +18 -18
- 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 +8 -8
- package/lib/esm/duet-show-more.entry.js +6 -6
- 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 +13 -13
- package/lib/esm/duet-slideout.entry.js +20 -14
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar.entry.js +7 -7
- package/lib/esm/duet-textarea.entry.js +8 -8
- package/lib/esm/duet-toggle.entry.js +9 -9
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
- 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 +7 -7
- 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-DuFCu_27.js → errorcodes.utils-S_WrUPeV.js} +1 -1
- package/lib/esm/{focus-utils-CFswdkeD.js → focus-utils-C4oaajGr.js} +1 -1
- package/lib/esm/{index-B2cboDWM.js → index-D3450NfA.js} +9 -9
- package/lib/esm/{keyboard-utils-Db8rvjPI.js → keyboard-utils-BaefVzkx.js} +2 -1
- package/lib/esm/{label-CJxIWUOT.js → label-C1HF2o4Y.js} +1 -1
- package/lib/esm/{language-utils-C4M4ASkT.js → language-utils-D4WVl8Ph.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/picture-utils-MSeJTkDk.js +13 -0
- package/lib/esm/{slot-utils--sNK1DNn.js → slot-utils-Dxcjtmp3.js} +1 -1
- package/lib/esm/{themeable-component-BBi3552X.js → themeable-component-QHdUfcat.js} +1 -1
- package/lib/esm/{token-utils-B0KAgyj_.js → token-utils-BILzD7LX.js} +1 -1
- package/lib/esm/{tokens.module-DEzE2U5T.js → tokens.module-kkZE1C6Z.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +5 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-card/duet-card.d.ts +5 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +15 -8
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
- package/lib/types/components/duet-date-picker/date-picker-month.d.ts +3 -0
- package/lib/types/components/duet-date-picker/date-utils.d.ts +4 -0
- package/lib/types/components/duet-date-picker/disallowed-days.d.ts +9 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +14 -0
- package/lib/types/components/duet-date-picker/finnish-bank-holidays.d.ts +11 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
- package/lib/types/components/duet-input/duet-input.d.ts +11 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +5 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +6 -0
- package/lib/types/components.d.ts +104 -12
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/package.json +5 -5
- package/lib/duet/p-0c04f9f5.entry.js +0 -4
- package/lib/duet/p-18a8ea12.entry.js +0 -4
- package/lib/duet/p-1bca9931.entry.js +0 -4
- package/lib/duet/p-3f3c6e64.entry.js +0 -4
- package/lib/duet/p-4af6a8ed.entry.js +0 -4
- package/lib/duet/p-5284c707.entry.js +0 -4
- package/lib/duet/p-5c9f443c.entry.js +0 -4
- package/lib/duet/p-5lFzA17H.js +0 -4
- package/lib/duet/p-6b469225.entry.js +0 -4
- package/lib/duet/p-7294c37d.entry.js +0 -4
- package/lib/duet/p-72b504ef.entry.js +0 -4
- package/lib/duet/p-74aac967.entry.js +0 -4
- package/lib/duet/p-7c08fd87.entry.js +0 -4
- package/lib/duet/p-83238bf3.entry.js +0 -4
- package/lib/duet/p-86ffd3cb.entry.js +0 -4
- package/lib/duet/p-871620d3.entry.js +0 -4
- package/lib/duet/p-9c9811ba.entry.js +0 -4
- package/lib/duet/p-B2cboDWM.js +0 -5
- package/lib/duet/p-B8-N_qjs.js +0 -4
- package/lib/duet/p-Cg4m_WHe.js +0 -4
- package/lib/duet/p-DEzE2U5T.js +0 -4
- package/lib/duet/p-Db8rvjPI.js +0 -4
- package/lib/duet/p-d5f90dbc.entry.js +0 -4
- package/lib/duet/p-fa13ffe9.entry.js +0 -4
- package/lib/duet/p-s8EL6NG5.js +0 -4
|
@@ -221,7 +221,7 @@ export class DuetFooter {
|
|
|
221
221
|
"references": {
|
|
222
222
|
"DuetFooterVariation": {
|
|
223
223
|
"location": "local",
|
|
224
|
-
"path": "/Users/
|
|
224
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
225
225
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterVariation"
|
|
226
226
|
}
|
|
227
227
|
}
|
|
@@ -453,7 +453,7 @@ export class DuetFooter {
|
|
|
453
453
|
"references": {
|
|
454
454
|
"DuetFooterChangeEvent": {
|
|
455
455
|
"location": "local",
|
|
456
|
-
"path": "/Users/
|
|
456
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
457
457
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterChangeEvent"
|
|
458
458
|
}
|
|
459
459
|
}
|
|
@@ -474,7 +474,7 @@ export class DuetFooter {
|
|
|
474
474
|
"references": {
|
|
475
475
|
"DuetFooterChangeEvent": {
|
|
476
476
|
"location": "local",
|
|
477
|
-
"path": "/Users/
|
|
477
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
478
478
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterChangeEvent"
|
|
479
479
|
}
|
|
480
480
|
}
|
|
@@ -495,7 +495,7 @@ export class DuetFooter {
|
|
|
495
495
|
"references": {
|
|
496
496
|
"DuetFooterChangeEvent": {
|
|
497
497
|
"location": "local",
|
|
498
|
-
"path": "/Users/
|
|
498
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
499
499
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterChangeEvent"
|
|
500
500
|
}
|
|
501
501
|
}
|
|
@@ -516,7 +516,7 @@ export class DuetFooter {
|
|
|
516
516
|
"references": {
|
|
517
517
|
"DuetFooterChangeEvent": {
|
|
518
518
|
"location": "local",
|
|
519
|
-
"path": "/Users/
|
|
519
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
520
520
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterChangeEvent"
|
|
521
521
|
}
|
|
522
522
|
}
|
|
@@ -537,7 +537,7 @@ export class DuetFooter {
|
|
|
537
537
|
"references": {
|
|
538
538
|
"DuetFooterAnalyticsEvent": {
|
|
539
539
|
"location": "local",
|
|
540
|
-
"path": "/Users/
|
|
540
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
541
541
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterAnalyticsEvent"
|
|
542
542
|
}
|
|
543
543
|
}
|
|
@@ -558,7 +558,7 @@ export class DuetFooter {
|
|
|
558
558
|
"references": {
|
|
559
559
|
"DuetFooterChangeEvent": {
|
|
560
560
|
"location": "local",
|
|
561
|
-
"path": "/Users/
|
|
561
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-footer/duet-footer.tsx",
|
|
562
562
|
"id": "src/components/duet-footer/duet-footer.tsx::DuetFooterChangeEvent"
|
|
563
563
|
}
|
|
564
564
|
}
|
|
@@ -355,7 +355,7 @@ export class DuetGrid {
|
|
|
355
355
|
"references": {
|
|
356
356
|
"DuetGridAlignment": {
|
|
357
357
|
"location": "local",
|
|
358
|
-
"path": "/Users/
|
|
358
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-grid/duet-grid.tsx",
|
|
359
359
|
"id": "src/components/duet-grid/duet-grid.tsx::DuetGridAlignment"
|
|
360
360
|
}
|
|
361
361
|
}
|
|
@@ -381,7 +381,7 @@ export class DuetGrid {
|
|
|
381
381
|
"references": {
|
|
382
382
|
"DuetGridDistribution": {
|
|
383
383
|
"location": "local",
|
|
384
|
-
"path": "/Users/
|
|
384
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-grid/duet-grid.tsx",
|
|
385
385
|
"id": "src/components/duet-grid/duet-grid.tsx::DuetGridDistribution"
|
|
386
386
|
}
|
|
387
387
|
}
|
|
@@ -407,7 +407,7 @@ export class DuetGrid {
|
|
|
407
407
|
"references": {
|
|
408
408
|
"DuetGridMobileAlignment": {
|
|
409
409
|
"location": "local",
|
|
410
|
-
"path": "/Users/
|
|
410
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-grid/duet-grid.tsx",
|
|
411
411
|
"id": "src/components/duet-grid/duet-grid.tsx::DuetGridMobileAlignment"
|
|
412
412
|
}
|
|
413
413
|
}
|
|
@@ -53,7 +53,7 @@ export class DuetGridItem {
|
|
|
53
53
|
* Always the last one in the class.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'df12b3cc2925272599581a0a6c922364a9ddbc83', style: {
|
|
57
57
|
"min-width": this.minWidth,
|
|
58
58
|
"max-width": this.maxWidth,
|
|
59
59
|
}, class: {
|
|
@@ -70,7 +70,7 @@ export class DuetGridItem {
|
|
|
70
70
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
71
71
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
72
72
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
73
|
-
} }, h("slot", { key: '
|
|
73
|
+
} }, h("slot", { key: 'beb1eff26b3dd81aab53500be3b2f5274c099c9d' })));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "duet-grid-item"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -705,7 +705,7 @@ export class DuetHeader {
|
|
|
705
705
|
},
|
|
706
706
|
"I18nText": {
|
|
707
707
|
"location": "local",
|
|
708
|
-
"path": "/Users/
|
|
708
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
709
709
|
"id": "src/components/duet-header/duet-header.tsx::I18nText"
|
|
710
710
|
}
|
|
711
711
|
}
|
|
@@ -734,7 +734,7 @@ export class DuetHeader {
|
|
|
734
734
|
"references": {
|
|
735
735
|
"I18nText": {
|
|
736
736
|
"location": "local",
|
|
737
|
-
"path": "/Users/
|
|
737
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
738
738
|
"id": "src/components/duet-header/duet-header.tsx::I18nText"
|
|
739
739
|
}
|
|
740
740
|
}
|
|
@@ -1127,7 +1127,7 @@ export class DuetHeader {
|
|
|
1127
1127
|
"references": {
|
|
1128
1128
|
"DuetHeaderChangeEvent": {
|
|
1129
1129
|
"location": "local",
|
|
1130
|
-
"path": "/Users/
|
|
1130
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1131
1131
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
@@ -1148,7 +1148,7 @@ export class DuetHeader {
|
|
|
1148
1148
|
"references": {
|
|
1149
1149
|
"DuetHeaderChangeEvent": {
|
|
1150
1150
|
"location": "local",
|
|
1151
|
-
"path": "/Users/
|
|
1151
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1152
1152
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
@@ -1169,7 +1169,7 @@ export class DuetHeader {
|
|
|
1169
1169
|
"references": {
|
|
1170
1170
|
"DuetHeaderChangeEvent": {
|
|
1171
1171
|
"location": "local",
|
|
1172
|
-
"path": "/Users/
|
|
1172
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1173
1173
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
@@ -1190,7 +1190,7 @@ export class DuetHeader {
|
|
|
1190
1190
|
"references": {
|
|
1191
1191
|
"DuetHeaderChangeEvent": {
|
|
1192
1192
|
"location": "local",
|
|
1193
|
-
"path": "/Users/
|
|
1193
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1194
1194
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
@@ -1211,7 +1211,7 @@ export class DuetHeader {
|
|
|
1211
1211
|
"references": {
|
|
1212
1212
|
"DuetHeaderChangeEvent": {
|
|
1213
1213
|
"location": "local",
|
|
1214
|
-
"path": "/Users/
|
|
1214
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1215
1215
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
@@ -1232,7 +1232,7 @@ export class DuetHeader {
|
|
|
1232
1232
|
"references": {
|
|
1233
1233
|
"DuetHeaderChangeEvent": {
|
|
1234
1234
|
"location": "local",
|
|
1235
|
-
"path": "/Users/
|
|
1235
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1236
1236
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
@@ -1253,7 +1253,7 @@ export class DuetHeader {
|
|
|
1253
1253
|
"references": {
|
|
1254
1254
|
"DuetHeaderChangeEvent": {
|
|
1255
1255
|
"location": "local",
|
|
1256
|
-
"path": "/Users/
|
|
1256
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1257
1257
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
@@ -1274,7 +1274,7 @@ export class DuetHeader {
|
|
|
1274
1274
|
"references": {
|
|
1275
1275
|
"DuetHeaderChangeEvent": {
|
|
1276
1276
|
"location": "local",
|
|
1277
|
-
"path": "/Users/
|
|
1277
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1278
1278
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
@@ -1295,7 +1295,7 @@ export class DuetHeader {
|
|
|
1295
1295
|
"references": {
|
|
1296
1296
|
"DuetHeaderChangeEvent": {
|
|
1297
1297
|
"location": "local",
|
|
1298
|
-
"path": "/Users/
|
|
1298
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1299
1299
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
@@ -1316,7 +1316,7 @@ export class DuetHeader {
|
|
|
1316
1316
|
"references": {
|
|
1317
1317
|
"DuetHeaderChangeEvent": {
|
|
1318
1318
|
"location": "local",
|
|
1319
|
-
"path": "/Users/
|
|
1319
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1320
1320
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
@@ -1337,7 +1337,7 @@ export class DuetHeader {
|
|
|
1337
1337
|
"references": {
|
|
1338
1338
|
"DuetHeaderAnalyticsEvent": {
|
|
1339
1339
|
"location": "local",
|
|
1340
|
-
"path": "/Users/
|
|
1340
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1341
1341
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderAnalyticsEvent"
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
@@ -1358,7 +1358,7 @@ export class DuetHeader {
|
|
|
1358
1358
|
"references": {
|
|
1359
1359
|
"DuetHeaderMobileNavToggleEvent": {
|
|
1360
1360
|
"location": "local",
|
|
1361
|
-
"path": "/Users/
|
|
1361
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1362
1362
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderMobileNavToggleEvent"
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
@@ -1379,7 +1379,7 @@ export class DuetHeader {
|
|
|
1379
1379
|
"references": {
|
|
1380
1380
|
"DuetHeaderChangeEvent": {
|
|
1381
1381
|
"location": "local",
|
|
1382
|
-
"path": "/Users/
|
|
1382
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-header/duet-header.tsx",
|
|
1383
1383
|
"id": "src/components/duet-header/duet-header.tsx::DuetHeaderChangeEvent"
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
@@ -192,7 +192,7 @@ export class DuetHeading {
|
|
|
192
192
|
"references": {
|
|
193
193
|
"DuetHeadingWeight": {
|
|
194
194
|
"location": "local",
|
|
195
|
-
"path": "/Users/
|
|
195
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-heading/duet-heading.tsx",
|
|
196
196
|
"id": "src/components/duet-heading/duet-heading.tsx::DuetHeadingWeight"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -149,7 +149,17 @@
|
|
|
149
149
|
height: 220px;
|
|
150
150
|
margin: 0 auto;
|
|
151
151
|
}
|
|
152
|
+
.duet-hero.duet-hero-campaign .background picture, .duet-hero.duet-hero-section .background picture {
|
|
153
|
+
display: block;
|
|
154
|
+
height: 100%;
|
|
155
|
+
}
|
|
156
|
+
@media (min-width: 1440px) {
|
|
157
|
+
.duet-hero.duet-hero-campaign .background picture, .duet-hero.duet-hero-section .background picture {
|
|
158
|
+
height: auto;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
152
161
|
.duet-hero.duet-hero-campaign .background img, .duet-hero.duet-hero-section .background img {
|
|
162
|
+
display: block;
|
|
153
163
|
height: 100%;
|
|
154
164
|
}
|
|
155
165
|
.duet-hero.duet-hero-campaign .background img.cover, .duet-hero.duet-hero-section .background img.cover {
|
|
@@ -607,11 +617,19 @@
|
|
|
607
617
|
z-index: 1;
|
|
608
618
|
width: 600px;
|
|
609
619
|
height: 256px;
|
|
610
|
-
background-repeat: no-repeat;
|
|
611
|
-
background-position: 40px;
|
|
612
|
-
background-size: 100%;
|
|
613
620
|
transform: rotate(-7deg) translate(-50%, 0);
|
|
614
621
|
}
|
|
622
|
+
.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg picture {
|
|
623
|
+
display: block;
|
|
624
|
+
}
|
|
625
|
+
.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg img {
|
|
626
|
+
position: absolute;
|
|
627
|
+
top: 50%;
|
|
628
|
+
left: 40px;
|
|
629
|
+
width: 100%;
|
|
630
|
+
height: auto;
|
|
631
|
+
transform: translateY(-50%);
|
|
632
|
+
}
|
|
615
633
|
@media (max-width: 35.9375em) {
|
|
616
634
|
.duet-hero.duet-hero-product .background .brand-shaped-image .brand-shaped-image-bg {
|
|
617
635
|
width: 520px;
|
|
@@ -1079,10 +1097,18 @@
|
|
|
1079
1097
|
z-index: 1;
|
|
1080
1098
|
width: 600px;
|
|
1081
1099
|
height: 256px;
|
|
1082
|
-
background-repeat: no-repeat;
|
|
1083
|
-
background-size: 100%;
|
|
1084
1100
|
transform: rotate(-7deg) translate(-50%, 0);
|
|
1085
1101
|
}
|
|
1102
|
+
.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-bg picture {
|
|
1103
|
+
display: block;
|
|
1104
|
+
}
|
|
1105
|
+
.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-bg img {
|
|
1106
|
+
position: absolute;
|
|
1107
|
+
top: 0;
|
|
1108
|
+
left: 0;
|
|
1109
|
+
width: 100%;
|
|
1110
|
+
height: auto;
|
|
1111
|
+
}
|
|
1086
1112
|
@media (min-width: 48em) {
|
|
1087
1113
|
.duet-hero.duet-hero-content .background .brand-shaped-image .brand-shaped-image-bg {
|
|
1088
1114
|
width: 733px;
|
|
@@ -1243,14 +1269,32 @@
|
|
|
1243
1269
|
}
|
|
1244
1270
|
|
|
1245
1271
|
.duet-hero:not(.duet-hero-with-image) .duet-hero-image {
|
|
1272
|
+
position: relative;
|
|
1246
1273
|
width: 100%;
|
|
1247
1274
|
max-width: 400px;
|
|
1248
1275
|
height: 0;
|
|
1249
1276
|
padding-bottom: 50%;
|
|
1250
1277
|
margin: 28px auto 0;
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1278
|
+
}
|
|
1279
|
+
.duet-hero:not(.duet-hero-with-image) .duet-hero-image picture {
|
|
1280
|
+
display: block;
|
|
1281
|
+
}
|
|
1282
|
+
.duet-hero:not(.duet-hero-with-image) .duet-hero-image img {
|
|
1283
|
+
position: absolute;
|
|
1284
|
+
top: 0;
|
|
1285
|
+
right: 0;
|
|
1286
|
+
bottom: 0;
|
|
1287
|
+
left: 0;
|
|
1288
|
+
width: 100%;
|
|
1289
|
+
height: 100%;
|
|
1290
|
+
object-fit: contain;
|
|
1291
|
+
object-position: 50% 50%;
|
|
1292
|
+
}
|
|
1293
|
+
.duet-hero:not(.duet-hero-with-image) .duet-hero-image img.cover {
|
|
1294
|
+
object-fit: cover;
|
|
1295
|
+
}
|
|
1296
|
+
.duet-hero:not(.duet-hero-with-image) .duet-hero-image img.center {
|
|
1297
|
+
object-position: center;
|
|
1254
1298
|
}
|
|
1255
1299
|
@media (min-width: 36em) {
|
|
1256
1300
|
.duet-hero:not(.duet-hero-with-image) .duet-hero-image {
|
|
@@ -1339,11 +1383,22 @@
|
|
|
1339
1383
|
left: -5%;
|
|
1340
1384
|
width: 110%;
|
|
1341
1385
|
height: 110%;
|
|
1342
|
-
background-repeat: no-repeat;
|
|
1343
|
-
background-position: 50% 50%;
|
|
1344
|
-
background-size: cover;
|
|
1345
1386
|
transform: rotate(-10deg);
|
|
1346
1387
|
}
|
|
1388
|
+
.duet-hero-image-wrapper .duet-hero-image picture {
|
|
1389
|
+
display: block;
|
|
1390
|
+
}
|
|
1391
|
+
.duet-hero-image-wrapper .duet-hero-image img {
|
|
1392
|
+
position: absolute;
|
|
1393
|
+
top: 0;
|
|
1394
|
+
right: 0;
|
|
1395
|
+
bottom: 0;
|
|
1396
|
+
left: 0;
|
|
1397
|
+
width: 100%;
|
|
1398
|
+
height: 100%;
|
|
1399
|
+
object-fit: cover;
|
|
1400
|
+
object-position: 50% 50%;
|
|
1401
|
+
}
|
|
1347
1402
|
|
|
1348
1403
|
.duet-hero-image-mask {
|
|
1349
1404
|
position: relative;
|
|
@@ -1778,10 +1833,22 @@ duet-heading + duet-button {
|
|
|
1778
1833
|
position: static;
|
|
1779
1834
|
width: 100%;
|
|
1780
1835
|
height: 100%;
|
|
1781
|
-
background-position: 0;
|
|
1782
|
-
background-size: cover;
|
|
1783
1836
|
transform: none;
|
|
1784
1837
|
}
|
|
1838
|
+
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg picture,
|
|
1839
|
+
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg picture {
|
|
1840
|
+
display: block;
|
|
1841
|
+
width: 100%;
|
|
1842
|
+
height: 100%;
|
|
1843
|
+
}
|
|
1844
|
+
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg img,
|
|
1845
|
+
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg img {
|
|
1846
|
+
position: static;
|
|
1847
|
+
width: 100%;
|
|
1848
|
+
height: 100%;
|
|
1849
|
+
object-fit: cover;
|
|
1850
|
+
object-position: 0 50%;
|
|
1851
|
+
}
|
|
1785
1852
|
@media (min-width: 48em) {
|
|
1786
1853
|
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.narrow .background .brand-shaped-image,
|
|
1787
1854
|
.duet-hero.duet-hero-product.duet-theme-turva .background-area .background-container.fluid .background .brand-shaped-image {
|
|
@@ -1959,9 +2026,20 @@ duet-heading + duet-button {
|
|
|
1959
2026
|
width: 100%;
|
|
1960
2027
|
height: auto;
|
|
1961
2028
|
aspect-ratio: 5/2;
|
|
1962
|
-
background-size: cover;
|
|
1963
2029
|
transform: none;
|
|
1964
2030
|
}
|
|
2031
|
+
.duet-hero.duet-hero-content.duet-theme-turva .background-area .background .brand-shaped-image .brand-shaped-image-bg picture {
|
|
2032
|
+
display: block;
|
|
2033
|
+
width: 100%;
|
|
2034
|
+
height: 100%;
|
|
2035
|
+
}
|
|
2036
|
+
.duet-hero.duet-hero-content.duet-theme-turva .background-area .background .brand-shaped-image .brand-shaped-image-bg img {
|
|
2037
|
+
position: static;
|
|
2038
|
+
width: 100%;
|
|
2039
|
+
height: 100%;
|
|
2040
|
+
object-fit: cover;
|
|
2041
|
+
object-position: 50% 50%;
|
|
2042
|
+
}
|
|
1965
2043
|
.duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image {
|
|
1966
2044
|
border-radius: 12px;
|
|
1967
2045
|
mask-image: none;
|
|
@@ -6,6 +6,7 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
import { DuetPicture } from "../../utils/picture-utils";
|
|
9
10
|
import { checkNamedSlotElement, getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
|
|
10
11
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
11
12
|
/**
|
|
@@ -237,17 +238,17 @@ export class DuetHero {
|
|
|
237
238
|
const campaignOrSection = this.variation === "campaign" || this.variation === "section";
|
|
238
239
|
const imageSizeIsCover = this.imageSize === "cover";
|
|
239
240
|
const imagePositionIsCenter = this.imagePosition === "center";
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
role: "
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
241
|
+
const imageClass = `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`.trim();
|
|
242
|
+
const getPictureSource = (className) => ({
|
|
243
|
+
img: {
|
|
244
|
+
src: this.image,
|
|
245
|
+
alt: this.imageAlt || "",
|
|
246
|
+
loading: "lazy",
|
|
247
|
+
class: className || "",
|
|
248
|
+
role: this.imageAlt ? undefined : "presentation",
|
|
249
|
+
},
|
|
250
|
+
sources: parsePossibleJSON(this.sources),
|
|
251
|
+
});
|
|
251
252
|
const buttonStyles = {
|
|
252
253
|
transform: "translateX(-8px)",
|
|
253
254
|
};
|
|
@@ -284,7 +285,7 @@ export class DuetHero {
|
|
|
284
285
|
outlineColor = "color-primary-turva";
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
|
-
return (h("div", { key: '
|
|
288
|
+
return (h("div", { key: 'ff8e73f82eb8aad28667e16e49d362f57fcd3b74', role: "region", class: {
|
|
288
289
|
"duet-hero": true,
|
|
289
290
|
"duet-theme-turva": this.theme === "turva",
|
|
290
291
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -302,17 +303,17 @@ export class DuetHero {
|
|
|
302
303
|
"duet-hero-text-center": this.variation !== "product" && ((this.textCenter && !this.leftAlign) || campaignOrSection),
|
|
303
304
|
"duet-hero-left-align": this.variation === "product" || (this.leftAlign && !campaignOrSection),
|
|
304
305
|
"duet-hero-narrow": this.layout === "narrow",
|
|
305
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '
|
|
306
|
-
this.processedBack && (h("div", { key: '
|
|
306
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '7c6eaf498e1c5f42601f4c77a59d04f4e11c3787', class: "background-area" }, h("div", { key: 'a1cac74e5f880d8d7dd2d8f2fde6a6989769cbe2', class: "background-container" }, h("div", { key: 'f7819b590a7d01d66cb3ec2daa6667cc6a066993', class: "background" }, h(DuetPicture, Object.assign({ key: '554157cf62913f6fcbead29527d23678e952ce9e' }, getPictureSource(imageClass)))), h("div", { key: 'cd6031dacba217d040ad59474be4af621a76e463', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '08bbfc431301d26e2dee3c4e5bf2437c6bbe8052', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '2458dfef535c7278b6b703001e66d9fedef43aac', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '57b5c3ddecbc91ef48071c8050eaaa82599d1822', class: { background: true, [this.layout]: true } }, h("div", { key: 'b84d8bb2ebcabf13dc9c258513423327021dbd83', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '1f899edfda9e0b827c28f83b286b8fde47a1079f', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '67b34ed24606ef237036bf322d644e993415bf8f', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '95e326d93e23f615c90b18c61e7a30e30c84ebb1', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: 'add5e271482d65053646ae3f6ff4c413a8e114c3', class: { "brand-shaped-image-bg": true, [this.layout]: true } }, h(DuetPicture, Object.assign({ key: '00d4e688381f2758688008ce19e872ede3452cbc' }, getPictureSource()))))), this.categoryIcon && (h("div", { key: 'a5651e24522d86a6b0d1d870a5d700fad9db74ba', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '0b35409d56e5842de0100f52e54f99561e777404', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '0fa8f2031fe9a05cbfae9f1df5b73afbe156e840', class: "background-area" }, h("div", { key: '2fb9fe1b29056b9e257f8e8079f2872c2ae4ef93', class: "background" }, h("div", { key: 'd4d20034ae7773baf2fdd1551b83711cc2b0b781', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '5ccc852b8b469c952800bac5c02489fc60ee8433', class: "brand-shape" }), h("div", { key: '73d5610a1e0ca8331908ce011976b86d62fbe60e', class: "brand-shaped-image" }, h("div", { key: '84079f98df920d86c3f6257f97d470ff1ff10d2b', class: "brand-shaped-image-wrapper" }, h("div", { key: 'a5d34d656f4d4f208d6dda010fb9c2236559d1e0', class: "brand-shaped-image-bg" }, h(DuetPicture, Object.assign({ key: '900a632f43c338d491fa7bd2104b51c27b9ec814' }, getPictureSource())))))))), h("div", { key: '62a03b483feb3ed3639d3754515456b058161877', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'ba372654336abc15cfa19bf95e32eb2c629bacfc', class: "duet-hero-image-mask" }, h("div", { key: '258446935eb244a6cef5559d64bc3c486bf46643', class: "duet-hero-image-wrapper" }, h("div", { key: '726d6c0f7fd9915f813b5f7e57a9fd093a7640d2', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: 'e1a272326833f3eea3209265b7c17d4f581812dc' }, getPictureSource(imageClass))))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
307
|
+
this.processedBack && (h("div", { key: 'bed23c4fdf4e2c6869bd519aaefe2fb95231eb76', class: "duet-hero-back" }, h("duet-button", { key: 'efa5d21d8bd40aa5dcca5aec05b7ddb883898cbf', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
307
308
|
label: this.processedBack.label,
|
|
308
309
|
href: this.processedBack.href,
|
|
309
310
|
id: this.processedBack.id,
|
|
310
311
|
analyticsId: this.processedBack.analyticsId,
|
|
311
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '
|
|
312
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '7de90656859d63499f3b160c2a39619cd4a0a9db', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '73b543bd71d7e1f2936a2753a255d1ac1339f99c', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: 'd0150811990feac24531dc5e173a93ec3a482418', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: '041cf2cfcba43317f1e0041d40b00bfd68bb6202', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '7f662d3f98757953d04cb29640a7284e7ddcb64b', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '1c02aada316e7b8f8699b79d1128476cdde75ae6', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '34c786a2833cbeb54018fa83b543ab7c55ecd5ff', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '28a82b3619a9418271f1dd4f25d10366fde9f753', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '4508f7e305d64e5bf7b39f5340efe8b2ab9d12be', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '3fb36dbf926c3331c6d757bc32208f26424f7e9c', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '85fd506d92b185ddbb57c134298164422a6c682d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '9230b5c71616b04e276724e18592d946f7e4ad5d', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
312
313
|
this.variation !== "image" &&
|
|
313
314
|
!campaignOrSection &&
|
|
314
315
|
this.variation !== "product" &&
|
|
315
|
-
this.variation !== "content" && h("div",
|
|
316
|
+
this.variation !== "content" && (h("div", { key: 'cfe495f2a5bedb9bd622b3a001533a299477f12d', class: "duet-hero-image" }, h(DuetPicture, Object.assign({ key: '26f3df199d16a059b273c5e8dc568c71ac637d05' }, getPictureSource(imageClass))))), h("slot", { key: 'f8680df361205e9c4f2868f71022e736097002b1', name: "bottom" }))));
|
|
316
317
|
}
|
|
317
318
|
static get is() { return "duet-hero"; }
|
|
318
319
|
static get encapsulation() { return "shadow"; }
|
|
@@ -502,7 +503,7 @@ export class DuetHero {
|
|
|
502
503
|
"references": {
|
|
503
504
|
"DuetHeroIconSize": {
|
|
504
505
|
"location": "local",
|
|
505
|
-
"path": "/Users/
|
|
506
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-hero/duet-hero.tsx",
|
|
506
507
|
"id": "src/components/duet-hero/duet-hero.tsx::DuetHeroIconSize"
|
|
507
508
|
}
|
|
508
509
|
}
|
|
@@ -744,7 +745,7 @@ export class DuetHero {
|
|
|
744
745
|
"references": {
|
|
745
746
|
"DuetHeroButtonData": {
|
|
746
747
|
"location": "local",
|
|
747
|
-
"path": "/Users/
|
|
748
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-hero/duet-hero.tsx",
|
|
748
749
|
"id": "src/components/duet-hero/duet-hero.tsx::DuetHeroButtonData"
|
|
749
750
|
}
|
|
750
751
|
}
|
|
@@ -877,6 +878,31 @@ export class DuetHero {
|
|
|
877
878
|
"setter": false,
|
|
878
879
|
"reflect": false
|
|
879
880
|
},
|
|
881
|
+
"sources": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"attribute": "sources",
|
|
884
|
+
"mutable": false,
|
|
885
|
+
"complexType": {
|
|
886
|
+
"original": "DuetSource[] | string",
|
|
887
|
+
"resolved": "DuetSource[] | string",
|
|
888
|
+
"references": {
|
|
889
|
+
"DuetSource": {
|
|
890
|
+
"location": "import",
|
|
891
|
+
"path": "../../utils/picture-utils",
|
|
892
|
+
"id": "src/utils/picture-utils.tsx::DuetSource"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"required": false,
|
|
897
|
+
"optional": false,
|
|
898
|
+
"docs": {
|
|
899
|
+
"tags": [],
|
|
900
|
+
"text": "Array of sources for responsive images. Sources have the properties of <source> element."
|
|
901
|
+
},
|
|
902
|
+
"getter": false,
|
|
903
|
+
"setter": false,
|
|
904
|
+
"reflect": false
|
|
905
|
+
},
|
|
880
906
|
"variation": {
|
|
881
907
|
"type": "string",
|
|
882
908
|
"attribute": "variation",
|
|
@@ -887,7 +913,7 @@ export class DuetHero {
|
|
|
887
913
|
"references": {
|
|
888
914
|
"DuetHeroVariation": {
|
|
889
915
|
"location": "local",
|
|
890
|
-
"path": "/Users/
|
|
916
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-hero/duet-hero.tsx",
|
|
891
917
|
"id": "src/components/duet-hero/duet-hero.tsx::DuetHeroVariation"
|
|
892
918
|
}
|
|
893
919
|
}
|
|
@@ -1006,7 +1032,7 @@ export class DuetHero {
|
|
|
1006
1032
|
"references": {
|
|
1007
1033
|
"DuetHeroClickEvent": {
|
|
1008
1034
|
"location": "local",
|
|
1009
|
-
"path": "/Users/
|
|
1035
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-hero/duet-hero.tsx",
|
|
1010
1036
|
"id": "src/components/duet-hero/duet-hero.tsx::DuetHeroClickEvent"
|
|
1011
1037
|
}
|
|
1012
1038
|
}
|
|
@@ -1027,7 +1053,7 @@ export class DuetHero {
|
|
|
1027
1053
|
"references": {
|
|
1028
1054
|
"DuetHeroAnalyticsEvent": {
|
|
1029
1055
|
"location": "local",
|
|
1030
|
-
"path": "/Users/
|
|
1056
|
+
"path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-hero/duet-hero.tsx",
|
|
1031
1057
|
"id": "src/components/duet-hero/duet-hero.tsx::DuetHeroAnalyticsEvent"
|
|
1032
1058
|
}
|
|
1033
1059
|
}
|