@duetds/components 10.7.0 → 10.8.0
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 +385 -237
- package/hydrate/index.mjs +385 -237
- package/lib/cjs/{a11y-utils-DmCjy3Q3.js → a11y-utils-DZ42p33K.js} +1 -1
- package/lib/cjs/{app-globals-D1tikFob.js → app-globals-DiBfle2l.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +6 -6
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +16 -7
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +31 -14
- package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +17 -13
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- 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 +33 -19
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +12 -13
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +13 -5
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -13
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +9 -9
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- 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 +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- 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 +7 -7
- package/lib/cjs/duet-teaser.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +20 -11
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-Di-nO8ua.js → errorcodes.utils-MdC-C1Fa.js} +1 -1
- package/lib/cjs/{floating-ui.dom.browser.min-Cj0r5YDz.js → floating-ui.dom.browser.min-DaH62q3u.js} +83 -0
- package/lib/cjs/{focus-utils-uEO1pi2O.js → focus-utils-KpSp5WDp.js} +1 -1
- package/lib/cjs/{index-BGRMvA4R.js → index-BP4tQozH.js} +1 -1
- package/lib/cjs/{label-CwgdRt0Q.js → label-CjvqwyJR.js} +1 -1
- package/lib/cjs/{language-utils-CrB5zNlc.js → language-utils-BCJyRc_q.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{picture-utils-CZhgDlXJ.js → picture-utils-Dp6TiDHy.js} +1 -1
- package/lib/cjs/{slot-utils-4v5bqyQh.js → slot-utils-DvtoWHAA.js} +1 -1
- package/lib/cjs/{themeable-component-I4SEm6nQ.js → themeable-component-BXqwFhg-.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +3 -0
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +13 -9
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +12 -3
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -1
- package/lib/collection/components/duet-combobox/duet-combobox.js +29 -11
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +34 -7
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +31 -0
- package/lib/collection/components/duet-input/duet-input.js +48 -14
- package/lib/collection/components/duet-link/duet-link.css +16 -0
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +8 -1
- package/lib/collection/components/duet-modal/duet-modal.js +6 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +23 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +9 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- 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-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-teaser/duet-teaser.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +8 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +35 -6
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +6 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-4695398d.entry.js → p-01a6e993.entry.js} +1 -1
- package/lib/duet/{p-e3d91f53.entry.js → p-0476dabc.entry.js} +1 -1
- package/lib/duet/{p-05a6360b.entry.js → p-06e879d2.entry.js} +1 -1
- package/lib/duet/p-0f433f55.entry.js +4 -0
- package/lib/duet/{p-5fc88879.entry.js → p-126b3fd0.entry.js} +1 -1
- package/lib/duet/p-1566e2ec.entry.js +4 -0
- package/lib/duet/{p-a6dc8c7d.entry.js → p-1956dd8e.entry.js} +1 -1
- package/lib/duet/{p-8b9ffff4.entry.js → p-1db9e784.entry.js} +1 -1
- package/lib/duet/{p-b2f0905a.entry.js → p-1deed1aa.entry.js} +1 -1
- package/lib/duet/{p-f264879d.entry.js → p-27894857.entry.js} +1 -1
- package/lib/duet/{p-868647de.entry.js → p-2c2e7c9b.entry.js} +1 -1
- package/lib/duet/{p-6865e880.entry.js → p-2c465a03.entry.js} +1 -1
- package/lib/duet/p-2d780739.entry.js +4 -0
- package/lib/duet/{p-9987420d.entry.js → p-2f092aed.entry.js} +1 -1
- package/lib/duet/p-304af2e5.entry.js +4 -0
- package/lib/duet/{p-0df7094e.entry.js → p-34d16cbb.entry.js} +1 -1
- package/lib/duet/p-34ec25cb.entry.js +4 -0
- package/lib/duet/{p-430fad4e.entry.js → p-37d5a3c5.entry.js} +1 -1
- package/lib/duet/{p-e9a7215b.entry.js → p-3932a89b.entry.js} +1 -1
- package/lib/duet/{p-4bc7198d.entry.js → p-3c8d76e2.entry.js} +1 -1
- package/lib/duet/{p-9d41df85.entry.js → p-3d454072.entry.js} +1 -1
- package/lib/duet/{p-c5c63d0f.entry.js → p-3e66035d.entry.js} +1 -1
- package/lib/duet/p-471d4d75.entry.js +4 -0
- package/lib/duet/{p-ccaf5c28.entry.js → p-4ddf8009.entry.js} +1 -1
- package/lib/duet/{p-047af1e2.entry.js → p-5044e0ed.entry.js} +1 -1
- package/lib/duet/{p-c26e2123.entry.js → p-5103d5f4.entry.js} +1 -1
- package/lib/duet/{p-f959ca52.entry.js → p-51693a7c.entry.js} +1 -1
- package/lib/duet/{p-b58cfa18.entry.js → p-54bfe081.entry.js} +1 -1
- package/lib/duet/p-588e75cd.entry.js +4 -0
- package/lib/duet/{p-feae1702.entry.js → p-5d70e259.entry.js} +1 -1
- package/lib/duet/p-618cfeef.entry.js +4 -0
- package/lib/duet/{p-8ea85c31.entry.js → p-6449b1cc.entry.js} +1 -1
- package/lib/duet/{p-a944ffff.entry.js → p-6502a274.entry.js} +1 -1
- package/lib/duet/p-69a72f22.entry.js +4 -0
- package/lib/duet/{p-d78923f9.entry.js → p-6e4536e3.entry.js} +1 -1
- package/lib/duet/p-6ed52261.entry.js +4 -0
- package/lib/duet/{p-b4a1c719.entry.js → p-712adcec.entry.js} +1 -1
- package/lib/duet/{p-c49a72ad.entry.js → p-79afa773.entry.js} +1 -1
- package/lib/duet/p-7d61dc62.entry.js +4 -0
- package/lib/duet/p-7f9de2a6.entry.js +4 -0
- package/lib/duet/{p-f17438c7.entry.js → p-870d3c78.entry.js} +1 -1
- package/lib/duet/{p-017873ec.entry.js → p-88bf42dc.entry.js} +1 -1
- package/lib/duet/{p-2013545d.entry.js → p-88e65283.entry.js} +1 -1
- package/lib/duet/{p-8ad4bb4c.entry.js → p-8aaf283d.entry.js} +1 -1
- package/lib/duet/p-8d939074.entry.js +4 -0
- package/lib/duet/{p-84ed366e.entry.js → p-908fca79.entry.js} +1 -1
- package/lib/duet/{p-1358a396.entry.js → p-93080f2d.entry.js} +1 -1
- package/lib/duet/{p-b9e97305.entry.js → p-94d057ea.entry.js} +1 -1
- package/lib/duet/{p-8da66626.entry.js → p-99367980.entry.js} +1 -1
- package/lib/duet/{p-2f0f3a4a.entry.js → p-9a248faf.entry.js} +1 -1
- package/lib/duet/p-9d405b35.entry.js +4 -0
- package/lib/duet/{p-058fcc72.entry.js → p-9ed154f5.entry.js} +1 -1
- package/lib/duet/{p-DtprEjjN.js → p-B1GzOTNZ.js} +1 -1
- package/lib/duet/p-BQTM1aqo.js +4 -0
- package/lib/duet/{p-D4MpGrUR.js → p-CdcBxXLd.js} +1 -1
- package/lib/duet/p-CirNV9Vh.js +4 -0
- package/lib/duet/{p-B0XOGsB6.js → p-Cj9zQLn2.js} +1 -1
- package/lib/duet/p-D3ladndz.js +4 -0
- package/lib/duet/p-D4pJQwPW.js +4 -0
- package/lib/duet/p-Dbe-q7B5.js +4 -0
- package/lib/duet/{p-DSNAI2Lx.js → p-DmLE9-rw.js} +1 -1
- package/lib/duet/p-DoEOuTZj.js +4 -0
- package/lib/duet/{p-420df0aa.entry.js → p-a2514ad4.entry.js} +1 -1
- package/lib/duet/{p-a2f7ef35.entry.js → p-a4a3febe.entry.js} +1 -1
- package/lib/duet/p-a517cdce.entry.js +4 -0
- package/lib/duet/{p-0acf9bcf.entry.js → p-a70bb08d.entry.js} +1 -1
- package/lib/duet/{p-1498e4a8.entry.js → p-aa2c3e0a.entry.js} +1 -1
- package/lib/duet/{p-0c42cc61.entry.js → p-af7b2954.entry.js} +1 -1
- package/lib/duet/{p-1ec31f22.entry.js → p-b37d4985.entry.js} +1 -1
- package/lib/duet/{p-fb59f80d.entry.js → p-b4cf5f14.entry.js} +1 -1
- package/lib/duet/{p-ebe55a34.entry.js → p-b6233e75.entry.js} +1 -1
- package/lib/duet/{p-07d43c60.entry.js → p-b97098a6.entry.js} +1 -1
- package/lib/duet/{p-aebcf484.entry.js → p-bd0263e4.entry.js} +1 -1
- package/lib/duet/{p-69bcb076.entry.js → p-beaa4612.entry.js} +1 -1
- package/lib/duet/{p-a2106abd.entry.js → p-c15c8dd2.entry.js} +1 -1
- package/lib/duet/{p-b7351bfd.entry.js → p-c223cd3e.entry.js} +1 -1
- package/lib/duet/{p-b7bb7472.entry.js → p-c35ae5a0.entry.js} +1 -1
- package/lib/duet/{p-b5204ec2.entry.js → p-c435bb67.entry.js} +1 -1
- package/lib/duet/p-c6e3723f.entry.js +4 -0
- package/lib/duet/{p-a62e6d8d.entry.js → p-c7b32952.entry.js} +1 -1
- package/lib/duet/p-c95669be.entry.js +4 -0
- package/lib/duet/{p-9dee0205.entry.js → p-c987a644.entry.js} +1 -1
- package/lib/duet/p-c9b8c2ba.entry.js +4 -0
- package/lib/duet/{p-3ce04abc.entry.js → p-c9bdf927.entry.js} +1 -1
- package/lib/duet/{p-b3a7ef62.entry.js → p-cdf0fb4c.entry.js} +1 -1
- package/lib/duet/p-d069edf1.entry.js +4 -0
- package/lib/duet/p-ddafe27d.entry.js +4 -0
- package/lib/duet/{p-fb0f6212.entry.js → p-dfdec452.entry.js} +1 -1
- package/lib/duet/{p-f89da74c.entry.js → p-e0f729ad.entry.js} +1 -1
- package/lib/duet/{p-bef7eed7.entry.js → p-e32af858.entry.js} +1 -1
- package/lib/duet/{p-68a9ffb5.entry.js → p-e353daaf.entry.js} +1 -1
- package/lib/duet/p-e5dbac7a.entry.js +4 -0
- package/lib/duet/{p-f647f09e.entry.js → p-ec2dcb1b.entry.js} +1 -1
- package/lib/duet/{p-0ab559fb.entry.js → p-ed7fbc44.entry.js} +1 -1
- package/lib/duet/{p-76e2c659.entry.js → p-ef6ce9dc.entry.js} +1 -1
- package/lib/duet/{p-2b17c517.entry.js → p-fcb9c0db.entry.js} +1 -1
- package/lib/duet/{p-e78af675.entry.js → p-fe821e46.entry.js} +1 -1
- package/lib/duet/p-qboSQpUe.js +4 -0
- package/lib/esm/{a11y-utils-DZqe1lDK.js → a11y-utils-DbDY4hy4.js} +1 -1
- package/lib/esm/{app-globals-Byl9AdI1.js → app-globals-COfbcvxE.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +6 -6
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +5 -5
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +10 -10
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +16 -7
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +31 -14
- package/lib/esm/duet-contact-card.entry.js +6 -6
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +17 -13
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +4 -4
- package/lib/esm/duet-header_2.entry.js +3 -3
- 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 +33 -19
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +12 -13
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +8 -8
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +6 -6
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +13 -5
- package/lib/esm/duet-popup-menu_2.entry.js +22 -13
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +15 -15
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +9 -9
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- 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 +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +11 -11
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- 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 +7 -7
- package/lib/esm/duet-teaser.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +20 -11
- package/lib/esm/duet-toggle.entry.js +8 -8
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-KA3z1KuW.js → errorcodes.utils-0XnfYFAn.js} +1 -1
- package/lib/esm/{floating-ui.dom.browser.min-B_NkY9T0.js → floating-ui.dom.browser.min-BQTM1aqo.js} +83 -1
- package/lib/esm/{focus-utils-id9x3opi.js → focus-utils-BwoMMpkj.js} +1 -1
- package/lib/esm/{index-D4MpGrUR.js → index-CdcBxXLd.js} +1 -1
- package/lib/esm/{label-Caev3m-F.js → label-D835wXCb.js} +1 -1
- package/lib/esm/{language-utils-DTyUbpD-.js → language-utils-C-lpMyP9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{picture-utils-4PMNZDR2.js → picture-utils-Cl2qK3GJ.js} +1 -1
- package/lib/esm/{slot-utils-BhEk4zKY.js → slot-utils-BSS0Em_Z.js} +1 -1
- package/lib/esm/{themeable-component-B_d7Klmd.js → themeable-component-DQtSOD4i.js} +1 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -1
- package/lib/types/components/duet-input/duet-input.d.ts +11 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +1 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +8 -1
- package/lib/types/components.d.ts +48 -10
- package/package.json +5 -5
- package/lib/duet/p-05b5ef84.entry.js +0 -4
- package/lib/duet/p-10baba94.entry.js +0 -4
- package/lib/duet/p-16d5dd2c.entry.js +0 -4
- package/lib/duet/p-2265c46a.entry.js +0 -4
- package/lib/duet/p-2394b3cd.entry.js +0 -4
- package/lib/duet/p-453001ea.entry.js +0 -4
- package/lib/duet/p-4e028274.entry.js +0 -4
- package/lib/duet/p-5be103d0.entry.js +0 -4
- package/lib/duet/p-5e5b6dc7.entry.js +0 -4
- package/lib/duet/p-71da8fbe.entry.js +0 -4
- package/lib/duet/p-7f5387dd.entry.js +0 -4
- package/lib/duet/p-940a87e7.entry.js +0 -4
- package/lib/duet/p-99550717.entry.js +0 -4
- package/lib/duet/p-B44ykle6.js +0 -4
- package/lib/duet/p-B5SMAn1G.js +0 -4
- package/lib/duet/p-BAiGBGTO.js +0 -4
- package/lib/duet/p-BWz_ChlU.js +0 -4
- package/lib/duet/p-B_NkY9T0.js +0 -4
- package/lib/duet/p-Bnup2-sN.js +0 -4
- package/lib/duet/p-C6rGA5IU.js +0 -4
- package/lib/duet/p-a2a2f775.entry.js +0 -4
- package/lib/duet/p-b69946d4.entry.js +0 -4
- package/lib/duet/p-bb7fa0cf.entry.js +0 -4
- package/lib/duet/p-bffae8f6.entry.js +0 -4
- package/lib/duet/p-c9a12663.entry.js +0 -4
- package/lib/duet/p-d8383f1a.entry.js +0 -4
- package/lib/duet/p-ef340dc6.entry.js +0 -4
- package/lib/duet/p-f61ebeb1.entry.js +0 -4
|
@@ -146,7 +146,16 @@ export class DuetChoiceGroup {
|
|
|
146
146
|
var _a;
|
|
147
147
|
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
148
148
|
const allChoices = Array.from(this.element.querySelectorAll("duet-choice"));
|
|
149
|
-
const ownChoices = allChoices
|
|
149
|
+
const ownChoices = allChoices
|
|
150
|
+
.filter(choice => !allChoices.includes(choice.parentElement.closest("duet-choice")))
|
|
151
|
+
.filter(ownChoice => {
|
|
152
|
+
if (ownChoice.type === "checkbox") {
|
|
153
|
+
console.error("Choice Group must consist of type=radio Choices. Choise type=checkbox is not allowed. They will be removed in a future Duet version", ownChoice);
|
|
154
|
+
// ownChoice.remove()
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
return true;
|
|
158
|
+
});
|
|
150
159
|
let hasChecked = false;
|
|
151
160
|
this.choices.clear();
|
|
152
161
|
ownChoices.forEach(choice => this.choices.add(choice));
|
|
@@ -181,14 +190,14 @@ export class DuetChoiceGroup {
|
|
|
181
190
|
* Always the last one in the class.
|
|
182
191
|
*/
|
|
183
192
|
render() {
|
|
184
|
-
return (h(Host, { key: '
|
|
193
|
+
return (h(Host, { key: 'bef9e6aed77ae942a881822af3fd9b2fd340088b', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
185
194
|
horizontal: this.direction === "horizontal",
|
|
186
195
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
187
196
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
188
197
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
189
198
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
190
199
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
191
|
-
} }, h("duet-fieldset", { key: '
|
|
200
|
+
} }, h("duet-fieldset", { key: '18197d3bbcf9772c85e002a0df25e9df79dcb3a7', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'f9a555c68c6f7312e0941a16752f5c2b3e488e93', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '041c890f290b5ecd750edd189288cfb2769aa60b', name: "tooltip", slot: "tooltip" }), h("div", { key: '01d3e4cad179c9aa864c80557831cbf10bf2b0f2', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '87f9ea13d22d029ba9025572432ebdde96456838' })))));
|
|
192
201
|
}
|
|
193
202
|
static get is() { return "duet-choice-group"; }
|
|
194
203
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,5 +14,5 @@ export const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = u
|
|
|
14
14
|
.map(term => regexEscape(term));
|
|
15
15
|
const regEx = search !== "" ? new RegExp(`(${searchTerms.join("|")})`, "i") : undefined;
|
|
16
16
|
const highlightStyle = "text-decoration: underline";
|
|
17
|
-
return (h("duet-popup-menu-item", { id: activeDescendant ? id : "", active: selected, "data-index": item.id, "aria-selected":
|
|
17
|
+
return (h("duet-popup-menu-item", { id: activeDescendant ? id : "", active: selected, "data-index": item.id, "aria-selected": selected ? "true" : undefined, "aria-current": activeDescendant ? "true" : undefined, role: "option", "aria-label": label, tabindex: isAndroidDevice ? "-1" : null, onClick: e => clickHandler(e), onKeyUp: e => keyHandler(e), accessibleRole: "option", activeDescendant: activeDescendant }, regEx ? (h("span", { class: "option-container", "aria-hidden": "true" }, h("span", { innerHTML: item.name.replace(regEx, `<span style="${highlightStyle}">$&</span>`) }))) : (item.name), item.tags && h("span", { class: "option-tags" }, item.tags.join(", "))));
|
|
18
18
|
};
|
|
@@ -38,6 +38,7 @@ export class DuetCombobox {
|
|
|
38
38
|
// the activeItem number is based upon the array.index of the array stored in processedItems
|
|
39
39
|
this.activeItem = undefined;
|
|
40
40
|
this.activeItemAnnouncement = "";
|
|
41
|
+
this.optionsFoundAnnouncement = "";
|
|
41
42
|
/**
|
|
42
43
|
* Defaults for the accessible labels for the select items
|
|
43
44
|
*/
|
|
@@ -45,17 +46,23 @@ export class DuetCombobox {
|
|
|
45
46
|
en: {
|
|
46
47
|
heading: "Select:",
|
|
47
48
|
item: "{name}",
|
|
48
|
-
|
|
49
|
+
activeItemLabel: "{name}, {current} / {total}",
|
|
50
|
+
optionsFound: "{optionCount} options found",
|
|
51
|
+
noOptionsFound: "No options found",
|
|
49
52
|
},
|
|
50
53
|
fi: {
|
|
51
54
|
heading: "Valitse:",
|
|
52
55
|
item: "{name}",
|
|
53
|
-
|
|
56
|
+
activeItemLabel: "{name}, {current} / {total}",
|
|
57
|
+
optionsFound: "{optionCount}, valintaa löydetty", // extra comma to prevent unwanted conjugation
|
|
58
|
+
noOptionsFound: "Yhtään valintaa ei löydy",
|
|
54
59
|
},
|
|
55
60
|
sv: {
|
|
56
61
|
heading: "Välj:",
|
|
57
62
|
item: "{name}",
|
|
58
|
-
|
|
63
|
+
activeItemLabel: "{name}, {current} / {total}",
|
|
64
|
+
optionsFound: "{optionCount} val hittades",
|
|
65
|
+
noOptionsFound: "Inget val hittades",
|
|
59
66
|
},
|
|
60
67
|
};
|
|
61
68
|
/**
|
|
@@ -131,6 +138,7 @@ export class DuetCombobox {
|
|
|
131
138
|
}
|
|
132
139
|
});
|
|
133
140
|
};
|
|
141
|
+
this.optionsFoundTimeoutId = 0;
|
|
134
142
|
this.onInputTyping = async (e) => {
|
|
135
143
|
var _a;
|
|
136
144
|
const newValue = e.detail.value;
|
|
@@ -140,7 +148,14 @@ export class DuetCombobox {
|
|
|
140
148
|
if (!this.multiple && newValue === "") {
|
|
141
149
|
this.value = undefined;
|
|
142
150
|
}
|
|
143
|
-
|
|
151
|
+
const filteredItemsCount = ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) || 0;
|
|
152
|
+
this.listOpen = String(newValue).length >= this.minCharacters && filteredItemsCount > 0;
|
|
153
|
+
clearTimeout(this.optionsFoundTimeoutId);
|
|
154
|
+
this.optionsFoundTimeoutId = setTimeout(() => {
|
|
155
|
+
this.optionsFoundAnnouncement = filteredItemsCount
|
|
156
|
+
? this.accessibleLabels.optionsFound.replace("{optionCount}", `${filteredItemsCount}`)
|
|
157
|
+
: this.accessibleLabels.noOptionsFound;
|
|
158
|
+
}, 1000);
|
|
144
159
|
};
|
|
145
160
|
this.onKeyDown = (e) => {
|
|
146
161
|
var _a, _b, _c;
|
|
@@ -363,6 +378,7 @@ export class DuetCombobox {
|
|
|
363
378
|
this.input.accessibleExpanded = this.listOpen ? "true" : "false";
|
|
364
379
|
this.input.accessibleAutocomplete = "list";
|
|
365
380
|
this.input.accessibleControls = this.listBoxId;
|
|
381
|
+
this.input.spellcheck = false;
|
|
366
382
|
this.input.id = this.inputId;
|
|
367
383
|
this.element.addEventListener("keydown", this.onKeyDown);
|
|
368
384
|
connectLanguageChangeObserver(this, { prop: "accessibleLabels", defaults: "accessibleLabelDefaults" });
|
|
@@ -379,6 +395,7 @@ export class DuetCombobox {
|
|
|
379
395
|
if (Build.isServer) {
|
|
380
396
|
return;
|
|
381
397
|
}
|
|
398
|
+
clearTimeout(this.optionsFoundTimeoutId);
|
|
382
399
|
this.input.removeEventListener("duetChange", this.onInputChange);
|
|
383
400
|
this.element.removeEventListener("click", this.onInputClick);
|
|
384
401
|
this.element.removeEventListener("keydown", this.onKeyDown);
|
|
@@ -549,7 +566,8 @@ export class DuetCombobox {
|
|
|
549
566
|
}
|
|
550
567
|
//function that scrolls to the li element with the class "active"
|
|
551
568
|
scrollToActive() {
|
|
552
|
-
|
|
569
|
+
var _a;
|
|
570
|
+
const activeElement = (_a = this.element.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById(`${this.activeDescendantId}`);
|
|
553
571
|
if (activeElement) {
|
|
554
572
|
activeElement.scrollIntoView({
|
|
555
573
|
behavior: "smooth",
|
|
@@ -561,12 +579,11 @@ export class DuetCombobox {
|
|
|
561
579
|
if (!item || itemsLength === undefined) {
|
|
562
580
|
return "";
|
|
563
581
|
}
|
|
564
|
-
const labelString = length === itemsLength ? this.accessibleLabels.item : this.accessibleLabels.
|
|
582
|
+
const labelString = length === itemsLength ? this.accessibleLabels.item : this.accessibleLabels.activeItemLabel;
|
|
565
583
|
return labelString
|
|
566
584
|
.replace("{name}", String(item.name))
|
|
567
585
|
.replace("{current}", String(itemIndex + 1))
|
|
568
|
-
.replace("{total}", String(length))
|
|
569
|
-
.replace("{hiddenItems}", String(itemsLength - length));
|
|
586
|
+
.replace("{total}", String(length));
|
|
570
587
|
}
|
|
571
588
|
/**
|
|
572
589
|
* Filter the items based on the input value
|
|
@@ -640,7 +657,7 @@ export class DuetCombobox {
|
|
|
640
657
|
return (h(Host, { class: {
|
|
641
658
|
"duet-combobox": true,
|
|
642
659
|
[`duet-theme-${this.theme}`]: true,
|
|
643
|
-
} }, h("slot", null), h("duet-visually-hidden", null, h("span", { "aria-live": "assertive", "aria-atomic": "true" }, this.activeItemAnnouncement)), h("div", null, h("duet-popup-menu", { id: this.listBoxId, controller: this.popupMenuController, ref: el => (this.listContainer = el), accessibleRole: "listbox", allowVerticalFlip: false, mainAxisOffset: verticalOffset, crossAxisOffset: horizontalOffset, class: { "duet-skip-teleport-inert": this.isInsideModal } }, h("div", { class: "combobox-menu-container", style: this.getMenuContainerStyles() }, this.listOpen &&
|
|
660
|
+
} }, h("slot", null), h("duet-visually-hidden", null, h("span", { "aria-live": "polite", "aria-atomic": "true" }, this.optionsFoundAnnouncement), h("span", { "aria-live": "assertive", "aria-atomic": "true" }, this.activeItemAnnouncement)), h("div", null, h("duet-popup-menu", { id: this.listBoxId, controller: this.popupMenuController, ref: el => (this.listContainer = el), accessibleRole: "listbox", allowVerticalFlip: false, mainAxisOffset: verticalOffset, crossAxisOffset: horizontalOffset, class: { "duet-skip-teleport-inert": this.isInsideModal } }, h("div", { class: "combobox-menu-container", style: this.getMenuContainerStyles() }, this.listOpen &&
|
|
644
661
|
selectElements.map((item, index) => {
|
|
645
662
|
return (h(DuetComboBoxSelect, { id: this.activeDescendantId, item: item, activeDescendant: index === this.activeItem, selected: this.selectedItems.has(item.id), search: this.inputValue, clickHandler: e => this.onListClick(e, item), label: this.formatLabel(item, index, selectElements.length, this.processedItems.length), isAndroidDevice: this.isAndroidDevice }));
|
|
646
663
|
}), h("duet-spacer", { size: "x-small" }))))));
|
|
@@ -683,7 +700,7 @@ export class DuetCombobox {
|
|
|
683
700
|
"getter": false,
|
|
684
701
|
"setter": false,
|
|
685
702
|
"reflect": false,
|
|
686
|
-
"defaultValue": "{\n en: {\n heading: \"Select:\",\n item: \"{name}\",\n
|
|
703
|
+
"defaultValue": "{\n en: {\n heading: \"Select:\",\n item: \"{name}\",\n activeItemLabel: \"{name}, {current} / {total}\",\n optionsFound: \"{optionCount} options found\",\n noOptionsFound: \"No options found\",\n },\n fi: {\n heading: \"Valitse:\",\n item: \"{name}\",\n activeItemLabel: \"{name}, {current} / {total}\",\n optionsFound: \"{optionCount}, valintaa l\u00F6ydetty\", // extra comma to prevent unwanted conjugation\n noOptionsFound: \"Yht\u00E4\u00E4n valintaa ei l\u00F6ydy\",\n },\n sv: {\n heading: \"V\u00E4lj:\",\n item: \"{name}\",\n activeItemLabel: \"{name}, {current} / {total}\",\n optionsFound: \"{optionCount} val hittades\",\n noOptionsFound: \"Inget val hittades\",\n },\n }"
|
|
687
704
|
},
|
|
688
705
|
"accessibleLabels": {
|
|
689
706
|
"type": "unknown",
|
|
@@ -954,7 +971,8 @@ export class DuetCombobox {
|
|
|
954
971
|
"popupMenuController": {},
|
|
955
972
|
"selectedItems": {},
|
|
956
973
|
"activeItem": {},
|
|
957
|
-
"activeItemAnnouncement": {}
|
|
974
|
+
"activeItemAnnouncement": {},
|
|
975
|
+
"optionsFoundAnnouncement": {}
|
|
958
976
|
};
|
|
959
977
|
}
|
|
960
978
|
static get events() {
|
|
@@ -59,10 +59,10 @@ export class DuetContactCard {
|
|
|
59
59
|
},
|
|
60
60
|
sources: parsePossibleJSON(this.sources),
|
|
61
61
|
};
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '04096609d15dbb158a385792f711da26ee95dd95', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'a0878e116a425a2ed9652904f7bc7d3d93544354', class: {
|
|
63
63
|
"duet-contact-card": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
|
-
}, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: '
|
|
65
|
+
}, role: "group", "aria-label": this.name }, this.image ? h(DuetPicture, Object.assign({}, pictureSource)) : h("div", null), h("div", { key: '152a894a38c39c7f16488b0507ea8a2c139d29c5' }, this.name && (h("duet-heading", { key: '8738ca48c85445b027021dc89b500332a6d6b449', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'a9f592ba12df7aeb59c5a5e2fad53ae1e52bab85', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'afc1e103364b705e988962ab9edfdd5e0dfbbf5f', class: "email" }, h("duet-icon", { key: '5cf4768948c4b002f742233dc4d4f279bbc45b54', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'e2e59421cec8883de026f5f47a6da855545a68ce', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '5a4085420c24900f3ae971f5cf5b84a91a830da4', class: "phone" }, h("duet-icon", { key: '01c049683d092c7b71fcdbf24b9a8470bd8af2da', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '99c27b5983a2388e1349de7eb7b7db19d754b475', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: '9996e7c2693ddb274ab8a803e0dc564bfc40c246', class: "call-to-action" }, h("duet-button", { key: 'c0730311ffec7410311d527e75a725332a849ac8', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '136c1d0c39ad396194d2f9f7e9ca180e82aa66a7' }), h("slot", { key: 'fc98de9e746468e61a869ed3f4678495fe9df91f' }))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "duet-contact-card"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,5 +18,5 @@ export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, o
|
|
|
18
18
|
function handleClick(e) {
|
|
19
19
|
onDaySelect(e, day);
|
|
20
20
|
}
|
|
21
|
-
return (h("td", { "data-day": printISODate(day), class: { "duet-date-table-cell": true, selected: isSelected }, "aria-label": `${formatterShort.format(day)}${isSelected ? `, ${selectedDayLabel[language]}` :
|
|
21
|
+
return (h("td", { "data-day": printISODate(day), class: { "duet-date-table-cell": true, selected: isSelected }, "aria-label": `${formatterShort.format(day)}${isSelected ? `, ${selectedDayLabel[language]}` : ""}`, role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, ref: ref }, h("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
|
|
22
22
|
};
|
|
@@ -117,9 +117,13 @@ export class DuetDatePicker {
|
|
|
117
117
|
*/
|
|
118
118
|
this.error = "";
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* @deprecated changed from opt-out to opt-in with attribute `enable-built-in-errors`
|
|
121
121
|
*/
|
|
122
|
-
this.disableBuiltInErrors =
|
|
122
|
+
this.disableBuiltInErrors = true;
|
|
123
|
+
/**
|
|
124
|
+
* Date picker can use built-in error messages for invalid or missing entries if the application does not handle those.
|
|
125
|
+
*/
|
|
126
|
+
this.enableBuiltInErrors = false;
|
|
123
127
|
/**
|
|
124
128
|
* Visually hide the label, but still show it to screen readers.
|
|
125
129
|
*/
|
|
@@ -197,7 +201,7 @@ export class DuetDatePicker {
|
|
|
197
201
|
this.handleBlur = (event) => {
|
|
198
202
|
event.stopPropagation();
|
|
199
203
|
this.inputHasFocus = false;
|
|
200
|
-
if (!this._validity.valid &&
|
|
204
|
+
if (!this._validity.valid && this.enableBuiltInErrors) {
|
|
201
205
|
const errorKey = Object.entries(this._validity).find(entry => !!entry[1])[0];
|
|
202
206
|
this.error = getLocaleString(this.dateErrorMessages[errorKey]);
|
|
203
207
|
}
|
|
@@ -435,7 +439,7 @@ export class DuetDatePicker {
|
|
|
435
439
|
valueMissing,
|
|
436
440
|
valid: !(valueMissing || badInput || rangeUnderflow || rangeOverflow || customError),
|
|
437
441
|
};
|
|
438
|
-
if (this._validity.valid) {
|
|
442
|
+
if (this._validity.valid && this.enableBuiltInErrors) {
|
|
439
443
|
this.error = "";
|
|
440
444
|
}
|
|
441
445
|
}
|
|
@@ -496,13 +500,13 @@ export class DuetDatePicker {
|
|
|
496
500
|
if (maxDate) {
|
|
497
501
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
498
502
|
}
|
|
499
|
-
return (h(Host, { key: '
|
|
503
|
+
return (h(Host, { key: '2101b93d551d7db95be216d7e8293354201e68fb', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, h("div", { key: 'd23a2c29a015fbf53bf97b6f07cc79230ec77ae3', class: "duet-date" }, h(DatePickerInput, { key: '0d7a4f813cb59f576fe7bdf0b5866e60cbaccc71', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), h("div", { key: '868801785eb752e7c988273787ba367463f0d2c0', class: {
|
|
500
504
|
"duet-theme-turva": this.theme === "turva",
|
|
501
505
|
"duet-date-dialog": true,
|
|
502
506
|
left: this.direction === "left",
|
|
503
507
|
error: !!this.error,
|
|
504
508
|
active: this.open,
|
|
505
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("duet-overlay", { key: '
|
|
509
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("duet-overlay", { key: 'ff3ca44007f17949b16824685e55d4b52304a635', visible: this.open, "display-device": "x-small" }), h(FocusGuard, { key: '52415f73958c302f54ed9ed1d2fc4f4d4d8c2413', moveFocusTo: this.focusedDayNode }), h("div", { key: '0dd696ad1ac07902f07f483907d28056a7a53875', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, h("duet-visually-hidden", { key: 'e2a7f570483f794aa9f69367e6d5d264e382704d', "aria-live": "polite" }, text.keyboardInstruction), h("div", { key: '5fba9ce2d01e722cef8125759dc2ca476a1b75ac', class: "duet-date-dialog-mobile-header" }, h(DuetInternalLabel, { key: '1e06e95abf149f493566476b91a8a5478e7978e1', margin: "none" }, this.label), h("button", { key: 'f0d02d5c156532cbcd62a941a3624b7e97f0ffed', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, h("duet-icon", { key: '7ddaf28a52153f0d7c2f514fe4d657a108d8cefb', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), h("duet-visually-hidden", { key: 'db236821d951de7fec7f33b55841538d9fe5f796' }, text.closeLabel))), h("div", { key: 'bf259e202dd64c21a95dd24ba47b7c0776811b4b', class: "duet-date-dialog-header" }, h("div", { key: '9d833d152a1f2d7f594d5c47e28d18363c8910d7', class: "duet-date-dialog-dropdowns" }, h("duet-visually-hidden", { key: 'f00f0ff852c76fff5bae02ab2915127b105c4d63' }, h("h2", { key: '028369aad6a32055c14ecf6c0b06334e2e54a9bb', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), h("duet-visually-hidden", { key: '73d126ea4d199f59eb55df5113e06c54a4222dc3' }, h("label", { key: '22f1038fdc4e65bf77d0e888f1e4f4e714b70bbc', htmlFor: this.monthSelectId }, text.monthSelectLabel)), h("div", { key: '6770d474539174a57fcd109545e693cae6894f77', class: "duet-date-dialog-select" }, h("select", { key: '8a8d5005e81c8ba1838d298599d074b82d2e0197', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (h("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), h("div", { key: '8144b70f64ab6f3dd4361ad61e489912c38e02d8', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, h("span", { key: '4e0172c58f7771d0f84ef9fa7ae5bebd7d7b5036' }, text.monthLabelsShort[focusedMonth]), h("duet-icon", { key: '025b0e895b95983de955fbbda9f793ad7b52fb80', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), h("duet-visually-hidden", { key: 'e0323ecb8e50e0d40dd93b0269dd8dcc07ad6435' }, h("label", { key: '4072da35b9fd966b01d8b49d4c396f66f3c5485a', htmlFor: this.yearSelectId }, text.yearSelectLabel)), h("div", { key: '781da9cd4ee79d9e64cb9c76926859d4d819434e', class: "duet-date-dialog-select" }, h("select", { key: '75f150c29f8bc931d36cd02e2a354d89b7f2761b', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (h("option", { key: year, selected: year === focusedYear }, year)))), h("div", { key: '96384ab271288677c40cae8d26b7e3d732ac6986', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, h("span", { key: '6f5068e75adf6ccb8dd62e9e3495278130b8406e' }, this.focusedDay.getFullYear()), h("duet-icon", { key: 'ca880dd653adc64184a8804ffeb45b2bad8da968', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), h("div", { key: '5dd36177b3b2e383e8879dc5fc05eaaa554fc22e', class: "duet-date-dialog-buttons" }, h("duet-action-button", { key: 'ee701d60f8510cf00e34042bd9693ae47f99d6a0', accessibleLabel: i18n[this.language].prevMonthLabel, actionName: i18n[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), h("duet-action-button", { key: 'c6da5355e47cd7d1fd4402650b019b9a6e36d150', accessibleLabel: i18n[this.language].nextMonthLabel, actionName: i18n[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), h(DatePickerMonth, { key: 'b6a5540ec6e095f556c761b2e7784b7004568156', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, disallowWeekends: this.disallowWeekends, disallowBankHolidays: this.disallowBankHolidays, disallowedDates: this.disallowedDates, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), h(FocusGuard, { key: 'ff93eaf35841d06eb93e2125254f8f801631bd88', moveFocusTo: this.closeButtonNode }))));
|
|
506
510
|
}
|
|
507
511
|
static get is() { return "duet-date-picker"; }
|
|
508
512
|
static get encapsulation() { return "shadow"; }
|
|
@@ -824,9 +828,32 @@ export class DuetDatePicker {
|
|
|
824
828
|
},
|
|
825
829
|
"required": false,
|
|
826
830
|
"optional": false,
|
|
831
|
+
"docs": {
|
|
832
|
+
"tags": [{
|
|
833
|
+
"name": "deprecated",
|
|
834
|
+
"text": "changed from opt-out to opt-in with attribute `enable-built-in-errors`"
|
|
835
|
+
}],
|
|
836
|
+
"text": ""
|
|
837
|
+
},
|
|
838
|
+
"getter": false,
|
|
839
|
+
"setter": false,
|
|
840
|
+
"reflect": false,
|
|
841
|
+
"defaultValue": "true"
|
|
842
|
+
},
|
|
843
|
+
"enableBuiltInErrors": {
|
|
844
|
+
"type": "boolean",
|
|
845
|
+
"attribute": "enable-built-in-errors",
|
|
846
|
+
"mutable": false,
|
|
847
|
+
"complexType": {
|
|
848
|
+
"original": "boolean",
|
|
849
|
+
"resolved": "boolean",
|
|
850
|
+
"references": {}
|
|
851
|
+
},
|
|
852
|
+
"required": false,
|
|
853
|
+
"optional": false,
|
|
827
854
|
"docs": {
|
|
828
855
|
"tags": [],
|
|
829
|
-
"text": "Date picker
|
|
856
|
+
"text": "Date picker can use built-in error messages for invalid or missing entries if the application does not handle those."
|
|
830
857
|
},
|
|
831
858
|
"getter": false,
|
|
832
859
|
"setter": false,
|
|
@@ -75,20 +75,20 @@ export class DuetFieldset {
|
|
|
75
75
|
* Always the last one in the class.
|
|
76
76
|
*/
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: 'e2c6cc99f8d6e3fcf85ee4a774b61e8a138fe2cb', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '1e382d523fb124212f4475c59f660566b22cac4a', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
79
79
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
80
80
|
// once they do, we can remove errors from the aria-describedby
|
|
81
81
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
82
82
|
class: {
|
|
83
83
|
"duet-fieldset": true,
|
|
84
84
|
"duet-theme-turva": this.theme === "turva",
|
|
85
|
-
} }, h("legend", { key: '
|
|
85
|
+
} }, h("legend", { key: '4af73da9eecbdef957d0d9f9fbbde218082cd94b', id: this.labelId }, h(this.labelHeadingLevel, { key: '5b52e382eecc29c2bd709765592e2b9e6fe0fd60' }, this.label), this.caption && h("span", { key: 'ce5feca713eeddbfafb5ab03576e6026e588ac63' }, this.caption)), h("div", { key: '29f85072f52ccc650302586b79d334d2aa686706', class: {
|
|
86
86
|
"duet-legend-wrapper": true,
|
|
87
87
|
"duet-legend-has-caption": !!this.caption,
|
|
88
88
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
89
89
|
"duet-legend-hidden": this.labelHidden,
|
|
90
90
|
"duet-legend-compact": this.compactLabel,
|
|
91
|
-
} }, h("div", { key: '
|
|
91
|
+
} }, h("div", { key: '78421d08367b6a7e158fb3cc461767cd34eb4dad', class: "duet-fieldset-label" }, h("span", { key: '4df48d5fb01b4cdc199ee36b034f0b54c7ad2039', "aria-hidden": "true" }, this.label), h("slot", { key: 'c4e9d3107c5d62aaadb594e9fa41e455159693cb', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '1777e78c69d940f110b1ae7bbe33a257197b1229', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '0ded2be735ec605ecd5451e37a0941db8b9cb7ce', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '2c2acbb1a507fcef25618366d958cbe494d0929c' }), h("span", { key: 'acd99ed8f4ce567b424bb0097df9d4fccca103c3', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '4bbba6d24a221081cc559fec9cfca914109b1aac', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "duet-fieldset"; }
|
|
94
94
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class DuetGridItem {
|
|
|
53
53
|
* Always the last one in the class.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '12dce875bc953154224e96f783fbbc66ecc28884', style: {
|
|
57
57
|
"min-width": this.minWidth,
|
|
58
58
|
"max-width": this.maxWidth,
|
|
59
59
|
}, class: {
|
|
@@ -70,7 +70,7 @@ export class DuetGridItem {
|
|
|
70
70
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
71
71
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
72
72
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
73
|
-
} }, h("slot", { key: '
|
|
73
|
+
} }, h("slot", { key: '51f9a6b4ce1898cf60071a5d527a3c542c761051' })));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "duet-grid-item"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,11 +144,11 @@ export class DuetIcon {
|
|
|
144
144
|
: {};
|
|
145
145
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
146
146
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: 'fc3baf3fd1c385e8841cb935f5ea4781fed66367', class: {
|
|
148
148
|
"duet-m-0": this.margin === "none",
|
|
149
149
|
"duet-icon-has-outline": !!this.outline,
|
|
150
150
|
"duet-icon-has-background": !!this.background,
|
|
151
|
-
} }, h("span", { key: '
|
|
151
|
+
} }, h("span", { key: '5c8edb2e88c8214bb38753dd019c9d24a1421dad', "aria-hidden": "true", style: styles, class: {
|
|
152
152
|
"duet-icon": true,
|
|
153
153
|
"duet-theme-turva": this.theme === "turva",
|
|
154
154
|
"duet-theme-default": this.theme === "default",
|
|
@@ -157,7 +157,7 @@ export class DuetIcon {
|
|
|
157
157
|
[shapeStyle]: true,
|
|
158
158
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
159
159
|
"duet-icon-not-responsive": !this.responsive,
|
|
160
|
-
} }, h("span", { key: '
|
|
160
|
+
} }, h("span", { key: '93836d0a46c0293fc59790869a0c0732b055c191', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
161
161
|
}
|
|
162
162
|
static get is() { return "duet-icon"; }
|
|
163
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -310,6 +310,10 @@ duet-caption:not(:last-of-type) {
|
|
|
310
310
|
.duet-input.after-chip {
|
|
311
311
|
padding-left: 8px !important;
|
|
312
312
|
}
|
|
313
|
+
.duet-input[readonly] {
|
|
314
|
+
color: rgb(62, 84, 102) !important;
|
|
315
|
+
border-color: rgb(212, 223, 229);
|
|
316
|
+
}
|
|
313
317
|
.has-error .duet-input {
|
|
314
318
|
outline-offset: -1px;
|
|
315
319
|
background-color: rgb(255, 240, 243) !important;
|
|
@@ -500,6 +504,9 @@ duet-caption:not(:last-of-type) {
|
|
|
500
504
|
.duet-input-variation-revealable.disabled .duet-input-relative {
|
|
501
505
|
outline: none;
|
|
502
506
|
background: rgb(245, 248, 250);
|
|
507
|
+
border-color: rgb(181, 198, 208);
|
|
508
|
+
}
|
|
509
|
+
.duet-input-variation-revealable.readonly .duet-input-relative {
|
|
503
510
|
border-color: rgb(212, 223, 229);
|
|
504
511
|
}
|
|
505
512
|
.duet-input-variation-revealable.has-error .duet-input-relative {
|
|
@@ -525,6 +532,14 @@ duet-caption:not(:last-of-type) {
|
|
|
525
532
|
border-color: rgb(214, 28, 82) !important;
|
|
526
533
|
}
|
|
527
534
|
|
|
535
|
+
.duet-input-container.has-adornment.disabled .duet-input-relative,
|
|
536
|
+
.duet-input-container.has-chips.disabled .duet-input-relative {
|
|
537
|
+
border-color: rgb(181, 198, 208);
|
|
538
|
+
}
|
|
539
|
+
.duet-input-container.has-adornment.readonly .duet-input-relative,
|
|
540
|
+
.duet-input-container.has-chips.readonly .duet-input-relative {
|
|
541
|
+
border-color: rgb(212, 223, 229);
|
|
542
|
+
}
|
|
528
543
|
.duet-input-container.has-adornment.has-focus .duet-input-relative,
|
|
529
544
|
.duet-input-container.has-chips.has-focus .duet-input-relative {
|
|
530
545
|
outline: 2px solid;
|
|
@@ -637,6 +652,10 @@ duet-caption:not(:last-of-type) {
|
|
|
637
652
|
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
638
653
|
color: rgb(23, 42, 59) !important;
|
|
639
654
|
}
|
|
655
|
+
.duet-theme-turva .duet-input[readonly] {
|
|
656
|
+
color: rgb(53, 79, 101) !important;
|
|
657
|
+
border-color: rgb(212, 221, 226);
|
|
658
|
+
}
|
|
640
659
|
.duet-theme-turva .duet-input[disabled] {
|
|
641
660
|
color: rgb(95, 122, 143) !important;
|
|
642
661
|
cursor: not-allowed !important;
|
|
@@ -671,6 +690,12 @@ duet-caption:not(:last-of-type) {
|
|
|
671
690
|
.duet-theme-turva .duet-input-variation-revealable .duet-input-relative {
|
|
672
691
|
border-color: rgb(120, 145, 164);
|
|
673
692
|
}
|
|
693
|
+
.duet-theme-turva.duet-input-variation-revealable.disabled .duet-input-relative {
|
|
694
|
+
border-color: rgb(178, 194, 205);
|
|
695
|
+
}
|
|
696
|
+
.duet-theme-turva.duet-input-variation-revealable.readonly .duet-input-relative {
|
|
697
|
+
border-color: rgb(212, 221, 226);
|
|
698
|
+
}
|
|
674
699
|
.duet-theme-turva.duet-input-variation-revealable.has-error .duet-input-relative {
|
|
675
700
|
border-color: rgb(214, 28, 82);
|
|
676
701
|
}
|
|
@@ -687,4 +712,10 @@ duet-caption:not(:last-of-type) {
|
|
|
687
712
|
}
|
|
688
713
|
.duet-theme-turva .duet-input-container.has-chips .duet-input-relative {
|
|
689
714
|
border-color: rgb(120, 145, 164);
|
|
715
|
+
}
|
|
716
|
+
.duet-theme-turva .duet-input-container.has-chips.disabled .duet-input-relative {
|
|
717
|
+
border-color: rgb(178, 194, 205);
|
|
718
|
+
}
|
|
719
|
+
.duet-theme-turva .duet-input-container.has-chips.readonly .duet-input-relative {
|
|
720
|
+
border-color: rgb(212, 221, 226);
|
|
690
721
|
}
|