@duetds/components 6.5.1 → 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 +74 -19
- 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 +2 -2
- 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-51b5276c.js → focus-utils-e463fcd1.js} +1 -1
- package/lib/cjs/{index-64cbfac2.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/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 +2 -2
- 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-59d01811.js → p-15968e9a.js} +1 -1
- package/lib/dist-custom-elements/{p-dd54924c.js → p-246bd550.js} +1 -1
- package/lib/dist-custom-elements/{p-c5a072f2.js → p-25b67c58.js} +2 -2
- package/lib/dist-custom-elements/{p-ef91ff76.js → p-2646bc44.js} +7 -7
- package/lib/dist-custom-elements/{p-8ef57d6b.js → p-43343a18.js} +2 -2
- package/lib/dist-custom-elements/{p-fe6b0ed3.js → p-4a9c90b4.js} +1 -1
- package/lib/dist-custom-elements/{p-0df84707.js → p-4cf27349.js} +1 -1
- package/lib/dist-custom-elements/{p-a7fc05d9.js → p-68604dde.js} +1 -1
- package/lib/dist-custom-elements/{p-f0803854.js → p-8cc35bc1.js} +1 -1
- package/lib/dist-custom-elements/{p-688a047d.js → p-9112f395.js} +3 -3
- package/lib/dist-custom-elements/{p-6775ca86.js → p-95e95871.js} +6 -6
- package/lib/dist-custom-elements/{p-2cae1940.js → p-98ae1730.js} +1 -1
- package/lib/dist-custom-elements/{p-cb5e8149.js → p-99260df6.js} +1 -1
- package/lib/dist-custom-elements/{p-8ece8544.js → p-9e3ea8a4.js} +1 -1
- package/lib/dist-custom-elements/{p-19125b3a.js → p-a3dc0179.js} +1 -1
- package/lib/dist-custom-elements/{p-012ce9cd.js → p-a515e4af.js} +1 -1
- package/lib/dist-custom-elements/{p-aa118c82.js → p-a623d58c.js} +3 -3
- package/lib/dist-custom-elements/{p-f04e8a3b.js → p-ab0944f2.js} +2 -2
- package/lib/dist-custom-elements/{p-21cfd55b.js → p-b0973ee5.js} +1 -1
- package/lib/dist-custom-elements/{p-1287c9f0.js → p-b49b6dfe.js} +3 -3
- package/lib/dist-custom-elements/{p-e36e0709.js → p-b80f18af.js} +1 -1
- package/lib/dist-custom-elements/{p-9c0459ca.js → p-b93d2f59.js} +1 -1
- package/lib/dist-custom-elements/p-bed64271.js +265 -0
- package/lib/dist-custom-elements/{p-84e4317d.js → p-c2cb9c20.js} +2 -2
- package/lib/dist-custom-elements/{p-788c36f2.js → p-c933203e.js} +5 -5
- package/lib/dist-custom-elements/{p-667f368c.js → p-cae5ee62.js} +75 -16
- package/lib/dist-custom-elements/{p-1cfd49ee.js → p-d2ba9048.js} +2 -2
- package/lib/dist-custom-elements/{p-0d44f43d.js → p-d7d50d4f.js} +1 -1
- package/lib/dist-custom-elements/{p-ea4a0707.js → p-dda23bd9.js} +1 -1
- package/lib/dist-custom-elements/{p-a7331687.js → p-e4516cf4.js} +1 -1
- package/lib/dist-custom-elements/{p-14c4ae63.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-6afd7b03.entry.js → p-00fd4357.entry.js} +1 -1
- package/lib/duet/{p-525687a7.system.entry.js → p-03c19b62.system.entry.js} +1 -1
- package/lib/duet/{p-555192b0.system.entry.js → p-074fa88a.system.entry.js} +1 -1
- package/lib/duet/{p-99e33456.system.entry.js → p-076d8525.system.entry.js} +1 -1
- package/lib/duet/{p-e68499ea.entry.js → p-0eceb1fe.entry.js} +1 -1
- package/lib/duet/p-10bb0906.entry.js +4 -0
- package/lib/duet/{p-c1f14850.system.entry.js → p-111f753f.system.entry.js} +1 -1
- package/lib/duet/{p-d15c8354.system.entry.js → p-13d603f4.system.entry.js} +1 -1
- package/lib/duet/{p-593f2330.system.entry.js → p-15529d9c.system.entry.js} +1 -1
- package/lib/duet/{p-7d54d6e1.entry.js → p-172bc679.entry.js} +1 -1
- package/lib/duet/{p-77e3c513.system.entry.js → p-172ff1de.system.entry.js} +1 -1
- package/lib/duet/{p-ac1eaf2d.entry.js → p-186a18d8.entry.js} +1 -1
- package/lib/duet/{p-a3047a26.entry.js → p-1aa70bf3.entry.js} +1 -1
- package/lib/duet/{p-fd2c782d.system.entry.js → p-1bb2ca48.system.entry.js} +1 -1
- package/lib/duet/{p-ab11408b.js → p-1da6954c.js} +1 -1
- package/lib/duet/{p-91893eb4.system.entry.js → p-2089a333.system.entry.js} +1 -1
- package/lib/duet/p-28280afb.system.js +4 -0
- package/lib/duet/{p-59d13b8d.system.entry.js → p-29749e15.system.entry.js} +1 -1
- package/lib/duet/{p-4c12d8ba.system.entry.js → p-2be1feb2.system.entry.js} +1 -1
- package/lib/duet/{p-80c05a0f.entry.js → p-2c6c9c16.entry.js} +1 -1
- package/lib/duet/{p-3937796f.system.entry.js → p-2db45e2b.system.entry.js} +1 -1
- package/lib/duet/{p-672dcefc.system.entry.js → p-3295c503.system.entry.js} +1 -1
- package/lib/duet/{p-64d1cc95.entry.js → p-337d152b.entry.js} +1 -1
- package/lib/duet/{p-d6b7e4e9.entry.js → p-351daa15.entry.js} +1 -1
- package/lib/duet/{p-e4eb67fa.system.entry.js → p-35206dee.system.entry.js} +1 -1
- package/lib/duet/{p-341a9eb0.system.entry.js → p-357f64e4.system.entry.js} +1 -1
- package/lib/duet/{p-2afce187.entry.js → p-3669cb32.entry.js} +1 -1
- package/lib/duet/{p-44d2a1b5.entry.js → p-385d60a2.entry.js} +1 -1
- package/lib/duet/{p-4ce3c6a6.system.entry.js → p-3a31f9c0.system.entry.js} +1 -1
- package/lib/duet/{p-f6a3085c.system.entry.js → p-3b941474.system.entry.js} +1 -1
- package/lib/duet/{p-4e37aedf.entry.js → p-3cc241bf.entry.js} +1 -1
- package/lib/duet/{p-6921cfa6.system.entry.js → p-3d53ec4a.system.entry.js} +2 -2
- package/lib/duet/{p-ab4e81ca.entry.js → p-41bc24a5.entry.js} +1 -1
- package/lib/duet/{p-f9be45b3.entry.js → p-433565c9.entry.js} +1 -1
- package/lib/duet/{p-85658cea.system.entry.js → p-4544887e.system.entry.js} +1 -1
- package/lib/duet/{p-8f69d87b.entry.js → p-45970c94.entry.js} +1 -1
- package/lib/duet/{p-e781e62c.entry.js → p-4649ec1d.entry.js} +1 -1
- package/lib/duet/{p-2fdbd2c6.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-16911df0.system.entry.js → p-54a98fee.system.entry.js} +1 -1
- package/lib/duet/{p-b94a478a.system.entry.js → p-55ec59ba.system.entry.js} +1 -1
- package/lib/duet/{p-4ab49eb4.js → p-5687713d.js} +1 -1
- package/lib/duet/{p-8e05ca49.system.entry.js → p-576b1a97.system.entry.js} +1 -1
- package/lib/duet/{p-890aabd1.entry.js → p-57d581a0.entry.js} +1 -1
- package/lib/duet/{p-01b63777.system.entry.js → p-584a9687.system.entry.js} +1 -1
- package/lib/duet/{p-1ab5cbbc.entry.js → p-5a72573d.entry.js} +1 -1
- package/lib/duet/p-5cc1dae6.entry.js +4 -0
- package/lib/duet/{p-e53e892f.system.entry.js → p-5d6e4a9e.system.entry.js} +1 -1
- package/lib/duet/{p-97816dce.system.entry.js → p-5ec2343b.system.entry.js} +1 -1
- package/lib/duet/{p-e3165e41.entry.js → p-5f4090c2.entry.js} +1 -1
- package/lib/duet/{p-9884486c.entry.js → p-6181ec36.entry.js} +1 -1
- package/lib/duet/{p-1d2a9cf6.system.entry.js → p-63c45943.system.entry.js} +1 -1
- package/lib/duet/{p-6cf7ebc2.entry.js → p-67718cc3.entry.js} +1 -1
- package/lib/duet/{p-d30d6c41.system.entry.js → p-6869a12b.system.entry.js} +1 -1
- package/lib/duet/p-6b6fd2dd.system.entry.js +4 -0
- package/lib/duet/{p-75c38aee.system.entry.js → p-6c473cbf.system.entry.js} +1 -1
- package/lib/duet/{p-5983d1b7.system.entry.js → p-6cc4b6bd.system.entry.js} +1 -1
- package/lib/duet/{p-b519684f.entry.js → p-7034d814.entry.js} +1 -1
- package/lib/duet/{p-1f745490.system.entry.js → p-70b6d01c.system.entry.js} +1 -1
- package/lib/duet/{p-b8decc75.system.entry.js → p-7309e6ea.system.entry.js} +1 -1
- package/lib/duet/{p-a9f36246.entry.js → p-732b050a.entry.js} +1 -1
- package/lib/duet/{p-3d4aa492.system.entry.js → p-7ce5f24c.system.entry.js} +1 -1
- package/lib/duet/{p-fb74bd6a.system.entry.js → p-7d6d0a89.system.entry.js} +1 -1
- package/lib/duet/{p-2e49d057.entry.js → p-805c34c6.entry.js} +1 -1
- package/lib/duet/{p-6e75fbd6.system.entry.js → p-83b45db7.system.entry.js} +1 -1
- package/lib/duet/{p-f54e0616.entry.js → p-8422b441.entry.js} +1 -1
- package/lib/duet/{p-781aa86e.system.entry.js → p-867d4e87.system.entry.js} +1 -1
- package/lib/duet/{p-6d7d186f.entry.js → p-87ffe2f3.entry.js} +1 -1
- package/lib/duet/{p-437083ed.system.entry.js → p-8d019ca0.system.entry.js} +1 -1
- package/lib/duet/{p-1c82d61e.entry.js → p-8d8d820a.entry.js} +1 -1
- package/lib/duet/{p-3f2d8fe4.entry.js → p-8ebf07a2.entry.js} +1 -1
- package/lib/duet/{p-933256d2.system.entry.js → p-8ed60a7f.system.entry.js} +1 -1
- package/lib/duet/{p-ba93a403.system.entry.js → p-8f6a5e2c.system.entry.js} +1 -1
- package/lib/duet/{p-5ce46c84.entry.js → p-8f72abcb.entry.js} +1 -1
- package/lib/duet/{p-1d08b9ed.entry.js → p-8fcb7700.entry.js} +1 -1
- package/lib/duet/{p-2cea3fdb.entry.js → p-90c2dd61.entry.js} +1 -1
- package/lib/duet/{p-da31f5fc.entry.js → p-90e005cc.entry.js} +1 -1
- package/lib/duet/p-90f46d58.entry.js +4 -0
- package/lib/duet/{p-5bfb6d98.entry.js → p-9335c92f.entry.js} +1 -1
- package/lib/duet/{p-2b73dd59.system.entry.js → p-945de64d.system.entry.js} +1 -1
- package/lib/duet/{p-01fcb80e.system.js → p-94fca55e.system.js} +1 -1
- package/lib/duet/{p-9c7ecd2a.system.entry.js → p-964c9e93.system.entry.js} +1 -1
- package/lib/duet/{p-17e21461.system.entry.js → p-97e2494e.system.entry.js} +1 -1
- package/lib/duet/{p-d39cf5b1.entry.js → p-98542cf6.entry.js} +1 -1
- package/lib/duet/{p-ec91cdca.system.entry.js → p-9864f91b.system.entry.js} +1 -1
- package/lib/duet/{p-9b4de80f.entry.js → p-990418d6.entry.js} +1 -1
- package/lib/duet/{p-7c4798b2.entry.js → p-a198ec6f.entry.js} +1 -1
- package/lib/duet/{p-6cde8c43.entry.js → p-a8f0d3a9.entry.js} +1 -1
- package/lib/duet/{p-42e7aa32.entry.js → p-a92b5519.entry.js} +1 -1
- package/lib/duet/{p-2deda672.system.entry.js → p-ae69645e.system.entry.js} +1 -1
- package/lib/duet/{p-0590a8c0.system.entry.js → p-aeacd894.system.entry.js} +1 -1
- package/lib/duet/{p-2b5f338b.entry.js → p-b277f3c9.entry.js} +1 -1
- package/lib/duet/{p-362174cc.entry.js → p-b3a0b737.entry.js} +1 -1
- package/lib/duet/{p-26d917a0.entry.js → p-b9e81db8.entry.js} +1 -1
- package/lib/duet/{p-de635e2e.entry.js → p-ba29d84e.entry.js} +1 -1
- package/lib/duet/{p-276895fe.entry.js → p-bcb088de.entry.js} +1 -1
- package/lib/duet/{p-4b838a9c.system.entry.js → p-bcd2526b.system.entry.js} +1 -1
- package/lib/duet/{p-3f375bef.entry.js → p-c485773b.entry.js} +1 -1
- package/lib/duet/{p-6c5f600b.system.entry.js → p-c53f21c9.system.entry.js} +1 -1
- package/lib/duet/{p-942e7a28.entry.js → p-c5b583e5.entry.js} +1 -1
- package/lib/duet/{p-f36dc895.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-e7a8d51f.system.entry.js → p-cd5055a1.system.entry.js} +1 -1
- package/lib/duet/{p-98c780ad.system.entry.js → p-ce8d53d6.system.entry.js} +1 -1
- package/lib/duet/{p-3e5839c6.entry.js → p-d032551e.entry.js} +1 -1
- package/lib/duet/{p-4e3e91fd.system.entry.js → p-d567cab7.system.entry.js} +1 -1
- package/lib/duet/{p-704eb099.entry.js → p-d6f2d26c.entry.js} +1 -1
- package/lib/duet/{p-233e91ea.entry.js → p-da79ce12.entry.js} +1 -1
- package/lib/duet/{p-408a536f.entry.js → p-da8b3bee.entry.js} +1 -1
- package/lib/duet/{p-ae39325e.entry.js → p-dc282755.entry.js} +1 -1
- package/lib/duet/{p-f3301cbc.entry.js → p-dd383dac.entry.js} +1 -1
- package/lib/duet/{p-2aed3283.system.entry.js → p-de97a5a0.system.entry.js} +1 -1
- package/lib/duet/p-e06581ab.system.entry.js +4 -0
- package/lib/duet/{p-48aa12e2.entry.js → p-e27c8c99.entry.js} +1 -1
- package/lib/duet/{p-03ee21a3.entry.js → p-e57b9976.entry.js} +1 -1
- package/lib/duet/{p-09be550b.system.entry.js → p-e5b23434.system.entry.js} +1 -1
- package/lib/duet/p-e800bb84.entry.js +4 -0
- package/lib/duet/{p-054a2d07.system.entry.js → p-e91b40e2.system.entry.js} +1 -1
- package/lib/duet/{p-2c67137b.system.js → p-eaae6b36.system.js} +1 -1
- package/lib/duet/{p-401a0998.system.entry.js → p-eacc99e2.system.entry.js} +1 -1
- package/lib/duet/{p-ec7699f0.system.entry.js → p-ec8178ca.system.entry.js} +1 -1
- package/lib/duet/{p-823de698.system.entry.js → p-ed67528b.system.entry.js} +1 -1
- package/lib/duet/{p-31e877bf.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-40ac94f6.entry.js → p-f3a000ac.entry.js} +1 -1
- package/lib/duet/{p-9b4402ef.entry.js → p-f51f0dae.entry.js} +1 -1
- package/lib/duet/{p-0b415c31.entry.js → p-f5bf2165.entry.js} +1 -1
- package/lib/duet/{p-4970d360.system.entry.js → p-f692b21a.system.entry.js} +1 -1
- package/lib/duet/{p-66f2c12f.system.entry.js → p-f7a9305b.system.entry.js} +1 -1
- package/lib/duet/{p-87f2c5d4.system.entry.js → p-f82d3ee5.system.entry.js} +1 -1
- package/lib/duet/{p-da71d66d.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 +2 -2
- 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-f1a08e01.js → focus-utils-1131b2e1.js} +1 -1
- package/lib/esm/{index-bcdc5466.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 +2 -2
- 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 +2 -2
- 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-f1a08e01.js → focus-utils-1131b2e1.js} +1 -1
- package/lib/esm-es5/{index-bcdc5466.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-45377b84.js +0 -265
- package/lib/duet/p-0112579c.entry.js +0 -4
- package/lib/duet/p-24cb9a5c.entry.js +0 -4
- package/lib/duet/p-3211450e.entry.js +0 -4
- package/lib/duet/p-35bb4ee9.entry.js +0 -4
- package/lib/duet/p-37de9a2f.entry.js +0 -4
- package/lib/duet/p-5feb0657.system.entry.js +0 -4
- package/lib/duet/p-64cca33a.entry.js +0 -4
- package/lib/duet/p-6ab272dd.system.entry.js +0 -4
- package/lib/duet/p-7bd6683a.system.entry.js +0 -4
- package/lib/duet/p-c87eeeb5.system.js +0 -4
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, b as Host } from './p-4cf27349.js';
|
|
5
|
+
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
|
+
import { D as DuetStringsExternalDefaults } from './p-76f00bd5.js';
|
|
7
|
+
import { a as getLanguage, g as getLocaleString } from './p-ede854e1.js';
|
|
8
|
+
import { g as getColorByName } from './p-535ce3ec.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-246bd550.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-8cc35bc1.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-b0973ee5.js';
|
|
12
|
+
|
|
13
|
+
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:#0077b3 !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:5.3333333333rem;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#c60c30 !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:#e1e3e6}.duet-theme-turva .duet-button.default{color:#c60c30 !important;border-color:#e4e4e6}.duet-button.default:hover{border-color:#0077b3}.duet-theme-turva .duet-button.default:hover{border-color:#c60c30}.duet-button.default.duet-button-negative{background-color:white}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:#e4e4e6 !important}.duet-button.default.duet-button-negative:hover{color:#0077b3 !important;border-color:#0077b3}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#c60c30 !important;border-color:#c60c30}.duet-button.primary,.duet-button.input-button-primary{color:white !important;background:#0077b3;border-color:#0077b3}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:white !important;background:#c60c30;border-color:#c60c30}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:#940925;border-color:#940925}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px white, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px white, 0 0 0 4px rgba(23, 28, 58, 0.7)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:#00294d !important;background:transparent;border-color:#00294d}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:#171c3a !important;border-color:#171c3a}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:#0077b3 !important;border-color:#0077b3}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:#c60c30 !important;border-color:#c60c30}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:#e1e3e6 !important;border-color:white}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#e4e4e6 !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:#0077b3 !important;border-color:#0077b3}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#c60c30 !important;border-color:#c60c30}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:#00294d !important;background:white;border-color:white}.duet-theme-turva .duet-button.negative{color:#171c3a !important}.duet-button.negative:hover{color:white !important;background:transparent;border-color:white}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #171c3a, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:white !important;background:#de2362;border-color:#de2362}.duet-theme-turva .duet-button.destructive-primary{color:white !important;background:#e02a0d;border-color:#e02a0d}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:#de2362 !important;background:white;border-color:#de2362}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:#e02a0d !important;background:white;border-color:#e02a0d}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:white !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:white !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:#c60c30 !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:#657787 !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:#e4e4e6 !important}.duet-button.plain:hover{color:#004d80 !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:#940925 !important}.duet-button.plain.duet-button-negative{color:white !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:#e4e4e6 !important}.duet-button.plain.duet-button-negative:hover{color:#0077b3 !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:#c60c30 !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:#657787 !important;cursor:not-allowed;background:#e1e3e6 !important;border-color:#e1e3e6 !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#747475 !important;cursor:not-allowed;background:#e4e4e6 !important;border-color:#e4e4e6 !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:white}.duet-button-is-loading.default{color:#0077b3}.duet-button-is-loading.default.duet-theme-turva{color:#c60c30}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
14
|
+
|
|
15
|
+
const DuetButton = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.__registerHost();
|
|
19
|
+
this.__attachShadow();
|
|
20
|
+
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
21
|
+
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
22
|
+
/**
|
|
23
|
+
* Component event handling.
|
|
24
|
+
*/
|
|
25
|
+
this.handleClick = (ev) => {
|
|
26
|
+
// If this button wants to specifically submit a form
|
|
27
|
+
// climb up the dom to see if we're in a <form>
|
|
28
|
+
// and if so, then use JS to submit it.
|
|
29
|
+
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
30
|
+
if (!this.url && this.element.closest("form")) {
|
|
31
|
+
ev.preventDefault();
|
|
32
|
+
this.proxyButton.click();
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
this.onFocus = () => {
|
|
36
|
+
this.duetFocus.emit();
|
|
37
|
+
};
|
|
38
|
+
this.onBlur = () => {
|
|
39
|
+
this.duetBlur.emit();
|
|
40
|
+
};
|
|
41
|
+
this.accessibleLabel = undefined;
|
|
42
|
+
this.accessibleControls = undefined;
|
|
43
|
+
this.accessiblePopup = "false";
|
|
44
|
+
this.accessibleActiveDescendant = undefined;
|
|
45
|
+
this.accessibleOwns = undefined;
|
|
46
|
+
this.accessibleDescribedBy = undefined;
|
|
47
|
+
this.accessibleDetails = undefined;
|
|
48
|
+
this.accessibleLabelledBy = undefined;
|
|
49
|
+
this.accessibleDescription = undefined;
|
|
50
|
+
this.accessibleExpanded = undefined;
|
|
51
|
+
this.accessiblePressed = undefined;
|
|
52
|
+
this.loading = false;
|
|
53
|
+
this.variation = "default";
|
|
54
|
+
this.negative = false;
|
|
55
|
+
this.theme = "";
|
|
56
|
+
this.margin = "auto";
|
|
57
|
+
this.padding = "auto";
|
|
58
|
+
this.centerText = false;
|
|
59
|
+
this.wrapping = "auto";
|
|
60
|
+
this.expand = false;
|
|
61
|
+
this.fixed = false;
|
|
62
|
+
this.disabled = false;
|
|
63
|
+
this.name = undefined;
|
|
64
|
+
this.value = undefined;
|
|
65
|
+
this.identifier = undefined;
|
|
66
|
+
this.submit = false;
|
|
67
|
+
this.external = false;
|
|
68
|
+
this.language = getLanguage();
|
|
69
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
70
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
71
|
+
this.icon = "";
|
|
72
|
+
this.color = "";
|
|
73
|
+
this.iconRight = false;
|
|
74
|
+
this.iconSize = "medium";
|
|
75
|
+
this.size = "medium";
|
|
76
|
+
this.iconOnly = false;
|
|
77
|
+
this.url = undefined;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Component lifecycle events.
|
|
81
|
+
*/
|
|
82
|
+
componentWillLoad() {
|
|
83
|
+
inheritGlobalTheme(this);
|
|
84
|
+
if (this.url && this.external && this.icon) {
|
|
85
|
+
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
connectedCallback() {
|
|
89
|
+
this.proxyButton = document.createElement("button");
|
|
90
|
+
this.proxyButton.style.display = "none";
|
|
91
|
+
this.syncToProxyButton();
|
|
92
|
+
if (!this.url && this.element.closest("form")) {
|
|
93
|
+
this.element.insertAdjacentElement("beforebegin", this.proxyButton);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
disconnectedCallback() {
|
|
97
|
+
this.proxyButton.remove();
|
|
98
|
+
this.proxyButton = null;
|
|
99
|
+
}
|
|
100
|
+
syncToProxyButton() {
|
|
101
|
+
this.proxyButton.type = this.getButtonType();
|
|
102
|
+
this.proxyButton.disabled = this.disabled;
|
|
103
|
+
// attributes should be removed in cases where name/value is not set
|
|
104
|
+
if (this.name != null) {
|
|
105
|
+
this.proxyButton.name = this.name;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.proxyButton.removeAttribute("name");
|
|
109
|
+
}
|
|
110
|
+
if (this.value != null) {
|
|
111
|
+
this.proxyButton.value = this.value;
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
this.proxyButton.removeAttribute("value");
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
getButtonType() {
|
|
118
|
+
return this.submit ? "submit" : "button";
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Sets focus on the specified `duet-button`. Use this method instead of the global
|
|
122
|
+
* `button.focus()`.
|
|
123
|
+
*/
|
|
124
|
+
async setFocus(options) {
|
|
125
|
+
if (this.nativeButton) {
|
|
126
|
+
this.nativeButton.focus(options);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* render() function.
|
|
131
|
+
* Always the last one in the class.
|
|
132
|
+
*/
|
|
133
|
+
render() {
|
|
134
|
+
const isExternalLink = this.external && this.url;
|
|
135
|
+
// enforce consistency for external links
|
|
136
|
+
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
137
|
+
const iconRight = isExternalLink ? true : this.iconRight;
|
|
138
|
+
const commonChildren = (h("span", { class: "duet-button-contents", style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
|
|
139
|
+
"duet-button-icon": true,
|
|
140
|
+
left: !iconRight,
|
|
141
|
+
right: iconRight,
|
|
142
|
+
[this.iconSize]: true,
|
|
143
|
+
} }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
|
|
144
|
+
const commonProps = {
|
|
145
|
+
onFocus: this.onFocus,
|
|
146
|
+
onBlur: this.onBlur,
|
|
147
|
+
ref: button => (this.nativeButton = button),
|
|
148
|
+
id: this.identifier,
|
|
149
|
+
class: {
|
|
150
|
+
"duet-m-0": this.margin === "none",
|
|
151
|
+
"duet-p-0": this.padding === "none",
|
|
152
|
+
"duet-no-wrap": this.wrapping === "none",
|
|
153
|
+
"duet-button": true,
|
|
154
|
+
"duet-button-is-small": this.size === "small",
|
|
155
|
+
"duet-button-icon-only": this.iconOnly,
|
|
156
|
+
"duet-button-text-center": this.centerText,
|
|
157
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
158
|
+
[this.variation]: true,
|
|
159
|
+
disabled: this.disabled,
|
|
160
|
+
icon: !!icon,
|
|
161
|
+
"icon-right": iconRight,
|
|
162
|
+
[this.iconSize]: true,
|
|
163
|
+
},
|
|
164
|
+
"aria-controls": this.accessibleControls,
|
|
165
|
+
"aria-label": this.accessibleLabel,
|
|
166
|
+
"aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
|
|
167
|
+
"aria-activedescendant": this.accessibleActiveDescendant,
|
|
168
|
+
"aria-owns": this.accessibleOwns,
|
|
169
|
+
"aria-describedby": this.accessibleDescribedBy,
|
|
170
|
+
"aria-labelledby": this.accessibleLabelledBy,
|
|
171
|
+
"aria-details": this.accessibleDetails,
|
|
172
|
+
"aria-description": this.accessibleDescription,
|
|
173
|
+
};
|
|
174
|
+
return (h(Host, { onClick: this.handleClick, class: {
|
|
175
|
+
"duet-m-0": this.margin === "none",
|
|
176
|
+
"duet-small": this.size === "small",
|
|
177
|
+
"duet-fixed": this.fixed,
|
|
178
|
+
"duet-expand": this.expand,
|
|
179
|
+
"input-button": this.variation.startsWith("input-button"),
|
|
180
|
+
} }, h("div", { class: {
|
|
181
|
+
"duet-button-container": true,
|
|
182
|
+
"duet-button-is-loading": this.loading,
|
|
183
|
+
"duet-theme-turva": this.theme === "turva",
|
|
184
|
+
"duet-button-negative": this.negative || this.variation === "negative",
|
|
185
|
+
[this.variation]: true,
|
|
186
|
+
} }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren)), this.loading && h("duet-spinner", { color: "currentColor" }))));
|
|
187
|
+
}
|
|
188
|
+
get element() { return this; }
|
|
189
|
+
static get watchers() { return {
|
|
190
|
+
"disabled": ["syncToProxyButton"],
|
|
191
|
+
"submit": ["syncToProxyButton"],
|
|
192
|
+
"value": ["syncToProxyButton"],
|
|
193
|
+
"name": ["syncToProxyButton"]
|
|
194
|
+
}; }
|
|
195
|
+
static get style() { return duetButtonCss; }
|
|
196
|
+
}, [1, "duet-button", {
|
|
197
|
+
"accessibleLabel": [1, "accessible-label"],
|
|
198
|
+
"accessibleControls": [1, "accessible-controls"],
|
|
199
|
+
"accessiblePopup": [1, "accessible-popup"],
|
|
200
|
+
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
201
|
+
"accessibleOwns": [1, "accessible-owns"],
|
|
202
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
203
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
204
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
205
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
206
|
+
"accessibleExpanded": [4, "accessible-expanded"],
|
|
207
|
+
"accessiblePressed": [4, "accessible-pressed"],
|
|
208
|
+
"loading": [4],
|
|
209
|
+
"variation": [1],
|
|
210
|
+
"negative": [4],
|
|
211
|
+
"theme": [1025],
|
|
212
|
+
"margin": [1],
|
|
213
|
+
"padding": [1],
|
|
214
|
+
"centerText": [4, "center-text"],
|
|
215
|
+
"wrapping": [1],
|
|
216
|
+
"expand": [4],
|
|
217
|
+
"fixed": [4],
|
|
218
|
+
"disabled": [516],
|
|
219
|
+
"name": [1],
|
|
220
|
+
"value": [1],
|
|
221
|
+
"identifier": [1],
|
|
222
|
+
"submit": [516],
|
|
223
|
+
"external": [4],
|
|
224
|
+
"language": [1],
|
|
225
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
226
|
+
"accessibleLabelExternal": [1, "accessible-label-external"],
|
|
227
|
+
"icon": [1],
|
|
228
|
+
"color": [1],
|
|
229
|
+
"iconRight": [4, "icon-right"],
|
|
230
|
+
"iconSize": [1, "icon-size"],
|
|
231
|
+
"size": [1],
|
|
232
|
+
"iconOnly": [4, "icon-only"],
|
|
233
|
+
"url": [513],
|
|
234
|
+
"setFocus": [64]
|
|
235
|
+
}]);
|
|
236
|
+
function defineCustomElement() {
|
|
237
|
+
if (typeof customElements === "undefined") {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
|
|
241
|
+
components.forEach(tagName => { switch (tagName) {
|
|
242
|
+
case "duet-button":
|
|
243
|
+
if (!customElements.get(tagName)) {
|
|
244
|
+
customElements.define(tagName, DuetButton);
|
|
245
|
+
}
|
|
246
|
+
break;
|
|
247
|
+
case "duet-icon":
|
|
248
|
+
if (!customElements.get(tagName)) {
|
|
249
|
+
defineCustomElement$3();
|
|
250
|
+
}
|
|
251
|
+
break;
|
|
252
|
+
case "duet-spinner":
|
|
253
|
+
if (!customElements.get(tagName)) {
|
|
254
|
+
defineCustomElement$2();
|
|
255
|
+
}
|
|
256
|
+
break;
|
|
257
|
+
case "duet-visually-hidden":
|
|
258
|
+
if (!customElements.get(tagName)) {
|
|
259
|
+
defineCustomElement$1();
|
|
260
|
+
}
|
|
261
|
+
break;
|
|
262
|
+
} });
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export { DuetButton as D, defineCustomElement as d };
|
|
@@ -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$1 } from './p-
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-246bd550.js';
|
|
7
7
|
|
|
8
8
|
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{display:none}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";
|
|
9
9
|
|
|
@@ -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, b as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, 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 { g as getLocaleString } from './p-ede854e1.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-bed64271.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-246bd550.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-8cc35bc1.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './p-b0973ee5.js';
|
|
12
12
|
|
|
13
13
|
const duetAlertCss = "*,*::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%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;visibility:hidden;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:#00294d;background:#f2f8fb;border:1px solid #0077b3;border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;background:#f3f4f5;border-color:#171c3a}.duet-alert.warning{background:#fffbf4;border-color:#f7b228}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:#faa40f}.duet-alert.danger{background:#fdf4f7;border-color:#de2362}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:#e02a0d}.duet-alert.success{background:#f2f9f7;border-color:#00875a}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:#08874e}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
14
14
|
|
|
@@ -1,22 +1,24 @@
|
|
|
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-4cf27349.js';
|
|
5
5
|
import { f as formSearch } from './p-d004da5f.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
7
7
|
import { c as createID } from './p-c1325e35.js';
|
|
8
8
|
import { c as cleanValue, r as resetCursor } from './p-56118313.js';
|
|
9
|
-
import { b as isEscapeKey } from './p-d8549efe.js';
|
|
9
|
+
import { b as isEscapeKey, c as isEnterKey } from './p-d8549efe.js';
|
|
10
10
|
import { g as getLocaleString } from './p-ede854e1.js';
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-bed64271.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-98ae1730.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-246bd550.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-99260df6.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-8cc35bc1.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-9112f395.js';
|
|
17
|
+
import { d as defineCustomElement$1 } from './p-b0973ee5.js';
|
|
16
18
|
|
|
17
19
|
var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
|
|
18
20
|
|
|
19
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:#171c3a}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:#004d80}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:#00294d}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:#00294d !important;cursor:initial !important;background:white !important;background-clip:initial !important;border:1px solid #909599 !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#de2362 !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#e02a0d !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a !important;border-color:#747475 !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-input.sc-duet-input::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfcfd1}.duet-input.sc-duet-input:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfcfd1}.duet-input[disabled].sc-duet-input{color:#00294d !important;cursor:text !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus{border-color:#0077b3 !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:#171c3a !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#171c3a}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#0077b3}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-label-has-tooltip.sc-duet-input{display:inline-flex}@media (min-width: 48em){.duet-label-has-tooltip.sc-duet-input{display:inline}}.duet-label-has-tooltip.sc-duet-input::before{display:block;margin-top:7px;content:\" \"}.duet-input-tooltip.sc-duet-input::after{display:block;height:49px;content:\" \"}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#e02a0d}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}";
|
|
21
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input{position:relative;top:4px;right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:white}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:#00294d;pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:#171c3a}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:#004d80}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:#00294d}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:#00294d !important;cursor:initial !important;background:white !important;background-clip:initial !important;border:1px solid #909599 !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#de2362 !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:#e02a0d !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:#e02a0d !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a !important;border-color:#747475 !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-input.sc-duet-input::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:#747475}.duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:#cfcfd1}.duet-input.sc-duet-input:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:#747475}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:#cfcfd1}.duet-input[disabled].sc-duet-input{color:#00294d !important;cursor:text !important;background:#f5f8fa !important;border-color:#f5f8fa !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:#00294d !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:#171c3a !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important;-webkit-text-fill-color:#171c3a !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus{border-color:#0077b3 !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:#171c3a !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#171c3a}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e02a0d}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:#0077b3}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-label-has-tooltip.sc-duet-input{display:inline-flex}@media (min-width: 48em){.duet-label-has-tooltip.sc-duet-input{display:inline}}.duet-label-has-tooltip.sc-duet-input::before{display:block;margin-top:7px;content:\" \"}.duet-input-tooltip.sc-duet-input::after{display:block;height:49px;content:\" \"}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:#657787;border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#747475}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:#e02a0d}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid #909599;border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#747475}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:#f5f8fa;border-color:#e1e3e6;box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#e02a0d}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#0077b3;box-shadow:0 0 0 1px #0077b3}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:#171c3a;box-shadow:0 0 0 1px #171c3a}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e02a0d}";
|
|
20
22
|
|
|
21
23
|
const icons = {
|
|
22
24
|
search: formSearch,
|
|
@@ -51,6 +53,26 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
51
53
|
fi: "Aika",
|
|
52
54
|
sv: "Tid",
|
|
53
55
|
});
|
|
56
|
+
this.showPasswordLabel = getLocaleString({
|
|
57
|
+
en: "Show password",
|
|
58
|
+
fi: "Näytä salasana",
|
|
59
|
+
sv: "Visa lösenord",
|
|
60
|
+
});
|
|
61
|
+
this.hidePasswordLabel = getLocaleString({
|
|
62
|
+
en: "Hide password",
|
|
63
|
+
fi: "Piilota salasana",
|
|
64
|
+
sv: "Dölj lösenord",
|
|
65
|
+
});
|
|
66
|
+
this.passwordShownAriaAnnouncement = getLocaleString({
|
|
67
|
+
en: "Password is shown",
|
|
68
|
+
fi: "Salasana näytetään",
|
|
69
|
+
sv: "Lösenordet visas",
|
|
70
|
+
});
|
|
71
|
+
this.passwordHiddenAriaAnnouncement = getLocaleString({
|
|
72
|
+
en: "Password is hidden",
|
|
73
|
+
fi: "Salasana on piilotettu",
|
|
74
|
+
sv: "Lösenordet är dolt",
|
|
75
|
+
});
|
|
54
76
|
/**
|
|
55
77
|
* Component event handling.
|
|
56
78
|
*/
|
|
@@ -66,6 +88,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
66
88
|
});
|
|
67
89
|
};
|
|
68
90
|
this.onBlur = (ev) => {
|
|
91
|
+
this.isFocused = false;
|
|
69
92
|
this.duetBlur.emit({
|
|
70
93
|
originalEvent: ev,
|
|
71
94
|
value: this.value,
|
|
@@ -73,6 +96,7 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
73
96
|
});
|
|
74
97
|
};
|
|
75
98
|
this.onFocus = (ev) => {
|
|
99
|
+
this.isFocused = true;
|
|
76
100
|
this.duetFocus.emit({
|
|
77
101
|
originalEvent: ev,
|
|
78
102
|
value: this.value,
|
|
@@ -86,8 +110,8 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
86
110
|
component: "duet-input",
|
|
87
111
|
});
|
|
88
112
|
};
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
113
|
+
/**
|
|
114
|
+
* Private functions
|
|
91
115
|
*/
|
|
92
116
|
this.getDescribedBy = () => {
|
|
93
117
|
let describedBy = "";
|
|
@@ -114,8 +138,22 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
114
138
|
if (isEscapeKey(event) && this.clear) {
|
|
115
139
|
this.handleClearClick(event);
|
|
116
140
|
}
|
|
141
|
+
if (isEnterKey(event) && this.variation === "revealable") {
|
|
142
|
+
this.isPasswordRevealed = false;
|
|
143
|
+
}
|
|
117
144
|
return event;
|
|
118
145
|
};
|
|
146
|
+
this.togglePasswordRevealed = () => {
|
|
147
|
+
this.isPasswordRevealed = !this.isPasswordRevealed;
|
|
148
|
+
};
|
|
149
|
+
this.getInputType = () => {
|
|
150
|
+
if (this.variation === "revealable") {
|
|
151
|
+
return this.isPasswordRevealed ? "text" : "password";
|
|
152
|
+
}
|
|
153
|
+
return this.type;
|
|
154
|
+
};
|
|
155
|
+
this.isPasswordRevealed = false;
|
|
156
|
+
this.isFocused = false;
|
|
119
157
|
this.accessibleActiveDescendant = undefined;
|
|
120
158
|
this.accessibleAutocomplete = undefined;
|
|
121
159
|
this.accessibleControls = undefined;
|
|
@@ -189,6 +227,13 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
189
227
|
this.disallowedPatternChange();
|
|
190
228
|
this.isCaptionVisible = !!this.caption;
|
|
191
229
|
}
|
|
230
|
+
componentDidLoad() {
|
|
231
|
+
if (this.variation === "revealable" && this.nativeInput.form) {
|
|
232
|
+
this.nativeInput.form.addEventListener("submit", () => {
|
|
233
|
+
this.isPasswordRevealed = false;
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
}
|
|
192
237
|
/**
|
|
193
238
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
194
239
|
* `input.focus()`.
|
|
@@ -264,19 +309,21 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
264
309
|
(this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time")),
|
|
265
310
|
"has-error": !!this.error,
|
|
266
311
|
"has-clear": this.clear,
|
|
267
|
-
|
|
312
|
+
"has-focus": this.isFocused,
|
|
313
|
+
disabled: this.disabled,
|
|
314
|
+
} }, 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: {
|
|
268
315
|
"duet-input": true,
|
|
269
316
|
disabled: this.disabled,
|
|
270
317
|
"is-number": this.component === "number",
|
|
271
318
|
"is-date": this.component === "date",
|
|
272
319
|
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy
|
|
273
320
|
? `${this.errorId} ${this.labelId} ${this.accessibleLabelledBy}`
|
|
274
|
-
: `${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: {
|
|
321
|
+
: `${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: {
|
|
275
322
|
"duet-input-clear-icon": true,
|
|
276
323
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
277
324
|
"duet-input-clear-icon-double": !!this.icon,
|
|
278
325
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
279
|
-
} }, 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)))));
|
|
326
|
+
} }, 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)))));
|
|
280
327
|
}
|
|
281
328
|
get element() { return this; }
|
|
282
329
|
static get watchers() { return {
|
|
@@ -324,6 +371,8 @@ const DuetInput = /*@__PURE__*/ proxyCustomElement(class extends H {
|
|
|
324
371
|
"value": [1025],
|
|
325
372
|
"tooltip": [1],
|
|
326
373
|
"tooltipDirection": [1, "tooltip-direction"],
|
|
374
|
+
"isPasswordRevealed": [32],
|
|
375
|
+
"isFocused": [32],
|
|
327
376
|
"setFocus": [64],
|
|
328
377
|
"resetCursor": [64],
|
|
329
378
|
"clearInput": [64]
|
|
@@ -332,24 +381,34 @@ function defineCustomElement() {
|
|
|
332
381
|
if (typeof customElements === "undefined") {
|
|
333
382
|
return;
|
|
334
383
|
}
|
|
335
|
-
const components = ["duet-input", "duet-caption", "duet-icon", "duet-label", "duet-tooltip", "duet-visually-hidden"];
|
|
384
|
+
const components = ["duet-input", "duet-button", "duet-caption", "duet-icon", "duet-label", "duet-spinner", "duet-tooltip", "duet-visually-hidden"];
|
|
336
385
|
components.forEach(tagName => { switch (tagName) {
|
|
337
386
|
case "duet-input":
|
|
338
387
|
if (!customElements.get(tagName)) {
|
|
339
388
|
customElements.define(tagName, DuetInput);
|
|
340
389
|
}
|
|
341
390
|
break;
|
|
391
|
+
case "duet-button":
|
|
392
|
+
if (!customElements.get(tagName)) {
|
|
393
|
+
defineCustomElement$7();
|
|
394
|
+
}
|
|
395
|
+
break;
|
|
342
396
|
case "duet-caption":
|
|
343
397
|
if (!customElements.get(tagName)) {
|
|
344
|
-
defineCustomElement$
|
|
398
|
+
defineCustomElement$6();
|
|
345
399
|
}
|
|
346
400
|
break;
|
|
347
401
|
case "duet-icon":
|
|
348
402
|
if (!customElements.get(tagName)) {
|
|
349
|
-
defineCustomElement$
|
|
403
|
+
defineCustomElement$5();
|
|
350
404
|
}
|
|
351
405
|
break;
|
|
352
406
|
case "duet-label":
|
|
407
|
+
if (!customElements.get(tagName)) {
|
|
408
|
+
defineCustomElement$4();
|
|
409
|
+
}
|
|
410
|
+
break;
|
|
411
|
+
case "duet-spinner":
|
|
353
412
|
if (!customElements.get(tagName)) {
|
|
354
413
|
defineCustomElement$3();
|
|
355
414
|
}
|
|
@@ -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$1 } from './p-
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-246bd550.js';
|
|
7
7
|
|
|
8
8
|
const duetEmptyStateCss = "*,*::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%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:#00294d;text-align:center;background:#f5f8fa;border-radius:4px}.duet-empty-state.duet-theme-turva{color:#171c3a;background:#f5f5f7}";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
|
6
6
|
const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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
6
|
|
|
7
7
|
const duetGridItemCss = ".sc-duet-grid-item-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;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left: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-style:normal;font-weight:400;line-height:1.5;color:#00294d}.sc-duet-grid-item-h:first-child,.sc-duet-grid-item-h:first-of-type{padding-left:0}.sc-duet-grid-item-h:last-child,.sc-duet-grid-item-h:last-of-type{padding-right:0}@media (max-width: 35.9375em){.duet-grid-item-responsive.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){.duet-grid-item-br-medium.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){.duet-grid-item-responsive.duet-grid-item-br-medium.sc-duet-grid-item-h{padding-right:0;padding-left:0}}@media screen and (max-width: 64em){.duet-grid-item-br-x-large.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){.duet-grid-item-responsive.duet-grid-item-br-x-large.sc-duet-grid-item-h{padding-right:0;padding-left:0}}.duet-grid-item-fill.sc-duet-grid-item-h{flex:1 1 auto;width:100%}.duet-theme-turva.sc-duet-grid-item-h{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-m-0.sc-duet-grid-item-h{padding:0 !important;margin:0 !important}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-4cf27349.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-4ebf1618.js';
|
|
6
6
|
import { g as getColorByName } from './p-535ce3ec.js';
|
|
7
7
|
|