@duetds/components 10.0.0-alpha.29 → 10.0.0-alpha.30
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 +416 -157
- package/hydrate/index.mjs +416 -157
- package/lib/cjs/{a11y-utils-C2urHioz.js → a11y-utils-D2e4DE4A.js} +1 -1
- package/lib/cjs/{app-globals-CiRzLcdj.js → app-globals-P2FPiN9v.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
- package/lib/cjs/duet-alert.cjs.entry.js +12 -17
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +12 -10
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
- package/lib/cjs/duet-hero.cjs.entry.js +5 -5
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-layout.cjs.entry.js +3 -3
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +8 -8
- package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-panel.cjs.entry.js +3 -3
- package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-progress.cjs.entry.js +4 -4
- package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-select.cjs.entry.js +5 -5
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-textarea.cjs.entry.js +6 -6
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +6 -6
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{errorcodes.utils-CT287Ycp.js → errorcodes.utils-B_Hqvx-5.js} +1 -1
- package/lib/cjs/{focus-utils-DYmtJ1FV.js → focus-utils-B7QfRXd-.js} +1 -1
- package/lib/cjs/{index-ULRMHMT6.js → index-B1t_Yumd.js} +1 -1
- package/lib/cjs/{label-Cw2Vvd6f.js → label-e--2ISFA.js} +1 -1
- package/lib/cjs/{language-utils-D_noDTNR.js → language-utils-Ce6b_uA3.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{slot-utils-CuWfl8gF.js → slot-utils-C8k-6Rvc.js} +6 -1
- package/lib/cjs/{themeable-component-vXSpPXDS.js → themeable-component-DmPMm0Cz.js} +1 -1
- package/lib/cjs/{token-utils-b3aW02zZ.js → token-utils-COKjUxmn.js} +13 -13
- package/lib/cjs/{tokens-D7zqZKjQ.js → tokens-9aevMbB1.js} +144 -0
- package/lib/cjs/{tokens.module-7opSZfop.js → tokens.module-Bhh9B2g8.js} +96 -0
- package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
- package/lib/collection/components/duet-alert/duet-alert.css +12 -23
- package/lib/collection/components/duet-alert/duet-alert.js +17 -16
- package/lib/collection/components/duet-badge/duet-badge.css +12 -12
- package/lib/collection/components/duet-banner/duet-banner.css +6 -28
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
- package/lib/collection/components/duet-button/duet-button.css +68 -60
- package/lib/collection/components/duet-callout/duet-callout.css +3 -3
- package/lib/collection/components/duet-caption/duet-caption.css +4 -4
- package/lib/collection/components/duet-card/duet-card.css +25 -18
- package/lib/collection/components/duet-card/duet-card.js +6 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -12
- package/lib/collection/components/duet-chip/duet-chip.css +33 -28
- package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +51 -52
- package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +26 -14
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
- package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +70 -53
- package/lib/collection/components/duet-divider/duet-divider.css +5 -5
- package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
- package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
- package/lib/collection/components/duet-footer/duet-footer.css +33 -19
- package/lib/collection/components/duet-grid/duet-grid.css +2 -6
- package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
- package/lib/collection/components/duet-header/duet-header.css +116 -88
- package/lib/collection/components/duet-heading/duet-heading.css +7 -7
- package/lib/collection/components/duet-hero/duet-hero.css +27 -24
- package/lib/collection/components/duet-icon/duet-icon.css +7 -7
- package/lib/collection/components/duet-indicator/duet-indicator.css +4 -4
- package/lib/collection/components/duet-input/duet-input.css +77 -83
- package/lib/collection/components/duet-label/duet-label.css +5 -5
- package/lib/collection/components/duet-layout/duet-layout.css +4 -4
- package/lib/collection/components/duet-link/duet-link.css +24 -24
- package/lib/collection/components/duet-list/duet-list.css +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
- package/lib/collection/components/duet-logo/duet-logo.css +16 -8
- package/lib/collection/components/duet-logo/duet-logo.js +2 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
- package/lib/collection/components/duet-modal/duet-modal.css +13 -13
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +48 -40
- package/lib/collection/components/duet-nav/duet-nav.css +4 -4
- package/lib/collection/components/duet-notification/duet-notification.css +18 -16
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +20 -15
- package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
- package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
- package/lib/collection/components/duet-panel/duet-panel.css +8 -9
- package/lib/collection/components/duet-paragraph/duet-paragraph.css +9 -9
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +5 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
- package/lib/collection/components/duet-progress/duet-progress.css +14 -14
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +1 -1
- package/lib/collection/components/duet-radio/duet-radio.css +22 -15
- package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +35 -30
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
- package/lib/collection/components/duet-select/duet-select.css +38 -33
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
- package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +23 -23
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
- package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.css +5 -5
- package/lib/collection/components/duet-step/duet-step.css +17 -15
- package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
- package/lib/collection/components/duet-tab/duet-tab.css +15 -11
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +33 -25
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
- package/lib/collection/components/duet-textarea/duet-textarea.css +40 -33
- package/lib/collection/components/duet-toggle/duet-toggle.css +13 -11
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
- package/lib/collection/components/duet-tray/duet-tray.css +36 -32
- package/lib/collection/components/duet-upload/duet-upload.css +6 -6
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
- package/lib/collection/utils/slot-utils.js +4 -0
- package/lib/collection/utils/turva2-color-tokens.js +36 -36
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/p-05b44a92.entry.js +4 -0
- package/lib/duet/p-0c4bde0e.entry.js +4 -0
- package/lib/duet/p-0cf754a3.entry.js +4 -0
- package/lib/duet/{p-55905e75.entry.js → p-11303551.entry.js} +1 -1
- package/lib/duet/{p-22c91ab8.entry.js → p-11dc2ca3.entry.js} +1 -1
- package/lib/duet/p-14b9af85.entry.js +4 -0
- package/lib/duet/{p-0a9945d3.entry.js → p-17b2fad7.entry.js} +1 -1
- package/lib/duet/{p-a6eed3fb.entry.js → p-19c8adaa.entry.js} +1 -1
- package/lib/duet/p-1UeoYjt6.js +4 -0
- package/lib/duet/{p-f25c9b3a.entry.js → p-25bfc839.entry.js} +1 -1
- package/lib/duet/{p-4c421d4a.entry.js → p-2690a420.entry.js} +1 -1
- package/lib/duet/{p-366f6c75.entry.js → p-2f0a1808.entry.js} +1 -1
- package/lib/duet/p-2f34aa4c.entry.js +4 -0
- package/lib/duet/p-37bdc3b9.entry.js +4 -0
- package/lib/duet/p-39e7cc4b.entry.js +4 -0
- package/lib/duet/{p-22baa879.entry.js → p-3c5f5035.entry.js} +1 -1
- package/lib/duet/{p-eb7799de.entry.js → p-3e08bd06.entry.js} +1 -1
- package/lib/duet/p-3f932150.entry.js +4 -0
- package/lib/duet/{p-c6c2f1dc.entry.js → p-414f4b06.entry.js} +1 -1
- package/lib/duet/p-4457a9cc.entry.js +4 -0
- package/lib/duet/p-450983a5.entry.js +4 -0
- package/lib/duet/p-492d90a6.entry.js +4 -0
- package/lib/duet/p-4a743428.entry.js +4 -0
- package/lib/duet/{p-c3e002cb.entry.js → p-4b4d9bdc.entry.js} +1 -1
- package/lib/duet/{p-5eaf6164.entry.js → p-4d4f7a6e.entry.js} +1 -1
- package/lib/duet/{p-2defb00a.entry.js → p-4efa7172.entry.js} +1 -1
- package/lib/duet/{p-726b706a.entry.js → p-513683f8.entry.js} +1 -1
- package/lib/duet/p-51e85e15.entry.js +4 -0
- package/lib/duet/{p-01c80d5a.entry.js → p-52bb0826.entry.js} +1 -1
- package/lib/duet/{p-5175a2dd.entry.js → p-52e64670.entry.js} +1 -1
- package/lib/duet/{p-cc2fe910.entry.js → p-52f52f3f.entry.js} +1 -1
- package/lib/duet/{p-43417674.entry.js → p-559a54d1.entry.js} +1 -1
- package/lib/duet/p-56331c29.entry.js +4 -0
- package/lib/duet/p-5c4687b0.entry.js +4 -0
- package/lib/duet/{p-6b5e575b.entry.js → p-5f2507ee.entry.js} +1 -1
- package/lib/duet/{p-6442c2be.entry.js → p-625bf656.entry.js} +1 -1
- package/lib/duet/p-638d143f.entry.js +4 -0
- package/lib/duet/p-63d75040.entry.js +4 -0
- package/lib/duet/{p-4a0f1cdb.entry.js → p-64482bf0.entry.js} +1 -1
- package/lib/duet/{p-5ef0982d.entry.js → p-64db9820.entry.js} +1 -1
- package/lib/duet/p-653a4f52.entry.js +4 -0
- package/lib/duet/p-67cbf570.entry.js +4 -0
- package/lib/duet/{p-368f8b17.entry.js → p-6d0a6cef.entry.js} +1 -1
- package/lib/duet/p-7ab7b977.entry.js +4 -0
- package/lib/duet/{p-35d6644f.entry.js → p-7d8ba1c8.entry.js} +1 -1
- package/lib/duet/p-80157aab.entry.js +4 -0
- package/lib/duet/p-81fdf21e.entry.js +4 -0
- package/lib/duet/p-835532a3.entry.js +4 -0
- package/lib/duet/{p-10640c4f.entry.js → p-87d63c67.entry.js} +1 -1
- package/lib/duet/{p-a456687d.entry.js → p-88b2a4ab.entry.js} +1 -1
- package/lib/duet/p-89119c58.entry.js +4 -0
- package/lib/duet/p-8a22e0f7.entry.js +4 -0
- package/lib/duet/p-9278d908.entry.js +4 -0
- package/lib/duet/{p-4743f2de.entry.js → p-93d1d4cb.entry.js} +1 -1
- package/lib/duet/{p-7340a148.entry.js → p-963f5510.entry.js} +1 -1
- package/lib/duet/p-9bdedc1c.entry.js +4 -0
- package/lib/duet/p-9c452a9d.entry.js +4 -0
- package/lib/duet/p-9fd3fbde.entry.js +4 -0
- package/lib/duet/{p-0eb86bf1.entry.js → p-9fe9aaec.entry.js} +1 -1
- package/lib/duet/{p-994e0989.entry.js → p-9ff0f670.entry.js} +1 -1
- package/lib/duet/p-BW-c05c3.js +4 -0
- package/lib/duet/p-Bh9dkusU.js +4 -0
- package/lib/duet/{p-DNq3_6qZ.js → p-Bt_DCuTi.js} +1 -1
- package/lib/duet/{p-DhhvHRbK.js → p-CZ7vOBA_.js} +1 -1
- package/lib/duet/{p-B0lHdUDq.js → p-CcCc0HYj.js} +1 -1
- package/lib/duet/{p-Cg-Sy7Qf.js → p-CjRTMlgs.js} +1 -1
- package/lib/duet/p-DcQPCCbT.js +4 -0
- package/lib/duet/p-Df3Doz7n.js +4 -0
- package/lib/duet/{p-Bq8ssolA.js → p-DmZj36y3.js} +1 -1
- package/lib/duet/p-DzEPksgg.js +4 -0
- package/lib/duet/{p-218d8d0c.entry.js → p-a22b9c52.entry.js} +1 -1
- package/lib/duet/{p-7d682f0c.entry.js → p-a39af7a5.entry.js} +1 -1
- package/lib/duet/{p-a954bbc6.entry.js → p-a49e7633.entry.js} +1 -1
- package/lib/duet/{p-06ca53e7.entry.js → p-a5ebee52.entry.js} +1 -1
- package/lib/duet/p-ac7bf279.entry.js +4 -0
- package/lib/duet/p-ae22406a.entry.js +4 -0
- package/lib/duet/{p-d0fe1162.entry.js → p-b17749b1.entry.js} +1 -1
- package/lib/duet/p-b8e1621d.entry.js +4 -0
- package/lib/duet/p-ba0fc0f3.entry.js +4 -0
- package/lib/duet/{p-23cf09fc.entry.js → p-bba12747.entry.js} +1 -1
- package/lib/duet/{p-7dde6589.entry.js → p-bf4c10ea.entry.js} +1 -1
- package/lib/duet/{p-18674149.entry.js → p-c2afba51.entry.js} +1 -1
- package/lib/duet/p-c74cd476.entry.js +4 -0
- package/lib/duet/{p-40965806.entry.js → p-c8c7616a.entry.js} +1 -1
- package/lib/duet/{p-098d9160.entry.js → p-ca8ad275.entry.js} +1 -1
- package/lib/duet/p-cf054af5.entry.js +4 -0
- package/lib/duet/p-d27678ec.entry.js +4 -0
- package/lib/duet/p-d49e4c1a.entry.js +4 -0
- package/lib/duet/p-da90aae6.entry.js +4 -0
- package/lib/duet/{p-b8f14348.entry.js → p-dceb943b.entry.js} +1 -1
- package/lib/duet/{p-7c4b51bc.entry.js → p-df64aa65.entry.js} +1 -1
- package/lib/duet/p-e04410c6.entry.js +4 -0
- package/lib/duet/p-e057762a.entry.js +4 -0
- package/lib/duet/p-ea09620e.entry.js +4 -0
- package/lib/duet/p-ebd27669.entry.js +4 -0
- package/lib/duet/p-ec601f3c.entry.js +4 -0
- package/lib/duet/p-ec7bdfaf.entry.js +4 -0
- package/lib/duet/p-qH1epSqB.js +4 -0
- package/lib/esm/{a11y-utils-k-txkQIa.js → a11y-utils-CfJGGdQJ.js} +1 -1
- package/lib/esm/{app-globals-BL1PM4GK.js → app-globals-DGW8k4EA.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +6 -6
- package/lib/esm/duet-alert.entry.js +12 -17
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +6 -6
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +7 -7
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +12 -10
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +17 -14
- package/lib/esm/duet-combobox.entry.js +5 -5
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +7 -7
- package/lib/esm/duet-divider_2.entry.js +6 -6
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +4 -4
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +10 -9
- package/lib/esm/duet-hero.entry.js +5 -5
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-indicator.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +9 -9
- package/lib/esm/duet-layout.entry.js +3 -3
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +8 -8
- package/lib/esm/duet-multiselect.entry.js +6 -6
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -6
- package/lib/esm/duet-number-input.entry.js +5 -5
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +7 -7
- package/lib/esm/duet-panel.entry.js +3 -3
- package/lib/esm/duet-phone-input.entry.js +5 -5
- package/lib/esm/duet-popup-menu_2.entry.js +7 -7
- package/lib/esm/duet-progress.entry.js +4 -4
- package/lib/esm/duet-promo-card.entry.js +7 -7
- package/lib/esm/duet-radio_2.entry.js +5 -5
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +14 -13
- package/lib/esm/duet-section-layout.entry.js +2 -2
- package/lib/esm/duet-select.entry.js +5 -5
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
- package/lib/esm/duet-slideout-panel.entry.js +15 -13
- package/lib/esm/duet-slideout.entry.js +12 -11
- package/lib/esm/duet-status-icon.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +4 -4
- package/lib/esm/duet-textarea.entry.js +6 -6
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-item.entry.js +6 -6
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
- package/lib/esm/duet-tooltip.entry.js +6 -6
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{errorcodes.utils-DMBhYFft.js → errorcodes.utils-qEQnnnLR.js} +1 -1
- package/lib/esm/{focus-utils-CKJz94Qb.js → focus-utils-D7bOJ91T.js} +1 -1
- package/lib/esm/{index-Cg-Sy7Qf.js → index-CjRTMlgs.js} +1 -1
- package/lib/esm/{label-CiT_iRKt.js → label-DI1u_MFQ.js} +1 -1
- package/lib/esm/{language-utils-CQS4gIfI.js → language-utils-DMUadJDW.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{slot-utils-BtxgUznn.js → slot-utils-DmMljwEF.js} +6 -2
- package/lib/esm/{themeable-component-C76K02P9.js → themeable-component-CULFNCJP.js} +1 -1
- package/lib/esm/{token-utils-C-c-tsXV.js → token-utils-Dw-GA7-4.js} +13 -13
- package/lib/esm/{tokens-DxV3RbmM.js → tokens-DcQPCCbT.js} +144 -0
- package/lib/esm/{tokens.module-Z0D6Gy9e.js → tokens.module-Bh9dkusU.js} +96 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
- package/lib/types/components.d.ts +3 -3
- package/lib/types/utils/slot-utils.d.ts +1 -0
- package/package.json +8 -8
- package/lib/duet/p-01b28129.entry.js +0 -4
- package/lib/duet/p-01bfda23.entry.js +0 -4
- package/lib/duet/p-1d192423.entry.js +0 -4
- package/lib/duet/p-1e043a65.entry.js +0 -4
- package/lib/duet/p-242e8590.entry.js +0 -4
- package/lib/duet/p-3740d6a3.entry.js +0 -4
- package/lib/duet/p-38f1f411.entry.js +0 -4
- package/lib/duet/p-3a774155.entry.js +0 -4
- package/lib/duet/p-49bccc83.entry.js +0 -4
- package/lib/duet/p-4a4795be.entry.js +0 -4
- package/lib/duet/p-531ccf9e.entry.js +0 -4
- package/lib/duet/p-545fc3f7.entry.js +0 -4
- package/lib/duet/p-5689da45.entry.js +0 -4
- package/lib/duet/p-56fbb9c9.entry.js +0 -4
- package/lib/duet/p-6c1a7d2a.entry.js +0 -4
- package/lib/duet/p-73041240.entry.js +0 -4
- package/lib/duet/p-78f0104d.entry.js +0 -4
- package/lib/duet/p-80c2a22b.entry.js +0 -4
- package/lib/duet/p-86613005.entry.js +0 -4
- package/lib/duet/p-866d5fba.entry.js +0 -4
- package/lib/duet/p-878e745d.entry.js +0 -4
- package/lib/duet/p-89de527f.entry.js +0 -4
- package/lib/duet/p-8eb11318.entry.js +0 -4
- package/lib/duet/p-96179df4.entry.js +0 -4
- package/lib/duet/p-9d630f8d.entry.js +0 -4
- package/lib/duet/p-C-pON5qf.js +0 -4
- package/lib/duet/p-CmVjSa2G.js +0 -4
- package/lib/duet/p-D8Vx4GZo.js +0 -4
- package/lib/duet/p-Do6ugHz0.js +0 -4
- package/lib/duet/p-DxV3RbmM.js +0 -4
- package/lib/duet/p-Z0D6Gy9e.js +0 -4
- package/lib/duet/p-ac84994d.entry.js +0 -4
- package/lib/duet/p-ae830c4f.entry.js +0 -4
- package/lib/duet/p-c6c245d2.entry.js +0 -4
- package/lib/duet/p-ca1ac603.entry.js +0 -4
- package/lib/duet/p-cb5020b3.entry.js +0 -4
- package/lib/duet/p-d4c5c776.entry.js +0 -4
- package/lib/duet/p-d77d51df.entry.js +0 -4
- package/lib/duet/p-e03b4d6d.entry.js +0 -4
- package/lib/duet/p-e18ded3f.entry.js +0 -4
- package/lib/duet/p-e1997fb2.entry.js +0 -4
- package/lib/duet/p-e41e1570.entry.js +0 -4
- package/lib/duet/p-e443cf8a.entry.js +0 -4
- package/lib/duet/p-e6a4707d.entry.js +0 -4
- package/lib/duet/p-e9ff33aa.entry.js +0 -4
- package/lib/duet/p-ed4f565e.entry.js +0 -4
- package/lib/duet/p-ee8f51c9.entry.js +0 -4
- package/lib/duet/p-f950ae45.entry.js +0 -4
- package/lib/duet/p-fd19cbeb.entry.js +0 -4
- package/lib/duet/p-ffa644e6.entry.js +0 -4
- package/lib/duet/p-vLG7vkZg.js +0 -4
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
+
const color_background_accent_primary = "rgb(240, 247, 250)";
|
|
7
|
+
const color_background_accent_primary_turva = "rgb(253, 247, 242)";
|
|
8
|
+
const color_background_accent_secondary = "rgb(217, 236, 245)";
|
|
9
|
+
const color_background_accent_secondary_turva = "rgb(251, 225, 209)";
|
|
10
|
+
const color_background_accent_tertiary = "rgb(0, 119, 179)";
|
|
11
|
+
const color_background_accent_tertiary_turva = "rgb(230, 23, 64)";
|
|
12
|
+
const color_background_primary = "rgb(255, 255, 255)";
|
|
13
|
+
const color_background_primary_turva = "rgb(255, 255, 255)";
|
|
14
|
+
const color_background_secondary = "rgb(245, 248, 250)";
|
|
15
|
+
const color_background_secondary_turva = "rgb(245, 246, 247)";
|
|
16
|
+
const color_background_tertiary = "rgb(8, 42, 77)";
|
|
17
|
+
const color_background_tertiary_turva = "rgb(6, 23, 38)";
|
|
6
18
|
const color_brand_blue = "rgb(0, 161, 212)";
|
|
7
19
|
const color_brand_gray_turva = "rgb(178, 180, 179)";
|
|
8
20
|
const color_category_family = "rgb(11, 114, 136)";
|
|
@@ -109,6 +121,30 @@ const color_success_700 = "rgb(48, 131, 105)";
|
|
|
109
121
|
const color_success_800 = "rgb(29, 106, 88)";
|
|
110
122
|
const color_success_900 = "rgb(13, 71, 59)";
|
|
111
123
|
const color_success_turva = "rgb(48, 131, 105)";
|
|
124
|
+
const color_turva2_gray_00 = "rgb(245, 246, 247)";
|
|
125
|
+
const color_turva2_gray_100 = "rgb(212, 221, 226)";
|
|
126
|
+
const color_turva2_gray_1000 = "rgb(6, 23, 38)";
|
|
127
|
+
const color_turva2_gray_200 = "rgb(178, 194, 205)";
|
|
128
|
+
const color_turva2_gray_300 = "rgb(148, 169, 185)";
|
|
129
|
+
const color_turva2_gray_400 = "rgb(120, 145, 164)";
|
|
130
|
+
const color_turva2_gray_50 = "rgb(228, 233, 237)";
|
|
131
|
+
const color_turva2_gray_500 = "rgb(95, 122, 143)";
|
|
132
|
+
const color_turva2_gray_600 = "rgb(72, 100, 122)";
|
|
133
|
+
const color_turva2_gray_700 = "rgb(53, 79, 101)";
|
|
134
|
+
const color_turva2_gray_800 = "rgb(37, 60, 80)";
|
|
135
|
+
const color_turva2_gray_900 = "rgb(23, 42, 59)";
|
|
136
|
+
const color_turva2_red_00 = "rgb(255, 242, 242)";
|
|
137
|
+
const color_turva2_red_100 = "rgb(255, 229, 230)";
|
|
138
|
+
const color_turva2_red_1000 = "rgb(51, 0, 10)";
|
|
139
|
+
const color_turva2_red_200 = "rgb(255, 201, 204)";
|
|
140
|
+
const color_turva2_red_300 = "rgb(249, 164, 172)";
|
|
141
|
+
const color_turva2_red_400 = "rgb(243, 119, 133)";
|
|
142
|
+
const color_turva2_red_50 = "rgb(255, 236, 236)";
|
|
143
|
+
const color_turva2_red_500 = "rgb(236, 69, 96)";
|
|
144
|
+
const color_turva2_red_600 = "rgb(230, 23, 64)";
|
|
145
|
+
const color_turva2_red_700 = "rgb(185, 3, 41)";
|
|
146
|
+
const color_turva2_red_800 = "rgb(140, 0, 30)";
|
|
147
|
+
const color_turva2_red_900 = "rgb(96, 0, 20)";
|
|
112
148
|
const color_turva_gray_00 = "rgb(245, 247, 250)";
|
|
113
149
|
const color_turva_gray_100 = "rgb(222, 224, 228)";
|
|
114
150
|
const color_turva_gray_1000 = "rgb(8, 13, 38)";
|
|
@@ -121,6 +157,18 @@ const color_turva_gray_600 = "rgb(98, 104, 122)";
|
|
|
121
157
|
const color_turva_gray_700 = "rgb(71, 78, 101)";
|
|
122
158
|
const color_turva_gray_800 = "rgb(45, 52, 79)";
|
|
123
159
|
const color_turva_gray_900 = "rgb(23, 28, 58)";
|
|
160
|
+
const color_turva_nude_00 = "rgb(253, 247, 242)";
|
|
161
|
+
const color_turva_nude_100 = "rgb(251, 225, 209)";
|
|
162
|
+
const color_turva_nude_1000 = "rgb(38, 21, 15)";
|
|
163
|
+
const color_turva_nude_200 = "rgb(241, 202, 178)";
|
|
164
|
+
const color_turva_nude_300 = "rgb(216, 174, 150)";
|
|
165
|
+
const color_turva_nude_400 = "rgb(190, 147, 124)";
|
|
166
|
+
const color_turva_nude_50 = "rgb(251, 235, 225)";
|
|
167
|
+
const color_turva_nude_500 = "rgb(165, 122, 101)";
|
|
168
|
+
const color_turva_nude_600 = "rgb(140, 98, 79)";
|
|
169
|
+
const color_turva_nude_700 = "rgb(114, 76, 60)";
|
|
170
|
+
const color_turva_nude_800 = "rgb(89, 56, 43)";
|
|
171
|
+
const color_turva_nude_900 = "rgb(64, 38, 28)";
|
|
124
172
|
const color_turva_red_00 = "rgb(255, 241, 241)";
|
|
125
173
|
const color_turva_red_100 = "rgb(255, 213, 215)";
|
|
126
174
|
const color_turva_red_1000 = "rgb(51, 5, 20)";
|
|
@@ -251,6 +299,18 @@ const z_index_spinner = "800";
|
|
|
251
299
|
const z_index_sticky = "300";
|
|
252
300
|
const z_index_toast = "500";
|
|
253
301
|
var tokens = {
|
|
302
|
+
color_background_accent_primary: color_background_accent_primary,
|
|
303
|
+
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
304
|
+
color_background_accent_secondary: color_background_accent_secondary,
|
|
305
|
+
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
306
|
+
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
307
|
+
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
308
|
+
color_background_primary: color_background_primary,
|
|
309
|
+
color_background_primary_turva: color_background_primary_turva,
|
|
310
|
+
color_background_secondary: color_background_secondary,
|
|
311
|
+
color_background_secondary_turva: color_background_secondary_turva,
|
|
312
|
+
color_background_tertiary: color_background_tertiary,
|
|
313
|
+
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
254
314
|
color_brand_blue: color_brand_blue,
|
|
255
315
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
256
316
|
color_category_family: color_category_family,
|
|
@@ -357,6 +417,30 @@ var tokens = {
|
|
|
357
417
|
color_success_800: color_success_800,
|
|
358
418
|
color_success_900: color_success_900,
|
|
359
419
|
color_success_turva: color_success_turva,
|
|
420
|
+
color_turva2_gray_00: color_turva2_gray_00,
|
|
421
|
+
color_turva2_gray_100: color_turva2_gray_100,
|
|
422
|
+
color_turva2_gray_1000: color_turva2_gray_1000,
|
|
423
|
+
color_turva2_gray_200: color_turva2_gray_200,
|
|
424
|
+
color_turva2_gray_300: color_turva2_gray_300,
|
|
425
|
+
color_turva2_gray_400: color_turva2_gray_400,
|
|
426
|
+
color_turva2_gray_50: color_turva2_gray_50,
|
|
427
|
+
color_turva2_gray_500: color_turva2_gray_500,
|
|
428
|
+
color_turva2_gray_600: color_turva2_gray_600,
|
|
429
|
+
color_turva2_gray_700: color_turva2_gray_700,
|
|
430
|
+
color_turva2_gray_800: color_turva2_gray_800,
|
|
431
|
+
color_turva2_gray_900: color_turva2_gray_900,
|
|
432
|
+
color_turva2_red_00: color_turva2_red_00,
|
|
433
|
+
color_turva2_red_100: color_turva2_red_100,
|
|
434
|
+
color_turva2_red_1000: color_turva2_red_1000,
|
|
435
|
+
color_turva2_red_200: color_turva2_red_200,
|
|
436
|
+
color_turva2_red_300: color_turva2_red_300,
|
|
437
|
+
color_turva2_red_400: color_turva2_red_400,
|
|
438
|
+
color_turva2_red_50: color_turva2_red_50,
|
|
439
|
+
color_turva2_red_500: color_turva2_red_500,
|
|
440
|
+
color_turva2_red_600: color_turva2_red_600,
|
|
441
|
+
color_turva2_red_700: color_turva2_red_700,
|
|
442
|
+
color_turva2_red_800: color_turva2_red_800,
|
|
443
|
+
color_turva2_red_900: color_turva2_red_900,
|
|
360
444
|
color_turva_gray_00: color_turva_gray_00,
|
|
361
445
|
color_turva_gray_100: color_turva_gray_100,
|
|
362
446
|
color_turva_gray_1000: color_turva_gray_1000,
|
|
@@ -369,6 +453,18 @@ var tokens = {
|
|
|
369
453
|
color_turva_gray_700: color_turva_gray_700,
|
|
370
454
|
color_turva_gray_800: color_turva_gray_800,
|
|
371
455
|
color_turva_gray_900: color_turva_gray_900,
|
|
456
|
+
color_turva_nude_00: color_turva_nude_00,
|
|
457
|
+
color_turva_nude_100: color_turva_nude_100,
|
|
458
|
+
color_turva_nude_1000: color_turva_nude_1000,
|
|
459
|
+
color_turva_nude_200: color_turva_nude_200,
|
|
460
|
+
color_turva_nude_300: color_turva_nude_300,
|
|
461
|
+
color_turva_nude_400: color_turva_nude_400,
|
|
462
|
+
color_turva_nude_50: color_turva_nude_50,
|
|
463
|
+
color_turva_nude_500: color_turva_nude_500,
|
|
464
|
+
color_turva_nude_600: color_turva_nude_600,
|
|
465
|
+
color_turva_nude_700: color_turva_nude_700,
|
|
466
|
+
color_turva_nude_800: color_turva_nude_800,
|
|
467
|
+
color_turva_nude_900: color_turva_nude_900,
|
|
372
468
|
color_turva_red_00: color_turva_red_00,
|
|
373
469
|
color_turva_red_100: color_turva_red_100,
|
|
374
470
|
color_turva_red_1000: color_turva_red_1000,
|
|
@@ -502,6 +598,18 @@ var tokens = {
|
|
|
502
598
|
|
|
503
599
|
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
504
600
|
__proto__: null,
|
|
601
|
+
color_background_accent_primary: color_background_accent_primary,
|
|
602
|
+
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
603
|
+
color_background_accent_secondary: color_background_accent_secondary,
|
|
604
|
+
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
605
|
+
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
606
|
+
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
607
|
+
color_background_primary: color_background_primary,
|
|
608
|
+
color_background_primary_turva: color_background_primary_turva,
|
|
609
|
+
color_background_secondary: color_background_secondary,
|
|
610
|
+
color_background_secondary_turva: color_background_secondary_turva,
|
|
611
|
+
color_background_tertiary: color_background_tertiary,
|
|
612
|
+
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
505
613
|
color_brand_blue: color_brand_blue,
|
|
506
614
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
507
615
|
color_category_family: color_category_family,
|
|
@@ -608,6 +716,30 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
608
716
|
color_success_800: color_success_800,
|
|
609
717
|
color_success_900: color_success_900,
|
|
610
718
|
color_success_turva: color_success_turva,
|
|
719
|
+
color_turva2_gray_00: color_turva2_gray_00,
|
|
720
|
+
color_turva2_gray_100: color_turva2_gray_100,
|
|
721
|
+
color_turva2_gray_1000: color_turva2_gray_1000,
|
|
722
|
+
color_turva2_gray_200: color_turva2_gray_200,
|
|
723
|
+
color_turva2_gray_300: color_turva2_gray_300,
|
|
724
|
+
color_turva2_gray_400: color_turva2_gray_400,
|
|
725
|
+
color_turva2_gray_50: color_turva2_gray_50,
|
|
726
|
+
color_turva2_gray_500: color_turva2_gray_500,
|
|
727
|
+
color_turva2_gray_600: color_turva2_gray_600,
|
|
728
|
+
color_turva2_gray_700: color_turva2_gray_700,
|
|
729
|
+
color_turva2_gray_800: color_turva2_gray_800,
|
|
730
|
+
color_turva2_gray_900: color_turva2_gray_900,
|
|
731
|
+
color_turva2_red_00: color_turva2_red_00,
|
|
732
|
+
color_turva2_red_100: color_turva2_red_100,
|
|
733
|
+
color_turva2_red_1000: color_turva2_red_1000,
|
|
734
|
+
color_turva2_red_200: color_turva2_red_200,
|
|
735
|
+
color_turva2_red_300: color_turva2_red_300,
|
|
736
|
+
color_turva2_red_400: color_turva2_red_400,
|
|
737
|
+
color_turva2_red_50: color_turva2_red_50,
|
|
738
|
+
color_turva2_red_500: color_turva2_red_500,
|
|
739
|
+
color_turva2_red_600: color_turva2_red_600,
|
|
740
|
+
color_turva2_red_700: color_turva2_red_700,
|
|
741
|
+
color_turva2_red_800: color_turva2_red_800,
|
|
742
|
+
color_turva2_red_900: color_turva2_red_900,
|
|
611
743
|
color_turva_gray_00: color_turva_gray_00,
|
|
612
744
|
color_turva_gray_100: color_turva_gray_100,
|
|
613
745
|
color_turva_gray_1000: color_turva_gray_1000,
|
|
@@ -620,6 +752,18 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
620
752
|
color_turva_gray_700: color_turva_gray_700,
|
|
621
753
|
color_turva_gray_800: color_turva_gray_800,
|
|
622
754
|
color_turva_gray_900: color_turva_gray_900,
|
|
755
|
+
color_turva_nude_00: color_turva_nude_00,
|
|
756
|
+
color_turva_nude_100: color_turva_nude_100,
|
|
757
|
+
color_turva_nude_1000: color_turva_nude_1000,
|
|
758
|
+
color_turva_nude_200: color_turva_nude_200,
|
|
759
|
+
color_turva_nude_300: color_turva_nude_300,
|
|
760
|
+
color_turva_nude_400: color_turva_nude_400,
|
|
761
|
+
color_turva_nude_50: color_turva_nude_50,
|
|
762
|
+
color_turva_nude_500: color_turva_nude_500,
|
|
763
|
+
color_turva_nude_600: color_turva_nude_600,
|
|
764
|
+
color_turva_nude_700: color_turva_nude_700,
|
|
765
|
+
color_turva_nude_800: color_turva_nude_800,
|
|
766
|
+
color_turva_nude_900: color_turva_nude_900,
|
|
623
767
|
color_turva_red_00: color_turva_red_00,
|
|
624
768
|
color_turva_red_100: color_turva_red_100,
|
|
625
769
|
color_turva_red_1000: color_turva_red_1000,
|
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
+
const colorBackgroundAccentPrimary = "rgb(240, 247, 250)";
|
|
7
|
+
const colorBackgroundAccentPrimaryTurva = "rgb(253, 247, 242)";
|
|
8
|
+
const colorBackgroundAccentSecondary = "rgb(217, 236, 245)";
|
|
9
|
+
const colorBackgroundAccentSecondaryTurva = "rgb(251, 225, 209)";
|
|
10
|
+
const colorBackgroundAccentTertiary = "rgb(0, 119, 179)";
|
|
11
|
+
const colorBackgroundAccentTertiaryTurva = "rgb(230, 23, 64)";
|
|
12
|
+
const colorBackgroundPrimary = "rgb(255, 255, 255)";
|
|
13
|
+
const colorBackgroundPrimaryTurva = "rgb(255, 255, 255)";
|
|
14
|
+
const colorBackgroundSecondary = "rgb(245, 248, 250)";
|
|
15
|
+
const colorBackgroundSecondaryTurva = "rgb(245, 246, 247)";
|
|
16
|
+
const colorBackgroundTertiary = "rgb(8, 42, 77)";
|
|
17
|
+
const colorBackgroundTertiaryTurva = "rgb(6, 23, 38)";
|
|
6
18
|
const colorBrandBlue = "rgb(0, 161, 212)";
|
|
7
19
|
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
8
20
|
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
@@ -109,6 +121,30 @@ const colorSuccess700 = "rgb(48, 131, 105)";
|
|
|
109
121
|
const colorSuccess800 = "rgb(29, 106, 88)";
|
|
110
122
|
const colorSuccess900 = "rgb(13, 71, 59)";
|
|
111
123
|
const colorSuccessTurva = "rgb(48, 131, 105)";
|
|
124
|
+
const colorTurva2Gray00 = "rgb(245, 246, 247)";
|
|
125
|
+
const colorTurva2Gray100 = "rgb(212, 221, 226)";
|
|
126
|
+
const colorTurva2Gray1000 = "rgb(6, 23, 38)";
|
|
127
|
+
const colorTurva2Gray200 = "rgb(178, 194, 205)";
|
|
128
|
+
const colorTurva2Gray300 = "rgb(148, 169, 185)";
|
|
129
|
+
const colorTurva2Gray400 = "rgb(120, 145, 164)";
|
|
130
|
+
const colorTurva2Gray50 = "rgb(228, 233, 237)";
|
|
131
|
+
const colorTurva2Gray500 = "rgb(95, 122, 143)";
|
|
132
|
+
const colorTurva2Gray600 = "rgb(72, 100, 122)";
|
|
133
|
+
const colorTurva2Gray700 = "rgb(53, 79, 101)";
|
|
134
|
+
const colorTurva2Gray800 = "rgb(37, 60, 80)";
|
|
135
|
+
const colorTurva2Gray900 = "rgb(23, 42, 59)";
|
|
136
|
+
const colorTurva2Red00 = "rgb(255, 242, 242)";
|
|
137
|
+
const colorTurva2Red100 = "rgb(255, 229, 230)";
|
|
138
|
+
const colorTurva2Red1000 = "rgb(51, 0, 10)";
|
|
139
|
+
const colorTurva2Red200 = "rgb(255, 201, 204)";
|
|
140
|
+
const colorTurva2Red300 = "rgb(249, 164, 172)";
|
|
141
|
+
const colorTurva2Red400 = "rgb(243, 119, 133)";
|
|
142
|
+
const colorTurva2Red50 = "rgb(255, 236, 236)";
|
|
143
|
+
const colorTurva2Red500 = "rgb(236, 69, 96)";
|
|
144
|
+
const colorTurva2Red600 = "rgb(230, 23, 64)";
|
|
145
|
+
const colorTurva2Red700 = "rgb(185, 3, 41)";
|
|
146
|
+
const colorTurva2Red800 = "rgb(140, 0, 30)";
|
|
147
|
+
const colorTurva2Red900 = "rgb(96, 0, 20)";
|
|
112
148
|
const colorTurvaGray00 = "rgb(245, 247, 250)";
|
|
113
149
|
const colorTurvaGray100 = "rgb(222, 224, 228)";
|
|
114
150
|
const colorTurvaGray1000 = "rgb(8, 13, 38)";
|
|
@@ -121,6 +157,18 @@ const colorTurvaGray600 = "rgb(98, 104, 122)";
|
|
|
121
157
|
const colorTurvaGray700 = "rgb(71, 78, 101)";
|
|
122
158
|
const colorTurvaGray800 = "rgb(45, 52, 79)";
|
|
123
159
|
const colorTurvaGray900 = "rgb(23, 28, 58)";
|
|
160
|
+
const colorTurvaNude00 = "rgb(253, 247, 242)";
|
|
161
|
+
const colorTurvaNude100 = "rgb(251, 225, 209)";
|
|
162
|
+
const colorTurvaNude1000 = "rgb(38, 21, 15)";
|
|
163
|
+
const colorTurvaNude200 = "rgb(241, 202, 178)";
|
|
164
|
+
const colorTurvaNude300 = "rgb(216, 174, 150)";
|
|
165
|
+
const colorTurvaNude400 = "rgb(190, 147, 124)";
|
|
166
|
+
const colorTurvaNude50 = "rgb(251, 235, 225)";
|
|
167
|
+
const colorTurvaNude500 = "rgb(165, 122, 101)";
|
|
168
|
+
const colorTurvaNude600 = "rgb(140, 98, 79)";
|
|
169
|
+
const colorTurvaNude700 = "rgb(114, 76, 60)";
|
|
170
|
+
const colorTurvaNude800 = "rgb(89, 56, 43)";
|
|
171
|
+
const colorTurvaNude900 = "rgb(64, 38, 28)";
|
|
124
172
|
const colorTurvaRed00 = "rgb(255, 241, 241)";
|
|
125
173
|
const colorTurvaRed100 = "rgb(255, 213, 215)";
|
|
126
174
|
const colorTurvaRed1000 = "rgb(51, 5, 20)";
|
|
@@ -253,6 +301,18 @@ const zIndexToast = "500";
|
|
|
253
301
|
|
|
254
302
|
var tokens = /*#__PURE__*/Object.freeze({
|
|
255
303
|
__proto__: null,
|
|
304
|
+
colorBackgroundAccentPrimary: colorBackgroundAccentPrimary,
|
|
305
|
+
colorBackgroundAccentPrimaryTurva: colorBackgroundAccentPrimaryTurva,
|
|
306
|
+
colorBackgroundAccentSecondary: colorBackgroundAccentSecondary,
|
|
307
|
+
colorBackgroundAccentSecondaryTurva: colorBackgroundAccentSecondaryTurva,
|
|
308
|
+
colorBackgroundAccentTertiary: colorBackgroundAccentTertiary,
|
|
309
|
+
colorBackgroundAccentTertiaryTurva: colorBackgroundAccentTertiaryTurva,
|
|
310
|
+
colorBackgroundPrimary: colorBackgroundPrimary,
|
|
311
|
+
colorBackgroundPrimaryTurva: colorBackgroundPrimaryTurva,
|
|
312
|
+
colorBackgroundSecondary: colorBackgroundSecondary,
|
|
313
|
+
colorBackgroundSecondaryTurva: colorBackgroundSecondaryTurva,
|
|
314
|
+
colorBackgroundTertiary: colorBackgroundTertiary,
|
|
315
|
+
colorBackgroundTertiaryTurva: colorBackgroundTertiaryTurva,
|
|
256
316
|
colorBrandBlue: colorBrandBlue,
|
|
257
317
|
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
258
318
|
colorCategoryFamily: colorCategoryFamily,
|
|
@@ -359,6 +419,30 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
359
419
|
colorSuccess800: colorSuccess800,
|
|
360
420
|
colorSuccess900: colorSuccess900,
|
|
361
421
|
colorSuccessTurva: colorSuccessTurva,
|
|
422
|
+
colorTurva2Gray00: colorTurva2Gray00,
|
|
423
|
+
colorTurva2Gray100: colorTurva2Gray100,
|
|
424
|
+
colorTurva2Gray1000: colorTurva2Gray1000,
|
|
425
|
+
colorTurva2Gray200: colorTurva2Gray200,
|
|
426
|
+
colorTurva2Gray300: colorTurva2Gray300,
|
|
427
|
+
colorTurva2Gray400: colorTurva2Gray400,
|
|
428
|
+
colorTurva2Gray50: colorTurva2Gray50,
|
|
429
|
+
colorTurva2Gray500: colorTurva2Gray500,
|
|
430
|
+
colorTurva2Gray600: colorTurva2Gray600,
|
|
431
|
+
colorTurva2Gray700: colorTurva2Gray700,
|
|
432
|
+
colorTurva2Gray800: colorTurva2Gray800,
|
|
433
|
+
colorTurva2Gray900: colorTurva2Gray900,
|
|
434
|
+
colorTurva2Red00: colorTurva2Red00,
|
|
435
|
+
colorTurva2Red100: colorTurva2Red100,
|
|
436
|
+
colorTurva2Red1000: colorTurva2Red1000,
|
|
437
|
+
colorTurva2Red200: colorTurva2Red200,
|
|
438
|
+
colorTurva2Red300: colorTurva2Red300,
|
|
439
|
+
colorTurva2Red400: colorTurva2Red400,
|
|
440
|
+
colorTurva2Red50: colorTurva2Red50,
|
|
441
|
+
colorTurva2Red500: colorTurva2Red500,
|
|
442
|
+
colorTurva2Red600: colorTurva2Red600,
|
|
443
|
+
colorTurva2Red700: colorTurva2Red700,
|
|
444
|
+
colorTurva2Red800: colorTurva2Red800,
|
|
445
|
+
colorTurva2Red900: colorTurva2Red900,
|
|
362
446
|
colorTurvaGray00: colorTurvaGray00,
|
|
363
447
|
colorTurvaGray100: colorTurvaGray100,
|
|
364
448
|
colorTurvaGray1000: colorTurvaGray1000,
|
|
@@ -371,6 +455,18 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
371
455
|
colorTurvaGray700: colorTurvaGray700,
|
|
372
456
|
colorTurvaGray800: colorTurvaGray800,
|
|
373
457
|
colorTurvaGray900: colorTurvaGray900,
|
|
458
|
+
colorTurvaNude00: colorTurvaNude00,
|
|
459
|
+
colorTurvaNude100: colorTurvaNude100,
|
|
460
|
+
colorTurvaNude1000: colorTurvaNude1000,
|
|
461
|
+
colorTurvaNude200: colorTurvaNude200,
|
|
462
|
+
colorTurvaNude300: colorTurvaNude300,
|
|
463
|
+
colorTurvaNude400: colorTurvaNude400,
|
|
464
|
+
colorTurvaNude50: colorTurvaNude50,
|
|
465
|
+
colorTurvaNude500: colorTurvaNude500,
|
|
466
|
+
colorTurvaNude600: colorTurvaNude600,
|
|
467
|
+
colorTurvaNude700: colorTurvaNude700,
|
|
468
|
+
colorTurvaNude800: colorTurvaNude800,
|
|
469
|
+
colorTurvaNude900: colorTurvaNude900,
|
|
374
470
|
colorTurvaRed00: colorTurvaRed00,
|
|
375
471
|
colorTurvaRed100: colorTurvaRed100,
|
|
376
472
|
colorTurvaRed1000: colorTurvaRed1000,
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
padding: 0;
|
|
6
6
|
margin: 0;
|
|
7
|
-
background: transparent;
|
|
8
|
-
border: 0;
|
|
9
7
|
-moz-appearance: none;
|
|
10
8
|
-webkit-appearance: none;
|
|
11
9
|
appearance: none;
|
|
10
|
+
background: transparent;
|
|
11
|
+
border: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
padding: 0;
|
|
17
17
|
margin: 0;
|
|
18
|
-
background: transparent;
|
|
19
|
-
border: 0;
|
|
20
18
|
-moz-appearance: none;
|
|
21
19
|
-webkit-appearance: none;
|
|
22
20
|
appearance: none;
|
|
21
|
+
background: transparent;
|
|
22
|
+
border: 0;
|
|
23
23
|
display: inline-block;
|
|
24
24
|
margin: 0 auto;
|
|
25
25
|
}
|
|
@@ -40,6 +40,16 @@
|
|
|
40
40
|
border-radius: 50%;
|
|
41
41
|
transition: background-color 300ms ease !important;
|
|
42
42
|
}
|
|
43
|
+
.duet-action-button:focus {
|
|
44
|
+
outline: 2px solid;
|
|
45
|
+
outline-offset: 2px;
|
|
46
|
+
outline-color: rgba(0, 119, 179, 0.8);
|
|
47
|
+
}
|
|
48
|
+
.duet-theme-turva .duet-action-button:focus, .duet-action-button:focus.duet-theme-turva, .duet-theme-turva2 .duet-action-button:focus, .duet-action-button:focus.duet-theme-turva2 {
|
|
49
|
+
outline: 2px solid;
|
|
50
|
+
outline-offset: 2px;
|
|
51
|
+
outline-color: rgba(53, 79, 101, 0.8);
|
|
52
|
+
}
|
|
43
53
|
.duet-action-button.duet-theme-turva {
|
|
44
54
|
color: rgb(23, 28, 58);
|
|
45
55
|
background: rgb(245, 247, 250);
|
|
@@ -59,16 +69,8 @@
|
|
|
59
69
|
.duet-action-button:not(:disabled):hover.duet-theme-turva {
|
|
60
70
|
background: #e9ebee;
|
|
61
71
|
}
|
|
62
|
-
.duet-action-button:focus {
|
|
63
|
-
outline: 0;
|
|
64
|
-
box-shadow: 0 0 0 2px #0077b3 !important;
|
|
65
|
-
}
|
|
66
|
-
.duet-action-button:focus.duet-theme-turva {
|
|
67
|
-
box-shadow: 0 0 0 2px #171c3a !important;
|
|
68
|
-
}
|
|
69
72
|
.duet-action-button:active:focus {
|
|
70
73
|
background: #dddfe1 !important;
|
|
71
|
-
box-shadow: none;
|
|
72
74
|
}
|
|
73
75
|
.duet-action-button:active:focus.duet-theme-turva {
|
|
74
76
|
background: #dddee1 !important;
|
|
@@ -85,20 +87,16 @@
|
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva {
|
|
88
|
-
color:
|
|
89
|
-
background:
|
|
90
|
+
color: rgb(23, 42, 59);
|
|
91
|
+
background: rgb(253, 247, 242);
|
|
90
92
|
}
|
|
91
93
|
:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover {
|
|
92
94
|
background: #f0ebe6;
|
|
93
95
|
}
|
|
94
|
-
:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:focus {
|
|
95
|
-
box-shadow: 0 0 0 2px #172a3b !important;
|
|
96
|
-
}
|
|
97
96
|
:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus {
|
|
98
97
|
background: #e4deda !important;
|
|
99
|
-
box-shadow: none;
|
|
100
98
|
}
|
|
101
99
|
:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:disabled {
|
|
102
|
-
color:
|
|
103
|
-
background:
|
|
100
|
+
color: rgb(120, 145, 164);
|
|
101
|
+
background: rgb(245, 246, 247);
|
|
104
102
|
}
|
|
@@ -4,56 +4,45 @@
|
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
padding: 0;
|
|
6
6
|
margin: 0;
|
|
7
|
-
background: transparent;
|
|
8
|
-
border: 0;
|
|
9
7
|
-moz-appearance: none;
|
|
10
8
|
-webkit-appearance: none;
|
|
11
9
|
appearance: none;
|
|
10
|
+
background: transparent;
|
|
11
|
+
border: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
padding: 0;
|
|
17
17
|
margin: 0;
|
|
18
|
-
background: transparent;
|
|
19
|
-
border: 0;
|
|
20
18
|
-moz-appearance: none;
|
|
21
19
|
-webkit-appearance: none;
|
|
22
20
|
appearance: none;
|
|
23
|
-
|
|
21
|
+
background: transparent;
|
|
22
|
+
border: 0;
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-rows: 1fr;
|
|
24
25
|
width: 100%;
|
|
25
|
-
|
|
26
|
-
transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host(:focus) {
|
|
30
|
-
outline: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host(.user-is-tabbing:focus) {
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host(.user-is-tabbing.duet-theme-turva:focus) {
|
|
39
|
-
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
26
|
+
transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease, grid-template-rows 300ms ease;
|
|
40
27
|
}
|
|
41
28
|
|
|
42
29
|
:host(.duet-alert-is-dismissed) {
|
|
43
|
-
max-height: 0;
|
|
44
|
-
overflow: hidden;
|
|
45
30
|
visibility: hidden !important;
|
|
31
|
+
grid-template-rows: 0fr;
|
|
46
32
|
opacity: 0;
|
|
47
33
|
transform: scale(0.98);
|
|
48
34
|
}
|
|
49
|
-
:host(.duet-alert-is-dismissed) .duet-alert
|
|
35
|
+
:host(.duet-alert-is-dismissed) .duet-alert,
|
|
36
|
+
:host(.duet-alert-is-dismissed) .duet-alert-wrapper {
|
|
50
37
|
margin: 0 !important;
|
|
38
|
+
border-width: 0 !important;
|
|
51
39
|
}
|
|
52
40
|
|
|
53
41
|
.duet-alert-wrapper {
|
|
54
42
|
margin-bottom: 16px !important;
|
|
55
43
|
position: relative;
|
|
56
44
|
width: 100%;
|
|
45
|
+
overflow: hidden;
|
|
57
46
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
58
47
|
font-size: 1rem;
|
|
59
48
|
font-weight: 400;
|
|
@@ -5,7 +5,6 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { DuetStatusLabels } from "../../common-strings";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
|
-
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
9
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLocaleString, } from "../../utils/language-utils";
|
|
10
9
|
import { hasSlot } from "../../utils/slot-utils";
|
|
11
10
|
/**
|
|
@@ -76,6 +75,7 @@ export class DuetAlert {
|
|
|
76
75
|
*/
|
|
77
76
|
this.dismissible = false;
|
|
78
77
|
/**
|
|
78
|
+
* @deprecated - if you need to set focus, use a focusable element inside
|
|
79
79
|
* Make alert focusable.
|
|
80
80
|
*/
|
|
81
81
|
this.focusable = false;
|
|
@@ -125,14 +125,12 @@ export class DuetAlert {
|
|
|
125
125
|
}
|
|
126
126
|
connectedCallback() {
|
|
127
127
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
|
|
128
|
-
subscribeTabbingChange(this);
|
|
129
128
|
}
|
|
130
129
|
disconnectedCallback() {
|
|
131
130
|
if (this.timeoutID) {
|
|
132
131
|
clearTimeout(this.timeoutID);
|
|
133
132
|
}
|
|
134
133
|
disconnectLanguageChangeObserver(this);
|
|
135
|
-
unsubscribeTabbingChange(this);
|
|
136
134
|
}
|
|
137
135
|
/**
|
|
138
136
|
* Show.
|
|
@@ -147,10 +145,7 @@ export class DuetAlert {
|
|
|
147
145
|
this.handleHide();
|
|
148
146
|
}
|
|
149
147
|
/**
|
|
150
|
-
*
|
|
151
|
-
* Works only when focusable property is set to true.
|
|
152
|
-
* Use this method instead of the global
|
|
153
|
-
* `button.focus()`.
|
|
148
|
+
* @deprecated - if you need to set focus, use a focusable element inside
|
|
154
149
|
*/
|
|
155
150
|
async setFocus(options) {
|
|
156
151
|
this.alertContainer.focus(options);
|
|
@@ -169,17 +164,17 @@ export class DuetAlert {
|
|
|
169
164
|
? this.variation
|
|
170
165
|
: "default";
|
|
171
166
|
const variationLabel = getLocaleString(DuetStatusLabels[variation]);
|
|
172
|
-
return (h(Host, { key: '
|
|
167
|
+
return (h(Host, { key: 'e8f6453951bdff6bcfebd3530d9cf0778842ad35', class: {
|
|
173
168
|
"duet-theme-turva": this.theme === "turva",
|
|
174
169
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
175
|
-
}, role: this.getRole() }, h("div", { key: '
|
|
170
|
+
}, role: this.getRole() }, h("div", { key: '2f8010d50d96097d66d0cef58d35cbb008f314f0', class: {
|
|
176
171
|
"duet-alert-wrapper": true,
|
|
177
172
|
"duet-p-0": this.padding === "none",
|
|
178
173
|
"duet-m-0": this.margin === "none",
|
|
179
174
|
[variation]: true,
|
|
180
175
|
[this.position]: true,
|
|
181
176
|
"duet-theme-turva": this.theme === "turva",
|
|
182
|
-
} }, h("div", { key: '
|
|
177
|
+
} }, h("div", { key: 'b0b1d04c9ef3baa460c1d8d30f18f5f3b4b96d9c', class: {
|
|
183
178
|
"duet-alert": true,
|
|
184
179
|
"duet-alert-expandable": !!this.expandingTitle,
|
|
185
180
|
"duet-alert-expanded": this.isExpanded,
|
|
@@ -190,9 +185,9 @@ export class DuetAlert {
|
|
|
190
185
|
"duet-m-0": this.margin === "none",
|
|
191
186
|
[variation]: true,
|
|
192
187
|
"duet-theme-turva": this.theme === "turva",
|
|
193
|
-
} }, h("div", { key: '
|
|
188
|
+
} }, h("div", { key: '1464c0cde46615a3e6b7b90a67b0713ba25cf002', class: "duet-alert-container", ref: element => {
|
|
194
189
|
this.alertContainer = element;
|
|
195
|
-
}, tabindex: this.focusable ? "
|
|
190
|
+
}, tabindex: this.focusable ? "-1" : undefined }, this.position !== "below-nav" && (h("div", { key: '924a50c915605a0fc653b2cd5a5a6341c7b9156f', class: "duet-alert-icon" }, (this.icon && h("duet-icon", { key: 'ccf3963fc3405034a7001e586397886ac586b504', size: "auto", name: this.icon, color: "currentColor" })) || (h("duet-status-icon", { key: '5adef94d4b80e48815a399928dee36d416caa3f8', strong: true, variation: variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (h("div", { key: 'bb1d04fb4ad4d5668dfef4fab649c23d09832d07', class: "duet-alert-icon below-nav" }, h("duet-status-icon", { key: 'a9cedbe680d906a25dc159b5637a30ee66491f03', strong: true, variation: variation, margin: "none", size: "auto" }))), h("div", { key: '8f1df5b4082d396e964b00b56da99f77ec4d9437', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (h("button", { key: 'ecc75f181b29ccce59576cdc8db496b02511c201', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, h("span", { key: 'eaaec58855ddf50c82d723f17056eef40d794ee4', class: "expanding-title" }, this.expandingTitle), h("duet-icon", { key: '4504fda244cb64041c316142ccffd971a4399e78', name: "action-arrow-down", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (h("div", { key: 'a29eb8175f93a97b7195c7c9800bc5d62bb66073', id: `${this.descriptiveId}-content` }, h("duet-visually-hidden", { key: 'c7cb9674adeb3d85568090d9b97cf692d1609ed1' }, variationLabel), h("slot", { key: '49d810ac06046de2cb02a0210e9ad6eff7397f2b' }))))), this.hasShowMoreSlot && (h("duet-show-more", { key: '7fd2463d982eecdbeeea603266e2190b9347b6d5', margin: "none", class: "duet-alert-show-more" }, h("slot", { key: 'a229f22d76731baf242bca5613a990fa7508e611', name: "show-more" }))), this.dismissible && !this.expandingTitle && (h("div", { key: '1e2f89c906c19cc8703eb1ce0ab643d550e94260', class: "duet-alert-dismiss" }, h("duet-button", { key: '80a86e22bd7b0317fbe4685879847f10d7598740', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
|
|
196
191
|
}
|
|
197
192
|
static get is() { return "duet-alert"; }
|
|
198
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -481,8 +476,11 @@ export class DuetAlert {
|
|
|
481
476
|
"required": false,
|
|
482
477
|
"optional": false,
|
|
483
478
|
"docs": {
|
|
484
|
-
"tags": [
|
|
485
|
-
|
|
479
|
+
"tags": [{
|
|
480
|
+
"name": "deprecated",
|
|
481
|
+
"text": "- if you need to set focus, use a focusable element inside\nMake alert focusable."
|
|
482
|
+
}],
|
|
483
|
+
"text": ""
|
|
486
484
|
},
|
|
487
485
|
"getter": false,
|
|
488
486
|
"setter": false,
|
|
@@ -614,8 +612,11 @@ export class DuetAlert {
|
|
|
614
612
|
"return": "Promise<void>"
|
|
615
613
|
},
|
|
616
614
|
"docs": {
|
|
617
|
-
"text": "
|
|
618
|
-
"tags": [
|
|
615
|
+
"text": "",
|
|
616
|
+
"tags": [{
|
|
617
|
+
"name": "deprecated",
|
|
618
|
+
"text": "- if you need to set focus, use a focusable element inside"
|
|
619
|
+
}]
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
622
|
};
|