@duetds/components 8.5.4 → 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +303 -137
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +10 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +261 -128
- 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 +3 -3
- 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 +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +40 -4
- 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-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +15 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- 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 +2 -22
- package/lib/cjs/duet-overlay.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 +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +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-item.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 +2 -2
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-44e2723d.js → focus-utils-56f2d983.js} +1 -1
- package/lib/cjs/{index-bf510b90.js → index-b77ebc31.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{slot-utils-f5073417.js → slot-utils-03a40c78.js} +3 -1
- package/lib/collection/components/duet-chip/duet-chip.css +7 -0
- package/lib/collection/components/duet-chip/duet-chip.js +29 -2
- package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +2 -2
- package/lib/collection/components/duet-combobox/duet-combobox.css +10 -2
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +81 -51
- package/lib/collection/components/duet-combobox/duet-combobox.js +321 -142
- package/lib/collection/components/duet-input/duet-input.css +29 -0
- package/lib/collection/components/duet-input/duet-input.js +159 -3
- package/lib/collection/components/duet-modal/duet-modal.js +12 -2
- package/lib/collection/components/duet-progress/duet-progress.css +10 -10
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/utils/math.utils.js +0 -20
- package/lib/collection/utils/slot-utils.js +3 -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 +4 -4
- 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 +4 -4
- 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 +1 -273
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +327 -133
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- 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.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +5 -5
- 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 +9 -9
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +22 -12
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +13 -33
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- 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 +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- 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 +1 -1
- 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 +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +5 -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 +5 -5
- 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-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-item.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 +4 -4
- 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 +19 -19
- 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-000d074a.js → p-014c1177.js} +56 -15
- package/lib/dist-custom-elements/{p-74bc7fb5.js → p-03152b20.js} +4 -4
- package/lib/dist-custom-elements/{p-d87f6dd5.js → p-06e608ae.js} +3 -1
- package/lib/dist-custom-elements/{p-f902dfbb.js → p-08124065.js} +1 -1
- package/lib/dist-custom-elements/{p-9ef81fa1.js → p-0cee8a12.js} +4 -4
- package/lib/dist-custom-elements/{p-0dadb3dc.js → p-17ed32c8.js} +1 -1
- package/lib/dist-custom-elements/{p-a1d85bb1.js → p-1e9f6125.js} +1 -1
- package/lib/dist-custom-elements/{p-23ee46c7.js → p-23e23ced.js} +1 -1
- package/lib/dist-custom-elements/{p-6b7e5158.js → p-24693e9a.js} +11 -11
- package/lib/dist-custom-elements/{p-9be4acc3.js → p-28ec3461.js} +6 -6
- package/lib/dist-custom-elements/{p-099262f4.js → p-43967022.js} +1 -1
- package/lib/dist-custom-elements/{p-e80b5157.js → p-449019b6.js} +1 -1
- package/lib/dist-custom-elements/{p-76e650aa.js → p-45fd4d84.js} +3 -3
- package/lib/dist-custom-elements/{p-0bdd51f9.js → p-46074a1a.js} +1 -1
- package/lib/dist-custom-elements/{p-e3a662be.js → p-4b31300c.js} +2 -2
- package/lib/dist-custom-elements/{p-76a995aa.js → p-63954651.js} +1 -1
- package/lib/dist-custom-elements/{p-b189e243.js → p-667579b0.js} +1 -1
- package/lib/dist-custom-elements/{p-522231d2.js → p-68ba7bf1.js} +2 -2
- package/lib/dist-custom-elements/{p-623db984.js → p-6d366100.js} +8 -8
- package/lib/dist-custom-elements/p-755dd68f.js +285 -0
- package/lib/dist-custom-elements/{p-e44c0eff.js → p-785686e3.js} +1 -1
- package/lib/dist-custom-elements/{p-106c4204.js → p-83231ea8.js} +4 -4
- package/lib/dist-custom-elements/{p-38c8a0d9.js → p-92a16064.js} +6 -6
- package/lib/dist-custom-elements/{p-92c2651e.js → p-9490b060.js} +1 -1
- package/lib/dist-custom-elements/{p-07ba3d1b.js → p-971b25c0.js} +1 -1
- package/lib/dist-custom-elements/{p-958eb465.js → p-a02e62f3.js} +6 -6
- package/lib/dist-custom-elements/{p-8b18e721.js → p-a167e2a0.js} +1 -1
- package/lib/dist-custom-elements/{p-18ae9f6e.js → p-a4a10570.js} +3 -3
- package/lib/dist-custom-elements/{p-35946067.js → p-a829df6e.js} +2 -2
- package/lib/dist-custom-elements/{p-51cbd16b.js → p-b6322d8d.js} +1 -1
- package/lib/dist-custom-elements/{p-7a64db6d.js → p-baf3208f.js} +1 -1
- package/lib/dist-custom-elements/{p-186b3f98.js → p-bb25377b.js} +1 -1
- package/lib/dist-custom-elements/{p-319b5b5e.js → p-c8415e2f.js} +3 -3
- package/lib/dist-custom-elements/{p-4d080ea7.js → p-ce969139.js} +1 -1
- package/lib/dist-custom-elements/{p-5e09876b.js → p-d1815d2a.js} +1 -1
- package/lib/dist-custom-elements/{p-8085d9dc.js → p-d482a2e9.js} +1 -1
- package/lib/dist-custom-elements/{p-fcd29996.js → p-e3d597b6.js} +1 -1
- package/lib/dist-custom-elements/{p-90c00415.js → p-e702eb52.js} +9 -9
- package/lib/dist-custom-elements/{p-37349749.js → p-e98f9bb0.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-5015d055.entry.js → p-00685523.entry.js} +1 -1
- package/lib/duet/{p-1e286d10.entry.js → p-025cfc0c.entry.js} +1 -1
- package/lib/duet/{p-39b78771.entry.js → p-050ffaf5.entry.js} +1 -1
- package/lib/duet/{p-13bc5519.entry.js → p-05a72320.entry.js} +1 -1
- package/lib/duet/{p-2a38e7ca.system.entry.js → p-061f4be0.system.entry.js} +1 -1
- package/lib/duet/p-06e608ae.js +4 -0
- package/lib/duet/{p-aff30f30.system.entry.js → p-0778ccde.system.entry.js} +1 -1
- package/lib/duet/p-07ac7f3e.system.entry.js +4 -0
- package/lib/duet/{p-5a9f4435.entry.js → p-08efced6.entry.js} +1 -1
- package/lib/duet/{p-0153663a.system.entry.js → p-0bd322cf.system.entry.js} +1 -1
- package/lib/duet/{p-81c5369e.system.entry.js → p-0de8d0c0.system.entry.js} +1 -1
- package/lib/duet/{p-a14dd8d6.entry.js → p-15c22a22.entry.js} +1 -1
- package/lib/duet/p-15e24bf0.entry.js +4 -0
- package/lib/duet/{p-ae55d362.system.entry.js → p-174ad02e.system.entry.js} +1 -1
- package/lib/duet/{p-a8729ddc.system.entry.js → p-179881d0.system.entry.js} +1 -1
- package/lib/duet/{p-e4f7a639.entry.js → p-1a7649e4.entry.js} +1 -1
- package/lib/duet/{p-711ed527.entry.js → p-1af72e95.entry.js} +1 -1
- package/lib/duet/{p-44ddb31b.system.entry.js → p-1ef0e5ca.system.entry.js} +1 -1
- package/lib/duet/{p-b4c0b337.entry.js → p-1f8ae410.entry.js} +1 -1
- package/lib/duet/{p-4c40347d.system.entry.js → p-1fc21d0d.system.entry.js} +1 -1
- package/lib/duet/{p-d28743bc.entry.js → p-2084a65f.entry.js} +1 -1
- package/lib/duet/{p-f8444a45.entry.js → p-23cecf9f.entry.js} +1 -1
- package/lib/duet/{p-64332c33.entry.js → p-2522cfc3.entry.js} +1 -1
- package/lib/duet/{p-1daade5e.system.entry.js → p-257800b7.system.entry.js} +1 -1
- package/lib/duet/{p-96b277d4.entry.js → p-26c5cd6f.entry.js} +1 -1
- package/lib/duet/{p-9f343e62.entry.js → p-29491f9f.entry.js} +1 -1
- package/lib/duet/{p-6edaf3e7.system.entry.js → p-2ae2e883.system.entry.js} +1 -1
- package/lib/duet/p-2f966c7e.entry.js +4 -0
- package/lib/duet/{p-532b94c5.entry.js → p-2faba2ba.entry.js} +1 -1
- package/lib/duet/{p-d16256d2.system.entry.js → p-31ad4690.system.entry.js} +1 -1
- package/lib/duet/{p-992b5c2a.entry.js → p-3302d75d.entry.js} +1 -1
- package/lib/duet/{p-9e61f9fc.entry.js → p-36f031e7.entry.js} +1 -1
- package/lib/duet/{p-f0e80d49.system.entry.js → p-37802e1f.system.entry.js} +2 -2
- package/lib/duet/{p-00524e54.entry.js → p-38f9c1e3.entry.js} +1 -1
- package/lib/duet/{p-1bd97f5e.system.entry.js → p-3f2d14e3.system.entry.js} +1 -1
- package/lib/duet/{p-e4665d66.entry.js → p-3f5a19f5.entry.js} +1 -1
- package/lib/duet/{p-2146ccb1.entry.js → p-40375e30.entry.js} +1 -1
- package/lib/duet/{p-b779fe4a.entry.js → p-427b81f9.entry.js} +1 -1
- package/lib/duet/p-43887017.system.js +4 -0
- package/lib/duet/{p-90cdb56a.system.entry.js → p-43d4b538.system.entry.js} +1 -1
- package/lib/duet/{p-f6d54697.system.entry.js → p-45bb3cd0.system.entry.js} +1 -1
- package/lib/duet/{p-9f89ac77.system.entry.js → p-46dda347.system.entry.js} +1 -1
- package/lib/duet/p-4781cd58.entry.js +4 -0
- package/lib/duet/{p-2f3ac2b1.entry.js → p-49add367.entry.js} +1 -1
- package/lib/duet/{p-33f4ec9a.entry.js → p-4c9725a9.entry.js} +1 -1
- package/lib/duet/p-4cb5943c.entry.js +4 -0
- package/lib/duet/{p-ded3678b.system.entry.js → p-4d959a3f.system.entry.js} +1 -1
- package/lib/duet/{p-60ad9b34.system.entry.js → p-4de910bd.system.entry.js} +1 -1
- package/lib/duet/p-4dfb4bf2.entry.js +4 -0
- package/lib/duet/{p-9ed19593.entry.js → p-4e724a7d.entry.js} +1 -1
- package/lib/duet/{p-bd9cd443.system.entry.js → p-52fb459a.system.entry.js} +1 -1
- package/lib/duet/{p-13350c6d.entry.js → p-5383553b.entry.js} +1 -1
- package/lib/duet/{p-bfeb20eb.entry.js → p-53c64c6f.entry.js} +1 -1
- package/lib/duet/{p-bdadb9bd.entry.js → p-547bba59.entry.js} +1 -1
- package/lib/duet/{p-5bded4d9.system.entry.js → p-54c848f2.system.entry.js} +1 -1
- package/lib/duet/{p-dcc50031.system.entry.js → p-5e59c38c.system.entry.js} +1 -1
- package/lib/duet/{p-8aaa05c9.system.entry.js → p-60fbf60b.system.entry.js} +1 -1
- package/lib/duet/p-6151635f.system.js +4 -0
- package/lib/duet/{p-12101d0a.entry.js → p-628ae8ba.entry.js} +1 -1
- package/lib/duet/{p-eb075fc2.system.entry.js → p-64afb6ad.system.entry.js} +1 -1
- package/lib/duet/{p-5c4729d1.entry.js → p-67382632.entry.js} +1 -1
- package/lib/duet/{p-4fcc690f.system.entry.js → p-67958acc.system.entry.js} +2 -2
- package/lib/duet/{p-add7cc51.entry.js → p-6c9cfb6d.entry.js} +1 -1
- package/lib/duet/{p-06af3e0d.system.entry.js → p-6d4c6665.system.entry.js} +1 -1
- package/lib/duet/p-6eab3859.system.entry.js +4 -0
- package/lib/duet/{p-d2812eda.entry.js → p-71900b7d.entry.js} +1 -1
- package/lib/duet/{p-063fa159.system.entry.js → p-7203b196.system.entry.js} +1 -1
- package/lib/duet/{p-152af927.entry.js → p-73cd3afd.entry.js} +1 -1
- package/lib/duet/{p-103e1ea5.entry.js → p-76e54ff5.entry.js} +1 -1
- package/lib/duet/{p-0f6f5022.entry.js → p-7a161455.entry.js} +1 -1
- package/lib/duet/{p-9ea65ea6.entry.js → p-7bc20355.entry.js} +1 -1
- package/lib/duet/{p-c436c01c.entry.js → p-7ca15c93.entry.js} +1 -1
- package/lib/duet/{p-5e27ecf8.system.entry.js → p-7de614df.system.entry.js} +1 -1
- package/lib/duet/{p-36814b20.system.entry.js → p-7f4b420c.system.entry.js} +1 -1
- package/lib/duet/{p-47b31337.system.entry.js → p-80ffc878.system.entry.js} +1 -1
- package/lib/duet/{p-a8ba298f.entry.js → p-83238fe7.entry.js} +1 -1
- package/lib/duet/{p-537a5ea4.js → p-83e9058b.js} +1 -1
- package/lib/duet/{p-10e8ec3c.system.entry.js → p-84b95df0.system.entry.js} +1 -1
- package/lib/duet/{p-bee0bef0.system.entry.js → p-85d58c2d.system.entry.js} +1 -1
- package/lib/duet/{p-5ed0239d.system.entry.js → p-8a41bde4.system.entry.js} +1 -1
- package/lib/duet/{p-6af8ebbd.system.entry.js → p-8a4ba903.system.entry.js} +1 -1
- package/lib/duet/p-8ba91848.entry.js +4 -0
- package/lib/duet/{p-294b6828.entry.js → p-8cc30578.entry.js} +1 -1
- package/lib/duet/{p-f70248e4.entry.js → p-8f7c7961.entry.js} +1 -1
- package/lib/duet/{p-ef7c1882.system.entry.js → p-8fb1d27a.system.entry.js} +1 -1
- package/lib/duet/{p-31cb6f2a.system.entry.js → p-9540e0a7.system.entry.js} +1 -1
- package/lib/duet/{p-978ac0fd.system.entry.js → p-956fad95.system.entry.js} +1 -1
- package/lib/duet/{p-a1e148ff.system.js → p-9644775c.system.js} +1 -1
- package/lib/duet/{p-10ed4192.entry.js → p-9735b2f9.entry.js} +1 -1
- package/lib/duet/{p-ca873140.system.entry.js → p-98ffa852.system.entry.js} +1 -1
- package/lib/duet/{p-7278eebe.system.entry.js → p-999fff8d.system.entry.js} +1 -1
- package/lib/duet/{p-c1cff444.entry.js → p-9ad40682.entry.js} +1 -1
- package/lib/duet/{p-2f1c1495.system.entry.js → p-9b4a8098.system.entry.js} +1 -1
- package/lib/duet/{p-9969b8d2.entry.js → p-9be9b4d2.entry.js} +1 -1
- package/lib/duet/{p-039fb5e0.system.entry.js → p-9e75e5d8.system.entry.js} +1 -1
- package/lib/duet/{p-350ce555.system.entry.js → p-a0954730.system.entry.js} +1 -1
- package/lib/duet/{p-e6337cba.system.entry.js → p-a21391c0.system.entry.js} +1 -1
- package/lib/duet/{p-cba2677e.entry.js → p-a3afb1af.entry.js} +1 -1
- package/lib/duet/p-a3e90064.system.entry.js +4 -0
- package/lib/duet/{p-bddb8969.system.entry.js → p-a476a851.system.entry.js} +1 -1
- package/lib/duet/{p-7416c3fd.entry.js → p-a5981a39.entry.js} +1 -1
- package/lib/duet/{p-07793fd7.system.entry.js → p-a7e9bc31.system.entry.js} +1 -1
- package/lib/duet/{p-58e1eb11.system.entry.js → p-a90f23ec.system.entry.js} +1 -1
- package/lib/duet/{p-8ea95681.entry.js → p-aaf99cb9.entry.js} +1 -1
- package/lib/duet/{p-f77cd41f.system.entry.js → p-aba91113.system.entry.js} +1 -1
- package/lib/duet/{p-87d4f03b.entry.js → p-ad9b7b51.entry.js} +1 -1
- package/lib/duet/p-ae21ad57.system.js +4 -0
- package/lib/duet/{p-ea4f9d4f.entry.js → p-aedb1d02.entry.js} +1 -1
- package/lib/duet/{p-fc6fc2b4.entry.js → p-af751e6f.entry.js} +1 -1
- package/lib/duet/{p-212816c2.system.entry.js → p-afc89c50.system.entry.js} +1 -1
- package/lib/duet/{p-963dda60.entry.js → p-afe7d680.entry.js} +1 -1
- package/lib/duet/{p-8f309969.entry.js → p-b1985704.entry.js} +1 -1
- package/lib/duet/{p-ccb0a9b5.entry.js → p-b2bd0b07.entry.js} +1 -1
- package/lib/duet/{p-ddd01622.system.entry.js → p-b2fc4b72.system.entry.js} +1 -1
- package/lib/duet/{p-4954dde9.entry.js → p-b3774ea3.entry.js} +1 -1
- package/lib/duet/{p-257cffd3.system.entry.js → p-b3c41b77.system.entry.js} +1 -1
- package/lib/duet/{p-ed830ad5.entry.js → p-b5595969.entry.js} +1 -1
- package/lib/duet/{p-5a828886.entry.js → p-b6f62761.entry.js} +1 -1
- package/lib/duet/p-b78c3e3e.entry.js +4 -0
- package/lib/duet/{p-76da5621.system.entry.js → p-bba9682d.system.entry.js} +1 -1
- package/lib/duet/{p-4a23f89c.system.entry.js → p-bca7ed02.system.entry.js} +1 -1
- package/lib/duet/{p-53095407.system.entry.js → p-bd0e5e20.system.entry.js} +1 -1
- package/lib/duet/{p-26c1f653.system.entry.js → p-be4b69a8.system.entry.js} +1 -1
- package/lib/duet/{p-f03de546.system.entry.js → p-bece15cd.system.entry.js} +1 -1
- package/lib/duet/{p-da00d24c.entry.js → p-c0793903.entry.js} +1 -1
- package/lib/duet/{p-ecbe605f.system.entry.js → p-c3bda242.system.entry.js} +1 -1
- package/lib/duet/{p-c602d65f.entry.js → p-c3c12f8d.entry.js} +1 -1
- package/lib/duet/{p-c881af7d.system.entry.js → p-c586a2c4.system.entry.js} +1 -1
- package/lib/duet/{p-d3c73570.entry.js → p-c5cf76db.entry.js} +1 -1
- package/lib/duet/{p-2910ca06.system.entry.js → p-c68602c9.system.entry.js} +1 -1
- package/lib/duet/{p-df8d8907.system.entry.js → p-c9370d43.system.entry.js} +1 -1
- package/lib/duet/{p-40e86323.system.entry.js → p-c94f3167.system.entry.js} +1 -1
- package/lib/duet/{p-640fd3a5.entry.js → p-cba00852.entry.js} +1 -1
- package/lib/duet/{p-2d3f539e.system.entry.js → p-cc18e40b.system.entry.js} +1 -1
- package/lib/duet/{p-7d1c7279.entry.js → p-cc78a011.entry.js} +1 -1
- package/lib/duet/{p-8b6a4691.entry.js → p-cc949a27.entry.js} +1 -1
- package/lib/duet/{p-1178f976.entry.js → p-cc9cfdb3.entry.js} +1 -1
- package/lib/duet/{p-7b5049b4.system.entry.js → p-cd87960a.system.entry.js} +1 -1
- package/lib/duet/{p-fdc4dc5e.entry.js → p-ce69866c.entry.js} +1 -1
- package/lib/duet/{p-50313fe6.system.entry.js → p-d5721f0d.system.entry.js} +1 -1
- package/lib/duet/p-d624e990.js +4 -0
- package/lib/duet/{p-43ea292e.system.entry.js → p-d72b94d2.system.entry.js} +1 -1
- package/lib/duet/{p-adcb7023.system.entry.js → p-d739e7af.system.entry.js} +1 -1
- package/lib/duet/{p-43b38eec.entry.js → p-dc133655.entry.js} +1 -1
- package/lib/duet/{p-9833b851.system.entry.js → p-dd95c9fb.system.entry.js} +1 -1
- package/lib/duet/p-de5054b6.system.entry.js +4 -0
- package/lib/duet/{p-18de73c6.system.entry.js → p-de6e4f28.system.entry.js} +1 -1
- package/lib/duet/{p-8c293cd5.entry.js → p-deb98669.entry.js} +1 -1
- package/lib/duet/{p-5e1120da.entry.js → p-df345202.entry.js} +1 -1
- package/lib/duet/{p-9353767c.entry.js → p-e0907f29.entry.js} +1 -1
- package/lib/duet/p-e333b9fc.system.entry.js +4 -0
- package/lib/duet/{p-db39d325.system.entry.js → p-e362468f.system.entry.js} +1 -1
- package/lib/duet/p-e411627f.entry.js +4 -0
- package/lib/duet/{p-6410e5dd.system.entry.js → p-e58015e8.system.entry.js} +1 -1
- package/lib/duet/{p-487de512.system.entry.js → p-e614e39f.system.entry.js} +1 -1
- package/lib/duet/{p-e934cfac.system.entry.js → p-e640a515.system.entry.js} +1 -1
- package/lib/duet/{p-493902bd.entry.js → p-e7fd0d14.entry.js} +1 -1
- package/lib/duet/{p-58c64457.system.entry.js → p-e86cafa6.system.entry.js} +2 -2
- package/lib/duet/{p-1ce4129b.system.entry.js → p-eafed149.system.entry.js} +1 -1
- package/lib/duet/{p-674c32de.system.entry.js → p-ebbecac7.system.entry.js} +1 -1
- package/lib/duet/{p-7c1bf9e8.entry.js → p-ec2e1d5e.entry.js} +1 -1
- package/lib/duet/{p-48738ce9.entry.js → p-ee4af632.entry.js} +1 -1
- package/lib/duet/{p-0e54eb00.entry.js → p-f07cbc38.entry.js} +1 -1
- package/lib/duet/{p-247102ef.entry.js → p-f1b5656c.entry.js} +1 -1
- package/lib/duet/p-f2279e1e.entry.js +4 -0
- package/lib/duet/{p-d86fad06.system.entry.js → p-f42f7738.system.entry.js} +2 -2
- package/lib/duet/{p-7104bf8e.entry.js → p-f48deed8.entry.js} +1 -1
- package/lib/duet/{p-39ac2361.system.entry.js → p-fa311641.system.entry.js} +1 -1
- package/lib/duet/{p-34d9bec1.system.entry.js → p-fa72c79b.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +10 -3
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +262 -129
- 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 +3 -3
- 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 +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +40 -4
- 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-item.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +15 -5
- package/lib/esm/duet-multiselect.entry.js +2 -2
- 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 +2 -22
- package/lib/esm/duet-overlay.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 +2 -2
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +2 -2
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +3 -3
- package/lib/esm/duet-slideout.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +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-item.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 +2 -2
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-9390e3ea.js → focus-utils-ef611bf3.js} +1 -1
- package/lib/esm/{index-3dfa2ad1.js → index-356c0666.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{slot-utils-1115a819.js → slot-utils-b50aaef5.js} +3 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-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 +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- 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 +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 +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- 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-item.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-overlay.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 +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-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 +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-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.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-9390e3ea.js → focus-utils-ef611bf3.js} +1 -1
- package/lib/esm-es5/{index-3dfa2ad1.js → index-356c0666.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-utils-b50aaef5.js +4 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +4 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +49 -35
- package/lib/types/components/duet-input/duet-input.d.ts +30 -0
- package/lib/types/components.d.ts +44 -21
- package/package.json +8 -8
- package/lib/duet/p-0a115218.entry.js +0 -4
- package/lib/duet/p-0d022f48.entry.js +0 -4
- package/lib/duet/p-14fffe50.system.entry.js +0 -4
- package/lib/duet/p-1c2748ee.entry.js +0 -4
- package/lib/duet/p-23ebb813.system.entry.js +0 -4
- package/lib/duet/p-3e53a745.entry.js +0 -4
- package/lib/duet/p-40fb2b0e.js +0 -4
- package/lib/duet/p-553ec65b.entry.js +0 -4
- package/lib/duet/p-5aa0c6a4.system.js +0 -4
- package/lib/duet/p-7cf03aa8.system.js +0 -4
- package/lib/duet/p-8c14f613.entry.js +0 -4
- package/lib/duet/p-98dbf928.system.entry.js +0 -4
- package/lib/duet/p-bb588a96.system.entry.js +0 -4
- package/lib/duet/p-c3d47de6.entry.js +0 -4
- package/lib/duet/p-ce490ebd.system.js +0 -4
- package/lib/duet/p-d0241096.entry.js +0 -4
- package/lib/duet/p-d87f6dd5.js +0 -4
- package/lib/duet/p-e8107d10.system.entry.js +0 -4
- package/lib/duet/p-feb80651.entry.js +0 -4
- package/lib/esm-es5/slot-utils-1115a819.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -8525,7 +8525,9 @@ const getElementsFromDefaultSlot = (element) => {
|
|
|
8525
8525
|
return childElements.filter(el => !el.getAttribute("slot"));
|
|
8526
8526
|
};
|
|
8527
8527
|
const hasSlot = (element, slotName) => {
|
|
8528
|
-
return
|
|
8528
|
+
return slotName
|
|
8529
|
+
? getElementsFromNamedSlot(element, slotName).length > 0
|
|
8530
|
+
: getElementsFromDefaultSlot(element).length > 0;
|
|
8529
8531
|
};
|
|
8530
8532
|
/**
|
|
8531
8533
|
* Check if the slotted element matches the given selector.
|
|
@@ -9724,12 +9726,13 @@ class DuetCheckmark {
|
|
|
9724
9726
|
}; }
|
|
9725
9727
|
}
|
|
9726
9728
|
|
|
9727
|
-
const duetChipCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-chip,*.sc-duet-chip::after,*.sc-duet-chip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-chip-h{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*/.sc-duet-chip-h:last-child,.sc-duet-chip-h:last-of-type{margin-right:0 !important}/*!@.duet-chip-container*/.duet-chip-container.sc-duet-chip{-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(207, 210, 212);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*/.duet-chip-container.duet-p-0.sc-duet-chip{padding:0 !important}/*!@.duet-chip-container.duet-m-0*/.duet-chip-container.duet-m-0.sc-duet-chip{margin:0 !important}/*!@.duet-chip-container.duet-theme-turva*/.duet-chip-container.duet-theme-turva.sc-duet-chip{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}/*!@.duet-chip-container.duet-theme-turva:hover*/.duet-chip-container.duet-theme-turva.sc-duet-chip:hover{border-color:rgb(198, 12, 48)}/*!@.duet-chip-container:hover*/.duet-chip-container.sc-duet-chip:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}/*!@.duet-chip-container.duet-chip-disabled*/.duet-chip-container.duet-chip-disabled.sc-duet-chip{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*/.duet-chip-container.duet-chip-disabled.duet-theme-turva.sc-duet-chip{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}/*!@.duet-chip-container.duet-chip-disabled:hover*/.duet-chip-container.duet-chip-disabled.sc-duet-chip:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}/*!@.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva*/.duet-chip-container.duet-chip-disabled.sc-duet-chip:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}/*!@.duet-chip-container.duet-chip-disabled button,\n.duet-chip-container.duet-chip-disabled label*/.duet-chip-container.duet-chip-disabled.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-disabled.sc-duet-chip label.sc-duet-chip{cursor:default}/*!@.duet-chip-container button,\n.duet-chip-container label*/.duet-chip-container.sc-duet-chip button.sc-duet-chip,.duet-chip-container.sc-duet-chip label.sc-duet-chip{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}/*!@.duet-chip-container button:focus,\n.duet-chip-container label:focus*/.duet-chip-container.sc-duet-chip button.sc-duet-chip:focus,.duet-chip-container.sc-duet-chip label.sc-duet-chip:focus{outline:none}/*!@.duet-chip-container .duet-chip-icon-container*/.duet-chip-container.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}/*!@.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container*/.duet-chip-container.duet-chip-has-icon.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{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*/.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{padding-right:11px;padding-left:3px}/*!@.duet-chip-container.duet-chip-has-icon button,\n.duet-chip-container.duet-chip-has-icon label*/.duet-chip-container.duet-chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-has-icon.sc-duet-chip label.sc-duet-chip{padding-left:10px}/*!@.duet-chip-container.duet-chip-has-popup button,\n.duet-chip-container.duet-chip-has-popup label*/.duet-chip-container.duet-chip-has-popup.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-has-popup.sc-duet-chip label.sc-duet-chip{padding-right:8px}/*!@.duet-chip-container duet-icon:not(.check-mark)*/.duet-chip-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}/*!@.duet-chip-container duet-icon.check-mark*/.duet-chip-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip{width:0;overflow:hidden;visibility: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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}/*!@.duet-chip-container.duet-chip-filter-checked:hover, .duet-chip-container.duet-chip-radio-checked:hover*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip:hover,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip:hover{background:rgb(205, 229, 241)}/*!@.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,\n.duet-chip-container.duet-chip-filter-checked.chip-has-icon label, .duet-chip-container.duet-chip-radio-checked.chip-has-icon button,\n.duet-chip-container.duet-chip-radio-checked.chip-has-icon label*/.duet-chip-container.duet-chip-filter-checked.chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-filter-checked.chip-has-icon.sc-duet-chip label.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.chip-has-icon.sc-duet-chip label.sc-duet-chip{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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{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)*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark),.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark){width:0;overflow:hidden;visibility: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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip{width:auto;visibility:visible;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*/.duet-chip-container.duet-chip-filter-checked.duet-theme-turva.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva.sc-duet-chip{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}/*!@.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover*/.duet-chip-container.duet-chip-filter-checked.duet-theme-turva.sc-duet-chip:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva.sc-duet-chip:hover{background:rgb(228, 228, 230)}/*!@.duet-chip-container .duet-chip-popup-disclosure*/.duet-chip-container.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip{padding-right:4.5px;padding-left:12.5px}/*!@.duet-chip-container .duet-chip-popup-disclosure duet-icon*/.duet-chip-container.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip duet-icon.sc-duet-chip{transition:transform 300ms ease}/*!@.duet-chip-container.duet-chip-filter-popup-open*/.duet-chip-container.duet-chip-filter-popup-open.sc-duet-chip{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}/*!@.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva*/.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva.sc-duet-chip{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*/.duet-chip-container.duet-chip-filter-popup-open.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip duet-icon.sc-duet-chip{transform:rotate(180deg)}/*!@.duet-chip-container.duet-chip-input*/.duet-chip-container.duet-chip-input.sc-duet-chip{display:flex;align-items:center;padding-right:0 !important}/*!@.duet-chip-container.duet-chip-input .duet-chip-input-button*/.duet-chip-container.duet-chip-input.sc-duet-chip .duet-chip-input-button.sc-duet-chip{flex-grow:1}/*!@.duet-chip-container.duet-chip-input .duet-chip-remove-button*/.duet-chip-container.duet-chip-input.sc-duet-chip .duet-chip-remove-button.sc-duet-chip{width:26px;padding:8px 16px 8px 0;margin:-8px 0}/*!@.duet-chip-container.large button,\n.duet-chip-container.large label*/.duet-chip-container.large.sc-duet-chip button.sc-duet-chip,.duet-chip-container.large.sc-duet-chip label.sc-duet-chip{padding:15px 22px}/*!@:host(.user-is-tabbing) .duet-chip-focus*/.user-is-tabbing.sc-duet-chip-h .duet-chip-focus.sc-duet-chip{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*/.user-is-tabbing.sc-duet-chip-h .duet-chip-focus.duet-theme-turva.sc-duet-chip{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-chip-container input*/.duet-chip-container.sc-duet-chip input.sc-duet-chip{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
9729
|
+
const duetChipCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-chip,*.sc-duet-chip::after,*.sc-duet-chip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-chip-h{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*/.sc-duet-chip-h:last-child,.sc-duet-chip-h:last-of-type{margin-right:0 !important}/*!@:host(.input)*/.input.sc-duet-chip-h{margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}/*!@.duet-chip-container*/.duet-chip-container.sc-duet-chip{-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(207, 210, 212);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*/.duet-chip-container.duet-p-0.sc-duet-chip{padding:0 !important}/*!@.duet-chip-container.duet-m-0*/.duet-chip-container.duet-m-0.sc-duet-chip{margin:0 !important}/*!@.duet-chip-container.duet-theme-turva*/.duet-chip-container.duet-theme-turva.sc-duet-chip{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}/*!@.duet-chip-container.duet-theme-turva:hover*/.duet-chip-container.duet-theme-turva.sc-duet-chip:hover{border-color:rgb(198, 12, 48)}/*!@.duet-chip-container:hover*/.duet-chip-container.sc-duet-chip:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}/*!@.duet-chip-container.duet-chip-disabled*/.duet-chip-container.duet-chip-disabled.sc-duet-chip{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*/.duet-chip-container.duet-chip-disabled.duet-theme-turva.sc-duet-chip{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}/*!@.duet-chip-container.duet-chip-disabled:hover*/.duet-chip-container.duet-chip-disabled.sc-duet-chip:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}/*!@.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva*/.duet-chip-container.duet-chip-disabled.sc-duet-chip:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}/*!@.duet-chip-container.duet-chip-disabled button,\n.duet-chip-container.duet-chip-disabled label*/.duet-chip-container.duet-chip-disabled.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-disabled.sc-duet-chip label.sc-duet-chip{cursor:default}/*!@.duet-chip-container button,\n.duet-chip-container label*/.duet-chip-container.sc-duet-chip button.sc-duet-chip,.duet-chip-container.sc-duet-chip label.sc-duet-chip{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}/*!@.duet-chip-container button:focus,\n.duet-chip-container label:focus*/.duet-chip-container.sc-duet-chip button.sc-duet-chip:focus,.duet-chip-container.sc-duet-chip label.sc-duet-chip:focus{outline:none}/*!@.duet-chip-container .duet-chip-icon-container*/.duet-chip-container.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}/*!@.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container*/.duet-chip-container.duet-chip-has-icon.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{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*/.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{padding-right:11px;padding-left:3px}/*!@.duet-chip-container.duet-chip-has-icon button,\n.duet-chip-container.duet-chip-has-icon label*/.duet-chip-container.duet-chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-has-icon.sc-duet-chip label.sc-duet-chip{padding-left:10px}/*!@.duet-chip-container.duet-chip-has-popup button,\n.duet-chip-container.duet-chip-has-popup label*/.duet-chip-container.duet-chip-has-popup.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-has-popup.sc-duet-chip label.sc-duet-chip{padding-right:8px}/*!@.duet-chip-container duet-icon:not(.check-mark)*/.duet-chip-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}/*!@.duet-chip-container duet-icon.check-mark*/.duet-chip-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip{width:0;overflow:hidden;visibility: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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}/*!@.duet-chip-container.duet-chip-filter-checked:hover, .duet-chip-container.duet-chip-radio-checked:hover*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip:hover,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip:hover{background:rgb(205, 229, 241)}/*!@.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,\n.duet-chip-container.duet-chip-filter-checked.chip-has-icon label, .duet-chip-container.duet-chip-radio-checked.chip-has-icon button,\n.duet-chip-container.duet-chip-radio-checked.chip-has-icon label*/.duet-chip-container.duet-chip-filter-checked.chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-filter-checked.chip-has-icon.sc-duet-chip label.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.chip-has-icon.sc-duet-chip button.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.chip-has-icon.sc-duet-chip label.sc-duet-chip{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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip{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)*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark),.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.sc-duet-chip:not(.check-mark){width:0;overflow:hidden;visibility: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*/.duet-chip-container.duet-chip-filter-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.sc-duet-chip .duet-chip-icon-container.sc-duet-chip duet-icon.check-mark.sc-duet-chip{width:auto;visibility:visible;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*/.duet-chip-container.duet-chip-filter-checked.duet-theme-turva.sc-duet-chip,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva.sc-duet-chip{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}/*!@.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover*/.duet-chip-container.duet-chip-filter-checked.duet-theme-turva.sc-duet-chip:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva.sc-duet-chip:hover{background:rgb(228, 228, 230)}/*!@.duet-chip-container .duet-chip-popup-disclosure*/.duet-chip-container.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip{padding-right:4.5px;padding-left:12.5px}/*!@.duet-chip-container .duet-chip-popup-disclosure duet-icon*/.duet-chip-container.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip duet-icon.sc-duet-chip{transition:transform 300ms ease}/*!@.duet-chip-container.duet-chip-filter-popup-open*/.duet-chip-container.duet-chip-filter-popup-open.sc-duet-chip{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}/*!@.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva*/.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva.sc-duet-chip{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*/.duet-chip-container.duet-chip-filter-popup-open.sc-duet-chip .duet-chip-popup-disclosure.sc-duet-chip duet-icon.sc-duet-chip{transform:rotate(180deg)}/*!@.duet-chip-container.duet-chip-input*/.duet-chip-container.duet-chip-input.sc-duet-chip{display:flex;align-items:center;padding-right:0 !important}/*!@.duet-chip-container.duet-chip-input .duet-chip-input-button*/.duet-chip-container.duet-chip-input.sc-duet-chip .duet-chip-input-button.sc-duet-chip{flex-grow:1}/*!@.duet-chip-container.duet-chip-input .duet-chip-remove-button*/.duet-chip-container.duet-chip-input.sc-duet-chip .duet-chip-remove-button.sc-duet-chip{width:26px;padding:8px 16px 8px 0;margin:-8px 0}/*!@.duet-chip-container.large button,\n.duet-chip-container.large label*/.duet-chip-container.large.sc-duet-chip button.sc-duet-chip,.duet-chip-container.large.sc-duet-chip label.sc-duet-chip{padding:15px 22px}/*!@:host(.user-is-tabbing) .duet-chip-focus*/.user-is-tabbing.sc-duet-chip-h .duet-chip-focus.sc-duet-chip{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*/.user-is-tabbing.sc-duet-chip-h .duet-chip-focus.duet-theme-turva.sc-duet-chip{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-chip-container input*/.duet-chip-container.sc-duet-chip input.sc-duet-chip{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
9728
9730
|
|
|
9729
9731
|
class DuetChip {
|
|
9730
9732
|
constructor(hostRef) {
|
|
9731
9733
|
registerInstance(this, hostRef);
|
|
9732
9734
|
this.duetChange = createEvent$2(this, "duetChange", 3);
|
|
9735
|
+
this.duetRemove = createEvent$2(this, "duetRemove", 3);
|
|
9733
9736
|
this.duetFocus = createEvent$2(this, "duetFocus", 7);
|
|
9734
9737
|
this.duetBlur = createEvent$2(this, "duetBlur", 7);
|
|
9735
9738
|
/**
|
|
@@ -9856,6 +9859,12 @@ class DuetChip {
|
|
|
9856
9859
|
this.onRemoveClick = (evt) => {
|
|
9857
9860
|
evt.stopPropagation();
|
|
9858
9861
|
evt.preventDefault();
|
|
9862
|
+
this.duetRemove.emit({
|
|
9863
|
+
originalEvent: evt,
|
|
9864
|
+
checked: this.checked,
|
|
9865
|
+
value: this.value,
|
|
9866
|
+
component: "duet-chip",
|
|
9867
|
+
});
|
|
9859
9868
|
this.element.remove();
|
|
9860
9869
|
};
|
|
9861
9870
|
this.focus = false;
|
|
@@ -9943,7 +9952,7 @@ class DuetChip {
|
|
|
9943
9952
|
onBlur: this.onBlur,
|
|
9944
9953
|
ref: el => (this.focusableElement = el),
|
|
9945
9954
|
};
|
|
9946
|
-
return (hAsync(Host,
|
|
9955
|
+
return (hAsync(Host, { class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { class: classes }, hAsync("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), hAsync("span", { class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", null)))), this.variation === "input" && (hAsync("span", { class: classes }, hAsync("button", Object.assign({ id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel }, focusHandlers), hAsync("span", { class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", null)), hAsync("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, hAsync("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { class: classes }, hAsync("input", Object.assign({ "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), hAsync("label", { htmlFor: identifier }, this.icon && (hAsync("span", { class: "duet-chip-icon-container" }, hAsync("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", null), this.popupElement && (hAsync("span", { class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { class: classes }, hAsync("input", Object.assign({ "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "radio", name: this.name, value: this.value, checked: this.checked, onChange: this.onRadioChange, onClick: this.disabled ? evt => evt.preventDefault() : undefined }, focusHandlers)), hAsync("label", { htmlFor: identifier }, this.icon && (hAsync("span", { class: "duet-chip-icon-container" }, hAsync("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", null))))));
|
|
9947
9956
|
}
|
|
9948
9957
|
get element() { return getElement(this); }
|
|
9949
9958
|
static get watchers() { return {
|
|
@@ -9961,7 +9970,7 @@ class DuetChip {
|
|
|
9961
9970
|
"icon": [1],
|
|
9962
9971
|
"theme": [1025],
|
|
9963
9972
|
"identifier": [1],
|
|
9964
|
-
"value": [
|
|
9973
|
+
"value": [1537],
|
|
9965
9974
|
"name": [1],
|
|
9966
9975
|
"checked": [1540],
|
|
9967
9976
|
"disabled": [4],
|
|
@@ -9974,7 +9983,7 @@ class DuetChip {
|
|
|
9974
9983
|
},
|
|
9975
9984
|
"$listeners$": undefined,
|
|
9976
9985
|
"$lazyBundleId$": "-",
|
|
9977
|
-
"$attrsToReflect$": [["checked", "checked"], ["accessibleExpanded", "accessible-expanded"], ["accessiblePopup", "accessible-popup"]]
|
|
9986
|
+
"$attrsToReflect$": [["value", "value"], ["checked", "checked"], ["accessibleExpanded", "accessible-expanded"], ["accessiblePopup", "accessible-popup"]]
|
|
9978
9987
|
}; }
|
|
9979
9988
|
}
|
|
9980
9989
|
|
|
@@ -11067,7 +11076,7 @@ class DuetCollapsible {
|
|
|
11067
11076
|
}; }
|
|
11068
11077
|
}
|
|
11069
11078
|
|
|
11070
|
-
const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-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\";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;
|
|
11079
|
+
const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-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\";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-combobox-list.open.sc-duet-combobox{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}";
|
|
11071
11080
|
|
|
11072
11081
|
class DuetCombobox {
|
|
11073
11082
|
constructor(hostRef) {
|
|
@@ -11083,24 +11092,63 @@ class DuetCombobox {
|
|
|
11083
11092
|
// this.listElement.style.width = `${currentWidth + 1}px`
|
|
11084
11093
|
}
|
|
11085
11094
|
}, 100));
|
|
11086
|
-
this.
|
|
11095
|
+
this.onInputChange = async (e) => {
|
|
11096
|
+
const newValue = e.detail.value;
|
|
11097
|
+
this.inputValue = newValue;
|
|
11098
|
+
};
|
|
11099
|
+
this.onInputClick = () => {
|
|
11100
|
+
var _a, _b;
|
|
11101
|
+
if (this.openListOnClick) {
|
|
11102
|
+
this.listOpen = !this.listOpen;
|
|
11103
|
+
}
|
|
11104
|
+
else {
|
|
11105
|
+
this.listOpen = ((_a = this.inputValue) === null || _a === void 0 ? void 0 : _a.length) >= this.minCharacters;
|
|
11106
|
+
}
|
|
11107
|
+
if (!((_b = this.getFilteredItems()) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
11108
|
+
this.listOpen = false;
|
|
11109
|
+
}
|
|
11110
|
+
};
|
|
11111
|
+
this.onInputTyping = async (e) => {
|
|
11112
|
+
var _a;
|
|
11113
|
+
const newValue = e.detail.value;
|
|
11114
|
+
if (!this.force && !this.multiple && this.selectedItems.size > 0 && newValue !== this.getSelectedItemLabel()) {
|
|
11115
|
+
this.selectedItems.clear();
|
|
11116
|
+
}
|
|
11117
|
+
this.listOpen = String(newValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
11118
|
+
};
|
|
11119
|
+
this.onKeyDown = (e) => {
|
|
11087
11120
|
//if selection is made, close the list and update internal and external values
|
|
11121
|
+
const listItems = this.returnFilteredOrNonFiltered();
|
|
11088
11122
|
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
11089
11123
|
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
11090
11124
|
this.input.accessibleActiveDescendant = undefined;
|
|
11091
11125
|
if (isEnterKey(e)) {
|
|
11092
11126
|
e.preventDefault();
|
|
11093
|
-
this.
|
|
11094
|
-
|
|
11127
|
+
if (this.listOpen && this.activeItem !== undefined && listItems[this.activeItem]) {
|
|
11128
|
+
if (this.multiple) {
|
|
11129
|
+
this.addSelectedItem(listItems[this.activeItem].id, true);
|
|
11130
|
+
}
|
|
11131
|
+
else {
|
|
11132
|
+
this.updateSelectedItem(listItems[this.activeItem].id, true);
|
|
11133
|
+
}
|
|
11134
|
+
}
|
|
11135
|
+
this.activeItem = undefined;
|
|
11095
11136
|
this.listOpen = false;
|
|
11096
11137
|
return;
|
|
11097
11138
|
}
|
|
11098
|
-
//tabbing out or escaping, restore initial state
|
|
11099
11139
|
if (isEscapeKey(e) || isTabKey(e)) {
|
|
11100
11140
|
this.updateInputText(true);
|
|
11141
|
+
this.activeItem = undefined;
|
|
11101
11142
|
this.listOpen = false;
|
|
11102
11143
|
return;
|
|
11103
11144
|
}
|
|
11145
|
+
if (isBackspaceKey(e) && this.inputValue === "") {
|
|
11146
|
+
if (this.multiple && this.selectedItems.size > 0) {
|
|
11147
|
+
const lastItem = Array.from(this.selectedItems).pop();
|
|
11148
|
+
this.removeSelectedItem(lastItem, true);
|
|
11149
|
+
}
|
|
11150
|
+
return;
|
|
11151
|
+
}
|
|
11104
11152
|
//handle arrow up/down navigation
|
|
11105
11153
|
let nextActiveItem = this.activeItem;
|
|
11106
11154
|
if (isArrowUpKey(e)) {
|
|
@@ -11113,7 +11161,6 @@ class DuetCombobox {
|
|
|
11113
11161
|
this.listOpen = true;
|
|
11114
11162
|
}
|
|
11115
11163
|
if (isArrowDownKey(e) || isArrowUpKey(e)) {
|
|
11116
|
-
const listItems = this.shouldListBeFiltered() ? this.getFilteredItems() : this.processedItems;
|
|
11117
11164
|
if (nextActiveItem < 0 || !nextActiveItem) {
|
|
11118
11165
|
nextActiveItem = 0;
|
|
11119
11166
|
}
|
|
@@ -11126,13 +11173,10 @@ class DuetCombobox {
|
|
|
11126
11173
|
this.activeItem = nextActiveItem;
|
|
11127
11174
|
this.scrollToActive();
|
|
11128
11175
|
}
|
|
11129
|
-
this.announceActive();
|
|
11130
11176
|
return;
|
|
11131
11177
|
};
|
|
11132
11178
|
this.processedItems = null;
|
|
11133
|
-
this.inputWidth = 0;
|
|
11134
11179
|
this.inputValue = "";
|
|
11135
|
-
this.selectionMsg = "";
|
|
11136
11180
|
this.listOpen = false;
|
|
11137
11181
|
this.selectedItems = new Set();
|
|
11138
11182
|
this.activeItem = undefined;
|
|
@@ -11154,8 +11198,11 @@ class DuetCombobox {
|
|
|
11154
11198
|
},
|
|
11155
11199
|
};
|
|
11156
11200
|
this.accessibleLabels = getLocaleString(this.accessibleLabelDefaults, getLanguage());
|
|
11201
|
+
this.label = "";
|
|
11202
|
+
this.caption = "";
|
|
11157
11203
|
this.theme = "";
|
|
11158
11204
|
this.force = false;
|
|
11205
|
+
this.multiple = false;
|
|
11159
11206
|
this.items = undefined;
|
|
11160
11207
|
this.formatter = (item) => item && item.name ? item.name : "";
|
|
11161
11208
|
this.value = undefined;
|
|
@@ -11171,7 +11218,7 @@ class DuetCombobox {
|
|
|
11171
11218
|
const path = e.composedPath();
|
|
11172
11219
|
const isClickOutside = path.every(el => el !== this.element);
|
|
11173
11220
|
if (isClickOutside) {
|
|
11174
|
-
this.updateInputText(true
|
|
11221
|
+
this.updateInputText(true);
|
|
11175
11222
|
this.listOpen = false;
|
|
11176
11223
|
}
|
|
11177
11224
|
}
|
|
@@ -11182,17 +11229,67 @@ class DuetCombobox {
|
|
|
11182
11229
|
async formatItem(item) {
|
|
11183
11230
|
return this.formatter(item);
|
|
11184
11231
|
}
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11232
|
+
processItems() {
|
|
11233
|
+
const ids = [];
|
|
11234
|
+
this.processedItems = parsePossibleJSON(this.items);
|
|
11235
|
+
if (!Array.isArray(this.processedItems)) {
|
|
11236
|
+
console.error("DuetCombobox: Items should be an array");
|
|
11237
|
+
return;
|
|
11238
|
+
}
|
|
11239
|
+
if (this.processedItems.length !== new Set([...this.processedItems]).size) {
|
|
11240
|
+
console.warn("DuetCombobox: Duplicate item values found in the list");
|
|
11241
|
+
}
|
|
11242
|
+
this.processedItems = this.processedItems.map((item, index) => {
|
|
11243
|
+
if (typeof item === "string") {
|
|
11244
|
+
item = { name: item, value: item };
|
|
11245
|
+
}
|
|
11246
|
+
if (item.id !== undefined) {
|
|
11247
|
+
item.id = String(item.id);
|
|
11248
|
+
}
|
|
11249
|
+
else {
|
|
11250
|
+
item.id = `${JSON.stringify(item.value)}-${item.name}`;
|
|
11251
|
+
}
|
|
11252
|
+
if (ids.includes(item.id)) {
|
|
11253
|
+
console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");
|
|
11254
|
+
item.id = `${item.id}-${index}`;
|
|
11255
|
+
}
|
|
11256
|
+
ids.push(item.id);
|
|
11257
|
+
return item;
|
|
11258
|
+
});
|
|
11259
|
+
// remove any item selections that are no longer in the items list
|
|
11260
|
+
const selectionsMissing = Array.from(this.selectedItems).filter(id => !this.processedItems.find(item => item.id === id));
|
|
11261
|
+
if (selectionsMissing.length) {
|
|
11262
|
+
if (this.multiple) {
|
|
11263
|
+
selectionsMissing.forEach(id => this.removeSelectedItem(id));
|
|
11264
|
+
}
|
|
11265
|
+
else {
|
|
11266
|
+
this.updateSelectedItem(selectionsMissing[0], true);
|
|
11267
|
+
}
|
|
11268
|
+
}
|
|
11188
11269
|
}
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
this.
|
|
11270
|
+
processValue() {
|
|
11271
|
+
// empty string may be valid item value
|
|
11272
|
+
if (this.value !== "" && !this.value) {
|
|
11273
|
+
this.selectedItems.clear();
|
|
11274
|
+
return;
|
|
11275
|
+
}
|
|
11276
|
+
const values = Array.isArray(this.value) ? this.value : [this.value];
|
|
11277
|
+
const ids = this.processedItems.filter(item => values.includes(item.value)).map(item => item.id);
|
|
11278
|
+
// if value corresponds to the selectedItems, do nothing
|
|
11279
|
+
if (ids.length === this.selectedItems.size && ids.every(id => this.selectedItems.has(id))) {
|
|
11280
|
+
return;
|
|
11281
|
+
}
|
|
11282
|
+
if (this.multiple) {
|
|
11283
|
+
this.selectedItems.clear();
|
|
11284
|
+
this.input.clearChips();
|
|
11285
|
+
ids.forEach(id => this.addSelectedItem(id));
|
|
11286
|
+
}
|
|
11287
|
+
else {
|
|
11288
|
+
const selectedItem = this.processedItems.find(item => item.value === this.value);
|
|
11289
|
+
this.updateSelectedItem(selectedItem.id);
|
|
11193
11290
|
}
|
|
11194
11291
|
}
|
|
11195
|
-
|
|
11292
|
+
processListOpenChange() {
|
|
11196
11293
|
if (this.openListOnClick) {
|
|
11197
11294
|
this.input.icon = this.listOpen ? "action-arrow-up" : "action-arrow-down";
|
|
11198
11295
|
}
|
|
@@ -11217,30 +11314,14 @@ class DuetCombobox {
|
|
|
11217
11314
|
componentDidLoad() {
|
|
11218
11315
|
// observe resize events to dynamically adjust size of dropdown area
|
|
11219
11316
|
this.resizeObserver.observe(this.input);
|
|
11220
|
-
this.listElement.addEventListener("click", e => {
|
|
11221
|
-
e.stopPropagation();
|
|
11222
|
-
});
|
|
11223
11317
|
this.processValue();
|
|
11224
11318
|
}
|
|
11225
|
-
/**
|
|
11226
|
-
* Updates the input text based on the selected/clicked items.
|
|
11227
|
-
* @param event - event
|
|
11228
|
-
*'param item: DuetComboboxItem - the item that was selected
|
|
11229
|
-
*/
|
|
11230
|
-
onListClick(e, item) {
|
|
11231
|
-
e.preventDefault();
|
|
11232
|
-
// update selected item with id
|
|
11233
|
-
this.updateSelectedItems(item.id, true);
|
|
11234
|
-
this.listOpen = false;
|
|
11235
|
-
return this.listOpen;
|
|
11236
|
-
}
|
|
11237
11319
|
/**
|
|
11238
11320
|
* Helper function that checks inputs in the field, compares it with the item list and returns true when inputvalue matches selectedItem id
|
|
11239
|
-
* TODO: this should be disabled in multiple mode
|
|
11240
11321
|
*/
|
|
11241
11322
|
shouldListBeFiltered() {
|
|
11242
|
-
if (this.selectedItems.size && this.input.value === this.inputValue) {
|
|
11243
|
-
const item = this.
|
|
11323
|
+
if (!this.multiple && this.selectedItems.size && this.input.value === this.inputValue) {
|
|
11324
|
+
const item = this.processedItems.find(item => this.selectedItems.has(item.id));
|
|
11244
11325
|
return !(this.formatter(item).toLowerCase() === this.input.value.toLowerCase());
|
|
11245
11326
|
}
|
|
11246
11327
|
return true;
|
|
@@ -11255,91 +11336,135 @@ class DuetCombobox {
|
|
|
11255
11336
|
: this.sortFilteredItems(this.processedItems)
|
|
11256
11337
|
: [];
|
|
11257
11338
|
}
|
|
11339
|
+
emitChangeEvent(id) {
|
|
11340
|
+
const item = this.processedItems.find(item => item.id === id);
|
|
11341
|
+
this.duetChange.emit({
|
|
11342
|
+
item,
|
|
11343
|
+
value: this.value,
|
|
11344
|
+
component: "duet-combobox",
|
|
11345
|
+
});
|
|
11346
|
+
}
|
|
11258
11347
|
/**
|
|
11259
|
-
* Updates the selected items
|
|
11260
|
-
* @param id
|
|
11261
|
-
* @private
|
|
11348
|
+
* Updates the value after selected items have changed for multiple selection.
|
|
11262
11349
|
*/
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
this.
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11269
|
-
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11350
|
+
updateMultipleValue() {
|
|
11351
|
+
this.value = this.processedItems.filter(item => this.selectedItems.has(item.id)).map(item => item.value);
|
|
11352
|
+
this.input.value = "";
|
|
11353
|
+
this.updateChips();
|
|
11354
|
+
}
|
|
11355
|
+
/**
|
|
11356
|
+
* Add item with id to the selectedItems set. Used only when multiple is true.
|
|
11357
|
+
*/
|
|
11358
|
+
addSelectedItem(id, emitEvent) {
|
|
11359
|
+
if (this.selectedItems.has(id)) {
|
|
11360
|
+
return;
|
|
11273
11361
|
}
|
|
11362
|
+
this.selectedItems.add(id);
|
|
11363
|
+
this.updateMultipleValue();
|
|
11274
11364
|
if (emitEvent) {
|
|
11275
|
-
|
|
11276
|
-
this.duetChange.emit({
|
|
11277
|
-
value: item[0].value,
|
|
11278
|
-
item: item[0],
|
|
11279
|
-
component: "duet-combobox",
|
|
11280
|
-
});
|
|
11365
|
+
this.emitChangeEvent(id);
|
|
11281
11366
|
}
|
|
11282
|
-
await this.updateInputText();
|
|
11283
11367
|
}
|
|
11284
11368
|
/**
|
|
11285
|
-
*
|
|
11286
|
-
* @param bool -override to clear if invoked by "click outside"
|
|
11369
|
+
* Remove item with id from the selectedItems set. Used only when multiple is true.
|
|
11287
11370
|
*/
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11371
|
+
removeSelectedItem(id, emitEvent) {
|
|
11372
|
+
if (!this.selectedItems.has(id)) {
|
|
11373
|
+
return;
|
|
11374
|
+
}
|
|
11375
|
+
this.selectedItems.delete(id);
|
|
11376
|
+
this.updateMultipleValue();
|
|
11377
|
+
if (emitEvent) {
|
|
11378
|
+
this.emitChangeEvent(id);
|
|
11379
|
+
}
|
|
11380
|
+
}
|
|
11381
|
+
/**
|
|
11382
|
+
* Updates the selected item based on the item id. Used only when multiple is false.
|
|
11383
|
+
*/
|
|
11384
|
+
async updateSelectedItem(id, emitEvent) {
|
|
11385
|
+
if (this.selectedItems.has(id)) {
|
|
11386
|
+
this.selectedItems.delete(id);
|
|
11294
11387
|
this.value = undefined;
|
|
11295
|
-
this.activeItem = undefined;
|
|
11296
11388
|
}
|
|
11297
|
-
|
|
11298
|
-
this.
|
|
11299
|
-
this.
|
|
11300
|
-
this.
|
|
11301
|
-
this.activeItem = undefined;
|
|
11302
|
-
this.value = item[0].value;
|
|
11389
|
+
else {
|
|
11390
|
+
this.selectedItems.clear();
|
|
11391
|
+
this.selectedItems.add(id);
|
|
11392
|
+
this.value = this.processedItems.find(item => item.id === id).value;
|
|
11303
11393
|
}
|
|
11304
|
-
if (
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11394
|
+
if (emitEvent) {
|
|
11395
|
+
this.emitChangeEvent(id);
|
|
11396
|
+
}
|
|
11397
|
+
await this.updateInputText();
|
|
11398
|
+
}
|
|
11399
|
+
/**
|
|
11400
|
+
* Add or remove chips of the input based on the selectedItems Set.
|
|
11401
|
+
*/
|
|
11402
|
+
async updateChips() {
|
|
11403
|
+
const ids = Array.from(this.selectedItems);
|
|
11404
|
+
const chips = await this.input.getChips();
|
|
11405
|
+
ids.forEach(async (id) => {
|
|
11406
|
+
const item = this.processedItems.find(i => i.id === id);
|
|
11407
|
+
const text = await this.formatItem(item);
|
|
11408
|
+
const chipExists = await this.input.hasChip({ value: `${id}`, text });
|
|
11409
|
+
if (!chipExists) {
|
|
11410
|
+
const chip = document.createElement("duet-chip");
|
|
11411
|
+
chip.variation = "input";
|
|
11412
|
+
chip.value = `${id}`;
|
|
11413
|
+
chip.textContent = text;
|
|
11414
|
+
chip.addEventListener("duetRemove", evt => {
|
|
11415
|
+
const id = evt.detail.value;
|
|
11416
|
+
this.removeSelectedItem(id, true);
|
|
11417
|
+
});
|
|
11418
|
+
this.input.addChip(chip);
|
|
11311
11419
|
}
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
this.input.value = selectedValueLabel;
|
|
11420
|
+
});
|
|
11421
|
+
chips.forEach(chip => {
|
|
11422
|
+
if (!ids.includes(chip.value)) {
|
|
11423
|
+
chip.remove();
|
|
11317
11424
|
}
|
|
11318
|
-
}
|
|
11319
|
-
this.listOpen = false;
|
|
11425
|
+
});
|
|
11320
11426
|
}
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
this.
|
|
11324
|
-
|
|
11427
|
+
async getSelectedItemLabel() {
|
|
11428
|
+
const item = this.processedItems.find(item => this.selectedItems.has(item.id));
|
|
11429
|
+
const label = item ? await this.formatItem(item) : "";
|
|
11430
|
+
return label;
|
|
11325
11431
|
}
|
|
11326
|
-
|
|
11327
|
-
|
|
11432
|
+
/**
|
|
11433
|
+
* Updates the input text when the combobox loses focus or when a selection is made.
|
|
11434
|
+
*/
|
|
11435
|
+
async updateInputText(isBlurred = false) {
|
|
11436
|
+
if (isBlurred && this.multiple) {
|
|
11437
|
+
this.input.value = "";
|
|
11328
11438
|
return;
|
|
11329
11439
|
}
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11440
|
+
if (isBlurred && this.force) {
|
|
11441
|
+
if (this.selectedItems.size === 0) {
|
|
11442
|
+
this.input.value = "";
|
|
11443
|
+
}
|
|
11444
|
+
else {
|
|
11445
|
+
this.input.value = await this.getSelectedItemLabel();
|
|
11446
|
+
}
|
|
11447
|
+
}
|
|
11448
|
+
if (!isBlurred && this.selectedItems.size > 0) {
|
|
11449
|
+
this.input.value = ""; // set value to empty so that cursor position follows accordingly
|
|
11450
|
+
this.input.value = await this.getSelectedItemLabel();
|
|
11451
|
+
this.input.scrollLeft = this.input.scrollWidth;
|
|
11452
|
+
}
|
|
11333
11453
|
}
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11454
|
+
// Event handlers
|
|
11455
|
+
onListClick(e, item) {
|
|
11456
|
+
e.preventDefault();
|
|
11457
|
+
e.stopPropagation();
|
|
11458
|
+
// update selected item with id
|
|
11459
|
+
if (this.multiple) {
|
|
11460
|
+
this.addSelectedItem(item.id, true);
|
|
11337
11461
|
}
|
|
11338
|
-
|
|
11339
|
-
|
|
11462
|
+
else {
|
|
11463
|
+
this.updateSelectedItem(item.id, true);
|
|
11340
11464
|
}
|
|
11341
|
-
|
|
11342
|
-
this.
|
|
11465
|
+
this.activeItem = undefined;
|
|
11466
|
+
this.listOpen = false;
|
|
11467
|
+
return this.listOpen;
|
|
11343
11468
|
}
|
|
11344
11469
|
//function that scrolls to the li element with the class "active"
|
|
11345
11470
|
scrollToActive() {
|
|
@@ -11367,16 +11492,27 @@ class DuetCombobox {
|
|
|
11367
11492
|
*/
|
|
11368
11493
|
getFilteredItems() {
|
|
11369
11494
|
// filter items based on user inputs
|
|
11370
|
-
const filteredItems = this.processedItems
|
|
11371
|
-
|
|
11495
|
+
const filteredItems = this.processedItems
|
|
11496
|
+
.filter(item => {
|
|
11497
|
+
var _a, _b, _c, _d, _e;
|
|
11372
11498
|
// filter by name and value
|
|
11373
11499
|
// if value contains inputvalue
|
|
11374
11500
|
return ((_a = String(item.value)) === null || _a === void 0 ? void 0 : _a.toLowerCase()[this.filterType]((_b = this.inputValue) === null || _b === void 0 ? void 0 : _b.toLowerCase())) ||
|
|
11375
11501
|
(
|
|
11376
11502
|
// if name contains input value
|
|
11377
11503
|
(_c = String(item.name)) === null || _c === void 0 ? void 0 : _c.toLowerCase()[this.filterType]((_d = this.inputValue) === null || _d === void 0 ? void 0 : _d.toLowerCase())) ||
|
|
11504
|
+
// if name contains input value
|
|
11505
|
+
this.formatter(item).toLowerCase()[this.filterType]((_e = this.inputValue) === null || _e === void 0 ? void 0 : _e.toLowerCase()) ||
|
|
11378
11506
|
// if the item is selected
|
|
11379
11507
|
this.selectedItems.has(item.id);
|
|
11508
|
+
})
|
|
11509
|
+
// if multiple, filter out the selected items
|
|
11510
|
+
.filter(item => {
|
|
11511
|
+
let include = true;
|
|
11512
|
+
if (this.multiple && this.selectedItems.has(item.id)) {
|
|
11513
|
+
include = false;
|
|
11514
|
+
}
|
|
11515
|
+
return include;
|
|
11380
11516
|
});
|
|
11381
11517
|
return this.sortFilteredItems(filteredItems);
|
|
11382
11518
|
}
|
|
@@ -11418,8 +11554,11 @@ class DuetCombobox {
|
|
|
11418
11554
|
"$members$": {
|
|
11419
11555
|
"accessibleLabelDefaults": [1, "accessible-label-defaults"],
|
|
11420
11556
|
"accessibleLabels": [1040],
|
|
11557
|
+
"label": [1],
|
|
11558
|
+
"caption": [1],
|
|
11421
11559
|
"theme": [1025],
|
|
11422
11560
|
"force": [4],
|
|
11561
|
+
"multiple": [4],
|
|
11423
11562
|
"items": [1032],
|
|
11424
11563
|
"formatter": [16],
|
|
11425
11564
|
"value": [1537],
|
|
@@ -11427,9 +11566,7 @@ class DuetCombobox {
|
|
|
11427
11566
|
"openListOnClick": [4, "open-list-on-click"],
|
|
11428
11567
|
"filterType": [1, "filter-type"],
|
|
11429
11568
|
"processedItems": [32],
|
|
11430
|
-
"inputWidth": [32],
|
|
11431
11569
|
"inputValue": [32],
|
|
11432
|
-
"selectionMsg": [32],
|
|
11433
11570
|
"listOpen": [32],
|
|
11434
11571
|
"selectedItems": [32],
|
|
11435
11572
|
"activeItem": [32],
|
|
@@ -14183,7 +14320,7 @@ function cleanValue(input, regex) {
|
|
|
14183
14320
|
return newValue;
|
|
14184
14321
|
}
|
|
14185
14322
|
|
|
14186
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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) !important;border-color:rgb(116, 116, 117) !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{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(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}";
|
|
14323
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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) !important;border-color:rgb(116, 116, 117) !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{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(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
14187
14324
|
|
|
14188
14325
|
/**
|
|
14189
14326
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
@@ -14350,6 +14487,7 @@ class DuetInput {
|
|
|
14350
14487
|
this.required = false;
|
|
14351
14488
|
this.type = "text";
|
|
14352
14489
|
this.variation = "default";
|
|
14490
|
+
this.chips = false;
|
|
14353
14491
|
this.label = "Label";
|
|
14354
14492
|
this.labelColor = undefined;
|
|
14355
14493
|
this.labelWeight = undefined;
|
|
@@ -14378,7 +14516,7 @@ class DuetInput {
|
|
|
14378
14516
|
if (((_a = this === null || this === void 0 ? void 0 : this.nativeInput) === null || _a === void 0 ? void 0 : _a.value) !== this.value) {
|
|
14379
14517
|
const restoreCursor = resetCursor(this.nativeInput);
|
|
14380
14518
|
this.nativeInput.value = this.value;
|
|
14381
|
-
// restore selection position after having set
|
|
14519
|
+
// restore selection position after having set valuea
|
|
14382
14520
|
// (in webkit based browsers settings value trigger cursor position and will set it to EndOfText)
|
|
14383
14521
|
restoreCursor();
|
|
14384
14522
|
}
|
|
@@ -14448,6 +14586,39 @@ class DuetInput {
|
|
|
14448
14586
|
this.value = "";
|
|
14449
14587
|
}
|
|
14450
14588
|
}
|
|
14589
|
+
getAllChips() {
|
|
14590
|
+
return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"));
|
|
14591
|
+
}
|
|
14592
|
+
/**
|
|
14593
|
+
* @internal
|
|
14594
|
+
* Add a chip to the input
|
|
14595
|
+
*/
|
|
14596
|
+
async addChip(chip) {
|
|
14597
|
+
const container = this.element.querySelector(".duet-input-relative");
|
|
14598
|
+
const input = container.querySelector("input");
|
|
14599
|
+
container.insertBefore(chip, input);
|
|
14600
|
+
}
|
|
14601
|
+
/**
|
|
14602
|
+
* @internal
|
|
14603
|
+
* Does the input have a chip with the given value and text
|
|
14604
|
+
*/
|
|
14605
|
+
async hasChip({ value, text }) {
|
|
14606
|
+
return this.getAllChips().some(chip => chip.value === value && chip.textContent === text);
|
|
14607
|
+
}
|
|
14608
|
+
/**
|
|
14609
|
+
* @internal
|
|
14610
|
+
* Get all chips from the input
|
|
14611
|
+
*/
|
|
14612
|
+
async getChips() {
|
|
14613
|
+
return this.getAllChips();
|
|
14614
|
+
}
|
|
14615
|
+
/**
|
|
14616
|
+
* @internal
|
|
14617
|
+
* Remove all chips from the input
|
|
14618
|
+
*/
|
|
14619
|
+
async clearChips() {
|
|
14620
|
+
this.getAllChips().forEach(chip => chip.remove());
|
|
14621
|
+
}
|
|
14451
14622
|
/**
|
|
14452
14623
|
* render() function
|
|
14453
14624
|
* Always the last one in the class.
|
|
@@ -14490,6 +14661,7 @@ class DuetInput {
|
|
|
14490
14661
|
"required": [4],
|
|
14491
14662
|
"type": [1],
|
|
14492
14663
|
"variation": [1],
|
|
14664
|
+
"chips": [4],
|
|
14493
14665
|
"label": [1025],
|
|
14494
14666
|
"labelColor": [1025, "label-color"],
|
|
14495
14667
|
"labelWeight": [1025, "label-weight"],
|
|
@@ -14514,7 +14686,11 @@ class DuetInput {
|
|
|
14514
14686
|
"isFocused": [32],
|
|
14515
14687
|
"setFocus": [64],
|
|
14516
14688
|
"resetCursor": [64],
|
|
14517
|
-
"clearInput": [64]
|
|
14689
|
+
"clearInput": [64],
|
|
14690
|
+
"addChip": [64],
|
|
14691
|
+
"hasChip": [64],
|
|
14692
|
+
"getChips": [64],
|
|
14693
|
+
"clearChips": [64]
|
|
14518
14694
|
},
|
|
14519
14695
|
"$listeners$": undefined,
|
|
14520
14696
|
"$lazyBundleId$": "-",
|
|
@@ -15712,7 +15888,17 @@ class DuetModal {
|
|
|
15712
15888
|
this.addMessage(this.accessibleLoaderAnnouncement, false);
|
|
15713
15889
|
}
|
|
15714
15890
|
else {
|
|
15715
|
-
this.
|
|
15891
|
+
if (this.isAndroidDevice) {
|
|
15892
|
+
// When focusing to button Android's TalkBack
|
|
15893
|
+
// screenreader sometimes skips announcing modal's heading
|
|
15894
|
+
// before it moves to announcing button so we focus
|
|
15895
|
+
// on model element and let users focus on the button in
|
|
15896
|
+
// order to make sure the label is always announced
|
|
15897
|
+
this.modalEl.focus();
|
|
15898
|
+
}
|
|
15899
|
+
else {
|
|
15900
|
+
this.buttonEl.setFocus();
|
|
15901
|
+
}
|
|
15716
15902
|
}
|
|
15717
15903
|
}, TRANSITION_MS);
|
|
15718
15904
|
setTimeout(() => {
|
|
@@ -15729,7 +15915,7 @@ class DuetModal {
|
|
|
15729
15915
|
this.modalEl.classList.remove("duet-disable-transitions");
|
|
15730
15916
|
enableBodyScroll(this.modalEl);
|
|
15731
15917
|
this.duetClose.emit();
|
|
15732
|
-
this.teleport.removeInertFromSiblings(
|
|
15918
|
+
this.teleport.removeInertFromSiblings();
|
|
15733
15919
|
setTimeout(() => {
|
|
15734
15920
|
focusElement(this.focusedElBeforeOpen);
|
|
15735
15921
|
}, TRANSITION_MS);
|
|
@@ -16420,26 +16606,6 @@ function SafeParseFloat(value, locale) {
|
|
|
16420
16606
|
}
|
|
16421
16607
|
// replace all possible spaces from the string
|
|
16422
16608
|
convertedMinus = convertedMinus.replace(/\s+/g, "");
|
|
16423
|
-
convertedMinus = convertedMinus.replace(/(?!^-?\d*\.{0,1}\d+$)/g, "");
|
|
16424
|
-
/*
|
|
16425
|
-
example: https://regex101.com/r/np7FqS/1
|
|
16426
|
-
/(?!^-?\d*\.{0,1}\d+$)/g
|
|
16427
|
-
Negative Lookahead (?!^-?\d*\.{0,1}\d+$)
|
|
16428
|
-
Assert that the Regex below does not match
|
|
16429
|
-
^ asserts position at start of a line
|
|
16430
|
-
- matches the character - with index 4510 (2D16 or 558) literally (case sensitive)
|
|
16431
|
-
? matches the previous token between zero and one times, as many times as possible, giving back as needed (greedy)
|
|
16432
|
-
\d matches a digit (equivalent to [0-9])
|
|
16433
|
-
* matches the previous token between zero and unlimited times, as many times as possible, giving back as needed (greedy)
|
|
16434
|
-
\. matches the character . with index 4610 (2E16 or 568) literally (case sensitive)
|
|
16435
|
-
{0,1} matches the previous token between zero and one times, as many times as possible, giving back as needed (greedy)
|
|
16436
|
-
\d matches a digit (equivalent to [0-9])
|
|
16437
|
-
+ matches the previous token between one and unlimited times, as many times as possible, giving back as needed (greedy)
|
|
16438
|
-
$ asserts position at the end of a line
|
|
16439
|
-
Global pattern flags
|
|
16440
|
-
g modifier: global. All matches (don't return after first match)
|
|
16441
|
-
m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)
|
|
16442
|
-
*/
|
|
16443
16609
|
results = parseFloat(convertedMinus);
|
|
16444
16610
|
}
|
|
16445
16611
|
if (typeof value === "number") {
|
|
@@ -19063,7 +19229,7 @@ class DuetPopupMenuItem {
|
|
|
19063
19229
|
}; }
|
|
19064
19230
|
}
|
|
19065
19231
|
|
|
19066
|
-
const duetProgressCss = "*,*::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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-
|
|
19232
|
+
const duetProgressCss = "*,*::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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";
|
|
19067
19233
|
|
|
19068
19234
|
class DuetProgress {
|
|
19069
19235
|
constructor(hostRef) {
|
|
@@ -24865,7 +25031,7 @@ class DuetUploadItem {
|
|
|
24865
25031
|
const SizeText = (hAsync("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } }, "(", formatBytes(size), ")"));
|
|
24866
25032
|
switch (this.type) {
|
|
24867
25033
|
case "inprogress":
|
|
24868
|
-
return (hAsync("span", { class: "duet-upload-item-name", role: "status" }, hAsync("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" }, hAsync("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), hAsync("duet-visually-hidden", null, hAsync("duet-paragraph", null, getLocaleString(this.fileUploadingInfo))), hAsync("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
|
|
25034
|
+
return (hAsync("span", { class: "duet-upload-item-name", role: "status" }, hAsync("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" }, hAsync("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), hAsync("duet-visually-hidden", null, hAsync("duet-paragraph", null, getLocaleString(this.fileUploadingInfo))), hAsync("duet-progress", { theme: this.theme, progress: Math.ceil(progress), "aria-hidden": true })));
|
|
24869
25035
|
case "pending":
|
|
24870
25036
|
return (hAsync("span", { class: "duet-upload-item-name" }, hAsync("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), hAsync("duet-spacer", { size: "xx-small", direction: "horizontal" }), name));
|
|
24871
25037
|
case "failure":
|