@duetds/components 6.5.0 → 6.5.2
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 +75 -20
- 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 +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- 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 +1 -1
- 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 +52 -7
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -2
- 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 +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 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout.cjs.entry.js +17 -7
- 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 +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-91717ff5.js → focus-utils-e463fcd1.js} +1 -1
- package/lib/cjs/{index-5a5b5fb6.js → index-d28eaddf.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +25 -12
- package/lib/collection/components/duet-button/duet-button.js +2 -2
- package/lib/collection/components/duet-input/duet-input.css +66 -0
- package/lib/collection/components/duet-input/duet-input.js +59 -8
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +0 -19
- package/lib/collection/components/duet-slideout/duet-slideout.css +41 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +18 -9
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +12 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +21 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +12 -17
- 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 +2 -2
- 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 +25 -13
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -5
- 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 +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 +23 -11
- 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 +6 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +17 -8
- 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 +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 +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-6709c2d5.js → p-15968e9a.js} +1 -1
- package/lib/dist-custom-elements/{p-1772b598.js → p-246bd550.js} +1 -1
- package/lib/dist-custom-elements/{p-ca879759.js → p-25b67c58.js} +2 -2
- package/lib/dist-custom-elements/{p-9041d5c6.js → p-2646bc44.js} +7 -7
- package/lib/dist-custom-elements/{p-b34f2a20.js → p-43343a18.js} +2 -2
- package/lib/dist-custom-elements/{p-7266af0a.js → p-4a9c90b4.js} +1 -1
- package/lib/dist-custom-elements/{p-f61f0fcc.js → p-4cf27349.js} +1 -1
- package/lib/dist-custom-elements/{p-a213fc78.js → p-68604dde.js} +1 -1
- package/lib/dist-custom-elements/{p-d36aab71.js → p-8cc35bc1.js} +1 -1
- package/lib/dist-custom-elements/{p-6b914cdc.js → p-9112f395.js} +3 -3
- package/lib/dist-custom-elements/{p-4804e790.js → p-95e95871.js} +6 -6
- package/lib/dist-custom-elements/{p-86994a58.js → p-98ae1730.js} +1 -1
- package/lib/dist-custom-elements/{p-1e3f421f.js → p-99260df6.js} +1 -1
- package/lib/dist-custom-elements/{p-c7567c65.js → p-9e3ea8a4.js} +1 -1
- package/lib/dist-custom-elements/{p-22b0a23d.js → p-a3dc0179.js} +1 -1
- package/lib/dist-custom-elements/{p-1b31e0ac.js → p-a515e4af.js} +1 -1
- package/lib/dist-custom-elements/{p-6f9f5b04.js → p-a623d58c.js} +3 -3
- package/lib/dist-custom-elements/{p-f3b86e69.js → p-ab0944f2.js} +2 -2
- package/lib/dist-custom-elements/{p-d501f01d.js → p-b0973ee5.js} +1 -1
- package/lib/dist-custom-elements/{p-4f709f28.js → p-b49b6dfe.js} +3 -3
- package/lib/dist-custom-elements/{p-5ac75d16.js → p-b80f18af.js} +1 -1
- package/lib/dist-custom-elements/{p-a3d1df89.js → p-b93d2f59.js} +1 -1
- package/lib/dist-custom-elements/p-bed64271.js +265 -0
- package/lib/dist-custom-elements/{p-cab9eb97.js → p-c2cb9c20.js} +2 -2
- package/lib/dist-custom-elements/{p-9038500b.js → p-c933203e.js} +5 -5
- package/lib/dist-custom-elements/{p-7c5907e5.js → p-cae5ee62.js} +75 -16
- package/lib/dist-custom-elements/{p-97f674f0.js → p-d2ba9048.js} +2 -2
- package/lib/dist-custom-elements/{p-26fb2022.js → p-d7d50d4f.js} +1 -1
- package/lib/dist-custom-elements/{p-9b3047d2.js → p-dda23bd9.js} +1 -1
- package/lib/dist-custom-elements/{p-e7845c13.js → p-e4516cf4.js} +1 -1
- package/lib/dist-custom-elements/{p-b7a2cf37.js → p-f3ac9547.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-be3f2b2d.entry.js → p-00fd4357.entry.js} +1 -1
- package/lib/duet/{p-68a49822.system.entry.js → p-03c19b62.system.entry.js} +1 -1
- package/lib/duet/{p-2efa4bb4.system.entry.js → p-074fa88a.system.entry.js} +1 -1
- package/lib/duet/{p-8933bd6c.system.entry.js → p-076d8525.system.entry.js} +1 -1
- package/lib/duet/{p-fe1f5f17.entry.js → p-0eceb1fe.entry.js} +1 -1
- package/lib/duet/p-10bb0906.entry.js +4 -0
- package/lib/duet/{p-59a58ae9.system.entry.js → p-111f753f.system.entry.js} +1 -1
- package/lib/duet/{p-158837f1.system.entry.js → p-13d603f4.system.entry.js} +1 -1
- package/lib/duet/{p-3147ad7d.system.entry.js → p-15529d9c.system.entry.js} +1 -1
- package/lib/duet/{p-ca0a286e.entry.js → p-172bc679.entry.js} +1 -1
- package/lib/duet/{p-d0bc8d40.system.entry.js → p-172ff1de.system.entry.js} +1 -1
- package/lib/duet/{p-7629e252.entry.js → p-186a18d8.entry.js} +1 -1
- package/lib/duet/{p-a454c2b7.entry.js → p-1aa70bf3.entry.js} +1 -1
- package/lib/duet/{p-b2d2ab88.system.entry.js → p-1bb2ca48.system.entry.js} +1 -1
- package/lib/duet/{p-08219217.js → p-1da6954c.js} +1 -1
- package/lib/duet/{p-1b6b316a.system.entry.js → p-2089a333.system.entry.js} +1 -1
- package/lib/duet/p-28280afb.system.js +4 -0
- package/lib/duet/{p-c5a51107.system.entry.js → p-29749e15.system.entry.js} +1 -1
- package/lib/duet/{p-313b153a.system.entry.js → p-2be1feb2.system.entry.js} +1 -1
- package/lib/duet/{p-6003ca10.entry.js → p-2c6c9c16.entry.js} +1 -1
- package/lib/duet/{p-3ba892fc.system.entry.js → p-2db45e2b.system.entry.js} +1 -1
- package/lib/duet/{p-ecbe9c68.system.entry.js → p-3295c503.system.entry.js} +1 -1
- package/lib/duet/{p-8cd0074b.entry.js → p-337d152b.entry.js} +1 -1
- package/lib/duet/{p-10596532.entry.js → p-351daa15.entry.js} +1 -1
- package/lib/duet/{p-7b2c1d94.system.entry.js → p-35206dee.system.entry.js} +1 -1
- package/lib/duet/{p-783b5f4b.system.entry.js → p-357f64e4.system.entry.js} +1 -1
- package/lib/duet/{p-1df84690.entry.js → p-3669cb32.entry.js} +1 -1
- package/lib/duet/{p-6f22bbbe.entry.js → p-385d60a2.entry.js} +1 -1
- package/lib/duet/{p-54c11f40.system.entry.js → p-3a31f9c0.system.entry.js} +1 -1
- package/lib/duet/{p-4680e39d.system.entry.js → p-3b941474.system.entry.js} +1 -1
- package/lib/duet/{p-cc28ff9e.entry.js → p-3cc241bf.entry.js} +1 -1
- package/lib/duet/{p-a9b3ad66.system.entry.js → p-3d53ec4a.system.entry.js} +2 -2
- package/lib/duet/{p-dd167a8a.entry.js → p-41bc24a5.entry.js} +1 -1
- package/lib/duet/{p-a7dec361.entry.js → p-433565c9.entry.js} +1 -1
- package/lib/duet/{p-8cf5421a.system.entry.js → p-4544887e.system.entry.js} +1 -1
- package/lib/duet/{p-613e6a9a.entry.js → p-45970c94.entry.js} +1 -1
- package/lib/duet/{p-8654ea51.entry.js → p-4649ec1d.entry.js} +1 -1
- package/lib/duet/{p-9d12c99f.system.entry.js → p-491611e0.system.entry.js} +1 -1
- package/lib/duet/p-50827bbe.system.entry.js +4 -0
- package/lib/duet/{p-a63f753e.system.js → p-51721695.system.js} +1 -1
- package/lib/duet/{p-a633d2ad.system.entry.js → p-54a98fee.system.entry.js} +1 -1
- package/lib/duet/{p-add7f641.system.entry.js → p-55ec59ba.system.entry.js} +1 -1
- package/lib/duet/{p-03c351bf.js → p-5687713d.js} +1 -1
- package/lib/duet/{p-08a74979.system.entry.js → p-576b1a97.system.entry.js} +1 -1
- package/lib/duet/{p-8cb76b58.entry.js → p-57d581a0.entry.js} +1 -1
- package/lib/duet/{p-bdec8e3b.system.entry.js → p-584a9687.system.entry.js} +1 -1
- package/lib/duet/{p-22e118f2.entry.js → p-5a72573d.entry.js} +1 -1
- package/lib/duet/p-5cc1dae6.entry.js +4 -0
- package/lib/duet/{p-bc6be1c8.system.entry.js → p-5d6e4a9e.system.entry.js} +1 -1
- package/lib/duet/{p-cf62ea4b.system.entry.js → p-5ec2343b.system.entry.js} +1 -1
- package/lib/duet/{p-37d39983.entry.js → p-5f4090c2.entry.js} +1 -1
- package/lib/duet/{p-04a3dfa0.entry.js → p-6181ec36.entry.js} +1 -1
- package/lib/duet/{p-28257788.system.entry.js → p-63c45943.system.entry.js} +1 -1
- package/lib/duet/{p-0127ce48.entry.js → p-67718cc3.entry.js} +1 -1
- package/lib/duet/{p-4989c194.system.entry.js → p-6869a12b.system.entry.js} +1 -1
- package/lib/duet/p-6b6fd2dd.system.entry.js +4 -0
- package/lib/duet/{p-5021b17f.system.entry.js → p-6c473cbf.system.entry.js} +1 -1
- package/lib/duet/{p-7c982e4b.system.entry.js → p-6cc4b6bd.system.entry.js} +1 -1
- package/lib/duet/{p-cf2207c3.entry.js → p-7034d814.entry.js} +1 -1
- package/lib/duet/{p-20c58c8b.system.entry.js → p-70b6d01c.system.entry.js} +1 -1
- package/lib/duet/{p-81d37c17.system.entry.js → p-7309e6ea.system.entry.js} +1 -1
- package/lib/duet/{p-db5b5696.entry.js → p-732b050a.entry.js} +1 -1
- package/lib/duet/{p-9903eb4f.system.entry.js → p-7ce5f24c.system.entry.js} +1 -1
- package/lib/duet/{p-a947aafd.system.entry.js → p-7d6d0a89.system.entry.js} +2 -2
- package/lib/duet/{p-aa4d9b23.entry.js → p-805c34c6.entry.js} +1 -1
- package/lib/duet/{p-ffa9c9da.system.entry.js → p-83b45db7.system.entry.js} +1 -1
- package/lib/duet/{p-5519f08b.entry.js → p-8422b441.entry.js} +1 -1
- package/lib/duet/{p-1e27b8b3.system.entry.js → p-867d4e87.system.entry.js} +1 -1
- package/lib/duet/{p-a96a177f.entry.js → p-87ffe2f3.entry.js} +1 -1
- package/lib/duet/{p-8bf6bbdf.system.entry.js → p-8d019ca0.system.entry.js} +1 -1
- package/lib/duet/{p-cedd3eb4.entry.js → p-8d8d820a.entry.js} +1 -1
- package/lib/duet/{p-23300bbc.entry.js → p-8ebf07a2.entry.js} +1 -1
- package/lib/duet/{p-06657f21.system.entry.js → p-8ed60a7f.system.entry.js} +1 -1
- package/lib/duet/{p-67e31104.system.entry.js → p-8f6a5e2c.system.entry.js} +1 -1
- package/lib/duet/{p-590f0cd4.entry.js → p-8f72abcb.entry.js} +1 -1
- package/lib/duet/{p-1e0269a9.entry.js → p-8fcb7700.entry.js} +1 -1
- package/lib/duet/{p-4817aff7.entry.js → p-90c2dd61.entry.js} +1 -1
- package/lib/duet/{p-c791e6a4.entry.js → p-90e005cc.entry.js} +1 -1
- package/lib/duet/p-90f46d58.entry.js +4 -0
- package/lib/duet/{p-1b6c34b9.entry.js → p-9335c92f.entry.js} +1 -1
- package/lib/duet/{p-dce7becd.system.entry.js → p-945de64d.system.entry.js} +1 -1
- package/lib/duet/{p-601cc7ed.system.js → p-94fca55e.system.js} +1 -1
- package/lib/duet/{p-6be4b41a.system.entry.js → p-964c9e93.system.entry.js} +1 -1
- package/lib/duet/{p-e00149ea.system.entry.js → p-97e2494e.system.entry.js} +1 -1
- package/lib/duet/{p-94618159.entry.js → p-98542cf6.entry.js} +1 -1
- package/lib/duet/{p-742ad989.system.entry.js → p-9864f91b.system.entry.js} +1 -1
- package/lib/duet/{p-e456ee37.entry.js → p-990418d6.entry.js} +1 -1
- package/lib/duet/{p-1b594ed7.entry.js → p-a198ec6f.entry.js} +1 -1
- package/lib/duet/{p-6c8a4d6d.entry.js → p-a8f0d3a9.entry.js} +1 -1
- package/lib/duet/{p-ae9bbd6d.entry.js → p-a92b5519.entry.js} +1 -1
- package/lib/duet/{p-426eb658.system.entry.js → p-ae69645e.system.entry.js} +1 -1
- package/lib/duet/{p-8af2618e.system.entry.js → p-aeacd894.system.entry.js} +1 -1
- package/lib/duet/{p-682c835a.entry.js → p-b277f3c9.entry.js} +1 -1
- package/lib/duet/{p-f02dcba6.entry.js → p-b3a0b737.entry.js} +1 -1
- package/lib/duet/{p-c2b81607.entry.js → p-b9e81db8.entry.js} +1 -1
- package/lib/duet/{p-9e792bdc.entry.js → p-ba29d84e.entry.js} +1 -1
- package/lib/duet/{p-1d83148d.entry.js → p-bcb088de.entry.js} +1 -1
- package/lib/duet/{p-b6c553e1.system.entry.js → p-bcd2526b.system.entry.js} +1 -1
- package/lib/duet/{p-9569e6a7.entry.js → p-c485773b.entry.js} +1 -1
- package/lib/duet/{p-62523c5e.system.entry.js → p-c53f21c9.system.entry.js} +1 -1
- package/lib/duet/{p-8a99c10b.entry.js → p-c5b583e5.entry.js} +1 -1
- package/lib/duet/{p-0c15b8bb.entry.js → p-c5d9ca19.entry.js} +1 -1
- package/lib/duet/p-c606f454.entry.js +4 -0
- package/lib/duet/p-c9e2607d.entry.js +4 -0
- package/lib/duet/{p-613320e2.system.entry.js → p-cd5055a1.system.entry.js} +1 -1
- package/lib/duet/{p-5adfe2ac.system.entry.js → p-ce8d53d6.system.entry.js} +1 -1
- package/lib/duet/{p-0a7c904c.entry.js → p-d032551e.entry.js} +1 -1
- package/lib/duet/{p-04263611.system.entry.js → p-d567cab7.system.entry.js} +1 -1
- package/lib/duet/{p-ce7ffc0e.entry.js → p-d6f2d26c.entry.js} +1 -1
- package/lib/duet/{p-1df9e04d.entry.js → p-da79ce12.entry.js} +1 -1
- package/lib/duet/{p-1bbf4ae6.entry.js → p-da8b3bee.entry.js} +1 -1
- package/lib/duet/{p-6663ee53.entry.js → p-dc282755.entry.js} +1 -1
- package/lib/duet/{p-c466d748.entry.js → p-dd383dac.entry.js} +1 -1
- package/lib/duet/{p-38524ca2.system.entry.js → p-de97a5a0.system.entry.js} +1 -1
- package/lib/duet/p-e06581ab.system.entry.js +4 -0
- package/lib/duet/{p-2c1c686d.entry.js → p-e27c8c99.entry.js} +1 -1
- package/lib/duet/{p-1b80ae9f.entry.js → p-e57b9976.entry.js} +1 -1
- package/lib/duet/{p-eb9681e7.system.entry.js → p-e5b23434.system.entry.js} +1 -1
- package/lib/duet/p-e800bb84.entry.js +4 -0
- package/lib/duet/{p-071f0c01.system.entry.js → p-e91b40e2.system.entry.js} +1 -1
- package/lib/duet/{p-d40c59fd.system.js → p-eaae6b36.system.js} +1 -1
- package/lib/duet/{p-45ed2dcd.system.entry.js → p-eacc99e2.system.entry.js} +1 -1
- package/lib/duet/{p-0f31e470.system.entry.js → p-ec8178ca.system.entry.js} +1 -1
- package/lib/duet/{p-daa2fb6c.system.entry.js → p-ed67528b.system.entry.js} +1 -1
- package/lib/duet/{p-7261288d.system.entry.js → p-edbf0850.system.entry.js} +1 -1
- package/lib/duet/{p-54f35a79.js → p-f077c646.js} +1 -1
- package/lib/duet/{p-a69712cf.entry.js → p-f3a000ac.entry.js} +1 -1
- package/lib/duet/{p-ee21e6b2.entry.js → p-f51f0dae.entry.js} +1 -1
- package/lib/duet/{p-b9e25d51.entry.js → p-f5bf2165.entry.js} +1 -1
- package/lib/duet/{p-91636321.system.entry.js → p-f692b21a.system.entry.js} +1 -1
- package/lib/duet/p-f7a9305b.system.entry.js +4 -0
- package/lib/duet/{p-b0e5927f.system.entry.js → p-f82d3ee5.system.entry.js} +1 -1
- package/lib/duet/{p-7712404e.entry.js → p-ff76aad3.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- 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 +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- 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 +53 -8
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -2
- 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 +3 -3
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- 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 +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +4 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +3 -3
- package/lib/esm/duet-slideout.entry.js +17 -7
- package/lib/esm/duet-step_2.entry.js +2 -2
- 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 +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 +2 -2
- package/lib/esm/{focus-utils-5c59278b.js → focus-utils-1131b2e1.js} +1 -1
- package/lib/esm/{index-1279f177.js → index-0d301ddd.js} +1 -1
- package/lib/esm/{keyboard-utils-88ea1007.js → keyboard-utils-d237bd5a.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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +2 -2
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-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 +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +2 -2
- 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-5c59278b.js → focus-utils-1131b2e1.js} +1 -1
- package/lib/esm-es5/{index-1279f177.js → index-0d301ddd.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-88ea1007.js → keyboard-utils-d237bd5a.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-input/duet-input.d.ts +22 -4
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +0 -4
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +5 -1
- package/lib/types/components.d.ts +16 -16
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-0e46bc2c.js +0 -265
- package/lib/duet/p-04d51c20.entry.js +0 -4
- package/lib/duet/p-1863f126.system.entry.js +0 -4
- package/lib/duet/p-56f86438.system.js +0 -4
- package/lib/duet/p-5db551e7.entry.js +0 -4
- package/lib/duet/p-61a73f4c.system.entry.js +0 -4
- package/lib/duet/p-81852379.entry.js +0 -4
- package/lib/duet/p-8c6d4c6b.system.entry.js +0 -4
- package/lib/duet/p-9864dd9e.entry.js +0 -4
- package/lib/duet/p-cdd084c6.system.entry.js +0 -4
- package/lib/duet/p-ecce887f.entry.js +0 -4
- package/lib/duet/p-fdd7fa66.entry.js +0 -4
|
@@ -388,4 +388,70 @@ duet-caption:not(:last-of-type) {
|
|
|
388
388
|
border-right-width: 0 !important;
|
|
389
389
|
border-top-right-radius: 0 !important;
|
|
390
390
|
border-bottom-right-radius: 0 !important;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.duet-input-variation-revealable {
|
|
394
|
+
position: relative;
|
|
395
|
+
width: 100%;
|
|
396
|
+
}
|
|
397
|
+
.duet-input-variation-revealable ::-ms-reveal {
|
|
398
|
+
display: none;
|
|
399
|
+
}
|
|
400
|
+
.duet-input-variation-revealable .duet-input-relative {
|
|
401
|
+
display: flex;
|
|
402
|
+
flex-direction: row;
|
|
403
|
+
flex-wrap: nowrap;
|
|
404
|
+
align-content: center;
|
|
405
|
+
align-items: center;
|
|
406
|
+
justify-content: flex-start;
|
|
407
|
+
width: auto;
|
|
408
|
+
border: 1px solid #909599;
|
|
409
|
+
border-radius: 4px;
|
|
410
|
+
box-shadow: initial;
|
|
411
|
+
transition: box-shadow 150ms ease, border 150ms ease;
|
|
412
|
+
}
|
|
413
|
+
.duet-theme-turva .duet-input-variation-revealable .duet-input-relative {
|
|
414
|
+
border-color: #747475;
|
|
415
|
+
}
|
|
416
|
+
.duet-input-variation-revealable .duet-input-relative duet-button {
|
|
417
|
+
z-index: 250;
|
|
418
|
+
margin-bottom: 0;
|
|
419
|
+
}
|
|
420
|
+
.duet-input-variation-revealable .duet-input-relative .duet-input {
|
|
421
|
+
border-width: 0 !important;
|
|
422
|
+
}
|
|
423
|
+
.duet-input-variation-revealable .duet-input-relative .duet-input:focus, .duet-input-variation-revealable .duet-input-relative .duet-input:hover {
|
|
424
|
+
border-width: 0 !important;
|
|
425
|
+
box-shadow: none !important;
|
|
426
|
+
}
|
|
427
|
+
.duet-input-variation-revealable.disabled .duet-input-relative {
|
|
428
|
+
background: #f5f8fa;
|
|
429
|
+
border-color: #e1e3e6;
|
|
430
|
+
box-shadow: none;
|
|
431
|
+
}
|
|
432
|
+
.duet-input-variation-revealable.has-error .duet-input-relative {
|
|
433
|
+
border-color: #de2362;
|
|
434
|
+
}
|
|
435
|
+
.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative {
|
|
436
|
+
border-color: #e02a0d;
|
|
437
|
+
}
|
|
438
|
+
.duet-input-variation-revealable.has-focus .duet-input-relative {
|
|
439
|
+
border-color: #0077b3;
|
|
440
|
+
box-shadow: 0 0 0 1px #0077b3;
|
|
441
|
+
}
|
|
442
|
+
.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative {
|
|
443
|
+
border-color: #171c3a;
|
|
444
|
+
box-shadow: 0 0 0 1px #171c3a;
|
|
445
|
+
}
|
|
446
|
+
.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative {
|
|
447
|
+
box-shadow: 0 0 0 1px #909599;
|
|
448
|
+
}
|
|
449
|
+
.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative {
|
|
450
|
+
box-shadow: 0 0 0 1px #747475;
|
|
451
|
+
}
|
|
452
|
+
.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative {
|
|
453
|
+
box-shadow: 0 0 0 1px #de2362;
|
|
454
|
+
}
|
|
455
|
+
.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative {
|
|
456
|
+
box-shadow: 0 0 0 1px #e02a0d;
|
|
391
457
|
}
|
|
@@ -7,7 +7,7 @@ import { h, Host } from "@stencil/core";
|
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { cleanValue, resetCursor } from "../../utils/input-utils";
|
|
10
|
-
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
10
|
+
import { isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
11
|
import { getLocaleString } from "../../utils/language-utils";
|
|
12
12
|
const icons = {
|
|
13
13
|
search: searchIcon,
|
|
@@ -35,6 +35,26 @@ export class DuetInput {
|
|
|
35
35
|
fi: "Aika",
|
|
36
36
|
sv: "Tid",
|
|
37
37
|
});
|
|
38
|
+
this.showPasswordLabel = getLocaleString({
|
|
39
|
+
en: "Show password",
|
|
40
|
+
fi: "Näytä salasana",
|
|
41
|
+
sv: "Visa lösenord",
|
|
42
|
+
});
|
|
43
|
+
this.hidePasswordLabel = getLocaleString({
|
|
44
|
+
en: "Hide password",
|
|
45
|
+
fi: "Piilota salasana",
|
|
46
|
+
sv: "Dölj lösenord",
|
|
47
|
+
});
|
|
48
|
+
this.passwordShownAriaAnnouncement = getLocaleString({
|
|
49
|
+
en: "Password is shown",
|
|
50
|
+
fi: "Salasana näytetään",
|
|
51
|
+
sv: "Lösenordet visas",
|
|
52
|
+
});
|
|
53
|
+
this.passwordHiddenAriaAnnouncement = getLocaleString({
|
|
54
|
+
en: "Password is hidden",
|
|
55
|
+
fi: "Salasana on piilotettu",
|
|
56
|
+
sv: "Lösenordet är dolt",
|
|
57
|
+
});
|
|
38
58
|
/**
|
|
39
59
|
* Component event handling.
|
|
40
60
|
*/
|
|
@@ -50,6 +70,7 @@ export class DuetInput {
|
|
|
50
70
|
});
|
|
51
71
|
};
|
|
52
72
|
this.onBlur = (ev) => {
|
|
73
|
+
this.isFocused = false;
|
|
53
74
|
this.duetBlur.emit({
|
|
54
75
|
originalEvent: ev,
|
|
55
76
|
value: this.value,
|
|
@@ -57,6 +78,7 @@ export class DuetInput {
|
|
|
57
78
|
});
|
|
58
79
|
};
|
|
59
80
|
this.onFocus = (ev) => {
|
|
81
|
+
this.isFocused = true;
|
|
60
82
|
this.duetFocus.emit({
|
|
61
83
|
originalEvent: ev,
|
|
62
84
|
value: this.value,
|
|
@@ -70,8 +92,8 @@ export class DuetInput {
|
|
|
70
92
|
component: "duet-input",
|
|
71
93
|
});
|
|
72
94
|
};
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
95
|
+
/**
|
|
96
|
+
* Private functions
|
|
75
97
|
*/
|
|
76
98
|
this.getDescribedBy = () => {
|
|
77
99
|
let describedBy = "";
|
|
@@ -98,8 +120,22 @@ export class DuetInput {
|
|
|
98
120
|
if (isEscapeKey(event) && this.clear) {
|
|
99
121
|
this.handleClearClick(event);
|
|
100
122
|
}
|
|
123
|
+
if (isEnterKey(event) && this.variation === "revealable") {
|
|
124
|
+
this.isPasswordRevealed = false;
|
|
125
|
+
}
|
|
101
126
|
return event;
|
|
102
127
|
};
|
|
128
|
+
this.togglePasswordRevealed = () => {
|
|
129
|
+
this.isPasswordRevealed = !this.isPasswordRevealed;
|
|
130
|
+
};
|
|
131
|
+
this.getInputType = () => {
|
|
132
|
+
if (this.variation === "revealable") {
|
|
133
|
+
return this.isPasswordRevealed ? "text" : "password";
|
|
134
|
+
}
|
|
135
|
+
return this.type;
|
|
136
|
+
};
|
|
137
|
+
this.isPasswordRevealed = false;
|
|
138
|
+
this.isFocused = false;
|
|
103
139
|
this.accessibleActiveDescendant = undefined;
|
|
104
140
|
this.accessibleAutocomplete = undefined;
|
|
105
141
|
this.accessibleControls = undefined;
|
|
@@ -173,6 +209,13 @@ export class DuetInput {
|
|
|
173
209
|
this.disallowedPatternChange();
|
|
174
210
|
this.isCaptionVisible = !!this.caption;
|
|
175
211
|
}
|
|
212
|
+
componentDidLoad() {
|
|
213
|
+
if (this.variation === "revealable" && this.nativeInput.form) {
|
|
214
|
+
this.nativeInput.form.addEventListener("submit", () => {
|
|
215
|
+
this.isPasswordRevealed = false;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}
|
|
176
219
|
/**
|
|
177
220
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
178
221
|
* `input.focus()`.
|
|
@@ -248,19 +291,21 @@ export class DuetInput {
|
|
|
248
291
|
(this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time")),
|
|
249
292
|
"has-error": !!this.error,
|
|
250
293
|
"has-clear": this.clear,
|
|
251
|
-
|
|
294
|
+
"has-focus": this.isFocused,
|
|
295
|
+
disabled: this.disabled,
|
|
296
|
+
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-label-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
252
297
|
"duet-input": true,
|
|
253
298
|
disabled: this.disabled,
|
|
254
299
|
"is-number": this.component === "number",
|
|
255
300
|
"is-date": this.component === "date",
|
|
256
301
|
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy
|
|
257
302
|
? `${this.errorId} ${this.labelId} ${this.accessibleLabelledBy}`
|
|
258
|
-
: `${this.errorId} ${this.labelId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-errormessage": this.error ? this.errorId : null, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
303
|
+
: `${this.errorId} ${this.labelId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-errormessage": this.error ? this.errorId : null, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: {
|
|
259
304
|
"duet-input-clear-icon": true,
|
|
260
305
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
261
306
|
"duet-input-clear-icon-double": !!this.icon,
|
|
262
307
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
263
|
-
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
308
|
+
} }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), this.variation === "revealable" && (h("duet-button", { onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed ? this.hidePasswordLabel : this.showPasswordLabel, margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && (h("duet-visually-hidden", null, h("span", { "aria-live": "polite" }, this.isPasswordRevealed ? this.passwordShownAriaAnnouncement : this.passwordHiddenAriaAnnouncement))), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
|
|
264
309
|
}
|
|
265
310
|
static get is() { return "duet-input"; }
|
|
266
311
|
static get encapsulation() { return "scoped"; }
|
|
@@ -666,7 +711,7 @@ export class DuetInput {
|
|
|
666
711
|
"mutable": false,
|
|
667
712
|
"complexType": {
|
|
668
713
|
"original": "DuetVariationType",
|
|
669
|
-
"resolved": "\"button\" | \"default\"",
|
|
714
|
+
"resolved": "\"button\" | \"default\" | \"revealable\"",
|
|
670
715
|
"references": {
|
|
671
716
|
"DuetVariationType": {
|
|
672
717
|
"location": "local"
|
|
@@ -677,7 +722,7 @@ export class DuetInput {
|
|
|
677
722
|
"optional": false,
|
|
678
723
|
"docs": {
|
|
679
724
|
"tags": [],
|
|
680
|
-
"text": "Variation of button."
|
|
725
|
+
"text": "Variation of button. Use \"button\" to render a button element next to the input. Use \"revealable\" to render a button that reveals the password."
|
|
681
726
|
},
|
|
682
727
|
"attribute": "variation",
|
|
683
728
|
"reflect": false,
|
|
@@ -997,6 +1042,12 @@ export class DuetInput {
|
|
|
997
1042
|
}
|
|
998
1043
|
};
|
|
999
1044
|
}
|
|
1045
|
+
static get states() {
|
|
1046
|
+
return {
|
|
1047
|
+
"isPasswordRevealed": {},
|
|
1048
|
+
"isFocused": {}
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1000
1051
|
static get events() {
|
|
1001
1052
|
return [{
|
|
1002
1053
|
"method": "duetInput",
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -19,7 +19,6 @@ export class DuetMenuBarDropdownLink {
|
|
|
19
19
|
this.theme = "";
|
|
20
20
|
this.href = "#";
|
|
21
21
|
this.icon = undefined;
|
|
22
|
-
this.caret = false;
|
|
23
22
|
}
|
|
24
23
|
/**
|
|
25
24
|
* Component lifecycle events.
|
|
@@ -110,24 +109,6 @@ export class DuetMenuBarDropdownLink {
|
|
|
110
109
|
"attribute": "icon",
|
|
111
110
|
"reflect": true,
|
|
112
111
|
"defaultValue": "undefined"
|
|
113
|
-
},
|
|
114
|
-
"caret": {
|
|
115
|
-
"type": "boolean",
|
|
116
|
-
"mutable": true,
|
|
117
|
-
"complexType": {
|
|
118
|
-
"original": "boolean",
|
|
119
|
-
"resolved": "boolean",
|
|
120
|
-
"references": {}
|
|
121
|
-
},
|
|
122
|
-
"required": false,
|
|
123
|
-
"optional": false,
|
|
124
|
-
"docs": {
|
|
125
|
-
"tags": [],
|
|
126
|
-
"text": "Caret"
|
|
127
|
-
},
|
|
128
|
-
"attribute": "caret",
|
|
129
|
-
"reflect": false,
|
|
130
|
-
"defaultValue": "false"
|
|
131
112
|
}
|
|
132
113
|
};
|
|
133
114
|
}
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
opacity: 0;
|
|
30
30
|
transition: top 0.3s ease-in, opacity 0.3s ease-in;
|
|
31
31
|
}
|
|
32
|
+
@media (min-width: 62em) {
|
|
33
|
+
:host slot:not([name=toggle])::slotted(*) {
|
|
34
|
+
transition: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
32
37
|
|
|
33
38
|
:host([open]) slot:not([name=toggle])::slotted(*) {
|
|
34
39
|
top: 0;
|
|
@@ -40,6 +45,34 @@
|
|
|
40
45
|
align-items: center;
|
|
41
46
|
height: 100%;
|
|
42
47
|
}
|
|
48
|
+
.duet-slideout .desktop-bg {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
@media (min-width: 62em) {
|
|
52
|
+
.duet-slideout .desktop-bg {
|
|
53
|
+
position: fixed;
|
|
54
|
+
top: 0;
|
|
55
|
+
left: 0;
|
|
56
|
+
z-index: 400;
|
|
57
|
+
display: block;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
visibility: hidden;
|
|
61
|
+
background: rgba(0, 41, 77, 0.6);
|
|
62
|
+
opacity: 0;
|
|
63
|
+
transition: 600ms ease;
|
|
64
|
+
}
|
|
65
|
+
.duet-slideout .desktop-bg:not(.hidden) {
|
|
66
|
+
visibility: visible;
|
|
67
|
+
opacity: 1;
|
|
68
|
+
transition: 600ms ease;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@media (min-width: 62em) {
|
|
72
|
+
.duet-slideout.duet-theme-turva .desktop-bg {
|
|
73
|
+
background: rgba(23, 28, 58, 0.6);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
43
76
|
.duet-slideout .dialog {
|
|
44
77
|
position: fixed;
|
|
45
78
|
top: 0;
|
|
@@ -57,15 +90,21 @@
|
|
|
57
90
|
right: 0;
|
|
58
91
|
left: auto;
|
|
59
92
|
width: 500px;
|
|
60
|
-
transition: right
|
|
93
|
+
transition: right 300ms ease;
|
|
94
|
+
transition-delay: 0s;
|
|
61
95
|
}
|
|
62
96
|
}
|
|
63
97
|
.duet-slideout .dialog .top {
|
|
98
|
+
position: relative;
|
|
99
|
+
z-index: 1;
|
|
64
100
|
display: flex;
|
|
65
101
|
align-items: center;
|
|
66
102
|
justify-content: flex-end;
|
|
67
103
|
padding: 4px;
|
|
68
104
|
}
|
|
105
|
+
.duet-slideout .dialog .top button {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
}
|
|
69
108
|
.duet-slideout .dialog .top duet-icon {
|
|
70
109
|
padding: 16px;
|
|
71
110
|
}
|
|
@@ -83,7 +122,7 @@
|
|
|
83
122
|
@media (min-width: 62em) {
|
|
84
123
|
.duet-slideout .dialog.hidden {
|
|
85
124
|
right: -500px;
|
|
86
|
-
|
|
125
|
+
transition: 300ms ease;
|
|
87
126
|
}
|
|
88
127
|
}
|
|
89
128
|
.duet-slideout.duet-theme-turva button {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
7
|
+
import { getColorByName } from "../../utils/token-utils";
|
|
7
8
|
export class DuetSlideout {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.toggleMenu = (e) => {
|
|
@@ -21,7 +22,7 @@ export class DuetSlideout {
|
|
|
21
22
|
}
|
|
22
23
|
else {
|
|
23
24
|
setTimeout(() => {
|
|
24
|
-
this.openButton.
|
|
25
|
+
this.openButton.setFocus();
|
|
25
26
|
}, 200);
|
|
26
27
|
}
|
|
27
28
|
};
|
|
@@ -30,7 +31,7 @@ export class DuetSlideout {
|
|
|
30
31
|
};
|
|
31
32
|
this.theme = "";
|
|
32
33
|
this.open = false;
|
|
33
|
-
this.
|
|
34
|
+
this.background = "";
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Toggles the slideout.
|
|
@@ -71,10 +72,18 @@ export class DuetSlideout {
|
|
|
71
72
|
* Always the last one in the class.
|
|
72
73
|
*/
|
|
73
74
|
render() {
|
|
74
|
-
|
|
75
|
+
const styles = {
|
|
76
|
+
background: getColorByName(this.background, this.theme),
|
|
77
|
+
};
|
|
78
|
+
return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { name: "toggle" }), h("div", { class: {
|
|
79
|
+
"desktop-bg": true,
|
|
80
|
+
hidden: !this.open,
|
|
81
|
+
}, onClick: () => {
|
|
82
|
+
this.open = false;
|
|
83
|
+
} }), h("div", { tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": "true", "aria-flowto": "menubar", class: {
|
|
75
84
|
dialog: true,
|
|
76
85
|
hidden: !this.open,
|
|
77
|
-
} }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", type: "button", class: {
|
|
86
|
+
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", type: "button", class: {
|
|
78
87
|
"slideout-close": true,
|
|
79
88
|
active: this.open,
|
|
80
89
|
}, onClick: this.onClick }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none" }))), h("div", { id: "menubar", role: "menubar", class: {
|
|
@@ -136,14 +145,14 @@ export class DuetSlideout {
|
|
|
136
145
|
"reflect": true,
|
|
137
146
|
"defaultValue": "false"
|
|
138
147
|
},
|
|
139
|
-
"
|
|
148
|
+
"background": {
|
|
140
149
|
"type": "string",
|
|
141
150
|
"mutable": false,
|
|
142
151
|
"complexType": {
|
|
143
|
-
"original": "
|
|
152
|
+
"original": "DuetColor",
|
|
144
153
|
"resolved": "string",
|
|
145
154
|
"references": {
|
|
146
|
-
"
|
|
155
|
+
"DuetColor": {
|
|
147
156
|
"location": "import",
|
|
148
157
|
"path": "../../common-types"
|
|
149
158
|
}
|
|
@@ -153,9 +162,9 @@ export class DuetSlideout {
|
|
|
153
162
|
"optional": false,
|
|
154
163
|
"docs": {
|
|
155
164
|
"tags": [],
|
|
156
|
-
"text": "
|
|
165
|
+
"text": "Custom color to be used for a circular background, as a design token entered\nin camelCase or kebab-case.."
|
|
157
166
|
},
|
|
158
|
-
"attribute": "
|
|
167
|
+
"attribute": "background",
|
|
159
168
|
"reflect": false,
|
|
160
169
|
"defaultValue": "\"\""
|
|
161
170
|
}
|
|
@@ -77,4 +77,16 @@
|
|
|
77
77
|
.duet-slideout-link.large {
|
|
78
78
|
font-size: 1.5rem;
|
|
79
79
|
font-weight: 800;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
slot[name=description]::slotted(*) {
|
|
83
|
+
display: block;
|
|
84
|
+
padding: 8px 0 0;
|
|
85
|
+
font-size: 1rem;
|
|
86
|
+
font-size: 1.25;
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
color: #657787;
|
|
89
|
+
}
|
|
90
|
+
.duet-theme-turva slot[name=description]::slotted(*) {
|
|
91
|
+
color: #444445;
|
|
80
92
|
}
|
|
@@ -10,6 +10,7 @@ export class DuetSlideoutLink {
|
|
|
10
10
|
this.href = "#";
|
|
11
11
|
this.icon = undefined;
|
|
12
12
|
this.size = "inherit";
|
|
13
|
+
this.caret = false;
|
|
13
14
|
this.menuItem = false;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
@@ -28,7 +29,7 @@ export class DuetSlideoutLink {
|
|
|
28
29
|
"duet-theme-turva": this.theme === "turva",
|
|
29
30
|
active: this.active,
|
|
30
31
|
[this.size]: true,
|
|
31
|
-
}, 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)))));
|
|
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" }))));
|
|
32
33
|
}
|
|
33
34
|
static get is() { return "duet-slideout-link"; }
|
|
34
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,12 +134,30 @@ export class DuetSlideoutLink {
|
|
|
133
134
|
"optional": false,
|
|
134
135
|
"docs": {
|
|
135
136
|
"tags": [],
|
|
136
|
-
"text": "Size.
|
|
137
|
+
"text": "Size. Inherit, small, medium or large. Inherit value inherits styles from the value in the underlying slot."
|
|
137
138
|
},
|
|
138
139
|
"attribute": "size",
|
|
139
140
|
"reflect": true,
|
|
140
141
|
"defaultValue": "\"inherit\""
|
|
141
142
|
},
|
|
143
|
+
"caret": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"mutable": true,
|
|
146
|
+
"complexType": {
|
|
147
|
+
"original": "boolean",
|
|
148
|
+
"resolved": "boolean",
|
|
149
|
+
"references": {}
|
|
150
|
+
},
|
|
151
|
+
"required": false,
|
|
152
|
+
"optional": false,
|
|
153
|
+
"docs": {
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": "Caret"
|
|
156
|
+
},
|
|
157
|
+
"attribute": "caret",
|
|
158
|
+
"reflect": false,
|
|
159
|
+
"defaultValue": "false"
|
|
160
|
+
},
|
|
142
161
|
"menuItem": {
|
|
143
162
|
"type": "boolean",
|
|
144
163
|
"mutable": false,
|
|
@@ -64,25 +64,25 @@
|
|
|
64
64
|
justify-content: space-between;
|
|
65
65
|
width: 100%;
|
|
66
66
|
}
|
|
67
|
-
.duet-slideout-panel .link
|
|
68
|
-
position: relative;
|
|
69
|
-
}
|
|
70
|
-
.duet-slideout-panel .link.active .label-text.small {
|
|
67
|
+
.duet-slideout-panel .link .label-text.small {
|
|
71
68
|
font-size: 1rem;
|
|
72
69
|
font-weight: 600;
|
|
73
70
|
}
|
|
74
|
-
.duet-slideout-panel .link
|
|
75
|
-
height: 1px;
|
|
76
|
-
transform: translateY(1px);
|
|
77
|
-
}
|
|
78
|
-
.duet-slideout-panel .link.active .label-text.medium {
|
|
71
|
+
.duet-slideout-panel .link .label-text.medium {
|
|
79
72
|
font-size: 1.25rem;
|
|
80
73
|
font-weight: 600;
|
|
81
74
|
}
|
|
82
|
-
.duet-slideout-panel .link
|
|
75
|
+
.duet-slideout-panel .link .label-text.large {
|
|
83
76
|
font-size: 1.5rem;
|
|
84
77
|
font-weight: 800;
|
|
85
78
|
}
|
|
79
|
+
.duet-slideout-panel .link.active .label-text {
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
.duet-slideout-panel .link.active .label-text.small::after {
|
|
83
|
+
height: 1px;
|
|
84
|
+
transform: translateY(1px);
|
|
85
|
+
}
|
|
86
86
|
.duet-slideout-panel .link.active .label-text::after {
|
|
87
87
|
position: absolute;
|
|
88
88
|
top: auto;
|
|
@@ -162,18 +162,13 @@
|
|
|
162
162
|
background: #f5f5f7;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
slot {
|
|
165
|
+
slot:not([name=label]) {
|
|
166
166
|
--active-height: 1px;
|
|
167
167
|
--active-translate-y: translateY(1px);
|
|
168
168
|
font-size: 1rem;
|
|
169
169
|
font-weight: 600;
|
|
170
170
|
color: #00294d;
|
|
171
171
|
}
|
|
172
|
-
.duet-theme-turva slot {
|
|
172
|
+
.duet-theme-turva slot:not([name=label]) {
|
|
173
173
|
color: #940925;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
slot[name=label] {
|
|
177
|
-
font-size: 1.5rem;
|
|
178
|
-
font-weight: 800;
|
|
179
174
|
}
|
|
@@ -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-a623d58c.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-c933203e.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-68604dde.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-4cf27349.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-246bd550.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-4cf27349.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-246bd550.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-bed64271.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-98ae1730.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-4cf27349.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-246bd550.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-d7d50d4f.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-15968e9a.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|