@duetds/components 6.3.4 → 6.3.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 +13 -6
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +11 -5
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-link.cjs.entry.js +1 -1
- 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-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.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-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +1 -1
- package/lib/cjs/{focus-utils-a86d4897.js → focus-utils-1792d16d.js} +1 -1
- package/lib/cjs/{index-2c9f4ea0.js → index-c780231c.js} +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.css +77 -6
- package/lib/collection/components/duet-hero/duet-hero.js +10 -4
- package/lib/collection/components/duet-table/duet-table.js +3 -2
- 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-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- 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 +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +19 -13
- 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-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-link.js +2 -2
- 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-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- 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 +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-60f5c17a.js → p-05ca8ad3.js} +1 -1
- package/lib/dist-custom-elements/{p-c6ff1566.js → p-093cdb4b.js} +6 -6
- package/lib/dist-custom-elements/{p-d74ef562.js → p-0e692503.js} +1 -1
- package/lib/dist-custom-elements/{p-b2768149.js → p-12b842a7.js} +1 -1
- package/lib/dist-custom-elements/{p-049cca7b.js → p-12fb0f9e.js} +2 -2
- package/lib/dist-custom-elements/{p-72c6ad08.js → p-1529e25b.js} +1 -1
- package/lib/dist-custom-elements/{p-34801312.js → p-18414294.js} +3 -3
- package/lib/dist-custom-elements/{p-a7b4fb2b.js → p-2a9a1aee.js} +4 -3
- package/lib/dist-custom-elements/{p-a9818eef.js → p-355735f0.js} +3 -3
- package/lib/dist-custom-elements/{p-63e23a47.js → p-39ecc3c9.js} +2 -2
- package/lib/dist-custom-elements/{p-b1730895.js → p-3cbd86d1.js} +1 -1
- package/lib/dist-custom-elements/{p-068a5013.js → p-3fd31c11.js} +1 -1
- package/lib/dist-custom-elements/{p-c09f02ce.js → p-455151f9.js} +1 -1
- package/lib/dist-custom-elements/{p-45288df3.js → p-58d6bf44.js} +4 -4
- package/lib/dist-custom-elements/{p-24155b3c.js → p-5f10b790.js} +1 -1
- package/lib/dist-custom-elements/{p-a8049fdd.js → p-719f820e.js} +1 -1
- package/lib/dist-custom-elements/{p-9ee550f3.js → p-75c1d029.js} +2 -2
- package/lib/dist-custom-elements/{p-0591f210.js → p-849407d1.js} +5 -5
- package/lib/dist-custom-elements/{p-c5ea6535.js → p-84fd6025.js} +1 -1
- package/lib/dist-custom-elements/{p-d2263b57.js → p-86343460.js} +2 -2
- package/lib/dist-custom-elements/{p-66ceacfb.js → p-92d5395b.js} +1 -1
- package/lib/dist-custom-elements/{p-72e4c302.js → p-af004f36.js} +3 -3
- package/lib/dist-custom-elements/{p-c6941ea3.js → p-b5c1dbcf.js} +2 -2
- package/lib/dist-custom-elements/{p-ddf4475a.js → p-c56da0b6.js} +1 -1
- package/lib/dist-custom-elements/{p-2e7690c7.js → p-c7aaa12e.js} +1 -1
- package/lib/dist-custom-elements/{p-30aa9395.js → p-c9c2b26b.js} +1 -1
- package/lib/dist-custom-elements/{p-03bc71d3.js → p-cc6990dc.js} +7 -7
- package/lib/dist-custom-elements/{p-c008ba18.js → p-d3cd6eb7.js} +1 -1
- package/lib/dist-custom-elements/{p-6bd92b6e.js → p-e5b634ae.js} +1 -1
- package/lib/dist-custom-elements/{p-2632a69b.js → p-e8fc1e4d.js} +1 -1
- package/lib/dist-custom-elements/{p-01d82618.js → p-fe75ce36.js} +6 -6
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-6638ee91.entry.js → p-018a5ab9.entry.js} +1 -1
- package/lib/duet/{p-3808cf60.system.entry.js → p-0319fb5c.system.entry.js} +1 -1
- package/lib/duet/{p-0144e2ab.system.entry.js → p-04801584.system.entry.js} +1 -1
- package/lib/duet/{p-e20c001a.entry.js → p-05639128.entry.js} +1 -1
- package/lib/duet/p-05c89399.entry.js +4 -0
- package/lib/duet/{p-66513776.system.entry.js → p-05fc79b6.system.entry.js} +1 -1
- package/lib/duet/{p-b043cb5d.system.entry.js → p-06c0f45d.system.entry.js} +1 -1
- package/lib/duet/{p-20d425e7.entry.js → p-0957a669.entry.js} +1 -1
- package/lib/duet/{p-6abbac57.entry.js → p-0a550c3f.entry.js} +1 -1
- package/lib/duet/{p-96500fc1.system.entry.js → p-0bb2bbba.system.entry.js} +1 -1
- package/lib/duet/{p-2c4ed057.system.entry.js → p-0cf1ddbb.system.entry.js} +1 -1
- package/lib/duet/p-15d4debd.system.entry.js +4 -0
- package/lib/duet/{p-385bda05.entry.js → p-16120a6f.entry.js} +1 -1
- package/lib/duet/{p-8f0fa65b.entry.js → p-1a3ec0c1.entry.js} +1 -1
- package/lib/duet/{p-9c8bbdba.entry.js → p-1bdc640b.entry.js} +1 -1
- package/lib/duet/{p-e774a3f8.entry.js → p-1c255237.entry.js} +1 -1
- package/lib/duet/{p-5ffcc425.entry.js → p-297b81b5.entry.js} +1 -1
- package/lib/duet/{p-cbb53f92.entry.js → p-31a47437.entry.js} +1 -1
- package/lib/duet/{p-1c384ce9.system.entry.js → p-375ac11f.system.entry.js} +1 -1
- package/lib/duet/{p-558d6e22.system.entry.js → p-3aa61be3.system.entry.js} +1 -1
- package/lib/duet/{p-92ea0dc9.system.entry.js → p-3cc57c17.system.entry.js} +1 -1
- package/lib/duet/{p-6f66ef44.entry.js → p-3f6a6295.entry.js} +1 -1
- package/lib/duet/{p-43868a78.entry.js → p-40131e38.entry.js} +1 -1
- package/lib/duet/{p-84831ec9.entry.js → p-409f8d79.entry.js} +1 -1
- package/lib/duet/{p-c5ee30a0.entry.js → p-40f0541a.entry.js} +1 -1
- package/lib/duet/{p-7e545467.system.entry.js → p-41032b22.system.entry.js} +1 -1
- package/lib/duet/{p-f641911c.system.entry.js → p-4118eef3.system.entry.js} +1 -1
- package/lib/duet/{p-62a94dd4.entry.js → p-4223a51d.entry.js} +1 -1
- package/lib/duet/{p-ab4a3f56.system.entry.js → p-470820c2.system.entry.js} +1 -1
- package/lib/duet/{p-d12a602d.entry.js → p-49699ab5.entry.js} +1 -1
- package/lib/duet/{p-525cd00e.entry.js → p-49b5f5d2.entry.js} +1 -1
- package/lib/duet/{p-9881c1bc.system.entry.js → p-4d3850f7.system.entry.js} +1 -1
- package/lib/duet/{p-a39c24a9.entry.js → p-4e91709f.entry.js} +1 -1
- package/lib/duet/{p-9d0963cb.entry.js → p-4fb33f49.entry.js} +1 -1
- package/lib/duet/{p-09279afa.entry.js → p-5025032d.entry.js} +1 -1
- package/lib/duet/{p-39916e0d.system.js → p-5322f804.system.js} +1 -1
- package/lib/duet/{p-72f9c23e.entry.js → p-53cfc823.entry.js} +1 -1
- package/lib/duet/{p-7b9fbb74.system.entry.js → p-541569fa.system.entry.js} +1 -1
- package/lib/duet/{p-25109c9d.system.entry.js → p-54e01d20.system.entry.js} +1 -1
- package/lib/duet/{p-54087cf9.system.entry.js → p-550e17bb.system.entry.js} +1 -1
- package/lib/duet/{p-17359300.entry.js → p-5557f8e7.entry.js} +1 -1
- package/lib/duet/{p-b62f7670.entry.js → p-55fa5cf9.entry.js} +1 -1
- package/lib/duet/{p-c00303c8.system.entry.js → p-56068b6e.system.entry.js} +1 -1
- package/lib/duet/{p-3e2f7fc2.system.js → p-59587e86.system.js} +1 -1
- package/lib/duet/{p-c164d8e1.entry.js → p-59e02635.entry.js} +1 -1
- package/lib/duet/{p-9cd6ca23.system.entry.js → p-5b0dda5a.system.entry.js} +1 -1
- package/lib/duet/p-5c3f2090.system.entry.js +4 -0
- package/lib/duet/{p-710f0615.system.entry.js → p-5cbd1a2f.system.entry.js} +1 -1
- package/lib/duet/{p-c3b0251b.entry.js → p-5cf8d351.entry.js} +1 -1
- package/lib/duet/{p-45e4892b.system.entry.js → p-6079ee23.system.entry.js} +1 -1
- package/lib/duet/{p-02f8d3c7.entry.js → p-6204c166.entry.js} +1 -1
- package/lib/duet/{p-600244c8.entry.js → p-647a5d0b.entry.js} +1 -1
- package/lib/duet/{p-c9b600e2.entry.js → p-681066a6.entry.js} +1 -1
- package/lib/duet/p-6859eb48.entry.js +4 -0
- package/lib/duet/p-6c239641.js +4 -0
- package/lib/duet/{p-6e3a5718.entry.js → p-6e1e4554.entry.js} +1 -1
- package/lib/duet/{p-c6173123.entry.js → p-729caf5f.entry.js} +1 -1
- package/lib/duet/{p-6549314e.entry.js → p-72fa9406.entry.js} +1 -1
- package/lib/duet/{p-14b40c66.system.entry.js → p-74a01368.system.entry.js} +1 -1
- package/lib/duet/{p-aad50940.system.entry.js → p-750cd6e8.system.entry.js} +1 -1
- package/lib/duet/{p-fadfdc5a.system.entry.js → p-75744914.system.entry.js} +1 -1
- package/lib/duet/{p-26e99a02.system.entry.js → p-7600fd6b.system.entry.js} +1 -1
- package/lib/duet/{p-e6d73309.system.entry.js → p-763f8c03.system.entry.js} +1 -1
- package/lib/duet/{p-88c9d502.system.entry.js → p-766ee6d4.system.entry.js} +1 -1
- package/lib/duet/{p-7952b539.system.entry.js → p-77307dc5.system.entry.js} +1 -1
- package/lib/duet/{p-c9b33648.entry.js → p-7afe3a89.entry.js} +1 -1
- package/lib/duet/{p-8ff8a917.system.entry.js → p-7c048219.system.entry.js} +1 -1
- package/lib/duet/{p-d2153ece.entry.js → p-7c83378e.entry.js} +1 -1
- package/lib/duet/{p-34fef44f.system.entry.js → p-7ec74dc5.system.entry.js} +1 -1
- package/lib/duet/{p-d5fb6eba.system.entry.js → p-837d96a7.system.entry.js} +1 -1
- package/lib/duet/{p-f785be53.system.entry.js → p-83d444c7.system.entry.js} +1 -1
- package/lib/duet/{p-ff124dd2.system.entry.js → p-865d8746.system.entry.js} +1 -1
- package/lib/duet/{p-ff9d422a.system.entry.js → p-88d2601b.system.entry.js} +1 -1
- package/lib/duet/{p-64086da0.system.entry.js → p-8b781575.system.entry.js} +1 -1
- package/lib/duet/{p-daf29b7c.entry.js → p-8cd7c88f.entry.js} +1 -1
- package/lib/duet/{p-8837d6ce.system.entry.js → p-91152973.system.entry.js} +1 -1
- package/lib/duet/{p-87381668.system.entry.js → p-91379e1a.system.entry.js} +1 -1
- package/lib/duet/{p-d863d445.entry.js → p-9297f2df.entry.js} +1 -1
- package/lib/duet/{p-c9fb1fd1.system.entry.js → p-9331046d.system.entry.js} +1 -1
- package/lib/duet/{p-897c082b.entry.js → p-93df49a3.entry.js} +1 -1
- package/lib/duet/{p-1840b5c5.system.entry.js → p-94607b74.system.entry.js} +1 -1
- package/lib/duet/{p-d6dc8bd7.entry.js → p-9955ebd7.entry.js} +1 -1
- package/lib/duet/{p-c3fd80ac.system.entry.js → p-9b59c742.system.entry.js} +1 -1
- package/lib/duet/{p-134c9849.system.entry.js → p-9e03d929.system.entry.js} +1 -1
- package/lib/duet/{p-f6b81187.system.entry.js → p-9ed1420b.system.entry.js} +1 -1
- package/lib/duet/{p-84b8e6c6.system.entry.js → p-9f801169.system.entry.js} +1 -1
- package/lib/duet/{p-a712bc6a.entry.js → p-9fffdd96.entry.js} +1 -1
- package/lib/duet/{p-83d9e483.entry.js → p-a2e41589.entry.js} +1 -1
- package/lib/duet/{p-3eed389b.system.entry.js → p-ac5e88b0.system.entry.js} +1 -1
- package/lib/duet/{p-9644d566.entry.js → p-b0686337.entry.js} +1 -1
- package/lib/duet/{p-0e900d5e.entry.js → p-b12644af.entry.js} +1 -1
- package/lib/duet/{p-3bf861db.system.entry.js → p-b145d365.system.entry.js} +1 -1
- package/lib/duet/{p-0af1de12.entry.js → p-b21921a2.entry.js} +1 -1
- package/lib/duet/{p-14257975.system.entry.js → p-b3912b20.system.entry.js} +1 -1
- package/lib/duet/{p-1a771f08.system.entry.js → p-b5e84bb7.system.entry.js} +1 -1
- package/lib/duet/{p-11e63d9c.system.entry.js → p-bfca68d4.system.entry.js} +1 -1
- package/lib/duet/{p-21c06055.system.js → p-c2c9a7f4.system.js} +1 -1
- package/lib/duet/{p-f70b8c23.entry.js → p-c35a5e18.entry.js} +1 -1
- package/lib/duet/{p-95d985d9.entry.js → p-c4ce0911.entry.js} +1 -1
- package/lib/duet/{p-dcdb9129.system.entry.js → p-c91803e0.system.entry.js} +1 -1
- package/lib/duet/{p-bd78c499.entry.js → p-c93c1f44.entry.js} +1 -1
- package/lib/duet/{p-cb2b6da2.system.entry.js → p-cc3c61dc.system.entry.js} +1 -1
- package/lib/duet/{p-ea16b579.entry.js → p-cc73e760.entry.js} +1 -1
- package/lib/duet/{p-839f7761.entry.js → p-cce44172.entry.js} +1 -1
- package/lib/duet/{p-f6aa7450.system.entry.js → p-cd20b86d.system.entry.js} +1 -1
- package/lib/duet/{p-f75cf81c.entry.js → p-cd8e8e77.entry.js} +1 -1
- package/lib/duet/{p-2c4a0dc3.system.entry.js → p-cef7bf55.system.entry.js} +1 -1
- package/lib/duet/{p-808f7357.entry.js → p-cffec684.entry.js} +1 -1
- package/lib/duet/{p-92b3f778.system.entry.js → p-d018c67f.system.entry.js} +1 -1
- package/lib/duet/{p-d02a8c4b.entry.js → p-d01e2749.entry.js} +1 -1
- package/lib/duet/{p-bab6f968.entry.js → p-d0de3b58.entry.js} +1 -1
- package/lib/duet/{p-16002138.entry.js → p-d0f1b22e.entry.js} +1 -1
- package/lib/duet/{p-1699f30b.system.entry.js → p-d33f8eb3.system.entry.js} +1 -1
- package/lib/duet/{p-6fa72751.system.entry.js → p-d45207dc.system.entry.js} +1 -1
- package/lib/duet/{p-f291aac4.entry.js → p-d457f4aa.entry.js} +1 -1
- package/lib/duet/p-d6544808.entry.js +4 -0
- package/lib/duet/p-dd14cf90.entry.js +4 -0
- package/lib/duet/{p-701df705.system.entry.js → p-dd168953.system.entry.js} +1 -1
- package/lib/duet/{p-43d5da24.entry.js → p-e45e8eab.entry.js} +1 -1
- package/lib/duet/{p-b4e4ae3d.system.entry.js → p-e4cf3f0a.system.entry.js} +1 -1
- package/lib/duet/{p-6cc9b211.system.entry.js → p-e578a9e1.system.entry.js} +1 -1
- package/lib/duet/{p-30f076b8.entry.js → p-e9d09bf8.entry.js} +1 -1
- package/lib/duet/{p-f04f1fe4.system.entry.js → p-ea776469.system.entry.js} +1 -1
- package/lib/duet/{p-b6e60a7b.system.entry.js → p-ef49ea7a.system.entry.js} +1 -1
- package/lib/duet/{p-b758e463.system.entry.js → p-ef9acdfa.system.entry.js} +1 -1
- package/lib/duet/{p-74d60892.entry.js → p-f13d08c0.entry.js} +1 -1
- package/lib/duet/{p-ad5b3163.js → p-f49ce77f.js} +1 -1
- package/lib/duet/{p-38eff394.entry.js → p-f7030f2b.entry.js} +1 -1
- package/lib/duet/{p-cf7938ca.entry.js → p-f87f022d.entry.js} +1 -1
- package/lib/duet/{p-8f03e354.entry.js → p-f92fe815.entry.js} +1 -1
- package/lib/duet/{p-303ef5da.entry.js → p-fad18444.entry.js} +1 -1
- package/lib/duet/{p-db179db3.system.entry.js → p-fe22e0d7.system.entry.js} +1 -1
- package/lib/duet/{p-d38d3391.system.entry.js → p-fff43d6a.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +4 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +11 -5
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.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-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +1 -1
- package/lib/esm/{focus-utils-3a57fc53.js → focus-utils-8479ac73.js} +1 -1
- package/lib/esm/{index-e0612fee.js → index-de01d1ef.js} +1 -1
- package/lib/esm/loader.js +1 -1
- 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-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.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-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.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 +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.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-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.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-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.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-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-link.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-step_2.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.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-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-3a57fc53.js → focus-utils-8479ac73.js} +1 -1
- package/lib/esm-es5/{index-e0612fee.js → index-de01d1ef.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -1
- package/lib/types/components/duet-table/duet-table.d.ts +1 -0
- package/package.json +5 -5
- package/lib/duet/p-26a051dd.js +0 -4
- package/lib/duet/p-28042fef.entry.js +0 -4
- package/lib/duet/p-3562967c.system.entry.js +0 -4
- package/lib/duet/p-6aa1ee29.system.entry.js +0 -4
- package/lib/duet/p-79e0803e.entry.js +0 -4
- package/lib/duet/p-81bb5013.entry.js +0 -4
- package/lib/duet/p-b5d7bbd1.entry.js +0 -4
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,c as t,h as i,g as o}from"./p-ad5b3163.js";import{a as r}from"./p-f11208c3.js";import{D as a}from"./p-76f00bd5.js";import{i as d}from"./p-4ebf1618.js";import{a as h,g as n}from"./p-ede854e1.js";import{p as u}from"./p-5a9d75e1.js";const m=class{constructor(i){e(this,i),this.duetClick=t(this,"duetClick",7),this.duetAnalytics=t(this,"duetAnalytics",7),this.handleClick=(e,t)=>{t&&t.analytics&&this.duetAnalytics.emit({component:"duet-hero",analyticsId:t.analytics}),this.emitChange(e,t)},this.processedListItems=null,this.processedActions=null,this.processedBack=null,this.theme="",this.heading="",this.preHeading="",this.level="h1",this.subHeadingLevel="h2",this.description="",this.icon="",this.iconSize="medium",this.iconRight=!1,this.categoryIcon="",this.categoryIconColor="category-pet",this.buttonLabel="",this.language=h(),this.accessibleLabelExternalDefaults=a,this.accessibleLabelExternal=n(this.accessibleLabelExternalDefaults),this.buttonUrl="#",this.buttonId="",this.buttonData=void 0,this.textCenter=!1,this.leftAlign=!1,this.image="",this.variation="default",this.back=void 0,this.listItems=void 0,this.actions=void 0}componentWillLoad(){d(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasSubHeadingSlot=!!this.element.querySelector('[slot="subheading"]'),this.refresh()}async refresh(){this.processedListItems=u(this.listItems),this.processedActions=u(this.actions),this.processedBack=u(this.back)}emitChange(e,t){t||(t={}),this.buttonLabel&&(t.label=this.buttonLabel,t.href=this.buttonUrl,t.id=this.buttonId||"No ID defined via buttonId prop"),this.duetClick.emit({originalEvent:e,data:t,component:"duet-hero"})}render(){const e="campaign"===this.variation||"section"===this.variation,t={backgroundImage:`url(${this.image})`};let o="gray"===this.variation||"minimal"===this.variation?"h2":"h1";(e||"product"===this.variation)&&(o="h0");let a="default"===this.variation?"gray-lightest":"";e&&(a="color-gray-lightest","turva"===this.theme&&(a="color-gray-lightest-turva"));let d="turva"===this.theme?"negative":"primary",h="primary-blue",n="gray-lightest",u="primary";return("light"===this.variation||"image"===this.variation||"gray"===this.variation||"minimal"===this.variation||e||"product"===this.variation)&&(n="secondary","turva"===this.theme&&(n="secondary-turva",d="primary",u="color-primary-turva",h="color-primary-turva")),i("div",{role:"region",class:{"duet-hero":!0,"duet-theme-turva":"turva"===this.theme,"duet-has-category-icon":!!this.categoryIcon,"duet-hero-light":"light"===this.variation,"duet-hero-gray":"gray"===this.variation||"minimal"===this.variation,"duet-hero-minimal":"minimal"===this.variation,"duet-hero-with-image":"image"===this.variation,"duet-hero-campaign":"campaign"===this.variation,"duet-hero-section":"section"===this.variation,"duet-hero-product":"product"===this.variation,"duet-hero-gray-with-actions":!!this.processedActions,"duet-hero-gray-with-back":!!this.processedBack,"duet-hero-text-center":this.textCenter&&!this.leftAlign||e,"duet-hero-left-align":this.leftAlign&&!e},part:"duet-hero"},e&&this.image&&i("div",{class:"background",style:t},i("div",{class:"brand-shape"})),"product"===this.variation&&this.image&&i("div",{class:"background"},"turva"!==this.theme&&i("div",{class:"brand-shape"}),i("div",{class:"brand-shaped-image",style:t}),this.categoryIcon&&i("div",{class:"brand-shaped-icon"},i("duet-icon",{background:"none",name:this.categoryIcon,margin:"none",size:"auto",responsive:!1}))),i("div",{class:"duet-hero-wrapper"},this.image&&"image"===this.variation&&i("div",{class:"duet-hero-image-mask"},i("div",{class:"duet-hero-image-wrapper"},i("div",{class:"duet-hero-image",style:t}))),("gray"===this.variation||"light"===this.variation||"minimal"===this.variation)&&this.processedBack&&i("div",{class:"duet-hero-back"},i("duet-button",{style:{transform:"translateX(-8px)"},variation:"plain",icon:"action-arrow-left-small",theme:this.theme,iconSize:"small",color:u,padding:"none",margin:"none",fixed:!0,url:this.processedBack.href,identifier:this.processedBack.id,onClick:e=>this.handleClick(e,{label:this.processedBack.label,href:this.processedBack.href,id:this.processedBack.id,analyticsId:this.processedBack.analyticsId})},this.processedBack.label)),("gray"===this.variation||"minimal"===this.variation)&&this.categoryIcon&&i("duet-icon",{class:{"duet-hero-icon":!0,"duet-hero-icon-has-heading":""!==this.preHeading},size:"x-large",background:this.categoryIconColor,name:this.categoryIcon}),i("div",{class:"duet-hero-text",part:"duet-hero-text"},this.preHeading&&i("duet-paragraph",{margin:"none",class:"duet-hero-pre"},this.preHeading),i("slot",{name:"badge"}),(this.heading||this.hasHeadingSlot)&&i("duet-heading",{theme:this.theme,level:this.level,class:{"duet-hero-heading":!0,"duet-hero-heading-has-pre":""!==this.preHeading},color:a,visualLevel:o,margin:e?"none":"auto"},this.heading?this.heading:i("slot",{name:"heading"})),e&&this.hasSubHeadingSlot&&i("duet-heading",{theme:this.theme,level:this.subHeadingLevel,class:{"duet-hero-subheading":!0},color:"turva"===this.theme?"secondary-turva":"secondary",visualLevel:"h2"},i("slot",{name:"subheading"})),this.description&&i("duet-paragraph",{theme:this.theme,color:n,variation:"intro"},this.description),("gray"===this.variation||"minimal"===this.variation)&&this.processedListItems&&i("duet-list",{theme:this.theme,"label-width":"30",breakpoint:"large",mobile:this.leftAlign?void 0:"center"},this.processedListItems.map((e=>i("duet-list-item",null,i("span",{slot:"label"},e.label),i("span",{slot:"value"},e.value))))),this.buttonLabel&&i("duet-button",{url:this.buttonUrl,icon:this.icon,iconRight:this.iconRight,iconSize:this.iconSize,variation:d,theme:this.theme,identifier:this.buttonId,onClick:e=>this.handleClick(e,this.buttonData),fixed:!0},this.buttonLabel),i("span",{class:"duet-hero-slot-unnamed"},i("slot",null))),("gray"===this.variation||"minimal"===this.variation)&&this.processedActions&&i("div",{class:"duet-hero-links"},this.processedActions.map((e=>i("a",{class:"duet-hero-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:t=>this.handleClick(t,e)},i("div",{class:"duet-hero-action-icon"},i("duet-icon",{size:"small",margin:"none",name:e.icon,color:"currentColor",outline:h})),i("span",null,e.label),e.external&&i("duet-visually-hidden",null,", ",this.accessibleLabelExternal),e.external&&i("div",{class:"duet-hero-action-arrow"},i("duet-icon",{icon:r.svg,size:"xx-small",margin:"none",color:"currentColor"})))))),this.image&&"image"!==this.variation&&!e&&"product"!==this.variation&&i("div",{class:"duet-hero-image",style:t}),i("slot",{name:"bottom"})))}get element(){return o(this)}static get watchers(){return{back:["refresh"],listItems:["refresh"],actions:["refresh"]}}};m.style='*,*::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%}.duet-hero{position:relative;display:block;width:100%;padding:48px 28px;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-style:normal;font-weight:400;line-height:1.5;text-decoration:none;text-shadow:none;text-transform:none;background:#00294d}.duet-hero.duet-p-0{padding:0 !important}.duet-hero.duet-m-0{margin:0 !important}.duet-hero.duet-hero-text-center{text-align:center !important}.duet-hero.duet-hero-light{padding-bottom:0 !important}@media (min-width: 62em){.duet-hero.duet-hero-light{padding-bottom:28px !important}}.duet-hero.duet-hero-with-image{padding-bottom:20px !important;margin-bottom:-36px}@media (min-width: 48em){.duet-hero.duet-hero-with-image{padding-bottom:28px !important}}@media (min-width: 62em){.duet-hero.duet-hero-with-image{padding-bottom:36px !important;margin-bottom:-20px}}.duet-hero.duet-hero-light,.duet-hero.duet-hero-with-image{color:#00294d;background-color:white;background-image:linear-gradient(#f3f9fc, #f9fcfe)}.duet-hero.duet-hero-light::before,.duet-hero.duet-hero-with-image::before{position:absolute;top:100%;left:0;z-index:-1;width:100%;height:400px;content:"";background-image:linear-gradient(#f9fcfe, white)}.duet-hero.duet-hero-light.duet-theme-turva,.duet-hero.duet-hero-with-image.duet-theme-turva{color:#171c3a;background-image:linear-gradient(#f5f5f7, #fafafb)}.duet-hero.duet-hero-light.duet-theme-turva::before,.duet-hero.duet-hero-with-image.duet-theme-turva::before{background-image:linear-gradient(#fafafb, white)}.duet-hero.duet-hero-gray{color:#00294d;background:#f5f8fa}.duet-hero.duet-hero-gray.duet-theme-turva{background:#f5f5f7}@media (min-width: 62em){.duet-hero.duet-hero-gray .duet-hero-text{display:inline-block;vertical-align:top}.duet-hero.duet-hero-gray .duet-hero-icon+.duet-hero-text{margin-left:28px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-actions{padding-bottom:65.4545454545px}}@media (min-width: 62em){.duet-hero.duet-hero-gray-with-back{padding-top:72px}}.duet-hero.duet-hero-campaign,.duet-hero.duet-hero-section{padding:0;margin:0 0 72px;overflow:hidden;background:none}.duet-hero.duet-hero-campaign .background,.duet-hero.duet-hero-section .background{position:absolute;width:100%;min-height:580px;background-repeat:no-repeat;background-position:left top;background-size:cover}.duet-hero.duet-hero-campaign .background .brand-shape,.duet-hero.duet-hero-section .background .brand-shape{position:absolute;top:270px;right:0;left:-100px;width:712.18px;height:712.18px;margin-right:auto;margin-left:auto;background:white;border-radius:152.214px;mix-blend-mode:normal;transform:rotate(8deg)}@media (min-width: 36em){.duet-hero.duet-hero-campaign .background .brand-shape,.duet-hero.duet-hero-section .background .brand-shape{left:-50px}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .background .brand-shape,.duet-hero.duet-hero-section .background .brand-shape{top:300px;left:0}}.duet-hero.duet-hero-campaign .duet-hero-text,.duet-hero.duet-hero-section .duet-hero-text{width:100%}.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{margin:0 auto}@media (min-width: 36em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:70%}}@media (min-width: 62em){.duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph,.duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,.duet-hero.duet-hero-section .duet-hero-text duet-paragraph{width:52%}}.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{display:flex;align-items:center;height:17.875rem;margin-bottom:2rem}@media (min-width: 62em){.duet-hero.duet-hero-campaign .duet-hero-heading,.duet-hero.duet-hero-section .duet-hero-heading{height:17.875rem;margin-bottom:6.25rem}}.duet-hero.duet-hero-campaign.duet-theme-turva,.duet-hero.duet-hero-section.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";background:none}.duet-hero.duet-hero-campaign.duet-theme-turva .brand-shape,.duet-hero.duet-hero-section.duet-theme-turva .brand-shape{background:white}.duet-hero.duet-hero-section .background{min-height:520px}.duet-hero.duet-hero-product{position:relative;padding:0;overflow:hidden;background:white}@media (min-width: 62em){.duet-hero.duet-hero-product{min-height:544px;padding:111.6px 56px}}.duet-hero.duet-hero-product .background{position:relative;width:100%;height:236px;margin:0 0 28px}@media (min-width: 62em){.duet-hero.duet-hero-product .background{position:absolute;top:0;left:0;height:544px;margin:0}}.duet-hero.duet-hero-product .background .brand-shaped-image{position:absolute;top:-10px;right:0;width:100%;max-width:95%;height:100%;background-repeat:no-repeat;background-position:right top;background-size:contain;mix-blend-mode:normal}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-image{position:absolute;top:0;right:0;width:50%;max-width:735px;height:100%;background-position:left top}}.duet-hero.duet-hero-product .background .brand-shape{position:absolute;bottom:0;left:calc(50% - 120.305px - 129.2px);width:240.61px;height:240.61px;background:#e6f2f8;border-radius:60.1517px;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shape{top:auto;right:414.01px;bottom:50px;left:auto;width:400px;height:400px;border-radius:100px}}.duet-hero.duet-hero-product .background .brand-shaped-icon{position:absolute;right:20px;bottom:0;display:flex;align-items:center;justify-content:center;width:85.98px;height:85.98px;background:rgba(0, 119, 179, 0.75);border-radius:21.4952px;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-icon{right:223.61px;bottom:50px;width:186.64px;height:186.64px;border-radius:46.6612px}}.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:80px;height:80px;transform:rotate(-7deg)}@media (min-width: 62em){.duet-hero.duet-hero-product .background .brand-shaped-icon duet-icon{width:120px;height:120px}}@media (min-width: 62em){.duet-hero.duet-hero-product .duet-hero-text{width:50%}}.duet-hero.duet-hero-product.duet-theme-turva{background:white}.duet-hero.duet-hero-product.duet-theme-turva .background .brand-shaped-icon{background:rgba(198, 12, 48, 0.75)}.duet-hero.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";background:#c60c30}@media (min-width: 62em){.duet-hero{min-height:290px;padding:111.6px 56px;overflow:visible}}.duet-hero-icon{display:inline-block;vertical-align:top}@media (min-width: 62em){.duet-hero-icon{margin-top:-8px}}@media (min-width: 62em){.duet-hero-heading{margin-top:12px}}@media (min-width: 62em){.duet-hero-heading-has-pre{margin-top:0}}.duet-hero-wrapper{position:relative;width:100%;max-width:1110px;margin:0 auto;text-align:center}.duet-hero-left-align .duet-hero-wrapper{text-align:left}.duet-hero-with-image .duet-hero-wrapper{position:static}@media (min-width: 62em){.duet-hero-wrapper{text-align:left}}.duet-hero-text{max-width:50rem;margin:0 auto}.duet-hero-text-center .duet-hero-text{text-align:center !important}@media (min-width: 48em){.duet-hero-text{width:80%}.duet-hero-left-align .duet-hero-text{margin:0}}@media (min-width: 62em){.duet-hero-text{width:52%;max-width:none;margin-top:-10px;margin-left:0}.duet-hero-text-center .duet-hero-text{margin-left:auto}}.duet-hero:not(.duet-hero-with-image) .duet-hero-image{width:100%;max-width:400px;height:0;padding-bottom:50%;margin:28px auto 0;background-repeat:no-repeat;background-position:50% 50%;background-size:contain}@media (min-width: 36em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{padding-bottom:40%}}@media (min-width: 48em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:420px;padding-bottom:34%}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{max-width:540px}}@media (min-width: 62em){.duet-hero:not(.duet-hero-with-image) .duet-hero-image{position:absolute;top:50%;right:0;padding-bottom:30%;margin:0;transform:translateY(-50%)}.duet-hero-light .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-60px;padding-bottom:26%}.duet-hero-gray .duet-hero:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}@media (min-width: 62em){.duet-hero-gray:not(.duet-hero-with-image) .duet-hero-image{right:-34px;padding-bottom:20%}}.duet-hero-image-wrapper{position:relative;width:80%;height:0;padding-bottom:80%;margin:-30px auto 36px;overflow:hidden;border-radius:28%;box-shadow:0 0 20px rgba(255, 255, 255, 0.5);transform:rotate(10deg)}.duet-theme-turva .duet-hero-image-wrapper{padding-bottom:68%;border-radius:44% 47% 38% 54%;transform:none}@media screen and (min-width: 440px){.duet-hero-image-wrapper{width:300px;padding-bottom:300px}.duet-theme-turva .duet-hero-image-wrapper{width:80%;padding-bottom:68%}}@media (min-width: 62em){.duet-hero-image-wrapper{position:absolute;top:-60px;right:-50px;width:470px;padding-bottom:470px;margin:0}.duet-theme-turva .duet-hero-image-wrapper{top:-40px;right:-80px;width:536px;padding-bottom:470px}}@media (min-width: 76.25em){.duet-hero-image-wrapper{top:-70px;right:-60px;width:600px;padding-bottom:600px}.duet-theme-turva .duet-hero-image-wrapper{top:-70px;right:-60px;width:650px;padding-bottom:600px}}@media screen and (min-width: 1450px){.duet-hero-image-wrapper{top:-70px;right:25px}.duet-theme-turva .duet-hero-image-wrapper{right:0}}.duet-hero-image-wrapper .duet-hero-image{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;transform:rotate(-10deg)}.duet-theme-turva .duet-hero-image-wrapper .duet-hero-image{top:0;left:0;width:100%;height:100%;transform:none}.duet-hero-image-mask{position:relative;margin:-48px auto 0;overflow:hidden}@media (min-width: 62em){.duet-hero-image-mask{position:absolute;top:0;right:0;width:470px;height:460px;margin:0}}@media (min-width: 76.25em){.duet-hero-image-mask{width:650px;height:580px}}@media screen and (min-width: 1450px){.duet-hero-image-mask{right:50%;transform:translateX(110%)}.duet-theme-turva .duet-hero-image-mask{transform:translateX(108%)}}duet-heading+duet-button{margin-top:12px !important}.duet-hero-links{width:calc(100% + 56px);margin-top:48px;margin-left:-28px}.duet-hero-minimal .duet-hero-links{margin-top:28px}@media (min-width: 36em){.duet-hero-links{margin-top:72px}.duet-hero-minimal .duet-hero-links{margin-top:28px}}@media (min-width: 62em){.duet-hero-links{width:auto;margin:36px 0 0}.duet-hero-minimal .duet-hero-links{margin-top:28px}}.duet-hero-link{display:flex;align-items:center;width:100%;padding:16px 16px 8px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.25;color:#0077b3;text-align:left;text-decoration:none;border-bottom:1px solid #e1e3e6;transition:background-color 300ms ease}.duet-hero-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-hero-link:focus,.duet-hero-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-hero-link:hover,.duet-hero-link:hover .duet-hero-action-arrow{color:#004d80 !important;background:transparent !important}.duet-theme-turva .duet-hero-link:hover,.duet-theme-turva .duet-hero-link:hover .duet-hero-action-arrow{color:#940925 !important}.duet-theme-turva .duet-hero-link{color:#c60c30}@media (min-width: 36em){.duet-hero-link{padding:16px 16px 16px 28px}}@media (min-width: 62em){.duet-hero-link{display:inline-flex;width:auto;max-width:350px;padding:0;margin:0 28px 16px 0;border:0;border-radius:4px}}.duet-hero-link:hover{background:rgba(0, 0, 0, 0.02)}@media (min-width: 62em){.duet-hero-link:hover{background:transparent}}.duet-hero-link:first-of-type{border-top:1px solid #e1e3e6}@media (min-width: 62em){.duet-hero-link:first-of-type{margin-top:0;border:0}}.duet-hero-link:last-of-type{margin-bottom:-48px}@media (min-width: 62em){.duet-hero-link:last-of-type{margin-right:0;margin-bottom:0}}.duet-hero-link span{margin-top:-8px}@media (min-width: 36em){.duet-hero-link span{margin:0}}.duet-hero-action-icon{margin-right:8px}@media (min-width: 36em){.duet-hero-action-icon{margin-right:12px}}.duet-hero-action-arrow{margin:0 0 0 8px;color:#0077b3}@media (max-width: 35.9375em){.duet-hero-action-arrow{margin-top:-9px}}.duet-theme-turva .duet-hero-action-arrow{color:#c60c30}.duet-hero-back{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center}.duet-hero-left-align .duet-hero-back{align-items:self-start;justify-content:flex-start}@media (min-width: 36em){.duet-hero-back{margin-bottom:36px !important}.duet-hero-minimal .duet-hero-back{margin-bottom:28px !important}}@media (min-width: 62em){.duet-hero-back{display:block}}.duet-hero-pre{display:inline-block;width:auto;margin-right:8px}.duet-hero-pre+duet-heading{margin-top:0 !important}';export{m as duet_hero}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,c as e,h as i,g as a}from"./p-ad5b3163.js";import{d,e as o}from"./p-bd779757.js";import{i as s}from"./p-4ebf1618.js";import{c as n}from"./p-c1325e35.js";import{f as l,F as r}from"./p-26a051dd.js";import{f as m}from"./p-54f35a79.js";import{a as h,g as u}from"./p-ede854e1.js";import"./p-5a9d75e1.js";const p=class{constructor(i){var a,d;t(this,i),this.duetOpen=e(this,"duetOpen",7),this.duetClose=e(this,"duetClose",7),this.duetBeforeClose=e(this,"duetBeforeClose",7),this.modalId=n("DuetModal"),this.slotDefaultId=n("DuetModal-default-slot"),this.isAndroidDevice=(null===(d=null===(a=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===a?void 0:a.toLowerCase())||void 0===d?void 0:d.indexOf("android"))>-1||null,this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleAndroidResizeEvents=()=>{"INPUT"==document.activeElement.tagName&&window.setTimeout((function(){var t;try{null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t||t.scrollIntoViewIfNeeded(!0)}catch(e){}}),100)},this.open=!1,this.language=h(),this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"},this.accessibleCloseLabel=u(this.accessibleCloseLabelDefaults,this.language),this.size="medium",this.accessibleDescribedBy=void 0,this.accessibleLabelledBy=void 0,this.accessibleDetails=void 0,this.accessibleDescription=void 0,this.gutterSize="medium",this.theme="",this.heading="",this.headingLevel="h3",this.icon="",this.color="",this.active=!1,this.closeOnBlur=!1}openChanged(){this.open?(this.modalEl&&this.modalEl.scrollTop&&(this.modalEl.scrollTop=0),this.focusedElBeforeOpen=document.activeElement,d(this.modalEl,{reserveScrollBarGap:!0}),setTimeout((()=>{this.buttonEl.setFocus()}),600),setTimeout((()=>{this.modalEl.classList.add("duet-disable-transitions")}),800),this.isAndroidDevice&&window.addEventListener("resize",this.handleAndroidResizeEvents),this.duetOpen.emit()):(this.modalEl.classList.remove("duet-disable-transitions"),o(this.modalEl),this.duetClose.emit(),setTimeout((()=>{l(this.focusedElBeforeOpen)}),600),this.isAndroidDevice&&window.removeEventListener("resize",this.handleAndroidResizeEvents))}activeChanged(){this.open=this.active}componentWillLoad(){s(this)}componentDidLoad(){this.active&&(this.open=!0,this.modalEl.classList.add("duet-disable-transitions"))}disconnectedCallback(){o(this.modalEl)}handleKeyUp(t){this.open&&m(t)&&this.closeModal(t)}async show(){this.open=!0}async hide(){this.open=!1}closeModal(t){this.duetBeforeClose.emit({originalEvent:t,component:"duet-modal"}),t.defaultPrevented||setTimeout((()=>{this.hide()}),1)}render(){let t="primary",e="secondary";return"turva"===this.theme&&(t="primary-turva",e="secondary-turva"),i("div",{ref:t=>this.modalEl=t,"aria-labelledby":!!this.heading&&this.modalId,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy?`${this.slotDefaultId} ${this.accessibleDescribedBy}`:this.slotDefaultId,role:"dialog","aria-modal":!this.isSafariBrowser,tabindex:"-1","aria-flowto":this.slotDefaultId,class:{"duet-modal-overlay":!0,"duet-theme-turva":"turva"===this.theme,"duet-modal-active":this.open}},i(r,{moveFocusTo:this.buttonEl}),i("div",{class:{"duet-modal-inner":!0,"duet-modal-large":"large"===this.size},role:"document",onClick:t=>{this.closeOnBlur&&this.closeModal(t)}},i("div",{class:{"duet-modal":!0,[this.size]:!0},onClick:t=>{this.closeOnBlur&&t.stopPropagation()}},i("duet-spacer",null),i("div",{class:"duet-modal-close"},i("duet-button",{ref:t=>this.buttonEl=t,variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:e,iconSize:"large",icon:"navigation-close",iconOnly:!0,margin:"none",theme:this.theme,onClick:t=>this.closeModal(t),fixed:!0})),i("div",{class:{"duet-modal-body":!0,"duet-modal-gutter-small":"small"===this.gutterSize,"duet-modal-gutter-medium":"medium"===this.gutterSize,"duet-modal-gutter-large":"large"===this.gutterSize}},i("div",{class:"duet-modal-header"},i("span",{class:"duet-modal-inner-slot-top"},i("slot",{name:"top"})),this.icon&&i("duet-icon",{name:this.icon,size:"xx-large",color:this.color||t}),this.heading&&i("duet-heading",{level:this.headingLevel,theme:this.theme,id:this.modalId},this.heading)),i("span",{class:"duet-modal-inner-slot-default",id:this.slotDefaultId},i("slot",null))))),i(r,{moveFocusTo:this.buttonEl}))}get element(){return a(this)}static get watchers(){return{open:["openChanged"],active:["activeChanged"]}}};p.style='*,*::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}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.85);opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-overlay.duet-theme-turva{background:rgba(23, 28, 58, 0.85)}.duet-modal-overlay.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-overlay.duet-disable-transitions{transition:none}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}@media (max-width: 35.9375em){.duet-modal-inner.duet-modal-large{padding-right:0;padding-left:0}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:#00294d;background:white;border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal:focus{outline:0}.duet-modal-body{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body{padding:36px}.duet-modal-body.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;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:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d;text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}';export{p as duet_modal}
|