@duetds/components 8.6.3 → 8.6.5
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 +655 -651
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +2 -0
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +8 -5
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +17 -16
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -0
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{token-utils-4ff49a49.js → token-utils-2a219fda.js} +1 -1
- package/lib/cjs/{tokens-d270c810.js → tokens-851fb0c9.js} +376 -376
- package/lib/cjs/{tokens.module-2198b663.js → tokens.module-3e57c188.js} +250 -250
- package/lib/collection/components/duet-alert/duet-alert.js +16 -0
- package/lib/collection/components/duet-banner/duet-banner.css +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +23 -78
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +14 -15
- package/lib/collection/components/duet-footer/duet-footer.js +23 -25
- package/lib/collection/components/duet-modal/duet-modal.js +16 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +2 -2
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +3 -3
- package/lib/dist-custom-elements/duet-choice.js +1 -1
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +8 -8
- package/lib/dist-custom-elements/duet-contact-card.js +6 -6
- package/lib/dist-custom-elements/duet-cookie-consent.js +3 -3
- package/lib/dist-custom-elements/duet-date-picker.js +8 -8
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +5 -5
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +39 -20
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +6 -6
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +5 -5
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +6 -4
- package/lib/dist-custom-elements/duet-multiselect.js +4 -4
- package/lib/dist-custom-elements/duet-notification-drawer.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- package/lib/dist-custom-elements/duet-page-heading.js +1 -1
- package/lib/dist-custom-elements/duet-pagination.js +9 -9
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +3 -3
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-link.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +5 -5
- package/lib/dist-custom-elements/duet-toggle.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-item.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-link.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +2 -2
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +11 -11
- package/lib/dist-custom-elements/{p-08124065.js → p-01c62feb.js} +1 -1
- package/lib/dist-custom-elements/{p-bc9ebb36.js → p-18552e4e.js} +3 -3
- package/lib/dist-custom-elements/{p-baf3208f.js → p-1a8d1a11.js} +1 -1
- package/lib/dist-custom-elements/{p-4c6021d9.js → p-20b3fa1e.js} +3 -3
- package/lib/dist-custom-elements/{p-842a828e.js → p-27b6f57b.js} +1 -1
- package/lib/dist-custom-elements/{p-46074a1a.js → p-29926f8a.js} +2 -2
- package/lib/dist-custom-elements/{p-25c80cdb.js → p-3ec3eb5f.js} +1 -1
- package/lib/dist-custom-elements/{p-cefa037c.js → p-3f85f7b8.js} +6 -4
- package/lib/dist-custom-elements/{p-17ed32c8.js → p-4779e8e0.js} +1 -1
- package/lib/dist-custom-elements/{p-0f0e9944.js → p-5ac0e140.js} +5 -5
- package/lib/dist-custom-elements/{p-0c564379.js → p-67ef919e.js} +250 -250
- package/lib/dist-custom-elements/{p-e3d597b6.js → p-6ac13d84.js} +1 -1
- package/lib/dist-custom-elements/{p-8f03dae0.js → p-7b97ad08.js} +6 -6
- package/lib/dist-custom-elements/{p-a38a452e.js → p-82302a93.js} +3 -3
- package/lib/dist-custom-elements/{p-98d17606.js → p-9ca3437c.js} +1 -1
- package/lib/dist-custom-elements/{p-bb25377b.js → p-b29a25ab.js} +1 -1
- package/lib/dist-custom-elements/{p-63954651.js → p-b676c88c.js} +1 -1
- package/lib/dist-custom-elements/{p-f9a8d356.js → p-d5c03b61.js} +376 -376
- package/lib/dist-custom-elements/{p-a167e2a0.js → p-d72fa71c.js} +1 -1
- package/lib/dist-custom-elements/{p-71814469.js → p-d8932b2b.js} +4 -4
- package/lib/dist-custom-elements/{p-7b843aae.js → p-ecaba4be.js} +1 -1
- package/lib/dist-custom-elements/{p-531e8a71.js → p-ef51ec63.js} +1 -1
- package/lib/dist-custom-elements/{p-01b67752.js → p-f0225a59.js} +6 -3
- package/lib/dist-custom-elements/{p-bfcc033c.js → p-f40596e9.js} +2 -2
- package/lib/dist-custom-elements/{p-bb662681.js → p-f47e755d.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-1a7649e4.entry.js → p-01e99d98.entry.js} +1 -1
- package/lib/duet/{p-4e724a7d.entry.js → p-032e2711.entry.js} +1 -1
- package/lib/duet/{p-956fad95.system.entry.js → p-080d1309.system.entry.js} +1 -1
- package/lib/duet/{p-37802e1f.system.entry.js → p-0b7eacfc.system.entry.js} +1 -1
- package/lib/duet/{p-c586a2c4.system.entry.js → p-166ee660.system.entry.js} +1 -1
- package/lib/duet/{p-0bdcf67f.js → p-1784b1d2.js} +1 -1
- package/lib/duet/{p-a21391c0.system.entry.js → p-1ab80c29.system.entry.js} +1 -1
- package/lib/duet/{p-7f4b420c.system.entry.js → p-1bc74805.system.entry.js} +1 -1
- package/lib/duet/p-1dc6e751.system.entry.js +4 -0
- package/lib/duet/{p-4781cd58.entry.js → p-20914caa.entry.js} +1 -1
- package/lib/duet/{p-45bb3cd0.system.entry.js → p-2208faac.system.entry.js} +1 -1
- package/lib/duet/p-33e25171.system.entry.js +4 -0
- package/lib/duet/{p-999fff8d.system.entry.js → p-40a7a9b0.system.entry.js} +1 -1
- package/lib/duet/{p-76e54ff5.entry.js → p-413838af.entry.js} +1 -1
- package/lib/duet/{p-ebbecac7.system.entry.js → p-427eec46.system.entry.js} +1 -1
- package/lib/duet/{p-15c22a22.entry.js → p-4605197f.entry.js} +1 -1
- package/lib/duet/{p-2522cfc3.entry.js → p-49a25bf5.entry.js} +1 -1
- package/lib/duet/{p-8b4ab364.system.entry.js → p-49f79189.system.entry.js} +1 -1
- package/lib/duet/p-4a901bfc.js +4 -0
- package/lib/duet/{p-8fb1d27a.system.entry.js → p-51adcace.system.entry.js} +1 -1
- package/lib/duet/p-584ab25c.entry.js +4 -0
- package/lib/duet/{p-afe7d680.entry.js → p-5dd177d8.entry.js} +1 -1
- package/lib/duet/{p-07ac7f3e.system.entry.js → p-60f12cac.system.entry.js} +1 -1
- package/lib/duet/p-6151635f.system.js +1 -1
- package/lib/duet/p-622f89ff.entry.js +4 -0
- package/lib/duet/{p-ad9b7b51.entry.js → p-6623f965.entry.js} +1 -1
- package/lib/duet/{p-9e75e5d8.system.entry.js → p-690a8348.system.entry.js} +1 -1
- package/lib/duet/{p-73cd3afd.entry.js → p-6a1bd4d9.entry.js} +1 -1
- package/lib/duet/{p-3851808f.system.entry.js → p-6e3a7d3f.system.entry.js} +1 -1
- package/lib/duet/{p-6c9cfb6d.entry.js → p-6f24a09e.entry.js} +1 -1
- package/lib/duet/{p-eafed149.system.entry.js → p-76a419f1.system.entry.js} +1 -1
- package/lib/duet/{p-eceeb9fd.entry.js → p-787520f2.entry.js} +1 -1
- package/lib/duet/{p-c776e072.entry.js → p-7f7a7a71.entry.js} +1 -1
- package/lib/duet/{p-3302d75d.entry.js → p-805a3314.entry.js} +1 -1
- package/lib/duet/p-884dd3a0.entry.js +4 -0
- package/lib/duet/{p-a90f23ec.system.entry.js → p-907787c5.system.entry.js} +1 -1
- package/lib/duet/{p-b78c3e3e.entry.js → p-91677c21.entry.js} +1 -1
- package/lib/duet/{p-b02ca265.entry.js → p-9180b8be.entry.js} +1 -1
- package/lib/duet/{p-7a161455.entry.js → p-96ca57c0.entry.js} +1 -1
- package/lib/duet/{p-628ae8ba.entry.js → p-a5bb0b7f.entry.js} +1 -1
- package/lib/duet/{p-4de910bd.system.entry.js → p-b781e27f.system.entry.js} +1 -1
- package/lib/duet/{p-73e66b09.system.js → p-c1445714.system.js} +1 -1
- package/lib/duet/{p-7ca15c93.entry.js → p-c2c2e797.entry.js} +1 -1
- package/lib/duet/{p-a659cdb5.system.entry.js → p-c30b6ad6.system.entry.js} +1 -1
- package/lib/duet/{p-38f9c1e3.entry.js → p-c493cd2e.entry.js} +1 -1
- package/lib/duet/p-c51d6fb5.system.js +4 -0
- package/lib/duet/p-c86d6786.system.js +4 -0
- package/lib/duet/{p-c68602c9.system.entry.js → p-ce01f793.system.entry.js} +1 -1
- package/lib/duet/{p-e640a515.system.entry.js → p-ce6892d9.system.entry.js} +1 -1
- package/lib/duet/p-d067ebb8.entry.js +4 -0
- package/lib/duet/p-d5c03b61.js +4 -0
- package/lib/duet/{p-80ffc878.system.entry.js → p-da0e9110.system.entry.js} +1 -1
- package/lib/duet/{p-60bf137e.system.entry.js → p-e4595aa7.system.entry.js} +1 -1
- package/lib/duet/p-e4f6002c.system.entry.js +4 -0
- package/lib/duet/p-e7d32eaa.entry.js +4 -0
- package/lib/duet/{p-e411627f.entry.js → p-ee4075c2.entry.js} +1 -1
- package/lib/duet/{p-174ad02e.system.entry.js → p-f0209c14.system.entry.js} +1 -1
- package/lib/duet/{p-fa87de22.entry.js → p-f252a415.entry.js} +1 -1
- package/lib/duet/{p-9ac25886.system.entry.js → p-f52f44d6.system.entry.js} +1 -1
- package/lib/duet/{p-179881d0.system.entry.js → p-fa3801ea.system.entry.js} +1 -1
- package/lib/duet/{p-05a72320.entry.js → p-ff4969cc.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -0
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +6 -3
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +17 -16
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -0
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/esm/{tokens-5e02bbe0.js → tokens-a9d9d4dd.js} +376 -376
- package/lib/esm/{tokens.module-8dbafec7.js → tokens.module-ed0ed26f.js} +250 -250
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/esm-es5/tokens-a9d9d4dd.js +4 -0
- package/lib/esm-es5/tokens.module-ed0ed26f.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +4 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +5 -9
- package/lib/types/components/duet-modal/duet-modal.d.ts +4 -0
- package/lib/types/components.d.ts +12 -2
- package/package.json +3 -3
- package/lib/cjs/action-new-window-50c8aed0.js +0 -11
- package/lib/dist-custom-elements/p-8855e26a.js +0 -8
- package/lib/duet/p-00685523.entry.js +0 -4
- package/lib/duet/p-1c689a26.system.js +0 -4
- package/lib/duet/p-26dbd459.entry.js +0 -4
- package/lib/duet/p-2ae2e883.system.entry.js +0 -4
- package/lib/duet/p-30773d74.entry.js +0 -4
- package/lib/duet/p-5a8b2426.entry.js +0 -4
- package/lib/duet/p-67dc45d7.js +0 -4
- package/lib/duet/p-77a2e410.system.entry.js +0 -4
- package/lib/duet/p-8855e26a.js +0 -4
- package/lib/duet/p-9d0c2f7d.system.entry.js +0 -4
- package/lib/duet/p-a3afb1af.entry.js +0 -4
- package/lib/duet/p-a46b4450.system.js +0 -4
- package/lib/duet/p-b31d31d8.system.js +0 -4
- package/lib/duet/p-f9a8d356.js +0 -4
- package/lib/esm/action-new-window-9c8f7830.js +0 -8
- package/lib/esm-es5/action-new-window-9c8f7830.js +0 -4
- package/lib/esm-es5/tokens-5e02bbe0.js +0 -4
- package/lib/esm-es5/tokens.module-8dbafec7.js +0 -4
|
@@ -27,19 +27,21 @@
|
|
|
27
27
|
|
|
28
28
|
::slotted([slot=info]) {
|
|
29
29
|
padding: 0 28px;
|
|
30
|
-
margin-top:
|
|
30
|
+
margin-top: 0;
|
|
31
|
+
margin-bottom: 16px;
|
|
31
32
|
}
|
|
32
33
|
@media (min-width: 62em) {
|
|
33
34
|
::slotted([slot=info]) {
|
|
34
35
|
padding: 0;
|
|
35
|
-
margin: 0;
|
|
36
|
+
margin-top: calc(20px - 0.5em);
|
|
37
|
+
margin-bottom: 0;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
.duet-footer {
|
|
40
42
|
display: block;
|
|
41
43
|
width: 100%;
|
|
42
|
-
padding-top:
|
|
44
|
+
padding-top: 24px;
|
|
43
45
|
padding-bottom: 16px;
|
|
44
46
|
margin-top: 48px;
|
|
45
47
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -56,11 +58,6 @@
|
|
|
56
58
|
.duet-footer.duet-m-0 {
|
|
57
59
|
margin: 0 !important;
|
|
58
60
|
}
|
|
59
|
-
@media (min-width: 36em) {
|
|
60
|
-
.duet-footer {
|
|
61
|
-
padding-top: 36px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
61
|
@media (min-width: 62em) {
|
|
65
62
|
.duet-footer {
|
|
66
63
|
padding-top: 48px;
|
|
@@ -115,36 +112,43 @@
|
|
|
115
112
|
display: flex;
|
|
116
113
|
flex-direction: row;
|
|
117
114
|
align-items: center;
|
|
118
|
-
|
|
115
|
+
}
|
|
116
|
+
.duet-footer-top.duet-has-info {
|
|
117
|
+
align-items: flex-start;
|
|
119
118
|
}
|
|
120
119
|
}
|
|
121
120
|
.duet-footer-top .footer-top-logo {
|
|
122
121
|
flex-grow: 1;
|
|
123
122
|
}
|
|
124
123
|
.duet-footer-top .footer-top-right-container {
|
|
125
|
-
flex-grow: 1
|
|
124
|
+
flex-grow: 1;
|
|
125
|
+
}
|
|
126
|
+
@media (min-width: 62em) {
|
|
127
|
+
.duet-footer-top .footer-top-right-container {
|
|
128
|
+
text-align: right;
|
|
129
|
+
}
|
|
126
130
|
}
|
|
127
131
|
.duet-footer-top .footer-top-items {
|
|
128
132
|
display: flex;
|
|
129
133
|
flex-direction: column;
|
|
130
|
-
|
|
134
|
+
align-items: flex-start;
|
|
135
|
+
justify-content: flex-start;
|
|
136
|
+
padding-left: 28px;
|
|
131
137
|
}
|
|
132
138
|
@media (min-width: 62em) {
|
|
133
139
|
.duet-footer-top .footer-top-items {
|
|
134
140
|
flex-direction: row;
|
|
141
|
+
justify-content: flex-end;
|
|
135
142
|
}
|
|
136
143
|
}
|
|
137
144
|
|
|
138
145
|
duet-logo {
|
|
146
|
+
margin-bottom: 24px;
|
|
139
147
|
margin-left: 16px !important;
|
|
140
148
|
}
|
|
141
|
-
@media (min-width: 36em) {
|
|
142
|
-
duet-logo {
|
|
143
|
-
margin-left: 28px !important;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
149
|
@media (min-width: 62em) {
|
|
147
150
|
duet-logo {
|
|
151
|
+
margin-bottom: 0;
|
|
148
152
|
margin-left: 0 !important;
|
|
149
153
|
}
|
|
150
154
|
}
|
|
@@ -199,71 +203,11 @@ duet-logo {
|
|
|
199
203
|
}
|
|
200
204
|
}
|
|
201
205
|
|
|
202
|
-
.duet-footer-icon {
|
|
203
|
-
display: flex;
|
|
204
|
-
align-items: center;
|
|
205
|
-
justify-content: center;
|
|
206
|
-
padding: 12px;
|
|
207
|
-
margin-right: 16px;
|
|
208
|
-
background: rgb(0, 119, 179);
|
|
209
|
-
border-radius: 50%;
|
|
210
|
-
transition: 300ms ease;
|
|
211
|
-
}
|
|
212
|
-
.duet-theme-turva .duet-footer-icon {
|
|
213
|
-
background: transparent;
|
|
214
|
-
box-shadow: 0 0 0 1px #fff;
|
|
215
|
-
}
|
|
216
|
-
a:hover .duet-footer-icon {
|
|
217
|
-
background: #006ba1;
|
|
218
|
-
}
|
|
219
|
-
.duet-theme-turva a:hover .duet-footer-icon {
|
|
220
|
-
background: transparent;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.duet-footer-arrow {
|
|
224
|
-
display: flex;
|
|
225
|
-
align-items: center;
|
|
226
|
-
justify-content: center;
|
|
227
|
-
width: 20px;
|
|
228
|
-
min-width: 20px;
|
|
229
|
-
max-width: 20px;
|
|
230
|
-
height: 20px;
|
|
231
|
-
max-height: 20px;
|
|
232
|
-
margin-left: auto;
|
|
233
|
-
color: rgb(255, 255, 255);
|
|
234
|
-
transition: transform 300ms ease;
|
|
235
|
-
}
|
|
236
|
-
@media (min-width: 62em) {
|
|
237
|
-
.duet-footer-arrow {
|
|
238
|
-
width: 10px;
|
|
239
|
-
min-width: 10px;
|
|
240
|
-
margin-top: 3px;
|
|
241
|
-
margin-left: 8px;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
@media (min-width: 62em) {
|
|
245
|
-
.duet-footer-arrow {
|
|
246
|
-
margin-right: 0;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
a:hover .duet-footer-arrow {
|
|
250
|
-
transform: translateX(4px);
|
|
251
|
-
}
|
|
252
|
-
.duet-footer-arrow duet-icon {
|
|
253
|
-
width: 20px;
|
|
254
|
-
height: 20px;
|
|
255
|
-
}
|
|
256
|
-
@media (min-width: 62em) {
|
|
257
|
-
.duet-footer-arrow duet-icon {
|
|
258
|
-
width: 10px;
|
|
259
|
-
height: 10px;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
206
|
.duet-footer-menu {
|
|
264
207
|
padding: 20px !important;
|
|
265
208
|
display: flex;
|
|
266
209
|
gap: 2rem;
|
|
210
|
+
padding-left: 28px !important;
|
|
267
211
|
font-size: 0.875rem;
|
|
268
212
|
}
|
|
269
213
|
@media (min-width: 36em) {
|
|
@@ -273,6 +217,7 @@ a:hover .duet-footer-arrow {
|
|
|
273
217
|
}
|
|
274
218
|
@media (min-width: 62em) {
|
|
275
219
|
.duet-footer-menu {
|
|
220
|
+
padding-right: 0 !important;
|
|
276
221
|
padding-left: 8px !important;
|
|
277
222
|
}
|
|
278
223
|
}
|
|
@@ -321,7 +266,7 @@ a:hover .duet-footer-arrow {
|
|
|
321
266
|
display: block;
|
|
322
267
|
padding-top: 0.5rem;
|
|
323
268
|
padding-bottom: 1.25rem;
|
|
324
|
-
padding-left:
|
|
269
|
+
padding-left: 28px;
|
|
325
270
|
text-align: left;
|
|
326
271
|
}
|
|
327
272
|
@media (min-width: 62em) {
|
|
@@ -35,9 +35,9 @@ describe("duet-footer", () => {
|
|
|
35
35
|
const page = await createPage(defaultFooter);
|
|
36
36
|
await page.$eval("duet-footer", (el) => {
|
|
37
37
|
el.items = [
|
|
38
|
-
{ label: "Hae korvausta", href: "#"
|
|
39
|
-
{ label: "Osta vakuutus", href: "#"
|
|
40
|
-
{ label: "Yhteystiedot", href: "#"
|
|
38
|
+
{ label: "Hae korvausta", href: "#" },
|
|
39
|
+
{ label: "Osta vakuutus", href: "#" },
|
|
40
|
+
{ label: "Yhteystiedot", href: "#" },
|
|
41
41
|
];
|
|
42
42
|
});
|
|
43
43
|
await page.waitForChanges();
|
|
@@ -66,19 +66,19 @@ describe("duet-footer", () => {
|
|
|
66
66
|
const page = await createPage(defaultFooter);
|
|
67
67
|
await page.$eval("duet-footer", (el) => {
|
|
68
68
|
el.items = [
|
|
69
|
-
{ label: "Hae korvausta", href: "#"
|
|
70
|
-
{ label: "Osta vakuutus", href: "#"
|
|
71
|
-
{ label: "Yhteystiedot", href: "#"
|
|
69
|
+
{ label: "Hae korvausta", href: "#" },
|
|
70
|
+
{ label: "Osta vakuutus", href: "#" },
|
|
71
|
+
{ label: "Yhteystiedot", href: "#" },
|
|
72
72
|
];
|
|
73
73
|
});
|
|
74
74
|
const element = await page.find("duet-footer");
|
|
75
75
|
// should be updated when setting the *attribute*
|
|
76
|
-
element.setAttribute("items", '[{ "label": "test", "href": "#"
|
|
76
|
+
element.setAttribute("items", '[{ "label": "test", "href": "#" }]');
|
|
77
77
|
await page.waitForChanges();
|
|
78
78
|
let test = await page.find("duet-footer >>> .duet-footer-link");
|
|
79
79
|
expect(test).toEqualText("test");
|
|
80
80
|
// should also be updated when setting the label *property*
|
|
81
|
-
element.setProperty("items", [{ label: "test 2", href: "#"
|
|
81
|
+
element.setProperty("items", [{ label: "test 2", href: "#" }]);
|
|
82
82
|
await page.waitForChanges();
|
|
83
83
|
test = await page.find("duet-footer >>> .duet-footer-link");
|
|
84
84
|
expect(test).toEqualText("test 2");
|
|
@@ -88,11 +88,11 @@ describe("duet-footer", () => {
|
|
|
88
88
|
let footer;
|
|
89
89
|
const props = {
|
|
90
90
|
items: [
|
|
91
|
-
{ label: "item 1", id: "item-1"
|
|
92
|
-
{ label: "item 2", id: "item-2"
|
|
91
|
+
{ label: "item 1", id: "item-1" },
|
|
92
|
+
{ label: "item 2", id: "item-2" },
|
|
93
93
|
],
|
|
94
94
|
menu: [{ label: "menu 1", id: "menu-1" }],
|
|
95
|
-
logoHref: "
|
|
95
|
+
logoHref: "./#logo",
|
|
96
96
|
};
|
|
97
97
|
beforeEach(async () => {
|
|
98
98
|
page = await createPage(defaultFooter);
|
|
@@ -102,8 +102,7 @@ describe("duet-footer", () => {
|
|
|
102
102
|
}, props);
|
|
103
103
|
await page.waitForChanges();
|
|
104
104
|
});
|
|
105
|
-
|
|
106
|
-
it.skip("raises events when logo is clicked", async () => {
|
|
105
|
+
it("raises events when logo is clicked", async () => {
|
|
107
106
|
const logo = await page.find("duet-footer >>> duet-logo");
|
|
108
107
|
const changeSpy = await footer.spyOnEvent("duetChange");
|
|
109
108
|
const logoSpy = await footer.spyOnEvent("duetLogoClick");
|
|
@@ -149,8 +148,8 @@ describe("duet-footer", () => {
|
|
|
149
148
|
page = await createPage(`
|
|
150
149
|
<duet-footer
|
|
151
150
|
items='[
|
|
152
|
-
{ "label": "item 1", "id": "item-1", "analyticsId": "item analytics"
|
|
153
|
-
{ "label": "item 2", "id": "item-2"
|
|
151
|
+
{ "label": "item 1", "id": "item-1", "analyticsId": "item analytics" } ,
|
|
152
|
+
{ "label": "item 2", "id": "item-2" }
|
|
154
153
|
]'
|
|
155
154
|
menu='[{ "label": "menu 1", "id": "menu-1", "analyticsId": "menu analytics"}]'
|
|
156
155
|
></duet-footer>
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import arrowRightIcon from "@duetds/icons/lib/assets/action-arrow-right";
|
|
5
|
-
import newWindowIcon from "@duetds/icons/lib/assets/action-new-window";
|
|
6
4
|
import newWindowIconSmall from "@duetds/icons/lib/assets/action-new-window-small";
|
|
7
|
-
import {
|
|
5
|
+
import { Fragment, h } from "@stencil/core";
|
|
8
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
9
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
10
8
|
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
11
9
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
10
|
+
import { hasSlot } from "../../utils/slot-utils";
|
|
12
11
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
13
12
|
const i18n = {
|
|
14
13
|
fi: { lahi: "© LähiTapiola", turva: "© Turva" },
|
|
@@ -82,9 +81,7 @@ export class DuetFooter {
|
|
|
82
81
|
componentWillLoad() {
|
|
83
82
|
inheritGlobalTheme(this);
|
|
84
83
|
this.refresh();
|
|
85
|
-
this.hasInfoSlot =
|
|
86
|
-
? Array.from(this.element.children).filter(el => el.matches("[slot='info']")).length > 0
|
|
87
|
-
: !!this.element.querySelector(":scope > [slot='info']");
|
|
84
|
+
this.hasInfoSlot = hasSlot(this.element, "info");
|
|
88
85
|
}
|
|
89
86
|
connectedCallback() {
|
|
90
87
|
connectLanguageChangeObserver(this, {
|
|
@@ -104,18 +101,6 @@ export class DuetFooter {
|
|
|
104
101
|
this.processedItems = parsePossibleJSON(this.items);
|
|
105
102
|
this.processedMenu = parsePossibleJSON(this.menu);
|
|
106
103
|
}
|
|
107
|
-
renderFooterTop() {
|
|
108
|
-
const logo = (h("div", { class: {
|
|
109
|
-
"footer-top-logo": this.hasInfoSlot,
|
|
110
|
-
} }, this.variation !== "simple" && (h("duet-logo", { href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme }))));
|
|
111
|
-
const footerItems = this.processedItems &&
|
|
112
|
-
this.variation !== "simple" &&
|
|
113
|
-
this.processedItems.map(item => (h("a", { class: "duet-footer-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, h("div", { class: "duet-footer-icon" }, h("duet-icon", { size: "medium", margin: "none", name: item.icon, color: "currentColor" })), h("span", null, item.label), !item.hideArrow && (h(Fragment, null, item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("div", { class: "duet-footer-arrow" }, item.external ? (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })) : (h("duet-icon", { icon: arrowRightIcon.svg, size: "auto", margin: "none", color: "currentColor" }))))))));
|
|
114
|
-
if (this.hasInfoSlot) {
|
|
115
|
-
return (h(Fragment, null, logo, h("div", { class: "footer-top-right-container" }, h("slot", { name: "info" }), h("div", { class: "footer-top-items" }, footerItems))));
|
|
116
|
-
}
|
|
117
|
-
return (h(Fragment, null, logo, footerItems));
|
|
118
|
-
}
|
|
119
104
|
/**
|
|
120
105
|
* render() function
|
|
121
106
|
* Always the last one in the class.
|
|
@@ -128,7 +113,20 @@ export class DuetFooter {
|
|
|
128
113
|
"duet-m-0": this.margin === "none",
|
|
129
114
|
"duet-theme-turva": this.theme === "turva",
|
|
130
115
|
"duet-footer-simple": this.variation === "simple",
|
|
131
|
-
}, "aria-label": this.accessibleLabel }, h("div", { class: "duet-footer-wrapper" },
|
|
116
|
+
}, "aria-label": this.accessibleLabel }, h("div", { class: "duet-footer-wrapper" }, this.variation !== "simple" && (h("div", { class: {
|
|
117
|
+
"duet-footer-top": true,
|
|
118
|
+
"duet-has-info": this.hasInfoSlot,
|
|
119
|
+
}, part: "top" }, h("div", { class: "footer-top-logo" }, h("duet-logo", { href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), h("div", { class: "footer-top-right-container" }, h("slot", { name: "info" }), h("div", { class: "footer-top-items" }, this.processedItems &&
|
|
120
|
+
this.processedItems.map((item, index) => {
|
|
121
|
+
var _a, _b, _c, _d, _e, _f;
|
|
122
|
+
return (h(Fragment, null, index > 0 && h("duet-spacer", { size: "x-large", direction: "horizontal" }), h("duet-button", { id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
123
|
+
? "form-tel"
|
|
124
|
+
: ((_b = item.href) === null || _b === void 0 ? void 0 : _b.startsWith("mailto:"))
|
|
125
|
+
? "navigation-message"
|
|
126
|
+
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
127
|
+
? "medium"
|
|
128
|
+
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
129
|
+
}))))), h("slot", { name: "extra" }), h("p", { class: "duet-footer-menu", part: "menu" }, h("span", { class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), h("span", { class: "duet-footer-menu-links" }, this.processedMenu && (h(Fragment, null, this.processedMenu.map(item => (h("a", { href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (h(Fragment, null, h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), h("span", { class: "duet-footer-external" }, h("duet-icon", { icon: newWindowIconSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), h("p", { class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
132
130
|
}
|
|
133
131
|
static get is() { return "duet-footer"; }
|
|
134
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -276,7 +274,7 @@ export class DuetFooter {
|
|
|
276
274
|
"optional": false,
|
|
277
275
|
"docs": {
|
|
278
276
|
"tags": [],
|
|
279
|
-
"text": "An array of items for the main footer links. Items have to include mandatory\n\"label\"
|
|
277
|
+
"text": "An array of items for the main footer links. Items have to include mandatory\n\"label\" and \"href\" fields to work. Additionally, you can pass an \"id\"\nthat is added as an HTML identifier for the anchor tag. Note that previously mandatory\n\"icon\" field has now been removed - setting it has no effect."
|
|
280
278
|
},
|
|
281
279
|
"attribute": "items",
|
|
282
280
|
"reflect": false
|
|
@@ -388,7 +386,7 @@ export class DuetFooter {
|
|
|
388
386
|
},
|
|
389
387
|
"complexType": {
|
|
390
388
|
"original": "DuetFooterChangeEvent",
|
|
391
|
-
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem
|
|
389
|
+
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem; originalEvent: Event; }",
|
|
392
390
|
"references": {
|
|
393
391
|
"DuetFooterChangeEvent": {
|
|
394
392
|
"location": "local",
|
|
@@ -409,7 +407,7 @@ export class DuetFooter {
|
|
|
409
407
|
},
|
|
410
408
|
"complexType": {
|
|
411
409
|
"original": "DuetFooterChangeEvent",
|
|
412
|
-
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem
|
|
410
|
+
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem; originalEvent: Event; }",
|
|
413
411
|
"references": {
|
|
414
412
|
"DuetFooterChangeEvent": {
|
|
415
413
|
"location": "local",
|
|
@@ -430,7 +428,7 @@ export class DuetFooter {
|
|
|
430
428
|
},
|
|
431
429
|
"complexType": {
|
|
432
430
|
"original": "DuetFooterChangeEvent",
|
|
433
|
-
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem
|
|
431
|
+
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem; originalEvent: Event; }",
|
|
434
432
|
"references": {
|
|
435
433
|
"DuetFooterChangeEvent": {
|
|
436
434
|
"location": "local",
|
|
@@ -451,7 +449,7 @@ export class DuetFooter {
|
|
|
451
449
|
},
|
|
452
450
|
"complexType": {
|
|
453
451
|
"original": "DuetFooterChangeEvent",
|
|
454
|
-
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem
|
|
452
|
+
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem; originalEvent: Event; }",
|
|
455
453
|
"references": {
|
|
456
454
|
"DuetFooterChangeEvent": {
|
|
457
455
|
"location": "local",
|
|
@@ -493,7 +491,7 @@ export class DuetFooter {
|
|
|
493
491
|
},
|
|
494
492
|
"complexType": {
|
|
495
493
|
"original": "DuetFooterChangeEvent",
|
|
496
|
-
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem
|
|
494
|
+
"resolved": "{ component: \"duet-footer\"; data: DuetFooterItem; originalEvent: Event; }",
|
|
497
495
|
"references": {
|
|
498
496
|
"DuetFooterChangeEvent": {
|
|
499
497
|
"location": "local",
|
|
@@ -104,6 +104,7 @@ export class DuetModal {
|
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
106
|
this.modalEl.classList.remove("duet-disable-transitions");
|
|
107
|
+
this.modalEl.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
|
|
107
108
|
enableBodyScroll(this.modalEl);
|
|
108
109
|
this.duetClose.emit();
|
|
109
110
|
this.teleport.removeInertFromSiblings();
|
|
@@ -737,6 +738,21 @@ export class DuetModal {
|
|
|
737
738
|
"resolved": "any",
|
|
738
739
|
"references": {}
|
|
739
740
|
}
|
|
741
|
+
}, {
|
|
742
|
+
"method": "duetCloseComplete",
|
|
743
|
+
"name": "duetCloseComplete",
|
|
744
|
+
"bubbles": true,
|
|
745
|
+
"cancelable": true,
|
|
746
|
+
"composed": true,
|
|
747
|
+
"docs": {
|
|
748
|
+
"tags": [],
|
|
749
|
+
"text": "Emitted when the modal closing transition is complete."
|
|
750
|
+
},
|
|
751
|
+
"complexType": {
|
|
752
|
+
"original": "any",
|
|
753
|
+
"resolved": "any",
|
|
754
|
+
"references": {}
|
|
755
|
+
}
|
|
740
756
|
}, {
|
|
741
757
|
"method": "duetBeforeClose",
|
|
742
758
|
"name": "duetBeforeClose",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-f40596e9.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-3f85f7b8.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -6,9 +6,9 @@ import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
|
6
6
|
import { h } from './p-33937fd7.js';
|
|
7
7
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-06e608ae.js';
|
|
8
8
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
9
|
-
import { g as getColorByName } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { g as getColorByName } from './p-3ec3eb5f.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-d72fa71c.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-9ca3437c.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -17,7 +17,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
17
17
|
h("img", Object.assign({}, img))));
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n
|
|
20
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}";
|
|
21
21
|
|
|
22
22
|
const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H {
|
|
23
23
|
constructor() {
|
|
@@ -107,7 +107,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
107
107
|
[this.currentSize]: true,
|
|
108
108
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
109
109
|
"size-large": this.size === "large",
|
|
110
|
-
}, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), 1 > 2 , h$1("div", { class: "brand-shape" })), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h$1("span", null, h$1("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h$1("div", { class: "description", style: { color } }, h$1("slot", { name: "description" }))), this.hasActionSlot && (h$1("div", { class: "action" }, h$1("slot", { name: "action" })))))));
|
|
110
|
+
}, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), 1 > 2 , h$1("div", { style: bannerStyles, class: "brand-shape" })), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h$1("span", null, h$1("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h$1("div", { class: "description", style: { color } }, h$1("slot", { name: "description" }))), this.hasActionSlot && (h$1("div", { class: "action" }, h$1("slot", { name: "action" })))))));
|
|
111
111
|
}
|
|
112
112
|
get element() { return this; }
|
|
113
113
|
static get style() { return duetBannerCss; }
|
|
@@ -5,7 +5,7 @@ import { p as proxyCustomElement, H, h, d as Host } from './p-e98f9bb0.js';
|
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-785686e3.js';
|
|
7
7
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-2e36d5bf.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-9ca3437c.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './p-23e23ced.js';
|
|
10
10
|
|
|
11
11
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { p as proxyCustomElement, H, h, d as Host } from './p-e98f9bb0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { g as getLocaleString } from './p-2e36d5bf.js';
|
|
7
|
-
import { g as getColorByName } from './p-
|
|
7
|
+
import { g as getColorByName } from './p-3ec3eb5f.js';
|
|
8
8
|
|
|
9
9
|
const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}";
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-20b3fa1e.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { p as proxyCustomElement, H, h, d as Host } from './p-e98f9bb0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-06e608ae.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-9ca3437c.js';
|
|
8
8
|
|
|
9
9
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
10
10
|
|
|
@@ -6,8 +6,8 @@ import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-785686e3.js';
|
|
8
8
|
import { s as sanitizeString } from './p-0e052642.js';
|
|
9
|
-
import { g as getColorByName } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
+
import { g as getColorByName } from './p-3ec3eb5f.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-9ca3437c.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './p-23e23ced.js';
|
|
12
12
|
|
|
13
13
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetChip$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetChip$1, d as defineCustomElement$1 } from './p-ef51ec63.js';
|
|
5
5
|
|
|
6
6
|
const DuetChip = DuetChip$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -6,10 +6,10 @@ import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
|
6
6
|
import { c as checkNamedSlotElement } from './p-06e608ae.js';
|
|
7
7
|
import { d as defineCustomElement$8 } from './p-b6322d8d.js';
|
|
8
8
|
import { d as defineCustomElement$7 } from './p-45fd4d84.js';
|
|
9
|
-
import { d as defineCustomElement$6 } from './p-
|
|
10
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-9ca3437c.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-f47e755d.js';
|
|
11
11
|
import { d as defineCustomElement$4 } from './p-c8415e2f.js';
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-ecaba4be.js';
|
|
13
13
|
import { d as defineCustomElement$2 } from './p-d1815d2a.js';
|
|
14
14
|
|
|
15
15
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
@@ -9,7 +9,7 @@ import { i as isKeyboardClick, a as isQuestionKey, s as subscribeTabbingChange,
|
|
|
9
9
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
10
10
|
import { h as hasSlot } from './p-06e608ae.js';
|
|
11
11
|
import { d as defineCustomElement$4 } from './p-b6322d8d.js';
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-9ca3437c.js';
|
|
13
13
|
import { d as defineCustomElement$2 } from './p-23e23ced.js';
|
|
14
14
|
|
|
15
15
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-e98f9bb0.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
|
-
import { f as font_size_medium, t as tokens } from './p-
|
|
6
|
+
import { f as font_size_medium, t as tokens } from './p-d5c03b61.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
8
8
|
import { c as createID } from './p-5e59e970.js';
|
|
9
9
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-785686e3.js';
|
|
10
10
|
import { h as hasSlot } from './p-06e608ae.js';
|
|
11
11
|
import { s as sanitizeString } from './p-0e052642.js';
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-9ca3437c.js';
|
|
13
13
|
|
|
14
14
|
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
15
15
|
|