@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
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
backdrop-filter: blur(var(--co-overlay-blur, 2px));
|
|
17
17
|
opacity: 0;
|
|
18
18
|
pointer-events: none;
|
|
19
|
-
transition: opacity
|
|
19
|
+
transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-in);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.co-bottom-sheet-root--open .co-bottom-sheet__backdrop {
|
|
23
23
|
opacity: 1;
|
|
24
24
|
pointer-events: auto;
|
|
25
|
-
transition: opacity
|
|
25
|
+
transition: opacity var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.co-bottom-sheet {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
border-radius: var(--co-border-radius-xl) var(--co-border-radius-xl) 0 0;
|
|
41
41
|
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
|
|
42
42
|
transform: translateY(100%);
|
|
43
|
-
transition: transform
|
|
43
|
+
transition: transform var(--co-motion-duration-slow) var(--co-motion-ease-in-out);
|
|
44
44
|
will-change: transform;
|
|
45
45
|
overflow: hidden;
|
|
46
46
|
visibility: hidden;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
/* keep the slide-out visible while it animates */
|
|
55
55
|
.co-bottom-sheet:not(.co-bottom-sheet--open) {
|
|
56
|
-
transition: transform
|
|
56
|
+
transition: transform var(--co-motion-duration-slow) var(--co-motion-ease-in-out), visibility 0s linear var(--co-motion-duration-slow);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* while the finger drives the sheet, nothing animates */
|
|
@@ -126,11 +126,3 @@
|
|
|
126
126
|
background: var(--co-semantic-surface-page);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
@media (prefers-reduced-motion: reduce) {
|
|
130
|
-
/* near-zero (not zero) so transitionend still fires coAfterOpen/Close */
|
|
131
|
-
.co-bottom-sheet,
|
|
132
|
-
.co-bottom-sheet:not(.co-bottom-sheet--open),
|
|
133
|
-
.co-bottom-sheet__backdrop {
|
|
134
|
-
transition-duration: 0.01s !important;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
@@ -255,13 +255,13 @@ export class CoBottomSheet {
|
|
|
255
255
|
(_a = this.bodyEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('touchmove', this.touchBlocker);
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
|
-
return (h("div", { key: '
|
|
258
|
+
return (h("div", { key: 'cbb30d66c27b5abd51309a1e55a920656a1a0c6a', class: { 'co-bottom-sheet-root': true, 'co-bottom-sheet-root--open': this.open } }, h("div", { key: '0b6d164ff4a4520eb9f7cb54991540ba30a9d1e0', class: "co-bottom-sheet__backdrop", part: "backdrop", onClick: this.handleBackdropClick, ref: (el) => (this.backdropEl = el) }), h("section", { key: 'd0a06e9c2ef7389dee933edf6251e0578a78ca71', class: { 'co-bottom-sheet': true, 'co-bottom-sheet--open': this.open }, part: "sheet", role: "dialog", "aria-modal": "true", "aria-labelledby": this.heading ? 'co-bottom-sheet-heading' : undefined, style: { '--co-bottom-sheet-max-height': this.maxHeight }, onTransitionEnd: this.handleTransitionEnd, ref: (el) => (this.sheetEl = el) }, h("div", { key: '749d7123e579ab46b63f6ccd14df28af0890f2fd', class: "co-bottom-sheet__grip", onPointerDown: this.handleGripPointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel }, this.showHandle && (h("div", { key: '1c007545c0ab262abe4a2276fe10c18068c1d5c7', class: "co-bottom-sheet__handle", part: "handle", "aria-hidden": "true" })), h("header", { key: 'd1be5c0085c6dc30009ab792b91e86e97477861d', class: {
|
|
259
259
|
'co-bottom-sheet__header': true,
|
|
260
260
|
'co-bottom-sheet__header--show': this.hasHeaderSlot || !!this.heading,
|
|
261
|
-
}, part: "header" }, h("slot", { key: '
|
|
261
|
+
}, part: "header" }, h("slot", { key: '2163362b13cf19b1221f9655ec5b4b09085a2b6c', name: "header", onSlotchange: this.handleHeaderSlotChange }, this.heading && (h("h2", { key: 'c2f8f34cc167b14d62ac4a27396c8c72e05ab274', class: "co-bottom-sheet__heading", id: "co-bottom-sheet-heading" }, this.heading))))), h("div", { key: 'a89e7b39bd72311b5b0ccd5358c9f9e45618fa86', class: "co-bottom-sheet__body", part: "body", onPointerDown: this.handleBodyPointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel, ref: (el) => (this.bodyEl = el) }, h("slot", { key: '4424ce944ef083fc9c760774b30d66b48320fe8a' })), h("footer", { key: 'b3452533a6d25a0528c3f0456ce3413e9dcccef4', class: {
|
|
262
262
|
'co-bottom-sheet__footer': true,
|
|
263
263
|
'co-bottom-sheet__footer--show': this.hasFooter,
|
|
264
|
-
}, part: "footer" }, h("slot", { key: '
|
|
264
|
+
}, part: "footer" }, h("slot", { key: 'd697688035f2767aef0894f9cdf2b99bce9d2fb6', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
|
|
265
265
|
}
|
|
266
266
|
static get is() { return "co-bottom-sheet"; }
|
|
267
267
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,7 +42,7 @@ export class CoBreadcrumb {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
const data = this.parseItems();
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '25dce93deb73a903ac025ffeed54ca53ab1f22e3', part: "breadcrumb", role: "navigation", "aria-label": "Breadcrumb" }, data
|
|
46
46
|
? data.map((it, i) => (h("co-breadcrumb-item", { key: i, label: it.label, value: it.value, icon: it.icon, separator: this.separator, current: i === data.length - 1 })))
|
|
47
47
|
: h("slot", { onSlotchange: this.handleSlotChange })));
|
|
48
48
|
}
|
|
@@ -29,10 +29,10 @@ export class CoBreadcrumbItem {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '255696950cd3a032a2c5e81afe2b7e495bc974f4', part: "breadcrumb-item", class: {
|
|
33
33
|
'co-breadcrumb-item': true,
|
|
34
34
|
'co-breadcrumb-item--current': this.current,
|
|
35
|
-
} }, h("span", { key: '
|
|
35
|
+
} }, h("span", { key: '6a54693a183953f9eaeabf2b4d687f28c479eef6', class: "co-breadcrumb-item__sep", "aria-hidden": "true" }, h("co-icon", { key: '2bce60612e26554fd22a2bc03117e50e0d8efe36', name: this.separator, size: 13 })), h("span", { key: '889634ee730f05686916132456086e9f9a6f21db', class: "co-breadcrumb-item__content", part: "content", role: "link", tabindex: "0", "aria-current": this.current ? 'page' : undefined, onClick: this.handleClick, onKeyDown: this.handleKeydown }, this.icon && (h("span", { key: 'c90e7812924e4fab4b928c7d892a4cba2f9a59f5', class: "co-breadcrumb-item__icon" }, h("co-icon", { key: '344ff71c4fa9832600ad62df6935dcc695f9a4d7', name: this.icon, size: 16 }))), h("span", { key: '488e831a5cf405f135b7ddd20d95fe823e21ae29', class: "co-breadcrumb-item__label" }, this.label, h("slot", { key: 'c5b05d33b49d273cfc3360df9395ce2417234eae' })))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "co-breadcrumb-item"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
letter-spacing: var(--co-font-letter-spacing-body);
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
-webkit-font-smoothing: antialiased;
|
|
18
|
-
transition:
|
|
18
|
+
transition:
|
|
19
|
+
opacity var(--co-motion-duration-fast) var(--co-motion-ease-out),
|
|
20
|
+
background var(--co-motion-duration-fast) var(--co-motion-ease-out),
|
|
21
|
+
transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
19
22
|
box-sizing: border-box;
|
|
20
23
|
-webkit-backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
|
|
21
24
|
backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
|
|
@@ -137,6 +140,19 @@
|
|
|
137
140
|
opacity: 0.88;
|
|
138
141
|
}
|
|
139
142
|
|
|
143
|
+
/* Feedback de presión: squish instantáneo; el release usa la transición base. */
|
|
144
|
+
.co-button:active:not(:disabled) {
|
|
145
|
+
transform: scale(0.97);
|
|
146
|
+
transition-duration: var(--co-motion-duration-instant);
|
|
147
|
+
}
|
|
148
|
+
/* Primary rebota al soltar: el transform de la base viaja con spring suave. */
|
|
149
|
+
.co-button--primary {
|
|
150
|
+
transition:
|
|
151
|
+
opacity var(--co-motion-duration-fast) var(--co-motion-ease-out),
|
|
152
|
+
background var(--co-motion-duration-fast) var(--co-motion-ease-out),
|
|
153
|
+
transform var(--co-motion-duration-slow) var(--co-motion-ease-spring);
|
|
154
|
+
}
|
|
155
|
+
|
|
140
156
|
/* ─── ELEVATED · secondary → white raised button ─────────────────
|
|
141
157
|
Opt-in via elevated + variant="secondary": shadow-sm resting lift
|
|
142
158
|
plus an inset hairline so it reads on a white surface. */
|
|
@@ -53,7 +53,7 @@ export class CoButton {
|
|
|
53
53
|
customStyle.background = this.color;
|
|
54
54
|
if (this.textColor)
|
|
55
55
|
customStyle.color = this.textColor;
|
|
56
|
-
return (h("button", { key: '
|
|
56
|
+
return (h("button", { key: '297591f38c986f90e08de4e93a0da6da1b619a04', class: {
|
|
57
57
|
'co-button': true,
|
|
58
58
|
[`co-button--${this.variant}`]: true,
|
|
59
59
|
[`co-button--${this.shape}`]: true,
|
|
@@ -63,7 +63,7 @@ export class CoButton {
|
|
|
63
63
|
'co-button--disabled': this.disabled,
|
|
64
64
|
}, style: Object.keys(customStyle).length ? customStyle : undefined, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabelText || undefined, onClick: this.handleClick, part: "button" }, this.iconLeft
|
|
65
65
|
? h("co-icon", { name: this.iconLeft, weight: this.iconWeight, size: iconSize })
|
|
66
|
-
: null, h("slot", { key: '
|
|
66
|
+
: null, h("slot", { key: 'cec4aa8696050277860cc6d569b89b725647b3a8' }, this.label), this.iconRight
|
|
67
67
|
? h("co-icon", { name: this.iconRight, weight: this.iconWeight, size: iconSize })
|
|
68
68
|
: null));
|
|
69
69
|
}
|
|
@@ -10,12 +10,12 @@ export class CoButtonGroup {
|
|
|
10
10
|
this.disabled = false;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '3d04106570e94fdd1787e5a1336b84b523c22607', class: {
|
|
14
14
|
'co-button-group': true,
|
|
15
15
|
[`co-button-group--${this.direction}`]: true,
|
|
16
16
|
[`co-button-group--${this.variant}`]: true,
|
|
17
17
|
'co-button-group--disabled': this.disabled,
|
|
18
|
-
}, role: "group" }, h("slot", { key: '
|
|
18
|
+
}, role: "group" }, h("slot", { key: '6121a73fbe3f565b251f4db3f9d2ab45450f0a3c' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "co-button-group"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
color: var(--co-semantic-text-default);
|
|
81
81
|
cursor: pointer;
|
|
82
82
|
text-transform: capitalize;
|
|
83
|
-
transition: background
|
|
83
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
84
84
|
}
|
|
85
85
|
.co-calendar__cell:hover:not(.co-calendar__cell--disabled):not(.co-calendar__cell--selected) {
|
|
86
86
|
background: var(--co-semantic-surface-hover);
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
font-family: inherit;
|
|
169
169
|
color: var(--co-semantic-text-default);
|
|
170
170
|
cursor: pointer;
|
|
171
|
-
transition: background
|
|
171
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.co-calendar__day:hover:not(.co-calendar__day--disabled):not(.co-calendar__day--selected) {
|
|
@@ -363,7 +363,7 @@ export class CoCalendar {
|
|
|
363
363
|
render() {
|
|
364
364
|
var _a, _b;
|
|
365
365
|
const t = getDateStrings(this.locale);
|
|
366
|
-
return (h("div", { key: '
|
|
366
|
+
return (h("div", { key: '171842ca3d4b05a3bbc74266e4472914d3fdd075', class: "co-calendar", part: "root" }, h("div", { key: '4016b24331a9c6bf7da4b49ed37a21d0e4c8bbca', class: "co-calendar__header", part: "header" }, h("button", { key: 'a9483d553caeffd67a61a267e1de25b6ed8445f8', type: "button", class: "co-calendar__nav", onClick: this.handlePrev, "aria-label": (_a = this.prevMonthLabel) !== null && _a !== void 0 ? _a : t.prevMonth }, h("co-icon", { key: 'a866dd1fb1803e2550abb0711b75400e89b83fec', name: "caret-left", size: 16 })), h("button", { key: 'efd4f17cebfce1dd1bdfdfd0bf8e1aa9ca7ecc5d', type: "button", class: "co-calendar__title", "aria-live": "polite", onClick: this.toggleView }, this.headerTitle(), h("co-icon", { key: '9f137fb78bc788d5a9d482102dbcd3cb82d1369a', name: "caret-down", size: 12, class: "co-calendar__title-caret" })), h("button", { key: '7cca94d77736780850cf33e11b84212fcc722d77', type: "button", class: "co-calendar__nav", onClick: this.handleNext, "aria-label": (_b = this.nextMonthLabel) !== null && _b !== void 0 ? _b : t.nextMonth }, h("co-icon", { key: '94e0659623a61aec52608280793c7a356fb329d0', name: "caret-right", size: 16 }))), this.view === 'days' && this.renderDays(t), this.view === 'months' && this.renderMonths(), this.view === 'years' && this.renderYears()));
|
|
367
367
|
}
|
|
368
368
|
static get is() { return "co-calendar"; }
|
|
369
369
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
border-right: 1px solid var(--co-cal-border);
|
|
83
83
|
padding: var(--co-spacing-xxs);
|
|
84
84
|
cursor: pointer;
|
|
85
|
-
transition: background
|
|
85
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
86
86
|
}
|
|
87
87
|
.cal-month__day:last-child {
|
|
88
88
|
border-right: 0;
|
|
@@ -269,7 +269,7 @@ export class CoCalendarMonth {
|
|
|
269
269
|
const short = getWeekdayLabels(this.locale, this.firstDayOfWeek, 'short');
|
|
270
270
|
const long = getWeekdayLabels(this.locale, this.firstDayOfWeek, 'long');
|
|
271
271
|
const today = todayYMD();
|
|
272
|
-
return (h("div", { key: '
|
|
272
|
+
return (h("div", { key: '2ed94ebcddb0f595f740adf3859dc4dcaff49b3c', class: "cal-month", part: "grid", role: "grid", onKeyDown: this.handleKeyDown, ref: (el) => (this.rootEl = el) }, h("div", { key: '7348dc62431ab4a27295529ac8d596798eee87b5', class: "cal-month__dow", role: "row" }, short.map((lbl, i) => (h("span", { class: "cal-month__dow-cell", role: "columnheader", "aria-label": long[i] }, lbl)))), matrix.map((week, wi) => {
|
|
273
273
|
var _a;
|
|
274
274
|
return (h("div", { class: "cal-month__week", role: "row" }, h("div", { class: "cal-month__days" }, week.map((date) => {
|
|
275
275
|
const ymd = parseISO(date);
|
|
@@ -704,11 +704,11 @@ export class CoCalendarTimegrid {
|
|
|
704
704
|
'--co-cal-hour-h': `calc(${60 / this.slotM} * var(--co-cal-slot-h))`,
|
|
705
705
|
'--co-cal-hour-offset': `calc(${((60 - (this.minM % 60)) % 60) / this.slotM} * var(--co-cal-slot-h))`,
|
|
706
706
|
};
|
|
707
|
-
return (h("div", { key: '
|
|
707
|
+
return (h("div", { key: '57f7c14647a8dbca49f999bfc256cf4dd58c6d5c', class: "tg", tabIndex: 0, onKeyDown: this.handleKeyDown, ref: (el) => (this.rootEl = el) }, h("div", { key: 'f50ac115f074e8749c19d57d47b3bb3486ae68c1', class: "tg__head" }, h("div", { key: 'adf1e34eae02f86ae7eb3721374660ff4c1e4fe8', class: "tg__head-spacer" }), h("div", { key: '5907deb540459a618374a1eb42736ddd3f3d23f6', class: "tg__head-days", style: { gridTemplateColumns: colsTemplate } }, dates.map((d) => {
|
|
708
708
|
const ymd = parseISO(d);
|
|
709
709
|
const dow = utcDayOfWeek(d);
|
|
710
710
|
return (h("div", { class: { 'tg__head-day': true, 'tg__head-day--today': compareYMD(d, today) === 0 } }, h("span", { class: "tg__head-dow" }, short[dow]), h("span", { class: "tg__head-num" }, ymd.day)));
|
|
711
|
-
}))), this.allDaySlot && (h("div", { key: '
|
|
711
|
+
}))), this.allDaySlot && (h("div", { key: 'e517b7a6418d50c418d5d799d0bc623b5946cafd', class: "tg__allday" }, h("div", { key: 'b470f6f08482c15459f05a95508c66f0e2244860', class: "tg__allday-axis" }, gmtLabel(this.timeZone, dates[0])), h("div", { key: '50f2a093550f7320b602cc81dcfd1d1438071539', class: "tg__allday-lane", style: { height: `${Math.max(1, allDay.laneCount) * ALLDAY_LANE_H + 4}px` } }, allDay.segments.map((seg) => this.renderAllDayBar(seg, dates.length, byId))))), h("div", { key: 'fc2f4ad9bf8ab22930907c6ca2f7239ed4a57659', class: "tg__scroll", ref: (el) => (this.scrollEl = el) }, h("div", { key: 'db4a5798f1d587485b31884ebaa2ed853417c031', class: "tg__body" }, h("div", { key: '168e7a54caee97f7219a26d46e6b42b51ac86f88', class: "tg__axis", style: { height: bodyHeight } }, this.hourList().map((m) => (h("span", { class: "tg__axis-hour", style: { top: `${minutesToFraction(m, this.minM, this.maxM) * 100}%` } }, hourLabel(m, this.locale))))), h("div", { key: 'e0f1a5558b07db8abb5586d01cdf3f30eb5f0e3f', class: "tg__cols", style: Object.assign({ gridTemplateColumns: colsTemplate, height: bodyHeight }, hourVars) }, dates.map((d, i) => {
|
|
712
712
|
var _a;
|
|
713
713
|
const isToday = compareYMD(d, today) === 0;
|
|
714
714
|
return (h("div", { class: { tg__col: true, 'tg__col--today': isToday }, "data-col-date": d, onPointerDown: (e) => this.startSelection(e, d, e.currentTarget), onPointerMove: (e) => this.extendSelection(e, e.currentTarget) }, this.loading
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
/* ─── CLICKABLE ─────────────────────────────────────────────── */
|
|
76
76
|
.co-card--clickable {
|
|
77
77
|
cursor: pointer;
|
|
78
|
-
transition: box-shadow
|
|
78
|
+
transition: box-shadow var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.co-card--clickable:hover {
|
|
@@ -29,13 +29,13 @@ export class CoCard {
|
|
|
29
29
|
return nodes.length > 0;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'c0d3f41a0cff0f996107efeb837028cb9df5622f', class: {
|
|
33
33
|
'co-card': true,
|
|
34
34
|
[`co-card--${this.variant}`]: true,
|
|
35
35
|
[`co-card--pad-${this.padding}`]: true,
|
|
36
36
|
'co-card--clickable': this.clickable,
|
|
37
37
|
'co-card--stretch': this.stretch,
|
|
38
|
-
}, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: '
|
|
38
|
+
}, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: '89c672edd380accecd0f6a56095b62d3d240e59d', class: { 'co-card__header': true, 'co-card__header--empty': !this.hasHeader }, part: "header" }, h("slot", { key: '96adc4a95d1c92b04c2ba9dd30cf9397c593a71a', name: "header", onSlotchange: this.handleHeaderSlotChange })), h("div", { key: '996fa0fbf2d208968302546d22874cec83a7ee14', class: "co-card__body", part: "body" }, h("slot", { key: '437234dfa32ac3d4b70f03db835f10a772ce462f' })), h("div", { key: '45c69a6951e26da78ef1ee010cb88fed12e69c91', class: { 'co-card__footer': true, 'co-card__footer--empty': !this.hasFooter }, part: "footer" }, h("slot", { key: '0d782397843ed0c0219ad846712dff60df87a1b2', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "co-card"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -303,11 +303,11 @@ export class CoCarousel {
|
|
|
303
303
|
};
|
|
304
304
|
if (this.dragging)
|
|
305
305
|
trackStyle.transition = 'none';
|
|
306
|
-
return (h(Host, { key: '
|
|
306
|
+
return (h(Host, { key: '6f8c3beab5f19295967112e74f2e6a6851ea5540' }, h("div", { key: 'b9c208d9157085b462812114dec5ff08269147d2', class: { 'co-carousel': true, [aspectClass]: true }, part: "container", role: "region", "aria-roledescription": "carousel", "aria-label": s.carouselLabel, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut }, h("div", { key: 'eae4ec92ae6e6fdbe79b5a519bafc6673aef2b79', class: "co-carousel__viewport", part: "viewport", ref: el => (this.viewportEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel, onClickCapture: this.handleClickCapture }, h("div", { key: 'a322e37ee9c414b38215de1ba2ba3f2f0a0a1bba', class: "co-carousel__track", part: "track", style: trackStyle, "aria-live": this.rotating ? 'off' : 'polite' }, h("slot", { key: 'f4fcfbe79986c5883acc1f04f2fb064991713b7d', onSlotchange: this.handleSlotChange }))), this.arrows && multi && (h("button", { key: '8c2b328e0d4303079b50d498f36e1148dbd10236', class: { 'co-carousel__arrow': true, 'co-carousel__arrow--prev': true, 'co-carousel__arrow--disabled': !canPrev }, part: "arrow-prev", type: "button", "aria-label": s.prevSlide, disabled: !canPrev, onClick: () => this.advance(-1) }, h("co-icon", { key: '126f86fe6944188ff046a1257a911d3478b571d1', name: "caret-left", size: 18, weight: "bold" }))), this.arrows && multi && (h("button", { key: '1139fadd622c526aaed8e0603dfec25215257ca4', class: { 'co-carousel__arrow': true, 'co-carousel__arrow--next': true, 'co-carousel__arrow--disabled': !canNext }, part: "arrow-next", type: "button", "aria-label": s.nextSlide, disabled: !canNext, onClick: () => this.advance(1) }, h("co-icon", { key: 'd10dececc05054417ce07c15e435f516e3836f64', name: "caret-right", size: 18, weight: "bold" }))), this.dots && multi && (
|
|
307
307
|
// APG grouped-carousel picker pattern: plain always-tabbable
|
|
308
308
|
// buttons in a labelled group (tablist/tab would demand
|
|
309
309
|
// aria-controls + roving tabindex we don't implement).
|
|
310
|
-
h("div", { key: '
|
|
310
|
+
h("div", { key: '97c9b77dc7b838b75ee152f3f2cbdc85025b8df8', class: "co-carousel__dots", part: "dots", role: "group", "aria-label": s.pickSlide }, Array.from({ length: this.itemCount }, (_, i) => (h("button", { class: { 'co-carousel__dot': true, 'co-carousel__dot--active': i === this.value }, part: "dot", type: "button", "aria-current": i === this.value ? 'true' : undefined, "aria-label": s.goToSlide.replace('{i}', String(i + 1)), onClick: () => this.setActive(i) }))))))));
|
|
311
311
|
}
|
|
312
312
|
static get is() { return "co-carousel"; }
|
|
313
313
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ import { Host, h } from "@stencil/core";
|
|
|
8
8
|
*/
|
|
9
9
|
export class CoCarouselItem {
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '1c40138cc7732c414e5355dc9e0e77a1424f005e', role: "group", "aria-roledescription": "slide" }, h("slot", { key: '55d8ca50e2831597de8c142abecd1400394bc546' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "co-carousel-item"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
color: var(--co-semantic-text-disabled);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
/* ---- Checkbox box ----
|
|
36
|
+
/* ---- Checkbox box ---- */
|
|
37
|
+
.co-checkbox {
|
|
37
38
|
position: relative;
|
|
38
39
|
display: inline-flex;
|
|
39
40
|
align-items: center;
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
overflow: hidden;
|
|
46
47
|
flex-shrink: 0;
|
|
47
48
|
box-sizing: border-box;
|
|
48
|
-
transition: background
|
|
49
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out),
|
|
50
|
+
border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
/* ─── SIZES ─────────────────────────────────────────────────── */
|
|
@@ -81,31 +83,7 @@
|
|
|
81
83
|
border: none;
|
|
82
84
|
}
|
|
83
85
|
|
|
84
|
-
/*
|
|
85
|
-
.co-checkbox--checked::after {
|
|
86
|
-
content: '';
|
|
87
|
-
display: block;
|
|
88
|
-
box-sizing: border-box;
|
|
89
|
-
border-style: solid;
|
|
90
|
-
border-color: var(--co-semantic-on-primary);
|
|
91
|
-
border-width: 0 0 1.5px 1.5px;
|
|
92
|
-
transform: rotate(-45deg) translateY(-15%);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.co-checkbox--small.co-checkbox--checked::after {
|
|
96
|
-
width: 7px;
|
|
97
|
-
height: 4px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.co-checkbox--medium.co-checkbox--checked::after {
|
|
101
|
-
width: 8px;
|
|
102
|
-
height: 5px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.co-checkbox--large.co-checkbox--checked::after {
|
|
106
|
-
width: 10px;
|
|
107
|
-
height: 6px;
|
|
108
|
-
}
|
|
86
|
+
/* Check/dash glyphs: inline SVG for every appearance — see "GLYPH" below. */
|
|
109
87
|
|
|
110
88
|
/* ─── INDETERMINATE ─────────────────────────────────────────── */
|
|
111
89
|
.co-checkbox--indeterminate {
|
|
@@ -113,29 +91,6 @@
|
|
|
113
91
|
border: none;
|
|
114
92
|
}
|
|
115
93
|
|
|
116
|
-
/* Dash (minus) icon via CSS ::after */
|
|
117
|
-
.co-checkbox--indeterminate::after {
|
|
118
|
-
content: '';
|
|
119
|
-
display: block;
|
|
120
|
-
background: var(--co-semantic-on-primary);
|
|
121
|
-
border-radius: 1px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.co-checkbox--small.co-checkbox--indeterminate::after {
|
|
125
|
-
width: 8px;
|
|
126
|
-
height: 1.5px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.co-checkbox--medium.co-checkbox--indeterminate::after {
|
|
130
|
-
width: 10px;
|
|
131
|
-
height: 1.75px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.co-checkbox--large.co-checkbox--indeterminate::after {
|
|
135
|
-
width: 12px;
|
|
136
|
-
height: 2px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
94
|
/* ─── DISABLED ──────────────────────────────────────────────── */
|
|
140
95
|
.co-checkbox--disabled {
|
|
141
96
|
opacity: 0.4;
|
|
@@ -144,7 +99,7 @@
|
|
|
144
99
|
}
|
|
145
100
|
|
|
146
101
|
/* ─── OVERLAY appearance (Drive selection chip) ─────────────── */
|
|
147
|
-
/* Standalone frosted rounded square, no label, bespoke
|
|
102
|
+
/* Standalone frosted rounded square, no label, bespoke glyph metrics. */
|
|
148
103
|
.co-checkbox--overlay {
|
|
149
104
|
border-radius: 6px;
|
|
150
105
|
}
|
|
@@ -177,17 +132,88 @@
|
|
|
177
132
|
box-shadow: none;
|
|
178
133
|
}
|
|
179
134
|
|
|
180
|
-
/*
|
|
181
|
-
.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
135
|
+
/* ─── GLYPH (check + dash) ──────────────────────────────────── */
|
|
136
|
+
/* One inline SVG holds both paths, always mounted, centred by the box's flex.
|
|
137
|
+
Off state is double-hidden: the dash pattern is shifted fully out of the path
|
|
138
|
+
AND opacity is 0 (the opacity also guards the theoretical round-cap dot at
|
|
139
|
+
dashoffset 1, and any engine that ignored pathLength). */
|
|
186
140
|
.co-checkbox__glyph {
|
|
187
141
|
display: block;
|
|
142
|
+
pointer-events: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.co-checkbox__glyph path {
|
|
146
|
+
stroke: var(--co-semantic-on-primary);
|
|
147
|
+
/* pathLength="1" on both paths → the whole stroke is exactly 1 unit long,
|
|
148
|
+
so dasharray/dashoffset 1 = "not drawn yet", 0 = "fully drawn". */
|
|
149
|
+
stroke-dasharray: 1;
|
|
150
|
+
stroke-dashoffset: 1;
|
|
151
|
+
opacity: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Draw on check. The transition is declared ONLY in the on state, so turning the
|
|
155
|
+
checkbox off reverts instantly — no reverse-draw artifact. */
|
|
156
|
+
.co-checkbox--checked .co-checkbox__check,
|
|
157
|
+
.co-checkbox--indeterminate .co-checkbox__dash {
|
|
158
|
+
stroke-dashoffset: 0;
|
|
159
|
+
opacity: 1;
|
|
160
|
+
transition: stroke-dashoffset var(--co-motion-duration-base) var(--co-motion-ease-out);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Per-size glyph box + stroke, replicating the removed ::after geometry.
|
|
164
|
+
The check path's ink measures 9 × 6.5 of the 16-unit viewBox, so the glyph side
|
|
165
|
+
is 16 × (target check width) / 9, and stroke-width is 1.5px × 16 / glyph side.
|
|
166
|
+
Old check ink (centreline of the rotated 1.5px border L): 6.72 / 8.14 / 10.25px
|
|
167
|
+
wide. Old dash bar: 8 / 10 / 12px × 1.5 / 1.75 / 2px. */
|
|
168
|
+
.co-checkbox--small .co-checkbox__glyph {
|
|
169
|
+
width: 12px;
|
|
170
|
+
height: 12px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.co-checkbox--medium .co-checkbox__glyph {
|
|
174
|
+
width: 14px;
|
|
175
|
+
height: 14px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.co-checkbox--large .co-checkbox__glyph {
|
|
179
|
+
width: 18px;
|
|
180
|
+
height: 18px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.co-checkbox--small .co-checkbox__check {
|
|
184
|
+
stroke-width: 2; /* 1.5px */
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.co-checkbox--medium .co-checkbox__check {
|
|
188
|
+
stroke-width: 1.714; /* 1.5px */
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.co-checkbox--large .co-checkbox__check {
|
|
192
|
+
stroke-width: 1.333; /* 1.5px */
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.co-checkbox--small .co-checkbox__dash {
|
|
196
|
+
stroke-width: 2; /* 1.5px */
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.co-checkbox--medium .co-checkbox__dash {
|
|
200
|
+
stroke-width: 2; /* 1.75px */
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.co-checkbox--large .co-checkbox__dash {
|
|
204
|
+
stroke-width: 1.778; /* 2px */
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Overlay keeps its bespoke glyph metrics — full-box SVG, 2.2 stroke, white over
|
|
208
|
+
the accent fill (identical to the pre-unification inline attributes). */
|
|
209
|
+
.co-checkbox--overlay .co-checkbox__glyph {
|
|
188
210
|
width: 100%;
|
|
189
211
|
height: 100%;
|
|
190
|
-
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.co-checkbox--overlay .co-checkbox__glyph path {
|
|
215
|
+
stroke: #fff;
|
|
216
|
+
stroke-width: 2.2;
|
|
191
217
|
}
|
|
192
218
|
|
|
193
219
|
@supports not (background: color-mix(in srgb, red, transparent)) {
|
|
@@ -37,17 +37,17 @@ export class CoCheckbox {
|
|
|
37
37
|
// Only override the fill when a custom color is provided AND the box is "on".
|
|
38
38
|
// Leaving this undefined keeps the default appearance byte-identical to before.
|
|
39
39
|
const boxStyle = this.onColor && isOn ? { background: this.onColor } : undefined;
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '8512f4efb36fc42d7099bc157a691de4968f2490', class: {
|
|
41
41
|
'co-checkbox-row': true,
|
|
42
42
|
'co-checkbox-row--disabled': this.disabled,
|
|
43
|
-
}, onClick: this.handleClick }, h("span", { key: '
|
|
43
|
+
}, onClick: this.handleClick }, h("span", { key: '372501973b4a30b12b1ed972b7bbe02cfa21c645', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.label || '', class: {
|
|
44
44
|
'co-checkbox': true,
|
|
45
45
|
[`co-checkbox--${this.size}`]: true,
|
|
46
46
|
'co-checkbox--overlay': isOverlay,
|
|
47
47
|
'co-checkbox--checked': this.checked && !this.indeterminate,
|
|
48
48
|
'co-checkbox--indeterminate': this.indeterminate,
|
|
49
49
|
'co-checkbox--disabled': this.disabled,
|
|
50
|
-
}, style: boxStyle, part: "box" },
|
|
50
|
+
}, style: boxStyle, part: "box" }, h("svg", { key: '035d30ff80e7211c8ffc1a8fd52a02bbefdb2bad', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '9e193614634bbeb551c7425540e6b5b3746d3840', class: "co-checkbox__check", d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '47acfb0fd751073079d362750d2f261a3b422201', class: "co-checkbox__dash", d: "M3 8h10", pathLength: "1", "stroke-linecap": "round" }))), this.label && (h("span", { key: 'c139d59e1f591a4fe4a2df5af4c137ccf7776706', class: "co-checkbox__label", part: "label" }, this.label))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "co-checkbox"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
justify-content: center;
|
|
97
97
|
flex-shrink: 0;
|
|
98
98
|
box-sizing: border-box;
|
|
99
|
-
transition: background
|
|
99
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
100
100
|
overflow: hidden;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
max-width: 100%;
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
border: 1px solid transparent;
|
|
22
|
-
transition: background
|
|
22
|
+
transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
23
23
|
cursor: default;
|
|
24
24
|
margin: 0;
|
|
25
25
|
padding: 0;
|
|
@@ -287,7 +287,7 @@ button.co-chip--disabled {
|
|
|
287
287
|
align-items: center;
|
|
288
288
|
cursor: pointer;
|
|
289
289
|
opacity: 1;
|
|
290
|
-
transition: opacity
|
|
290
|
+
transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
291
291
|
border: none;
|
|
292
292
|
background: transparent;
|
|
293
293
|
padding: 0;
|
|
@@ -70,7 +70,7 @@ export class CoChip {
|
|
|
70
70
|
else
|
|
71
71
|
effectiveIconMode = 'none';
|
|
72
72
|
const Tag = this.clickable ? 'button' : 'div';
|
|
73
|
-
return (h(Tag, { key: '
|
|
73
|
+
return (h(Tag, { key: '2eded6f64036918a71cb6d826ff46f3c4f23bf56', class: {
|
|
74
74
|
'co-chip': true,
|
|
75
75
|
[`co-chip--${this.shape}`]: true,
|
|
76
76
|
[`co-chip--${this.size}`]: true,
|
|
@@ -80,7 +80,7 @@ export class CoChip {
|
|
|
80
80
|
'co-chip--clickable': this.clickable,
|
|
81
81
|
'co-chip--disabled': this.disabled,
|
|
82
82
|
'co-chip--selected': this.selected,
|
|
83
|
-
}, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (h("span", { key: '
|
|
83
|
+
}, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (h("span", { key: 'edb4ba89143cd35f03289454fc300c23a6f66937', class: "co-chip__dot", part: "dot", style: this.dotColor ? { color: this.dotColor } : undefined }, h("co-icon", { key: '6f1f32ac64632d33b37990a3ec89480be21e9fb7', name: "circle", size: iconSize, weight: "fill" }))), this.iconLeft && !hasLeftSlot && (h("span", { key: '884da98449796a656940642180f2c378cd34b497', class: "co-chip__icon-left", part: "icon-left" }, h("co-icon", { key: 'e05a7cf7c293e8508301e02f7322aab9e2b9665c', name: this.iconLeft, size: iconSize, weight: this.iconWeight }))), hasLeftSlot && (h("span", { key: 'b36181f6ca4d301ede3db88eff2443a860e96f23', class: "co-chip__icon-left", part: "icon-left" }, h("slot", { key: '4307af0a174e9d0bf76df1bb049cd2234c9ae8b4', name: "icon-left" }))), h("span", { key: 'c4c961ea007fc48451baaa9753295bf233aeeb3b', class: "co-chip__label" }, h("slot", { key: '001941b642afaf196126d504d86aa757f68e7755' }, this.label), this.valueLabel != null && this.valueLabel !== '' && (h("span", { key: '967d58dbd630191286d80b0f91c928a6fb9cb064', class: "co-chip__value", part: "value" }, `: ${this.valueLabel}`))), this.iconRight && !hasRightSlot && !this.removable && (h("span", { key: '41bbeba200a447f0e8de92e5ec0dab9c783c4cef', class: "co-chip__icon-right", part: "icon-right" }, h("co-icon", { key: '78f78aff00ddc41496e18b7eb0559f687a0a6657', name: this.iconRight, size: iconSize, weight: this.iconWeight }))), hasRightSlot && (h("span", { key: '718b94bfe81dcd45966c26460e083f111affab3d', class: "co-chip__icon-right", part: "icon-right" }, h("slot", { key: 'bc5844d1a367981eaba3f511b5bfd702a3129550', name: "icon-right" }))), this.removable && (h("span", { key: '785b85d4d55589f3a78276b2c2c2d4ef0aa703b3', class: "co-chip__remove", part: "remove", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleRemove, "aria-label": "Remove" }, h("co-icon", { key: '4407166fef4e6d7fd52a096877e26dfa99e62141', name: "x-circle", size: removeIconSize, weight: "fill" }))), this.trailingIcon && (h("span", { key: '8777ee3042923c17c632f6f4e76141cf0bf6c3df', class: "co-chip__trailing", part: "trailing" }, h("co-icon", { key: '39cc12d2838488eb5cbc5d97ab94870083314715', name: this.trailingIcon, size: trailingIconSize, weight: this.iconWeight })))));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "co-chip"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
min-height: 40px;
|
|
61
61
|
box-sizing: border-box;
|
|
62
62
|
cursor: pointer;
|
|
63
|
-
transition: border-color
|
|
63
|
+
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);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/* ── Size variants (mirror co-input: s 28 / sm 32 / md 40 / lg 48).
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
border-radius: var(--co-border-radius-xxs);
|
|
152
152
|
border: 2px solid transparent;
|
|
153
153
|
cursor: pointer;
|
|
154
|
-
transition: transform
|
|
154
|
+
transition: transform var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
155
155
|
box-sizing: border-box;
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
cursor: pointer;
|
|
201
201
|
color: var(--co-semantic-text-muted);
|
|
202
202
|
border-radius: var(--co-border-radius-xxs);
|
|
203
|
-
transition: color
|
|
203
|
+
transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.co-color-picker__copy-btn:hover {
|