@duetds/components 6.9.2 → 6.9.4
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 +74 -22
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -3
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +20 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +16 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -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 +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-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +5 -4
- 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 +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +12 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-76896ff7.js → focus-utils-258302bf.js} +1 -1
- package/lib/cjs/{index-0000eab8.js → index-1608edbc.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -22
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +0 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +69 -10
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +21 -1
- package/lib/collection/components/duet-choice/duet-choice.css +5 -0
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +20 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +20 -1
- package/lib/collection/components/duet-input/duet-input.js +20 -1
- package/lib/collection/components/duet-list/duet-list.js +28 -6
- package/lib/collection/components/duet-list-item/duet-list-item.css +309 -72
- package/lib/collection/components/duet-list-item/duet-list-item.js +63 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +20 -1
- package/lib/collection/components/duet-select/duet-select.css +3 -0
- package/lib/collection/components/duet-select/duet-select.js +21 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +17 -4
- package/lib/collection/components/duet-textarea/duet-textarea.js +29 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +7 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +21 -5
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +11 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +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 +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +10 -10
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +20 -9
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +17 -17
- 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-aa856cf3.js → p-0147cd52.js} +1 -1
- package/lib/dist-custom-elements/{p-b8590b9e.js → p-0434e5cc.js} +2 -2
- package/lib/dist-custom-elements/{p-fb9ea1e2.js → p-22c18360.js} +1 -1
- package/lib/dist-custom-elements/{p-427c3c85.js → p-2e193c35.js} +7 -4
- package/lib/dist-custom-elements/{p-81ad703b.js → p-2fd01cd0.js} +1 -1
- package/lib/dist-custom-elements/{p-a2640cf0.js → p-32bd7ecd.js} +1 -1
- package/lib/dist-custom-elements/{p-6b75d471.js → p-3575c094.js} +1 -1
- package/lib/dist-custom-elements/{p-d9374d44.js → p-392e95b5.js} +1 -1
- package/lib/dist-custom-elements/p-3d21535d.js +49 -0
- package/lib/dist-custom-elements/{p-773afd9d.js → p-41bfc042.js} +1 -1
- package/lib/dist-custom-elements/{p-14d7b7b1.js → p-4485088a.js} +1 -1
- package/lib/dist-custom-elements/{p-c06566bd.js → p-510e6093.js} +2 -2
- package/lib/dist-custom-elements/{p-a98f3c53.js → p-52a0bf61.js} +1 -1
- package/lib/dist-custom-elements/{p-b8bdb756.js → p-72dba2b6.js} +1 -1
- package/lib/dist-custom-elements/{p-2a7fe62b.js → p-830a1b3d.js} +5 -3
- package/lib/dist-custom-elements/{p-d0a476fa.js → p-848afeea.js} +1 -1
- package/lib/dist-custom-elements/{p-61d6063e.js → p-857c853c.js} +2 -2
- package/lib/dist-custom-elements/{p-29b0c53d.js → p-88f73433.js} +3 -3
- package/lib/dist-custom-elements/{p-b1c2d128.js → p-912ecc77.js} +1 -1
- package/lib/dist-custom-elements/{p-80c873a7.js → p-93ceb1f4.js} +1 -1
- package/lib/dist-custom-elements/{p-8810d94c.js → p-955d6372.js} +4 -4
- package/lib/dist-custom-elements/{p-d6ebe136.js → p-9aa9f1a9.js} +1 -1
- package/lib/dist-custom-elements/{p-74eab201.js → p-9c0a934a.js} +11 -9
- package/lib/dist-custom-elements/{p-0dee6e51.js → p-9e3e0e74.js} +3 -3
- package/lib/dist-custom-elements/{p-b9713025.js → p-a0875503.js} +2 -2
- package/lib/dist-custom-elements/{p-685671d3.js → p-aa00b146.js} +11 -9
- package/lib/dist-custom-elements/{p-16da1a85.js → p-d98f38c1.js} +1 -1
- package/lib/dist-custom-elements/{p-148a04af.js → p-e0e5638e.js} +3 -3
- package/lib/dist-custom-elements/{p-cf8e064c.js → p-e994c277.js} +5 -5
- package/lib/dist-custom-elements/{p-1b34ed71.js → p-f1e389c2.js} +1 -1
- package/lib/dist-custom-elements/{p-4672c5f9.js → p-fef622b6.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d5ac7213.entry.js → p-0237b56c.entry.js} +1 -1
- package/lib/duet/{p-e741b72a.entry.js → p-03aa910e.entry.js} +1 -1
- package/lib/duet/{p-9885878c.system.entry.js → p-055e997c.system.entry.js} +1 -1
- package/lib/duet/{p-51b95a0b.system.entry.js → p-08a39250.system.entry.js} +1 -1
- package/lib/duet/{p-6a23db40.system.entry.js → p-09383206.system.entry.js} +1 -1
- package/lib/duet/p-0a27f137.system.entry.js +4 -0
- package/lib/duet/{p-8efc476e.system.entry.js → p-0a8bf16b.system.entry.js} +1 -1
- package/lib/duet/p-0b86c875.system.entry.js +4 -0
- package/lib/duet/p-0f54a832.entry.js +4 -0
- package/lib/duet/{p-3eb4385b.system.entry.js → p-1082eb38.system.entry.js} +1 -1
- package/lib/duet/p-10c523ef.entry.js +4 -0
- package/lib/duet/{p-3337b7b5.entry.js → p-13115eef.entry.js} +1 -1
- package/lib/duet/p-15c08e8f.entry.js +4 -0
- package/lib/duet/p-1af25e37.entry.js +4 -0
- package/lib/duet/{p-bc169783.entry.js → p-1d90a403.entry.js} +1 -1
- package/lib/duet/{p-7e739548.system.entry.js → p-1f61e1d7.system.entry.js} +1 -1
- package/lib/duet/{p-b44b12af.entry.js → p-1fc94e4d.entry.js} +1 -1
- package/lib/duet/{p-18417d31.system.entry.js → p-221cebb4.system.entry.js} +1 -1
- package/lib/duet/p-25d31894.entry.js +4 -0
- package/lib/duet/{p-3f823f65.entry.js → p-25f428fd.entry.js} +1 -1
- package/lib/duet/{p-e0ea4e90.system.entry.js → p-25fe5955.system.entry.js} +1 -1
- package/lib/duet/p-261e50a2.entry.js +4 -0
- package/lib/duet/{p-eefb5300.entry.js → p-28911c2a.entry.js} +1 -1
- package/lib/duet/p-2b47e524.entry.js +4 -0
- package/lib/duet/p-2d83c731.system.entry.js +4 -0
- package/lib/duet/{p-b31e663e.system.entry.js → p-2da08ad2.system.entry.js} +1 -1
- package/lib/duet/{p-dcc18bd4.entry.js → p-306b3a03.entry.js} +1 -1
- package/lib/duet/{p-619129a1.system.entry.js → p-30f43b6e.system.entry.js} +1 -1
- package/lib/duet/{p-5368ccf3.system.entry.js → p-332a1037.system.entry.js} +1 -1
- package/lib/duet/p-34affa22.js +4 -0
- package/lib/duet/{p-7f9cc019.entry.js → p-35696c6f.entry.js} +1 -1
- package/lib/duet/{p-cf3c27e4.system.entry.js → p-3af37a29.system.entry.js} +1 -1
- package/lib/duet/{p-b8c2b5f2.system.entry.js → p-3e5bfbf6.system.entry.js} +1 -1
- package/lib/duet/{p-c4266675.entry.js → p-40e67a9a.entry.js} +1 -1
- package/lib/duet/p-4163dc6f.entry.js +4 -0
- package/lib/duet/{p-c3164a3c.entry.js → p-42f288b6.entry.js} +1 -1
- package/lib/duet/{p-9e3c843a.system.entry.js → p-483f026b.system.entry.js} +1 -1
- package/lib/duet/{p-62e5eda4.system.entry.js → p-4952173b.system.entry.js} +1 -1
- package/lib/duet/{p-5dc301ad.entry.js → p-4c3b0412.entry.js} +1 -1
- package/lib/duet/{p-7e96a306.system.entry.js → p-4cd996ba.system.entry.js} +1 -1
- package/lib/duet/{p-6dd7d693.entry.js → p-515a9bb1.entry.js} +1 -1
- package/lib/duet/{p-0956191f.system.entry.js → p-51a8f1a8.system.entry.js} +1 -1
- package/lib/duet/{p-779234b0.entry.js → p-54d44fc9.entry.js} +1 -1
- package/lib/duet/{p-bed02d40.entry.js → p-563b1bb3.entry.js} +1 -1
- package/lib/duet/{p-335ce078.entry.js → p-58e716af.entry.js} +1 -1
- package/lib/duet/{p-f235b6ff.js → p-59c9edd1.js} +1 -1
- package/lib/duet/{p-0febc106.entry.js → p-5b4f996c.entry.js} +1 -1
- package/lib/duet/p-5c9da6fc.entry.js +4 -0
- package/lib/duet/{p-97d314bb.system.entry.js → p-5ffdccb7.system.entry.js} +1 -1
- package/lib/duet/{p-c9dcf840.system.entry.js → p-628b1aa9.system.entry.js} +1 -1
- package/lib/duet/{p-bf097e1b.entry.js → p-66b6bad8.entry.js} +1 -1
- package/lib/duet/{p-6cccad3a.entry.js → p-68d90e54.entry.js} +1 -1
- package/lib/duet/{p-71012a41.entry.js → p-6fca295e.entry.js} +1 -1
- package/lib/duet/{p-6288a8f7.entry.js → p-71e2907b.entry.js} +1 -1
- package/lib/duet/{p-cfcfd3fd.system.entry.js → p-74b06702.system.entry.js} +1 -1
- package/lib/duet/{p-5925af50.entry.js → p-77b54470.entry.js} +1 -1
- package/lib/duet/{p-840cdccb.system.entry.js → p-78a78423.system.entry.js} +1 -1
- package/lib/duet/{p-57a480c6.entry.js → p-7b20f731.entry.js} +1 -1
- package/lib/duet/{p-2ee96e3b.entry.js → p-7b6d5d90.entry.js} +1 -1
- package/lib/duet/{p-66d17a50.entry.js → p-7e6201f9.entry.js} +1 -1
- package/lib/duet/{p-0b99b63a.system.entry.js → p-7ee196de.system.entry.js} +1 -1
- package/lib/duet/{p-ffdc54ad.system.entry.js → p-7fda08d5.system.entry.js} +1 -1
- package/lib/duet/{p-68436d9b.entry.js → p-802ac83e.entry.js} +1 -1
- package/lib/duet/{p-911c761b.system.entry.js → p-84370438.system.entry.js} +1 -1
- package/lib/duet/{p-cf5f89af.entry.js → p-85b9d351.entry.js} +1 -1
- package/lib/duet/{p-71da4ed1.system.entry.js → p-85e22346.system.entry.js} +1 -1
- package/lib/duet/{p-64a97121.system.entry.js → p-868de0c3.system.entry.js} +1 -1
- package/lib/duet/p-8d01c73e.entry.js +4 -0
- package/lib/duet/{p-1f782abb.entry.js → p-9301377c.entry.js} +1 -1
- package/lib/duet/{p-1d6d12db.entry.js → p-9382f80e.entry.js} +1 -1
- package/lib/duet/p-93bbe3fc.system.entry.js +4 -0
- package/lib/duet/p-95f7b51a.system.js +4 -0
- package/lib/duet/{p-b12261bb.entry.js → p-960555b0.entry.js} +1 -1
- package/lib/duet/{p-62ee8769.system.entry.js → p-986a1c3e.system.entry.js} +1 -1
- package/lib/duet/{p-5a0a47c5.system.entry.js → p-988ff169.system.entry.js} +1 -1
- package/lib/duet/{p-e7ba7e64.system.entry.js → p-99490454.system.entry.js} +1 -1
- package/lib/duet/{p-d658b29d.entry.js → p-99548d22.entry.js} +1 -1
- package/lib/duet/{p-b92f06ff.system.entry.js → p-9c733f14.system.entry.js} +2 -2
- package/lib/duet/{p-93da242f.entry.js → p-9de40921.entry.js} +1 -1
- package/lib/duet/{p-9e1585bd.entry.js → p-a0e25a9f.entry.js} +1 -1
- package/lib/duet/{p-815cbab7.system.entry.js → p-a1125b7e.system.entry.js} +1 -1
- package/lib/duet/{p-04b466d9.system.entry.js → p-a1eba1c0.system.entry.js} +1 -1
- package/lib/duet/{p-81236c93.system.entry.js → p-a21a6da5.system.entry.js} +1 -1
- package/lib/duet/{p-9446df5b.system.entry.js → p-a461339f.system.entry.js} +1 -1
- package/lib/duet/p-a5d85bc9.system.entry.js +4 -0
- package/lib/duet/{p-ebf82712.system.entry.js → p-a7f79467.system.entry.js} +1 -1
- package/lib/duet/{p-94760aea.entry.js → p-aa347ce7.entry.js} +1 -1
- package/lib/duet/{p-79f6c24a.entry.js → p-aac929cb.entry.js} +1 -1
- package/lib/duet/{p-c19e2d81.system.entry.js → p-acc99864.system.entry.js} +1 -1
- package/lib/duet/{p-905d2cc8.entry.js → p-af274002.entry.js} +1 -1
- package/lib/duet/{p-40c8612e.entry.js → p-b310b884.entry.js} +1 -1
- package/lib/duet/{p-82398d82.entry.js → p-b4b69c46.entry.js} +1 -1
- package/lib/duet/{p-4cf4097a.system.entry.js → p-b57f5fc8.system.entry.js} +1 -1
- package/lib/duet/{p-39311463.system.entry.js → p-b6d56c53.system.entry.js} +1 -1
- package/lib/duet/{p-8f2834ae.entry.js → p-b7ddf410.entry.js} +1 -1
- package/lib/duet/{p-754a1a94.entry.js → p-b806fc1c.entry.js} +1 -1
- package/lib/duet/{p-e94fb66d.system.entry.js → p-b859c9e7.system.entry.js} +1 -1
- package/lib/duet/{p-d2abe34b.entry.js → p-b9062774.entry.js} +1 -1
- package/lib/duet/{p-00a6021a.entry.js → p-bcb61160.entry.js} +1 -1
- package/lib/duet/{p-2578566b.system.entry.js → p-bd16c4a0.system.entry.js} +1 -1
- package/lib/duet/{p-fb8a741c.system.entry.js → p-bd4ec566.system.entry.js} +1 -1
- package/lib/duet/{p-612c5794.system.entry.js → p-bd87c903.system.entry.js} +2 -2
- package/lib/duet/{p-dbd0293b.system.entry.js → p-beeab778.system.entry.js} +1 -1
- package/lib/duet/{p-59dbe033.system.entry.js → p-c08b4157.system.entry.js} +1 -1
- package/lib/duet/{p-e6c16681.system.entry.js → p-c2c8db9c.system.entry.js} +1 -1
- package/lib/duet/{p-c919efff.system.entry.js → p-c2ee5d8b.system.entry.js} +1 -1
- package/lib/duet/{p-711128a1.entry.js → p-c3db0111.entry.js} +1 -1
- package/lib/duet/{p-0fd03676.entry.js → p-c56bfac7.entry.js} +1 -1
- package/lib/duet/{p-c2d2a2d2.entry.js → p-c8e7eb1a.entry.js} +1 -1
- package/lib/duet/p-c8f032b5.entry.js +4 -0
- package/lib/duet/{p-30574b01.system.entry.js → p-d1b97803.system.entry.js} +1 -1
- package/lib/duet/{p-fb021333.entry.js → p-d33718e0.entry.js} +1 -1
- package/lib/duet/{p-74d84deb.system.entry.js → p-d5ae8ddf.system.entry.js} +1 -1
- package/lib/duet/{p-6b3d47fc.entry.js → p-d99eec89.entry.js} +1 -1
- package/lib/duet/{p-a8c9268c.system.entry.js → p-db35ba90.system.entry.js} +1 -1
- package/lib/duet/{p-10c8dcce.system.entry.js → p-e1de51a0.system.entry.js} +1 -1
- package/lib/duet/{p-feac6e72.entry.js → p-e1f8b38b.entry.js} +1 -1
- package/lib/duet/p-e35bd231.system.entry.js +4 -0
- package/lib/duet/{p-cf8b0da5.system.entry.js → p-e3a52a6e.system.entry.js} +1 -1
- package/lib/duet/{p-fd377d28.entry.js → p-e4b9cfa4.entry.js} +1 -1
- package/lib/duet/{p-2852d734.system.js → p-e4e0c618.system.js} +1 -1
- package/lib/duet/p-e9069162.system.entry.js +4 -0
- package/lib/duet/{p-eb6ec3b0.system.entry.js → p-e9222d72.system.entry.js} +1 -1
- package/lib/duet/{p-ea68c9e4.system.entry.js → p-ea5d10af.system.entry.js} +1 -1
- package/lib/duet/{p-1a494e83.system.entry.js → p-eabe6e23.system.entry.js} +1 -1
- package/lib/duet/{p-473e553e.system.js → p-ec866ef1.system.js} +1 -1
- package/lib/duet/{p-8d482808.system.entry.js → p-ed49dee4.system.entry.js} +1 -1
- package/lib/duet/{p-a2728f08.system.entry.js → p-f13d90d4.system.entry.js} +1 -1
- package/lib/duet/{p-255e7c67.entry.js → p-f2242b96.entry.js} +1 -1
- package/lib/duet/{p-65c666a0.entry.js → p-f3e1e297.entry.js} +1 -1
- package/lib/duet/p-f53cf8a6.entry.js +4 -0
- package/lib/duet/{p-4f054589.entry.js → p-f99e94a2.entry.js} +1 -1
- package/lib/duet/{p-1af260c2.system.entry.js → p-fa44b6a8.system.entry.js} +1 -1
- package/lib/duet/{p-86fede3f.entry.js → p-fbb01c22.entry.js} +1 -1
- package/lib/duet/{p-ac25aad5.system.entry.js → p-fd346cdf.system.entry.js} +1 -1
- package/lib/duet/{p-da2b07eb.system.entry.js → p-fdbafb31.system.entry.js} +1 -1
- package/lib/duet/{p-1b53a027.entry.js → p-ff975294.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +2 -3
- package/lib/esm/duet-breadcrumbs.entry.js +5 -3
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +20 -4
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +3 -2
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +3 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +16 -5
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +3 -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 +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-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +5 -4
- 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 +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +12 -2
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-6a919f2a.js → focus-utils-03987c6d.js} +1 -1
- package/lib/esm/{index-13f57135.js → index-2804b689.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-6a919f2a.js → focus-utils-03987c6d.js} +1 -1
- package/lib/esm-es5/{index-13f57135.js → index-2804b689.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-types.d.ts +1 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +4 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -1
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +7 -0
- package/lib/types/components/duet-input/duet-input.d.ts +7 -0
- package/lib/types/components/duet-list/duet-list.d.ts +9 -3
- package/lib/types/components/duet-list-item/duet-list-item.d.ts +13 -0
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +7 -0
- package/lib/types/components/duet-select/duet-select.d.ts +8 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +9 -0
- package/lib/types/components.d.ts +64 -6
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-3ee0a1f0.js +0 -37
- package/lib/duet/p-00492553.entry.js +0 -4
- package/lib/duet/p-0c7ba24e.entry.js +0 -4
- package/lib/duet/p-1d4d1191.entry.js +0 -4
- package/lib/duet/p-25608db1.entry.js +0 -4
- package/lib/duet/p-6bec8453.entry.js +0 -4
- package/lib/duet/p-78ce7a07.entry.js +0 -4
- package/lib/duet/p-8d1ccbc2.system.entry.js +0 -4
- package/lib/duet/p-8ef91f59.entry.js +0 -4
- package/lib/duet/p-8f3d5e14.system.entry.js +0 -4
- package/lib/duet/p-93562bf8.system.entry.js +0 -4
- package/lib/duet/p-98d99400.entry.js +0 -4
- package/lib/duet/p-9b75cec2.system.entry.js +0 -4
- package/lib/duet/p-9fb2e28a.js +0 -4
- package/lib/duet/p-b78eeeff.entry.js +0 -4
- package/lib/duet/p-d225444d.entry.js +0 -4
- package/lib/duet/p-db8ef99d.entry.js +0 -4
- package/lib/duet/p-dbff88b5.system.entry.js +0 -4
- package/lib/duet/p-e27bd167.entry.js +0 -4
- package/lib/duet/p-f61cf0d1.system.entry.js +0 -4
- package/lib/duet/p-f7393070.system.entry.js +0 -4
- package/lib/duet/p-f96bb9f9.system.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -6795,7 +6795,7 @@ class DuetBadge {
|
|
|
6795
6795
|
}; }
|
|
6796
6796
|
}
|
|
6797
6797
|
|
|
6798
|
-
const duetBreadcrumbCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumb,*.sc-duet-breadcrumb::after,*.sc-duet-breadcrumb::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumb-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}/*!@.duet-breadcrumb*/.duet-breadcrumb.sc-duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:
|
|
6798
|
+
const duetBreadcrumbCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumb,*.sc-duet-breadcrumb::after,*.sc-duet-breadcrumb::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumb-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}/*!@.duet-breadcrumb*/.duet-breadcrumb.sc-duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:inherit;text-decoration:none}/*!@.duet-breadcrumb:focus*/.duet-breadcrumb.sc-duet-breadcrumb:focus{outline:0}/*!@:host(.user-is-tabbing) .duet-breadcrumb:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}/*!@:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus*/.user-is-tabbing.sc-duet-breadcrumb-h .duet-breadcrumb.duet-theme-turva.sc-duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
|
|
6799
6799
|
|
|
6800
6800
|
class DuetBreadcrumb {
|
|
6801
6801
|
constructor(hostRef) {
|
|
@@ -6819,7 +6819,6 @@ class DuetBreadcrumb {
|
|
|
6819
6819
|
return (hAsync(Host, null, hAsync("a", { class: {
|
|
6820
6820
|
"duet-breadcrumb": true,
|
|
6821
6821
|
"duet-theme-turva": this.theme === "turva",
|
|
6822
|
-
"duet-breadcrumb-without-href": !this.href,
|
|
6823
6822
|
}, href: this.href ? this.href : undefined, "aria-label": this.accessibleLabel }, this.icon && hAsync("duet-icon", { size: "x-small", name: this.icon, margin: "none", color: "currentColor" }), !this.icon && hAsync("slot", null))));
|
|
6824
6823
|
}
|
|
6825
6824
|
static get style() { return duetBreadcrumbCss; }
|
|
@@ -6840,7 +6839,7 @@ class DuetBreadcrumb {
|
|
|
6840
6839
|
|
|
6841
6840
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
6842
6841
|
|
|
6843
|
-
const duetBreadcrumbsCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumbs,*.sc-duet-breadcrumbs::after,*.sc-duet-breadcrumbs::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumbs-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}/*!@.duet-breadcrumbs*/.duet-breadcrumbs.sc-duet-breadcrumbs{display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"
|
|
6842
|
+
const duetBreadcrumbsCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-breadcrumbs,*.sc-duet-breadcrumbs::after,*.sc-duet-breadcrumbs::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-breadcrumbs-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}/*!@.duet-breadcrumbs*/.duet-breadcrumbs.sc-duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-breadcrumbs .container*/.duet-breadcrumbs.sc-duet-breadcrumbs .container.sc-duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}/*!@.duet-breadcrumbs ol*/.duet-breadcrumbs.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}/*!@.duet-breadcrumbs ol li*/.duet-breadcrumbs.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs li.sc-duet-breadcrumbs{font-weight:400}/*!@.duet-breadcrumbs ol li:last-of-type*/.duet-breadcrumbs.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs li.sc-duet-breadcrumbs:last-of-type{font-weight:600}/*!@.duet-breadcrumbs .duet-breadrumbs-arrow*/.duet-breadcrumbs.sc-duet-breadcrumbs .duet-breadrumbs-arrow.sc-duet-breadcrumbs{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}/*!@.duet-breadcrumbs .hide*/.duet-breadcrumbs.sc-duet-breadcrumbs .hide.sc-duet-breadcrumbs{display:none}/*!@.duet-breadcrumbs .bottom-border*/.duet-breadcrumbs.sc-duet-breadcrumbs .bottom-border.sc-duet-breadcrumbs{position:absolute;bottom:0;display:none;width:100%;height:1px}/*!@.duet-breadcrumbs.header*/.duet-breadcrumbs.header.sc-duet-breadcrumbs{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}/*!@.duet-breadcrumbs.header ol duet-breadcrumb[href]:hover*/.duet-breadcrumbs.header.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs duet-breadcrumb[href].sc-duet-breadcrumbs:hover{color:rgb(0, 77, 128)}/*!@.duet-breadcrumbs.header .bottom-border--nav*/.duet-breadcrumbs.header.sc-duet-breadcrumbs .bottom-border--nav.sc-duet-breadcrumbs{display:block;background:rgb(225, 227, 230)}/*!@.duet-breadcrumbs.header.duet-theme-turva*/.duet-breadcrumbs.header.duet-theme-turva.sc-duet-breadcrumbs{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}/*!@.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover*/.duet-breadcrumbs.header.duet-theme-turva.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs duet-breadcrumb[href].sc-duet-breadcrumbs:hover{color:rgb(148, 9, 37)}/*!@.duet-breadcrumbs.footer*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){/*!@.duet-breadcrumbs.footer*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs{justify-content:flex-start}}@media (min-width: 76.25em){/*!@.duet-breadcrumbs.footer*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs{justify-content:center}}/*!@.duet-breadcrumbs.footer .container*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs .container.sc-duet-breadcrumbs{max-width:1110px}@media (min-width: 62em){/*!@.duet-breadcrumbs.footer .container*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs .container.sc-duet-breadcrumbs{margin:0 72px 0 48px}}/*!@.duet-breadcrumbs.footer ol*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs{padding:20px 0}@media (min-width: 62em){/*!@.duet-breadcrumbs.footer ol*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs{padding:20px 8px}}/*!@.duet-breadcrumbs.footer ol duet-breadcrumb[href]:hover*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs ol.sc-duet-breadcrumbs duet-breadcrumb[href].sc-duet-breadcrumbs:hover{text-decoration:underline}/*!@.duet-breadcrumbs.footer .bottom-border--container*/.duet-breadcrumbs.footer.sc-duet-breadcrumbs .bottom-border--container.sc-duet-breadcrumbs{display:block;background:rgba(255, 255, 255, 0.2)}/*!@.duet-breadcrumbs.footer.duet-theme-turva*/.duet-breadcrumbs.footer.duet-theme-turva.sc-duet-breadcrumbs{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}";
|
|
6844
6843
|
|
|
6845
6844
|
class DuetBreadcrumbs {
|
|
6846
6845
|
constructor(hostRef) {
|
|
@@ -6853,6 +6852,7 @@ class DuetBreadcrumbs {
|
|
|
6853
6852
|
});
|
|
6854
6853
|
this.children = undefined;
|
|
6855
6854
|
this.theme = "";
|
|
6855
|
+
this.variation = "header";
|
|
6856
6856
|
}
|
|
6857
6857
|
/**
|
|
6858
6858
|
* Component lifecycle events.
|
|
@@ -6879,7 +6879,8 @@ class DuetBreadcrumbs {
|
|
|
6879
6879
|
return (hAsync(Host, null, hAsync("nav", { "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
6880
6880
|
"duet-breadcrumbs": true,
|
|
6881
6881
|
"duet-theme-turva": this.theme === "turva",
|
|
6882
|
-
|
|
6882
|
+
[this.variation]: true,
|
|
6883
|
+
} }, hAsync("div", { class: "container" }, hAsync("ol", null, this.children.map((child, index) => (hAsync(Fragment, null, index > 0 && (hAsync("li", { "aria-hidden": "true" }, hAsync("duet-icon", { class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" }))), hAsync("li", { innerHTML: child.outerHTML }), hAsync("div", { class: "hide" }, hAsync("slot", null)))))), hAsync("div", { class: "bottom-border bottom-border--container" })), hAsync("div", { class: "bottom-border bottom-border--nav" }))));
|
|
6883
6884
|
}
|
|
6884
6885
|
get element() { return getElement(this); }
|
|
6885
6886
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -6888,6 +6889,7 @@ class DuetBreadcrumbs {
|
|
|
6888
6889
|
"$tagName$": "duet-breadcrumbs",
|
|
6889
6890
|
"$members$": {
|
|
6890
6891
|
"theme": [1025],
|
|
6892
|
+
"variation": [1],
|
|
6891
6893
|
"children": [32]
|
|
6892
6894
|
},
|
|
6893
6895
|
"$listeners$": undefined,
|
|
@@ -7497,7 +7499,7 @@ const FocusGuard = ({ moveFocusTo }) => {
|
|
|
7497
7499
|
return hAsync("div", { class: "duet-focus-guard", "aria-hidden": "true", tabIndex: 0, onFocus: () => focusElement(moveFocusTo) });
|
|
7498
7500
|
};
|
|
7499
7501
|
|
|
7500
|
-
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}.horizontal.sc-duet-choice-h{margin-bottom:0 !important}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(144, 149, 153)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;z-index:200;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(0, 119, 179);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.checked.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
7502
|
+
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}.horizontal.sc-duet-choice-h{margin-bottom:0 !important}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(144, 149, 153)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;z-index:200;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(0, 119, 179);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.checked.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
7501
7503
|
|
|
7502
7504
|
/**
|
|
7503
7505
|
* @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
|
|
@@ -8602,7 +8604,7 @@ const DuetComboBoxSelect = ({ item, active, total, selected, label = undefined,
|
|
|
8602
8604
|
hAsync(SelectSingle, { item: item, search: search, selected: selected }))));
|
|
8603
8605
|
};
|
|
8604
8606
|
|
|
8605
|
-
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;width:
|
|
8607
|
+
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);height:0;overflow:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0}.duet-combobox-list.open.sc-duet-combobox{z-index:700;display:block;height:auto;opacity:1}.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)}";
|
|
8606
8608
|
|
|
8607
8609
|
class DuetCombobox {
|
|
8608
8610
|
constructor(hostRef) {
|
|
@@ -8677,6 +8679,10 @@ class DuetCombobox {
|
|
|
8677
8679
|
async formatItem(item) {
|
|
8678
8680
|
return this.formatter(item);
|
|
8679
8681
|
}
|
|
8682
|
+
async processItems() {
|
|
8683
|
+
this.items = this.processedItems = parsePossibleJSON(this.items);
|
|
8684
|
+
await this.updateInputText();
|
|
8685
|
+
}
|
|
8680
8686
|
/**
|
|
8681
8687
|
* Component lifecycle events.
|
|
8682
8688
|
*/
|
|
@@ -8699,6 +8705,10 @@ class DuetCombobox {
|
|
|
8699
8705
|
this.listElement.addEventListener("click", e => {
|
|
8700
8706
|
e.stopPropagation();
|
|
8701
8707
|
});
|
|
8708
|
+
if (this.value) {
|
|
8709
|
+
const selectedItem = this.items.find(item => item.value === this.value);
|
|
8710
|
+
this.updateSelectedItems(selectedItem.id);
|
|
8711
|
+
}
|
|
8702
8712
|
}
|
|
8703
8713
|
/**
|
|
8704
8714
|
* Updates the input text based on the selected/clicked items.
|
|
@@ -8757,12 +8767,19 @@ class DuetCombobox {
|
|
|
8757
8767
|
*/
|
|
8758
8768
|
async updateInputText(isBlurred = false) {
|
|
8759
8769
|
const item = this.selectedItems.size === 0 ? [] : this.items.filter(item => this.selectedItems.has(item.id));
|
|
8770
|
+
//if items changed and given id no longer exists
|
|
8771
|
+
if (item.length <= 0) {
|
|
8772
|
+
this.selectedItems.clear();
|
|
8773
|
+
this.input.value = "";
|
|
8774
|
+
this.value = undefined;
|
|
8775
|
+
this.activeItem = undefined;
|
|
8776
|
+
}
|
|
8760
8777
|
if (this.selectedItems.size === 1) {
|
|
8761
8778
|
this.input.value = ""; // set value to empty so that cursor position follows accordingly
|
|
8762
8779
|
this.input.value = await this.formatItem(item[0]);
|
|
8763
8780
|
this.input.scrollLeft = this.input.scrollWidth;
|
|
8764
8781
|
this.activeItem = undefined;
|
|
8765
|
-
this.value =
|
|
8782
|
+
this.value = item[0].value;
|
|
8766
8783
|
this.duetChange.emit({
|
|
8767
8784
|
value: item[0].value,
|
|
8768
8785
|
item: item[0],
|
|
@@ -8924,7 +8941,8 @@ class DuetCombobox {
|
|
|
8924
8941
|
get element() { return getElement(this); }
|
|
8925
8942
|
static get watchers() { return {
|
|
8926
8943
|
"activeItem": ["activeItemHandler"],
|
|
8927
|
-
"language": ["watchLanguageStateHandler"]
|
|
8944
|
+
"language": ["watchLanguageStateHandler"],
|
|
8945
|
+
"items": ["processItems"]
|
|
8928
8946
|
}; }
|
|
8929
8947
|
static get style() { return duetComboboxCss; }
|
|
8930
8948
|
static get cmpMeta() { return {
|
|
@@ -10159,6 +10177,7 @@ class DuetFieldset {
|
|
|
10159
10177
|
this.caption = undefined;
|
|
10160
10178
|
this.label = undefined;
|
|
10161
10179
|
this.error = undefined;
|
|
10180
|
+
this.accessibleLiveError = "polite";
|
|
10162
10181
|
this.labelHidden = false;
|
|
10163
10182
|
}
|
|
10164
10183
|
/**
|
|
@@ -10185,7 +10204,7 @@ class DuetFieldset {
|
|
|
10185
10204
|
"duet-legend-has-caption": !!this.caption,
|
|
10186
10205
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
10187
10206
|
"duet-legend-hidden": this.labelHidden,
|
|
10188
|
-
} }, hAsync("div", { class: "duet-fieldset-label" }, hAsync("span", { "aria-hidden": "true" }, this.label), hAsync("slot", { onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { margin: "none" }, this.caption)))), hAsync("slot", null), hAsync("span", { class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live":
|
|
10207
|
+
} }, hAsync("div", { class: "duet-fieldset-label" }, hAsync("span", { "aria-hidden": "true" }, this.label), hAsync("slot", { onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { margin: "none" }, this.caption)))), hAsync("slot", null), hAsync("span", { class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", null, this.error)))));
|
|
10189
10208
|
}
|
|
10190
10209
|
get element() { return getElement(this); }
|
|
10191
10210
|
static get style() { return duetFieldsetCss; }
|
|
@@ -10198,6 +10217,7 @@ class DuetFieldset {
|
|
|
10198
10217
|
"caption": [1],
|
|
10199
10218
|
"label": [1],
|
|
10200
10219
|
"error": [1],
|
|
10220
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
10201
10221
|
"labelHidden": [4, "label-hidden"],
|
|
10202
10222
|
"hasTooltip": [32]
|
|
10203
10223
|
},
|
|
@@ -11990,6 +12010,7 @@ class DuetInput {
|
|
|
11990
12010
|
this.accessibleDetails = undefined;
|
|
11991
12011
|
this.accessibleLabelledBy = undefined;
|
|
11992
12012
|
this.accessibleDescription = undefined;
|
|
12013
|
+
this.accessibleLiveError = "polite";
|
|
11993
12014
|
this.debounce = 0;
|
|
11994
12015
|
this.clear = false;
|
|
11995
12016
|
this.caption = undefined;
|
|
@@ -12157,7 +12178,7 @@ class DuetInput {
|
|
|
12157
12178
|
? this.hidePasswordLabel[this.language]
|
|
12158
12179
|
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", null, hAsync("span", { "aria-live": "polite" }, this.isPasswordRevealed
|
|
12159
12180
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
12160
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", null)), hAsync("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live":
|
|
12181
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", null)), hAsync("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { class: "duet-input-error" }, this.error)))));
|
|
12161
12182
|
}
|
|
12162
12183
|
get element() { return getElement(this); }
|
|
12163
12184
|
static get watchers() { return {
|
|
@@ -12179,6 +12200,7 @@ class DuetInput {
|
|
|
12179
12200
|
"accessibleDetails": [1, "accessible-details"],
|
|
12180
12201
|
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
12181
12202
|
"accessibleDescription": [1, "accessible-description"],
|
|
12203
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
12182
12204
|
"debounce": [2],
|
|
12183
12205
|
"clear": [4],
|
|
12184
12206
|
"caption": [1],
|
|
@@ -12462,6 +12484,7 @@ class DuetList {
|
|
|
12462
12484
|
this.breakpoint = "small";
|
|
12463
12485
|
this.variation = "default";
|
|
12464
12486
|
this.labelWidth = "30";
|
|
12487
|
+
this.responsive = true;
|
|
12465
12488
|
}
|
|
12466
12489
|
/**
|
|
12467
12490
|
* Component lifecycle events.
|
|
@@ -12496,6 +12519,8 @@ class DuetList {
|
|
|
12496
12519
|
async updateListItems() {
|
|
12497
12520
|
const items = Array.from(this.element.querySelectorAll("duet-list-item"));
|
|
12498
12521
|
items.forEach(item => {
|
|
12522
|
+
item.responsive = this.responsive;
|
|
12523
|
+
item.breakpoint = this.responsive ? this.breakpoint || "small" : undefined;
|
|
12499
12524
|
// Use classes to apply styles for SSR compatibility
|
|
12500
12525
|
item.classList.add(`duet-list-width-${this.labelWidth}`);
|
|
12501
12526
|
item.classList.add(`duet-list-variation-${this.variation}`);
|
|
@@ -12503,8 +12528,6 @@ class DuetList {
|
|
|
12503
12528
|
this.toggleClass(item, "duet-p-0", this.padding === "none");
|
|
12504
12529
|
// If text is centered for mobile
|
|
12505
12530
|
this.toggleClass(item, "duet-list-mobile-center", this.mobile === "center");
|
|
12506
|
-
// If breakpoint is adjusted
|
|
12507
|
-
this.toggleClass(item, "duet-list-breakpoint-large", this.breakpoint === "large");
|
|
12508
12531
|
// Create zebra striping if striped variation is used
|
|
12509
12532
|
this.toggleClass(item, "duet-list-striped", this.variation === "striped");
|
|
12510
12533
|
// Create borders if bordered variation is used
|
|
@@ -12527,6 +12550,7 @@ class DuetList {
|
|
|
12527
12550
|
"theme": ["updateListItems"],
|
|
12528
12551
|
"padding": ["updateListItems"],
|
|
12529
12552
|
"mobile": ["updateListItems"],
|
|
12553
|
+
"responsive": ["updateListItems"],
|
|
12530
12554
|
"breakpoint": ["updateListItems"],
|
|
12531
12555
|
"variation": ["updateListItems"],
|
|
12532
12556
|
"labelWidth": ["updateListItems"]
|
|
@@ -12542,7 +12566,8 @@ class DuetList {
|
|
|
12542
12566
|
"mobile": [1],
|
|
12543
12567
|
"breakpoint": [1],
|
|
12544
12568
|
"variation": [1],
|
|
12545
|
-
"labelWidth": [1, "label-width"]
|
|
12569
|
+
"labelWidth": [1, "label-width"],
|
|
12570
|
+
"responsive": [4]
|
|
12546
12571
|
},
|
|
12547
12572
|
"$listeners$": undefined,
|
|
12548
12573
|
"$lazyBundleId$": "-",
|
|
@@ -12550,7 +12575,7 @@ class DuetList {
|
|
|
12550
12575
|
}; }
|
|
12551
12576
|
}
|
|
12552
12577
|
|
|
12553
|
-
const duetListItemCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-list-item,*.sc-duet-list-item::after,*.sc-duet-list-item::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-list-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-flow:row;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){/*!@:host*/.sc-duet-list-item-h{flex-wrap:wrap}}/*!@:host dt,\n:host dd*/.sc-duet-list-item-h dt.sc-duet-list-item,.sc-duet-list-item-h dd.sc-duet-list-item{margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}@media (max-width: 35.9375em){/*!@:host dt,\n :host dd*/.sc-duet-list-item-h dt.sc-duet-list-item,.sc-duet-list-item-h dd.sc-duet-list-item{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}}/*!@:host dt*/.sc-duet-list-item-h dt.sc-duet-list-item{padding:16px !important;font-weight:600}@media (max-width: 35.9375em){/*!@:host dt*/.sc-duet-list-item-h dt.sc-duet-list-item{padding-bottom:4px !important}}/*!@.duet-theme-turva :host dt*/.duet-theme-turva .sc-duet-list-item-h dt.sc-duet-list-item{font-weight:700}/*!@:host dd*/.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px !important;margin-left:auto;text-align:left}@media (max-width: 35.9375em){/*!@:host dd*/.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0 !important}}/*!@:host(:not(.duet-list-striped)) dt*/.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){/*!@:host(:not(.duet-list-striped)) dt*/.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item{padding-bottom:4px !important}}/*!@:host(:not(.duet-list-striped)) dd*/.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){/*!@:host(:not(.duet-list-striped)) dd*/.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding-top:0 !important}}/*!@:host(.duet-theme-turva)*/.duet-theme-turva.sc-duet-list-item-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)}/*!@:host(.duet-list-striped:nth-child(odd)) dt,\n:host(.duet-list-striped:nth-child(odd)) dd*/.duet-list-striped.sc-duet-list-item-h:nth-child(odd) dt.sc-duet-list-item,.duet-list-striped.sc-duet-list-item-h:nth-child(odd) dd.sc-duet-list-item{background:rgb(245, 248, 250)}/*!@:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,\n:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd*/.duet-list-striped.duet-theme-turva.sc-duet-list-item-h:nth-child(odd) dt.sc-duet-list-item,.duet-list-striped.duet-theme-turva.sc-duet-list-item-h:nth-child(odd) dd.sc-duet-list-item{background:rgb(245, 245, 247)}/*!@:host(.duet-list-bordered)*/.duet-list-bordered.sc-duet-list-item-h{border-block-start:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-bordered:last-child)*/.duet-list-bordered.sc-duet-list-item-h:last-child{border-block-end:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-bordered.duet-theme-turva)*/.duet-list-bordered.duet-theme-turva.sc-duet-list-item-h{border-block-start:1px solid rgb(228, 228, 230)}/*!@:host(.duet-list-bordered.duet-theme-turva:last-child)*/.duet-list-bordered.duet-theme-turva.sc-duet-list-item-h:last-child{border-block-end:1px solid rgb(228, 228, 230)}/*!@:host(.duet-list-inner-bordered:not(:last-child))*/.duet-list-inner-bordered.sc-duet-list-item-h:not(:last-child){border-block-end:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child))*/.duet-list-inner-bordered.duet-theme-turva.sc-duet-list-item-h:not(:last-child){border-block-end:1px solid rgb(228, 228, 230)}/*!@:host(.duet-list-width-30) dt*/.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-width-30) dd*/.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-width-50) dt*/.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-width-50) dd*/.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-width-70) dt*/.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-width-70) dd*/.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}/*!@:host(.duet-p-0) dt,\n:host(.duet-p-0) dd*/.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0 !important;padding-bottom:4px !important}@media (max-width: 35.9375em){/*!@:host(.duet-list-mobile-center) dt,\n :host(.duet-list-mobile-center) dd*/.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:center}}@media (max-width: 61.9375em){/*!@:host(.duet-list-breakpoint-large)*/.duet-list-breakpoint-large.sc-duet-list-item-h{flex-wrap:wrap}/*!@:host(.duet-list-breakpoint-large) dt,\n :host(.duet-list-breakpoint-large) dd*/.duet-list-breakpoint-large.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-breakpoint-large.sc-duet-list-item-h dd.sc-duet-list-item{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}/*!@:host(.duet-list-breakpoint-large) dd*/.duet-list-breakpoint-large.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0 !important}}/*!@:host(.duet-list-breakpoint-large.duet-list-striped) dd*/.duet-list-breakpoint-large.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding-bottom:16px !important}@media (max-width: 61.9375em){/*!@:host(.duet-list-breakpoint-large.duet-list-mobile-center) dt,\n :host(.duet-list-breakpoint-large.duet-list-mobile-center) dd*/.duet-list-breakpoint-large.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-breakpoint-large.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:center !important}}";
|
|
12578
|
+
const duetListItemCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-list-item,*.sc-duet-list-item::after,*.sc-duet-list-item::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-list-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;flex-direction:column;display:flex;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}/*!@:host dt*/.sc-duet-list-item-h dt.sc-duet-list-item{padding-bottom:4px}/*!@:host dd*/.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0}/*!@:host dt,\n:host dd*/.sc-duet-list-item-h dt.sc-duet-list-item,.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:100%}/*!@:host dt,\n:host dd*/.sc-duet-list-item-h dt.sc-duet-list-item,.sc-duet-list-item-h dd.sc-duet-list-item{width:100%;margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}/*!@:host dt*/.sc-duet-list-item-h dt.sc-duet-list-item{font-weight:600}/*!@.duet-theme-turva :host dt*/.duet-theme-turva .sc-duet-list-item-h dt.sc-duet-list-item{font-weight:700}/*!@:host dd*/.sc-duet-list-item-h dd.sc-duet-list-item{margin-left:auto}/*!@:host(.duet-list-striped) dt,\n:host(.duet-list-striped) dd*/.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-striped) dt*/.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item{padding-bottom:4px}/*!@:host(.duet-list-striped) dd*/.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0}/*!@:host(.duet-list-striped.duet-no-stacking) dt,\n:host(.duet-list-striped.duet-no-stacking) dd*/.duet-list-striped.duet-no-stacking.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-striped.duet-no-stacking.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(:not(.duet-list-striped)) dt,\n:host(:not(.duet-list-striped)) dd*/.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(:not(.duet-list-striped)) dt*/.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item{padding-bottom:4px}/*!@:host(:not(.duet-list-striped)) dd*/.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding-top:0}/*!@:host(:not(.duet-list-striped).duet-no-stacking) dt,\n:host(:not(.duet-list-striped).duet-no-stacking) dd*/.sc-duet-list-item-h:not(.duet-list-striped).duet-no-stacking dt.sc-duet-list-item,.sc-duet-list-item-h:not(.duet-list-striped).duet-no-stacking dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-p-0) dt,\n:host(.duet-p-0) dd*/.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-mobile-center) dt,\n:host(.duet-list-mobile-center) dd*/.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:center}/*!@:host(.duet-theme-turva)*/.duet-theme-turva.sc-duet-list-item-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)}/*!@:host(.duet-list-striped:nth-child(odd)) dt,\n:host(.duet-list-striped:nth-child(odd)) dd*/.duet-list-striped.sc-duet-list-item-h:nth-child(odd) dt.sc-duet-list-item,.duet-list-striped.sc-duet-list-item-h:nth-child(odd) dd.sc-duet-list-item{background:rgb(245, 248, 250)}/*!@:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,\n:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd*/.duet-list-striped.duet-theme-turva.sc-duet-list-item-h:nth-child(odd) dt.sc-duet-list-item,.duet-list-striped.duet-theme-turva.sc-duet-list-item-h:nth-child(odd) dd.sc-duet-list-item{background:rgb(245, 245, 247)}/*!@:host(.duet-list-bordered)*/.duet-list-bordered.sc-duet-list-item-h{border-block-start:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-bordered:last-child)*/.duet-list-bordered.sc-duet-list-item-h:last-child{border-block-end:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-bordered.duet-theme-turva)*/.duet-list-bordered.duet-theme-turva.sc-duet-list-item-h{border-block-start:1px solid rgb(228, 228, 230)}/*!@:host(.duet-list-bordered.duet-theme-turva:last-child)*/.duet-list-bordered.duet-theme-turva.sc-duet-list-item-h:last-child{border-block-end:1px solid rgb(228, 228, 230)}/*!@:host(.duet-list-inner-bordered:not(:last-child))*/.duet-list-inner-bordered.sc-duet-list-item-h:not(:last-child){border-block-end:1px solid rgb(225, 227, 230)}/*!@:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child))*/.duet-list-inner-bordered.duet-theme-turva.sc-duet-list-item-h:not(:last-child){border-block-end:1px solid rgb(228, 228, 230)}/*!@:host(.duet-no-stacking)*/.duet-no-stacking.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-mobile-center.duet-no-stacking) dt,\n:host(.duet-list-mobile-center.duet-no-stacking) dd*/.duet-list-mobile-center.duet-no-stacking.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-mobile-center.duet-no-stacking.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-no-stacking.duet-list-width-30) dt*/.duet-no-stacking.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-no-stacking.duet-list-width-30) dd*/.duet-no-stacking.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-no-stacking.duet-list-width-50) dt*/.duet-no-stacking.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-no-stacking.duet-list-width-50) dd*/.duet-no-stacking.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-no-stacking.duet-list-width-70) dt*/.duet-no-stacking.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-no-stacking.duet-list-width-70) dd*/.duet-no-stacking.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}/*!@:host(.duet-list-item-breakpoint-x-small)*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,\n:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd*/.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,\n:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,\n:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd*/.duet-list-item-breakpoint-x-small.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,\n:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-x-small.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt*/.duet-list-item-breakpoint-x-small.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt*/.duet-list-item-breakpoint-x-small.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt*/.duet-list-item-breakpoint-x-small.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}@media (max-width: 22.5em){/*!@:host(.duet-list-item-breakpoint-x-small)*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h{flex-direction:column}/*!@:host(.duet-list-item-breakpoint-x-small) dt*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h dt.sc-duet-list-item{padding-bottom:4px}/*!@:host(.duet-list-item-breakpoint-x-small) dd*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd*/.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt*/.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item{padding-bottom:4px}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd*/.duet-list-item-breakpoint-x-small.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding-top:0}/*!@:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,\n :host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item{padding-bottom:4px}/*!@:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-x-small.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding-top:0}/*!@:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-p-0) dd*/.duet-list-item-breakpoint-x-small.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-x-small.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:center}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:100%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:100%}/*!@:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt,\n :host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd*/.duet-list-item-breakpoint-x-small.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-small.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:100%}}@media (min-width: 36em){/*!@:host(.duet-list-item-breakpoint-small)*/.duet-list-item-breakpoint-small.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-item-breakpoint-small.duet-list-striped) dt,\n :host(.duet-list-item-breakpoint-small.duet-list-striped) dd*/.duet-list-item-breakpoint-small.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-small.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dt,\n :host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-small.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-small.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-small.duet-p-0) dt,\n :host(.duet-list-item-breakpoint-small.duet-p-0) dd*/.duet-list-item-breakpoint-small.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-small.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dt,\n :host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-small.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-small.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-30) dt*/.duet-list-item-breakpoint-small.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-30) dd*/.duet-list-item-breakpoint-small.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-50) dt*/.duet-list-item-breakpoint-small.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-50) dd*/.duet-list-item-breakpoint-small.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-70) dt*/.duet-list-item-breakpoint-small.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-item-breakpoint-small.duet-list-width-70) dd*/.duet-list-item-breakpoint-small.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}}@media (min-width: 48em){/*!@:host(.duet-list-item-breakpoint-medium)*/.duet-list-item-breakpoint-medium.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-striped) dt,\n :host(.duet-list-item-breakpoint-medium.duet-list-striped) dd*/.duet-list-item-breakpoint-medium.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-medium.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dt,\n :host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-medium.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-medium.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-medium.duet-p-0) dt,\n :host(.duet-list-item-breakpoint-medium.duet-p-0) dd*/.duet-list-item-breakpoint-medium.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-medium.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dt,\n :host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-medium.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-medium.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dt*/.duet-list-item-breakpoint-medium.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dd*/.duet-list-item-breakpoint-medium.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dt*/.duet-list-item-breakpoint-medium.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dd*/.duet-list-item-breakpoint-medium.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dt*/.duet-list-item-breakpoint-medium.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dd*/.duet-list-item-breakpoint-medium.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}}@media (min-width: 62em){/*!@:host(.duet-list-item-breakpoint-large)*/.duet-list-item-breakpoint-large.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-item-breakpoint-large.duet-list-striped) dt,\n :host(.duet-list-item-breakpoint-large.duet-list-striped) dd*/.duet-list-item-breakpoint-large.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-large.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dt,\n :host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-large.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-large.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-large.duet-p-0) dt,\n :host(.duet-list-item-breakpoint-large.duet-p-0) dd*/.duet-list-item-breakpoint-large.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-large.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dt,\n :host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-large.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-large.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-30) dt*/.duet-list-item-breakpoint-large.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-30) dd*/.duet-list-item-breakpoint-large.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-50) dt*/.duet-list-item-breakpoint-large.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-50) dd*/.duet-list-item-breakpoint-large.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-70) dt*/.duet-list-item-breakpoint-large.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-item-breakpoint-large.duet-list-width-70) dd*/.duet-list-item-breakpoint-large.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}}@media (min-width: 64.0625em){/*!@:host(.duet-list-item-breakpoint-x-large)*/.duet-list-item-breakpoint-x-large.sc-duet-list-item-h{flex-direction:row}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dt,\n :host(.duet-list-item-breakpoint-x-large.duet-list-striped) dd*/.duet-list-item-breakpoint-x-large.duet-list-striped.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-large.duet-list-striped.sc-duet-list-item-h dd.sc-duet-list-item{padding:16px}/*!@:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dt,\n :host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dd*/.duet-list-item-breakpoint-x-large.sc-duet-list-item-h:not(.duet-list-striped) dt.sc-duet-list-item,.duet-list-item-breakpoint-x-large.sc-duet-list-item-h:not(.duet-list-striped) dd.sc-duet-list-item{padding:8px;padding-inline:0}/*!@:host(.duet-list-item-breakpoint-x-large.duet-p-0) dt,\n :host(.duet-list-item-breakpoint-x-large.duet-p-0) dd*/.duet-list-item-breakpoint-x-large.duet-p-0.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-large.duet-p-0.sc-duet-list-item-h dd.sc-duet-list-item{padding:0 !important}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dt,\n :host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dd*/.duet-list-item-breakpoint-x-large.duet-list-mobile-center.sc-duet-list-item-h dt.sc-duet-list-item,.duet-list-item-breakpoint-x-large.duet-list-mobile-center.sc-duet-list-item-h dd.sc-duet-list-item{text-align:left}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dt*/.duet-list-item-breakpoint-x-large.duet-list-width-30.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:33%}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dd*/.duet-list-item-breakpoint-x-large.duet-list-width-30.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:67%}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dt*/.duet-list-item-breakpoint-x-large.duet-list-width-50.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:47%}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dd*/.duet-list-item-breakpoint-x-large.duet-list-width-50.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:53%}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dt*/.duet-list-item-breakpoint-x-large.duet-list-width-70.sc-duet-list-item-h dt.sc-duet-list-item{flex-basis:65%}/*!@:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd*/.duet-list-item-breakpoint-x-large.duet-list-width-70.sc-duet-list-item-h dd.sc-duet-list-item{flex-basis:35%}}";
|
|
12554
12579
|
|
|
12555
12580
|
/**
|
|
12556
12581
|
* @slot label - The list item component’s label content. Use this to put content into description list’s dt element.
|
|
@@ -12559,19 +12584,31 @@ const duetListItemCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-list-item,*.sc-
|
|
|
12559
12584
|
class DuetListItem {
|
|
12560
12585
|
constructor(hostRef) {
|
|
12561
12586
|
registerInstance(this, hostRef);
|
|
12587
|
+
this.responsive = false;
|
|
12588
|
+
this.breakpoint = "small";
|
|
12562
12589
|
}
|
|
12563
12590
|
/**
|
|
12564
12591
|
* render() function
|
|
12565
12592
|
* Always the last one in the class.
|
|
12566
12593
|
*/
|
|
12567
12594
|
render() {
|
|
12568
|
-
return (hAsync(Host,
|
|
12595
|
+
return (hAsync(Host, { class: {
|
|
12596
|
+
"duet-no-stacking": !this.responsive,
|
|
12597
|
+
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
12598
|
+
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
12599
|
+
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
12600
|
+
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
12601
|
+
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
12602
|
+
} }, hAsync("dt", null, hAsync("slot", { name: "label" })), hAsync("dd", null, hAsync("slot", { name: "value" }))));
|
|
12569
12603
|
}
|
|
12570
12604
|
static get style() { return duetListItemCss; }
|
|
12571
12605
|
static get cmpMeta() { return {
|
|
12572
12606
|
"$flags$": 9,
|
|
12573
12607
|
"$tagName$": "duet-list-item",
|
|
12574
|
-
"$members$":
|
|
12608
|
+
"$members$": {
|
|
12609
|
+
"responsive": [4],
|
|
12610
|
+
"breakpoint": [1]
|
|
12611
|
+
},
|
|
12575
12612
|
"$listeners$": undefined,
|
|
12576
12613
|
"$lazyBundleId$": "-",
|
|
12577
12614
|
"$attrsToReflect$": []
|
|
@@ -13550,6 +13587,7 @@ class DuetMultiselect {
|
|
|
13550
13587
|
this.language = getLanguage();
|
|
13551
13588
|
this.margin = "auto";
|
|
13552
13589
|
this.error = "";
|
|
13590
|
+
this.accessibleLiveError = "polite";
|
|
13553
13591
|
this.expand = false;
|
|
13554
13592
|
this.value = [];
|
|
13555
13593
|
this.theme = "";
|
|
@@ -13620,7 +13658,7 @@ class DuetMultiselect {
|
|
|
13620
13658
|
this.processedItems.map((item, key) => {
|
|
13621
13659
|
var _a, _b;
|
|
13622
13660
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
13623
|
-
}))), hAsync("span", { class: "duet-multiselect-help", id: this.errorId, "aria-
|
|
13661
|
+
}))), hAsync("span", { class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", null, this.error)))));
|
|
13624
13662
|
}
|
|
13625
13663
|
get element() { return getElement(this); }
|
|
13626
13664
|
static get watchers() { return {
|
|
@@ -13633,6 +13671,7 @@ class DuetMultiselect {
|
|
|
13633
13671
|
"$members$": {
|
|
13634
13672
|
"margin": [1],
|
|
13635
13673
|
"error": [1],
|
|
13674
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
13636
13675
|
"expand": [4],
|
|
13637
13676
|
"value": [1040],
|
|
13638
13677
|
"theme": [1025],
|
|
@@ -15588,7 +15627,7 @@ class DuetSectionLayout {
|
|
|
15588
15627
|
}; }
|
|
15589
15628
|
}
|
|
15590
15629
|
|
|
15591
|
-
const duetSelectCss = "*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-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%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{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-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !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;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;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;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !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-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{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-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-help.sc-duet-select{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-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{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-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
15630
|
+
const duetSelectCss = "*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-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%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{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-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !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;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;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;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px rgb(144, 149, 153)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px rgb(116, 116, 117)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px rgb(23, 28, 58)}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px rgb(224, 42, 13)}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(0, 41, 77) !important;cursor:default !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-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{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-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{opacity:0}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(224, 42, 13) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-help.sc-duet-select{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-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{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-select .duet-select-help.sc-duet-select{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
15592
15631
|
|
|
15593
15632
|
function isOptionGroup(item) {
|
|
15594
15633
|
return "options" in item;
|
|
@@ -15666,6 +15705,7 @@ class DuetSelect {
|
|
|
15666
15705
|
this.accessibleControls = undefined;
|
|
15667
15706
|
this.accessibleOwns = undefined;
|
|
15668
15707
|
this.error = "";
|
|
15708
|
+
this.accessibleLiveError = "polite";
|
|
15669
15709
|
this.expand = false;
|
|
15670
15710
|
this.value = undefined;
|
|
15671
15711
|
this.theme = "";
|
|
@@ -15720,7 +15760,7 @@ class DuetSelect {
|
|
|
15720
15760
|
return item ? item.label : this.placeholder || "";
|
|
15721
15761
|
}
|
|
15722
15762
|
renderOption(option) {
|
|
15723
|
-
return (hAsync("option", { value: option.value, key: option.value, selected: this.value === option.value, disabled: option.disabled }, option.label));
|
|
15763
|
+
return (hAsync("option", { "aria-label": option.ariaLabel, value: option.value, key: option.value, selected: this.value === option.value, disabled: option.disabled }, option.label));
|
|
15724
15764
|
}
|
|
15725
15765
|
renderOptionGroup(group) {
|
|
15726
15766
|
return (hAsync("optgroup", { key: group.label, label: group.label, disabled: group.disabled }, group.options.map(option => this.renderOption(option))));
|
|
@@ -15747,7 +15787,7 @@ class DuetSelect {
|
|
|
15747
15787
|
}))), hAsync("div", { class: {
|
|
15748
15788
|
"duet-select": true,
|
|
15749
15789
|
"duet-select-variation-tiny": this.variation === "tiny",
|
|
15750
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value }, this.getSelectedItemLabel()), this.variation !== "tiny" && (hAsync("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), this.variation === "tiny" && (hAsync("duet-icon", { name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xx-small" }))), hAsync("span", { class: "keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { class: "duet-select-help", id: this.errorId, "aria-live":
|
|
15790
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value }, this.getSelectedItemLabel()), this.variation !== "tiny" && (hAsync("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), this.variation === "tiny" && (hAsync("duet-icon", { name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xx-small" }))), hAsync("span", { class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", null, this.error)))));
|
|
15751
15791
|
}
|
|
15752
15792
|
get element() { return getElement(this); }
|
|
15753
15793
|
static get watchers() { return {
|
|
@@ -15766,6 +15806,7 @@ class DuetSelect {
|
|
|
15766
15806
|
"accessibleControls": [1, "accessible-controls"],
|
|
15767
15807
|
"accessibleOwns": [1, "accessible-owns"],
|
|
15768
15808
|
"error": [1],
|
|
15809
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
15769
15810
|
"expand": [4],
|
|
15770
15811
|
"value": [1537],
|
|
15771
15812
|
"theme": [1025],
|
|
@@ -16947,7 +16988,7 @@ class DuetTab {
|
|
|
16947
16988
|
}; }
|
|
16948
16989
|
}
|
|
16949
16990
|
|
|
16950
|
-
const duetTabGroupCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-tab-group,*.sc-duet-tab-group::after,*.sc-duet-tab-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-tab-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}/*!@.duet-tab-group-tabs*/.duet-tab-group-tabs.sc-duet-tab-group{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}/*!@.duet-tab-group-tabs.duet-m-0*/.duet-tab-group-tabs.duet-m-0.sc-duet-tab-group{margin:0 !important}/*!@.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden*/.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden.sc-duet-tab-group{display:none}@media (min-width: 36em){/*!@.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden*/.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden.sc-duet-tab-group{display:block}}/*!@.duet-tab-variation-plain .duet-tab-group-tabs*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{border-bottom:1px solid rgb(225, 227, 230)}/*!@.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs*/.duet-theme-turva.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{border-bottom-color:rgb(228, 228, 230)}/*!@.duet-tab-variation-checked .duet-tab-group-tabs*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:flex;gap:8px;padding-right:16px;padding-left:16px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}/*!@.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group::-webkit-scrollbar{display:none}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-group-tabs*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{overflow:visible}}/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none}/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group::-webkit-scrollbar{display:none}@media (min-width: 36em){/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:block;overflow:auto}}@media (min-width: 36em){/*!@duet-select*/duet-select.sc-duet-tab-group{display:none !important}}/*!@.duet-tab-button*/.duet-tab-button.sc-duet-tab-group{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}/*!@.duet-tab-button.duet-p-0*/.duet-tab-button.duet-p-0.sc-duet-tab-group{padding:0 !important}/*!@.duet-tab-button.duet-m-0*/.duet-tab-button.duet-m-0.sc-duet-tab-group{margin:0 !important}/*!@.duet-theme-turva .duet-tab-button*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}/*!@.duet-tab-button.duet-p-0*/.duet-tab-button.duet-p-0.sc-duet-tab-group{padding:0 !important}@media (min-width: 36em){/*!@.duet-tab-button*/.duet-tab-button.sc-duet-tab-group{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}/*!@.duet-tab-button:hover*/.duet-tab-button.sc-duet-tab-group:hover{z-index:200;border-color:rgb(144, 149, 153)}/*!@.duet-theme-turva .duet-tab-button:hover*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:hover{border-color:rgb(116, 116, 117)}/*!@.duet-tab-button:active*/.duet-tab-button.sc-duet-tab-group:active{opacity:0.75;transition:none}/*!@.duet-tab-button.selected*/.duet-tab-button.selected.sc-duet-tab-group{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}/*!@.duet-theme-turva .duet-tab-button.selected*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}/*!@.duet-tab-button:focus*/.duet-tab-button.sc-duet-tab-group:focus{z-index:200;outline:0}/*!@:host(.user-is-tabbing) .duet-tab-button:focus*/.user-is-tabbing.sc-duet-tab-group-h .duet-tab-button.sc-duet-tab-group:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}/*!@:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus*/.user-is-tabbing.sc-duet-tab-group-h .duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}/*!@.duet-tab-button:first-child*/.duet-tab-button.sc-duet-tab-group:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){/*!@.duet-tab-button:first-child*/.duet-tab-button.sc-duet-tab-group:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}/*!@.duet-tab-button:last-child*/.duet-tab-button.sc-duet-tab-group:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){/*!@.duet-tab-button:last-child*/.duet-tab-button.sc-duet-tab-group:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}/*!@.duet-tab-variation-plain .duet-tab-button*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}/*!@.duet-tab-variation-plain .duet-tab-button + .duet-tab-button*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group+.duet-tab-button.sc-duet-tab-group{margin-left:36px}/*!@.duet-tab-variation-plain .duet-tab-button.selected*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}/*!@.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected*/.duet-theme-turva.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}/*!@.duet-tab-variation-checked .duet-tab-button*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:16px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{min-width:0}}/*!@.duet-tab-variation-checked .duet-tab-button.stackable-tab*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.stackable-tab.sc-duet-tab-group{min-width:0}/*!@.duet-tab-variation-checked .duet-tab-button:first-child*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:first-child{margin-left:auto}/*!@.duet-tab-variation-checked .duet-tab-button:last-child*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:last-child{margin-right:auto}/*!@.duet-tab-variation-checked .duet-tab-button:active*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:active{opacity:1;transition:none}/*!@.duet-tab-variation-checked .duet-tab-button.selected*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group{display:flex;flex-direction:row;justify-content:space-between}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.stackable-checked-tab-content.sc-duet-tab-group{flex-direction:column;height:100%}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.stackable-checked-tab-content.sc-duet-tab-group{flex-direction:row}}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.stackable-description.sc-duet-tab-group{text-align:center}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.stackable-description.sc-duet-tab-group{text-align:left}}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.sc-duet-tab-group{margin-top:4px;font-weight:400;color:rgb(101, 119, 135)}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.sc-duet-tab-group{color:rgb(68, 68, 69)}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.selected.sc-duet-tab-group{color:rgb(0, 119, 179)}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.selected.sc-duet-tab-group{color:rgb(68, 68, 69)}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .stackable-checkmark.sc-duet-tab-group{order:-1}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .stackable-checkmark.sc-duet-tab-group{order:1}}/*!@.duet-tab-group-content*/.duet-tab-group-content.sc-duet-tab-group{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}/*!@.duet-tab-group-content:focus*/.duet-tab-group-content.sc-duet-tab-group:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}/*!@.duet-theme-turva .duet-tab-group-content:focus*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.sc-duet-tab-group:focus{outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}/*!@.duet-tab-group-content.checked-group-content*/.duet-tab-group-content.checked-group-content.sc-duet-tab-group{padding:28px 0 28px 0}/*!@.duet-tab-group-content.checked-group-content::after*/.duet-tab-group-content.checked-group-content.sc-duet-tab-group::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-tab-group-content*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.sc-duet-tab-group{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 .duet-tab-group-content.checked-group-content::after*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.checked-group-content.sc-duet-tab-group::after{background-color:rgb(68, 68, 69)}";
|
|
16991
|
+
const duetTabGroupCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-tab-group,*.sc-duet-tab-group::after,*.sc-duet-tab-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-tab-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}/*!@.duet-tab-group-tabs*/.duet-tab-group-tabs.sc-duet-tab-group{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}/*!@.duet-tab-group-tabs.duet-m-0*/.duet-tab-group-tabs.duet-m-0.sc-duet-tab-group{margin:0 !important}/*!@.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden*/.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden.sc-duet-tab-group{display:none}@media (min-width: 36em){/*!@.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden*/.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden.sc-duet-tab-group{display:block}}/*!@.duet-tab-variation-plain .duet-tab-group-tabs*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{border-bottom:1px solid rgb(225, 227, 230)}/*!@.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs*/.duet-theme-turva.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{border-bottom-color:rgb(228, 228, 230)}/*!@.duet-tab-variation-checked .duet-tab-group-tabs*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}/*!@.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group::-webkit-scrollbar{display:none}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-group-tabs*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none}/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group::-webkit-scrollbar{display:none}@media (min-width: 36em){/*!@.duet-tab-plain-scrolling .duet-tab-group-tabs*/.duet-tab-plain-scrolling.sc-duet-tab-group .duet-tab-group-tabs.sc-duet-tab-group{display:block;overflow:auto}}@media (min-width: 36em){/*!@duet-select*/duet-select.sc-duet-tab-group{display:none !important}}/*!@.duet-tab-button*/.duet-tab-button.sc-duet-tab-group{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}/*!@.duet-tab-button.duet-p-0*/.duet-tab-button.duet-p-0.sc-duet-tab-group{padding:0 !important}/*!@.duet-tab-button.duet-m-0*/.duet-tab-button.duet-m-0.sc-duet-tab-group{margin:0 !important}/*!@.duet-theme-turva .duet-tab-button*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}/*!@.duet-tab-button.duet-p-0*/.duet-tab-button.duet-p-0.sc-duet-tab-group{padding:0 !important}@media (min-width: 36em){/*!@.duet-tab-button*/.duet-tab-button.sc-duet-tab-group{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}/*!@.duet-tab-button:hover*/.duet-tab-button.sc-duet-tab-group:hover{z-index:200;border-color:rgb(144, 149, 153)}/*!@.duet-theme-turva .duet-tab-button:hover*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:hover{border-color:rgb(116, 116, 117)}/*!@.duet-tab-button:active*/.duet-tab-button.sc-duet-tab-group:active{opacity:0.75;transition:none}/*!@.duet-tab-button.selected*/.duet-tab-button.selected.sc-duet-tab-group{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}/*!@.duet-theme-turva .duet-tab-button.selected*/.duet-theme-turva.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}/*!@.duet-tab-button:focus*/.duet-tab-button.sc-duet-tab-group:focus{z-index:200;outline:0}/*!@:host(.user-is-tabbing) .duet-tab-button:focus*/.user-is-tabbing.sc-duet-tab-group-h .duet-tab-button.sc-duet-tab-group:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}/*!@:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus*/.user-is-tabbing.sc-duet-tab-group-h .duet-theme-turva.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}/*!@.duet-tab-button:first-child*/.duet-tab-button.sc-duet-tab-group:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){/*!@.duet-tab-button:first-child*/.duet-tab-button.sc-duet-tab-group:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}/*!@.duet-tab-button:last-child*/.duet-tab-button.sc-duet-tab-group:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){/*!@.duet-tab-button:last-child*/.duet-tab-button.sc-duet-tab-group:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}/*!@.duet-tab-variation-plain .duet-tab-button*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}/*!@.duet-tab-variation-plain .duet-tab-button + .duet-tab-button*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group+.duet-tab-button.sc-duet-tab-group{margin-left:36px}/*!@.duet-tab-variation-plain .duet-tab-button.selected*/.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}/*!@.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected*/.duet-theme-turva.duet-tab-variation-plain.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}/*!@.duet-tab-variation-checked .duet-tab-button*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group{min-width:0;padding:16px}}/*!@.duet-tab-variation-checked .duet-tab-button.stackable-tab*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.stackable-tab.sc-duet-tab-group{min-width:0}/*!@.duet-tab-variation-checked .duet-tab-button:first-child*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:first-child{margin-left:auto}/*!@.duet-tab-variation-checked .duet-tab-button:last-child*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:last-child{margin-right:auto}/*!@.duet-tab-variation-checked .duet-tab-button:active*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group:active{opacity:1;transition:none}/*!@.duet-tab-variation-checked .duet-tab-button.selected*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.selected.sc-duet-tab-group{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group{display:flex;flex-direction:row;justify-content:space-between}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.stackable-checked-tab-content.sc-duet-tab-group{flex-direction:column;height:100%}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.stackable-checked-tab-content.sc-duet-tab-group{flex-direction:row}}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.stackable-description.sc-duet-tab-group{text-align:center}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.stackable-description.sc-duet-tab-group{text-align:left}}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.sc-duet-tab-group{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.sc-duet-tab-group{font-size:1rem;text-align:left}}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.sc-duet-tab-group{color:rgb(68, 68, 69)}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.selected.sc-duet-tab-group{color:rgb(0, 119, 179)}/*!@.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected*/.duet-theme-turva.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .checked-tab-description.sc-duet-tab-group .tab-caption.selected.sc-duet-tab-group{color:rgb(68, 68, 69)}/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .stackable-checkmark.sc-duet-tab-group{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){/*!@.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark*/.duet-tab-variation-checked.sc-duet-tab-group .duet-tab-button.sc-duet-tab-group .checked-tab-content.sc-duet-tab-group .stackable-checkmark.sc-duet-tab-group{order:1}}/*!@.duet-tab-group-content*/.duet-tab-group-content.sc-duet-tab-group{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}/*!@.duet-tab-group-content:focus*/.duet-tab-group-content.sc-duet-tab-group:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}/*!@.duet-theme-turva .duet-tab-group-content:focus*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.sc-duet-tab-group:focus{outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}/*!@.duet-tab-group-content.checked-group-content*/.duet-tab-group-content.checked-group-content.sc-duet-tab-group{padding:28px 0 28px 0}/*!@.duet-tab-group-content.checked-group-content::after*/.duet-tab-group-content.checked-group-content.sc-duet-tab-group::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-tab-group-content*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.sc-duet-tab-group{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 .duet-tab-group-content.checked-group-content::after*/.duet-theme-turva.sc-duet-tab-group .duet-tab-group-content.checked-group-content.sc-duet-tab-group::after{background-color:rgb(68, 68, 69)}";
|
|
16951
16992
|
|
|
16952
16993
|
/**
|
|
16953
16994
|
* @part ${identifier}-button - piercing selector for styling tab buttons
|
|
@@ -17326,6 +17367,7 @@ class DuetTextarea {
|
|
|
17326
17367
|
this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
|
|
17327
17368
|
this.labelId = createID("DuetLabel");
|
|
17328
17369
|
this.errorId = createID("DuetError");
|
|
17370
|
+
this.characterCountId = createID("DuetCharacterCount");
|
|
17329
17371
|
this.disallowPatternRegex = null;
|
|
17330
17372
|
/**
|
|
17331
17373
|
* Component event handling.
|
|
@@ -17358,6 +17400,9 @@ class DuetTextarea {
|
|
|
17358
17400
|
});
|
|
17359
17401
|
};
|
|
17360
17402
|
this.handleFocus = (ev) => {
|
|
17403
|
+
if (this.counter) {
|
|
17404
|
+
this.hiddenCounterLabel.textContent = `${Math.max(this.maxlength - this.value.length, 0)}/${this.maxlength} ${this.counterLabel}`;
|
|
17405
|
+
}
|
|
17361
17406
|
this.duetFocus.emit({
|
|
17362
17407
|
originalEvent: ev,
|
|
17363
17408
|
value: this.value,
|
|
@@ -17375,6 +17420,9 @@ class DuetTextarea {
|
|
|
17375
17420
|
if (this.error) {
|
|
17376
17421
|
describedBy.push(this.errorId);
|
|
17377
17422
|
}
|
|
17423
|
+
if (this.counter) {
|
|
17424
|
+
describedBy.push(this.characterCountId);
|
|
17425
|
+
}
|
|
17378
17426
|
return describedBy.length > 0 ? describedBy.join(" ") : null;
|
|
17379
17427
|
};
|
|
17380
17428
|
this.margin = "auto";
|
|
@@ -17384,6 +17432,7 @@ class DuetTextarea {
|
|
|
17384
17432
|
this.accessibleDetails = undefined;
|
|
17385
17433
|
this.accessibleLabelledBy = undefined;
|
|
17386
17434
|
this.accessibleDescription = undefined;
|
|
17435
|
+
this.accessibleLiveError = "polite";
|
|
17387
17436
|
this.accessibleOwns = undefined;
|
|
17388
17437
|
this.accessibleDescribedBy = undefined;
|
|
17389
17438
|
this.theme = "";
|
|
@@ -17451,7 +17500,9 @@ class DuetTextarea {
|
|
|
17451
17500
|
"duet-label-hidden": this.labelHidden,
|
|
17452
17501
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
17453
17502
|
"has-error": !!this.error,
|
|
17454
|
-
} }, hAsync("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (hAsync("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { alignment: "stretch" }, hAsync("duet-grid-item", { margin: "none", fill: true }, hAsync("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live":
|
|
17503
|
+
} }, hAsync("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (hAsync("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { alignment: "stretch" }, hAsync("duet-grid-item", { margin: "none", fill: true }, hAsync("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", null, this.error))), hAsync("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
17504
|
+
this.hiddenCounterLabel = el;
|
|
17505
|
+
} })))));
|
|
17455
17506
|
}
|
|
17456
17507
|
get element() { return getElement(this); }
|
|
17457
17508
|
static get watchers() { return {
|
|
@@ -17469,6 +17520,7 @@ class DuetTextarea {
|
|
|
17469
17520
|
"accessibleDetails": [1, "accessible-details"],
|
|
17470
17521
|
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
17471
17522
|
"accessibleDescription": [1, "accessible-description"],
|
|
17523
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
17472
17524
|
"accessibleOwns": [1, "accessible-owns"],
|
|
17473
17525
|
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
17474
17526
|
"theme": [1025],
|