@duetds/components 8.6.2 → 8.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +695 -649
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +2 -0
- package/lib/cjs/duet-banner.cjs.entry.js +6 -4
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +26 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +24 -11
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -0
- package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.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.cjs.js +1 -1
- package/lib/cjs/loader.cjs.js +1 -1
- package/lib/cjs/{token-utils-4ff49a49.js → token-utils-2a219fda.js} +1 -1
- package/lib/cjs/{tokens-d270c810.js → tokens-851fb0c9.js} +376 -376
- package/lib/cjs/{tokens.module-2198b663.js → tokens.module-3e57c188.js} +250 -250
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +17 -1
- package/lib/collection/components/duet-banner/duet-banner.css +27 -23
- package/lib/collection/components/duet-banner/duet-banner.js +4 -2
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +4 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.css +3 -2
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.css +12 -6
- package/lib/collection/components/duet-link/duet-link.js +1 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +2 -1
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +21 -0
- package/lib/collection/components/duet-modal/duet-modal.js +75 -10
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +3 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +37 -10
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +22 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.css +4 -4
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +24 -2
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -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-banner.js +7 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +1 -1
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +2 -2
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +3 -3
- package/lib/dist-custom-elements/duet-choice.js +1 -1
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +8 -8
- package/lib/dist-custom-elements/duet-contact-card.js +6 -6
- package/lib/dist-custom-elements/duet-cookie-consent.js +3 -3
- package/lib/dist-custom-elements/duet-date-picker.js +8 -8
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +5 -5
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +2 -2
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +6 -6
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +5 -5
- 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-link.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-link.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +31 -7
- package/lib/dist-custom-elements/duet-multiselect.js +5 -5
- package/lib/dist-custom-elements/duet-notification-drawer.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +7 -7
- package/lib/dist-custom-elements/duet-page-heading.js +3 -2
- package/lib/dist-custom-elements/duet-pagination.js +27 -17
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -0
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +3 -3
- 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 +8 -3
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-link.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +1 -1
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +1 -1
- 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 +5 -5
- package/lib/dist-custom-elements/duet-toggle.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-item.js +1 -1
- package/lib/dist-custom-elements/duet-toolbar-link.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +2 -2
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +11 -11
- package/lib/dist-custom-elements/{p-08124065.js → p-01c62feb.js} +1 -1
- package/lib/dist-custom-elements/{p-92a16064.js → p-18552e4e.js} +3 -3
- package/lib/dist-custom-elements/{p-baf3208f.js → p-1a8d1a11.js} +1 -1
- package/lib/dist-custom-elements/{p-83231ea8.js → p-20b3fa1e.js} +3 -3
- package/lib/dist-custom-elements/{p-a829df6e.js → p-27b6f57b.js} +1 -1
- package/lib/dist-custom-elements/{p-46074a1a.js → p-29926f8a.js} +2 -2
- package/lib/dist-custom-elements/{p-2f410810.js → p-29b18cdf.js} +4 -4
- package/lib/dist-custom-elements/{p-25c80cdb.js → p-3ec3eb5f.js} +1 -1
- package/lib/dist-custom-elements/{p-6d366100.js → p-3f85f7b8.js} +6 -4
- package/lib/dist-custom-elements/{p-e10f446d.js → p-43fc089a.js} +5 -5
- package/lib/dist-custom-elements/{p-17ed32c8.js → p-4779e8e0.js} +1 -1
- package/lib/dist-custom-elements/{p-0c564379.js → p-67ef919e.js} +250 -250
- package/lib/dist-custom-elements/{p-e3d597b6.js → p-6ac13d84.js} +1 -1
- package/lib/dist-custom-elements/{p-014c1177.js → p-7b97ad08.js} +6 -6
- package/lib/dist-custom-elements/{p-28ec3461.js → p-82302a93.js} +3 -3
- package/lib/dist-custom-elements/{p-667579b0.js → p-9ca3437c.js} +2 -2
- package/lib/dist-custom-elements/{p-bb25377b.js → p-b29a25ab.js} +1 -1
- package/lib/dist-custom-elements/{p-63954651.js → p-b676c88c.js} +1 -1
- package/lib/dist-custom-elements/{p-d482a2e9.js → p-c76bd205.js} +1 -1
- package/lib/{esm/tokens-5e02bbe0.js → dist-custom-elements/p-d5c03b61.js} +376 -376
- package/lib/dist-custom-elements/{p-a167e2a0.js → p-d72fa71c.js} +1 -1
- package/lib/dist-custom-elements/{p-e702eb52.js → p-d8932b2b.js} +4 -4
- package/lib/dist-custom-elements/{p-0cee8a12.js → p-ecaba4be.js} +1 -1
- package/lib/dist-custom-elements/{p-755dd68f.js → p-ef51ec63.js} +1 -1
- package/lib/dist-custom-elements/{p-f4ac6968.js → p-f40596e9.js} +2 -2
- package/lib/dist-custom-elements/{p-a02e62f3.js → p-f47e755d.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-1a7649e4.entry.js → p-01e99d98.entry.js} +1 -1
- package/lib/duet/{p-4e724a7d.entry.js → p-032e2711.entry.js} +1 -1
- package/lib/duet/{p-956fad95.system.entry.js → p-080d1309.system.entry.js} +1 -1
- package/lib/duet/p-08379332.entry.js +4 -0
- package/lib/duet/{p-37802e1f.system.entry.js → p-0b7eacfc.system.entry.js} +1 -1
- package/lib/duet/{p-c586a2c4.system.entry.js → p-166ee660.system.entry.js} +1 -1
- package/lib/duet/{p-0bdcf67f.js → p-1784b1d2.js} +1 -1
- package/lib/duet/{p-a21391c0.system.entry.js → p-1ab80c29.system.entry.js} +1 -1
- package/lib/duet/{p-7f4b420c.system.entry.js → p-1bc74805.system.entry.js} +1 -1
- package/lib/duet/{p-4781cd58.entry.js → p-20914caa.entry.js} +1 -1
- package/lib/duet/p-21f4713b.system.entry.js +4 -0
- package/lib/duet/{p-45bb3cd0.system.entry.js → p-2208faac.system.entry.js} +1 -1
- package/lib/duet/{p-69e67b58.entry.js → p-283d802c.entry.js} +1 -1
- package/lib/duet/p-33e25171.system.entry.js +4 -0
- package/lib/duet/{p-999fff8d.system.entry.js → p-40a7a9b0.system.entry.js} +1 -1
- package/lib/duet/{p-76e54ff5.entry.js → p-413838af.entry.js} +1 -1
- package/lib/duet/{p-ebbecac7.system.entry.js → p-427eec46.system.entry.js} +1 -1
- package/lib/duet/{p-15c22a22.entry.js → p-4605197f.entry.js} +1 -1
- package/lib/duet/{p-2522cfc3.entry.js → p-49a25bf5.entry.js} +1 -1
- package/lib/duet/p-49f79189.system.entry.js +4 -0
- package/lib/duet/p-4a901bfc.js +4 -0
- package/lib/duet/{p-e0907f29.entry.js → p-5063685a.entry.js} +1 -1
- package/lib/duet/{p-8fb1d27a.system.entry.js → p-51adcace.system.entry.js} +1 -1
- package/lib/duet/{p-afe7d680.entry.js → p-5dd177d8.entry.js} +1 -1
- package/lib/duet/{p-07ac7f3e.system.entry.js → p-60f12cac.system.entry.js} +1 -1
- package/lib/duet/p-6151635f.system.js +1 -1
- package/lib/duet/p-622f89ff.entry.js +4 -0
- package/lib/duet/p-62512c7e.system.entry.js +4 -0
- package/lib/duet/p-62c34a4d.system.entry.js +4 -0
- package/lib/duet/{p-ad9b7b51.entry.js → p-6623f965.entry.js} +1 -1
- package/lib/duet/{p-9e75e5d8.system.entry.js → p-690a8348.system.entry.js} +1 -1
- package/lib/duet/{p-73cd3afd.entry.js → p-6a1bd4d9.entry.js} +1 -1
- package/lib/duet/p-6e3a7d3f.system.entry.js +4 -0
- package/lib/duet/{p-6c9cfb6d.entry.js → p-6f24a09e.entry.js} +1 -1
- package/lib/duet/{p-eafed149.system.entry.js → p-76a419f1.system.entry.js} +1 -1
- package/lib/duet/p-787520f2.entry.js +4 -0
- package/lib/duet/{p-c776e072.entry.js → p-7f7a7a71.entry.js} +1 -1
- package/lib/duet/{p-3302d75d.entry.js → p-805a3314.entry.js} +1 -1
- package/lib/duet/{p-a90f23ec.system.entry.js → p-907787c5.system.entry.js} +1 -1
- package/lib/duet/{p-b78c3e3e.entry.js → p-91677c21.entry.js} +1 -1
- package/lib/duet/{p-b02ca265.entry.js → p-9180b8be.entry.js} +1 -1
- package/lib/duet/{p-7a161455.entry.js → p-96ca57c0.entry.js} +1 -1
- package/lib/duet/{p-628ae8ba.entry.js → p-a5bb0b7f.entry.js} +1 -1
- package/lib/duet/{p-cc9cfdb3.entry.js → p-a64b72f5.entry.js} +1 -1
- package/lib/duet/{p-4de910bd.system.entry.js → p-b781e27f.system.entry.js} +1 -1
- package/lib/duet/{p-73e66b09.system.js → p-c1445714.system.js} +1 -1
- package/lib/duet/{p-7ca15c93.entry.js → p-c2c2e797.entry.js} +1 -1
- package/lib/duet/{p-a659cdb5.system.entry.js → p-c30b6ad6.system.entry.js} +1 -1
- package/lib/duet/{p-38f9c1e3.entry.js → p-c493cd2e.entry.js} +1 -1
- package/lib/duet/p-c51d6fb5.system.js +4 -0
- package/lib/duet/p-c5f48c1c.system.entry.js +4 -0
- package/lib/duet/p-c86d6786.system.js +4 -0
- package/lib/duet/{p-0fc721ab.system.entry.js → p-caf153e4.system.entry.js} +1 -1
- package/lib/duet/{p-c68602c9.system.entry.js → p-ce01f793.system.entry.js} +1 -1
- package/lib/duet/{p-e640a515.system.entry.js → p-ce6892d9.system.entry.js} +1 -1
- package/lib/duet/p-d067ebb8.entry.js +4 -0
- package/lib/duet/p-d5c03b61.js +4 -0
- package/lib/duet/{p-80ffc878.system.entry.js → p-da0e9110.system.entry.js} +1 -1
- package/lib/duet/p-e12b461b.entry.js +4 -0
- package/lib/duet/p-e4595aa7.system.entry.js +4 -0
- package/lib/duet/p-e7d32eaa.entry.js +4 -0
- package/lib/duet/{p-e411627f.entry.js → p-ee4075c2.entry.js} +1 -1
- package/lib/duet/{p-174ad02e.system.entry.js → p-f0209c14.system.entry.js} +1 -1
- package/lib/duet/p-f252a415.entry.js +4 -0
- package/lib/duet/{p-9ac25886.system.entry.js → p-f52f44d6.system.entry.js} +1 -1
- package/lib/duet/{p-179881d0.system.entry.js → p-fa3801ea.system.entry.js} +1 -1
- package/lib/duet/{p-05a72320.entry.js → p-ff4969cc.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -0
- package/lib/esm/duet-banner.entry.js +6 -4
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-caption_4.entry.js +4 -4
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +26 -3
- package/lib/esm/duet-page-heading.entry.js +2 -1
- package/lib/esm/duet-pagination_2.entry.js +24 -11
- package/lib/esm/duet-popup-menu.entry.js +1 -0
- package/lib/esm/duet-promo-card.entry.js +2 -2
- 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-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.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.js +1 -1
- package/lib/esm/loader.js +1 -1
- package/lib/esm/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/{dist-custom-elements/p-f9a8d356.js → esm/tokens-a9d9d4dd.js} +376 -376
- package/lib/esm/{tokens.module-8dbafec7.js → tokens.module-ed0ed26f.js} +250 -250
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.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 +2 -2
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.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-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.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.js +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{token-utils-2adbab3f.js → token-utils-1f843fb9.js} +1 -1
- package/lib/esm-es5/tokens-a9d9d4dd.js +4 -0
- package/lib/esm-es5/tokens.module-ed0ed26f.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +4 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +12 -2
- package/lib/types/components/duet-pagination/duet-pagination.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +4 -0
- package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +4 -0
- package/lib/types/components.d.ts +34 -2
- package/package.json +3 -3
- package/lib/duet/p-061f4be0.system.entry.js +0 -4
- package/lib/duet/p-1c689a26.system.js +0 -4
- package/lib/duet/p-1ef0e5ca.system.entry.js +0 -4
- package/lib/duet/p-46dda347.system.entry.js +0 -4
- package/lib/duet/p-5c8e3667.entry.js +0 -4
- package/lib/duet/p-67dc45d7.js +0 -4
- package/lib/duet/p-723e165b.system.entry.js +0 -4
- package/lib/duet/p-8a41bde4.system.entry.js +0 -4
- package/lib/duet/p-8ba91848.entry.js +0 -4
- package/lib/duet/p-a3afb1af.entry.js +0 -4
- package/lib/duet/p-b31d31d8.system.js +0 -4
- package/lib/duet/p-b6f62761.entry.js +0 -4
- package/lib/duet/p-c3c12f8d.entry.js +0 -4
- package/lib/duet/p-c5cf76db.entry.js +0 -4
- package/lib/duet/p-d739e7af.system.entry.js +0 -4
- package/lib/duet/p-deb98669.entry.js +0 -4
- package/lib/duet/p-e362468f.system.entry.js +0 -4
- package/lib/duet/p-e58015e8.system.entry.js +0 -4
- package/lib/duet/p-f9a8d356.js +0 -4
- package/lib/esm-es5/tokens-5e02bbe0.js +0 -4
- package/lib/esm-es5/tokens.module-8dbafec7.js +0 -4
|
@@ -1,335 +1,335 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
const colorWarning = "rgb(247, 178, 40)";
|
|
5
|
-
const colorGrayDarker = "rgb(101, 119, 135)";
|
|
6
|
-
const colorGrayLighter = "rgb(245, 248, 250)";
|
|
7
|
-
const colorCategoryHome = "rgb(211, 36, 131)";
|
|
8
|
-
const colorPrimary = "rgb(0, 119, 179)";
|
|
9
|
-
const colorCategoryVehicle = "rgb(54, 74, 129)";
|
|
10
|
-
const colorSuccess = "rgb(0, 135, 90)";
|
|
11
|
-
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
12
|
-
const colorPrimaryLightest = "rgb(243, 249, 252)";
|
|
13
|
-
const colorPrimaryLighter = "rgb(230, 242, 248)";
|
|
14
4
|
const colorBrandBlue = "rgb(0, 161, 212)";
|
|
15
|
-
const
|
|
16
|
-
const
|
|
5
|
+
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
6
|
+
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
7
|
+
const colorCategoryFamilyTurva = "rgb(199, 12, 112)";
|
|
17
8
|
const colorCategoryFinance = "rgb(122, 1, 196)";
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const colorSecondary = "rgb(0, 41, 77)";
|
|
9
|
+
const colorCategoryHome = "rgb(211, 36, 131)";
|
|
10
|
+
const colorCategoryHomeTurva = "rgb(161, 10, 78)";
|
|
21
11
|
const colorCategoryPet = "rgb(168, 1, 78)";
|
|
22
|
-
const colorPrimaryDarker = "rgb(0, 98, 154)";
|
|
23
|
-
const colorPrimaryLight = "rgb(205, 229, 241)";
|
|
24
12
|
const colorCategoryTravel = "rgb(213, 66, 3)";
|
|
25
|
-
const colorGray = "rgb(207, 210, 212)";
|
|
26
|
-
const colorDanger = "rgb(222, 35, 98)";
|
|
27
|
-
const colorGrayDarkerTurva = "rgb(68, 68, 69)";
|
|
28
|
-
const colorGrayLighterTurva = "rgb(245, 245, 247)";
|
|
29
|
-
const colorCategoryHomeTurva = "rgb(161, 10, 78)";
|
|
30
|
-
const colorPrimaryTurva = "rgb(198, 12, 48)";
|
|
31
|
-
const colorCategoryVehicleTurva = "rgb(23, 28, 58)";
|
|
32
|
-
const colorSuccessTurva = "rgb(8, 135, 78)";
|
|
33
|
-
const colorPrimaryLightestTurva = "rgb(252, 243, 244)";
|
|
34
|
-
const colorCategoryFamilyTurva = "rgb(199, 12, 112)";
|
|
35
|
-
const colorCategoryUnionTurva = "rgb(169, 69, 124)";
|
|
36
|
-
const colorPrimaryLighterTurva = "rgb(249, 230, 234)";
|
|
37
|
-
const colorPrimaryDarkTurva = "rgb(148, 9, 37)";
|
|
38
|
-
const colorGrayLightestTurva = "rgb(255, 255, 255)";
|
|
39
|
-
const colorGrayDarkTurva = "rgb(116, 116, 117)";
|
|
40
|
-
const colorGrayLightTurva = "rgb(228, 228, 230)";
|
|
41
|
-
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
42
|
-
const colorSecondaryTurva = "rgb(23, 28, 58)";
|
|
43
|
-
const colorPrimaryDarkerTurva = "rgb(173, 11, 43)";
|
|
44
|
-
const colorPrimaryLightTurva = "rgb(244, 207, 214)";
|
|
45
13
|
const colorCategoryTravelTurva = "rgb(9, 129, 148)";
|
|
46
|
-
const
|
|
14
|
+
const colorCategoryUnionTurva = "rgb(169, 69, 124)";
|
|
15
|
+
const colorCategoryVehicle = "rgb(54, 74, 129)";
|
|
16
|
+
const colorCategoryVehicleTurva = "rgb(23, 28, 58)";
|
|
17
|
+
const colorDanger = "rgb(222, 35, 98)";
|
|
47
18
|
const colorDangerTurva = "rgb(224, 42, 13)";
|
|
48
|
-
const
|
|
19
|
+
const colorData01 = "rgb(122, 1, 196)";
|
|
20
|
+
const colorData02 = "rgb(0, 155, 204)";
|
|
21
|
+
const colorData03 = "rgb(27, 171, 75)";
|
|
22
|
+
const colorData04 = "rgb(255, 86, 34)";
|
|
23
|
+
const colorData05 = "rgb(245, 76, 154)";
|
|
24
|
+
const colorData06 = "rgb(194, 21, 101)";
|
|
49
25
|
const colorData07 = "rgb(192, 101, 247)";
|
|
50
26
|
const colorData08 = "rgb(0, 105, 191)";
|
|
51
27
|
const colorData09 = "rgb(19, 120, 53)";
|
|
52
28
|
const colorData10 = "rgb(179, 60, 24)";
|
|
53
29
|
const colorData11 = "rgb(13, 163, 166)";
|
|
54
|
-
const colorData01 = "rgb(122, 1, 196)";
|
|
55
30
|
const colorData12 = "rgb(11, 114, 136)";
|
|
56
|
-
const colorData02 = "rgb(0, 155, 204)";
|
|
57
31
|
const colorData13 = "rgb(179, 137, 24)";
|
|
58
|
-
const colorData03 = "rgb(27, 171, 75)";
|
|
59
32
|
const colorData14 = "rgb(128, 98, 17)";
|
|
60
|
-
const colorData04 = "rgb(255, 86, 34)";
|
|
61
33
|
const colorData15 = "rgb(0, 41, 77)";
|
|
62
|
-
const
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const
|
|
66
|
-
const
|
|
67
|
-
const
|
|
34
|
+
const colorGray = "rgb(207, 210, 212)";
|
|
35
|
+
const colorGrayDark = "rgb(144, 149, 153)";
|
|
36
|
+
const colorGrayDarkTurva = "rgb(116, 116, 117)";
|
|
37
|
+
const colorGrayDarker = "rgb(101, 119, 135)";
|
|
38
|
+
const colorGrayDarkerTurva = "rgb(68, 68, 69)";
|
|
39
|
+
const colorGrayLight = "rgb(225, 227, 230)";
|
|
40
|
+
const colorGrayLightTurva = "rgb(228, 228, 230)";
|
|
41
|
+
const colorGrayLighter = "rgb(245, 248, 250)";
|
|
42
|
+
const colorGrayLighterTurva = "rgb(245, 245, 247)";
|
|
43
|
+
const colorGrayLightest = "rgb(255, 255, 255)";
|
|
44
|
+
const colorGrayLightestTurva = "rgb(255, 255, 255)";
|
|
45
|
+
const colorGrayTurva = "rgb(207, 207, 209)";
|
|
46
|
+
const colorPrimary = "rgb(0, 119, 179)";
|
|
47
|
+
const colorPrimaryDark = "rgb(0, 77, 128)";
|
|
48
|
+
const colorPrimaryDarkTurva = "rgb(148, 9, 37)";
|
|
49
|
+
const colorPrimaryDarker = "rgb(0, 98, 154)";
|
|
50
|
+
const colorPrimaryDarkerTurva = "rgb(173, 11, 43)";
|
|
51
|
+
const colorPrimaryLight = "rgb(205, 229, 241)";
|
|
52
|
+
const colorPrimaryLightTurva = "rgb(244, 207, 214)";
|
|
53
|
+
const colorPrimaryLighter = "rgb(230, 242, 248)";
|
|
54
|
+
const colorPrimaryLighterTurva = "rgb(249, 230, 234)";
|
|
55
|
+
const colorPrimaryLightest = "rgb(243, 249, 252)";
|
|
56
|
+
const colorPrimaryLightestTurva = "rgb(252, 243, 244)";
|
|
57
|
+
const colorPrimaryTurva = "rgb(198, 12, 48)";
|
|
58
|
+
const colorSecondary = "rgb(0, 41, 77)";
|
|
59
|
+
const colorSecondaryTurva = "rgb(23, 28, 58)";
|
|
60
|
+
const colorSuccess = "rgb(0, 135, 90)";
|
|
61
|
+
const colorSuccessTurva = "rgb(8, 135, 78)";
|
|
62
|
+
const colorWarning = "rgb(247, 178, 40)";
|
|
63
|
+
const colorWarningTurva = "rgb(250, 164, 15)";
|
|
68
64
|
const fontFamilyHeading = "'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
65
|
+
const fontFamilyHeadingTurva = "'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
69
66
|
const fontFamilyText = "'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
70
|
-
const
|
|
71
|
-
const fontWeightNormal = "400";
|
|
72
|
-
const fontWeightSemiBold = "600";
|
|
73
|
-
const fontSizeXxxxLarge = "4.5rem";
|
|
74
|
-
const fontSizeXxxLarge = "3rem";
|
|
75
|
-
const fontSizeXxLarge = "2.25rem";
|
|
76
|
-
const fontSizeXLarge = "1.5rem";
|
|
67
|
+
const fontFamilyTextTurva = "'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
77
68
|
const fontSizeLarge = "1.25rem";
|
|
78
69
|
const fontSizeMedium = "1rem";
|
|
79
70
|
const fontSizeSmall = "0.875rem";
|
|
71
|
+
const fontSizeXLarge = "1.5rem";
|
|
80
72
|
const fontSizeXSmall = "0.75rem";
|
|
81
|
-
const
|
|
73
|
+
const fontSizeXxLarge = "2.25rem";
|
|
74
|
+
const fontSizeXxxLarge = "3rem";
|
|
75
|
+
const fontSizeXxxxLarge = "4.5rem";
|
|
76
|
+
const fontWeightBold = "700";
|
|
77
|
+
const fontWeightExtraBold = "800";
|
|
78
|
+
const fontWeightNormal = "400";
|
|
79
|
+
const fontWeightSemiBold = "600";
|
|
80
|
+
const letterSpacingHeading = "-0.01rem";
|
|
81
|
+
const lineHeightMedium = "1.5";
|
|
82
|
+
const lineHeightSmall = "1.25";
|
|
83
|
+
const lineHeightXSmall = "1.1";
|
|
84
|
+
const mediaQueryLarge = "'(min-width: 62em)'";
|
|
85
|
+
const mediaQueryMedium = "'(min-width: 48em)'";
|
|
86
|
+
const mediaQuerySmall = "'(min-width: 36em)'";
|
|
87
|
+
const mediaQueryXLarge = "'(min-width: 64.0625em)'";
|
|
88
|
+
const mediaQueryXSmall = "'(max-width: 35.9375em)'";
|
|
89
|
+
const mediaQueryXxLarge = "'(min-width: 76.25em)'";
|
|
90
|
+
const mediaQueryXxSmall = "'(max-width: 22.5em)'";
|
|
91
|
+
const mediaQueryXxxLarge = "'(min-width: 106.25em)'";
|
|
92
|
+
const mediaQueryXxxSmall = "'(max-width: 20.5em)'";
|
|
93
|
+
const opacity30 = "0.30";
|
|
94
|
+
const opacity50 = "0.50";
|
|
95
|
+
const opacity75 = "0.75";
|
|
96
|
+
const opacity85 = "0.85";
|
|
97
|
+
const radiusCircle = "50%";
|
|
82
98
|
const radiusDefault = "4px";
|
|
83
|
-
const radiusMedium = "8px";
|
|
84
99
|
const radiusIntermediate = "12px";
|
|
85
100
|
const radiusLarge = "16px";
|
|
86
|
-
const
|
|
101
|
+
const radiusMedium = "8px";
|
|
87
102
|
const radiusPill = "20rem";
|
|
88
|
-
const
|
|
89
|
-
const
|
|
103
|
+
const radiusSharp = "0";
|
|
104
|
+
const shadowCard = "0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";
|
|
105
|
+
const shadowCardTurva = "0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";
|
|
90
106
|
const shadowDefault = "0 2px 6px 0 rgba(0, 41, 77, 0.07)";
|
|
91
|
-
const
|
|
92
|
-
const shadowTooltip = "0 2px 10px 0 rgba(0, 41, 77, 0.07)";
|
|
93
|
-
const shadowHoverInputTurva = "0 0 0 1px #747475";
|
|
94
|
-
const shadowErrorTurva = "0 0 0 1px #e55039";
|
|
95
|
-
const shadowHoverInput = "0 0 0 1px #909599";
|
|
107
|
+
const shadowDefaultTurva = "0 2px 6px 0 rgba(117, 117, 117, 0.13)";
|
|
96
108
|
const shadowError = "0 0 0 1px #de2362";
|
|
97
|
-
const
|
|
98
|
-
const shadowModal = "0 2px 20px 0 rgba(0, 0, 0, 0.2)";
|
|
99
|
-
const shadowCard = "0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)";
|
|
100
|
-
const shadowFocusTurva = "0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";
|
|
109
|
+
const shadowErrorTurva = "0 0 0 1px #e55039";
|
|
101
110
|
const shadowFocus = "0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3";
|
|
102
|
-
const
|
|
111
|
+
const shadowFocusInput = "0 0 0 1px #0077b3";
|
|
112
|
+
const shadowFocusInputTurva = "0 0 0 1px #171c3a";
|
|
113
|
+
const shadowFocusTurva = "0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a";
|
|
103
114
|
const shadowHover = "0 2px 10px 0 rgba(0, 41, 77, 0.1)";
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
const spaceXxLarge = "36px";
|
|
112
|
-
const spaceXxxxLarge = "72px";
|
|
113
|
-
const spaceXxxxxLarge = "94px";
|
|
114
|
-
const spaceXxxLarge = "48px";
|
|
115
|
-
const spaceXLarge = "28px";
|
|
116
|
-
const sizeIconXxLarge = "48px";
|
|
117
|
-
const sizeFormBorder = "1px";
|
|
118
|
-
const sizeStepMedium = "40px";
|
|
115
|
+
const shadowHoverInput = "0 0 0 1px #909599";
|
|
116
|
+
const shadowHoverInputTurva = "0 0 0 1px #747475";
|
|
117
|
+
const shadowHoverTurva = "0 2px 10px 0 rgba(117, 117, 117, 0.15)";
|
|
118
|
+
const shadowModal = "0 2px 20px 0 rgba(0, 0, 0, 0.2)";
|
|
119
|
+
const shadowTooltip = "0 2px 10px 0 rgba(0, 41, 77, 0.07)";
|
|
120
|
+
const shadowTooltipTurva = "0 2px 10px 0 rgba(117, 117, 117, 0.13)";
|
|
121
|
+
const sizeButtonBorder = "1px";
|
|
119
122
|
const sizeButtonMinWidth = "8rem";
|
|
123
|
+
const sizeButtonTinyBorder = "1px";
|
|
124
|
+
const sizeFormBorder = "1px";
|
|
120
125
|
const sizeHeader = "4rem";
|
|
121
|
-
const
|
|
126
|
+
const sizeIconLarge = "30px";
|
|
127
|
+
const sizeIconMedium = "24px";
|
|
128
|
+
const sizeIconSmall = "20px";
|
|
122
129
|
const sizeIconXLarge = "36px";
|
|
130
|
+
const sizeIconXSmall = "16px";
|
|
131
|
+
const sizeIconXxLarge = "48px";
|
|
123
132
|
const sizeIconXxSmall = "10px";
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
const sizeIconLarge = "30px";
|
|
133
|
+
const sizeIconXxxLarge = "72px";
|
|
134
|
+
const sizeIconXxxSmall = "7px";
|
|
127
135
|
const sizeLayoutMaxWidth = "1110px";
|
|
128
|
-
const sizeTappableSquare = "48px";
|
|
129
|
-
const sizeIconXSmall = "16px";
|
|
130
136
|
const sizeMediumBorder = "2px";
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
const
|
|
137
|
+
const sizeNavigation = "3rem";
|
|
138
|
+
const sizeStepMedium = "40px";
|
|
139
|
+
const sizeStepSmall = "30px";
|
|
140
|
+
const sizeTappableSquare = "48px";
|
|
141
|
+
const spaceLarge = "20px";
|
|
142
|
+
const spaceMedium = "16px";
|
|
143
|
+
const spaceSmall = "12px";
|
|
144
|
+
const spaceXLarge = "28px";
|
|
145
|
+
const spaceXSmall = "8px";
|
|
146
|
+
const spaceXxLarge = "36px";
|
|
147
|
+
const spaceXxSmall = "4px";
|
|
148
|
+
const spaceXxxLarge = "48px";
|
|
149
|
+
const spaceXxxSmall = "2px";
|
|
150
|
+
const spaceXxxxLarge = "72px";
|
|
151
|
+
const spaceXxxxxLarge = "94px";
|
|
152
|
+
const transitionQuickly = "300ms ease";
|
|
153
|
+
const transitionSlowly = "600ms ease";
|
|
154
|
+
const zIndexDeep = "-999999";
|
|
143
155
|
const zIndexDefault = "1";
|
|
144
|
-
const
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
const
|
|
156
|
+
const zIndexDropdown = "600";
|
|
157
|
+
const zIndexHeader = "400";
|
|
158
|
+
const zIndexMask = "200";
|
|
159
|
+
const zIndexMaskButtons = "250";
|
|
148
160
|
const zIndexMasked = "100";
|
|
149
|
-
const
|
|
161
|
+
const zIndexModal = "900";
|
|
150
162
|
const zIndexOverlay = "700";
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
155
|
-
const lineHeightXSmall = "1.1";
|
|
156
|
-
const transitionQuickly = "300ms ease";
|
|
157
|
-
const transitionSlowly = "600ms ease";
|
|
158
|
-
const mediaQueryXxxLarge = "'(min-width: 106.25em)'";
|
|
159
|
-
const mediaQueryXLarge = "'(min-width: 64.0625em)'";
|
|
160
|
-
const mediaQueryMedium = "'(min-width: 48em)'";
|
|
161
|
-
const mediaQueryLarge = "'(min-width: 62em)'";
|
|
162
|
-
const mediaQueryXxLarge = "'(min-width: 76.25em)'";
|
|
163
|
-
const mediaQueryXSmall = "'(max-width: 35.9375em)'";
|
|
164
|
-
const mediaQueryXxxSmall = "'(max-width: 20.5em)'";
|
|
165
|
-
const mediaQuerySmall = "'(min-width: 36em)'";
|
|
166
|
-
const mediaQueryXxSmall = "'(max-width: 22.5em)'";
|
|
163
|
+
const zIndexPopup = "950";
|
|
164
|
+
const zIndexSpinner = "800";
|
|
165
|
+
const zIndexSticky = "300";
|
|
166
|
+
const zIndexToast = "500";
|
|
167
167
|
|
|
168
168
|
const tokens = /*#__PURE__*/Object.freeze({
|
|
169
169
|
__proto__: null,
|
|
170
|
-
colorWarning: colorWarning,
|
|
171
|
-
colorGrayDarker: colorGrayDarker,
|
|
172
|
-
colorGrayLighter: colorGrayLighter,
|
|
173
|
-
colorCategoryHome: colorCategoryHome,
|
|
174
|
-
colorPrimary: colorPrimary,
|
|
175
|
-
colorCategoryVehicle: colorCategoryVehicle,
|
|
176
|
-
colorSuccess: colorSuccess,
|
|
177
|
-
colorCategoryFamily: colorCategoryFamily,
|
|
178
|
-
colorPrimaryLightest: colorPrimaryLightest,
|
|
179
|
-
colorPrimaryLighter: colorPrimaryLighter,
|
|
180
170
|
colorBrandBlue: colorBrandBlue,
|
|
181
|
-
|
|
182
|
-
|
|
171
|
+
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
172
|
+
colorCategoryFamily: colorCategoryFamily,
|
|
173
|
+
colorCategoryFamilyTurva: colorCategoryFamilyTurva,
|
|
183
174
|
colorCategoryFinance: colorCategoryFinance,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
colorSecondary: colorSecondary,
|
|
175
|
+
colorCategoryHome: colorCategoryHome,
|
|
176
|
+
colorCategoryHomeTurva: colorCategoryHomeTurva,
|
|
187
177
|
colorCategoryPet: colorCategoryPet,
|
|
188
|
-
colorPrimaryDarker: colorPrimaryDarker,
|
|
189
|
-
colorPrimaryLight: colorPrimaryLight,
|
|
190
178
|
colorCategoryTravel: colorCategoryTravel,
|
|
191
|
-
colorGray: colorGray,
|
|
192
|
-
colorDanger: colorDanger,
|
|
193
|
-
colorGrayDarkerTurva: colorGrayDarkerTurva,
|
|
194
|
-
colorGrayLighterTurva: colorGrayLighterTurva,
|
|
195
|
-
colorCategoryHomeTurva: colorCategoryHomeTurva,
|
|
196
|
-
colorPrimaryTurva: colorPrimaryTurva,
|
|
197
|
-
colorCategoryVehicleTurva: colorCategoryVehicleTurva,
|
|
198
|
-
colorSuccessTurva: colorSuccessTurva,
|
|
199
|
-
colorPrimaryLightestTurva: colorPrimaryLightestTurva,
|
|
200
|
-
colorCategoryFamilyTurva: colorCategoryFamilyTurva,
|
|
201
|
-
colorCategoryUnionTurva: colorCategoryUnionTurva,
|
|
202
|
-
colorPrimaryLighterTurva: colorPrimaryLighterTurva,
|
|
203
|
-
colorPrimaryDarkTurva: colorPrimaryDarkTurva,
|
|
204
|
-
colorGrayLightestTurva: colorGrayLightestTurva,
|
|
205
|
-
colorGrayDarkTurva: colorGrayDarkTurva,
|
|
206
|
-
colorGrayLightTurva: colorGrayLightTurva,
|
|
207
|
-
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
208
|
-
colorSecondaryTurva: colorSecondaryTurva,
|
|
209
|
-
colorPrimaryDarkerTurva: colorPrimaryDarkerTurva,
|
|
210
|
-
colorPrimaryLightTurva: colorPrimaryLightTurva,
|
|
211
179
|
colorCategoryTravelTurva: colorCategoryTravelTurva,
|
|
212
|
-
|
|
180
|
+
colorCategoryUnionTurva: colorCategoryUnionTurva,
|
|
181
|
+
colorCategoryVehicle: colorCategoryVehicle,
|
|
182
|
+
colorCategoryVehicleTurva: colorCategoryVehicleTurva,
|
|
183
|
+
colorDanger: colorDanger,
|
|
213
184
|
colorDangerTurva: colorDangerTurva,
|
|
214
|
-
|
|
185
|
+
colorData01: colorData01,
|
|
186
|
+
colorData02: colorData02,
|
|
187
|
+
colorData03: colorData03,
|
|
188
|
+
colorData04: colorData04,
|
|
189
|
+
colorData05: colorData05,
|
|
190
|
+
colorData06: colorData06,
|
|
215
191
|
colorData07: colorData07,
|
|
216
192
|
colorData08: colorData08,
|
|
217
193
|
colorData09: colorData09,
|
|
218
194
|
colorData10: colorData10,
|
|
219
195
|
colorData11: colorData11,
|
|
220
|
-
colorData01: colorData01,
|
|
221
196
|
colorData12: colorData12,
|
|
222
|
-
colorData02: colorData02,
|
|
223
197
|
colorData13: colorData13,
|
|
224
|
-
colorData03: colorData03,
|
|
225
198
|
colorData14: colorData14,
|
|
226
|
-
colorData04: colorData04,
|
|
227
199
|
colorData15: colorData15,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
200
|
+
colorGray: colorGray,
|
|
201
|
+
colorGrayDark: colorGrayDark,
|
|
202
|
+
colorGrayDarkTurva: colorGrayDarkTurva,
|
|
203
|
+
colorGrayDarker: colorGrayDarker,
|
|
204
|
+
colorGrayDarkerTurva: colorGrayDarkerTurva,
|
|
205
|
+
colorGrayLight: colorGrayLight,
|
|
206
|
+
colorGrayLightTurva: colorGrayLightTurva,
|
|
207
|
+
colorGrayLighter: colorGrayLighter,
|
|
208
|
+
colorGrayLighterTurva: colorGrayLighterTurva,
|
|
209
|
+
colorGrayLightest: colorGrayLightest,
|
|
210
|
+
colorGrayLightestTurva: colorGrayLightestTurva,
|
|
211
|
+
colorGrayTurva: colorGrayTurva,
|
|
212
|
+
colorPrimary: colorPrimary,
|
|
213
|
+
colorPrimaryDark: colorPrimaryDark,
|
|
214
|
+
colorPrimaryDarkTurva: colorPrimaryDarkTurva,
|
|
215
|
+
colorPrimaryDarker: colorPrimaryDarker,
|
|
216
|
+
colorPrimaryDarkerTurva: colorPrimaryDarkerTurva,
|
|
217
|
+
colorPrimaryLight: colorPrimaryLight,
|
|
218
|
+
colorPrimaryLightTurva: colorPrimaryLightTurva,
|
|
219
|
+
colorPrimaryLighter: colorPrimaryLighter,
|
|
220
|
+
colorPrimaryLighterTurva: colorPrimaryLighterTurva,
|
|
221
|
+
colorPrimaryLightest: colorPrimaryLightest,
|
|
222
|
+
colorPrimaryLightestTurva: colorPrimaryLightestTurva,
|
|
223
|
+
colorPrimaryTurva: colorPrimaryTurva,
|
|
224
|
+
colorSecondary: colorSecondary,
|
|
225
|
+
colorSecondaryTurva: colorSecondaryTurva,
|
|
226
|
+
colorSuccess: colorSuccess,
|
|
227
|
+
colorSuccessTurva: colorSuccessTurva,
|
|
228
|
+
colorWarning: colorWarning,
|
|
229
|
+
colorWarningTurva: colorWarningTurva,
|
|
234
230
|
fontFamilyHeading: fontFamilyHeading,
|
|
231
|
+
fontFamilyHeadingTurva: fontFamilyHeadingTurva,
|
|
235
232
|
fontFamilyText: fontFamilyText,
|
|
236
|
-
|
|
237
|
-
fontWeightNormal: fontWeightNormal,
|
|
238
|
-
fontWeightSemiBold: fontWeightSemiBold,
|
|
239
|
-
fontSizeXxxxLarge: fontSizeXxxxLarge,
|
|
240
|
-
fontSizeXxxLarge: fontSizeXxxLarge,
|
|
241
|
-
fontSizeXxLarge: fontSizeXxLarge,
|
|
242
|
-
fontSizeXLarge: fontSizeXLarge,
|
|
233
|
+
fontFamilyTextTurva: fontFamilyTextTurva,
|
|
243
234
|
fontSizeLarge: fontSizeLarge,
|
|
244
235
|
fontSizeMedium: fontSizeMedium,
|
|
245
236
|
fontSizeSmall: fontSizeSmall,
|
|
237
|
+
fontSizeXLarge: fontSizeXLarge,
|
|
246
238
|
fontSizeXSmall: fontSizeXSmall,
|
|
247
|
-
|
|
239
|
+
fontSizeXxLarge: fontSizeXxLarge,
|
|
240
|
+
fontSizeXxxLarge: fontSizeXxxLarge,
|
|
241
|
+
fontSizeXxxxLarge: fontSizeXxxxLarge,
|
|
242
|
+
fontWeightBold: fontWeightBold,
|
|
243
|
+
fontWeightExtraBold: fontWeightExtraBold,
|
|
244
|
+
fontWeightNormal: fontWeightNormal,
|
|
245
|
+
fontWeightSemiBold: fontWeightSemiBold,
|
|
246
|
+
letterSpacingHeading: letterSpacingHeading,
|
|
247
|
+
lineHeightMedium: lineHeightMedium,
|
|
248
|
+
lineHeightSmall: lineHeightSmall,
|
|
249
|
+
lineHeightXSmall: lineHeightXSmall,
|
|
250
|
+
mediaQueryLarge: mediaQueryLarge,
|
|
251
|
+
mediaQueryMedium: mediaQueryMedium,
|
|
252
|
+
mediaQuerySmall: mediaQuerySmall,
|
|
253
|
+
mediaQueryXLarge: mediaQueryXLarge,
|
|
254
|
+
mediaQueryXSmall: mediaQueryXSmall,
|
|
255
|
+
mediaQueryXxLarge: mediaQueryXxLarge,
|
|
256
|
+
mediaQueryXxSmall: mediaQueryXxSmall,
|
|
257
|
+
mediaQueryXxxLarge: mediaQueryXxxLarge,
|
|
258
|
+
mediaQueryXxxSmall: mediaQueryXxxSmall,
|
|
259
|
+
opacity30: opacity30,
|
|
260
|
+
opacity50: opacity50,
|
|
261
|
+
opacity75: opacity75,
|
|
262
|
+
opacity85: opacity85,
|
|
263
|
+
radiusCircle: radiusCircle,
|
|
248
264
|
radiusDefault: radiusDefault,
|
|
249
|
-
radiusMedium: radiusMedium,
|
|
250
265
|
radiusIntermediate: radiusIntermediate,
|
|
251
266
|
radiusLarge: radiusLarge,
|
|
252
|
-
|
|
267
|
+
radiusMedium: radiusMedium,
|
|
253
268
|
radiusPill: radiusPill,
|
|
254
|
-
|
|
255
|
-
|
|
269
|
+
radiusSharp: radiusSharp,
|
|
270
|
+
shadowCard: shadowCard,
|
|
271
|
+
shadowCardTurva: shadowCardTurva,
|
|
256
272
|
shadowDefault: shadowDefault,
|
|
257
|
-
|
|
258
|
-
shadowTooltip: shadowTooltip,
|
|
259
|
-
shadowHoverInputTurva: shadowHoverInputTurva,
|
|
260
|
-
shadowErrorTurva: shadowErrorTurva,
|
|
261
|
-
shadowHoverInput: shadowHoverInput,
|
|
273
|
+
shadowDefaultTurva: shadowDefaultTurva,
|
|
262
274
|
shadowError: shadowError,
|
|
263
|
-
|
|
264
|
-
shadowModal: shadowModal,
|
|
265
|
-
shadowCard: shadowCard,
|
|
266
|
-
shadowFocusTurva: shadowFocusTurva,
|
|
275
|
+
shadowErrorTurva: shadowErrorTurva,
|
|
267
276
|
shadowFocus: shadowFocus,
|
|
268
|
-
|
|
277
|
+
shadowFocusInput: shadowFocusInput,
|
|
278
|
+
shadowFocusInputTurva: shadowFocusInputTurva,
|
|
279
|
+
shadowFocusTurva: shadowFocusTurva,
|
|
269
280
|
shadowHover: shadowHover,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
spaceXxLarge: spaceXxLarge,
|
|
278
|
-
spaceXxxxLarge: spaceXxxxLarge,
|
|
279
|
-
spaceXxxxxLarge: spaceXxxxxLarge,
|
|
280
|
-
spaceXxxLarge: spaceXxxLarge,
|
|
281
|
-
spaceXLarge: spaceXLarge,
|
|
282
|
-
sizeIconXxLarge: sizeIconXxLarge,
|
|
283
|
-
sizeFormBorder: sizeFormBorder,
|
|
284
|
-
sizeStepMedium: sizeStepMedium,
|
|
281
|
+
shadowHoverInput: shadowHoverInput,
|
|
282
|
+
shadowHoverInputTurva: shadowHoverInputTurva,
|
|
283
|
+
shadowHoverTurva: shadowHoverTurva,
|
|
284
|
+
shadowModal: shadowModal,
|
|
285
|
+
shadowTooltip: shadowTooltip,
|
|
286
|
+
shadowTooltipTurva: shadowTooltipTurva,
|
|
287
|
+
sizeButtonBorder: sizeButtonBorder,
|
|
285
288
|
sizeButtonMinWidth: sizeButtonMinWidth,
|
|
289
|
+
sizeButtonTinyBorder: sizeButtonTinyBorder,
|
|
290
|
+
sizeFormBorder: sizeFormBorder,
|
|
286
291
|
sizeHeader: sizeHeader,
|
|
287
|
-
|
|
292
|
+
sizeIconLarge: sizeIconLarge,
|
|
293
|
+
sizeIconMedium: sizeIconMedium,
|
|
294
|
+
sizeIconSmall: sizeIconSmall,
|
|
288
295
|
sizeIconXLarge: sizeIconXLarge,
|
|
296
|
+
sizeIconXSmall: sizeIconXSmall,
|
|
297
|
+
sizeIconXxLarge: sizeIconXxLarge,
|
|
289
298
|
sizeIconXxSmall: sizeIconXxSmall,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
sizeIconLarge: sizeIconLarge,
|
|
299
|
+
sizeIconXxxLarge: sizeIconXxxLarge,
|
|
300
|
+
sizeIconXxxSmall: sizeIconXxxSmall,
|
|
293
301
|
sizeLayoutMaxWidth: sizeLayoutMaxWidth,
|
|
294
|
-
sizeTappableSquare: sizeTappableSquare,
|
|
295
|
-
sizeIconXSmall: sizeIconXSmall,
|
|
296
302
|
sizeMediumBorder: sizeMediumBorder,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
sizeNavigation: sizeNavigation,
|
|
304
|
+
sizeStepMedium: sizeStepMedium,
|
|
305
|
+
sizeStepSmall: sizeStepSmall,
|
|
306
|
+
sizeTappableSquare: sizeTappableSquare,
|
|
307
|
+
spaceLarge: spaceLarge,
|
|
308
|
+
spaceMedium: spaceMedium,
|
|
309
|
+
spaceSmall: spaceSmall,
|
|
310
|
+
spaceXLarge: spaceXLarge,
|
|
311
|
+
spaceXSmall: spaceXSmall,
|
|
312
|
+
spaceXxLarge: spaceXxLarge,
|
|
313
|
+
spaceXxSmall: spaceXxSmall,
|
|
314
|
+
spaceXxxLarge: spaceXxxLarge,
|
|
315
|
+
spaceXxxSmall: spaceXxxSmall,
|
|
316
|
+
spaceXxxxLarge: spaceXxxxLarge,
|
|
317
|
+
spaceXxxxxLarge: spaceXxxxxLarge,
|
|
318
|
+
transitionQuickly: transitionQuickly,
|
|
319
|
+
transitionSlowly: transitionSlowly,
|
|
320
|
+
zIndexDeep: zIndexDeep,
|
|
309
321
|
zIndexDefault: zIndexDefault,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
322
|
+
zIndexDropdown: zIndexDropdown,
|
|
323
|
+
zIndexHeader: zIndexHeader,
|
|
324
|
+
zIndexMask: zIndexMask,
|
|
325
|
+
zIndexMaskButtons: zIndexMaskButtons,
|
|
314
326
|
zIndexMasked: zIndexMasked,
|
|
315
|
-
|
|
327
|
+
zIndexModal: zIndexModal,
|
|
316
328
|
zIndexOverlay: zIndexOverlay,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
lineHeightXSmall: lineHeightXSmall,
|
|
322
|
-
transitionQuickly: transitionQuickly,
|
|
323
|
-
transitionSlowly: transitionSlowly,
|
|
324
|
-
mediaQueryXxxLarge: mediaQueryXxxLarge,
|
|
325
|
-
mediaQueryXLarge: mediaQueryXLarge,
|
|
326
|
-
mediaQueryMedium: mediaQueryMedium,
|
|
327
|
-
mediaQueryLarge: mediaQueryLarge,
|
|
328
|
-
mediaQueryXxLarge: mediaQueryXxLarge,
|
|
329
|
-
mediaQueryXSmall: mediaQueryXSmall,
|
|
330
|
-
mediaQueryXxxSmall: mediaQueryXxxSmall,
|
|
331
|
-
mediaQuerySmall: mediaQuerySmall,
|
|
332
|
-
mediaQueryXxSmall: mediaQueryXxSmall
|
|
329
|
+
zIndexPopup: zIndexPopup,
|
|
330
|
+
zIndexSpinner: zIndexSpinner,
|
|
331
|
+
zIndexSticky: zIndexSticky,
|
|
332
|
+
zIndexToast: zIndexToast
|
|
333
333
|
});
|
|
334
334
|
|
|
335
335
|
export { mediaQueryXSmall as a, mediaQuerySmall as b, mediaQueryMedium as c, mediaQueryLarge as d, mediaQueryXLarge as e, mediaQueryXxLarge as f, mediaQueryXxxLarge as g, mediaQueryXxxSmall as h, colorPrimaryTurva as i, colorGrayTurva as j, colorPrimary as k, colorGray as l, mediaQueryXxSmall as m, colorGrayLightest as n, colorBrandGrayTurva as o, sizeNavigation as p, sizeHeader as s, tokens as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function s(t){try{u(i["throw"](t))}catch(t){r(t)}}function u(t){t.done?n(t.value):o(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(i=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-356c0666.js";import{i as inheritGlobalTheme}from"./themeable-component-724c0f7e.js";import{c as createID}from"./create-id-149a1b6d.js";import{d as debounce}from"./js-utils-9b9e0039.js";import{i as isKeyboardClick}from"./keyboard-utils-439bcc8b.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-00ca4c55.js";import{c as capitalizeFirstLetter,g as getColorByName,s as shadeRGBColor}from"./token-utils-
|
|
4
|
+
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-356c0666.js";import{i as inheritGlobalTheme}from"./themeable-component-724c0f7e.js";import{c as createID}from"./create-id-149a1b6d.js";import{d as debounce}from"./js-utils-9b9e0039.js";import{i as isKeyboardClick}from"./keyboard-utils-439bcc8b.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-00ca4c55.js";import{c as capitalizeFirstLetter,g as getColorByName,s as shadeRGBColor}from"./token-utils-1f843fb9.js";import"./string-utils-ca039233.js";import"./tokens.module-ed0ed26f.js";var duetActionButtonCss="*,*::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:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(0, 41, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9e9eb}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#ddddde !important}.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";var DuetActionButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetActionEvent=createEvent(this,"duetActionEvent",6);this.listId=createID("duet-action-button");this.emitPageEvent=debounce((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=getLocaleString(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(isKeyboardClick(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return capitalizeFirstLetter("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":getColorByName(this.color,this.theme);var i=getColorByName(this.background,this.theme);var o=i?shadeRGBColor(i,-.1):i;var r=i?"\n button.duet-action-button {\n background: ".concat(i," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(o," !important;\n }\n "):"";var a={color:n,"border-color":getColorByName(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var s={ref:function(t){return e.nativeButton=t},part:"button",style:a,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return h(Host,{onKeyDown:function(t){return e.onKeyboardDown(t)}},h("style",{innerHTML:r}),this.url&&!this.disabled?h("a",Object.assign({},s,{href:this.url}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):h("button",Object.assign({},s,{onClick:function(t){return e.onMouseHandler(t)}}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),h("duet-visually-hidden",null,h("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetActionButton.style=duetActionButtonCss;export{DuetActionButton as duet_action_button};
|