@prolibu-suite/cobalt-core 0.8.0 → 0.9.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/custom-elements.json +10 -10
- package/dist/cjs/co-accordion.cjs.entry.js +4 -4
- package/dist/cjs/co-action-bar.cjs.entry.js +4 -4
- package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
- package/dist/cjs/co-audio-player.cjs.entry.js +5 -5
- package/dist/cjs/co-autocomplete.cjs.entry.js +15 -6
- package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/co-avatar_2.cjs.entry.js +16 -5
- package/dist/cjs/co-badge.cjs.entry.js +2 -2
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +5 -5
- package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/co-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-button.cjs.entry.js +4 -4
- package/dist/cjs/co-calendar-month_2.cjs.entry.js +5 -5
- package/dist/cjs/co-calendar_3.cjs.entry.js +10 -10
- package/dist/cjs/co-card.cjs.entry.js +4 -4
- package/dist/cjs/co-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/co-carousel.cjs.entry.js +3 -3
- package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/co-chip_2.cjs.entry.js +20 -8
- package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
- package/dist/cjs/co-column-picker.cjs.entry.js +4 -4
- package/dist/cjs/co-combobox.cjs.entry.js +14 -6
- package/dist/cjs/co-command-search.cjs.entry.js +20 -6
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +6 -6
- package/dist/cjs/co-data-table.cjs.entry.js +2 -2
- package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-date-range.cjs.entry.js +2 -2
- package/dist/cjs/co-date-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/co-drive-card.cjs.entry.js +3 -3
- package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
- package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/co-event-calendar.cjs.entry.js +4 -4
- package/dist/cjs/co-event-popover.cjs.entry.js +3 -3
- package/dist/cjs/co-fab.cjs.entry.js +4 -4
- package/dist/cjs/co-file-field.cjs.entry.js +8 -8
- package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
- package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/co-icon-button.cjs.entry.js +3 -3
- package/dist/cjs/co-icon.cjs.entry.js +3 -3
- package/dist/cjs/co-input.cjs.entry.js +3 -3
- package/dist/cjs/co-json-field.cjs.entry.js +6 -6
- package/dist/cjs/co-lightbox.cjs.entry.js +6 -6
- package/dist/cjs/co-list-footer.cjs.entry.js +3 -3
- package/dist/cjs/co-list-item.cjs.entry.js +6 -6
- package/dist/cjs/co-loader.cjs.entry.js +1 -1
- package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
- package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/co-menu.cjs.entry.js +2 -2
- package/dist/cjs/co-modal.cjs.entry.js +4 -4
- package/dist/cjs/co-navbar.cjs.entry.js +3 -3
- package/dist/cjs/co-number-field.cjs.entry.js +5 -5
- package/dist/cjs/co-overlay.cjs.entry.js +3 -3
- package/dist/cjs/co-page-header.cjs.entry.js +2 -2
- package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
- package/dist/cjs/co-popover.cjs.entry.js +32 -6
- package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/co-progress-circle.cjs.entry.js +4 -4
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +2 -2
- package/dist/cjs/co-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/co-radio.cjs.entry.js +5 -5
- package/dist/cjs/co-rating.cjs.entry.js +5 -5
- package/dist/cjs/co-ref-field.cjs.entry.js +18 -6
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +5 -5
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
- package/dist/cjs/co-row.cjs.entry.js +3 -3
- package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
- package/dist/cjs/co-select.cjs.entry.js +3 -3
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/co-slider.cjs.entry.js +4 -4
- package/dist/cjs/co-switch.cjs.entry.js +6 -6
- package/dist/cjs/co-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/co-tab.cjs.entry.js +4 -4
- package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
- package/dist/cjs/co-textarea.cjs.entry.js +7 -7
- package/dist/cjs/co-toast.cjs.entry.js +35 -5
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/co-transfer-list.cjs.entry.js +4 -4
- package/dist/cjs/co-video.cjs.entry.js +4 -4
- package/dist/cjs/cobalt.cjs.js +2 -2
- package/dist/cjs/{fieldChip-B_npd9rL.js → fieldChip-xNJPEFcS.js} +1 -1
- package/dist/cjs/{index-kBiXCEE7.js → index-DK-2Lzmf.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{requiredMark-DuMIcKtt.js → requiredMark-C1xcrzSZ.js} +1 -1
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/{p-25f59046.entry.js → p-09fe6ece.entry.js} +1 -1
- package/dist/cobalt/{p-cd96aabf.entry.js → p-12a0ae24.entry.js} +1 -1
- package/dist/cobalt/{p-890296f9.entry.js → p-142506d9.entry.js} +1 -1
- package/dist/cobalt/{p-dc8e88f4.entry.js → p-19706923.entry.js} +1 -1
- package/dist/cobalt/p-19f5d480.entry.js +1 -0
- package/dist/cobalt/p-1ddbc48b.entry.js +1 -0
- package/dist/cobalt/p-212ed2ba.entry.js +1 -0
- package/dist/cobalt/p-21832273.entry.js +1 -0
- package/dist/cobalt/p-24e93fcb.entry.js +1 -0
- package/dist/cobalt/{p-3d4e697e.entry.js → p-2a9ba4c8.entry.js} +1 -1
- package/dist/cobalt/p-2aeb1471.entry.js +1 -0
- package/dist/cobalt/{p-f4370423.entry.js → p-2d0354cc.entry.js} +1 -1
- package/dist/cobalt/p-30ec230e.entry.js +1 -0
- package/dist/cobalt/p-360714ae.entry.js +1 -0
- package/dist/cobalt/{p-3a746267.entry.js → p-37541725.entry.js} +1 -1
- package/dist/cobalt/{p-f53b9536.entry.js → p-39007b6c.entry.js} +1 -1
- package/dist/cobalt/{p-52af222b.entry.js → p-39bce45f.entry.js} +1 -1
- package/dist/cobalt/{p-50bbfad8.entry.js → p-3ac316e0.entry.js} +1 -1
- package/dist/cobalt/{p-69723cc1.entry.js → p-3ced4269.entry.js} +1 -1
- package/dist/cobalt/{p-0769eee9.entry.js → p-3ecc29fa.entry.js} +1 -1
- package/dist/cobalt/p-417ce874.entry.js +1 -0
- package/dist/cobalt/{p-38ae8bff.entry.js → p-43b1f8fb.entry.js} +1 -1
- package/dist/cobalt/p-49bde154.entry.js +1 -0
- package/dist/cobalt/{p-51a1ad38.entry.js → p-4e2379e4.entry.js} +1 -1
- package/dist/cobalt/p-5d7c26f2.entry.js +1 -0
- package/dist/cobalt/p-5ddebd10.entry.js +1 -0
- package/dist/cobalt/{p-bebacee2.entry.js → p-5f0f5d4b.entry.js} +1 -1
- package/dist/cobalt/{p-ce961fba.entry.js → p-5f1b273b.entry.js} +1 -1
- package/dist/cobalt/p-60cb66f5.entry.js +1 -0
- package/dist/cobalt/{p-48fbf051.entry.js → p-6795a258.entry.js} +1 -1
- package/dist/cobalt/{p-959556f4.entry.js → p-6d532475.entry.js} +1 -1
- package/dist/cobalt/{p-df63f23c.entry.js → p-724b9b54.entry.js} +1 -1
- package/dist/cobalt/{p-6b256d01.entry.js → p-7255ab63.entry.js} +1 -1
- package/dist/cobalt/p-7521ec0c.entry.js +1 -0
- package/dist/cobalt/{p-acdb68a7.entry.js → p-76dff399.entry.js} +1 -1
- package/dist/cobalt/p-77593319.entry.js +1 -0
- package/dist/cobalt/p-7a2dab23.entry.js +1 -0
- package/dist/cobalt/{p-3ae69426.entry.js → p-7ec85887.entry.js} +1 -1
- package/dist/cobalt/p-81866f71.entry.js +1 -0
- package/dist/cobalt/{p-b45ea918.entry.js → p-8206c7c0.entry.js} +1 -1
- package/dist/cobalt/p-85a61e28.entry.js +1 -0
- package/dist/cobalt/p-87fc5aed.entry.js +1 -0
- package/dist/cobalt/p-8a93beb0.entry.js +1 -0
- package/dist/cobalt/p-8b7a4f6c.entry.js +1 -0
- package/dist/cobalt/{p-dc269096.entry.js → p-8e667eb6.entry.js} +1 -1
- package/dist/cobalt/{p-afd957c0.entry.js → p-94a8a119.entry.js} +1 -1
- package/dist/cobalt/p-9c2ce487.entry.js +1 -0
- package/dist/cobalt/p-9fe9e2fe.entry.js +1 -0
- package/dist/cobalt/p-CQAYgqA6.js +1 -0
- package/dist/cobalt/p-CrtiywTB.js +2 -0
- package/dist/cobalt/p-T4la7ly_.js +1 -0
- package/dist/cobalt/{p-1e9c9d46.entry.js → p-a074f2ba.entry.js} +1 -1
- package/dist/cobalt/{p-6985a964.entry.js → p-a45e2c00.entry.js} +1 -1
- package/dist/cobalt/{p-5c1328ff.entry.js → p-a530bec2.entry.js} +1 -1
- package/dist/cobalt/p-a5d84c7a.entry.js +1 -0
- package/dist/cobalt/{p-69b8d98e.entry.js → p-b004c3bb.entry.js} +1 -1
- package/dist/cobalt/p-b1ef5107.entry.js +1 -0
- package/dist/cobalt/p-b28dc0fe.entry.js +1 -0
- package/dist/cobalt/{p-0fc1edca.entry.js → p-b64b0a07.entry.js} +1 -1
- package/dist/cobalt/p-b800e107.entry.js +1 -0
- package/dist/cobalt/p-b9ac1f25.entry.js +1 -0
- package/dist/cobalt/{p-202eadfc.entry.js → p-baeb5d55.entry.js} +1 -1
- package/dist/cobalt/{p-8fe08257.entry.js → p-c31f5c1b.entry.js} +1 -1
- package/dist/cobalt/p-c3c2087e.entry.js +1 -0
- package/dist/cobalt/p-c42c505c.entry.js +1 -0
- package/dist/cobalt/p-c7a809c7.entry.js +1 -0
- package/dist/cobalt/{p-195c67ee.entry.js → p-c8dba82f.entry.js} +1 -1
- package/dist/cobalt/p-cc72557d.entry.js +1 -0
- package/dist/cobalt/p-d21da71a.entry.js +1 -0
- package/dist/cobalt/{p-20bd3702.entry.js → p-d3c765e3.entry.js} +1 -1
- package/dist/cobalt/p-d7b00e5f.entry.js +1 -0
- package/dist/cobalt/p-d85a751d.entry.js +1 -0
- package/dist/cobalt/{p-3af74ab8.entry.js → p-da546d08.entry.js} +1 -1
- package/dist/cobalt/p-debe0d79.entry.js +1 -0
- package/dist/cobalt/p-e054cb52.entry.js +1 -0
- package/dist/cobalt/p-e5296961.entry.js +1 -0
- package/dist/cobalt/p-e5b5ae89.entry.js +1 -0
- package/dist/cobalt/{p-a4f39ba2.entry.js → p-e612b43c.entry.js} +1 -1
- package/dist/cobalt/{p-97875bde.entry.js → p-e6882ddd.entry.js} +1 -1
- package/dist/cobalt/p-e7e34852.entry.js +1 -0
- package/dist/cobalt/p-e99832a9.entry.js +1 -0
- package/dist/cobalt/{p-00830b8c.entry.js → p-ed2ca588.entry.js} +1 -1
- package/dist/cobalt/p-f1284fcd.entry.js +1 -0
- package/dist/cobalt/{p-d71b87d3.entry.js → p-f1731fe9.entry.js} +1 -1
- package/dist/cobalt/{p-a04feb70.entry.js → p-f4cebc1f.entry.js} +1 -1
- package/dist/cobalt/p-f52f61d4.entry.js +1 -0
- package/dist/cobalt/{p-a252f8c5.entry.js → p-f83b48fd.entry.js} +1 -1
- package/dist/cobalt/p-fa5c25d6.entry.js +1 -0
- package/dist/cobalt/{p-15852fec.entry.js → p-fd39f410.entry.js} +1 -1
- package/dist/collection/components/co-accordion/co-accordion.css +12 -4
- package/dist/collection/components/co-accordion/co-accordion.js +2 -2
- package/dist/collection/components/co-action-bar/co-action-bar.css +4 -16
- package/dist/collection/components/co-action-bar/co-action-bar.js +2 -2
- package/dist/collection/components/co-app-shell/co-app-shell.css +1 -1
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
- package/dist/collection/components/co-audio-player/co-audio-player.css +1 -2
- package/dist/collection/components/co-audio-player/co-audio-player.js +3 -3
- package/dist/collection/components/co-autocomplete/co-autocomplete.css +2 -2
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +14 -5
- package/dist/collection/components/co-avatar-group/co-avatar-group.css +1 -1
- package/dist/collection/components/co-badge/co-badge.js +1 -1
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +4 -12
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
- package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
- package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
- package/dist/collection/components/co-button/co-button.css +17 -1
- package/dist/collection/components/co-button/co-button.js +2 -2
- package/dist/collection/components/co-button-group/co-button-group.js +2 -2
- package/dist/collection/components/co-calendar/co-calendar.css +2 -2
- package/dist/collection/components/co-calendar/co-calendar.js +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.css +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
- package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +2 -2
- package/dist/collection/components/co-card/co-card.css +1 -1
- package/dist/collection/components/co-card/co-card.js +2 -2
- package/dist/collection/components/co-carousel/co-carousel.js +2 -2
- package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
- package/dist/collection/components/co-checkbox/co-checkbox.css +84 -58
- package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -1
- package/dist/collection/components/co-chip/co-chip.css +2 -2
- package/dist/collection/components/co-chip/co-chip.js +2 -2
- package/dist/collection/components/co-color-picker/co-color-picker.css +3 -3
- package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
- package/dist/collection/components/co-column-picker/co-column-picker.css +8 -8
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- package/dist/collection/components/co-combobox/co-combobox.css +2 -2
- package/dist/collection/components/co-combobox/co-combobox.js +13 -5
- package/dist/collection/components/co-command-search/co-command-search.css +13 -3
- package/dist/collection/components/co-command-search/co-command-search.js +18 -4
- package/dist/collection/components/co-data-table/co-data-table.css +5 -5
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +5 -5
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
- package/dist/collection/components/co-date-field/co-date-field.css +2 -2
- package/dist/collection/components/co-date-field/co-date-field.js +4 -4
- package/dist/collection/components/co-date-range/co-date-range.js +1 -1
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +2 -2
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +2 -2
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
- package/dist/collection/components/co-drawer/co-drawer.css +2 -2
- package/dist/collection/components/co-drive-card/co-drive-card.css +5 -5
- package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
- package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
- package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
- package/dist/collection/components/co-event-calendar/co-event-calendar.css +2 -2
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
- package/dist/collection/components/co-event-popover/co-event-popover.css +1 -2
- package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
- package/dist/collection/components/co-fab/co-fab.css +18 -12
- package/dist/collection/components/co-fab/co-fab.js +2 -2
- package/dist/collection/components/co-file-field/co-file-field.css +5 -5
- package/dist/collection/components/co-file-field/co-file-field.js +5 -5
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
- package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
- package/dist/collection/components/co-icon/co-icon.js +2 -2
- package/dist/collection/components/co-icon-button/co-icon-button.css +10 -1
- package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
- package/dist/collection/components/co-input/co-input.css +3 -3
- package/dist/collection/components/co-json-field/co-json-field.css +1 -1
- package/dist/collection/components/co-json-field/co-json-field.js +3 -3
- package/dist/collection/components/co-lightbox/co-lightbox.css +4 -4
- package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
- package/dist/collection/components/co-list-footer/co-list-footer.css +1 -1
- package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
- package/dist/collection/components/co-list-item/co-list-item.css +1 -1
- package/dist/collection/components/co-list-item/co-list-item.js +4 -4
- package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
- package/dist/collection/components/co-menu/co-menu.js +1 -1
- package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
- package/dist/collection/components/co-menu-item/co-menu-item.css +1 -1
- package/dist/collection/components/co-modal/co-modal.css +2 -2
- package/dist/collection/components/co-modal/co-modal.js +2 -2
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.css +3 -3
- package/dist/collection/components/co-number-field/co-number-field.js +2 -2
- package/dist/collection/components/co-option-list/co-option-list.css +2 -2
- package/dist/collection/components/co-option-list/co-option-list.js +17 -5
- package/dist/collection/components/co-overlay/co-overlay.css +2 -2
- package/dist/collection/components/co-overlay/co-overlay.js +1 -1
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.css +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
- package/dist/collection/components/co-popover/co-popover.css +27 -0
- package/dist/collection/components/co-popover/co-popover.js +30 -4
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
- package/dist/collection/components/co-progress-circle/co-progress-circle.css +1 -1
- package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
- package/dist/collection/components/co-radio/co-radio.css +1 -1
- package/dist/collection/components/co-radio/co-radio.js +3 -3
- package/dist/collection/components/co-radio-group/co-radio-group.css +1 -1
- package/dist/collection/components/co-rating/co-rating.css +1 -1
- package/dist/collection/components/co-rating/co-rating.js +3 -3
- package/dist/collection/components/co-ref-field/co-ref-field.css +4 -4
- package/dist/collection/components/co-ref-field/co-ref-field.js +14 -2
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +5 -5
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +12 -12
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-select/co-select.css +4 -4
- package/dist/collection/components/co-separator/co-separator.js +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.css +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +33 -7
- package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
- package/dist/collection/components/co-slider/co-slider.css +9 -2
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.css +5 -4
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.css +2 -2
- package/dist/collection/components/co-tab/co-tab.js +2 -2
- package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
- package/dist/collection/components/co-tags-field/co-tags-field.css +3 -3
- package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
- package/dist/collection/components/co-textarea/co-textarea.css +2 -2
- package/dist/collection/components/co-textarea/co-textarea.js +4 -4
- package/dist/collection/components/co-toast/co-toast.css +63 -1
- package/dist/collection/components/co-toast/co-toast.js +38 -3
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +1 -1
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
- package/dist/collection/components/co-tooltip/co-tooltip.css +1 -1
- package/dist/collection/components/co-tooltip/co-tooltip.js +14 -3
- package/dist/collection/components/co-transfer-list/co-transfer-list.css +3 -3
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
- package/dist/collection/components/co-video/co-video.css +9 -9
- package/dist/collection/components/co-video/co-video.js +2 -2
- package/dist/components/co-accordion.js +1 -1
- package/dist/components/co-action-bar.js +1 -1
- package/dist/components/co-app-shell.js +1 -1
- package/dist/components/co-audio-player.js +1 -1
- package/dist/components/co-autocomplete.js +1 -1
- package/dist/components/co-avatar-group.js +1 -1
- package/dist/components/co-avatar.js +1 -1
- package/dist/components/co-badge.js +1 -1
- package/dist/components/co-bottom-sheet.js +1 -1
- package/dist/components/co-breadcrumb-item.js +1 -1
- package/dist/components/co-breadcrumb.js +1 -1
- package/dist/components/co-button-group.js +1 -1
- package/dist/components/co-button.js +1 -1
- package/dist/components/co-calendar-month.js +1 -1
- package/dist/components/co-calendar-timegrid.js +1 -1
- package/dist/components/co-calendar.js +1 -1
- package/dist/components/co-card.js +1 -1
- package/dist/components/co-carousel-item.js +1 -1
- package/dist/components/co-carousel.js +1 -1
- package/dist/components/co-checkbox-group.js +1 -1
- package/dist/components/co-checkbox.js +1 -1
- package/dist/components/co-chip.js +1 -1
- package/dist/components/co-color-picker.js +1 -1
- package/dist/components/co-column-picker.js +1 -1
- package/dist/components/co-combobox.js +1 -1
- package/dist/components/co-command-search.js +1 -1
- package/dist/components/co-data-table-pagination.js +1 -1
- package/dist/components/co-data-table.js +1 -1
- package/dist/components/co-date-field.js +1 -1
- package/dist/components/co-date-picker.js +1 -1
- package/dist/components/co-date-range-picker.js +1 -1
- package/dist/components/co-date-range.js +1 -1
- package/dist/components/co-date-time-picker.js +1 -1
- package/dist/components/co-drawer.js +1 -1
- package/dist/components/co-drive-card.js +1 -1
- package/dist/components/co-drop-zone.js +1 -1
- package/dist/components/co-empty-state.js +1 -1
- package/dist/components/co-event-calendar.js +1 -1
- package/dist/components/co-event-popover.js +1 -1
- package/dist/components/co-fab.js +1 -1
- package/dist/components/co-file-field.js +1 -1
- package/dist/components/co-file-type-tile.js +1 -1
- package/dist/components/co-helper-text.js +1 -1
- package/dist/components/co-icon-button.js +1 -1
- package/dist/components/co-icon.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-json-field.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-footer.js +1 -1
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-media-thumb.js +1 -1
- package/dist/components/co-menu-divider.js +1 -1
- package/dist/components/co-menu-item.js +1 -1
- package/dist/components/co-menu.js +1 -1
- package/dist/components/co-modal.js +1 -1
- package/dist/components/co-navbar.js +1 -1
- package/dist/components/co-number-field.js +1 -1
- package/dist/components/co-option-list.js +1 -1
- package/dist/components/co-overlay.js +1 -1
- package/dist/components/co-page-header.js +1 -1
- package/dist/components/co-phone-field.js +1 -1
- package/dist/components/co-popover.js +1 -1
- package/dist/components/co-progress-bar.js +1 -1
- package/dist/components/co-progress-circle.js +1 -1
- package/dist/components/co-radio-group.js +1 -1
- package/dist/components/co-radio.js +1 -1
- package/dist/components/co-rating.js +1 -1
- package/dist/components/co-ref-field.js +1 -1
- package/dist/components/co-rich-text-editor.js +1 -1
- package/dist/components/co-rich-text-toolbar.js +1 -1
- package/dist/components/co-row.js +1 -1
- package/dist/components/co-select.js +1 -1
- package/dist/components/co-separator.js +1 -1
- package/dist/components/co-sidebar-nav.js +1 -1
- package/dist/components/co-sidebar.js +1 -1
- package/dist/components/co-skeleton.js +1 -1
- package/dist/components/co-slider.js +1 -1
- package/dist/components/co-switch.js +1 -1
- package/dist/components/co-tab-group.js +1 -1
- package/dist/components/co-tab.js +1 -1
- package/dist/components/co-tags-field.js +1 -1
- package/dist/components/co-textarea.js +1 -1
- package/dist/components/co-toast.js +1 -1
- package/dist/components/co-toggle-button-group.js +1 -1
- package/dist/components/co-toggle-button.js +1 -1
- package/dist/components/co-tooltip.js +1 -1
- package/dist/components/co-transfer-list.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-2zy1K6zg.js +1 -0
- package/dist/components/{p-DbISGXT_.js → p-BCnjq3jN.js} +1 -1
- package/dist/components/p-BUE9mBqk.js +1 -0
- package/dist/components/p-Bh2__nEw.js +1 -0
- package/dist/components/{p-BC6sxVVr.js → p-BiefJDu3.js} +1 -1
- package/dist/components/{p-CVCEiwOS.js → p-BlvsTlsS.js} +1 -1
- package/dist/components/p-Bsll5Ofy.js +1 -0
- package/dist/components/{p-BQFperIX.js → p-CJNo2JDc.js} +1 -1
- package/dist/components/p-CKKBJaNB.js +1 -0
- package/dist/components/p-CL4dicvk.js +1 -0
- package/dist/components/{p-ChPooamL.js → p-CYv2ig6I.js} +1 -1
- package/dist/components/p-Ce0ZJcks.js +1 -0
- package/dist/components/p-CkQqqKRp.js +1 -0
- package/dist/components/p-CmxZEGYq.js +1 -0
- package/dist/components/p-Cv5yuGLz.js +1 -0
- package/dist/components/{p-CIWoKlGj.js → p-DAaKsGqj.js} +1 -1
- package/dist/components/p-DFT1qsVu.js +1 -0
- package/dist/components/p-DTJsO_Eg.js +1 -0
- package/dist/components/p-_YYd42XM.js +1 -0
- package/dist/components/{p-T0MdU7sb.js → p-re2gJwnQ.js} +1 -1
- package/dist/components/p-ushHimOL.js +1 -0
- package/dist/components/p-xvWmYN3W.js +1 -0
- package/dist/esm/co-accordion.entry.js +4 -4
- package/dist/esm/co-action-bar.entry.js +4 -4
- package/dist/esm/co-app-shell.entry.js +4 -4
- package/dist/esm/co-audio-player.entry.js +5 -5
- package/dist/esm/co-autocomplete.entry.js +15 -6
- package/dist/esm/co-avatar-group.entry.js +2 -2
- package/dist/esm/co-avatar_2.entry.js +16 -5
- package/dist/esm/co-badge.entry.js +2 -2
- package/dist/esm/co-bottom-sheet.entry.js +5 -5
- package/dist/esm/co-breadcrumb-item.entry.js +3 -3
- package/dist/esm/co-breadcrumb.entry.js +2 -2
- package/dist/esm/co-button-group.entry.js +3 -3
- package/dist/esm/co-button.entry.js +4 -4
- package/dist/esm/co-calendar-month_2.entry.js +5 -5
- package/dist/esm/co-calendar_3.entry.js +10 -10
- package/dist/esm/co-card.entry.js +4 -4
- package/dist/esm/co-carousel-item.entry.js +2 -2
- package/dist/esm/co-carousel.entry.js +3 -3
- package/dist/esm/co-checkbox-group.entry.js +2 -2
- package/dist/esm/co-checkbox.entry.js +5 -5
- package/dist/esm/co-chip_2.entry.js +20 -8
- package/dist/esm/co-color-picker.entry.js +5 -5
- package/dist/esm/co-column-picker.entry.js +4 -4
- package/dist/esm/co-combobox.entry.js +14 -6
- package/dist/esm/co-command-search.entry.js +20 -6
- package/dist/esm/co-data-table-pagination.entry.js +6 -6
- package/dist/esm/co-data-table.entry.js +2 -2
- package/dist/esm/co-date-picker.entry.js +2 -2
- package/dist/esm/co-date-range-picker.entry.js +3 -3
- package/dist/esm/co-date-range.entry.js +2 -2
- package/dist/esm/co-date-time-picker.entry.js +5 -5
- package/dist/esm/co-drive-card.entry.js +3 -3
- package/dist/esm/co-drop-zone.entry.js +2 -2
- package/dist/esm/co-empty-state.entry.js +3 -3
- package/dist/esm/co-event-calendar.entry.js +4 -4
- package/dist/esm/co-event-popover.entry.js +3 -3
- package/dist/esm/co-fab.entry.js +4 -4
- package/dist/esm/co-file-field.entry.js +8 -8
- package/dist/esm/co-file-type-tile.entry.js +3 -3
- package/dist/esm/co-helper-text.entry.js +3 -3
- package/dist/esm/co-icon-button.entry.js +3 -3
- package/dist/esm/co-icon.entry.js +3 -3
- package/dist/esm/co-input.entry.js +3 -3
- package/dist/esm/co-json-field.entry.js +6 -6
- package/dist/esm/co-lightbox.entry.js +6 -6
- package/dist/esm/co-list-footer.entry.js +3 -3
- package/dist/esm/co-list-item.entry.js +6 -6
- package/dist/esm/co-loader.entry.js +1 -1
- package/dist/esm/co-media-thumb.entry.js +3 -3
- package/dist/esm/co-menu-divider.entry.js +2 -2
- package/dist/esm/co-menu-item.entry.js +2 -2
- package/dist/esm/co-menu.entry.js +2 -2
- package/dist/esm/co-modal.entry.js +4 -4
- package/dist/esm/co-navbar.entry.js +3 -3
- package/dist/esm/co-number-field.entry.js +5 -5
- package/dist/esm/co-overlay.entry.js +3 -3
- package/dist/esm/co-page-header.entry.js +2 -2
- package/dist/esm/co-phone-field.entry.js +4 -4
- package/dist/esm/co-popover.entry.js +32 -6
- package/dist/esm/co-progress-bar.entry.js +3 -3
- package/dist/esm/co-progress-circle.entry.js +4 -4
- package/dist/esm/co-provider-logo_2.entry.js +2 -2
- package/dist/esm/co-radio-group.entry.js +2 -2
- package/dist/esm/co-radio.entry.js +5 -5
- package/dist/esm/co-rating.entry.js +5 -5
- package/dist/esm/co-ref-field.entry.js +18 -6
- package/dist/esm/co-rich-text-editor.entry.js +5 -5
- package/dist/esm/co-rich-text-toolbar.entry.js +2 -2
- package/dist/esm/co-rich-text-viewer.entry.js +1 -1
- package/dist/esm/co-row.entry.js +3 -3
- package/dist/esm/co-segmented-bar.entry.js +1 -1
- package/dist/esm/co-select.entry.js +3 -3
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +2 -2
- package/dist/esm/co-sidebar.entry.js +4 -4
- package/dist/esm/co-slider.entry.js +4 -4
- package/dist/esm/co-switch.entry.js +6 -6
- package/dist/esm/co-tab-group.entry.js +3 -3
- package/dist/esm/co-tab.entry.js +4 -4
- package/dist/esm/co-tags-field.entry.js +9 -9
- package/dist/esm/co-textarea.entry.js +7 -7
- package/dist/esm/co-toast.entry.js +35 -5
- package/dist/esm/co-toggle-button-group.entry.js +3 -3
- package/dist/esm/co-toggle-button.entry.js +4 -4
- package/dist/esm/co-transfer-list.entry.js +4 -4
- package/dist/esm/co-video.entry.js +4 -4
- package/dist/esm/cobalt.js +3 -3
- package/dist/esm/{fieldChip-Bb8YIN0J.js → fieldChip-BZDUy9Z-.js} +1 -1
- package/dist/esm/{index-BCEz3S-z.js → index-CrtiywTB.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{requiredMark-D7kAMXHM.js → requiredMark-DCD-ZA51.js} +1 -1
- package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +1 -1
- package/dist/types/components/co-combobox/co-combobox.d.ts +1 -1
- package/dist/types/components/co-command-search/co-command-search.d.ts +7 -0
- package/dist/types/components/co-option-list/co-option-list.d.ts +5 -1
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +4 -0
- package/dist/types/components/co-toast/co-toast.d.ts +19 -0
- package/dist/types/components/co-tooltip/co-tooltip.d.ts +6 -0
- package/dist/types/components.d.ts +6 -6
- package/package.json +3 -3
- package/dist/cobalt/p-0f18c4d2.entry.js +0 -1
- package/dist/cobalt/p-260196cb.entry.js +0 -1
- package/dist/cobalt/p-27dce0ac.entry.js +0 -1
- package/dist/cobalt/p-2bf44b2b.entry.js +0 -1
- package/dist/cobalt/p-2c100914.entry.js +0 -1
- package/dist/cobalt/p-2e1d930f.entry.js +0 -1
- package/dist/cobalt/p-35518aee.entry.js +0 -1
- package/dist/cobalt/p-38cf47b6.entry.js +0 -1
- package/dist/cobalt/p-39dea0c0.entry.js +0 -1
- package/dist/cobalt/p-445acc4c.entry.js +0 -1
- package/dist/cobalt/p-4de9232a.entry.js +0 -1
- package/dist/cobalt/p-523aca9f.entry.js +0 -1
- package/dist/cobalt/p-5319ac3f.entry.js +0 -1
- package/dist/cobalt/p-53a276a8.entry.js +0 -1
- package/dist/cobalt/p-543cc00d.entry.js +0 -1
- package/dist/cobalt/p-59f7d44b.entry.js +0 -1
- package/dist/cobalt/p-5b984323.entry.js +0 -1
- package/dist/cobalt/p-5bfaca70.entry.js +0 -1
- package/dist/cobalt/p-5c250889.entry.js +0 -1
- package/dist/cobalt/p-5e21ca17.entry.js +0 -1
- package/dist/cobalt/p-61d5ca3c.entry.js +0 -1
- package/dist/cobalt/p-6357d9dd.entry.js +0 -1
- package/dist/cobalt/p-6b089060.entry.js +0 -1
- package/dist/cobalt/p-7c6b3175.entry.js +0 -1
- package/dist/cobalt/p-7d077a7c.entry.js +0 -1
- package/dist/cobalt/p-7f4bf341.entry.js +0 -1
- package/dist/cobalt/p-869c338a.entry.js +0 -1
- package/dist/cobalt/p-913b2a14.entry.js +0 -1
- package/dist/cobalt/p-9824c478.entry.js +0 -1
- package/dist/cobalt/p-99c1ff0f.entry.js +0 -1
- package/dist/cobalt/p-BCEz3S-z.js +0 -2
- package/dist/cobalt/p-C-d15gih.js +0 -1
- package/dist/cobalt/p-D5gr2ent.js +0 -1
- package/dist/cobalt/p-a7c23027.entry.js +0 -1
- package/dist/cobalt/p-ab8e150e.entry.js +0 -1
- package/dist/cobalt/p-bad7ce84.entry.js +0 -1
- package/dist/cobalt/p-c237add6.entry.js +0 -1
- package/dist/cobalt/p-c32949a5.entry.js +0 -1
- package/dist/cobalt/p-cd5555d2.entry.js +0 -1
- package/dist/cobalt/p-d56b8a1f.entry.js +0 -1
- package/dist/cobalt/p-d6fff135.entry.js +0 -1
- package/dist/cobalt/p-d83e5189.entry.js +0 -1
- package/dist/cobalt/p-de5a05fc.entry.js +0 -1
- package/dist/cobalt/p-e2188319.entry.js +0 -1
- package/dist/cobalt/p-f0c589ad.entry.js +0 -1
- package/dist/cobalt/p-f4e4bebf.entry.js +0 -1
- package/dist/cobalt/p-f7ae0228.entry.js +0 -1
- package/dist/components/p-B21rOC2Y.js +0 -1
- package/dist/components/p-BXtiFFM2.js +0 -1
- package/dist/components/p-BdArvV6T.js +0 -1
- package/dist/components/p-BnkGlFYy.js +0 -1
- package/dist/components/p-CDWXNRpo.js +0 -1
- package/dist/components/p-CfeNhAHW.js +0 -1
- package/dist/components/p-ChLib-si.js +0 -1
- package/dist/components/p-D-3BTFRs.js +0 -1
- package/dist/components/p-D0wrmRH8.js +0 -1
- package/dist/components/p-DZX7cEqP.js +0 -1
- package/dist/components/p-W8Y8ZuPs.js +0 -1
- package/dist/components/p-cteJszd-.js +0 -1
- package/dist/components/p-mUoTCiYa.js +0 -1
- package/dist/components/p-uZ2D6ESV.js +0 -1
- package/dist/components/p-ySi6UG0O.js +0 -1
|
@@ -36,16 +36,16 @@ export class CoRating {
|
|
|
36
36
|
const iconSize = this.size === 'large' ? 28 : 20;
|
|
37
37
|
const active = this.hoverValue || this.value;
|
|
38
38
|
const stars = Array.from({ length: this.max }, (_, i) => i + 1);
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'e0c349a8291d8e6070491da043a7e25f6a1760c9', class: {
|
|
40
40
|
'co-rating': true,
|
|
41
41
|
'co-rating--disabled': this.disabled,
|
|
42
42
|
'co-rating--readonly': this.readOnly,
|
|
43
43
|
[`co-rating--${this.size}`]: true,
|
|
44
|
-
} }, this.label && h("label", { key: '
|
|
44
|
+
} }, this.label && h("label", { key: '9b94b9f984de01b62b4fa8d81b9306373ace35ea', class: "co-rating__label" }, this.label), h("div", { key: '314c6ad766a0166ec840ef09a4e25f7215e7b431', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
|
|
45
45
|
'co-rating__star': true,
|
|
46
46
|
'co-rating__star--active': star <= active,
|
|
47
47
|
'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
|
|
48
|
-
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '
|
|
48
|
+
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '5dc15f3ca66f0c187ee8cd285f8750dbae053d4a', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'ef84a476928b566635cff02144637800b1e72e6e', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: 'b4ddff2a4fee37645bb5352ab4bbfa7e222f51e4', class: "co-rating__helper-text" }, this.helperText)))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "co-rating"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
min-height: 40px;
|
|
65
65
|
box-sizing: border-box;
|
|
66
66
|
cursor: pointer;
|
|
67
|
-
transition: border-color
|
|
67
|
+
transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/* ── Variant: flat (no border/background — reads as content) ──────────
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
background: transparent;
|
|
173
173
|
cursor: pointer;
|
|
174
174
|
color: var(--co-semantic-text-muted);
|
|
175
|
-
transition: color
|
|
175
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.co-ref-field__clear:hover {
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
background: transparent;
|
|
304
304
|
cursor: pointer;
|
|
305
305
|
color: var(--co-color-gray-500);
|
|
306
|
-
transition: color
|
|
306
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
307
307
|
flex-shrink: 0;
|
|
308
308
|
}
|
|
309
309
|
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
letter-spacing: var(--co-font-letter-spacing-body);
|
|
387
387
|
white-space: nowrap;
|
|
388
388
|
cursor: pointer;
|
|
389
|
-
transition: opacity
|
|
389
|
+
transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
390
390
|
box-sizing: border-box;
|
|
391
391
|
min-height: 32px;
|
|
392
392
|
}
|
|
@@ -78,6 +78,18 @@ export class CoRefField {
|
|
|
78
78
|
if (this.disabled)
|
|
79
79
|
e.stopPropagation();
|
|
80
80
|
};
|
|
81
|
+
/** Change de la co-option-list: `value: null` = deselección explícita (la X
|
|
82
|
+
* de la fila) → mismo camino que la X del trigger (clear + coClear). El
|
|
83
|
+
* resto sigue por handleOptionClick con el ítem. */
|
|
84
|
+
this.handleListChange = (detail) => {
|
|
85
|
+
if (!this.multiple && detail.value === null) {
|
|
86
|
+
this.value = '';
|
|
87
|
+
this.coClear.emit();
|
|
88
|
+
this.isOpen = false;
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
this.handleOptionClick(detail.item);
|
|
92
|
+
};
|
|
81
93
|
this.handleOptionClick = (option) => {
|
|
82
94
|
if (this.multiple) {
|
|
83
95
|
const current = this.parsedValue;
|
|
@@ -320,11 +332,11 @@ export class CoRefField {
|
|
|
320
332
|
'co-ref-field__panel': true,
|
|
321
333
|
'co-ref-field__panel--dark': this.panelTheme === 'dark',
|
|
322
334
|
'co-ref-field__panel--light': this.panelTheme === 'light',
|
|
323
|
-
} }, h("co-option-list", { ref: (el) => (this.optionListEl = el), items: typeof this.options === 'string' ? this.options : JSON.stringify(this.options), value: this.value, selectedItems: typeof this.selectedDisplay === 'string' ? this.selectedDisplay : JSON.stringify(this.selectedDisplay), multiple: this.multiple, selectedFirst: this.multiple, reorderable: this.multiple, selectedAffordance: "deselect", searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: this.searchDebounce, loading: this.loading, total: this.total, emptyMessage: this.emptyMessage, avatarShape: this.avatarShape, onCoSearch: (e) => this.coSearch.emit(e.detail), onCoChange: (e) => this.
|
|
335
|
+
} }, h("co-option-list", { ref: (el) => (this.optionListEl = el), items: typeof this.options === 'string' ? this.options : JSON.stringify(this.options), value: this.value, selectedItems: typeof this.selectedDisplay === 'string' ? this.selectedDisplay : JSON.stringify(this.selectedDisplay), multiple: this.multiple, selectedFirst: this.multiple, reorderable: this.multiple, selectedAffordance: "deselect", searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: this.searchDebounce, loading: this.loading, total: this.total, emptyMessage: this.emptyMessage, avatarShape: this.avatarShape, onCoSearch: (e) => this.coSearch.emit(e.detail), onCoChange: (e) => this.handleListChange(e.detail), onCoReorder: (e) => this.handleReorder(e.detail), onCoLoadMore: () => this.coLoadMore.emit() }, this.showFooter && (h("div", { class: "co-ref-field__footer", slot: "footer" }, h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--secondary", type: "button", onClick: this.handleFooterSecondary }, h("co-icon", { name: "plus", size: 16 }), h("span", null, this.footerSecondaryLabel)), h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--primary", type: "button", onClick: this.handleFooterPrimary }, h("co-icon", { name: "check", size: 16 }), h("span", null, this.footerPrimaryLabel)))))));
|
|
324
336
|
}
|
|
325
337
|
// ── Main render ────────────────────────────────────────────
|
|
326
338
|
render() {
|
|
327
|
-
return (h("div", { key: '
|
|
339
|
+
return (h("div", { key: '8b4d5429c6c13f9dbea56dfe5673be2f2bf8e234', class: "co-ref-field" }, (this.label || this.secondaryLabel) && (h("div", { key: '6fb3fb006ed5c6bf089608205cbecc4399f8131f', class: "co-ref-field__labels" }, this.label && (h("label", { key: '045edee2c573f3b3a678377f7ac81baef16ca547', class: "co-ref-field__label" }, this.labelIcon && (h("co-icon", { key: '8a3fe75b68f69f6bbc1eead72e3a71e4a02d9ff9', class: "co-ref-field__label-icon", name: this.labelIcon, size: 16 })), this.label, h(RequiredMark, { key: 'd0935348ad1aaca3ebeb302abfd212250ca01d2c', required: this.required }))), this.secondaryLabel && (h("span", { key: 'f1b2f5578de05162b97f64041250ec92c2d0601b', class: "co-ref-field__secondary-label" }, this.secondaryLabel)))), h("co-popover", { key: '126310c2e579a9f8ac530d0471db742f5f087433', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '07b0c236d0fadd7fef4f719b4f6f190e57a7c488', slot: "trigger" }, this.renderTrigger()), this.isOpen && this.renderPanel()), this.helperText && (h("div", { key: '31b252868ebfaca932adf5a47e3f61f4b03dc5a3', class: `co-ref-field__helper co-ref-field__helper--${this.status}` }, this.status !== 'default' && (h("co-icon", { key: '123ec829c6a45a960212521cfc49e4a98d5e1785', name: this.status === 'error' ? 'warning-circle' : this.status === 'success' ? 'check-circle' : 'info', size: 14 })), h("span", { key: '24e573b9fb884a0f006d32136b00d9c7406e3722' }, this.helperText)))));
|
|
328
340
|
}
|
|
329
341
|
static get is() { return "co-ref-field"; }
|
|
330
342
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ co-rich-text-editor {
|
|
|
40
40
|
background: var(--co-semantic-surface-page);
|
|
41
41
|
border: 1px solid var(--co-semantic-border-field);
|
|
42
42
|
border-radius: var(--co-border-radius-xs);
|
|
43
|
-
transition: border-color
|
|
43
|
+
transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
44
44
|
min-height: 0;
|
|
45
45
|
flex: 1;
|
|
46
46
|
position: relative;
|
|
@@ -525,7 +525,7 @@ co-rich-text-editor {
|
|
|
525
525
|
font-size: 11px;
|
|
526
526
|
cursor: pointer;
|
|
527
527
|
white-space: nowrap;
|
|
528
|
-
transition: background
|
|
528
|
+
transition: background var(--co-motion-duration-fast), border-color var(--co-motion-duration-fast);
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.co-rte-bubble__select-trigger:hover {
|
|
@@ -700,7 +700,7 @@ co-rich-text-editor {
|
|
|
700
700
|
border: none;
|
|
701
701
|
border-radius: 3px;
|
|
702
702
|
cursor: pointer;
|
|
703
|
-
transition: transform
|
|
703
|
+
transition: transform var(--co-motion-duration-fast), box-shadow var(--co-motion-duration-fast);
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
.co-rte-bubble__color-swatch:hover {
|
|
@@ -1225,7 +1225,7 @@ co-rich-text-editor {
|
|
|
1225
1225
|
background: transparent;
|
|
1226
1226
|
color: var(--co-semantic-text-default, #333);
|
|
1227
1227
|
cursor: pointer;
|
|
1228
|
-
transition: background
|
|
1228
|
+
transition: background var(--co-motion-duration-fast), border-color var(--co-motion-duration-fast);
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
.co-rte-img-layout__btn:hover {
|
|
@@ -1262,7 +1262,7 @@ co-rich-text-editor {
|
|
|
1262
1262
|
border-radius: 4px;
|
|
1263
1263
|
pointer-events: none;
|
|
1264
1264
|
opacity: 0;
|
|
1265
|
-
transition: opacity
|
|
1265
|
+
transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
1266
1266
|
z-index: 100;
|
|
1267
1267
|
}
|
|
1268
1268
|
.co-rte-img-layout__btn[data-tooltip]:hover::after {
|
|
@@ -2031,7 +2031,7 @@ export class CoRichTextEditor {
|
|
|
2031
2031
|
render() {
|
|
2032
2032
|
const showToolbar = this.resolvedToolbar !== 'none' && !this.readonly && !this.disabled;
|
|
2033
2033
|
const showCount = this.showCharacterCount || this.maxLength != null;
|
|
2034
|
-
return (h("div", { key: '
|
|
2034
|
+
return (h("div", { key: 'd06c3fe4d1a84c49a525a694986d2f096b11df79', class: {
|
|
2035
2035
|
'co-rich-text-editor': true,
|
|
2036
2036
|
'co-rich-text-editor--focused': this.hasFocus,
|
|
2037
2037
|
'co-rich-text-editor--disabled': this.disabled,
|
|
@@ -2039,10 +2039,10 @@ export class CoRichTextEditor {
|
|
|
2039
2039
|
'co-rich-text-editor--loading': !this.ready,
|
|
2040
2040
|
[`co-rich-text-editor--${this.status}`]: this.status !== 'default',
|
|
2041
2041
|
'co-rich-text-editor--flat': this.variant === 'flat',
|
|
2042
|
-
}, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '
|
|
2042
|
+
}, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: 'd9bba1f9e070de2e1e0210adf8a292a2052297fd', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: '01f5ceb0e3e35da72480a422f434c16913e9aa7b', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: 'cf4ba75489c3e413a6dfcd1cac5ff964e3aa0290', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: '106915b5caa63689763b01ff7c2253d085ddf628', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: 'd9e9367a4b549e5c1c751b9098219a632d295d60', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, attachmentsEnabled: this.attachmentsEnabled, attachmentAccept: this.attachmentAccept, onCoAttachmentsSelected: (e) => {
|
|
2043
2043
|
e.stopPropagation();
|
|
2044
2044
|
this.coAttachmentsSelected.emit(e.detail);
|
|
2045
|
-
}, ref: (el) => (this.toolbarEl = el) })), h("div", { key: '
|
|
2045
|
+
}, ref: (el) => (this.toolbarEl = el) })), h("div", { key: 'bccd38caf855288ad9582720dd39c77ddfeaf998', class: "co-rich-text-editor__box" }, h("div", { key: 'a6f75d24d978e52f1337ee408ddc61417099bf13', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: 'dbdade68814a3d62c383ca3e545a6bf1912c3945', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: '918e3b3c204e60aa5063828d82970857aca94e9a', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: 'dc1ee710ef02258eff5f42a9df736871bf9b27fa', name: this.helperIcon, size: 14 }), h("span", { key: '050d504bd35f4cfbb336e10bda956a686ae1844b' }, this.helperText))), showCount && (h("span", { key: 'b071610cf144259292a6f771038862f742ae09c8', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
|
|
2046
2046
|
}
|
|
2047
2047
|
static get is() { return "co-rich-text-editor"; }
|
|
2048
2048
|
static get originalStyleUrls() {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
border-radius: 4px;
|
|
54
54
|
pointer-events: none;
|
|
55
55
|
opacity: 0;
|
|
56
|
-
transition: opacity
|
|
56
|
+
transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
57
57
|
z-index: 9999;
|
|
58
58
|
}
|
|
59
59
|
[data-tooltip]:hover::after {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
background: transparent;
|
|
86
86
|
color: var(--co-semantic-text-default, #333);
|
|
87
87
|
cursor: pointer;
|
|
88
|
-
transition: background
|
|
88
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.co-rich-text-toolbar__btn:hover:not(:disabled):not(.co-rich-text-toolbar__btn--active) {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
font-size: var(--co-font-size-12, 12px);
|
|
129
129
|
cursor: pointer;
|
|
130
130
|
white-space: nowrap;
|
|
131
|
-
transition: background
|
|
131
|
+
transition: background var(--co-motion-duration-fast), border-color var(--co-motion-duration-fast);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.co-rich-text-toolbar__select-btn:hover:not(:disabled) {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
cursor: pointer;
|
|
210
210
|
background: var(--co-semantic-surface-secondary, #fff);
|
|
211
211
|
color: var(--co-semantic-text-default, #333);
|
|
212
|
-
transition: background
|
|
212
|
+
transition: background var(--co-motion-duration-fast);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.co-rich-text-toolbar__popover-btn:hover:not(.co-rich-text-toolbar__popover-btn--primary) {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
font-size: var(--co-font-size-14, 14px);
|
|
247
247
|
cursor: pointer;
|
|
248
248
|
text-align: left;
|
|
249
|
-
transition: background
|
|
249
|
+
transition: background var(--co-motion-duration-fast);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.co-rich-text-toolbar__popover-option:hover {
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
font-size: var(--co-font-size-14, 14px);
|
|
286
286
|
cursor: pointer;
|
|
287
287
|
text-align: left;
|
|
288
|
-
transition: background
|
|
288
|
+
transition: background var(--co-motion-duration-fast);
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.co-rich-text-toolbar__dropdown-item:hover {
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
border: none;
|
|
361
361
|
border-radius: 3px;
|
|
362
362
|
cursor: pointer;
|
|
363
|
-
transition: transform
|
|
363
|
+
transition: transform var(--co-motion-duration-fast), box-shadow var(--co-motion-duration-fast);
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
.co-rich-text-toolbar__color-swatch:hover {
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
background: transparent;
|
|
460
460
|
color: var(--co-semantic-text-secondary, #666);
|
|
461
461
|
cursor: pointer;
|
|
462
|
-
transition: background
|
|
462
|
+
transition: background var(--co-motion-duration-fast), color var(--co-motion-duration-fast);
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.co-rich-text-toolbar__table-tab:hover {
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
border-radius: 3px;
|
|
492
492
|
background: transparent;
|
|
493
493
|
cursor: pointer;
|
|
494
|
-
transition: background
|
|
494
|
+
transition: background var(--co-motion-duration-instant), border-color var(--co-motion-duration-instant);
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.co-rich-text-toolbar__grid-cell:hover,
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
border: none;
|
|
594
594
|
border-radius: var(--co-border-radius-xxs, 4px);
|
|
595
595
|
cursor: pointer;
|
|
596
|
-
transition: opacity
|
|
596
|
+
transition: opacity var(--co-motion-duration-fast);
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
.co-rich-text-toolbar__table-btn--primary {
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
background: transparent;
|
|
640
640
|
color: var(--co-semantic-text-default, #333);
|
|
641
641
|
cursor: pointer;
|
|
642
|
-
transition: background
|
|
642
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
.co-rich-text-toolbar__split-caret:hover:not(:disabled),
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
border-radius: 8px;
|
|
681
681
|
background: var(--co-semantic-surface-secondary, #fff);
|
|
682
682
|
cursor: pointer;
|
|
683
|
-
transition: border-color
|
|
683
|
+
transition: border-color var(--co-motion-duration-fast), box-shadow var(--co-motion-duration-fast), background var(--co-motion-duration-fast);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
.co-rich-text-toolbar__listpicker-item:hover {
|
|
@@ -13,11 +13,11 @@ export class CoRow {
|
|
|
13
13
|
this.size = 'sm';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '7be514198a0f47409e33fc0feadadb2d8552253f', class: {
|
|
17
17
|
'co-row': true,
|
|
18
18
|
[`co-row--${this.position}`]: true,
|
|
19
19
|
[`co-row--${this.size}`]: true,
|
|
20
|
-
}, part: "row" }, h("div", { key: '
|
|
20
|
+
}, part: "row" }, h("div", { key: '0ac40c40dd298e54265899610508d53f4fe38355', class: "co-row__prefix" }, h("slot", { key: '0853d494025ad3a628a9eb3a4e2289b4771bdd2b', name: "prefix" })), h("div", { key: '6c6601273fb708aa91d4df52340a54a0f528fdd6', class: "co-row__content" }, h("slot", { key: 'e2046193d773aa0982c5f7b71e7f4ace816cecd7' })), h("div", { key: 'd754723e7a464f8ef23eb0eb64e6d6c99cf11e13', class: "co-row__suffix" }, h("slot", { key: '8584a30c593bc4e1db33e0bdcc26b450c4269893', name: "suffix" }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "co-row"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -735,7 +735,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
735
735
|
min-height: 40px;
|
|
736
736
|
box-sizing: border-box;
|
|
737
737
|
cursor: pointer;
|
|
738
|
-
transition: border-color
|
|
738
|
+
transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
/* ── Variant: flat (no border/background — reads as content) ──────────
|
|
@@ -788,7 +788,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
788
788
|
background: transparent;
|
|
789
789
|
cursor: pointer;
|
|
790
790
|
color: var(--co-color-gray-500);
|
|
791
|
-
transition: color
|
|
791
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
792
792
|
flex-shrink: 0;
|
|
793
793
|
}
|
|
794
794
|
|
|
@@ -877,7 +877,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
877
877
|
background: transparent;
|
|
878
878
|
cursor: pointer;
|
|
879
879
|
color: var(--co-semantic-text-muted);
|
|
880
|
-
transition: color
|
|
880
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
.co-select__clear:hover {
|
|
@@ -965,7 +965,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
965
965
|
padding: var(--co-spacing-sm2) var(--co-spacing-md);
|
|
966
966
|
border-radius: var(--co-border-radius-xs);
|
|
967
967
|
cursor: pointer;
|
|
968
|
-
transition: background
|
|
968
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
969
969
|
min-height: 32px;
|
|
970
970
|
box-sizing: border-box;
|
|
971
971
|
}
|
|
@@ -57,7 +57,7 @@ export class CoSeparator {
|
|
|
57
57
|
style['--co-separator-inset-end'] = '0px';
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
return (h("hr", { key: '
|
|
60
|
+
return (h("hr", { key: 'e3dae08fe134e1d4e1769aa9e66c59b8b0eb62ae', class: {
|
|
61
61
|
'co-separator': true,
|
|
62
62
|
'co-separator--vertical': this.vertical,
|
|
63
63
|
'co-separator--dark': this.dark,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
font-family: var(--co-font-family-primary);
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
transition: width
|
|
14
|
+
transition: width var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* ─── Modes ─────────────────────────────────────────────────── */
|
|
@@ -10,10 +10,10 @@ export class CoSidebar {
|
|
|
10
10
|
this.mode = 'full';
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("nav", { key: '
|
|
13
|
+
return (h("nav", { key: 'a854ad248b6f55fdcb1b08ed15272154a5044e55', class: {
|
|
14
14
|
'co-sidebar': true,
|
|
15
15
|
[`co-sidebar--${this.mode}`]: true,
|
|
16
|
-
}, part: "sidebar" }, h("div", { key: '
|
|
16
|
+
}, part: "sidebar" }, h("div", { key: '17a14f8625168e7f163c984d782df2b387c3684e', class: "co-sidebar__header", part: "header" }, h("slot", { key: 'e9152aa47751f8ced84384a4a5ced1d05f410cf3', name: "header" })), h("div", { key: 'df4ad1cd15d33678c60c47ee231ac765993a3d28', class: "co-sidebar__body", part: "body" }, h("slot", { key: 'be0e6031883c828b50bcf65f2052c4055370efba' })), h("div", { key: '6ab4f6793e2ce3c81f50e143cf0764b25a2b0048', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: '930905e30ea4ddf297bb313294d5d2eb4dafa721', name: "footer" }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "co-sidebar"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
width: 100%;
|
|
241
241
|
text-align: left;
|
|
242
242
|
color: var(--co-semantic-text-default);
|
|
243
|
-
transition: background
|
|
243
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
244
244
|
font-family: var(--co-font-family-primary);
|
|
245
245
|
font-size: var(--co-font-size-14);
|
|
246
246
|
font-weight: var(--co-font-weight-medium);
|
|
@@ -267,6 +267,16 @@
|
|
|
267
267
|
backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
/* Hover on the ACTIVE item: keep the workspace pill, just MORE opaque (solid
|
|
271
|
+
--co-sidebar-nav-active-bg-min vs the resting 85% glass) + keep the adaptive
|
|
272
|
+
active fg. `.co-sidebar-nav__item:hover` (class + pseudo = 0,2,0) otherwise
|
|
273
|
+
outranks `--active` (single class = 0,1,0) and swaps the pill for the generic
|
|
274
|
+
gray hover; this rule (0,3,0) wins so the active state persists on hover. */
|
|
275
|
+
.co-sidebar-nav__item--active:hover {
|
|
276
|
+
background: var(--co-sidebar-nav-active-bg-min, var(--co-sidebar-nav-active-bg, var(--co-semantic-surface-hover)));
|
|
277
|
+
color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
|
|
278
|
+
}
|
|
279
|
+
|
|
270
280
|
.co-sidebar-nav__item-icon {
|
|
271
281
|
display: flex;
|
|
272
282
|
align-items: center;
|
|
@@ -310,7 +320,8 @@
|
|
|
310
320
|
.co-sidebar-nav__item--active treatment (frosted --co-sidebar-nav-active-bg +
|
|
311
321
|
backdrop blur + adaptive --co-sidebar-nav-active-color) so the collapsed
|
|
312
322
|
active chip matches the expanded one in color and treatment.
|
|
313
|
-
(--co-sidebar-nav-active-bg-min
|
|
323
|
+
(--co-sidebar-nav-active-bg-min = the SOLID workspace color; consumed by the
|
|
324
|
+
active :hover state above and by the flyout active item as the opaque pill.) */
|
|
314
325
|
|
|
315
326
|
/* — Flyout (mini mode hover popover) — */
|
|
316
327
|
.co-sidebar-nav__flyout-anchor {
|
|
@@ -329,7 +340,12 @@
|
|
|
329
340
|
display: flex;
|
|
330
341
|
flex-direction: column;
|
|
331
342
|
z-index: 9999;
|
|
332
|
-
|
|
343
|
+
/* Tokenizado para caer bajo el zeroing global de reduced-motion. 0.15s → fast
|
|
344
|
+
por consistencia con la tabla de mapping de la task 8 (0.15s -> duration-fast,
|
|
345
|
+
96 ocurrencias hermanas migradas así); no "base" pese a ser la convención de
|
|
346
|
+
entrada de co-popover — un feel más lento para este panel es decisión de
|
|
347
|
+
polish (task 19), no de esta migración mecánica. */
|
|
348
|
+
animation: co-flyout-in var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
333
349
|
}
|
|
334
350
|
|
|
335
351
|
.co-sidebar-nav__flyout-title {
|
|
@@ -361,8 +377,13 @@
|
|
|
361
377
|
background: var(--co-color-gray-100);
|
|
362
378
|
}
|
|
363
379
|
|
|
380
|
+
/* Active flyout item = solid workspace-color pill + adaptive text/icon, mirroring
|
|
381
|
+
the collapsed mini active chip. The background MUST pair with the app's adaptive
|
|
382
|
+
--co-sidebar-nav-active-color: on dark workspaces that color is #fff, so the old
|
|
383
|
+
flat gray-100 background rendered white-on-gray (invisible). Pairing a solid
|
|
384
|
+
workspace bg with the adaptive fg keeps it readable on BOTH light and dark themes. */
|
|
364
385
|
.co-sidebar-nav__flyout .co-sidebar-nav__item--active {
|
|
365
|
-
background: var(--co-color-gray-100);
|
|
386
|
+
background: var(--co-sidebar-nav-active-bg-min, var(--co-color-gray-100));
|
|
366
387
|
color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
|
|
367
388
|
font-weight: var(--co-font-weight-medium);
|
|
368
389
|
}
|
|
@@ -377,6 +398,11 @@
|
|
|
377
398
|
color: var(--co-color-base-negro);
|
|
378
399
|
}
|
|
379
400
|
|
|
401
|
+
/* Icon follows the active text color so it stays visible on the solid pill. */
|
|
402
|
+
.co-sidebar-nav__flyout .co-sidebar-nav__item--active .co-sidebar-nav__item-icon co-icon {
|
|
403
|
+
color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
|
|
404
|
+
}
|
|
405
|
+
|
|
380
406
|
@keyframes co-flyout-in {
|
|
381
407
|
from {
|
|
382
408
|
opacity: 0;
|
|
@@ -406,7 +432,7 @@
|
|
|
406
432
|
width: 100%;
|
|
407
433
|
text-align: left;
|
|
408
434
|
color: var(--co-semantic-text-secondary);
|
|
409
|
-
transition: background
|
|
435
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
410
436
|
font-family: var(--co-font-family-primary);
|
|
411
437
|
font-size: var(--co-font-size-14);
|
|
412
438
|
font-weight: var(--co-font-weight-medium);
|
|
@@ -426,7 +452,7 @@
|
|
|
426
452
|
.co-sidebar-nav__expansion-caret {
|
|
427
453
|
margin-left: auto;
|
|
428
454
|
flex-shrink: 0;
|
|
429
|
-
transition: transform
|
|
455
|
+
transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
430
456
|
color: var(--co-semantic-text-muted);
|
|
431
457
|
}
|
|
432
458
|
|
|
@@ -442,7 +468,7 @@
|
|
|
442
468
|
overflow: hidden;
|
|
443
469
|
max-height: 0;
|
|
444
470
|
opacity: 0;
|
|
445
|
-
transition: max-height
|
|
471
|
+
transition: max-height var(--co-motion-duration-slow) var(--co-motion-ease-out), opacity var(--co-motion-duration-base) var(--co-motion-ease-out), padding var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
446
472
|
padding-left: var(--co-spacing-xl);
|
|
447
473
|
}
|
|
448
474
|
|
|
@@ -16,7 +16,7 @@ export class CoSkeleton {
|
|
|
16
16
|
const style = { width: this.width };
|
|
17
17
|
if (this.height)
|
|
18
18
|
style.height = this.height;
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '319cb18749e7b42bdb62cb8c845f97a3b92a3cae', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "co-skeleton"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
height: 100%;
|
|
80
80
|
background: var(--co-semantic-surface-primary);
|
|
81
81
|
border-radius: var(--co-border-radius-full);
|
|
82
|
-
transition: width
|
|
82
|
+
transition: width var(--co-motion-duration-instant) var(--co-motion-ease-out);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.co-slider--disabled .co-slider__fill {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
border: 2px solid var(--co-semantic-surface-secondary);
|
|
102
102
|
box-shadow: var(--co-semantic-control-shadow, 0 1px 4px rgba(0,0,0,0.12));
|
|
103
103
|
transform: translate(-50%, -50%);
|
|
104
|
-
transition: box-shadow
|
|
104
|
+
transition: box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
105
105
|
pointer-events: none;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -110,6 +110,13 @@
|
|
|
110
110
|
box-shadow: 0 0 0 4px var(--co-semantic-border-focus-ring);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
/* Manipulación directa = sin transición del fill (evita el desfase fill/thumb
|
|
114
|
+
al arrastrar); el token --co-motion-duration-instant queda para saltos
|
|
115
|
+
discretos (teclado/click). */
|
|
116
|
+
.co-slider--dragging .co-slider__fill {
|
|
117
|
+
transition: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
113
120
|
.co-slider--disabled .co-slider__thumb {
|
|
114
121
|
background: var(--co-semantic-text-disabled);
|
|
115
122
|
}
|
|
@@ -72,12 +72,12 @@ export class CoSlider {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const pct = this.percentage;
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: '4027635cf79ecb8673a36a63bda49528b3affe3d', class: {
|
|
76
76
|
'co-slider': true,
|
|
77
77
|
'co-slider--disabled': this.disabled,
|
|
78
78
|
'co-slider--dragging': this.dragging,
|
|
79
79
|
[`co-slider--${this.status}`]: this.status !== 'default',
|
|
80
|
-
} }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '
|
|
80
|
+
} }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '63340e4f0e30dc8d764ec1e53d1382ed7439f2ff', class: "co-slider__labels" }, h("div", { key: '3d7eb11db7b0b3a02dca5ab7dfdad3d46eca0f99', class: "co-slider__labels-left" }, this.label && h("label", { key: 'ca00277f2008cb58bc28cf4783f445d2f56e8427', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: '90b3d3afc80a0ecfafbd3e379c181a1679192aab', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: 'ac9f0a0b1dc054838c6d2635db0f036bcf8949ad', class: "co-slider__value" }, this.value))), h("div", { key: 'e16828daeb3549bb2b892cbb237313a90551c731', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: '094704838f8898680e950ecb31d71a396fbd46ee', class: "co-slider__track" }, h("div", { key: '0c47a259e49d126aaf7471ef56e887b99c2636de', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: '61cb3dd1621bdcb6b103f073eefceb5a11f08806', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: '60ea2eb0db6393ca95d712e1441b316f34b2e39d', class: "co-slider__marks" }, h("span", { key: '3ef4f78b7ee3b920dc1be7be1cad43c2cd268ce6', class: "co-slider__mark" }, this.min), h("span", { key: 'c1b0bb6ada1ec898c7ae8ff9160f53c58454a5c9', class: "co-slider__mark" }, this.max))), h("input", { key: 'c38e3b83d4e546a3349fa504022592face8f7ef5', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (h("div", { key: 'f3a87f53d9411991b55656e964c826ed0f6a4583', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '5532c726e5aa75d9c24b850daf27162502fa898a', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: 'c992c8393ed716d12bbe70dccc62c998c16da751', class: "co-slider__helper-text" }, this.helperText)))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "co-slider"; }
|
|
83
83
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
cursor: pointer;
|
|
114
114
|
padding: 0;
|
|
115
115
|
overflow: hidden;
|
|
116
|
-
transition: background
|
|
116
|
+
transition: background var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
117
117
|
box-sizing: border-box;
|
|
118
118
|
flex-shrink: 0;
|
|
119
119
|
}
|
|
@@ -130,17 +130,18 @@
|
|
|
130
130
|
.co-switch__thumb {
|
|
131
131
|
position: absolute;
|
|
132
132
|
top: 50%;
|
|
133
|
+
left: 2px; /* estático: el desplazamiento va por transform (compositor-only) */
|
|
133
134
|
transform: translateY(-50%);
|
|
134
135
|
width: 20px;
|
|
135
136
|
height: 20px;
|
|
136
137
|
border-radius: var(--co-border-radius-full);
|
|
137
138
|
background: var(--co-semantic-control-thumb);
|
|
138
|
-
transition:
|
|
139
|
+
transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
139
140
|
box-shadow: 0 1px 3px var(--co-semantic-control-shadow);
|
|
140
141
|
}
|
|
141
142
|
|
|
142
|
-
.co-switch--off .co-switch__thumb {
|
|
143
|
-
.co-switch--on .co-switch__thumb {
|
|
143
|
+
.co-switch--off .co-switch__thumb { transform: translateY(-50%) translateX(0); }
|
|
144
|
+
.co-switch--on .co-switch__thumb { transform: translateY(-50%) translateX(20px); }
|
|
144
145
|
|
|
145
146
|
/* ─── DISABLED ──────────────────────────────────────────────── */
|
|
146
147
|
.co-switch--disabled {
|
|
@@ -29,16 +29,16 @@ export class CoSwitch {
|
|
|
29
29
|
render() {
|
|
30
30
|
const hasLabels = this.label || this.secondaryLabel;
|
|
31
31
|
const hasHelper = !!this.helperText;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '9c2ab9ebe8300b1a0430ee3abd450844801dce02', class: {
|
|
33
33
|
'co-switch-wrapper': true,
|
|
34
34
|
'co-switch-wrapper--disabled': this.disabled,
|
|
35
35
|
[`co-switch-wrapper--${this.status}`]: this.status !== 'default',
|
|
36
|
-
} }, h("div", { key: '
|
|
36
|
+
} }, h("div", { key: 'becf03e42f9d2df55852aeabcbeb5c0ee8526584', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: 'd7930e7325b081f72696d7c9714e87cfc8fdc4d3', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
|
|
37
37
|
'co-switch': true,
|
|
38
38
|
'co-switch--on': this.checked,
|
|
39
39
|
'co-switch--off': !this.checked,
|
|
40
40
|
'co-switch--disabled': this.disabled,
|
|
41
|
-
}, disabled: this.disabled, part: "track" }, h("span", { key: '
|
|
41
|
+
}, disabled: this.disabled, part: "track" }, h("span", { key: '916a6994673e9d91f9acd1a983f7a071f6e13de6', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '41ab06a752560079d9cde87bd761320aa44722eb', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: 'cd56a3a783507bb0aae71032ef71d8d1375fb96d', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: 'a6da50ef41d10d45d7d0b8a4fbdb8d1e445cc8be', required: this.required })), this.secondaryLabel && (h("span", { key: '294791b598a8ef01ce63d3324bad895e8751ec7c', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '2a387c0a099a6d0774d9228c70a00a550f0515ab', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '1184f6971047834c8527234c3b97bc4332425644', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: 'cbb3ea33790321d59111c74dc4282b9393be5c54', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "co-switch"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
border-radius: var(--co-border-radius-full);
|
|
17
17
|
background: transparent;
|
|
18
18
|
color: var(--co-color-gray-500, #888);
|
|
19
|
-
transition: background
|
|
19
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
font-size: var(--co-font-size-14, 14px);
|
|
80
80
|
font-weight: 400;
|
|
81
81
|
letter-spacing: var(--co-font-letter-spacing-body, -0.03em);
|
|
82
|
-
transition: color
|
|
82
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.co-tab--underline.co-tab--selected {
|