@duetds/components 6.7.1 → 6.8.1
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 +151 -54
- package/lib/cjs/action-arrow-right-24fe06be.js +8 -0
- 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 +4 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +21 -5
- package/lib/cjs/duet-card.cjs.entry.js +12 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +12 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +8 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -2
- 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 -2
- 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 +3 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +6 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +6 -2
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +38 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +9 -3
- package/lib/cjs/duet-modal.cjs.entry.js +13 -12
- 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-page-heading.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.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 +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- 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 +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/{focus-utils-b2f050a2.js → focus-utils-b0dc8aa1.js} +1 -1
- package/lib/cjs/{index-5d835acd.js → index-d02209e9.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common/index.js +1 -0
- package/lib/collection/common/runtime-types.js +5 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +2 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +6 -0
- package/lib/collection/components/duet-card/duet-card.css +14 -5
- package/lib/collection/components/duet-card/duet-card.js +34 -7
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +46 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +32 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +19 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +25 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +3 -1
- package/lib/collection/components/duet-grid/duet-grid.css +83 -0
- package/lib/collection/components/duet-grid/duet-grid.js +3 -1
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
- package/lib/collection/components/duet-heading/duet-heading.css +3 -0
- package/lib/collection/components/duet-hero/duet-hero.css +78 -24
- package/lib/collection/components/duet-icon/duet-icon.css +7 -0
- package/lib/collection/components/duet-icon/duet-icon.js +6 -4
- package/lib/collection/components/duet-input/duet-input.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +27 -0
- package/lib/collection/components/duet-link/duet-link.js +86 -2
- package/lib/collection/components/duet-list/duet-list.js +5 -1
- package/lib/collection/components/duet-list-item/duet-list-item.css +24 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +7 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +41 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +1 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +3 -0
- package/lib/collection/components/duet-modal/duet-modal.js +30 -12
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +5 -4
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +7 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +9 -9
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -2
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +0 -5
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -1
- package/lib/collection/components/duet-table/duet-table.css +11 -0
- package/lib/collection/components/duet-table/duet-table.js +20 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +2 -1
- 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 +5 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- 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 +15 -6
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +17 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +5 -3
- package/lib/dist-custom-elements/duet-combobox.js +10 -3
- package/lib/dist-custom-elements/duet-contact-card.js +11 -9
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- 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 +5 -6
- 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 +10 -10
- 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-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +41 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +10 -4
- package/lib/dist-custom-elements/duet-modal.js +19 -17
- 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 +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- 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 +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.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 +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- 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 +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- 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-ca2fe740.js → p-01ffc602.js} +1 -1
- package/lib/dist-custom-elements/{p-b9b19d30.js → p-156628ee.js} +1 -1
- package/lib/dist-custom-elements/{p-fcd87887.js → p-1ef726c7.js} +2 -2
- package/lib/dist-custom-elements/{p-7e1eab44.js → p-2053808f.js} +1 -1
- package/lib/dist-custom-elements/p-20a7e678.js +113 -0
- package/lib/dist-custom-elements/{p-a080c8ea.js → p-2b1e6b5d.js} +1 -1
- package/lib/dist-custom-elements/p-2d0de36a.js +178 -0
- package/lib/dist-custom-elements/{p-032585fc.js → p-326cf323.js} +7 -7
- package/lib/dist-custom-elements/{p-a4ba7145.js → p-3ec4c5a3.js} +6 -6
- package/lib/dist-custom-elements/{p-fd7efa16.js → p-43c6d719.js} +2 -2
- package/lib/dist-custom-elements/{p-42457971.js → p-51d9c7c1.js} +1 -1
- package/lib/dist-custom-elements/{p-6a1d1526.js → p-53e6d3f1.js} +1 -1
- package/lib/dist-custom-elements/{p-efd5d01e.js → p-55d4ce4d.js} +1 -1
- package/lib/dist-custom-elements/p-5cd6cc1c.js +123 -0
- package/lib/dist-custom-elements/{p-6fe0175a.js → p-6a114fc5.js} +1 -1
- package/lib/dist-custom-elements/{p-beeeb7a4.js → p-6aa4d505.js} +9 -9
- package/lib/dist-custom-elements/{p-adb9a785.js → p-6f251b0d.js} +2 -2
- package/lib/dist-custom-elements/p-6fa39608.js +6 -0
- package/lib/dist-custom-elements/{p-108485b6.js → p-76544393.js} +1 -1
- package/lib/dist-custom-elements/{p-43363964.js → p-9ffd6287.js} +2 -2
- package/lib/dist-custom-elements/{p-f65831ce.js → p-a9b833c4.js} +5 -1
- package/lib/dist-custom-elements/{p-fc98d756.js → p-aa4fc281.js} +1 -1
- package/lib/dist-custom-elements/{p-67e14cd3.js → p-aa7f3d85.js} +1 -1
- package/lib/dist-custom-elements/{p-1eb646ce.js → p-ba3c9ede.js} +1 -1
- package/lib/dist-custom-elements/{p-5c4104e5.js → p-bf7f746f.js} +2 -2
- package/lib/dist-custom-elements/{p-1b0ba3fe.js → p-c4e077b3.js} +4 -4
- package/lib/dist-custom-elements/{p-eb4fb7b2.js → p-cc3bb9f3.js} +3 -3
- package/lib/dist-custom-elements/{p-5fdfdb42.js → p-cdd3420f.js} +5 -5
- package/lib/dist-custom-elements/{p-697162df.js → p-d8caf2d2.js} +1 -1
- package/lib/dist-custom-elements/{p-614f2712.js → p-d9c36445.js} +2 -2
- package/lib/dist-custom-elements/{p-2a6f4122.js → p-e1c7945c.js} +3 -3
- package/lib/dist-custom-elements/{p-66ce2aa1.js → p-e65fa79a.js} +2 -2
- package/lib/dist-custom-elements/{p-c6137eb6.js → p-f6acbcec.js} +6 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d0a204dd.js → p-00172969.js} +1 -1
- package/lib/duet/{p-a29a4414.system.entry.js → p-0050fcea.system.entry.js} +1 -1
- package/lib/duet/{p-b4c89247.entry.js → p-03de94fe.entry.js} +1 -1
- package/lib/duet/{p-83a78090.system.entry.js → p-047713ed.system.entry.js} +1 -1
- package/lib/duet/p-04a72387.system.entry.js +4 -0
- package/lib/duet/{p-960b240d.system.entry.js → p-0535962b.system.entry.js} +1 -1
- package/lib/duet/{p-eac7d756.system.entry.js → p-05ca989b.system.entry.js} +1 -1
- package/lib/duet/{p-f6dfcdb7.system.entry.js → p-062f3759.system.entry.js} +1 -1
- package/lib/duet/{p-63996737.entry.js → p-072cc012.entry.js} +1 -1
- package/lib/duet/{p-ab13177d.entry.js → p-07e4077e.entry.js} +1 -1
- package/lib/duet/{p-88c382be.entry.js → p-0b8d596f.entry.js} +1 -1
- package/lib/duet/p-0c65784e.entry.js +4 -0
- package/lib/duet/{p-b87a1d54.system.entry.js → p-113efe69.system.entry.js} +2 -2
- package/lib/duet/{p-b3cdf97b.js → p-15df8929.js} +1 -1
- package/lib/duet/{p-ea0c5cce.system.entry.js → p-17680aab.system.entry.js} +1 -1
- package/lib/duet/{p-317e939c.system.entry.js → p-17d9c17b.system.entry.js} +1 -1
- package/lib/duet/p-1ace9df6.system.entry.js +4 -0
- package/lib/duet/p-1babc6be.entry.js +4 -0
- package/lib/duet/{p-8fcec069.system.entry.js → p-1c3be420.system.entry.js} +1 -1
- package/lib/duet/p-1d7f1df4.entry.js +4 -0
- package/lib/duet/p-1de3cfb8.entry.js +4 -0
- package/lib/duet/{p-8f806a8b.entry.js → p-2058c3cb.entry.js} +1 -1
- package/lib/duet/{p-cd51c9f9.entry.js → p-2065404b.entry.js} +1 -1
- package/lib/duet/{p-fd55984b.system.entry.js → p-20dc2ce5.system.entry.js} +1 -1
- package/lib/duet/{p-3a053f92.entry.js → p-21ecd01e.entry.js} +1 -1
- package/lib/duet/{p-23e7d935.entry.js → p-25f31f1d.entry.js} +1 -1
- package/lib/duet/{p-c4d454c3.entry.js → p-283301cd.entry.js} +1 -1
- package/lib/duet/{p-0c095985.system.js → p-2c44325a.system.js} +1 -1
- package/lib/duet/{p-a221c855.entry.js → p-2fb4f3b5.entry.js} +1 -1
- package/lib/duet/{p-07e066a7.entry.js → p-3176b8fc.entry.js} +1 -1
- package/lib/duet/{p-a5d5622d.system.entry.js → p-334a3c39.system.entry.js} +1 -1
- package/lib/duet/p-33884197.entry.js +4 -0
- package/lib/duet/p-34db2dcf.entry.js +4 -0
- package/lib/duet/{p-bb04665a.entry.js → p-35daef86.entry.js} +1 -1
- package/lib/duet/{p-9d0a9bd5.system.entry.js → p-35f98b09.system.entry.js} +1 -1
- package/lib/duet/{p-0c6ed41d.system.entry.js → p-365da977.system.entry.js} +1 -1
- package/lib/duet/{p-56db6310.entry.js → p-38a57d62.entry.js} +1 -1
- package/lib/duet/p-3a6729c3.entry.js +4 -0
- package/lib/duet/{p-22442b75.system.entry.js → p-3e100ee8.system.entry.js} +1 -1
- package/lib/duet/{p-cd44cc43.system.entry.js → p-40b97e14.system.entry.js} +1 -1
- package/lib/duet/p-410fd1f0.system.entry.js +4 -0
- package/lib/duet/{p-fb92ab7b.system.entry.js → p-427add54.system.entry.js} +1 -1
- package/lib/duet/{p-4d427b74.entry.js → p-4707c32c.entry.js} +1 -1
- package/lib/duet/{p-b9e6d933.system.entry.js → p-47ad406b.system.entry.js} +1 -1
- package/lib/duet/{p-ccca2abd.system.entry.js → p-4bd30449.system.entry.js} +1 -1
- package/lib/duet/p-4c1e550d.system.entry.js +4 -0
- package/lib/duet/{p-31dc2463.entry.js → p-4d585c01.entry.js} +1 -1
- package/lib/duet/{p-f7c8e22c.entry.js → p-4f03d185.entry.js} +1 -1
- package/lib/duet/{p-193cae12.system.entry.js → p-4f1e71ea.system.entry.js} +1 -1
- package/lib/duet/{p-4bf107bc.system.entry.js → p-51410532.system.entry.js} +1 -1
- package/lib/duet/p-561ad02e.system.entry.js +4 -0
- package/lib/duet/p-56574368.entry.js +4 -0
- package/lib/duet/p-56f058c2.entry.js +4 -0
- package/lib/duet/p-5f0b9b1c.system.entry.js +4 -0
- package/lib/duet/{p-dd52fc75.entry.js → p-61d0fa5b.entry.js} +1 -1
- package/lib/duet/{p-d5039af1.entry.js → p-643f0001.entry.js} +1 -1
- package/lib/duet/p-66584556.system.entry.js +4 -0
- package/lib/duet/{p-812836a4.entry.js → p-666fe490.entry.js} +1 -1
- package/lib/duet/{p-a917e3b6.entry.js → p-6a4118bf.entry.js} +1 -1
- package/lib/duet/{p-b5d742f4.entry.js → p-6ba49302.entry.js} +1 -1
- package/lib/duet/{p-a933c3f8.system.entry.js → p-6bce1181.system.entry.js} +1 -1
- package/lib/duet/{p-67d326ad.system.entry.js → p-6f621e11.system.entry.js} +1 -1
- package/lib/duet/p-6f85b3b2.entry.js +4 -0
- package/lib/duet/p-6fa39608.js +4 -0
- package/lib/duet/{p-31c08993.system.entry.js → p-700a95eb.system.entry.js} +1 -1
- package/lib/duet/{p-eb4dc652.system.entry.js → p-70f4ebe3.system.entry.js} +1 -1
- package/lib/duet/p-729a6e20.entry.js +4 -0
- package/lib/duet/{p-2af0cd90.system.entry.js → p-74ad3952.system.entry.js} +1 -1
- package/lib/duet/{p-322b78d6.system.entry.js → p-74d1ce07.system.entry.js} +1 -1
- package/lib/duet/{p-6d3af831.system.entry.js → p-7677f2f8.system.entry.js} +1 -1
- package/lib/duet/p-76858d7c.system.entry.js +4 -0
- package/lib/duet/{p-86fa6670.entry.js → p-7727a44a.entry.js} +1 -1
- package/lib/duet/{p-2634dad4.entry.js → p-78ed0c18.entry.js} +1 -1
- package/lib/duet/p-7a3f2b74.entry.js +4 -0
- package/lib/duet/p-7db95aa4.entry.js +4 -0
- package/lib/duet/{p-ba3c427f.entry.js → p-7dea3b1c.entry.js} +1 -1
- package/lib/duet/{p-6228593b.system.entry.js → p-7e97bed4.system.entry.js} +1 -1
- package/lib/duet/p-803bec7d.entry.js +4 -0
- package/lib/duet/p-81308c38.entry.js +4 -0
- package/lib/duet/{p-cd0c52b9.system.js → p-81844f31.system.js} +1 -1
- package/lib/duet/{p-9f1f39b5.entry.js → p-8821f614.entry.js} +1 -1
- package/lib/duet/p-8a363e59.entry.js +4 -0
- package/lib/duet/{p-9f11e160.system.entry.js → p-9291c5a9.system.entry.js} +1 -1
- package/lib/duet/{p-d54bc721.entry.js → p-9340367b.entry.js} +1 -1
- package/lib/duet/{p-8982ddf8.entry.js → p-93564d46.entry.js} +1 -1
- package/lib/duet/p-95c0d478.system.entry.js +4 -0
- package/lib/duet/{p-1f4351ab.system.entry.js → p-95c75961.system.entry.js} +1 -1
- package/lib/duet/p-975684e4.system.entry.js +4 -0
- package/lib/duet/p-9acb547a.entry.js +4 -0
- package/lib/duet/p-9bf1b6ec.entry.js +4 -0
- package/lib/duet/{p-460e0000.system.entry.js → p-9e6763fd.system.entry.js} +1 -1
- package/lib/duet/{p-b50558d2.entry.js → p-9e7923ce.entry.js} +1 -1
- package/lib/duet/{p-3575bb17.entry.js → p-a036041f.entry.js} +1 -1
- package/lib/duet/{p-2f560eb6.system.entry.js → p-a09e6bdb.system.entry.js} +2 -2
- package/lib/duet/p-a2293dee.system.js +4 -0
- package/lib/duet/{p-3c24751d.system.entry.js → p-a37ef41d.system.entry.js} +1 -1
- package/lib/duet/p-a3da6b7b.system.entry.js +4 -0
- package/lib/duet/{p-8d2d6072.entry.js → p-a5331bb2.entry.js} +1 -1
- package/lib/duet/{p-9629d71a.system.entry.js → p-a5b08a77.system.entry.js} +1 -1
- package/lib/duet/{p-6b420202.system.entry.js → p-a5db1616.system.entry.js} +1 -1
- package/lib/duet/{p-ff6679c1.entry.js → p-a7ee23c4.entry.js} +1 -1
- package/lib/duet/p-aace5d7b.entry.js +4 -0
- package/lib/duet/{p-33887f28.entry.js → p-afe0e62a.entry.js} +1 -1
- package/lib/duet/{p-59d0e9da.system.entry.js → p-b11d4150.system.entry.js} +1 -1
- package/lib/duet/{p-57ff4a56.system.entry.js → p-b226a97c.system.entry.js} +2 -2
- package/lib/duet/{p-25152446.system.entry.js → p-b35baeed.system.entry.js} +1 -1
- package/lib/duet/p-b81a4e3c.entry.js +4 -0
- package/lib/duet/{p-3a8be22c.entry.js → p-bb7b92e9.entry.js} +1 -1
- package/lib/duet/{p-1c8c6afd.entry.js → p-bde04bd3.entry.js} +1 -1
- package/lib/duet/{p-3b808dd4.system.entry.js → p-be1ca3c9.system.entry.js} +1 -1
- package/lib/duet/{p-0c53f007.system.entry.js → p-c1ebf12e.system.entry.js} +1 -1
- package/lib/duet/p-c538413b.system.entry.js +4 -0
- package/lib/duet/{p-8d545d1b.system.entry.js → p-c7b63dea.system.entry.js} +1 -1
- package/lib/duet/{p-fe87de6d.entry.js → p-c829c363.entry.js} +1 -1
- package/lib/duet/p-cad2ce97.system.entry.js +4 -0
- package/lib/duet/p-cd7db17d.entry.js +4 -0
- package/lib/duet/{p-88a6749f.system.entry.js → p-cdf2e7e8.system.entry.js} +1 -1
- package/lib/duet/p-d07aacdc.system.entry.js +4 -0
- package/lib/duet/p-d337fd5d.entry.js +4 -0
- package/lib/duet/{p-b44772bb.entry.js → p-d6925758.entry.js} +1 -1
- package/lib/duet/{p-83740a39.entry.js → p-d82c4706.entry.js} +1 -1
- package/lib/duet/{p-fcdc6d18.entry.js → p-da8c937e.entry.js} +1 -1
- package/lib/duet/p-dd994793.system.js +4 -0
- package/lib/duet/p-deadbb54.system.entry.js +4 -0
- package/lib/duet/p-e4355e6c.entry.js +4 -0
- package/lib/duet/{p-e79b8e08.system.entry.js → p-e56d2f1e.system.entry.js} +1 -1
- package/lib/duet/p-e5aaea95.entry.js +4 -0
- package/lib/duet/p-e97f7391.system.entry.js +4 -0
- package/lib/duet/{p-49cf2d52.system.entry.js → p-ec4e2f2a.system.entry.js} +1 -1
- package/lib/duet/p-f12bf693.entry.js +4 -0
- package/lib/duet/{p-3a2bc2f9.system.entry.js → p-f3ac3c5b.system.entry.js} +1 -1
- package/lib/duet/{p-b2ba1012.system.entry.js → p-f599ebfc.system.entry.js} +1 -1
- package/lib/duet/{p-77149afc.entry.js → p-f5db84bb.entry.js} +1 -1
- package/lib/duet/{p-924a6fae.system.entry.js → p-f6b884c4.system.entry.js} +1 -1
- package/lib/duet/{p-43d6c9e5.system.entry.js → p-f86b3eb4.system.entry.js} +1 -1
- package/lib/duet/{p-f695a268.system.entry.js → p-f936f13c.system.entry.js} +1 -1
- package/lib/duet/{p-8757adcf.system.entry.js → p-f9b6198b.system.entry.js} +1 -1
- package/lib/duet/{p-8d129d52.entry.js → p-fd5f21d8.entry.js} +1 -1
- package/lib/duet/{p-f364ae29.entry.js → p-fed8565c.entry.js} +1 -1
- package/lib/esm/action-arrow-right-f7d56681.js +6 -0
- 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 +4 -3
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +21 -5
- package/lib/esm/duet-card.entry.js +12 -4
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +12 -4
- package/lib/esm/duet-collapsible.entry.js +3 -2
- package/lib/esm/duet-combobox.entry.js +8 -2
- package/lib/esm/duet-contact-card.entry.js +4 -2
- 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 -2
- 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 +2 -3
- package/lib/esm/duet-grid_2.entry.js +4 -2
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +6 -4
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +6 -2
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +38 -3
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +9 -3
- package/lib/esm/duet-modal.entry.js +13 -12
- 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-page-heading.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.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 +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/{focus-utils-cf8246ed.js → focus-utils-e582db06.js} +1 -1
- package/lib/esm/{index-df15a197.js → index-2ffd554c.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/action-arrow-right-f7d56681.js +4 -0
- 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 +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.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 +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-menu-bar-button.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-page-heading.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 +2 -2
- 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.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 +1 -1
- 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 +2 -2
- 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-cf8246ed.js → focus-utils-e582db06.js} +1 -1
- package/lib/esm-es5/{index-df15a197.js → index-2ffd554c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/common/runtime-types.d.ts +2 -0
- package/lib/types/common-types.d.ts +5 -1
- package/lib/types/components/duet-card/duet-card.d.ts +10 -2
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +6 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +6 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +15 -1
- package/lib/types/components/duet-list/duet-list.d.ts +1 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +7 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +8 -2
- package/lib/types/components/duet-table/duet-table.d.ts +4 -0
- package/lib/types/components.d.ts +84 -12
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-562ae9bf.js +0 -176
- package/lib/dist-custom-elements/p-646d548a.js +0 -120
- package/lib/dist-custom-elements/p-7c398a84.js +0 -94
- package/lib/duet/p-03cfa47f.entry.js +0 -4
- package/lib/duet/p-0656f2f9.system.entry.js +0 -4
- package/lib/duet/p-08ef8050.system.entry.js +0 -4
- package/lib/duet/p-0adf7b64.entry.js +0 -4
- package/lib/duet/p-1550576c.entry.js +0 -4
- package/lib/duet/p-18c0ff13.entry.js +0 -4
- package/lib/duet/p-193a8abf.entry.js +0 -4
- package/lib/duet/p-1b7f8128.entry.js +0 -4
- package/lib/duet/p-1d0fe0e5.entry.js +0 -4
- package/lib/duet/p-228a7948.entry.js +0 -4
- package/lib/duet/p-25cfb26a.system.entry.js +0 -4
- package/lib/duet/p-2c0dbf48.system.entry.js +0 -4
- package/lib/duet/p-35853dae.system.entry.js +0 -4
- package/lib/duet/p-466aa228.entry.js +0 -4
- package/lib/duet/p-4c3009d4.entry.js +0 -4
- package/lib/duet/p-51eee6b2.system.entry.js +0 -4
- package/lib/duet/p-59ab89fe.entry.js +0 -4
- package/lib/duet/p-5a158681.system.entry.js +0 -4
- package/lib/duet/p-5c142974.system.entry.js +0 -4
- package/lib/duet/p-703d38f6.entry.js +0 -4
- package/lib/duet/p-77f82263.entry.js +0 -4
- package/lib/duet/p-92e65f96.entry.js +0 -4
- package/lib/duet/p-9b9055ce.entry.js +0 -4
- package/lib/duet/p-9c87118f.entry.js +0 -4
- package/lib/duet/p-a1199061.system.entry.js +0 -4
- package/lib/duet/p-acad33fd.entry.js +0 -4
- package/lib/duet/p-b5895431.system.entry.js +0 -4
- package/lib/duet/p-b7867483.system.entry.js +0 -4
- package/lib/duet/p-bbd312c3.entry.js +0 -4
- package/lib/duet/p-c0b16f31.entry.js +0 -4
- package/lib/duet/p-c9971192.system.entry.js +0 -4
- package/lib/duet/p-cc12d9fa.entry.js +0 -4
- package/lib/duet/p-cd24dd64.entry.js +0 -4
- package/lib/duet/p-d4a49f9d.entry.js +0 -4
- package/lib/duet/p-d6c3dc66.entry.js +0 -4
- package/lib/duet/p-de63db12.system.entry.js +0 -4
- package/lib/duet/p-e2592469.system.entry.js +0 -4
- package/lib/duet/p-ef6131cf.system.entry.js +0 -4
- package/lib/duet/p-f20780ad.system.js +0 -4
- package/lib/duet/p-f3340517.entry.js +0 -4
- package/lib/duet/p-f495c3af.system.entry.js +0 -4
- package/lib/duet/p-fcaa49c3.entry.js +0 -4
|
@@ -29,6 +29,7 @@ export class DuetTable {
|
|
|
29
29
|
this.sticky = false;
|
|
30
30
|
this.stickyDistance = "with-links";
|
|
31
31
|
this.breakpoint = "small";
|
|
32
|
+
this.hideHeadVisually = false;
|
|
32
33
|
}
|
|
33
34
|
connectedCallback() {
|
|
34
35
|
if (Build.isServer) {
|
|
@@ -99,6 +100,7 @@ export class DuetTable {
|
|
|
99
100
|
"duet-table-scrollable": this.breakpoint === "none-scrollable",
|
|
100
101
|
"duet-m-0": this.margin === "none",
|
|
101
102
|
"duet-theme-turva": this.theme === "turva",
|
|
103
|
+
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
102
104
|
} }, h("slot", null)));
|
|
103
105
|
}
|
|
104
106
|
static get is() { return "duet-table"; }
|
|
@@ -245,6 +247,24 @@ export class DuetTable {
|
|
|
245
247
|
"attribute": "breakpoint",
|
|
246
248
|
"reflect": false,
|
|
247
249
|
"defaultValue": "\"small\""
|
|
250
|
+
},
|
|
251
|
+
"hideHeadVisually": {
|
|
252
|
+
"type": "boolean",
|
|
253
|
+
"mutable": false,
|
|
254
|
+
"complexType": {
|
|
255
|
+
"original": "boolean",
|
|
256
|
+
"resolved": "boolean",
|
|
257
|
+
"references": {}
|
|
258
|
+
},
|
|
259
|
+
"required": false,
|
|
260
|
+
"optional": false,
|
|
261
|
+
"docs": {
|
|
262
|
+
"tags": [],
|
|
263
|
+
"text": "Hide a thead section visually. The content is still available to screen readers."
|
|
264
|
+
},
|
|
265
|
+
"attribute": "hide-head-visually",
|
|
266
|
+
"reflect": false,
|
|
267
|
+
"defaultValue": "false"
|
|
248
268
|
}
|
|
249
269
|
};
|
|
250
270
|
}
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
.duet-toolbar-dropdown.duet-theme-turva button {
|
|
101
101
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
102
|
-
color: rgb(
|
|
102
|
+
color: rgb(23, 28, 58);
|
|
103
103
|
}
|
|
104
104
|
.duet-toolbar-dropdown.duet-theme-turva button:hover {
|
|
105
105
|
color: rgb(23, 28, 58);
|
|
@@ -41,7 +41,7 @@ export class DuetToolbarDropdown {
|
|
|
41
41
|
} }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
42
42
|
active: this.active,
|
|
43
43
|
open: this.open,
|
|
44
|
-
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
44
|
+
}, onClick: this.onClick }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
45
45
|
items: true,
|
|
46
46
|
hidden: !this.open,
|
|
47
47
|
} }, h("slot", null)))));
|
|
@@ -38,10 +38,11 @@
|
|
|
38
38
|
color: rgb(0, 77, 128);
|
|
39
39
|
text-align: center;
|
|
40
40
|
text-decoration: none;
|
|
41
|
+
white-space: nowrap;
|
|
41
42
|
}
|
|
42
43
|
.duet-toolbar-link.duet-theme-turva {
|
|
43
44
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
44
|
-
color: rgb(
|
|
45
|
+
color: rgb(23, 28, 58);
|
|
45
46
|
}
|
|
46
47
|
.duet-toolbar-link:hover {
|
|
47
48
|
color: rgb(0, 41, 77);
|
|
@@ -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-e1c7945c.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-cdd3420f.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$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 DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-51d9c7c1.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-f6acbcec.js';
|
|
7
7
|
|
|
8
|
-
const duetBreadcrumbCss = "*,*::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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
|
|
8
|
+
const duetBreadcrumbCss = "*,*::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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";
|
|
9
9
|
|
|
10
10
|
const DuetBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
11
11
|
constructor() {
|
|
@@ -31,7 +31,8 @@ const DuetBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
31
31
|
return (h(Host, null, h("a", { class: {
|
|
32
32
|
"duet-breadcrumb": true,
|
|
33
33
|
"duet-theme-turva": this.theme === "turva",
|
|
34
|
-
|
|
34
|
+
"duet-breadcrumb-without-href": !this.href,
|
|
35
|
+
}, href: this.href ? this.href : undefined, "aria-label": this.accessibleLabel }, this.icon && h("duet-icon", { size: "x-small", name: this.icon, margin: "none", color: "currentColor" }), !this.icon && h("slot", null))));
|
|
35
36
|
}
|
|
36
37
|
static get style() { return duetBreadcrumbCss; }
|
|
37
38
|
}, [1, "duet-breadcrumb", {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getLocaleString } from './p-6c05e879.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-f6acbcec.js';
|
|
8
8
|
|
|
9
9
|
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>"};
|
|
10
10
|
|
|
11
|
-
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}.duet-breadcrumbs{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 ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 16px;color:rgb(0, 41, 77);list-style:none;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 62em){.duet-breadcrumbs ol{padding:10px 36px}}.duet-breadcrumbs.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-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
|
|
11
|
+
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}.duet-breadcrumbs{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 ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 16px;color:rgb(0, 41, 77);list-style:none;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 62em){.duet-breadcrumbs ol{padding:10px 36px}}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs.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-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
|
|
12
12
|
|
|
13
13
|
const DuetBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
14
14
|
constructor() {
|
|
@@ -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-c4e077b3.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$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 DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-aa4fc281.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
8
8
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
9
9
|
import { g as getColorByName } from './p-9ed347f9.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-f6acbcec.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-55d4ce4d.js';
|
|
12
|
+
|
|
13
|
+
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
14
|
+
const duetBlock = "div";
|
|
12
15
|
|
|
13
16
|
var actionArrowUp={"title":"action-arrow-up","tags":"action arrow up caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z\"/></svg>"};
|
|
14
17
|
|
|
15
|
-
const duetCardCss = "*,*::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;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:block;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\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(0, 80, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;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-weight:800;color:rgb(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}.duet-card-heading[role=button]{-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:4px;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;appearance:none}.duet-card-heading[role=button]:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading[role=button]:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading[role=button]:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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);border-color:rgb(228, 228, 230)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0 0 20px !important;margin:0 0 20px}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 245, 247)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:12px 0 !important;margin:20px 0 0}.duet-card-content{width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;margin:0 0 20px}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}";
|
|
18
|
+
const duetCardCss = "*,*::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;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:block;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\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(0, 80, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;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-weight:800;color:rgb(0, 41, 77);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading[role=button]{-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:4px;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;appearance:none}.duet-card-heading[role=button]:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading[role=button]:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading[role=button]:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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);border-color:rgb(228, 228, 230)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 245, 247)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}";
|
|
16
19
|
|
|
17
20
|
const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
18
21
|
constructor() {
|
|
@@ -44,6 +47,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
44
47
|
this.collapsible = false;
|
|
45
48
|
this.open = true;
|
|
46
49
|
this.headingLevel = "h2";
|
|
50
|
+
this.headingBackground = undefined;
|
|
47
51
|
this.icon = undefined;
|
|
48
52
|
this.image = undefined;
|
|
49
53
|
this.background = "gray-lightest";
|
|
@@ -62,7 +66,8 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
62
66
|
this.hasFooter = !!this.element.querySelector("[slot='footer']");
|
|
63
67
|
}
|
|
64
68
|
renderHeading() {
|
|
65
|
-
const
|
|
69
|
+
const safeHeadingLevel = sanitizeString(this.headingLevel);
|
|
70
|
+
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
66
71
|
const headingProps = this.collapsible
|
|
67
72
|
? {
|
|
68
73
|
role: "button",
|
|
@@ -73,7 +78,10 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
73
78
|
onKeyDown: this.handleKeyDown,
|
|
74
79
|
}
|
|
75
80
|
: {};
|
|
76
|
-
|
|
81
|
+
const headingStyles = {
|
|
82
|
+
backgroundColor: getColorByName(this.headingBackground),
|
|
83
|
+
};
|
|
84
|
+
return (h(HeadingTag, Object.assign({ style: headingStyles, class: "duet-card-heading" }, headingProps), h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: actionArrowUp.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
|
|
77
85
|
}
|
|
78
86
|
/**
|
|
79
87
|
* Sets focus on the specified `duet-card`. Use this method instead of the global
|
|
@@ -118,6 +126,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
118
126
|
"collapsible": [4],
|
|
119
127
|
"open": [1540],
|
|
120
128
|
"headingLevel": [1, "heading-level"],
|
|
129
|
+
"headingBackground": [1, "heading-background"],
|
|
121
130
|
"icon": [1],
|
|
122
131
|
"image": [1],
|
|
123
132
|
"background": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-2b1e6b5d.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$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 DuetCheckmark$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-53e6d3f1.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { f as findCheckedOption, w as watchForOptions } from './p-12721178.js';
|
|
7
|
-
import { d as defineCustomElement$6 } from './p-
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$6 } from './p-aa4fc281.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-bf7f746f.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-f6acbcec.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-cc3bb9f3.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-6a114fc5.js';
|
|
12
12
|
|
|
13
|
-
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}@media (
|
|
13
|
+
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}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex;margin-bottom:0}}.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}";
|
|
14
14
|
|
|
15
15
|
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
16
16
|
const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
@@ -50,6 +50,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
50
50
|
this.tooltip = undefined;
|
|
51
51
|
this.tooltipDirection = "auto";
|
|
52
52
|
this.responsive = false;
|
|
53
|
+
this.breakpoint = "small";
|
|
53
54
|
this.value = undefined;
|
|
54
55
|
this.disabled = undefined;
|
|
55
56
|
}
|
|
@@ -128,7 +129,14 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
128
129
|
* Always the last one in the class.
|
|
129
130
|
*/
|
|
130
131
|
render() {
|
|
131
|
-
return (h(Host, { onDuetChange: this.onSelect, class: {
|
|
132
|
+
return (h(Host, { onDuetChange: this.onSelect, class: {
|
|
133
|
+
horizontal: this.direction === "horizontal",
|
|
134
|
+
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
135
|
+
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
136
|
+
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
137
|
+
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
138
|
+
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
139
|
+
} }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("div", { class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
|
|
132
140
|
}
|
|
133
141
|
get element() { return this; }
|
|
134
142
|
static get watchers() { return {
|
|
@@ -151,6 +159,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
151
159
|
"tooltip": [1],
|
|
152
160
|
"tooltipDirection": [1, "tooltip-direction"],
|
|
153
161
|
"responsive": [4],
|
|
162
|
+
"breakpoint": [1],
|
|
154
163
|
"value": [1537],
|
|
155
164
|
"disabled": [4]
|
|
156
165
|
}]);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { F as FocusGuard } from './p-efaad71c.js';
|
|
9
9
|
import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
|
|
10
10
|
import { g as getLocaleString, a as getLanguage } from './p-6c05e879.js';
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-aa4fc281.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-f6acbcec.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-55d4ce4d.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-6a114fc5.js';
|
|
15
15
|
|
|
16
16
|
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>"};
|
|
17
17
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './p-c4d8cad0.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
8
|
import { c as createID } from './p-c1325e35.js';
|
|
9
9
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
10
10
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-f6acbcec.js';
|
|
12
12
|
|
|
13
13
|
const duetCollapsibleCss = "*,*::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;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.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{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.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 rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.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)}";
|
|
14
14
|
|
|
@@ -66,6 +66,7 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
this.theme = "";
|
|
69
|
+
this.accessibleLabel = undefined;
|
|
69
70
|
this.heading = "";
|
|
70
71
|
this.headingWeight = "semibold";
|
|
71
72
|
this.headingSize = undefined;
|
|
@@ -101,12 +102,13 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
101
102
|
"duet-theme-turva": this.theme === "turva",
|
|
102
103
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
103
104
|
"has-after-heading": this.hasAfterHeading,
|
|
104
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", null, h("slot", { name: "after-heading" }))))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
|
|
105
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", null, h("slot", { name: "after-heading" }))))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
|
|
105
106
|
}
|
|
106
107
|
get element() { return this; }
|
|
107
108
|
static get style() { return duetCollapsibleCss; }
|
|
108
109
|
}, [1, "duet-collapsible", {
|
|
109
110
|
"theme": [1025],
|
|
111
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
110
112
|
"heading": [1],
|
|
111
113
|
"headingWeight": [1, "heading-weight"],
|
|
112
114
|
"headingSize": [1, "heading-size"],
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { d as debounce } from './p-0b3f675e.js';
|
|
7
7
|
import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage } from './p-6c05e879.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
10
|
import { h, F as Fragment } from './p-152ee893.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-f6acbcec.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|
|
@@ -81,6 +81,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
81
81
|
this.formatter = (item) => item && item.name ? item.name : "";
|
|
82
82
|
this.value = undefined;
|
|
83
83
|
this.minCharacters = 1;
|
|
84
|
+
this.openListOnClick = false;
|
|
84
85
|
}
|
|
85
86
|
activeItemHandler(state) {
|
|
86
87
|
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ? `active_item` : "";
|
|
@@ -112,7 +113,12 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
112
113
|
this.input = this.element.querySelector("duet-input");
|
|
113
114
|
this.input.addEventListener("duetChange", this.updateInputValue.bind(this));
|
|
114
115
|
this.input.addEventListener("click", () => {
|
|
115
|
-
|
|
116
|
+
if (!this.openListOnClick) {
|
|
117
|
+
this.inputValue.length >= this.minCharacters ? (this.listOpen = true) : (this.listOpen = false);
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
this.listOpen = !this.listOpen;
|
|
121
|
+
}
|
|
116
122
|
});
|
|
117
123
|
this.element.addEventListener("keydown", this.handleInputKeyDownEvent.bind(this));
|
|
118
124
|
//add correct aria attributes to the input element
|
|
@@ -370,6 +376,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
370
376
|
"formatter": [16],
|
|
371
377
|
"value": [1537],
|
|
372
378
|
"minCharacters": [2, "min-characters"],
|
|
379
|
+
"openListOnClick": [4, "open-list-on-click"],
|
|
373
380
|
"processedItems": [32],
|
|
374
381
|
"inputWidth": [32],
|
|
375
382
|
"inputValue": [32],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
|
|
7
|
-
import { d as defineCustomElement$8 } from './p-
|
|
8
|
-
import { d as defineCustomElement$7 } from './p-
|
|
9
|
-
import { d as defineCustomElement$6 } from './p-
|
|
10
|
-
import { d as defineCustomElement$5 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$8 } from './p-c4e077b3.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-6f251b0d.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-f6acbcec.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-20a7e678.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-ba3c9ede.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-2053808f.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-6a114fc5.js';
|
|
14
14
|
|
|
15
15
|
const duetContactCardCss = "*,*::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;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;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)}.duet-contact-card.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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;word-break:break-all}";
|
|
16
16
|
|
|
@@ -56,10 +56,12 @@ const DuetContactCard$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
56
56
|
* Always the last one in the class.
|
|
57
57
|
*/
|
|
58
58
|
render() {
|
|
59
|
+
const isTurva = this.theme === "turva";
|
|
60
|
+
const theme = isTurva ? "turva" : "default";
|
|
59
61
|
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
|
|
60
62
|
"duet-contact-card": true,
|
|
61
63
|
"duet-theme-turva": this.theme === "turva",
|
|
62
|
-
}, "aria-role": "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none" }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none" }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none" }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}
|
|
64
|
+
}, "aria-role": "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
|
|
63
65
|
}
|
|
64
66
|
get element() { return this; }
|
|
65
67
|
static get style() { return duetContactCardCss; }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$6 } from './p-
|
|
7
|
-
import { d as defineCustomElement$5 } from './p-
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$6 } from './p-c4e077b3.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './p-f6acbcec.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-55d4ce4d.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-2053808f.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-6a114fc5.js';
|
|
11
11
|
|
|
12
12
|
const duetCookieConsentCss = "*,*::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;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-cookie-consent{padding:20px;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:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
|
|
13
13
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-aa7f3d85.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { F as FocusGuard } from './p-efaad71c.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-6c05e879.js';
|
|
9
9
|
import { h } from './p-152ee893.js';
|
|
10
|
-
import { d as defineCustomElement$a } from './p-
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$a } from './p-e1c7945c.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-c4e077b3.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-aa4fc281.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-f6acbcec.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-6aa4d505.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-d8caf2d2.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-2053808f.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-cc3bb9f3.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-6a114fc5.js';
|
|
19
19
|
|
|
20
20
|
const formatOptionsShort = { day: "numeric", month: "long" };
|
|
21
21
|
const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
|