@duetds/components 8.0.3 → 8.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +152 -24
- 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-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +30 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- 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-file-chooser.cjs.entry.js +59 -0
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -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-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -3
- package/lib/cjs/duet-slideout.cjs.entry.js +24 -5
- 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 +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- 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-upload-item.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-04f168fd.js → focus-utils-9b46865d.js} +1 -1
- package/lib/cjs/{index-b9ee6ca5.js → index-9e2ea961.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-choice/duet-choice.js +72 -9
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +40 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +22 -0
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +189 -0
- package/lib/collection/components/duet-input/duet-input.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -0
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +40 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +51 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +27 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +11 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +0 -20
- 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 +5 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +0 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +2 -6
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +1 -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-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +15 -10
- package/lib/dist-custom-elements/duet-choice.js +31 -8
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +5 -5
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- 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-file-chooser.d.ts +11 -0
- package/lib/dist-custom-elements/duet-file-chooser.js +85 -0
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- 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 +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +15 -10
- 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-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +10 -6
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +13 -3
- package/lib/dist-custom-elements/duet-slideout.js +25 -5
- 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 +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +14 -15
- 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 +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.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-7f09da03.js → p-08b3f943.js} +5 -5
- package/lib/dist-custom-elements/{p-46d172ad.js → p-105af500.js} +8 -8
- package/lib/dist-custom-elements/{p-647197d2.js → p-1296f08a.js} +11 -11
- package/lib/dist-custom-elements/{p-1a0d1104.js → p-1e625a72.js} +6 -3
- package/lib/dist-custom-elements/{p-1b63a427.js → p-219d974b.js} +1 -1
- package/lib/dist-custom-elements/{p-a6a02d26.js → p-2434057e.js} +1 -1
- package/lib/dist-custom-elements/{p-90901592.js → p-24a51286.js} +1 -1
- package/lib/dist-custom-elements/{p-77dc878e.js → p-3a63e916.js} +4 -4
- package/lib/dist-custom-elements/{p-7b7d919c.js → p-3f6372e1.js} +5 -5
- package/lib/dist-custom-elements/{p-e31a9266.js → p-40f73dc7.js} +5 -5
- package/lib/dist-custom-elements/{p-e6ce939c.js → p-4469d73c.js} +1 -1
- package/lib/dist-custom-elements/{p-73858765.js → p-49a51210.js} +3 -3
- package/lib/dist-custom-elements/{p-960c3c51.js → p-650d5990.js} +1 -1
- package/lib/dist-custom-elements/{p-8ba450f0.js → p-670570b2.js} +1 -1
- package/lib/dist-custom-elements/{p-85817780.js → p-701d0f44.js} +1 -1
- package/lib/dist-custom-elements/{p-d547ac90.js → p-7855af1f.js} +2 -2
- package/lib/dist-custom-elements/{p-fc76a9f3.js → p-8290757e.js} +1 -1
- package/lib/dist-custom-elements/{p-423d3f0d.js → p-8350edff.js} +3 -3
- package/lib/dist-custom-elements/{p-b1795ede.js → p-8a760b84.js} +1 -1
- package/lib/dist-custom-elements/{p-a7c46306.js → p-9d8865d0.js} +1 -1
- package/lib/dist-custom-elements/{p-60f6b2e8.js → p-a848925d.js} +2 -2
- package/lib/dist-custom-elements/{p-6c228574.js → p-a90d09f3.js} +2 -2
- package/lib/dist-custom-elements/{p-8c68da59.js → p-aa5fdf1c.js} +1 -1
- package/lib/dist-custom-elements/{p-16b97666.js → p-ae0811df.js} +2 -2
- package/lib/dist-custom-elements/{p-970d143f.js → p-ae75bc08.js} +1 -1
- package/lib/dist-custom-elements/{p-71f948ca.js → p-b0ed56f3.js} +1 -1
- package/lib/dist-custom-elements/{p-f12d5ad9.js → p-b996e85b.js} +1 -1
- package/lib/dist-custom-elements/{p-27c98907.js → p-bafa44de.js} +10 -10
- package/lib/dist-custom-elements/{p-ebfb1ccd.js → p-bde48422.js} +1 -1
- package/lib/dist-custom-elements/{p-c230fe39.js → p-c137ffb9.js} +2 -2
- package/lib/dist-custom-elements/{p-84065d73.js → p-cb0eec72.js} +1 -1
- package/lib/dist-custom-elements/{p-e3b1a969.js → p-d3ee5c39.js} +1 -1
- package/lib/dist-custom-elements/{p-a62138f2.js → p-d7f8cd01.js} +1 -1
- package/lib/dist-custom-elements/{p-99b8d96d.js → p-e558d310.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-62839e24.entry.js → p-00b1b87e.entry.js} +1 -1
- package/lib/duet/{p-0b59eb11.entry.js → p-035ed3a5.entry.js} +1 -1
- package/lib/duet/{p-b9434c17.entry.js → p-075d23d4.entry.js} +1 -1
- package/lib/duet/{p-ce1d649d.entry.js → p-079a4f75.entry.js} +1 -1
- package/lib/duet/p-080af406.entry.js +4 -0
- package/lib/duet/{p-d2f6423e.system.entry.js → p-087aeef6.system.entry.js} +1 -1
- package/lib/duet/p-0a929975.system.entry.js +4 -0
- package/lib/duet/{p-a8a32775.entry.js → p-0b479ca3.entry.js} +1 -1
- package/lib/duet/{p-6c405b4d.system.entry.js → p-0beab734.system.entry.js} +1 -1
- package/lib/duet/{p-fbefd879.entry.js → p-0c2260c1.entry.js} +1 -1
- package/lib/duet/{p-f7f200b1.system.entry.js → p-0f810b17.system.entry.js} +1 -1
- package/lib/duet/{p-c918ea31.entry.js → p-0ff971c3.entry.js} +1 -1
- package/lib/duet/{p-397aa011.system.entry.js → p-1088a724.system.entry.js} +1 -1
- package/lib/duet/{p-64bc0173.entry.js → p-11c0868f.entry.js} +1 -1
- package/lib/duet/{p-0d22fa04.entry.js → p-12b77122.entry.js} +1 -1
- package/lib/duet/{p-01bd8000.entry.js → p-162d843a.entry.js} +1 -1
- package/lib/duet/{p-7751209d.entry.js → p-196d661f.entry.js} +1 -1
- package/lib/duet/{p-74d79e97.entry.js → p-1a7b4937.entry.js} +1 -1
- package/lib/duet/{p-97ccb6b2.entry.js → p-1c2a80cb.entry.js} +1 -1
- package/lib/duet/{p-a3fd3b97.entry.js → p-20ac2a2d.entry.js} +1 -1
- package/lib/duet/{p-ef8efbf5.entry.js → p-21665b49.entry.js} +1 -1
- package/lib/duet/{p-971fe383.system.entry.js → p-2176c975.system.entry.js} +1 -1
- package/lib/duet/{p-c7b04440.system.js → p-227a98c3.system.js} +1 -1
- package/lib/duet/p-24a81bf6.system.entry.js +4 -0
- package/lib/duet/{p-39bd9bac.entry.js → p-24f7cd35.entry.js} +1 -1
- package/lib/duet/{p-ff3660d4.system.entry.js → p-27db4f60.system.entry.js} +1 -1
- package/lib/duet/{p-55eb8c7c.system.entry.js → p-2869dc54.system.entry.js} +1 -1
- package/lib/duet/{p-58e07a25.entry.js → p-28d09818.entry.js} +1 -1
- package/lib/duet/{p-a9a50440.system.entry.js → p-29800d01.system.entry.js} +1 -1
- package/lib/duet/p-29d7df6e.entry.js +4 -0
- package/lib/duet/{p-1fccc372.system.entry.js → p-2a0f3958.system.entry.js} +1 -1
- package/lib/duet/{p-706cd2e1.system.entry.js → p-2afb3d9f.system.entry.js} +1 -1
- package/lib/duet/{p-a43c1a0f.entry.js → p-2c971ea1.entry.js} +1 -1
- package/lib/duet/{p-f04338dd.system.entry.js → p-2cc074b2.system.entry.js} +1 -1
- package/lib/duet/{p-a494f7d2.system.entry.js → p-2f8c95b7.system.entry.js} +1 -1
- package/lib/duet/{p-638f7d0e.entry.js → p-306c56d8.entry.js} +1 -1
- package/lib/duet/{p-c7303568.system.entry.js → p-3158cd64.system.entry.js} +1 -1
- package/lib/duet/{p-2e719260.entry.js → p-3247b913.entry.js} +1 -1
- package/lib/duet/p-34c59882.entry.js +4 -0
- package/lib/duet/{p-603a7942.system.entry.js → p-35c39ed3.system.entry.js} +1 -1
- package/lib/duet/{p-3b06e609.system.entry.js → p-35fff67f.system.entry.js} +1 -1
- package/lib/duet/{p-d22d1465.entry.js → p-367d5eb9.entry.js} +1 -1
- package/lib/duet/{p-8f191365.system.entry.js → p-3973c640.system.entry.js} +1 -1
- package/lib/duet/{p-2e6d11c7.system.entry.js → p-3cbbc148.system.entry.js} +1 -1
- package/lib/duet/{p-a923e368.system.entry.js → p-3e6ef3dd.system.entry.js} +1 -1
- package/lib/duet/{p-546d7868.entry.js → p-40b64c0f.entry.js} +1 -1
- package/lib/duet/{p-5317f4fb.entry.js → p-41ad5fe4.entry.js} +1 -1
- package/lib/duet/{p-915e638f.system.entry.js → p-424f29fc.system.entry.js} +1 -1
- package/lib/duet/{p-c0e476fd.system.entry.js → p-453ec42e.system.entry.js} +1 -1
- package/lib/duet/{p-f448c5da.system.entry.js → p-487fd6b0.system.entry.js} +1 -1
- package/lib/duet/{p-cc104f41.system.entry.js → p-49a7c9ae.system.entry.js} +1 -1
- package/lib/duet/{p-ae3622ce.system.entry.js → p-49c560a4.system.entry.js} +1 -1
- package/lib/duet/{p-7a2b0683.system.entry.js → p-4b0cee30.system.entry.js} +1 -1
- package/lib/duet/{p-8ee612f4.entry.js → p-50f395c1.entry.js} +1 -1
- package/lib/duet/{p-cc434423.system.entry.js → p-51a3bd98.system.entry.js} +1 -1
- package/lib/duet/{p-9ff3ef1a.system.entry.js → p-523b6afe.system.entry.js} +1 -1
- package/lib/duet/{p-3b11f97a.entry.js → p-53490e72.entry.js} +1 -1
- package/lib/duet/{p-436745f1.system.entry.js → p-5390af39.system.entry.js} +1 -1
- package/lib/duet/{p-2ea486ae.system.entry.js → p-5ddd8a91.system.entry.js} +1 -1
- package/lib/duet/{p-63370211.entry.js → p-5e6d0fba.entry.js} +1 -1
- package/lib/duet/{p-14c30d34.entry.js → p-602f1983.entry.js} +1 -1
- package/lib/duet/p-60e4c89d.entry.js +4 -0
- package/lib/duet/{p-1910a63b.system.entry.js → p-60ed1a37.system.entry.js} +1 -1
- package/lib/duet/{p-4901f740.system.entry.js → p-61755646.system.entry.js} +1 -1
- package/lib/duet/{p-30eadd8b.system.entry.js → p-61e03237.system.entry.js} +1 -1
- package/lib/duet/{p-4f2f039c.system.entry.js → p-61e50943.system.entry.js} +1 -1
- package/lib/duet/{p-9594405f.entry.js → p-6278cc44.entry.js} +1 -1
- package/lib/duet/{p-9d445004.entry.js → p-62cc70a1.entry.js} +1 -1
- package/lib/duet/{p-e90a1481.entry.js → p-63635163.entry.js} +1 -1
- package/lib/duet/{p-2126a190.system.entry.js → p-6376d683.system.entry.js} +1 -1
- package/lib/duet/{p-569be9eb.system.entry.js → p-63e91537.system.entry.js} +1 -1
- package/lib/duet/{p-5fe520fd.entry.js → p-659e1bf0.entry.js} +1 -1
- package/lib/duet/{p-78408872.system.entry.js → p-65c96206.system.entry.js} +2 -2
- package/lib/duet/{p-db8b2380.system.entry.js → p-6adfb9eb.system.entry.js} +1 -1
- package/lib/duet/{p-d1914efd.system.entry.js → p-6b66a45f.system.entry.js} +1 -1
- package/lib/duet/{p-cb1cf88a.system.entry.js → p-6ba4b5b4.system.entry.js} +1 -1
- package/lib/duet/{p-81829412.system.entry.js → p-6c665829.system.entry.js} +1 -1
- package/lib/duet/{p-115e5a74.js → p-6d7578b9.js} +1 -1
- package/lib/duet/{p-2b419553.system.entry.js → p-6e3f96c8.system.entry.js} +1 -1
- package/lib/duet/{p-dc059577.system.js → p-71818a07.system.js} +1 -1
- package/lib/duet/{p-0bb30bf2.system.entry.js → p-726f5b13.system.entry.js} +1 -1
- package/lib/duet/{p-71d6578b.system.entry.js → p-738e4a30.system.entry.js} +1 -1
- package/lib/duet/{p-9ff169a8.entry.js → p-756aabe3.entry.js} +1 -1
- package/lib/duet/{p-c409a1dc.entry.js → p-757d8ba4.entry.js} +1 -1
- package/lib/duet/{p-c99cc796.system.entry.js → p-76dcd997.system.entry.js} +1 -1
- package/lib/duet/{p-e5a4b88c.system.entry.js → p-778f42fe.system.entry.js} +1 -1
- package/lib/duet/{p-dbf5bd13.entry.js → p-77e6559b.entry.js} +1 -1
- package/lib/duet/{p-d9b3b34a.system.entry.js → p-78a100ed.system.entry.js} +1 -1
- package/lib/duet/p-7aa9fffd.entry.js +4 -0
- package/lib/duet/{p-755dd4ac.system.entry.js → p-7b411c65.system.entry.js} +1 -1
- package/lib/duet/{p-ae652505.entry.js → p-7b5cadc7.entry.js} +1 -1
- package/lib/duet/{p-0c708a6b.system.entry.js → p-7ef0a13e.system.entry.js} +1 -1
- package/lib/duet/{p-736fce63.system.entry.js → p-83cfac28.system.entry.js} +1 -1
- package/lib/duet/p-852dc293.entry.js +4 -0
- package/lib/duet/p-8609ea8a.system.entry.js +4 -0
- package/lib/duet/{p-90c87945.entry.js → p-88e554c9.entry.js} +1 -1
- package/lib/duet/{p-47b62443.entry.js → p-89041ec3.entry.js} +1 -1
- package/lib/duet/{p-dfb08a79.entry.js → p-893c30c7.entry.js} +1 -1
- package/lib/duet/{p-6ed45a15.system.entry.js → p-8a1790be.system.entry.js} +1 -1
- package/lib/duet/p-8a954fe5.system.entry.js +4 -0
- package/lib/duet/{p-c8e267bc.entry.js → p-8b7f5890.entry.js} +1 -1
- package/lib/duet/{p-8a3cca2a.system.entry.js → p-8bcc2542.system.entry.js} +1 -1
- package/lib/duet/p-8d3f98b7.entry.js +4 -0
- package/lib/duet/{p-5f914bd7.system.entry.js → p-8e13850e.system.entry.js} +1 -1
- package/lib/duet/{p-d325c3d3.system.entry.js → p-9160fca2.system.entry.js} +1 -1
- package/lib/duet/{p-24c831ec.system.entry.js → p-980da7ef.system.entry.js} +1 -1
- package/lib/duet/{p-0c3e3891.system.entry.js → p-99192406.system.entry.js} +1 -1
- package/lib/duet/{p-3ec8ee39.entry.js → p-9b6f7d9b.entry.js} +1 -1
- package/lib/duet/{p-32ee4f34.entry.js → p-9d1267d8.entry.js} +1 -1
- package/lib/duet/{p-140f3e19.entry.js → p-9e41e5a6.entry.js} +1 -1
- package/lib/duet/{p-c6e4ebf0.entry.js → p-9e64ef8e.entry.js} +1 -1
- package/lib/duet/{p-08bcd57d.system.entry.js → p-a1780035.system.entry.js} +1 -1
- package/lib/duet/{p-f7c032a2.entry.js → p-a33aea42.entry.js} +1 -1
- package/lib/duet/{p-8db7ccfd.entry.js → p-a3c1b8ea.entry.js} +1 -1
- package/lib/duet/p-a7962854.entry.js +4 -0
- package/lib/duet/{p-396e0025.entry.js → p-a94e261a.entry.js} +1 -1
- package/lib/duet/{p-0a6ee84e.entry.js → p-a9f62bc8.entry.js} +1 -1
- package/lib/duet/{p-5fed0e82.entry.js → p-ac19c76a.entry.js} +1 -1
- package/lib/duet/{p-93a9d03f.entry.js → p-ad0f3fb7.entry.js} +1 -1
- package/lib/duet/{p-dbbd3a11.system.entry.js → p-b033b5a6.system.entry.js} +1 -1
- package/lib/duet/p-b10e72ff.system.js +4 -0
- package/lib/duet/{p-1bbf5a2c.entry.js → p-b188d4e3.entry.js} +1 -1
- package/lib/duet/{p-851868b5.system.entry.js → p-b1c635b8.system.entry.js} +1 -1
- package/lib/duet/{p-41363488.js → p-b8d12bc2.js} +1 -1
- package/lib/duet/{p-70c4fd04.entry.js → p-bab934fc.entry.js} +1 -1
- package/lib/duet/{p-42e2d141.entry.js → p-bb56723c.entry.js} +1 -1
- package/lib/duet/p-bcb319e6.system.entry.js +4 -0
- package/lib/duet/{p-8010d152.entry.js → p-c0442e1a.entry.js} +1 -1
- package/lib/duet/{p-7e5e362d.system.entry.js → p-c33904be.system.entry.js} +1 -1
- package/lib/duet/{p-664e856a.entry.js → p-c62e9ef9.entry.js} +1 -1
- package/lib/duet/p-c827fd02.entry.js +4 -0
- package/lib/duet/{p-f765b6a6.system.entry.js → p-c8a46cb9.system.entry.js} +1 -1
- package/lib/duet/{p-0c4459c0.system.entry.js → p-c9c7f469.system.entry.js} +1 -1
- package/lib/duet/p-cb9548e8.entry.js +4 -0
- package/lib/duet/{p-d39e2edb.system.entry.js → p-cc8908a2.system.entry.js} +2 -2
- package/lib/duet/{p-1d0d7d5d.entry.js → p-ccc4e7bb.entry.js} +1 -1
- package/lib/duet/{p-11e4884c.system.entry.js → p-cf480e2e.system.entry.js} +1 -1
- package/lib/duet/{p-7aaf227f.entry.js → p-d0022dc9.entry.js} +1 -1
- package/lib/duet/{p-891c5ca1.entry.js → p-d056bac9.entry.js} +1 -1
- package/lib/duet/{p-8864ba0e.system.entry.js → p-d1f67700.system.entry.js} +1 -1
- package/lib/duet/{p-39d9f25b.system.entry.js → p-d6875b70.system.entry.js} +1 -1
- package/lib/duet/{p-64790718.entry.js → p-d8bcb92e.entry.js} +1 -1
- package/lib/duet/{p-88e789b9.system.entry.js → p-d94805ae.system.entry.js} +1 -1
- package/lib/duet/{p-d8e41f55.system.entry.js → p-d9c3fb44.system.entry.js} +1 -1
- package/lib/duet/{p-4e870704.entry.js → p-dbbd0ded.entry.js} +1 -1
- package/lib/duet/{p-1298b261.entry.js → p-dde05948.entry.js} +1 -1
- package/lib/duet/{p-744f44b4.system.entry.js → p-df315839.system.entry.js} +1 -1
- package/lib/duet/{p-3e79b617.entry.js → p-df802ae3.entry.js} +1 -1
- package/lib/duet/{p-9664f656.entry.js → p-dfd872f3.entry.js} +1 -1
- package/lib/duet/p-e19c5a93.entry.js +4 -0
- package/lib/duet/{p-a1d72dc5.entry.js → p-e70dc2a1.entry.js} +1 -1
- package/lib/duet/{p-5053b084.entry.js → p-e79a0e0b.entry.js} +1 -1
- package/lib/duet/{p-fc57622c.system.entry.js → p-e921c496.system.entry.js} +1 -1
- package/lib/duet/{p-70192ee4.system.entry.js → p-ea37e5ca.system.entry.js} +1 -1
- package/lib/duet/{p-58d1b520.system.entry.js → p-ee1cade9.system.entry.js} +1 -1
- package/lib/duet/{p-80dfb88c.system.entry.js → p-f107bb45.system.entry.js} +1 -1
- package/lib/duet/{p-79dc49af.system.entry.js → p-f3c15b5b.system.entry.js} +1 -1
- package/lib/duet/{p-2d4fcd47.entry.js → p-f50ecfd3.entry.js} +1 -1
- package/lib/duet/{p-7a02ef0d.entry.js → p-f50f189c.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +30 -6
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +55 -0
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +5 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +2 -3
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +4 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +13 -3
- package/lib/esm/duet-slideout.entry.js +24 -5
- 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 +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- 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-upload-item.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-03333699.js → focus-utils-4707a1e8.js} +1 -1
- package/lib/esm/{index-c3bd1656.js → index-e89bc6bf.js} +1 -1
- package/lib/esm/loader.js +3 -3
- 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-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.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-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-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-file-chooser.entry.js +4 -0
- 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 +1 -1
- 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-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.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-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.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-upload-item.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-4707a1e8.js +4 -0
- package/lib/esm-es5/{index-c3bd1656.js → index-e89bc6bf.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +21 -3
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +11 -0
- package/lib/types/components/duet-file-chooser/duet-file-chooser.d.ts +42 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +11 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +9 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -0
- package/lib/types/components.d.ts +138 -6
- package/package.json +5 -5
- package/lib/duet/p-05ddb8d7.entry.js +0 -4
- package/lib/duet/p-11d78956.entry.js +0 -4
- package/lib/duet/p-15aa743e.entry.js +0 -4
- package/lib/duet/p-17392944.entry.js +0 -4
- package/lib/duet/p-37961e05.entry.js +0 -4
- package/lib/duet/p-46a8594c.entry.js +0 -4
- package/lib/duet/p-7f13b214.system.entry.js +0 -4
- package/lib/duet/p-8aae2ee1.entry.js +0 -4
- package/lib/duet/p-cadf7c9b.entry.js +0 -4
- package/lib/duet/p-d8e56dcd.system.entry.js +0 -4
- package/lib/duet/p-e0887380.system.entry.js +0 -4
- package/lib/duet/p-ec0fadf9.entry.js +0 -4
- package/lib/duet/p-f0023574.entry.js +0 -4
- package/lib/duet/p-f36029aa.system.entry.js +0 -4
- package/lib/duet/p-fd4c42f8.system.js +0 -4
- package/lib/esm-es5/focus-utils-03333699.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-4883df66.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-219d974b.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
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { g as getLocaleString } from './p-4883df66.js';
|
|
7
7
|
|
|
@@ -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-3a63e916.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './p-
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$3 } from './p-219d974b.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-e558d310.js';
|
|
8
8
|
|
|
9
9
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
10
10
|
|
|
@@ -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-b0ed56f3.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -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, 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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { c as createID } from './p-45f71a69.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-56ac3289.js';
|
|
8
8
|
import { s as sanitizeString } from './p-1a395a8d.js';
|
|
9
9
|
import { g as getColorByName } from './p-e19d1e27.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-219d974b.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-d7f8cd01.js';
|
|
12
12
|
|
|
13
13
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
14
14
|
const duetBlock = "div";
|
|
@@ -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-9d8865d0.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-cb0eec72.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { c as createID } from './p-45f71a69.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-219d974b.js';
|
|
8
8
|
|
|
9
9
|
const duetChipCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;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;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
10
10
|
|
|
@@ -1,15 +1,15 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
-
import { d as defineCustomElement$8 } from './p-
|
|
7
|
-
import { d as defineCustomElement$7 } from './p-
|
|
8
|
-
import { d as defineCustomElement$6 } from './p-
|
|
9
|
-
import { d as defineCustomElement$5 } from './p-
|
|
10
|
-
import { d as defineCustomElement$4 } from './p-
|
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$8 } from './p-b0ed56f3.js';
|
|
7
|
+
import { d as defineCustomElement$7 } from './p-ae0811df.js';
|
|
8
|
+
import { d as defineCustomElement$6 } from './p-219d974b.js';
|
|
9
|
+
import { d as defineCustomElement$5 } from './p-3f6372e1.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './p-7855af1f.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './p-49a51210.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-24a51286.js';
|
|
13
13
|
|
|
14
14
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
15
15
|
|
|
@@ -57,6 +57,8 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
57
57
|
this.breakpoint = "small";
|
|
58
58
|
this.value = undefined;
|
|
59
59
|
this.disabled = undefined;
|
|
60
|
+
this.required = false;
|
|
61
|
+
this.accessibleLiveError = "polite";
|
|
60
62
|
}
|
|
61
63
|
/**
|
|
62
64
|
* Component lifecycle events.
|
|
@@ -84,6 +86,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
84
86
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
85
87
|
for (const choice of this.choices) {
|
|
86
88
|
choice.name = this.name;
|
|
89
|
+
choice.required = this.required;
|
|
87
90
|
choice.groupDisabled = this.disabled;
|
|
88
91
|
choice.groupDirection = this.direction;
|
|
89
92
|
choice.groupResponsive = this.responsive;
|
|
@@ -118,7 +121,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
118
121
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
119
122
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
120
123
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
121
|
-
} }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, compactLabel: true, 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)))));
|
|
124
|
+
} }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, 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)))));
|
|
122
125
|
}
|
|
123
126
|
get element() { return this; }
|
|
124
127
|
static get watchers() { return {
|
|
@@ -143,7 +146,9 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
143
146
|
"responsive": [4],
|
|
144
147
|
"breakpoint": [1],
|
|
145
148
|
"value": [1537],
|
|
146
|
-
"disabled": [4]
|
|
149
|
+
"disabled": [4],
|
|
150
|
+
"required": [4],
|
|
151
|
+
"accessibleLiveError": [1, "accessible-live-error"]
|
|
147
152
|
}, undefined, {
|
|
148
153
|
"value": ["updateChoices"],
|
|
149
154
|
"disabled": ["updateChoices"],
|
|
@@ -1,7 +1,7 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { h as hasSlot } from './p-f8c76b25.js';
|
|
7
7
|
import { D as DuetStringsExternalDefaults } from './p-274d11e3.js';
|
|
@@ -9,10 +9,10 @@ import { c as createID } from './p-45f71a69.js';
|
|
|
9
9
|
import { F as FocusGuard } from './p-c5032d3a.js';
|
|
10
10
|
import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-56ac3289.js';
|
|
11
11
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-b0ed56f3.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-219d974b.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-d7f8cd01.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-24a51286.js';
|
|
16
16
|
|
|
17
17
|
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>"};
|
|
18
18
|
|
|
@@ -142,6 +142,12 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
142
142
|
sv: "Mera information om",
|
|
143
143
|
};
|
|
144
144
|
this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
|
|
145
|
+
this.collapsibleNotificationDefaults = {
|
|
146
|
+
fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
|
|
147
|
+
en: "This choice has additional information opened below",
|
|
148
|
+
sv: "Det här val har mer information som öppnades nedan",
|
|
149
|
+
};
|
|
150
|
+
this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
|
|
145
151
|
}
|
|
146
152
|
/**
|
|
147
153
|
* Component lifecycle events.
|
|
@@ -159,6 +165,7 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
159
165
|
connectLanguageChangeObserver(this, [
|
|
160
166
|
{ prop: "accessibleLabelInfoButton", defaults: "accessibleLabelInfoButtonDefaults" },
|
|
161
167
|
{ prop: "infoLabel", defaults: "infoLabelDefaults" },
|
|
168
|
+
{ prop: "collapsibleNotification", defaults: "collapsibleNotificationDefaults" },
|
|
162
169
|
]);
|
|
163
170
|
this.duetChoiceReady.emit();
|
|
164
171
|
}
|
|
@@ -203,6 +210,17 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
203
210
|
async toggleInfoMethod() {
|
|
204
211
|
this.isInfoOpen = !this.isInfoOpen;
|
|
205
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Should the collapsible content be announced by screen readers
|
|
215
|
+
*/
|
|
216
|
+
isCollapsibleAnnounceable() {
|
|
217
|
+
if (!this.collapsible || !this.getExpanded()) {
|
|
218
|
+
return false;
|
|
219
|
+
}
|
|
220
|
+
const children = Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`) || []);
|
|
221
|
+
const announceableElements = ["duet-paragraph", "duet-heading", "duet-fieldset"];
|
|
222
|
+
return children.every(child => announceableElements.includes(child.tagName.toLowerCase()));
|
|
223
|
+
}
|
|
206
224
|
getAriaDescribedby() {
|
|
207
225
|
if (this.accessibleDescribedBy) {
|
|
208
226
|
return this.accessibleDescribedBy;
|
|
@@ -211,9 +229,12 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
211
229
|
if (this.hasHeader) {
|
|
212
230
|
return this.headerId;
|
|
213
231
|
}
|
|
214
|
-
else {
|
|
232
|
+
else if (this.isCollapsibleAnnounceable()) {
|
|
215
233
|
return this.expandId;
|
|
216
234
|
}
|
|
235
|
+
else {
|
|
236
|
+
return `${this.choiceId}-collapsible-notification`;
|
|
237
|
+
}
|
|
217
238
|
}
|
|
218
239
|
return null;
|
|
219
240
|
}
|
|
@@ -279,10 +300,10 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
279
300
|
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
280
301
|
"duet-choice-info-toggle": true,
|
|
281
302
|
"duet-theme-turva": this.theme === "turva",
|
|
282
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
303
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
283
304
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
284
305
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
285
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span",
|
|
306
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
286
307
|
}
|
|
287
308
|
get element() { return this; }
|
|
288
309
|
static get style() { return duetChoiceCss; }
|
|
@@ -317,6 +338,8 @@ const DuetChoice$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoice extends H
|
|
|
317
338
|
"required": [4],
|
|
318
339
|
"infoLabelDefaults": [1, "accessible-label-info-default"],
|
|
319
340
|
"infoLabel": [1025, "info-label"],
|
|
341
|
+
"collapsibleNotificationDefaults": [1, "accessible-collapsible-notification-default"],
|
|
342
|
+
"collapsibleNotification": [1025, "collapsible-notification"],
|
|
320
343
|
"isHovering": [32],
|
|
321
344
|
"isInfoOpen": [32],
|
|
322
345
|
"isBlurred": [32],
|
|
@@ -1,7 +1,7 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './p-64d43840.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
@@ -9,7 +9,7 @@ import { h as hasSlot } from './p-f8c76b25.js';
|
|
|
9
9
|
import { c as createID } from './p-45f71a69.js';
|
|
10
10
|
import { i as isKeyboardClick } from './p-56ac3289.js';
|
|
11
11
|
import { s as sanitizeString } from './p-1a395a8d.js';
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-219d974b.js';
|
|
13
13
|
|
|
14
14
|
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
|
|
15
15
|
|
|
@@ -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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { d as debounce } from './p-3d8d557b.js';
|
|
7
7
|
import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-56ac3289.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-1a395a8d.js';
|
|
10
10
|
import { h, F as Fragment } from './p-62c7d9d4.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-219d974b.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|
|
@@ -92,7 +92,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class DuetCombobox exten
|
|
|
92
92
|
const path = e.composedPath();
|
|
93
93
|
const isClickOutside = path.every(el => el !== this.element);
|
|
94
94
|
if (isClickOutside) {
|
|
95
|
-
this.updateInputText(true);
|
|
95
|
+
this.updateInputText(true, true);
|
|
96
96
|
this.listOpen = false;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -224,7 +224,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class DuetCombobox exten
|
|
|
224
224
|
* Updates the input text based on the selected/clicked items.
|
|
225
225
|
* @param bool -override to clear if invoked by "click outside"
|
|
226
226
|
*/
|
|
227
|
-
async updateInputText(isBlurred = false) {
|
|
227
|
+
async updateInputText(isBlurred = false, isClickOutside = false) {
|
|
228
228
|
const item = this.selectedItems.size === 0 ? [] : this.items.filter(item => this.selectedItems.has(item.id));
|
|
229
229
|
//if items changed and given id no longer exists
|
|
230
230
|
if (item.length === 0 && this.selectedItems.size > 0) {
|
|
@@ -233,7 +233,7 @@ const DuetCombobox$1 = /*@__PURE__*/ proxyCustomElement(class DuetCombobox exten
|
|
|
233
233
|
this.value = undefined;
|
|
234
234
|
this.activeItem = undefined;
|
|
235
235
|
}
|
|
236
|
-
if (this.selectedItems.size === 1) {
|
|
236
|
+
if (!isClickOutside && this.selectedItems.size === 1) {
|
|
237
237
|
this.input.value = ""; // set value to empty so that cursor position follows accordingly
|
|
238
238
|
this.input.value = await this.formatItem(item[0]);
|
|
239
239
|
this.input.scrollLeft = this.input.scrollWidth;
|
|
@@ -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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.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-3a63e916.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-650d5990.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-219d974b.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-1e625a72.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-e558d310.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-d3ee5c39.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-24a51286.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
|
|
|
@@ -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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.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-3a63e916.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './p-219d974b.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-d7f8cd01.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-d3ee5c39.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-24a51286.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:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.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 #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
13
13
|
|
|
@@ -1,23 +1,23 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { c as createID } from './p-45f71a69.js';
|
|
7
7
|
import { F as FocusGuard } from './p-c5032d3a.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-4883df66.js';
|
|
9
9
|
import { h } from './p-62c7d9d4.js';
|
|
10
|
-
import { d as defineCustomElement$c } from './p-
|
|
11
|
-
import { d as defineCustomElement$b } from './p-
|
|
12
|
-
import { d as defineCustomElement$a } from './p-
|
|
13
|
-
import { d as defineCustomElement$9 } from './p-
|
|
14
|
-
import { d as defineCustomElement$8 } from './p-
|
|
15
|
-
import { d as defineCustomElement$7 } from './p-
|
|
16
|
-
import { d as defineCustomElement$6 } from './p-
|
|
17
|
-
import { d as defineCustomElement$5 } from './p-
|
|
18
|
-
import { d as defineCustomElement$4 } from './p-
|
|
19
|
-
import { d as defineCustomElement$3 } from './p-
|
|
20
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$c } from './p-8350edff.js';
|
|
11
|
+
import { d as defineCustomElement$b } from './p-3a63e916.js';
|
|
12
|
+
import { d as defineCustomElement$a } from './p-b0ed56f3.js';
|
|
13
|
+
import { d as defineCustomElement$9 } from './p-219d974b.js';
|
|
14
|
+
import { d as defineCustomElement$8 } from './p-1296f08a.js';
|
|
15
|
+
import { d as defineCustomElement$7 } from './p-4469d73c.js';
|
|
16
|
+
import { d as defineCustomElement$6 } from './p-d3ee5c39.js';
|
|
17
|
+
import { d as defineCustomElement$5 } from './p-3f6372e1.js';
|
|
18
|
+
import { d as defineCustomElement$4 } from './p-7855af1f.js';
|
|
19
|
+
import { d as defineCustomElement$3 } from './p-49a51210.js';
|
|
20
|
+
import { d as defineCustomElement$2 } from './p-24a51286.js';
|
|
21
21
|
|
|
22
22
|
const formatOptionsShort = { day: "numeric", month: "long" };
|
|
23
23
|
const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetDivider$1, d as defineCustomElement$1 } from './p-aa5fdf1c.js';
|
|
5
5
|
|
|
6
6
|
const DuetDivider = DuetDivider$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,18 +1,18 @@
|
|
|
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-670570b2.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { f as fieldSorter } from './p-3d8d557b.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-56ac3289.js';
|
|
8
8
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-4883df66.js';
|
|
9
9
|
import { h } from './p-62c7d9d4.js';
|
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
|
11
|
-
import { d as defineCustomElement$6 } from './p-
|
|
12
|
-
import { d as defineCustomElement$5 } from './p-
|
|
13
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
-
import { d as defineCustomElement$3 } from './p-
|
|
15
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$7 } from './p-8350edff.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './p-3a63e916.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './p-219d974b.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './p-d3ee5c39.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './p-b996e85b.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './p-24a51286.js';
|
|
16
16
|
|
|
17
17
|
//simple functional component that renders the data in the table
|
|
18
18
|
const TableData = ({ data, groupId, alignment }, _children) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetEmptyState$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetEmptyState$1, d as defineCustomElement$1 } from './p-c137ffb9.js';
|
|
5
5
|
|
|
6
6
|
const DuetEmptyState = DuetEmptyState$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 DuetFieldset$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetFieldset$1, d as defineCustomElement$1 } from './p-ae0811df.js';
|
|
5
5
|
|
|
6
6
|
const DuetFieldset = DuetFieldset$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface DuetFileChooser extends Components.DuetFileChooser, HTMLElement {}
|
|
4
|
+
export const DuetFileChooser: {
|
|
5
|
+
prototype: DuetFileChooser;
|
|
6
|
+
new (): DuetFileChooser;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-670570b2.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-24a51286.js';
|
|
7
|
+
|
|
8
|
+
const duetFileChooserCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";
|
|
9
|
+
|
|
10
|
+
const DuetUploadItem = /*@__PURE__*/ proxyCustomElement(class DuetUploadItem extends H {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
this.duetChange = createEvent(this, "duetChange", 3);
|
|
16
|
+
this.onChange = (ev) => {
|
|
17
|
+
ev.preventDefault();
|
|
18
|
+
ev.stopPropagation();
|
|
19
|
+
this.duetChange.emit({
|
|
20
|
+
originalEvent: ev,
|
|
21
|
+
data: { files: this.nativeInput.files },
|
|
22
|
+
component: "duet-file-chooser",
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
this.theme = "";
|
|
26
|
+
this.multiple = false;
|
|
27
|
+
this.accept = undefined;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Opens file choose dialog.
|
|
31
|
+
*/
|
|
32
|
+
async open() {
|
|
33
|
+
var _a;
|
|
34
|
+
(_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.click();
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns actually selected files in file chooser.
|
|
38
|
+
*/
|
|
39
|
+
async getFiles() {
|
|
40
|
+
return this.nativeInput.files;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Component lifecycle events.
|
|
44
|
+
*/
|
|
45
|
+
componentWillLoad() {
|
|
46
|
+
inheritGlobalTheme(this);
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
return (h(Host, null, h("duet-visually-hidden", { "aria-hidden": "true" }, h("input", { ref: input => {
|
|
50
|
+
this.nativeInput = input;
|
|
51
|
+
}, type: "file", class: {
|
|
52
|
+
"duet-upload": true,
|
|
53
|
+
}, "aria-hidden": "true", tabIndex: -1, onChange: this.onChange, multiple: this.multiple, accept: this.accept }))));
|
|
54
|
+
}
|
|
55
|
+
static get style() { return duetFileChooserCss; }
|
|
56
|
+
}, [1, "duet-file-chooser", {
|
|
57
|
+
"theme": [1025],
|
|
58
|
+
"multiple": [4],
|
|
59
|
+
"accept": [1],
|
|
60
|
+
"open": [64],
|
|
61
|
+
"getFiles": [64]
|
|
62
|
+
}]);
|
|
63
|
+
function defineCustomElement$1() {
|
|
64
|
+
if (typeof customElements === "undefined") {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const components = ["duet-file-chooser", "duet-visually-hidden"];
|
|
68
|
+
components.forEach(tagName => { switch (tagName) {
|
|
69
|
+
case "duet-file-chooser":
|
|
70
|
+
if (!customElements.get(tagName)) {
|
|
71
|
+
customElements.define(tagName, DuetUploadItem);
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
case "duet-visually-hidden":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$2();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
} });
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const DuetFileChooser = DuetUploadItem;
|
|
83
|
+
const defineCustomElement = defineCustomElement$1;
|
|
84
|
+
|
|
85
|
+
export { DuetFileChooser, defineCustomElement };
|