@prolibu-suite/cobalt-core 0.11.0 → 0.11.2
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/README.md +12 -5
- package/custom-elements.json +2738 -802
- package/dist/cjs/co-accordion.cjs.entry.js +2 -2
- package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
- package/dist/cjs/co-audio-player.cjs.entry.js +3 -3
- package/dist/cjs/co-autocomplete.cjs.entry.js +10 -3
- package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/co-avatar.cjs.entry.js +1 -1
- package/dist/cjs/co-badge.cjs.entry.js +1 -1
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
- package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/co-button-group.cjs.entry.js +3 -2
- package/dist/cjs/co-button.cjs.entry.js +6 -6
- package/dist/cjs/co-calendar-month_2.cjs.entry.js +14 -2
- package/dist/cjs/co-calendar_3.cjs.entry.js +9 -5
- package/dist/cjs/co-card.cjs.entry.js +2 -2
- package/dist/cjs/co-carousel.cjs.entry.js +5 -2
- package/dist/cjs/co-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/co-chip_2.cjs.entry.js +16 -6
- package/dist/cjs/co-color-area.cjs.entry.js +2 -2
- package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/co-color-slider.cjs.entry.js +3 -3
- package/dist/cjs/co-column-picker.cjs.entry.js +22 -2
- package/dist/cjs/co-combobox.cjs.entry.js +3 -3
- package/dist/cjs/co-command-search.cjs.entry.js +4 -4
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
- package/dist/cjs/co-data-table.cjs.entry.js +2 -2
- package/dist/cjs/co-date-picker.cjs.entry.js +8 -0
- package/dist/cjs/co-date-range-picker.cjs.entry.js +9 -0
- package/dist/cjs/co-date-range.cjs.entry.js +7 -1
- package/dist/cjs/co-date-time-picker.cjs.entry.js +9 -2
- package/dist/cjs/co-document-editor.cjs.entry.js +9 -3
- package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
- package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
- package/dist/cjs/co-emoji-picker.cjs.entry.js +2 -2
- package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/co-event-calendar.cjs.entry.js +4 -2
- package/dist/cjs/co-event-popover.cjs.entry.js +5 -1
- package/dist/cjs/co-fab.cjs.entry.js +6 -2
- package/dist/cjs/co-file-field.cjs.entry.js +10 -6
- package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
- package/dist/cjs/co-gradient-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
- package/dist/cjs/co-icon-button.cjs.entry.js +5 -6
- package/dist/cjs/co-icon.cjs.entry.js +2 -2
- package/dist/cjs/co-json-field.cjs.entry.js +8 -3
- package/dist/cjs/co-kbd_2.cjs.entry.js +3 -3
- package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
- package/dist/cjs/co-list-item.cjs.entry.js +4 -4
- package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/co-menu.cjs.entry.js +8 -8
- package/dist/cjs/co-modal.cjs.entry.js +36 -10
- package/dist/cjs/co-navbar.cjs.entry.js +2 -2
- package/dist/cjs/co-number-field.cjs.entry.js +9 -3
- package/dist/cjs/co-overlay.cjs.entry.js +205 -34
- package/dist/cjs/co-page-header.cjs.entry.js +1 -1
- package/dist/cjs/co-popover.cjs.entry.js +9 -7
- package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
- package/dist/cjs/co-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/co-radio.cjs.entry.js +3 -3
- package/dist/cjs/co-rating.cjs.entry.js +10 -3
- package/dist/cjs/co-ref-field.cjs.entry.js +10 -1
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +19 -5
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -0
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
- package/dist/cjs/co-row.cjs.entry.js +2 -2
- package/dist/cjs/co-segmented-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-select.cjs.entry.js +19 -6
- package/dist/cjs/co-separator.cjs.entry.js +1 -1
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/co-slider.cjs.entry.js +8 -2
- package/dist/cjs/co-swatch-grid.cjs.entry.js +1 -1
- package/dist/cjs/co-switch.cjs.entry.js +3 -3
- package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/co-tab.cjs.entry.js +5 -5
- package/dist/cjs/co-tags-field.cjs.entry.js +10 -5
- package/dist/cjs/co-tile.cjs.entry.js +1 -1
- package/dist/cjs/co-time-field.cjs.entry.js +4 -1
- package/dist/cjs/co-toast.cjs.entry.js +2 -2
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +7 -4
- package/dist/cjs/co-toggle-button.cjs.entry.js +5 -2
- package/dist/cjs/co-transfer-list.cjs.entry.js +6 -2
- package/dist/cjs/co-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/co-video.cjs.entry.js +10 -2
- package/dist/cjs/cobalt.cjs.js +1 -1
- package/dist/cjs/{index-oMHzCXm6.js → index-BbSD1Eyw.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pagination-DV43TRj9.js → pagination-S2sSAgdl.js} +26 -2
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/{p-97a4fbba.entry.js → p-019eed8e.entry.js} +1 -1
- package/dist/cobalt/{p-d6e7c258.entry.js → p-02ff847e.entry.js} +1 -1
- package/dist/cobalt/{p-1289131f.entry.js → p-04e3e1f6.entry.js} +1 -1
- package/dist/cobalt/p-0d046d98.entry.js +1 -0
- package/dist/cobalt/{p-d4979025.entry.js → p-0e4c2234.entry.js} +1 -1
- package/dist/cobalt/{p-3011c84f.entry.js → p-12914c0a.entry.js} +1 -1
- package/dist/cobalt/{p-f5934cd9.entry.js → p-1348d5ca.entry.js} +1 -1
- package/dist/cobalt/{p-ee88ec40.entry.js → p-13e5b724.entry.js} +1 -1
- package/dist/cobalt/{p-9e406172.entry.js → p-21b4a830.entry.js} +1 -1
- package/dist/cobalt/{p-d1c378ff.entry.js → p-2231bacc.entry.js} +1 -1
- package/dist/cobalt/{p-1693b614.entry.js → p-26cbdc33.entry.js} +1 -1
- package/dist/cobalt/{p-7f3523ce.entry.js → p-28cf05f3.entry.js} +1 -1
- package/dist/cobalt/{p-8ab5b396.entry.js → p-358a6c2a.entry.js} +1 -1
- package/dist/cobalt/p-38eb2615.entry.js +1 -0
- package/dist/cobalt/p-3b5024ce.entry.js +1 -0
- package/dist/cobalt/{p-cc5989e9.entry.js → p-3d1a48e5.entry.js} +1 -1
- package/dist/cobalt/{p-b1994bb4.entry.js → p-4bcdd422.entry.js} +1 -1
- package/dist/cobalt/{p-2a2b0c7a.entry.js → p-4d743628.entry.js} +1 -1
- package/dist/cobalt/{p-66fc1528.entry.js → p-4e81e580.entry.js} +1 -1
- package/dist/cobalt/{p-c1caa112.entry.js → p-53a251ca.entry.js} +1 -1
- package/dist/cobalt/{p-67ad9544.entry.js → p-56176aa0.entry.js} +1 -1
- package/dist/cobalt/{p-44edde81.entry.js → p-58ebb303.entry.js} +1 -1
- package/dist/cobalt/{p-2e5702a0.entry.js → p-5e678e88.entry.js} +1 -1
- package/dist/cobalt/{p-889563d5.entry.js → p-60f948c4.entry.js} +1 -1
- package/dist/cobalt/{p-db42c4ab.entry.js → p-63908a8d.entry.js} +1 -1
- package/dist/cobalt/{p-5573985a.entry.js → p-65c191aa.entry.js} +1 -1
- package/dist/cobalt/{p-b5ec4286.entry.js → p-65d44da2.entry.js} +1 -1
- package/dist/cobalt/{p-5534a64f.entry.js → p-69ecc933.entry.js} +1 -1
- package/dist/cobalt/{p-c9990662.entry.js → p-6c1992c9.entry.js} +1 -1
- package/dist/cobalt/{p-90fad0f9.entry.js → p-6c7e423c.entry.js} +1 -1
- package/dist/cobalt/{p-22233b31.entry.js → p-6d4a660c.entry.js} +1 -1
- package/dist/cobalt/{p-7675cebe.entry.js → p-713637f2.entry.js} +1 -1
- package/dist/cobalt/{p-45007758.entry.js → p-71ae1551.entry.js} +1 -1
- package/dist/cobalt/{p-a930cdd7.entry.js → p-71ee36a8.entry.js} +1 -1
- package/dist/cobalt/{p-eeb114da.entry.js → p-71fe35c4.entry.js} +1 -1
- package/dist/cobalt/{p-a336178b.entry.js → p-73313cbe.entry.js} +1 -1
- package/dist/cobalt/{p-8b2e4579.entry.js → p-78412feb.entry.js} +1 -1
- package/dist/cobalt/{p-48c23310.entry.js → p-7beface1.entry.js} +1 -1
- package/dist/cobalt/p-7d1718ed.entry.js +1 -0
- package/dist/cobalt/{p-59d3e8fc.entry.js → p-7df18a52.entry.js} +1 -1
- package/dist/cobalt/{p-b9401dd7.entry.js → p-7e678cbd.entry.js} +1 -1
- package/dist/cobalt/{p-c109a1e1.entry.js → p-7fabd8ba.entry.js} +1 -1
- package/dist/cobalt/{p-8f701eac.entry.js → p-848f5ca4.entry.js} +1 -1
- package/dist/cobalt/{p-608d251d.entry.js → p-8680559b.entry.js} +1 -1
- package/dist/cobalt/{p-4b327483.entry.js → p-87de5469.entry.js} +1 -1
- package/dist/cobalt/{p-a07dedd1.entry.js → p-8a2a2b6c.entry.js} +1 -1
- package/dist/cobalt/{p-f813569c.entry.js → p-903237f9.entry.js} +1 -1
- package/dist/cobalt/p-93063876.entry.js +1 -0
- package/dist/cobalt/{p-1f3d5313.entry.js → p-95f2ebb1.entry.js} +1 -1
- package/dist/cobalt/{p-86b6fd81.entry.js → p-99df434b.entry.js} +1 -1
- package/dist/cobalt/{p-6c157ea2.entry.js → p-9adbab95.entry.js} +1 -1
- package/dist/cobalt/{p-4111fefa.entry.js → p-9ee5bef3.entry.js} +1 -1
- package/dist/cobalt/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
- package/dist/cobalt/p-DGLDAl09.js +1 -0
- package/dist/cobalt/{p-9bee9dc8.entry.js → p-a27013e6.entry.js} +1 -1
- package/dist/cobalt/{p-9cf10331.entry.js → p-a4eb298c.entry.js} +1 -1
- package/dist/cobalt/{p-5b2aa70e.entry.js → p-a56bd4a8.entry.js} +1 -1
- package/dist/cobalt/{p-d1f47915.entry.js → p-a5eabecb.entry.js} +1 -1
- package/dist/cobalt/{p-f5e1873d.entry.js → p-a5ee1fc2.entry.js} +1 -1
- package/dist/cobalt/{p-ee42dca6.entry.js → p-a7cd61ce.entry.js} +1 -1
- package/dist/cobalt/{p-7569375a.entry.js → p-ad752791.entry.js} +1 -1
- package/dist/cobalt/{p-ea564148.entry.js → p-ae999b94.entry.js} +1 -1
- package/dist/cobalt/{p-30760f77.entry.js → p-aed832d5.entry.js} +1 -1
- package/dist/cobalt/{p-e6116149.entry.js → p-b2457431.entry.js} +1 -1
- package/dist/cobalt/{p-3b9a8e86.entry.js → p-b39a4999.entry.js} +1 -1
- package/dist/cobalt/{p-bc3ba0cd.entry.js → p-b5dabdc3.entry.js} +1 -1
- package/dist/cobalt/{p-ec7a6bf2.entry.js → p-b67fb616.entry.js} +1 -1
- package/dist/cobalt/{p-f8c7941f.entry.js → p-b9b73dcb.entry.js} +1 -1
- package/dist/cobalt/{p-a52ed6ff.entry.js → p-ba39a965.entry.js} +1 -1
- package/dist/cobalt/{p-8cd3acaa.entry.js → p-bb7bbe70.entry.js} +1 -1
- package/dist/cobalt/{p-7376f4ed.entry.js → p-be520bd5.entry.js} +1 -1
- package/dist/cobalt/{p-0a5cfed0.entry.js → p-bee30373.entry.js} +1 -1
- package/dist/cobalt/{p-e4ff2fcb.entry.js → p-c220362c.entry.js} +1 -1
- package/dist/cobalt/{p-6d541199.entry.js → p-c5464a98.entry.js} +1 -1
- package/dist/cobalt/{p-26fa36f8.entry.js → p-cf5b91be.entry.js} +1 -1
- package/dist/cobalt/{p-cc4b51fa.entry.js → p-cfaaa684.entry.js} +1 -1
- package/dist/cobalt/{p-57d250ad.entry.js → p-d00c3894.entry.js} +1 -1
- package/dist/cobalt/{p-f8d3c71e.entry.js → p-d5d8fa8b.entry.js} +1 -1
- package/dist/cobalt/p-d6215d80.entry.js +1 -0
- package/dist/cobalt/{p-78a20284.entry.js → p-dabcbba7.entry.js} +1 -1
- package/dist/cobalt/{p-9b46a8fe.entry.js → p-db623519.entry.js} +1 -1
- package/dist/cobalt/{p-136beb2c.entry.js → p-df529110.entry.js} +1 -1
- package/dist/cobalt/{p-5d6e02dd.entry.js → p-efb3cbb0.entry.js} +1 -1
- package/dist/cobalt/p-efd3e0de.entry.js +1 -0
- package/dist/cobalt/{p-e99ddf9c.entry.js → p-f2fa2ac0.entry.js} +1 -1
- package/dist/cobalt/p-f403eeec.entry.js +1 -0
- package/dist/cobalt/{p-ce2b2048.entry.js → p-f69804a6.entry.js} +1 -1
- package/dist/collection/components/co-accordion/co-accordion.js +12 -2
- package/dist/collection/components/co-action-bar/co-action-bar.css +6 -0
- package/dist/collection/components/co-action-bar/co-action-bar.js +3 -2
- package/dist/collection/components/co-app-shell/co-app-shell.css +6 -0
- package/dist/collection/components/co-app-shell/co-app-shell.js +13 -2
- package/dist/collection/components/co-audio-player/co-audio-player.js +19 -7
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +30 -17
- package/dist/collection/components/co-avatar/co-avatar.css +7 -2
- package/dist/collection/components/co-avatar/co-avatar.js +9 -2
- package/dist/collection/components/co-avatar-group/co-avatar-group.css +4 -0
- package/dist/collection/components/co-avatar-group/co-avatar-group.js +8 -3
- package/dist/collection/components/co-badge/co-badge.js +8 -1
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +13 -4
- package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +5 -1
- package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +8 -2
- package/dist/collection/components/co-button/co-button.css +25 -2
- package/dist/collection/components/co-button/co-button.js +14 -8
- package/dist/collection/components/co-button-group/co-button-group.js +10 -3
- package/dist/collection/components/co-calendar/co-calendar.css +8 -0
- package/dist/collection/components/co-calendar/co-calendar.js +3 -1
- package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +36 -19
- package/dist/collection/components/co-card/co-card.js +11 -2
- package/dist/collection/components/co-carousel/co-carousel.css +10 -0
- package/dist/collection/components/co-carousel/co-carousel.js +17 -5
- package/dist/collection/components/co-checkbox/co-checkbox.js +11 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +9 -4
- package/dist/collection/components/co-chip/co-chip.css +25 -11
- package/dist/collection/components/co-chip/co-chip.js +15 -2
- package/dist/collection/components/co-color-area/co-color-area.css +4 -0
- package/dist/collection/components/co-color-area/co-color-area.js +6 -5
- package/dist/collection/components/co-color-picker/co-color-picker.js +4 -2
- package/dist/collection/components/co-color-slider/co-color-slider.js +6 -5
- package/dist/collection/components/co-column-picker/co-column-picker.js +51 -25
- package/dist/collection/components/co-combobox/co-combobox.js +18 -4
- package/dist/collection/components/co-command-search/co-command-search.js +19 -8
- package/dist/collection/components/co-data-table/co-data-table.js +8 -3
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +16 -4
- package/dist/collection/components/co-date-field/co-date-field.js +19 -13
- package/dist/collection/components/co-date-picker/co-date-picker.js +38 -25
- package/dist/collection/components/co-date-range/co-date-range.js +19 -10
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +44 -30
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +30 -21
- package/dist/collection/components/co-document-editor/co-document-editor.js +22 -15
- package/dist/collection/components/co-drawer/co-drawer.css +5 -0
- package/dist/collection/components/co-drawer/co-drawer.js +13 -0
- package/dist/collection/components/co-drive-card/co-drive-card.js +14 -1
- package/dist/collection/components/co-drop-zone/co-drop-zone.js +7 -2
- package/dist/collection/components/co-emoji-picker/co-emoji-picker.css +4 -0
- package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +11 -2
- package/dist/collection/components/co-empty-state/co-empty-state.js +4 -2
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +16 -4
- package/dist/collection/components/co-event-popover/co-event-popover.js +18 -6
- package/dist/collection/components/co-fab/co-fab.css +8 -0
- package/dist/collection/components/co-fab/co-fab.js +17 -8
- package/dist/collection/components/co-file-field/co-file-field.js +16 -11
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +9 -2
- package/dist/collection/components/co-gradient-bar/co-gradient-bar.css +5 -0
- package/dist/collection/components/co-gradient-bar/co-gradient-bar.js +7 -2
- package/dist/collection/components/co-helper-text/co-helper-text.js +4 -2
- package/dist/collection/components/co-icon/co-icon.js +6 -2
- package/dist/collection/components/co-icon-button/co-icon-button.css +9 -0
- package/dist/collection/components/co-icon-button/co-icon-button.js +12 -7
- package/dist/collection/components/co-input/co-input.css +3 -0
- package/dist/collection/components/co-input/co-input.js +11 -0
- package/dist/collection/components/co-json-field/co-json-field.js +19 -12
- package/dist/collection/components/co-kbd/co-kbd.js +8 -1
- package/dist/collection/components/co-list-footer/co-list-footer.js +4 -1
- package/dist/collection/components/co-list-item/co-list-item.js +7 -4
- package/dist/collection/components/co-loader/co-loader.js +5 -0
- package/dist/collection/components/co-media-thumb/co-media-thumb.js +9 -2
- package/dist/collection/components/co-menu/co-menu.css +11 -1
- package/dist/collection/components/co-menu/co-menu.js +13 -13
- package/dist/collection/components/co-menu-divider/co-menu-divider.css +4 -0
- package/dist/collection/components/co-menu-divider/co-menu-divider.js +2 -1
- package/dist/collection/components/co-menu-item/co-menu-item.css +14 -0
- package/dist/collection/components/co-menu-item/co-menu-item.js +2 -0
- package/dist/collection/components/co-modal/co-modal.css +6 -0
- package/dist/collection/components/co-modal/co-modal.js +97 -18
- package/dist/collection/components/co-navbar/co-navbar.css +7 -0
- package/dist/collection/components/co-navbar/co-navbar.js +4 -2
- package/dist/collection/components/co-number-field/co-number-field.js +29 -15
- package/dist/collection/components/co-option-list/co-option-list.css +38 -0
- package/dist/collection/components/co-option-list/co-option-list.js +33 -16
- package/dist/collection/components/co-overlay/co-overlay.css +11 -0
- package/dist/collection/components/co-overlay/co-overlay.js +140 -26
- package/dist/collection/components/co-overlay/focusTrap.js +111 -3
- package/dist/collection/components/co-page-header/co-page-header.js +4 -1
- package/dist/collection/components/co-popover/co-popover.css +7 -2
- package/dist/collection/components/co-popover/co-popover.js +29 -16
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +5 -2
- package/dist/collection/components/co-progress-circle/co-progress-circle.js +5 -2
- package/dist/collection/components/co-provider-logo/co-provider-logo.js +3 -0
- package/dist/collection/components/co-radio/co-radio.js +11 -3
- package/dist/collection/components/co-radio-group/co-radio-group.js +9 -4
- package/dist/collection/components/co-rating/co-rating.js +25 -13
- package/dist/collection/components/co-ref-field/co-ref-field.css +14 -0
- package/dist/collection/components/co-ref-field/co-ref-field.js +55 -27
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +46 -24
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +4 -1
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +8 -0
- package/dist/collection/components/co-row/co-row.js +5 -2
- package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +9 -3
- package/dist/collection/components/co-select/co-select.css +13 -1
- package/dist/collection/components/co-select/co-select.js +42 -23
- package/dist/collection/components/co-separator/co-separator.js +8 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +10 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +5 -0
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +4 -3
- package/dist/collection/components/co-skeleton/co-skeleton.js +4 -1
- package/dist/collection/components/co-slider/co-slider.css +7 -0
- package/dist/collection/components/co-slider/co-slider.js +25 -13
- package/dist/collection/components/co-swatch-grid/co-swatch-grid.js +2 -1
- package/dist/collection/components/co-switch/co-switch.css +4 -0
- package/dist/collection/components/co-switch/co-switch.js +12 -3
- package/dist/collection/components/co-tab/co-tab.js +14 -6
- package/dist/collection/components/co-tab-group/co-tab-group.js +11 -2
- package/dist/collection/components/co-tags-field/co-tags-field.js +21 -14
- package/dist/collection/components/co-tile/co-tile.js +6 -1
- package/dist/collection/components/co-time-field/co-time-field.js +9 -4
- package/dist/collection/components/co-toast/co-toast.css +11 -0
- package/dist/collection/components/co-toast/co-toast.js +13 -4
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +5 -0
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +13 -9
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +18 -9
- package/dist/collection/components/co-tooltip/co-tooltip.js +12 -2
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +19 -10
- package/dist/collection/components/co-tree-item/co-tree-item.css +11 -2
- package/dist/collection/components/co-tree-item/co-tree-item.js +6 -4
- package/dist/collection/components/co-video/co-video.css +11 -0
- package/dist/collection/components/co-video/co-video.js +41 -22
- 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.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-area.js +1 -1
- package/dist/components/co-color-picker.js +1 -1
- package/dist/components/co-color-slider.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-document-editor.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-emoji-picker.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-gradient-bar.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-kbd.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-rich-text-viewer.js +1 -1
- package/dist/components/co-row.js +1 -1
- package/dist/components/co-segmented-bar.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-swatch-grid.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-tile.js +1 -1
- package/dist/components/co-time-field.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-tree-item.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/{p-BQltjDw5.js → p-8XzG8pzY.js} +1 -1
- package/dist/components/{p-FA1kBmZ-.js → p-9VoFSbIH.js} +1 -1
- package/dist/components/{p-CpGEV0iM.js → p-B3Egz082.js} +1 -1
- package/dist/components/{p-Bymi-A7C.js → p-B9wdMd_0.js} +1 -1
- package/dist/components/{p-CGH3E8uK.js → p-BI_VaFsx.js} +1 -1
- package/dist/components/{p-Dp650Gpp.js → p-BRZci8B3.js} +1 -1
- package/dist/components/{p-Dh_eRYKu.js → p-BdmzslA5.js} +1 -1
- package/dist/components/{p-C3G8oPgU.js → p-Bw_b_czs.js} +1 -1
- package/dist/components/{p-BraiMwgs.js → p-C4sZjIDj.js} +1 -1
- package/dist/components/{p-B20o5exO.js → p-C6WHpL5X.js} +1 -1
- package/dist/components/p-COozgrEk.js +1 -0
- package/dist/components/{p-CfJgypOl.js → p-C_6szR7t.js} +1 -1
- package/dist/components/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
- package/dist/components/{p-ChwSnCFf.js → p-CiYPJW0B.js} +1 -1
- package/dist/components/{p-f2xwcrXa.js → p-Cnfd6Zze.js} +1 -1
- package/dist/components/{p-C1jZYtUS.js → p-CxWo3qDo.js} +1 -1
- package/dist/components/p-D4XP17VP.js +1 -0
- package/dist/components/{p-BIDSDP05.js → p-DB8DGMc-.js} +1 -1
- package/dist/components/p-DGLDAl09.js +1 -0
- package/dist/components/{p-C-f8wTqe.js → p-DhPxNA2f.js} +1 -1
- package/dist/components/{p-D9or2g4j.js → p-Dn2wblrA.js} +1 -1
- package/dist/components/p-Dnz99Ox_.js +1 -0
- package/dist/components/{p-BcXdId8y.js → p-DsuFNmTI.js} +1 -1
- package/dist/components/{p-DKXCr-hE.js → p-DymSqdlK.js} +1 -1
- package/dist/components/{p-B3kKOgsA.js → p-KK2vAKs-.js} +1 -1
- package/dist/components/{p-d4rf3H8p.js → p-TGRbLkLz.js} +1 -1
- package/dist/components/{p-BOqtnWTJ.js → p-VcrjNCew.js} +1 -1
- package/dist/components/p-wUXcJGdy.js +1 -0
- package/dist/esm/co-accordion.entry.js +2 -2
- package/dist/esm/co-action-bar.entry.js +2 -2
- package/dist/esm/co-app-shell.entry.js +2 -2
- package/dist/esm/co-audio-player.entry.js +3 -3
- package/dist/esm/co-autocomplete.entry.js +10 -3
- package/dist/esm/co-avatar-group.entry.js +2 -2
- package/dist/esm/co-avatar.entry.js +1 -1
- package/dist/esm/co-badge.entry.js +1 -1
- package/dist/esm/co-bottom-sheet.entry.js +4 -4
- package/dist/esm/co-breadcrumb-item.entry.js +2 -2
- package/dist/esm/co-breadcrumb.entry.js +1 -1
- package/dist/esm/co-button-group.entry.js +3 -2
- package/dist/esm/co-button.entry.js +6 -6
- package/dist/esm/co-calendar-month_2.entry.js +14 -2
- package/dist/esm/co-calendar_3.entry.js +9 -5
- package/dist/esm/co-card.entry.js +2 -2
- package/dist/esm/co-carousel.entry.js +5 -2
- package/dist/esm/co-checkbox-group.entry.js +3 -3
- package/dist/esm/co-checkbox.entry.js +3 -3
- package/dist/esm/co-chip_2.entry.js +16 -6
- package/dist/esm/co-color-area.entry.js +2 -2
- package/dist/esm/co-color-picker.entry.js +2 -2
- package/dist/esm/co-color-slider.entry.js +3 -3
- package/dist/esm/co-column-picker.entry.js +22 -2
- package/dist/esm/co-combobox.entry.js +3 -3
- package/dist/esm/co-command-search.entry.js +4 -4
- package/dist/esm/co-data-table-pagination.entry.js +4 -4
- package/dist/esm/co-data-table.entry.js +2 -2
- package/dist/esm/co-date-picker.entry.js +8 -0
- package/dist/esm/co-date-range-picker.entry.js +9 -0
- package/dist/esm/co-date-range.entry.js +7 -1
- package/dist/esm/co-date-time-picker.entry.js +9 -2
- package/dist/esm/co-document-editor.entry.js +9 -3
- package/dist/esm/co-drive-card.entry.js +1 -1
- package/dist/esm/co-drop-zone.entry.js +1 -1
- package/dist/esm/co-emoji-picker.entry.js +2 -2
- package/dist/esm/co-empty-state.entry.js +2 -2
- package/dist/esm/co-event-calendar.entry.js +4 -2
- package/dist/esm/co-event-popover.entry.js +5 -1
- package/dist/esm/co-fab.entry.js +6 -2
- package/dist/esm/co-file-field.entry.js +10 -6
- package/dist/esm/co-file-type-tile.entry.js +2 -2
- package/dist/esm/co-gradient-bar.entry.js +2 -2
- package/dist/esm/co-helper-text.entry.js +2 -2
- package/dist/esm/co-icon-button.entry.js +5 -6
- package/dist/esm/co-icon.entry.js +2 -2
- package/dist/esm/co-json-field.entry.js +8 -3
- package/dist/esm/co-kbd_2.entry.js +3 -3
- package/dist/esm/co-list-footer.entry.js +1 -1
- package/dist/esm/co-list-item.entry.js +4 -4
- package/dist/esm/co-media-thumb.entry.js +2 -2
- package/dist/esm/co-menu-divider.entry.js +1 -1
- package/dist/esm/co-menu.entry.js +8 -8
- package/dist/esm/co-modal.entry.js +37 -11
- package/dist/esm/co-navbar.entry.js +2 -2
- package/dist/esm/co-number-field.entry.js +9 -3
- package/dist/esm/co-overlay.entry.js +205 -34
- package/dist/esm/co-page-header.entry.js +1 -1
- package/dist/esm/co-popover.entry.js +9 -7
- package/dist/esm/co-progress-bar.entry.js +2 -2
- package/dist/esm/co-progress-circle.entry.js +2 -2
- package/dist/esm/co-provider-logo_2.entry.js +1 -1
- package/dist/esm/co-radio-group.entry.js +3 -3
- package/dist/esm/co-radio.entry.js +3 -3
- package/dist/esm/co-rating.entry.js +10 -3
- package/dist/esm/co-ref-field.entry.js +10 -1
- package/dist/esm/co-rich-text-editor.entry.js +19 -5
- package/dist/esm/co-rich-text-toolbar.entry.js +1 -0
- package/dist/esm/co-rich-text-viewer.entry.js +1 -1
- package/dist/esm/co-row.entry.js +2 -2
- package/dist/esm/co-segmented-bar.entry.js +2 -2
- package/dist/esm/co-select.entry.js +19 -6
- package/dist/esm/co-separator.entry.js +1 -1
- package/dist/esm/co-sidebar-nav.entry.js +2 -2
- package/dist/esm/co-sidebar.entry.js +2 -2
- package/dist/esm/co-slider.entry.js +8 -2
- package/dist/esm/co-swatch-grid.entry.js +1 -1
- package/dist/esm/co-switch.entry.js +3 -3
- package/dist/esm/co-tab-group.entry.js +2 -2
- package/dist/esm/co-tab.entry.js +5 -5
- package/dist/esm/co-tags-field.entry.js +10 -5
- package/dist/esm/co-tile.entry.js +1 -1
- package/dist/esm/co-time-field.entry.js +4 -1
- package/dist/esm/co-toast.entry.js +2 -2
- package/dist/esm/co-toggle-button-group.entry.js +7 -4
- package/dist/esm/co-toggle-button.entry.js +5 -2
- package/dist/esm/co-transfer-list.entry.js +6 -2
- package/dist/esm/co-tree-item.entry.js +2 -2
- package/dist/esm/co-video.entry.js +10 -2
- package/dist/esm/cobalt.js +1 -1
- package/dist/esm/{index-Cpo8HTwr.js → index-CgyOJePd.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pagination-D9OfZUnY.js → pagination-BzrIQtrk.js} +26 -2
- package/dist/types/components/co-accordion/co-accordion.d.ts +10 -0
- package/dist/types/components/co-action-bar/co-action-bar.d.ts +1 -0
- package/dist/types/components/co-app-shell/co-app-shell.d.ts +11 -0
- package/dist/types/components/co-audio-player/co-audio-player.d.ts +16 -0
- package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +21 -0
- package/dist/types/components/co-avatar/co-avatar.d.ts +8 -1
- package/dist/types/components/co-avatar-group/co-avatar-group.d.ts +5 -0
- package/dist/types/components/co-badge/co-badge.d.ts +7 -0
- package/dist/types/components/co-bottom-sheet/co-bottom-sheet.d.ts +9 -0
- package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +4 -0
- package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +6 -0
- package/dist/types/components/co-button/co-button.d.ts +9 -3
- package/dist/types/components/co-button-group/co-button-group.d.ts +7 -0
- package/dist/types/components/co-calendar/co-calendar.d.ts +2 -0
- package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +23 -0
- package/dist/types/components/co-card/co-card.d.ts +9 -0
- package/dist/types/components/co-carousel/co-carousel.d.ts +12 -0
- package/dist/types/components/co-checkbox/co-checkbox.d.ts +8 -0
- package/dist/types/components/co-checkbox-group/co-checkbox-group.d.ts +5 -0
- package/dist/types/components/co-chip/co-chip.d.ts +13 -0
- package/dist/types/components/co-color-area/co-color-area.d.ts +2 -1
- package/dist/types/components/co-color-picker/co-color-picker.d.ts +2 -0
- package/dist/types/components/co-color-slider/co-color-slider.d.ts +2 -1
- package/dist/types/components/co-column-picker/co-column-picker.d.ts +32 -0
- package/dist/types/components/co-combobox/co-combobox.d.ts +14 -0
- package/dist/types/components/co-command-search/co-command-search.d.ts +15 -0
- package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
- package/dist/types/components/co-data-table-pagination/co-data-table-pagination.d.ts +12 -0
- package/dist/types/components/co-date-field/co-date-field.d.ts +11 -0
- package/dist/types/components/co-date-picker/co-date-picker.d.ts +30 -0
- package/dist/types/components/co-date-range/co-date-range.d.ts +12 -0
- package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +33 -0
- package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +21 -0
- package/dist/types/components/co-document-editor/co-document-editor.d.ts +9 -1
- package/dist/types/components/co-drawer/co-drawer.d.ts +13 -0
- package/dist/types/components/co-drive-card/co-drive-card.d.ts +13 -0
- package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +6 -1
- package/dist/types/components/co-emoji-picker/co-emoji-picker.d.ts +9 -0
- package/dist/types/components/co-empty-state/co-empty-state.d.ts +2 -0
- package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +12 -16
- package/dist/types/components/co-event-popover/co-event-popover.d.ts +13 -0
- package/dist/types/components/co-fab/co-fab.d.ts +11 -0
- package/dist/types/components/co-file-field/co-file-field.d.ts +6 -0
- package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +7 -0
- package/dist/types/components/co-gradient-bar/co-gradient-bar.d.ts +5 -0
- package/dist/types/components/co-helper-text/co-helper-text.d.ts +2 -0
- package/dist/types/components/co-icon/co-icon.d.ts +4 -0
- package/dist/types/components/co-icon-button/co-icon-button.d.ts +9 -4
- package/dist/types/components/co-input/co-input.d.ts +11 -0
- package/dist/types/components/co-json-field/co-json-field.d.ts +11 -0
- package/dist/types/components/co-kbd/co-kbd.d.ts +7 -0
- package/dist/types/components/co-list-footer/co-list-footer.d.ts +3 -0
- package/dist/types/components/co-list-item/co-list-item.d.ts +3 -0
- package/dist/types/components/co-loader/co-loader.d.ts +5 -0
- package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +7 -0
- package/dist/types/components/co-menu/co-menu.d.ts +6 -4
- package/dist/types/components/co-menu-divider/co-menu-divider.d.ts +1 -0
- package/dist/types/components/co-menu-item/co-menu-item.d.ts +2 -0
- package/dist/types/components/co-modal/co-modal.d.ts +47 -12
- package/dist/types/components/co-navbar/co-navbar.d.ts +2 -0
- package/dist/types/components/co-number-field/co-number-field.d.ts +20 -0
- package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
- package/dist/types/components/co-overlay/co-overlay.d.ts +39 -1
- package/dist/types/components/co-overlay/focusTrap.d.ts +24 -3
- package/dist/types/components/co-page-header/co-page-header.d.ts +3 -0
- package/dist/types/components/co-popover/co-popover.d.ts +20 -5
- package/dist/types/components/co-progress-bar/co-progress-bar.d.ts +3 -0
- package/dist/types/components/co-progress-circle/co-progress-circle.d.ts +3 -0
- package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +3 -0
- package/dist/types/components/co-radio/co-radio.d.ts +8 -0
- package/dist/types/components/co-radio-group/co-radio-group.d.ts +5 -0
- package/dist/types/components/co-rating/co-rating.d.ts +15 -0
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +42 -0
- package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +29 -0
- package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +3 -0
- package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +8 -0
- package/dist/types/components/co-row/co-row.d.ts +3 -0
- package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +6 -0
- package/dist/types/components/co-select/co-select.d.ts +26 -0
- package/dist/types/components/co-separator/co-separator.d.ts +7 -0
- package/dist/types/components/co-sidebar/co-sidebar.d.ts +8 -0
- package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +1 -0
- package/dist/types/components/co-skeleton/co-skeleton.d.ts +3 -0
- package/dist/types/components/co-slider/co-slider.d.ts +17 -0
- package/dist/types/components/co-swatch-grid/co-swatch-grid.d.ts +1 -0
- package/dist/types/components/co-switch/co-switch.d.ts +9 -0
- package/dist/types/components/co-tab/co-tab.d.ts +11 -3
- package/dist/types/components/co-tab-group/co-tab-group.d.ts +9 -0
- package/dist/types/components/co-tags-field/co-tags-field.d.ts +11 -0
- package/dist/types/components/co-tile/co-tile.d.ts +5 -0
- package/dist/types/components/co-time-field/co-time-field.d.ts +5 -0
- package/dist/types/components/co-toast/co-toast.d.ts +9 -0
- package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +8 -0
- package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +12 -2
- package/dist/types/components/co-tooltip/co-tooltip.d.ts +10 -0
- package/dist/types/components/co-transfer-list/co-transfer-list.d.ts +12 -0
- package/dist/types/components/co-tree-item/co-tree-item.d.ts +2 -0
- package/dist/types/components/co-video/co-video.d.ts +31 -0
- package/dist/types/components.d.ts +2223 -40
- package/package.json +2 -2
- package/dist/cobalt/p-1bfb69ae.entry.js +0 -1
- package/dist/cobalt/p-2794c500.entry.js +0 -1
- package/dist/cobalt/p-B1JT7us1.js +0 -1
- package/dist/cobalt/p-b2b13da8.entry.js +0 -1
- package/dist/cobalt/p-b9dfb333.entry.js +0 -1
- package/dist/cobalt/p-bc4fbfa6.entry.js +0 -1
- package/dist/cobalt/p-d75d2f3d.entry.js +0 -1
- package/dist/cobalt/p-f246946a.entry.js +0 -1
- package/dist/cobalt/p-f60bd4d6.entry.js +0 -1
- package/dist/components/p-B1JT7us1.js +0 -1
- package/dist/components/p-BR0LYW9v.js +0 -1
- package/dist/components/p-BZDl9aFl.js +0 -1
- package/dist/components/p-DfcPGitr.js +0 -1
- package/dist/components/p-Dg-Ti_Bf.js +0 -1
- /package/dist/cobalt/{p-05000ef3.entry.js → p-6974df59.entry.js} +0 -0
- /package/dist/cobalt/{p-ffbe955a.entry.js → p-71dc8e4a.entry.js} +0 -0
- /package/dist/cobalt/{p-297b55cd.entry.js → p-77e0d401.entry.js} +0 -0
- /package/dist/cobalt/{p-4c6caa41.entry.js → p-c567533e.entry.js} +0 -0
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Grupo de `co-toggle-button` que coordina la selección: única (default) o
|
|
4
|
+
* `multiple`. `variant` elige el estilo (`connected`, `track`, `soft`) y se
|
|
5
|
+
* propaga a los botones. Wrapper Vue: `CoToggleButtonGroup` de
|
|
6
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
7
|
+
*/
|
|
2
8
|
export class CoToggleButtonGroup {
|
|
3
9
|
constructor() {
|
|
4
10
|
/** Current selected value(s). Single string or JSON array for multiple. */
|
|
5
11
|
this.value = '';
|
|
12
|
+
/** Selección múltiple: `value` y `coChange` llevan un array de valores. */
|
|
6
13
|
this.multiple = false;
|
|
7
14
|
/** Talla del grupo. El grupo NO la empuja a sus hijos: cada `co-toggle-button`
|
|
8
15
|
* sin `size` propio la LEE al montarse (`componentWillLoad`, antes de su
|
|
9
|
-
* primer render) y la adopta SOLO en las combinaciones
|
|
10
|
-
*
|
|
16
|
+
* primer render) y la adopta SOLO en las combinaciones compactas del editor
|
|
17
|
+
* — `variant="soft"` (cualquier talla) o `variant="track"` +
|
|
11
18
|
* `size="xs"` — y nunca con un valor fuera de la unión del hijo (`l|m|s|xs`).
|
|
12
19
|
* Fuera de eso los hijos la ignoran, como siempre: el host ya usa
|
|
13
20
|
* `size="sm"` (fuera de la unión) y `size="s"` con la variante default, y
|
|
@@ -19,7 +26,9 @@ export class CoToggleButtonGroup {
|
|
|
19
26
|
* montar; cambiar `size` del grupo después no re-talla a los hijos ya
|
|
20
27
|
* montados (aquí solo actualiza la clase `--xs` de la pista). */
|
|
21
28
|
this.size = 'm';
|
|
29
|
+
/** Deshabilita todos los botones del grupo. */
|
|
22
30
|
this.disabled = false;
|
|
31
|
+
/** Disposición de los botones: `row` (default) o `column`. */
|
|
23
32
|
this.direction = 'row';
|
|
24
33
|
/** Stretch the group to fill its container; each button shares the width equally. */
|
|
25
34
|
this.fullWidth = false;
|
|
@@ -83,7 +92,7 @@ export class CoToggleButtonGroup {
|
|
|
83
92
|
});
|
|
84
93
|
}
|
|
85
94
|
render() {
|
|
86
|
-
return (h("div", { key: '
|
|
95
|
+
return (h("div", { key: '876d581e3c53b790f1e89ba3917325ccc7b5e8ba', class: {
|
|
87
96
|
'co-toggle-button-group': true,
|
|
88
97
|
[`co-toggle-button-group--${this.direction}`]: true,
|
|
89
98
|
[`co-toggle-button-group--${this.variant}`]: true,
|
|
@@ -92,7 +101,7 @@ export class CoToggleButtonGroup {
|
|
|
92
101
|
'co-toggle-button-group--xs': this.size === 'xs',
|
|
93
102
|
'co-toggle-button-group--disabled': this.disabled,
|
|
94
103
|
'co-toggle-button-group--full': this.fullWidth,
|
|
95
|
-
}, role: "group" }, h("slot", { key: '
|
|
104
|
+
}, role: "group" }, h("slot", { key: '9e791ede02a818a5fbe0bf571cc185cc3ea609a6' })));
|
|
96
105
|
}
|
|
97
106
|
static get is() { return "co-toggle-button-group"; }
|
|
98
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -140,7 +149,7 @@ export class CoToggleButtonGroup {
|
|
|
140
149
|
"optional": false,
|
|
141
150
|
"docs": {
|
|
142
151
|
"tags": [],
|
|
143
|
-
"text": ""
|
|
152
|
+
"text": "Selecci\u00F3n m\u00FAltiple: `value` y `coChange` llevan un array de valores."
|
|
144
153
|
},
|
|
145
154
|
"getter": false,
|
|
146
155
|
"setter": false,
|
|
@@ -160,7 +169,7 @@ export class CoToggleButtonGroup {
|
|
|
160
169
|
"optional": false,
|
|
161
170
|
"docs": {
|
|
162
171
|
"tags": [],
|
|
163
|
-
"text": "Talla del grupo. El grupo NO la empuja a sus hijos: cada `co-toggle-button`\nsin `size` propio la LEE al montarse (`componentWillLoad`, antes de su\nprimer render) y la adopta SOLO en las combinaciones
|
|
172
|
+
"text": "Talla del grupo. El grupo NO la empuja a sus hijos: cada `co-toggle-button`\nsin `size` propio la LEE al montarse (`componentWillLoad`, antes de su\nprimer render) y la adopta SOLO en las combinaciones compactas del editor\n\u2014 `variant=\"soft\"` (cualquier talla) o `variant=\"track\"` +\n`size=\"xs\"` \u2014 y nunca con un valor fuera de la uni\u00F3n del hijo (`l|m|s|xs`).\nFuera de eso los hijos la ignoran, como siempre: el host ya usa\n`size=\"sm\"` (fuera de la uni\u00F3n) y `size=\"s\"` con la variante default, y\nesos casos quedan intactos (aditivo). Por qu\u00E9 lo lee el hijo y no lo\nempuja el grupo: `size` del hijo es `reflect: true` y su primer render \u2014\nque escribe el default `m` como atributo \u2014 ocurre ANTES del\n`componentDidLoad` del grupo, as\u00ED que el grupo ya no puede distinguir un\n`m` expl\u00EDcito de uno reflejado. Consecuencia: se adopta una vez, al\nmontar; cambiar `size` del grupo despu\u00E9s no re-talla a los hijos ya\nmontados (aqu\u00ED solo actualiza la clase `--xs` de la pista)."
|
|
164
173
|
},
|
|
165
174
|
"getter": false,
|
|
166
175
|
"setter": false,
|
|
@@ -180,7 +189,7 @@ export class CoToggleButtonGroup {
|
|
|
180
189
|
"optional": false,
|
|
181
190
|
"docs": {
|
|
182
191
|
"tags": [],
|
|
183
|
-
"text": ""
|
|
192
|
+
"text": "Deshabilita todos los botones del grupo."
|
|
184
193
|
},
|
|
185
194
|
"getter": false,
|
|
186
195
|
"setter": false,
|
|
@@ -200,7 +209,7 @@ export class CoToggleButtonGroup {
|
|
|
200
209
|
"optional": false,
|
|
201
210
|
"docs": {
|
|
202
211
|
"tags": [],
|
|
203
|
-
"text": ""
|
|
212
|
+
"text": "Disposici\u00F3n de los botones: `row` (default) o `column`."
|
|
204
213
|
},
|
|
205
214
|
"getter": false,
|
|
206
215
|
"setter": false,
|
|
@@ -259,7 +268,7 @@ export class CoToggleButtonGroup {
|
|
|
259
268
|
"composed": true,
|
|
260
269
|
"docs": {
|
|
261
270
|
"tags": [],
|
|
262
|
-
"text": ""
|
|
271
|
+
"text": "Cambi\u00F3 la selecci\u00F3n (`value` ya est\u00E1 actualizado): el valor elegido, o el array en `multiple`."
|
|
263
272
|
},
|
|
264
273
|
"complexType": {
|
|
265
274
|
"original": "string | string[]",
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { computePosition, findScrollParents, getOffsetAncestor } from "../../utils/positioning";
|
|
3
|
+
/**
|
|
4
|
+
* Globo de ayuda que aparece al pasar el mouse o enfocar el control envuelto.
|
|
5
|
+
* Es la forma de rotular un control de solo ícono (en lugar del `title`
|
|
6
|
+
* nativo), pero no le da nombre accesible: el control lleva el suyo.
|
|
7
|
+
* `variant="label"` + `shortcut` muestran el atajo con un `co-kbd`. Wrapper Vue:
|
|
8
|
+
* `CoTooltip` de `@prolibu-suite/cobalt-vue`.
|
|
9
|
+
*
|
|
10
|
+
* @slot - El control que dispara el tooltip.
|
|
11
|
+
* @part panel - El globo.
|
|
12
|
+
*/
|
|
3
13
|
export class CoTooltip {
|
|
4
14
|
constructor() {
|
|
5
15
|
// ── Props ──────────────────────────────────────────────────
|
|
@@ -263,7 +273,7 @@ export class CoTooltip {
|
|
|
263
273
|
// ── Render ─────────────────────────────────────────────────
|
|
264
274
|
render() {
|
|
265
275
|
const side = this.actualPlacement.split('-')[0];
|
|
266
|
-
return (h("div", { key: '
|
|
276
|
+
return (h("div", { key: '816e80ee775d782c3827fb3ba43187992e348429', class: "co-tooltip" }, h("div", { key: 'd4d3b56ae5502ccc4fc5c30c5191860ebef51140', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, h("slot", { key: '357ff69bca524ce8c5f3ec21936fef944733cd22' })), (this.visible || this.closing) && this.content && (h("div", { key: '7d379c2ddafa6e84fbe5d5a4d3e9192a3ddfac87', id: "tooltip-panel", class: {
|
|
267
277
|
'co-tooltip__panel': true,
|
|
268
278
|
[`co-tooltip__panel--${side}`]: true,
|
|
269
279
|
'co-tooltip__panel--closing': this.closing,
|
|
@@ -275,7 +285,7 @@ export class CoTooltip {
|
|
|
275
285
|
this.promotePanel();
|
|
276
286
|
this.scheduleUpdate();
|
|
277
287
|
}
|
|
278
|
-
}, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: '
|
|
288
|
+
}, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: '0898aa009807ee6d48cdb01a5db9f4ef773804b9', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), h("span", { key: '07678a78b9fdf0955c54d4dc2c491e5205e7937d', class: "co-tooltip__content" }, this.content), this.shortcut && h("co-kbd", { key: '24aa138140da114eed006f3488dc6cbc105ccee3', keys: this.shortcut, surface: "dark", size: "xs" })))));
|
|
279
289
|
}
|
|
280
290
|
static get is() { return "co-tooltip"; }
|
|
281
291
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { initOverlayScroll } from "../../utils/overlayScroll";
|
|
3
|
+
/**
|
|
4
|
+
* Selector de dos listas: se marcan opciones en la lista de disponibles y se
|
|
5
|
+
* pasan a la de seleccionadas (y de vuelta) con botones de mover, uno o todos.
|
|
6
|
+
* Wrapper Vue: `CoTransferList` de `@prolibu-suite/cobalt-vue`.
|
|
7
|
+
*/
|
|
3
8
|
export class CoTransferList {
|
|
4
9
|
constructor() {
|
|
10
|
+
/** Título de la lista de disponibles. */
|
|
5
11
|
this.leftTitle = 'Available';
|
|
12
|
+
/** Título de la lista de seleccionadas. */
|
|
6
13
|
this.rightTitle = 'Selected';
|
|
7
14
|
/** All available options */
|
|
8
15
|
this.options = '[]';
|
|
9
16
|
/** Values in the right (selected) list */
|
|
10
17
|
this.value = '[]';
|
|
18
|
+
/** Deshabilita las listas y los botones. */
|
|
11
19
|
this.disabled = false;
|
|
20
|
+
/** Estado de validación: colorea el `helperText`. */
|
|
12
21
|
this.status = 'default';
|
|
13
22
|
this.leftChecked = new Set();
|
|
14
23
|
this.rightChecked = new Set();
|
|
@@ -117,11 +126,11 @@ export class CoTransferList {
|
|
|
117
126
|
this.osInstances = [];
|
|
118
127
|
}
|
|
119
128
|
render() {
|
|
120
|
-
return (h("div", { key: '
|
|
129
|
+
return (h("div", { key: '31890d6f8b8201b20c286448098ba96b84313192', class: {
|
|
121
130
|
'co-transfer-list': true,
|
|
122
131
|
'co-transfer-list--disabled': this.disabled,
|
|
123
132
|
[`co-transfer-list--${this.status}`]: this.status !== 'default',
|
|
124
|
-
} }, this.label && h("label", { key: '
|
|
133
|
+
} }, this.label && h("label", { key: '03682912da82bb6590d6c3cd4a070dc8d4214744', class: "co-transfer-list__label" }, this.label), h("div", { key: '33562c5fc6372f8cbee86751f593959f0b851466', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), h("div", { key: '1f4125394ac963351e08f7722dc7f73fa86ccfc9', class: "co-transfer-list__actions" }, h("button", { key: 'b070ea660c6997f2281a3a3dcdf15764665408ee', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, h("co-icon", { key: 'a46764f1308c49ff1cfcaeeab8b60434c4347b72', name: "caret-double-right", size: 16 })), h("button", { key: 'f57ef7e0a56e1f257277407d7eb47d28830d60fb', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, h("co-icon", { key: '3dc5c8df4936dd79c9c7947f1f669cf12c2d785e', name: "caret-right", size: 16 })), h("button", { key: '76ffe11208d14d89683a558d2004fb831fdc3ebf', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, h("co-icon", { key: '31565d71c489ccbe4b58edd89c867210a7077870', name: "caret-left", size: 16 })), h("button", { key: 'af464a61aa1a553b5e8218d14fdd62b5618e4d0e', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, h("co-icon", { key: '86ebbd7639f1d56c4073e55792a397213ed7b426', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (h("div", { key: '769fc2d953ad3c24a1fbaaafd2054376e8c452b3', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '62d8663352ece7628a569a9b6808d4e9f921649d', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), h("span", { key: '9480ee4c4fdc4c9ee62836ad33e555fe550650b6', class: "co-transfer-list__helper-text" }, this.helperText)))));
|
|
125
134
|
}
|
|
126
135
|
static get is() { return "co-transfer-list"; }
|
|
127
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -149,7 +158,7 @@ export class CoTransferList {
|
|
|
149
158
|
"optional": true,
|
|
150
159
|
"docs": {
|
|
151
160
|
"tags": [],
|
|
152
|
-
"text": ""
|
|
161
|
+
"text": "Etiqueta del campo."
|
|
153
162
|
},
|
|
154
163
|
"getter": false,
|
|
155
164
|
"setter": false,
|
|
@@ -168,7 +177,7 @@ export class CoTransferList {
|
|
|
168
177
|
"optional": false,
|
|
169
178
|
"docs": {
|
|
170
179
|
"tags": [],
|
|
171
|
-
"text": ""
|
|
180
|
+
"text": "T\u00EDtulo de la lista de disponibles."
|
|
172
181
|
},
|
|
173
182
|
"getter": false,
|
|
174
183
|
"setter": false,
|
|
@@ -188,7 +197,7 @@ export class CoTransferList {
|
|
|
188
197
|
"optional": false,
|
|
189
198
|
"docs": {
|
|
190
199
|
"tags": [],
|
|
191
|
-
"text": ""
|
|
200
|
+
"text": "T\u00EDtulo de la lista de seleccionadas."
|
|
192
201
|
},
|
|
193
202
|
"getter": false,
|
|
194
203
|
"setter": false,
|
|
@@ -205,7 +214,7 @@ export class CoTransferList {
|
|
|
205
214
|
"references": {
|
|
206
215
|
"TransferOption": {
|
|
207
216
|
"location": "local",
|
|
208
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
217
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-transfer-list/co-transfer-list.tsx",
|
|
209
218
|
"id": "src/components/co-transfer-list/co-transfer-list.tsx::TransferOption"
|
|
210
219
|
}
|
|
211
220
|
}
|
|
@@ -254,7 +263,7 @@ export class CoTransferList {
|
|
|
254
263
|
"optional": false,
|
|
255
264
|
"docs": {
|
|
256
265
|
"tags": [],
|
|
257
|
-
"text": ""
|
|
266
|
+
"text": "Deshabilita las listas y los botones."
|
|
258
267
|
},
|
|
259
268
|
"getter": false,
|
|
260
269
|
"setter": false,
|
|
@@ -274,7 +283,7 @@ export class CoTransferList {
|
|
|
274
283
|
"optional": true,
|
|
275
284
|
"docs": {
|
|
276
285
|
"tags": [],
|
|
277
|
-
"text": ""
|
|
286
|
+
"text": "Texto de ayuda o de error bajo el campo."
|
|
278
287
|
},
|
|
279
288
|
"getter": false,
|
|
280
289
|
"setter": false,
|
|
@@ -293,7 +302,7 @@ export class CoTransferList {
|
|
|
293
302
|
"optional": false,
|
|
294
303
|
"docs": {
|
|
295
304
|
"tags": [],
|
|
296
|
-
"text": ""
|
|
305
|
+
"text": "Estado de validaci\u00F3n: colorea el `helperText`."
|
|
297
306
|
},
|
|
298
307
|
"getter": false,
|
|
299
308
|
"setter": false,
|
|
@@ -318,7 +327,7 @@ export class CoTransferList {
|
|
|
318
327
|
"composed": true,
|
|
319
328
|
"docs": {
|
|
320
329
|
"tags": [],
|
|
321
|
-
"text": ""
|
|
330
|
+
"text": "Cambi\u00F3 la lista de seleccionadas (`value` ya est\u00E1 actualizado); `detail` = array de valores."
|
|
322
331
|
},
|
|
323
332
|
"complexType": {
|
|
324
333
|
"original": "string[]",
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --co-tree-item-selected-bg: Fondo de la fila con `selection="solid"` (default el acento).
|
|
3
|
+
* @prop --co-tree-item-selected-color: Texto e íconos con `selection="solid"` (default on-accent).
|
|
4
|
+
* @prop --co-tree-item-selected-soft-bg: Fondo con `selection="soft"` (default celeste-100).
|
|
5
|
+
* @prop --co-tree-item-group-bg: Fondo del bloque de hijos de una fila expandida (default celeste-100 al 50%).
|
|
6
|
+
* @prop --co-tree-item-hover-bg: Fondo de la fila en hover.
|
|
7
|
+
* @prop --co-tree-item-indent: Sangría por nivel de `depth` (default 24px).
|
|
8
|
+
* @prop --co-tree-item-caret-space: Hueco que reservan las filas SIN chevron (default 0; 12px alinea un árbol mixto). Se pone en el contenedor.
|
|
9
|
+
*/
|
|
1
10
|
/* co-tree-item — fila de árbol (Páginas / Capas del editor).
|
|
2
11
|
*
|
|
3
|
-
* Variables públicas (todas con fallback; los tokens
|
|
12
|
+
* Variables públicas (todas con fallback; los tokens
|
|
4
13
|
* `--co-semantic-accent`, `--co-semantic-on-accent` y `--co-color-celeste-100`
|
|
5
|
-
* llevan el literal
|
|
14
|
+
* llevan el literal para hosts con un build de tokens anterior):
|
|
6
15
|
* --co-tree-item-selected-bg fondo `selection="solid"` (accent)
|
|
7
16
|
* --co-tree-item-selected-color texto `selection="solid"` (on-accent)
|
|
8
17
|
* --co-tree-item-selected-soft-bg fondo `selection="soft"` (celeste-100)
|
|
@@ -38,6 +38,8 @@ import { getTreeItemStrings } from "./treeItemI18n";
|
|
|
38
38
|
* @part label - Texto del label.
|
|
39
39
|
* @part suffix - Contenedor de las acciones.
|
|
40
40
|
* @part children - Bloque de filas hijas (`role="group"`).
|
|
41
|
+
*
|
|
42
|
+
* Wrapper Vue: `CoTreeItem` de `@prolibu-suite/cobalt-vue`.
|
|
41
43
|
*/
|
|
42
44
|
export class CoTreeItem {
|
|
43
45
|
constructor() {
|
|
@@ -109,7 +111,7 @@ export class CoTreeItem {
|
|
|
109
111
|
const expanded = expandable && !!this.expanded;
|
|
110
112
|
const isGroup = expanded && this.hasChildren;
|
|
111
113
|
const strings = getTreeItemStrings((_d = this.locale) !== null && _d !== void 0 ? _d : 'es');
|
|
112
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: '09547858bbf035d5b70b95bdf480a58378532ae3', role: "treeitem", "aria-level": String(depth + 1), "aria-expanded": expandable ? (expanded ? 'true' : 'false') : undefined, "aria-selected": selection !== 'none' ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: '1c720c317936faa2b01c6cdab61d339d4a3d40f0', class: {
|
|
113
115
|
'co-tree-item': true,
|
|
114
116
|
'co-tree-item--xs': size === 'xs',
|
|
115
117
|
'co-tree-item--soft': selection === 'soft',
|
|
@@ -117,7 +119,7 @@ export class CoTreeItem {
|
|
|
117
119
|
'co-tree-item--expanded': expanded,
|
|
118
120
|
'co-tree-item--group': isGroup,
|
|
119
121
|
'co-tree-item--disabled': !!this.disabled,
|
|
120
|
-
} }, h("div", { key: '
|
|
122
|
+
} }, h("div", { key: 'e20c131f702d8de43901f12963da75949e3a9e6e', class: "co-tree-item__row", part: "row", style: { paddingLeft: `calc(8px + ${depth} * var(--co-tree-item-indent, 24px))` } }, expandable ? (h("button", { type: "button", class: "co-tree-item__caret", part: "caret", tabindex: "-1", "aria-label": expanded ? strings.collapse : strings.expand, "aria-disabled": this.disabled ? 'true' : undefined, onMouseDown: this.handleCaretMouseDown, onClick: this.handleCaretClick }, h("co-icon", { name: expanded ? 'caret-down' : 'caret-right', size: 8, weight: "fill" }))) : (h("span", { class: "co-tree-item__caret-space", "aria-hidden": "true" })), h("slot", { key: '313110e0f4b6b3d81faf1ecd63a56d40ebadc40f', name: "prefix" }), this.icon && (h("span", { key: 'e099db0908ccce9bea71fff6c58081126308277a', class: "co-tree-item__icon", part: "icon" }, h("co-icon", { key: '0ca917bbfcb13285d364b5b6c07ba52165df7c0b', name: this.icon, size: 12 }))), h("span", { key: '48d8b98d0af58627c6510a57b8d3a05c1c58452f', class: "co-tree-item__label", part: "label" }, h("slot", { key: 'a8c7dcfae8c5e4d7f2782b81d96a2f2924dc889c', name: "label" }, this.label)), h("span", { key: '8221cd9578dc226545e86e588d5e60fa75cd06f5', class: "co-tree-item__suffix", part: "suffix" }, h("slot", { key: '256ca2c9cc0b7f6249be0dd23b4dc14def735db9', name: "suffix" }))), h("div", { key: '246a9968d7443f2e9ab4cc37669861a6a89de546', class: "co-tree-item__children", part: "children", role: "group" }, h("slot", { key: '4726dadaf4b78766eea244866c97a2664e35c93c', onSlotchange: this.syncHasChildren })))));
|
|
121
123
|
}
|
|
122
124
|
static get is() { return "co-tree-item"; }
|
|
123
125
|
static get encapsulation() { return "shadow"; }
|
|
@@ -241,7 +243,7 @@ export class CoTreeItem {
|
|
|
241
243
|
"references": {
|
|
242
244
|
"TreeItemSelection": {
|
|
243
245
|
"location": "local",
|
|
244
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
246
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-tree-item/co-tree-item.tsx",
|
|
245
247
|
"id": "src/components/co-tree-item/co-tree-item.tsx::TreeItemSelection"
|
|
246
248
|
}
|
|
247
249
|
}
|
|
@@ -267,7 +269,7 @@ export class CoTreeItem {
|
|
|
267
269
|
"references": {
|
|
268
270
|
"TreeItemSize": {
|
|
269
271
|
"location": "local",
|
|
270
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
272
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-tree-item/co-tree-item.tsx",
|
|
271
273
|
"id": "src/components/co-tree-item/co-tree-item.tsx::TreeItemSize"
|
|
272
274
|
}
|
|
273
275
|
}
|
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
co-video
|
|
3
3
|
═══════════════════════════════════════════════════ */
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Tienen su default en `:host`; se sobrescriben desde afuera sobre el elemento
|
|
7
|
+
* (`co-video { --co-video-accent: … }`), que le gana a la regla `:host`.
|
|
8
|
+
* @prop --co-video-accent: Color del progreso reproducido, del thumb y de los controles activos (default blanco).
|
|
9
|
+
* @prop --co-video-buffered: Color de la porción cargada de la barra de progreso.
|
|
10
|
+
* @prop --co-video-controls-bg: Fondo de la barra de controles (default degradado a negro).
|
|
11
|
+
* @prop --co-video-controls-color: Color de íconos y textos de los controles (default blanco).
|
|
12
|
+
* @prop --co-video-btn-hover: Fondo de un botón de control en hover.
|
|
13
|
+
* @prop --co-video-progress-height: Alto de la barra de progreso en reposo (default 4px).
|
|
14
|
+
* @prop --co-video-progress-height-hover: Alto de la barra de progreso en hover (default 8px).
|
|
15
|
+
*/
|
|
5
16
|
:host {
|
|
6
17
|
display: block;
|
|
7
18
|
font-family: var(--co-font-family-primary);
|
|
@@ -79,8 +79,19 @@ const ERROR_MESSAGES = {
|
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* A fully configurable video player component with custom controls.
|
|
82
|
+
* Reproductor de video con controles propios (play, volumen, progreso, tiempo,
|
|
83
|
+
* velocidad, pantalla completa, PiP, descarga), eventos de progreso y umbral de
|
|
84
|
+
* visualización. Wrapper Vue: `CoVideo` de `@prolibu-suite/cobalt-vue`.
|
|
82
85
|
*
|
|
83
86
|
* @slot - Default slot (unused, reserved for future captions/overlays)
|
|
87
|
+
*
|
|
88
|
+
* @part container - Caja del reproductor (relación de aspecto y radio).
|
|
89
|
+
* @part video - El elemento `<video>` nativo.
|
|
90
|
+
* @part poster - Imagen de portada antes de reproducir.
|
|
91
|
+
* @part big-play - Botón grande de play centrado.
|
|
92
|
+
* @part controls - Barra de controles inferior.
|
|
93
|
+
* @part progress - Barra de progreso/búsqueda.
|
|
94
|
+
* @part toolbar - Fila de botones de la barra de controles.
|
|
84
95
|
*/
|
|
85
96
|
export class CoVideo {
|
|
86
97
|
constructor() {
|
|
@@ -635,14 +646,17 @@ export class CoVideo {
|
|
|
635
646
|
// ═══════════════════════════════════════════════════
|
|
636
647
|
// PUBLIC METHODS
|
|
637
648
|
// ═══════════════════════════════════════════════════
|
|
649
|
+
/** Inicia la reproducción (puede rechazarse si el navegador bloquea el autoplay con sonido). */
|
|
638
650
|
async play() {
|
|
639
651
|
var _a;
|
|
640
652
|
await ((_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.play());
|
|
641
653
|
}
|
|
654
|
+
/** Pausa la reproducción. */
|
|
642
655
|
async pause() {
|
|
643
656
|
var _a;
|
|
644
657
|
(_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.pause();
|
|
645
658
|
}
|
|
659
|
+
/** Alterna entre reproducir y pausar. */
|
|
646
660
|
async togglePlay() {
|
|
647
661
|
var _a, _b;
|
|
648
662
|
if (this.isPlaying) {
|
|
@@ -652,11 +666,13 @@ export class CoVideo {
|
|
|
652
666
|
await ((_b = this.videoEl) === null || _b === void 0 ? void 0 : _b.play());
|
|
653
667
|
}
|
|
654
668
|
}
|
|
669
|
+
/** Salta a `time` (segundos). */
|
|
655
670
|
async seek(time) {
|
|
656
671
|
if (this.videoEl) {
|
|
657
672
|
this.videoEl.currentTime = time;
|
|
658
673
|
}
|
|
659
674
|
}
|
|
675
|
+
/** Fija el volumen (0–1; se recorta a ese rango). */
|
|
660
676
|
async setVolume(level) {
|
|
661
677
|
const clamped = Math.max(0, Math.min(1, level));
|
|
662
678
|
this.volume = clamped;
|
|
@@ -664,12 +680,15 @@ export class CoVideo {
|
|
|
664
680
|
this.videoEl.volume = clamped;
|
|
665
681
|
this.volumeLevel = clamped;
|
|
666
682
|
}
|
|
683
|
+
/** Alterna el silencio (igual que el botón de volumen). */
|
|
667
684
|
async toggleMute() {
|
|
668
685
|
this.handleMuteClick();
|
|
669
686
|
}
|
|
687
|
+
/** Entra o sale de pantalla completa. */
|
|
670
688
|
async toggleFullscreen() {
|
|
671
689
|
this.handleFullscreenClick();
|
|
672
690
|
}
|
|
691
|
+
/** Entra o sale de Picture-in-Picture (si el navegador lo soporta). */
|
|
673
692
|
async togglePip() {
|
|
674
693
|
this.handlePipClick();
|
|
675
694
|
}
|
|
@@ -814,14 +833,14 @@ export class CoVideo {
|
|
|
814
833
|
// ═══════════════════════════════════════════════════
|
|
815
834
|
render() {
|
|
816
835
|
const aspectClass = `co-video--${this.aspectRatio.replace(':', '-')}`;
|
|
817
|
-
return (h(Host, { key: '
|
|
836
|
+
return (h(Host, { key: 'd2f25697003337a41f2c6ac1f8b52b82c8341731' }, h("div", { key: 'b656b85d82072035f31358820db8c61a2db4cbbc', class: {
|
|
818
837
|
'co-video': true,
|
|
819
838
|
[aspectClass]: true,
|
|
820
839
|
[`co-video--rounded-${this.rounded}`]: true,
|
|
821
840
|
'co-video--disabled': this.disabled,
|
|
822
841
|
'co-video--fullscreen': this.isFullscreen,
|
|
823
842
|
'co-video--playing': this.isPlaying,
|
|
824
|
-
}, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '
|
|
843
|
+
}, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '960e58a18058da5840fdbbdaf32a01afd1db06f9', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), h("div", { key: '4a772011fe579f90d3befe3ad925026835cece73', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
|
|
825
844
|
}
|
|
826
845
|
static get is() { return "co-video"; }
|
|
827
846
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1435,7 +1454,7 @@ export class CoVideo {
|
|
|
1435
1454
|
"composed": true,
|
|
1436
1455
|
"docs": {
|
|
1437
1456
|
"tags": [],
|
|
1438
|
-
"text": ""
|
|
1457
|
+
"text": "Empez\u00F3 o se reanud\u00F3 la reproducci\u00F3n."
|
|
1439
1458
|
},
|
|
1440
1459
|
"complexType": {
|
|
1441
1460
|
"original": "void",
|
|
@@ -1450,7 +1469,7 @@ export class CoVideo {
|
|
|
1450
1469
|
"composed": true,
|
|
1451
1470
|
"docs": {
|
|
1452
1471
|
"tags": [],
|
|
1453
|
-
"text": ""
|
|
1472
|
+
"text": "Se paus\u00F3 la reproducci\u00F3n."
|
|
1454
1473
|
},
|
|
1455
1474
|
"complexType": {
|
|
1456
1475
|
"original": "void",
|
|
@@ -1465,7 +1484,7 @@ export class CoVideo {
|
|
|
1465
1484
|
"composed": true,
|
|
1466
1485
|
"docs": {
|
|
1467
1486
|
"tags": [],
|
|
1468
|
-
"text": ""
|
|
1487
|
+
"text": "Termin\u00F3 el video (sin `loop`)."
|
|
1469
1488
|
},
|
|
1470
1489
|
"complexType": {
|
|
1471
1490
|
"original": "void",
|
|
@@ -1495,7 +1514,7 @@ export class CoVideo {
|
|
|
1495
1514
|
"composed": true,
|
|
1496
1515
|
"docs": {
|
|
1497
1516
|
"tags": [],
|
|
1498
|
-
"text": ""
|
|
1517
|
+
"text": "Error del medio: `detail` = `{ code, message }` (c\u00F3digo de `MediaError` y mensaje traducido seg\u00FAn `locale`)."
|
|
1499
1518
|
},
|
|
1500
1519
|
"complexType": {
|
|
1501
1520
|
"original": "{ code: number; message: string }",
|
|
@@ -1510,7 +1529,7 @@ export class CoVideo {
|
|
|
1510
1529
|
"composed": true,
|
|
1511
1530
|
"docs": {
|
|
1512
1531
|
"tags": [],
|
|
1513
|
-
"text": ""
|
|
1532
|
+
"text": "Avance de la reproducci\u00F3n, como mucho cada 250 ms: `{ currentTime, duration, progressPercent }` (segundos y 0\u2013100). No burbujea."
|
|
1514
1533
|
},
|
|
1515
1534
|
"complexType": {
|
|
1516
1535
|
"original": "{ currentTime: number; duration: number; progressPercent: number }",
|
|
@@ -1525,7 +1544,7 @@ export class CoVideo {
|
|
|
1525
1544
|
"composed": true,
|
|
1526
1545
|
"docs": {
|
|
1527
1546
|
"tags": [],
|
|
1528
|
-
"text": ""
|
|
1547
|
+
"text": "Termin\u00F3 un salto en la barra de progreso: `{ from, to }` en segundos."
|
|
1529
1548
|
},
|
|
1530
1549
|
"complexType": {
|
|
1531
1550
|
"original": "{ from: number; to: number }",
|
|
@@ -1540,7 +1559,7 @@ export class CoVideo {
|
|
|
1540
1559
|
"composed": true,
|
|
1541
1560
|
"docs": {
|
|
1542
1561
|
"tags": [],
|
|
1543
|
-
"text": ""
|
|
1562
|
+
"text": "Cambi\u00F3 el volumen o el silencio: `{ volume, muted }` (volumen 0\u20131)."
|
|
1544
1563
|
},
|
|
1545
1564
|
"complexType": {
|
|
1546
1565
|
"original": "{ volume: number; muted: boolean }",
|
|
@@ -1555,7 +1574,7 @@ export class CoVideo {
|
|
|
1555
1574
|
"composed": true,
|
|
1556
1575
|
"docs": {
|
|
1557
1576
|
"tags": [],
|
|
1558
|
-
"text": ""
|
|
1577
|
+
"text": "Entr\u00F3 o sali\u00F3 de pantalla completa: `{ fullscreen }`."
|
|
1559
1578
|
},
|
|
1560
1579
|
"complexType": {
|
|
1561
1580
|
"original": "{ fullscreen: boolean }",
|
|
@@ -1570,7 +1589,7 @@ export class CoVideo {
|
|
|
1570
1589
|
"composed": true,
|
|
1571
1590
|
"docs": {
|
|
1572
1591
|
"tags": [],
|
|
1573
|
-
"text": ""
|
|
1592
|
+
"text": "Cambi\u00F3 la velocidad desde el selector: `{ rate }`."
|
|
1574
1593
|
},
|
|
1575
1594
|
"complexType": {
|
|
1576
1595
|
"original": "{ rate: number }",
|
|
@@ -1585,7 +1604,7 @@ export class CoVideo {
|
|
|
1585
1604
|
"composed": true,
|
|
1586
1605
|
"docs": {
|
|
1587
1606
|
"tags": [],
|
|
1588
|
-
"text": ""
|
|
1607
|
+
"text": "Entr\u00F3 o sali\u00F3 de Picture-in-Picture: `{ pip }`."
|
|
1589
1608
|
},
|
|
1590
1609
|
"complexType": {
|
|
1591
1610
|
"original": "{ pip: boolean }",
|
|
@@ -1600,7 +1619,7 @@ export class CoVideo {
|
|
|
1600
1619
|
"composed": true,
|
|
1601
1620
|
"docs": {
|
|
1602
1621
|
"tags": [],
|
|
1603
|
-
"text": ""
|
|
1622
|
+
"text": "Click en descargar (con `allowDownload`), justo antes de iniciar la descarga: `{ src }`."
|
|
1604
1623
|
},
|
|
1605
1624
|
"complexType": {
|
|
1606
1625
|
"original": "{ src: string }",
|
|
@@ -1615,7 +1634,7 @@ export class CoVideo {
|
|
|
1615
1634
|
"composed": true,
|
|
1616
1635
|
"docs": {
|
|
1617
1636
|
"tags": [],
|
|
1618
|
-
"text": ""
|
|
1637
|
+
"text": "Se alcanz\u00F3 el `watchThreshold` (una sola vez por video): `{ threshold, currentTime, duration }`. \u00DAtil para marcar un video como visto."
|
|
1619
1638
|
},
|
|
1620
1639
|
"complexType": {
|
|
1621
1640
|
"original": "{ threshold: number; currentTime: number; duration: number }",
|
|
@@ -1639,7 +1658,7 @@ export class CoVideo {
|
|
|
1639
1658
|
"return": "Promise<void>"
|
|
1640
1659
|
},
|
|
1641
1660
|
"docs": {
|
|
1642
|
-
"text": "",
|
|
1661
|
+
"text": "Inicia la reproducci\u00F3n (puede rechazarse si el navegador bloquea el autoplay con sonido).",
|
|
1643
1662
|
"tags": []
|
|
1644
1663
|
}
|
|
1645
1664
|
},
|
|
@@ -1656,7 +1675,7 @@ export class CoVideo {
|
|
|
1656
1675
|
"return": "Promise<void>"
|
|
1657
1676
|
},
|
|
1658
1677
|
"docs": {
|
|
1659
|
-
"text": "",
|
|
1678
|
+
"text": "Pausa la reproducci\u00F3n.",
|
|
1660
1679
|
"tags": []
|
|
1661
1680
|
}
|
|
1662
1681
|
},
|
|
@@ -1673,7 +1692,7 @@ export class CoVideo {
|
|
|
1673
1692
|
"return": "Promise<void>"
|
|
1674
1693
|
},
|
|
1675
1694
|
"docs": {
|
|
1676
|
-
"text": "",
|
|
1695
|
+
"text": "Alterna entre reproducir y pausar.",
|
|
1677
1696
|
"tags": []
|
|
1678
1697
|
}
|
|
1679
1698
|
},
|
|
@@ -1694,7 +1713,7 @@ export class CoVideo {
|
|
|
1694
1713
|
"return": "Promise<void>"
|
|
1695
1714
|
},
|
|
1696
1715
|
"docs": {
|
|
1697
|
-
"text": "",
|
|
1716
|
+
"text": "Salta a `time` (segundos).",
|
|
1698
1717
|
"tags": []
|
|
1699
1718
|
}
|
|
1700
1719
|
},
|
|
@@ -1715,7 +1734,7 @@ export class CoVideo {
|
|
|
1715
1734
|
"return": "Promise<void>"
|
|
1716
1735
|
},
|
|
1717
1736
|
"docs": {
|
|
1718
|
-
"text": "",
|
|
1737
|
+
"text": "Fija el volumen (0\u20131; se recorta a ese rango).",
|
|
1719
1738
|
"tags": []
|
|
1720
1739
|
}
|
|
1721
1740
|
},
|
|
@@ -1732,7 +1751,7 @@ export class CoVideo {
|
|
|
1732
1751
|
"return": "Promise<void>"
|
|
1733
1752
|
},
|
|
1734
1753
|
"docs": {
|
|
1735
|
-
"text": "",
|
|
1754
|
+
"text": "Alterna el silencio (igual que el bot\u00F3n de volumen).",
|
|
1736
1755
|
"tags": []
|
|
1737
1756
|
}
|
|
1738
1757
|
},
|
|
@@ -1749,7 +1768,7 @@ export class CoVideo {
|
|
|
1749
1768
|
"return": "Promise<void>"
|
|
1750
1769
|
},
|
|
1751
1770
|
"docs": {
|
|
1752
|
-
"text": "",
|
|
1771
|
+
"text": "Entra o sale de pantalla completa.",
|
|
1753
1772
|
"tags": []
|
|
1754
1773
|
}
|
|
1755
1774
|
},
|
|
@@ -1766,7 +1785,7 @@ export class CoVideo {
|
|
|
1766
1785
|
"return": "Promise<void>"
|
|
1767
1786
|
},
|
|
1768
1787
|
"docs": {
|
|
1769
|
-
"text": "",
|
|
1788
|
+
"text": "Entra o sale de Picture-in-Picture (si el navegador lo soporta).",
|
|
1770
1789
|
"tags": []
|
|
1771
1790
|
}
|
|
1772
1791
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as o,p as
|
|
1
|
+
import{t as o,p as e,H as c,c as i,h as a}from"./index.js";import{d as t}from"./p-KK2vAKs-.js";function n(o){return"function"==typeof o.matches&&o.matches('a[href],button,input,select,textarea,label,summary,[contenteditable="true"],[role="button"],[role="link"],[role="checkbox"],[role="switch"],[role="menuitem"],[role="tab"],co-button,co-icon-button,co-switch,co-checkbox,co-radio,co-chip,co-input,co-select,co-combobox,co-autocomplete,co-ref-field,co-number-field,co-toggle-button,co-menu')}const r=e(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.coToggle=i(this,"coToggle",3),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))},this.handleHeadingClick=o=>{if(this.disabled)return;const e=o.currentTarget;for(const c of o.composedPath()){if(c===e)break;if(n(c))return}this.handleToggle()}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return a("div",{key:"0d1c2cca135ac9d62cb7d4b5c620843c5788101d",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},a("div",{key:"aa80683852ba2b131c7ab29eed528ec87d92a565",class:"co-accordion__header",part:"header"},a("span",{key:"71c84f588f351279bb999a2ec84dd37b202203d0",class:"co-accordion__heading-group",onClick:this.handleHeadingClick},a("span",{key:"42201833527fd73790ab6391668ba8eb7986ed90",class:"co-accordion__heading",part:"heading"},a("slot",{key:"11528c94fa817e55ffb015975e29947111e98c08",name:"header"},this.heading)),this.showSubheading&&a("span",{key:"73bd7f8b5d7b967f0a5c84f207ab4452e96f6805",class:"co-accordion__subheading",part:"subheading"},a("slot",{key:"1cefb67a4b6809357ee9a5a9330ec3bcd3be42ab",name:"subheading"},this.subheading))),a("button",{key:"fef96df91611513ab6f6074578a31c3e7b23b4c2",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},a("co-icon",{key:"f32612853d42ea6f2c34b2554951b22d155d1afc",name:"caret-up",size:20}))),a("div",{key:"c3c90907e7114f20a917bae025012464182b8ea4",class:"co-accordion__body",part:"body"},a("div",{key:"44877e54213ae200cde25d5a2fb5ae4ed95b7df9",class:"co-accordion__body-inner",part:"body-inner"},a("slot",{key:"4ad41bab50239bb4ddca8ee8751afeb6dfb19227"}))))}get el(){return this}static get style(){return":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px);cursor:pointer}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out), background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-md);transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{padding-top:0}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-slow)}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}.co-accordion--disabled .co-accordion__heading-group{cursor:default}"}},[257,"co-accordion",{open:[1540],heading:[1],subheading:[1],disabled:[4],hasSubheadingSlot:[32]}]);function d(){"undefined"!=typeof customElements&&["co-accordion","co-icon"].forEach((e=>{switch(e){case"co-accordion":customElements.get(o(e))||customElements.define(o(e),r);break;case"co-icon":customElements.get(o(e))||t()}}))}d();const s=r,l=d;export{s as CoAccordion,l as defineCustomElement}
|