@duetds/components 6.5.2 → 6.5.3
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 +57 -9
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-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 +15 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +13 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -2
- 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 +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -2
- 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-e463fcd1.js → focus-utils-ed2dad1b.js} +1 -1
- package/lib/cjs/{index-d28eaddf.js → index-9ee8fef8.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.css +1 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +7 -2
- package/lib/collection/components/duet-input/duet-input.js +14 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +203 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +19 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +38 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +38 -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 +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +6 -6
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +6 -4
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +10 -10
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +1 -1
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +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 +25 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +9 -9
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-radio-group.js +6 -6
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +7 -3
- 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 +8 -8
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +8 -8
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +7 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-b80f18af.js → p-018af97c.js} +1 -1
- package/lib/dist-custom-elements/{p-4a9c90b4.js → p-0f583b14.js} +1 -1
- package/lib/dist-custom-elements/{p-d2ba9048.js → p-12b2209e.js} +2 -2
- package/lib/dist-custom-elements/{p-25b67c58.js → p-19f6ccfd.js} +2 -2
- package/lib/dist-custom-elements/{p-bed64271.js → p-1c1d12e6.js} +4 -4
- package/lib/dist-custom-elements/{p-ab0944f2.js → p-2799f459.js} +2 -2
- package/lib/dist-custom-elements/{p-4cf27349.js → p-2973295e.js} +1 -1
- package/lib/dist-custom-elements/{p-8cc35bc1.js → p-29ac3d37.js} +1 -1
- package/lib/dist-custom-elements/{p-9112f395.js → p-2cc693bd.js} +3 -3
- package/lib/dist-custom-elements/{p-95e95871.js → p-3f4b8d49.js} +6 -6
- package/lib/dist-custom-elements/{p-b0973ee5.js → p-4385956a.js} +1 -1
- package/lib/dist-custom-elements/{p-99260df6.js → p-47157a1e.js} +1 -1
- package/lib/dist-custom-elements/{p-2646bc44.js → p-51525197.js} +7 -7
- package/lib/dist-custom-elements/{p-a623d58c.js → p-637de545.js} +3 -3
- package/lib/dist-custom-elements/{p-b49b6dfe.js → p-65ff709e.js} +3 -3
- package/lib/dist-custom-elements/{p-f3ac9547.js → p-6fc347ac.js} +1 -1
- package/lib/dist-custom-elements/{p-43343a18.js → p-70525432.js} +2 -2
- package/lib/dist-custom-elements/{p-dda23bd9.js → p-a3118d10.js} +1 -1
- package/lib/dist-custom-elements/{p-a3dc0179.js → p-a9df186e.js} +1 -1
- package/lib/dist-custom-elements/{p-a515e4af.js → p-b1567b3c.js} +1 -1
- package/lib/dist-custom-elements/{p-15968e9a.js → p-b33885be.js} +1 -1
- package/lib/dist-custom-elements/{p-c2cb9c20.js → p-c4833a6d.js} +2 -2
- package/lib/dist-custom-elements/{p-98ae1730.js → p-c58ed6c1.js} +1 -1
- package/lib/dist-custom-elements/{p-b93d2f59.js → p-c8062b13.js} +1 -1
- package/lib/dist-custom-elements/{p-68604dde.js → p-e41dcc90.js} +1 -1
- package/lib/dist-custom-elements/{p-9e3ea8a4.js → p-e9433706.js} +1 -1
- package/lib/dist-custom-elements/{p-d7d50d4f.js → p-f0e97570.js} +1 -1
- package/lib/dist-custom-elements/{p-c933203e.js → p-f51c6f0d.js} +6 -6
- package/lib/dist-custom-elements/{p-cae5ee62.js → p-fd3b1d69.js} +22 -10
- package/lib/dist-custom-elements/{p-e4516cf4.js → p-fdfff09b.js} +1 -1
- package/lib/dist-custom-elements/{p-246bd550.js → p-ff814bad.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-ba29d84e.entry.js → p-006b7cf2.entry.js} +1 -1
- package/lib/duet/{p-35206dee.system.entry.js → p-04103703.system.entry.js} +1 -1
- package/lib/duet/p-052545fb.system.entry.js +4 -0
- package/lib/duet/{p-eacc99e2.system.entry.js → p-055cffab.system.entry.js} +1 -1
- package/lib/duet/{p-e57b9976.entry.js → p-05ff4ff2.entry.js} +1 -1
- package/lib/duet/{p-a8f0d3a9.entry.js → p-08cc78bf.entry.js} +1 -1
- package/lib/duet/{p-8ebf07a2.entry.js → p-08f3c955.entry.js} +1 -1
- package/lib/duet/{p-7034d814.entry.js → p-09c3fee3.entry.js} +1 -1
- package/lib/duet/{p-b3a0b737.entry.js → p-0d24350f.entry.js} +1 -1
- package/lib/duet/{p-57d581a0.entry.js → p-0e4288ad.entry.js} +1 -1
- package/lib/duet/{p-8422b441.entry.js → p-0eed7e9d.entry.js} +1 -1
- package/lib/duet/p-10525faa.system.entry.js +4 -0
- package/lib/duet/{p-70b6d01c.system.entry.js → p-107abf9a.system.entry.js} +1 -1
- package/lib/duet/p-111468b4.system.js +4 -0
- package/lib/duet/{p-55ec59ba.system.entry.js → p-11c83814.system.entry.js} +1 -1
- package/lib/duet/{p-ae69645e.system.entry.js → p-11eec0c4.system.entry.js} +1 -1
- package/lib/duet/{p-8f6a5e2c.system.entry.js → p-12014f2b.system.entry.js} +1 -1
- package/lib/duet/{p-e5b23434.system.entry.js → p-15910757.system.entry.js} +1 -1
- package/lib/duet/{p-4649ec1d.entry.js → p-183db4fd.entry.js} +1 -1
- package/lib/duet/{p-e06581ab.system.entry.js → p-1ca17c3d.system.entry.js} +1 -1
- package/lib/duet/{p-1aa70bf3.entry.js → p-1d3b7252.entry.js} +1 -1
- package/lib/duet/{p-385d60a2.entry.js → p-1d86c33e.entry.js} +1 -1
- package/lib/duet/{p-945de64d.system.entry.js → p-1f5b0f23.system.entry.js} +1 -1
- package/lib/duet/{p-491611e0.system.entry.js → p-1fcb57c4.system.entry.js} +1 -1
- package/lib/duet/{p-90c2dd61.entry.js → p-20077ae5.entry.js} +1 -1
- package/lib/duet/{p-f82d3ee5.system.entry.js → p-24ec796f.system.entry.js} +1 -1
- package/lib/duet/{p-433565c9.entry.js → p-25f8b35d.entry.js} +1 -1
- package/lib/duet/{p-7309e6ea.system.entry.js → p-285a5c7a.system.entry.js} +1 -1
- package/lib/duet/{p-7ce5f24c.system.entry.js → p-29f2cb57.system.entry.js} +1 -1
- package/lib/duet/{p-6cc4b6bd.system.entry.js → p-2bea974a.system.entry.js} +1 -1
- package/lib/duet/{p-6181ec36.entry.js → p-3179dcc4.entry.js} +1 -1
- package/lib/duet/{p-50827bbe.system.entry.js → p-35d9ede4.system.entry.js} +1 -1
- package/lib/duet/{p-63c45943.system.entry.js → p-36ad1015.system.entry.js} +1 -1
- package/lib/duet/p-36e6b035.entry.js +4 -0
- package/lib/duet/{p-3295c503.system.entry.js → p-3783db99.system.entry.js} +1 -1
- package/lib/duet/{p-e27c8c99.entry.js → p-3bfd250e.entry.js} +1 -1
- package/lib/duet/{p-732b050a.entry.js → p-43abf083.entry.js} +1 -1
- package/lib/duet/{p-2c6c9c16.entry.js → p-466341b7.entry.js} +1 -1
- package/lib/duet/{p-351daa15.entry.js → p-4a7c0c4f.entry.js} +1 -1
- package/lib/duet/{p-da8b3bee.entry.js → p-4aa4735d.entry.js} +1 -1
- package/lib/duet/{p-576b1a97.system.entry.js → p-4bb8d188.system.entry.js} +1 -1
- package/lib/duet/{p-ce8d53d6.system.entry.js → p-4be58c8b.system.entry.js} +1 -1
- package/lib/duet/{p-172bc679.entry.js → p-4faaf699.entry.js} +1 -1
- package/lib/duet/{p-ed67528b.system.entry.js → p-5058dcff.system.entry.js} +1 -1
- package/lib/duet/{p-97e2494e.system.entry.js → p-51dae606.system.entry.js} +1 -1
- package/lib/duet/{p-dc282755.entry.js → p-577f5a55.entry.js} +1 -1
- package/lib/duet/{p-867d4e87.system.entry.js → p-5831b7b3.system.entry.js} +1 -1
- package/lib/duet/{p-3669cb32.entry.js → p-5b7cbc4d.entry.js} +1 -1
- package/lib/duet/{p-bcb088de.entry.js → p-5c66df7c.entry.js} +1 -1
- package/lib/duet/{p-90e005cc.entry.js → p-5e02b923.entry.js} +1 -1
- package/lib/duet/{p-5ec2343b.system.entry.js → p-5e110a00.system.entry.js} +1 -1
- package/lib/duet/{p-8d019ca0.system.entry.js → p-5ec490da.system.entry.js} +1 -1
- package/lib/duet/p-5fff98bf.entry.js +4 -0
- package/lib/duet/{p-7d6d0a89.system.entry.js → p-609cd028.system.entry.js} +1 -1
- package/lib/duet/{p-a92b5519.entry.js → p-61fe36d3.entry.js} +1 -1
- package/lib/duet/{p-805c34c6.entry.js → p-6410c967.entry.js} +1 -1
- package/lib/duet/{p-15529d9c.system.entry.js → p-68986f07.system.entry.js} +1 -1
- package/lib/duet/{p-c53f21c9.system.entry.js → p-6989d392.system.entry.js} +1 -1
- package/lib/duet/{p-9864f91b.system.entry.js → p-69ab5590.system.entry.js} +1 -1
- package/lib/duet/p-6d3a3fd0.js +4 -0
- package/lib/duet/{p-9335c92f.entry.js → p-72bda1b3.entry.js} +1 -1
- package/lib/duet/{p-2db45e2b.system.entry.js → p-74a742c9.system.entry.js} +1 -1
- package/lib/duet/{p-a198ec6f.entry.js → p-79ff1a6a.entry.js} +1 -1
- package/lib/duet/{p-1bb2ca48.system.entry.js → p-7e39a550.system.entry.js} +1 -1
- package/lib/duet/{p-8fcb7700.entry.js → p-80ffbd1c.entry.js} +1 -1
- package/lib/duet/{p-964c9e93.system.entry.js → p-8e69027d.system.entry.js} +1 -1
- package/lib/duet/{p-45970c94.entry.js → p-94f0387e.entry.js} +1 -1
- package/lib/duet/{p-c5b583e5.entry.js → p-95a4082f.entry.js} +1 -1
- package/lib/duet/{p-90f46d58.entry.js → p-98ae2cb9.entry.js} +1 -1
- package/lib/duet/{p-da79ce12.entry.js → p-9ad584d2.entry.js} +1 -1
- package/lib/duet/p-9b949b28.entry.js +4 -0
- package/lib/duet/{p-10bb0906.entry.js → p-9bc15874.entry.js} +1 -1
- package/lib/duet/{p-d567cab7.system.entry.js → p-9cbc891f.system.entry.js} +1 -1
- package/lib/duet/{p-6c473cbf.system.entry.js → p-a1dc9c9e.system.entry.js} +1 -1
- package/lib/duet/{p-00fd4357.entry.js → p-a4054eae.entry.js} +1 -1
- package/lib/duet/{p-cd5055a1.system.entry.js → p-a5a6751e.system.entry.js} +1 -1
- package/lib/duet/{p-3a31f9c0.system.entry.js → p-a77d4c37.system.entry.js} +1 -1
- package/lib/duet/{p-eaae6b36.system.js → p-a7ec9aa4.system.js} +1 -1
- package/lib/duet/{p-94fca55e.system.js → p-a9ba6306.system.js} +1 -1
- package/lib/duet/{p-0eceb1fe.entry.js → p-aa9f3fc8.entry.js} +1 -1
- package/lib/duet/{p-f5bf2165.entry.js → p-acf4057a.entry.js} +1 -1
- package/lib/duet/{p-2089a333.system.entry.js → p-ae1e4397.system.entry.js} +1 -1
- package/lib/duet/{p-d6f2d26c.entry.js → p-ae39acbe.entry.js} +1 -1
- package/lib/duet/{p-186a18d8.entry.js → p-af8dbf72.entry.js} +1 -1
- package/lib/duet/{p-2be1feb2.system.entry.js → p-b0428a5d.system.entry.js} +1 -1
- package/lib/duet/{p-172ff1de.system.entry.js → p-b0e1180e.system.entry.js} +1 -1
- package/lib/duet/{p-67718cc3.entry.js → p-b20bff64.entry.js} +1 -1
- package/lib/duet/{p-f692b21a.system.entry.js → p-b3f3bca8.system.entry.js} +1 -1
- package/lib/duet/{p-337d152b.entry.js → p-b4659570.entry.js} +1 -1
- package/lib/duet/{p-6b6fd2dd.system.entry.js → p-b63f60f6.system.entry.js} +1 -1
- package/lib/duet/{p-ff76aad3.entry.js → p-b6753d6e.entry.js} +1 -1
- package/lib/duet/{p-f3a000ac.entry.js → p-b77e364d.entry.js} +1 -1
- package/lib/duet/{p-b9e81db8.entry.js → p-bbc717af.entry.js} +1 -1
- package/lib/duet/{p-41bc24a5.entry.js → p-bdbf8bca.entry.js} +1 -1
- package/lib/duet/{p-5a72573d.entry.js → p-c0d2e97b.entry.js} +1 -1
- package/lib/duet/{p-8f72abcb.entry.js → p-c2f44fde.entry.js} +1 -1
- package/lib/duet/{p-3d53ec4a.system.entry.js → p-c41c7735.system.entry.js} +1 -1
- package/lib/duet/p-c81e306c.system.entry.js +4 -0
- package/lib/duet/{p-98542cf6.entry.js → p-ca5373cf.entry.js} +1 -1
- package/lib/duet/p-cce6bb84.entry.js +4 -0
- package/lib/duet/{p-d032551e.entry.js → p-cd33c4cd.entry.js} +1 -1
- package/lib/duet/{p-074fa88a.system.entry.js → p-cd514cf6.system.entry.js} +1 -1
- package/lib/duet/{p-076d8525.system.entry.js → p-ce35d050.system.entry.js} +1 -1
- package/lib/duet/{p-357f64e4.system.entry.js → p-cfd2206f.system.entry.js} +1 -1
- package/lib/duet/{p-edbf0850.system.entry.js → p-d2ffedfa.system.entry.js} +1 -1
- package/lib/duet/{p-8ed60a7f.system.entry.js → p-d3f8e957.system.entry.js} +1 -1
- package/lib/duet/{p-8d8d820a.entry.js → p-d57020ab.entry.js} +1 -1
- package/lib/duet/{p-e91b40e2.system.entry.js → p-d76aa87f.system.entry.js} +1 -1
- package/lib/duet/p-d86cf803.entry.js +4 -0
- package/lib/duet/{p-1da6954c.js → p-d9859e96.js} +1 -1
- package/lib/duet/{p-c5d9ca19.entry.js → p-d9aa697b.entry.js} +1 -1
- package/lib/duet/{p-c9e2607d.entry.js → p-dc1e280d.entry.js} +1 -1
- package/lib/duet/{p-584a9687.system.entry.js → p-dc87c6ce.system.entry.js} +1 -1
- package/lib/duet/p-dcf65419.entry.js +4 -0
- package/lib/duet/{p-aeacd894.system.entry.js → p-debdd0e0.system.entry.js} +1 -1
- package/lib/duet/{p-6869a12b.system.entry.js → p-df40670a.system.entry.js} +1 -1
- package/lib/duet/{p-ec8178ca.system.entry.js → p-dfe588e8.system.entry.js} +1 -1
- package/lib/duet/{p-c606f454.entry.js → p-e0c48a7d.entry.js} +1 -1
- package/lib/duet/{p-990418d6.entry.js → p-e82cc5a7.entry.js} +1 -1
- package/lib/duet/{p-4544887e.system.entry.js → p-ea09c830.system.entry.js} +1 -1
- package/lib/duet/{p-5f4090c2.entry.js → p-ebfb519a.entry.js} +1 -1
- package/lib/duet/{p-bcd2526b.system.entry.js → p-ecc8c5f4.system.entry.js} +1 -1
- package/lib/duet/p-edd23a3b.entry.js +4 -0
- package/lib/duet/{p-03c19b62.system.entry.js → p-ee4e7bff.system.entry.js} +1 -1
- package/lib/duet/{p-111f753f.system.entry.js → p-f4b19481.system.entry.js} +1 -1
- package/lib/duet/{p-29749e15.system.entry.js → p-f58e2c75.system.entry.js} +1 -1
- package/lib/duet/{p-13d603f4.system.entry.js → p-f7cefa5d.system.entry.js} +1 -1
- package/lib/duet/{p-3b941474.system.entry.js → p-f888deb6.system.entry.js} +1 -1
- package/lib/duet/{p-3cc241bf.entry.js → p-f8bdcad4.entry.js} +1 -1
- package/lib/duet/{p-54a98fee.system.entry.js → p-fc6de9c4.system.entry.js} +1 -1
- package/lib/duet/{p-f7a9305b.system.entry.js → p-feb0de52.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +5 -3
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-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 +15 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +13 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -2
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +4 -2
- 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 +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -2
- 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 +2 -2
- package/lib/esm/{focus-utils-1131b2e1.js → focus-utils-9717e725.js} +1 -1
- package/lib/esm/{index-0d301ddd.js → index-e394f675.js} +1 -1
- package/lib/esm/loader.js +2 -2
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- 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 +2 -2
- 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-9717e725.js +4 -0
- package/lib/esm-es5/{index-0d301ddd.js → index-e394f675.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
- package/lib/types/components/duet-input/duet-input.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +51 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +10 -0
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +10 -0
- package/lib/types/components.d.ts +128 -0
- package/package.json +5 -5
- package/lib/duet/p-28280afb.system.js +0 -4
- package/lib/duet/p-5687713d.js +0 -4
- package/lib/duet/p-5cc1dae6.entry.js +0 -4
- package/lib/duet/p-5d6e4a9e.system.entry.js +0 -4
- package/lib/duet/p-83b45db7.system.entry.js +0 -4
- package/lib/duet/p-87ffe2f3.entry.js +0 -4
- package/lib/duet/p-b277f3c9.entry.js +0 -4
- package/lib/duet/p-c485773b.entry.js +0 -4
- package/lib/duet/p-dd383dac.entry.js +0 -4
- package/lib/duet/p-de97a5a0.system.entry.js +0 -4
- package/lib/duet/p-e800bb84.entry.js +0 -4
- package/lib/duet/p-f51f0dae.entry.js +0 -4
- package/lib/esm-es5/focus-utils-1131b2e1.js +0 -4
|
@@ -17,6 +17,17 @@ export class DuetMenuBarButton {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
this.iconSize = "x-small";
|
|
20
|
+
this.accessibleLabel = undefined;
|
|
21
|
+
this.accessibleControls = undefined;
|
|
22
|
+
this.accessiblePopup = "false";
|
|
23
|
+
this.accessibleActiveDescendant = undefined;
|
|
24
|
+
this.accessibleOwns = undefined;
|
|
25
|
+
this.accessibleDescribedBy = undefined;
|
|
26
|
+
this.accessibleDetails = undefined;
|
|
27
|
+
this.accessibleLabelledBy = undefined;
|
|
28
|
+
this.accessibleDescription = undefined;
|
|
29
|
+
this.accessibleExpanded = undefined;
|
|
30
|
+
this.accessiblePressed = undefined;
|
|
20
31
|
this.theme = "";
|
|
21
32
|
this.icon = undefined;
|
|
22
33
|
}
|
|
@@ -62,7 +73,7 @@ export class DuetMenuBarButton {
|
|
|
62
73
|
return (h(Host, { onfocus: () => this.setFocus() }, h("button", { ref: button => (this.nativeButton = button), class: {
|
|
63
74
|
"duet-menu-bar-button": true,
|
|
64
75
|
"duet-theme-turva": this.theme === "turva",
|
|
65
|
-
} }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
|
|
76
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
|
|
66
77
|
}
|
|
67
78
|
static get is() { return "duet-menu-bar-button"; }
|
|
68
79
|
static get encapsulation() { return "shadow"; }
|
|
@@ -78,6 +89,197 @@ export class DuetMenuBarButton {
|
|
|
78
89
|
}
|
|
79
90
|
static get properties() {
|
|
80
91
|
return {
|
|
92
|
+
"accessibleLabel": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "string",
|
|
97
|
+
"resolved": "string",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": false,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
105
|
+
},
|
|
106
|
+
"attribute": "accessible-label",
|
|
107
|
+
"reflect": false
|
|
108
|
+
},
|
|
109
|
+
"accessibleControls": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "string",
|
|
114
|
+
"resolved": "string",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": "Use this property to add an aria-controls attribute to the button. Use\nthe attribute to point to the unique id of the content that the button manages."
|
|
122
|
+
},
|
|
123
|
+
"attribute": "accessible-controls",
|
|
124
|
+
"reflect": false
|
|
125
|
+
},
|
|
126
|
+
"accessiblePopup": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "string",
|
|
131
|
+
"resolved": "string",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button."
|
|
139
|
+
},
|
|
140
|
+
"attribute": "accessible-popup",
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"defaultValue": "\"false\""
|
|
143
|
+
},
|
|
144
|
+
"accessibleActiveDescendant": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"mutable": false,
|
|
147
|
+
"complexType": {
|
|
148
|
+
"original": "string",
|
|
149
|
+
"resolved": "string",
|
|
150
|
+
"references": {}
|
|
151
|
+
},
|
|
152
|
+
"required": false,
|
|
153
|
+
"optional": false,
|
|
154
|
+
"docs": {
|
|
155
|
+
"tags": [],
|
|
156
|
+
"text": "Indicates the id of a related component\u2019s visually focused element."
|
|
157
|
+
},
|
|
158
|
+
"attribute": "accessible-active-descendant",
|
|
159
|
+
"reflect": false
|
|
160
|
+
},
|
|
161
|
+
"accessibleOwns": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"mutable": false,
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "string",
|
|
166
|
+
"resolved": "string",
|
|
167
|
+
"references": {}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": false,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": "Indicates the id of a component owned by the button."
|
|
174
|
+
},
|
|
175
|
+
"attribute": "accessible-owns",
|
|
176
|
+
"reflect": false
|
|
177
|
+
},
|
|
178
|
+
"accessibleDescribedBy": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"mutable": false,
|
|
181
|
+
"complexType": {
|
|
182
|
+
"original": "string",
|
|
183
|
+
"resolved": "string",
|
|
184
|
+
"references": {}
|
|
185
|
+
},
|
|
186
|
+
"required": false,
|
|
187
|
+
"optional": false,
|
|
188
|
+
"docs": {
|
|
189
|
+
"tags": [],
|
|
190
|
+
"text": "Indicates the id of a component that describes the button."
|
|
191
|
+
},
|
|
192
|
+
"attribute": "accessible-described-by",
|
|
193
|
+
"reflect": false
|
|
194
|
+
},
|
|
195
|
+
"accessibleDetails": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "Details of the component"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "accessible-details",
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "undefined"
|
|
212
|
+
},
|
|
213
|
+
"accessibleLabelledBy": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "string",
|
|
218
|
+
"resolved": "string",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "String of id's that indicate alternative labels elements"
|
|
226
|
+
},
|
|
227
|
+
"attribute": "accessible-labelled-by",
|
|
228
|
+
"reflect": false,
|
|
229
|
+
"defaultValue": "undefined"
|
|
230
|
+
},
|
|
231
|
+
"accessibleDescription": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": false,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "string",
|
|
236
|
+
"resolved": "string",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Aria description the button"
|
|
244
|
+
},
|
|
245
|
+
"attribute": "accessible-description",
|
|
246
|
+
"reflect": false,
|
|
247
|
+
"defaultValue": "undefined"
|
|
248
|
+
},
|
|
249
|
+
"accessibleExpanded": {
|
|
250
|
+
"type": "boolean",
|
|
251
|
+
"mutable": false,
|
|
252
|
+
"complexType": {
|
|
253
|
+
"original": "boolean",
|
|
254
|
+
"resolved": "boolean",
|
|
255
|
+
"references": {}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "If a button expands or collapses adjacent content, then use the ariaExpanded\nprop to add the aria-expanded attribute to the button. Set the value to convey\nthe current expanded (true) or collapsed (false) state of the content."
|
|
262
|
+
},
|
|
263
|
+
"attribute": "accessible-expanded",
|
|
264
|
+
"reflect": false
|
|
265
|
+
},
|
|
266
|
+
"accessiblePressed": {
|
|
267
|
+
"type": "boolean",
|
|
268
|
+
"mutable": false,
|
|
269
|
+
"complexType": {
|
|
270
|
+
"original": "boolean",
|
|
271
|
+
"resolved": "boolean",
|
|
272
|
+
"references": {}
|
|
273
|
+
},
|
|
274
|
+
"required": false,
|
|
275
|
+
"optional": false,
|
|
276
|
+
"docs": {
|
|
277
|
+
"tags": [],
|
|
278
|
+
"text": "Tells screen reader the element is pressed."
|
|
279
|
+
},
|
|
280
|
+
"attribute": "accessible-pressed",
|
|
281
|
+
"reflect": false
|
|
282
|
+
},
|
|
81
283
|
"theme": {
|
|
82
284
|
"type": "string",
|
|
83
285
|
"mutable": true,
|
|
@@ -19,6 +19,7 @@ export class DuetMenuBarDropdown {
|
|
|
19
19
|
return "right";
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
+
this.accessibleLabel = undefined;
|
|
22
23
|
this.theme = "";
|
|
23
24
|
this.open = false;
|
|
24
25
|
this.icon = undefined;
|
|
@@ -45,7 +46,7 @@ export class DuetMenuBarDropdown {
|
|
|
45
46
|
"duet-theme-turva": this.theme === "turva",
|
|
46
47
|
active: this.open,
|
|
47
48
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
48
|
-
} }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
49
|
+
} }, h("button", { "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
49
50
|
active: this.open,
|
|
50
51
|
}, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
51
52
|
items: true,
|
|
@@ -66,6 +67,23 @@ export class DuetMenuBarDropdown {
|
|
|
66
67
|
}
|
|
67
68
|
static get properties() {
|
|
68
69
|
return {
|
|
70
|
+
"accessibleLabel": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"mutable": false,
|
|
73
|
+
"complexType": {
|
|
74
|
+
"original": "string",
|
|
75
|
+
"resolved": "string",
|
|
76
|
+
"references": {}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": false,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
83
|
+
},
|
|
84
|
+
"attribute": "accessible-label",
|
|
85
|
+
"reflect": false
|
|
86
|
+
},
|
|
69
87
|
"theme": {
|
|
70
88
|
"type": "string",
|
|
71
89
|
"mutable": true,
|
|
@@ -5,7 +5,9 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
export class DuetSlideoutLink {
|
|
7
7
|
constructor() {
|
|
8
|
+
this.accessibleLabel = undefined;
|
|
8
9
|
this.theme = "";
|
|
10
|
+
this.targetLanguage = undefined;
|
|
9
11
|
this.active = false;
|
|
10
12
|
this.href = "#";
|
|
11
13
|
this.icon = undefined;
|
|
@@ -29,7 +31,7 @@ export class DuetSlideoutLink {
|
|
|
29
31
|
"duet-theme-turva": this.theme === "turva",
|
|
30
32
|
active: this.active,
|
|
31
33
|
[this.size]: true,
|
|
32
|
-
}, href: this.href, role: this.menuItem && "menuitem" }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))));
|
|
34
|
+
}, href: this.href, role: this.menuItem && "menuitem", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { name: this.icon, color: this.menuItem && "currentColor", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("span", null, h("slot", null), h("slot", { name: "description" })), this.caret && h("duet-icon", { name: "action-arrow-right", color: "primary", size: "x-small", margin: "none" }))));
|
|
33
35
|
}
|
|
34
36
|
static get is() { return "duet-slideout-link"; }
|
|
35
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,6 +47,23 @@ export class DuetSlideoutLink {
|
|
|
45
47
|
}
|
|
46
48
|
static get properties() {
|
|
47
49
|
return {
|
|
50
|
+
"accessibleLabel": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "string",
|
|
55
|
+
"resolved": "string",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
63
|
+
},
|
|
64
|
+
"attribute": "accessible-label",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
48
67
|
"theme": {
|
|
49
68
|
"type": "string",
|
|
50
69
|
"mutable": true,
|
|
@@ -68,6 +87,24 @@ export class DuetSlideoutLink {
|
|
|
68
87
|
"reflect": false,
|
|
69
88
|
"defaultValue": "\"\""
|
|
70
89
|
},
|
|
90
|
+
"targetLanguage": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "\"en\" | \"fi\" | \"sv\"",
|
|
95
|
+
"resolved": "\"en\" | \"fi\" | \"sv\"",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Language of the link. Use this only for language selection links."
|
|
103
|
+
},
|
|
104
|
+
"attribute": "target-language",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "undefined"
|
|
107
|
+
},
|
|
71
108
|
"active": {
|
|
72
109
|
"type": "boolean",
|
|
73
110
|
"mutable": true,
|
|
@@ -5,7 +5,9 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
export class DuetToolbarDropdownLink {
|
|
7
7
|
constructor() {
|
|
8
|
+
this.accessibleLabel = undefined;
|
|
8
9
|
this.theme = "";
|
|
10
|
+
this.targetLanguage = undefined;
|
|
9
11
|
this.href = "#";
|
|
10
12
|
this.icon = undefined;
|
|
11
13
|
this.active = false;
|
|
@@ -25,7 +27,7 @@ export class DuetToolbarDropdownLink {
|
|
|
25
27
|
"duet-toolbar-dropdown-link": true,
|
|
26
28
|
"duet-theme-turva": this.theme === "turva",
|
|
27
29
|
active: this.active,
|
|
28
|
-
}, href: this.href, role: "menuitem" }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("slot", null))));
|
|
30
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "menuitem", "aria-label": this.accessibleLabel }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("slot", null))));
|
|
29
31
|
}
|
|
30
32
|
static get is() { return "duet-toolbar-dropdown-link"; }
|
|
31
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,6 +43,23 @@ export class DuetToolbarDropdownLink {
|
|
|
41
43
|
}
|
|
42
44
|
static get properties() {
|
|
43
45
|
return {
|
|
46
|
+
"accessibleLabel": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "string",
|
|
51
|
+
"resolved": "string",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
|
|
59
|
+
},
|
|
60
|
+
"attribute": "accessible-label",
|
|
61
|
+
"reflect": false
|
|
62
|
+
},
|
|
44
63
|
"theme": {
|
|
45
64
|
"type": "string",
|
|
46
65
|
"mutable": true,
|
|
@@ -64,6 +83,24 @@ export class DuetToolbarDropdownLink {
|
|
|
64
83
|
"reflect": false,
|
|
65
84
|
"defaultValue": "\"\""
|
|
66
85
|
},
|
|
86
|
+
"targetLanguage": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "\"en\" | \"fi\" | \"sv\"",
|
|
91
|
+
"resolved": "\"en\" | \"fi\" | \"sv\"",
|
|
92
|
+
"references": {}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": false,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": "Language of the link. Use this only for language selection links."
|
|
99
|
+
},
|
|
100
|
+
"attribute": "target-language",
|
|
101
|
+
"reflect": false,
|
|
102
|
+
"defaultValue": "undefined"
|
|
103
|
+
},
|
|
67
104
|
"href": {
|
|
68
105
|
"type": "string",
|
|
69
106
|
"mutable": true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-637de545.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-f51c6f0d.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-e41dcc90.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-ff814bad.js';
|
|
7
7
|
|
|
8
8
|
const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;color:#00294d;text-decoration:none}.duet-breadcrumb:hover{color:#004d80}.duet-breadcrumb.duet-theme-turva{color:#171c3a}.duet-breadcrumb.duet-theme-turva:hover{color:#940925}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-ff814bad.js';
|
|
8
8
|
|
|
9
9
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-1c1d12e6.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-c58ed6c1.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { c as createID } from './p-c1325e35.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
8
8
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
9
9
|
import { g as getColorByName } from './p-535ce3ec.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-ff814bad.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-f0e97570.js';
|
|
12
12
|
|
|
13
13
|
var actionArrowUp={"title":"action-arrow-up","tags":"action arrow up caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z\"/></svg>"};
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-b33885be.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { f as findCheckedOption, w as watchForOptions } from './p-12721178.js';
|
|
7
|
-
import { d as defineCustomElement$6 } from './p-
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$6 } from './p-c58ed6c1.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-19f6ccfd.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-ff814bad.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-2cc693bd.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-4385956a.js';
|
|
12
12
|
|
|
13
13
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex;margin-bottom:0}}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
14
14
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { F as FocusGuard } from './p-9986919d.js';
|
|
9
9
|
import { i as isKeyboardClick, a as isQuestionKey, b as isEscapeKey } from './p-d8549efe.js';
|
|
10
10
|
import { g as getLocaleString, a as getLanguage } from './p-ede854e1.js';
|
|
11
|
-
import { d as defineCustomElement$5 } from './p-
|
|
12
|
-
import { d as defineCustomElement$4 } from './p-
|
|
13
|
-
import { d as defineCustomElement$3 } from './p-
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$5 } from './p-c58ed6c1.js';
|
|
12
|
+
import { d as defineCustomElement$4 } from './p-ff814bad.js';
|
|
13
|
+
import { d as defineCustomElement$3 } from './p-f0e97570.js';
|
|
14
|
+
import { d as defineCustomElement$2 } from './p-4385956a.js';
|
|
15
15
|
|
|
16
16
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
17
17
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { f as font_size_medium, t as tokens } from './p-738bd3c5.js';
|
|
7
7
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
8
8
|
import { c as createID } from './p-c1325e35.js';
|
|
9
9
|
import { i as isKeyboardClick } from './p-d8549efe.js';
|
|
10
10
|
import { s as sanitizeString } from './p-5a9d75e1.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-ff814bad.js';
|
|
12
12
|
|
|
13
|
-
const duetCollapsibleCss = "*.sc-duet-collapsible,*.sc-duet-collapsible::after,*.sc-duet-collapsible::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-collapsible-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d}.duet-theme-turva.sc-duet-collapsible-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:#171c3a}.duet-m-0.sc-duet-collapsible-h{margin:0 !important}.duet-collapsible-content.sc-duet-collapsible{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content.sc-duet-collapsible{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}[open].sc-duet-collapsible-h>.duet-collapsible-content.sc-duet-collapsible{display:block}.duet-collapsible-heading.sc-duet-collapsible{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight.sc-duet-collapsible{font-weight:400}.duet-collapsible-heading.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-collapsible-heading.sc-duet-collapsible .duet-collapsible-heading-content.sc-duet-collapsible{flex:1}.duet-collapsible-heading.sc-duet-collapsible:focus{outline:0}.user-is-tabbing.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon.sc-duet-collapsible{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon.sc-duet-collapsible:last-child,.duet-collapsible-heading-icon.sc-duet-collapsible:last-of-type{margin-right:0 !important}[aria-expanded=true].sc-duet-collapsible .duet-collapsible-heading-icon.sc-duet-collapsible{transform:rotate(180deg)}";
|
|
13
|
+
const duetCollapsibleCss = "*.sc-duet-collapsible,*.sc-duet-collapsible::after,*.sc-duet-collapsible::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-collapsible-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d}.duet-theme-turva.sc-duet-collapsible-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:#171c3a}.duet-m-0.sc-duet-collapsible-h{margin:0 !important}.duet-collapsible-content.sc-duet-collapsible{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content.sc-duet-collapsible{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}[open].sc-duet-collapsible-h>.duet-collapsible-content.sc-duet-collapsible{display:block}.duet-collapsible-heading.sc-duet-collapsible{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight.sc-duet-collapsible{font-weight:400}.duet-collapsible-heading.duet-theme-turva.sc-duet-collapsible{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-collapsible-heading.sc-duet-collapsible .duet-collapsible-heading-content.sc-duet-collapsible{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading.sc-duet-collapsible .duet-collapsible-heading-content.sc-duet-collapsible+div.sc-duet-collapsible{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading.sc-duet-collapsible:focus{outline:0}.user-is-tabbing.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-collapsible-h .duet-collapsible-heading.sc-duet-collapsible:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon.sc-duet-collapsible{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon.sc-duet-collapsible:last-child,.duet-collapsible-heading-icon.sc-duet-collapsible:last-of-type{margin-right:0 !important}[aria-expanded=true].sc-duet-collapsible .duet-collapsible-heading-icon.sc-duet-collapsible{transform:rotate(180deg)}";
|
|
14
14
|
|
|
15
15
|
const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
16
|
constructor() {
|
|
@@ -77,6 +77,7 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
77
77
|
*/
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
inheritGlobalTheme(this);
|
|
80
|
+
this.hasAfterHeading = !!this.element.querySelector(":scope > [slot='after-heading']");
|
|
80
81
|
}
|
|
81
82
|
/**
|
|
82
83
|
* Sets focus on the specified `duet-collapsible`. Use this method instead of the global
|
|
@@ -98,7 +99,8 @@ const DuetCollapsible$1 = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
98
99
|
"duet-collapsible-heading": true,
|
|
99
100
|
"duet-theme-turva": this.theme === "turva",
|
|
100
101
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
101
|
-
|
|
102
|
+
"has-after-heading": this.hasAfterHeading,
|
|
103
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", tabindex: "0", ref: button => (this.nativeButton = button), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", null, h("slot", { name: "after-heading" })))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
|
|
102
104
|
}
|
|
103
105
|
get element() { return this; }
|
|
104
106
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h as h$1, b as Host } from './p-2973295e.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { d as debounce } from './p-0b3f675e.js';
|
|
7
7
|
import { c as isEnterKey, b as isEscapeKey, d as isTabKey, e as isArrowUpKey, f as isArrowDownKey } from './p-d8549efe.js';
|
|
8
8
|
import { g as getLocaleString, a as getLanguage } from './p-ede854e1.js';
|
|
9
9
|
import { p as parsePossibleJSON } from './p-5a9d75e1.js';
|
|
10
10
|
import { h, F as Fragment } from './p-e4a60f42.js';
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-ff814bad.js';
|
|
12
12
|
|
|
13
13
|
const SelectSingle = ({ item, search = "", selected }) => {
|
|
14
14
|
const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
|