@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
|
@@ -12,6 +12,11 @@ const FONT_SIZE_MAP = {
|
|
|
12
12
|
xs: 'var(--co-font-size-12)',
|
|
13
13
|
xxs: 'var(--co-font-size-10)',
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Pila de avatares superpuestos con un «+N» para los que no entran (`max`).
|
|
17
|
+
* `items` describe cada avatar (tipo, texto, imagen, color). Wrapper Vue:
|
|
18
|
+
* `CoAvatarGroup` de `@prolibu-suite/cobalt-vue`.
|
|
19
|
+
*/
|
|
15
20
|
export class CoAvatarGroup {
|
|
16
21
|
constructor() {
|
|
17
22
|
/** Avatar descriptors rendered as an overlapping stack. */
|
|
@@ -56,13 +61,13 @@ export class CoAvatarGroup {
|
|
|
56
61
|
onClick: this.activate,
|
|
57
62
|
}
|
|
58
63
|
: { role: 'group' };
|
|
59
|
-
return (h(Tag, Object.assign({ key: '
|
|
64
|
+
return (h(Tag, Object.assign({ key: '7e14b71d5b7391c15fcba50aa43964fdf65282e3', class: {
|
|
60
65
|
'co-avatar-group': true,
|
|
61
66
|
'co-avatar-group--interactive': this.interactive,
|
|
62
67
|
} }, interactiveAttrs), visible.map((it, i) => {
|
|
63
68
|
var _a, _b, _c;
|
|
64
69
|
return (h("co-avatar", { key: i, class: "co-avatar-group__avatar", type: (_a = it.type) !== null && _a !== void 0 ? _a : (it.src ? 'image' : it.icon ? 'icon' : 'text'), size: this.size, shape: (_b = it.shape) !== null && _b !== void 0 ? _b : this.shape, text: it.text, src: it.src, icon: (_c = it.icon) !== null && _c !== void 0 ? _c : 'user', color: it.color, "ring-color": it.ringColor, name: it.name || it.text || '' }));
|
|
65
|
-
}), extra > 0 && (h("co-tooltip", { key: '
|
|
70
|
+
}), extra > 0 && (h("co-tooltip", { key: 'f3cc2f5a9f1ceac07ea3b665e6bd0c87804d27ae', class: "co-avatar-group__slot", content: overflowLabel, placement: "bottom" }, h("div", { key: 'c0b5fcb8df88917b06a2a9b36f1c2798f10730ff', class: "co-avatar-group__overflow", style: { width: `${dim}px`, height: `${dim}px`, fontSize }, role: "img", "aria-label": `+${extra}` }, "+", extra)))));
|
|
66
71
|
}
|
|
67
72
|
static get is() { return "co-avatar-group"; }
|
|
68
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +92,7 @@ export class CoAvatarGroup {
|
|
|
87
92
|
"references": {
|
|
88
93
|
"CoAvatarGroupItem": {
|
|
89
94
|
"location": "local",
|
|
90
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
95
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-avatar-group/co-avatar-group.tsx",
|
|
91
96
|
"id": "src/components/co-avatar-group/co-avatar-group.tsx::CoAvatarGroupItem"
|
|
92
97
|
}
|
|
93
98
|
}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Indicador pequeño de conteo o de estado (punto) con color semántico; con
|
|
4
|
+
* `animated` hace un pop de entrada. Wrapper Vue: `CoBadge` de
|
|
5
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*
|
|
7
|
+
* @part badge - El indicador.
|
|
8
|
+
*/
|
|
2
9
|
export class CoBadge {
|
|
3
10
|
constructor() {
|
|
4
11
|
/**
|
|
@@ -17,7 +24,7 @@ export class CoBadge {
|
|
|
17
24
|
this.animated = false;
|
|
18
25
|
}
|
|
19
26
|
render() {
|
|
20
|
-
return (h("span", { key: '
|
|
27
|
+
return (h("span", { key: 'b22315d54caf4150b599d5a8b576a08e68f8bfea', class: {
|
|
21
28
|
'co-badge': true,
|
|
22
29
|
[`co-badge--${this.size}`]: true,
|
|
23
30
|
[`co-badge--${this.color}`]: true,
|
|
@@ -13,6 +13,15 @@ import { slotHasContent } from "../../utils/slotContent";
|
|
|
13
13
|
* @slot header - Custom header content (overrides `heading`). Dragging it moves the sheet.
|
|
14
14
|
* @slot - Sheet body (scrollable).
|
|
15
15
|
* @slot footer - Pinned action area below the body (outside the scroll), with safe-area padding.
|
|
16
|
+
*
|
|
17
|
+
* Wrapper Vue: `CoBottomSheet` de `@prolibu-suite/cobalt-vue`.
|
|
18
|
+
*
|
|
19
|
+
* @part backdrop - Fondo oscuro detrás de la hoja.
|
|
20
|
+
* @part sheet - La hoja.
|
|
21
|
+
* @part handle - Tirador superior.
|
|
22
|
+
* @part header - Encabezado (título o slot `header`).
|
|
23
|
+
* @part body - Cuerpo scrolleable.
|
|
24
|
+
* @part footer - Área de acciones fija al pie.
|
|
16
25
|
*/
|
|
17
26
|
export class CoBottomSheet {
|
|
18
27
|
constructor() {
|
|
@@ -250,17 +259,17 @@ export class CoBottomSheet {
|
|
|
250
259
|
(_a = this.bodyEl) === null || _a === void 0 ? void 0 : _a.removeEventListener('touchmove', this.touchBlocker);
|
|
251
260
|
}
|
|
252
261
|
render() {
|
|
253
|
-
return (h("div", { key: '
|
|
262
|
+
return (h("div", { key: '43f05669ad96312f6bd2ee1c1d4698538f029e2c', class: { 'co-bottom-sheet-root': true, 'co-bottom-sheet-root--open': this.open } }, h("div", { key: '86040a5efd513a6c06bbe551f82bcdc619817ea3', class: "co-bottom-sheet__backdrop", part: "backdrop", onClick: this.handleBackdropClick, ref: (el) => (this.backdropEl = el) }), h("section", { key: '46155a318f952b9be717a47497f1f513d3cf970f', class: { 'co-bottom-sheet': true, 'co-bottom-sheet--open': this.open }, part: "sheet", role: "dialog", "aria-modal": "true", "aria-labelledby": this.hasHeaderSlot
|
|
254
263
|
? 'co-bottom-sheet-header'
|
|
255
264
|
: this.heading
|
|
256
265
|
? 'co-bottom-sheet-heading'
|
|
257
|
-
: undefined, style: { '--co-bottom-sheet-max-height': this.maxHeight }, onTransitionEnd: this.handleTransitionEnd, ref: (el) => (this.sheetEl = el) }, h("div", { key: '
|
|
266
|
+
: undefined, style: { '--co-bottom-sheet-max-height': this.maxHeight }, onTransitionEnd: this.handleTransitionEnd, ref: (el) => (this.sheetEl = el) }, h("div", { key: '8b4a140b235f9803f71fb8717763651557ec6ca6', class: "co-bottom-sheet__grip", onPointerDown: this.handleGripPointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel }, this.showHandle && (h("div", { key: '0c61ae9e1faf72485cf5b8c529041f740831d3a1', class: "co-bottom-sheet__handle", part: "handle", "aria-hidden": "true" })), h("header", { key: 'cd7116cd2b12c66e6cde63753dab12eaab31d04c', class: {
|
|
258
267
|
'co-bottom-sheet__header': true,
|
|
259
268
|
'co-bottom-sheet__header--show': this.hasHeaderSlot || !!this.heading,
|
|
260
|
-
}, part: "header", id: "co-bottom-sheet-header" }, h("slot", { key: '
|
|
269
|
+
}, part: "header", id: "co-bottom-sheet-header" }, h("slot", { key: '8343901cfdb86eef24e3bbc7e7a9d270eeed6ed0', name: "header", onSlotchange: this.handleHeaderSlotChange }, this.heading && (h("h2", { key: '31874876e8fb9db7cf7ae57f3f704a569d4fb797', class: "co-bottom-sheet__heading", id: "co-bottom-sheet-heading" }, this.heading))))), h("div", { key: '126a26708b6d4b70c8bb74f6a4cd7fe43f74e725', 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: 'c8f5034ea3de0265d05203befc31e961f8340694' })), h("footer", { key: 'a2d40f9d6056df561388fa213995595a84044cd1', class: {
|
|
261
270
|
'co-bottom-sheet__footer': true,
|
|
262
271
|
'co-bottom-sheet__footer--show': this.hasFooter,
|
|
263
|
-
}, part: "footer" }, h("slot", { key: '
|
|
272
|
+
}, part: "footer" }, h("slot", { key: '0d97eb87bc4de74db631629a478bd01ce5a473a6', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
|
|
264
273
|
}
|
|
265
274
|
static get is() { return "co-bottom-sheet"; }
|
|
266
275
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,6 +7,10 @@ import { Host, h } from "@stencil/core";
|
|
|
7
7
|
* leading icon (hidden on the first crumb via CSS), so no separator markup is
|
|
8
8
|
* interleaved here. This component propagates its `separator` prop down to the
|
|
9
9
|
* slotted items and layouts them in a `align-items:center; gap:4px` flex row.
|
|
10
|
+
*
|
|
11
|
+
* @part breadcrumb - El propio elemento (`role="navigation"`), fila de migas.
|
|
12
|
+
*
|
|
13
|
+
* Wrapper Vue: `CoBreadcrumb` de `@prolibu-suite/cobalt-vue`.
|
|
10
14
|
*/
|
|
11
15
|
export class CoBreadcrumb {
|
|
12
16
|
constructor() {
|
|
@@ -42,7 +46,7 @@ export class CoBreadcrumb {
|
|
|
42
46
|
}
|
|
43
47
|
render() {
|
|
44
48
|
const data = this.parseItems();
|
|
45
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'e368c6a9c2842ee88e66d72d33164653b623616b', part: "breadcrumb", role: "navigation", "aria-label": "Breadcrumb" }, data
|
|
46
50
|
? 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
51
|
: h("slot", { onSlotchange: this.handleSlotChange })));
|
|
48
52
|
}
|
|
@@ -9,6 +9,12 @@ import { Host, h } from "@stencil/core";
|
|
|
9
9
|
*
|
|
10
10
|
* Conventions mirror `co-menu-item`: the `current` crumb paints medium weight +
|
|
11
11
|
* text-default ink; earlier crumbs are regular weight + muted (gray-500).
|
|
12
|
+
*
|
|
13
|
+
* Wrapper Vue: `CoBreadcrumbItem` de `@prolibu-suite/cobalt-vue`.
|
|
14
|
+
*
|
|
15
|
+
* @slot - Contenido propio en lugar de `label`.
|
|
16
|
+
* @part breadcrumb-item - Contenedor de la miga (separador + contenido).
|
|
17
|
+
* @part content - Parte clickeable (ícono y texto).
|
|
12
18
|
*/
|
|
13
19
|
export class CoBreadcrumbItem {
|
|
14
20
|
constructor() {
|
|
@@ -29,10 +35,10 @@ export class CoBreadcrumbItem {
|
|
|
29
35
|
};
|
|
30
36
|
}
|
|
31
37
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'e751e769b86efb5c9f929f818c6a7a020beeace6', part: "breadcrumb-item", class: {
|
|
33
39
|
'co-breadcrumb-item': true,
|
|
34
40
|
'co-breadcrumb-item--current': this.current,
|
|
35
|
-
} }, h("span", { key: '
|
|
41
|
+
} }, h("span", { key: '65c70c55e16037e97c35c3ad65548b8e15d1e07d', class: "co-breadcrumb-item__sep", "aria-hidden": "true" }, h("co-icon", { key: '8e70db08814fa611cacd2e78bb96ece6a2d5e9db', name: this.separator, size: 13 })), h("span", { key: 'acc0e0a8a5b6e18aac7af27f4b5971bb4f5ed054', 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: '4f22d7482c0a70b3973c2a66d1ba84db4c07445d', class: "co-breadcrumb-item__icon" }, h("co-icon", { key: 'b16cbcbe67336c57230929f45985262ebb6ae093', name: this.icon, size: 16 }))), h("span", { key: '4dd03fea8de55ace99325fa57afdcb47c9b36e54', class: "co-breadcrumb-item__label" }, this.label, h("slot", { key: 'ec8a0a40d2e1ccbabde80b724eb5a473e123ac7d' })))));
|
|
36
42
|
}
|
|
37
43
|
static get is() { return "co-breadcrumb-item"; }
|
|
38
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --co-button-border-color: Color del borde, en todas las variantes (gana sobre `--co-button-border`).
|
|
3
|
+
* @prop --co-button-border: Borde de la variante `secondary` (knob anterior; `--co-button-border-color` le gana).
|
|
4
|
+
* @prop --co-button-bg: Superficie de la variante `secondary` (se mezcla al 55% con transparencia).
|
|
5
|
+
* @prop --co-button-color: Color de texto de la variante `secondary`.
|
|
6
|
+
* @prop --co-button-radius: Radio del botón con `shape="rounded"` (default pill).
|
|
7
|
+
* @prop --co-button-icon-color: Color de los íconos de `icon-left`/`icon-right` (default: el del texto).
|
|
8
|
+
*/
|
|
1
9
|
:host {
|
|
2
10
|
display: inline-flex;
|
|
3
11
|
}
|
|
@@ -39,7 +47,7 @@
|
|
|
39
47
|
blurear y el 78% de negro colapsa a un gris lavado. */
|
|
40
48
|
background: var(--co-semantic-surface-primary);
|
|
41
49
|
color: var(--co-semantic-on-primary);
|
|
42
|
-
/* --co-button-border-color
|
|
50
|
+
/* --co-button-border-color: override transversal; el fallback es
|
|
43
51
|
el valor propio de la variante, así el default no cambia sin la var. */
|
|
44
52
|
border-color: var(--co-button-border-color, color-mix(in srgb, var(--co-semantic-on-primary) 28%, transparent));
|
|
45
53
|
}
|
|
@@ -176,6 +184,21 @@
|
|
|
176
184
|
inset 0 0 0 1px var(--co-color-opacity-negro-8);
|
|
177
185
|
}
|
|
178
186
|
|
|
187
|
+
/* ─── FOCUS RING ─────────────────────────────────────────────────
|
|
188
|
+
Anillo de foco de teclado en TODAS las variantes (el base es outline:none). Doble anillo: el
|
|
189
|
+
interior del color de la página separa el anillo del fill del botón en cualquier variante.
|
|
190
|
+
QA 2026-09-24 («Generar contrato»): con Tab el foco era invisible en todo botón salvo
|
|
191
|
+
danger + surface-dark. Va DESPUÉS del elevated (misma especificidad: su sombra pisaba el
|
|
192
|
+
anillo) y antes de las overrides de superficie, que lo siguen ganando por especificidad. */
|
|
193
|
+
.co-button:focus-visible {
|
|
194
|
+
box-shadow:
|
|
195
|
+
0 0 0 2px var(--co-semantic-surface-page),
|
|
196
|
+
0 0 0 4px var(--co-semantic-border-focus);
|
|
197
|
+
/* forced-colors (alto contraste de Windows) borra el box-shadow: el sistema pinta este outline. */
|
|
198
|
+
outline: 2px solid transparent;
|
|
199
|
+
outline-offset: 2px;
|
|
200
|
+
}
|
|
201
|
+
|
|
179
202
|
/* ─── ON-DARK SURFACE · ghost/stroke ─────────────────────────────
|
|
180
203
|
surface="dark": for buttons placed on a dark bar (e.g. a selection
|
|
181
204
|
bar). White ink/icon + a blanco-16 hover wash. Higher specificity
|
|
@@ -233,7 +256,7 @@
|
|
|
233
256
|
.co-button--stroke { background: transparent; }
|
|
234
257
|
}
|
|
235
258
|
|
|
236
|
-
/* ═══
|
|
259
|
+
/* ═══ Tallas y variantes del editor — size="sm", variant="soft", full-width,
|
|
237
260
|
--co-button-border-color / --co-button-icon-color. Todo lo de abajo es
|
|
238
261
|
aditivo: no reemplaza ni recalcula ninguna regla de arriba. ═══ */
|
|
239
262
|
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
const ICON_SIZE = { l: 20, m: 18, s: 16, xs: 14, sm: 16 };
|
|
3
3
|
/**
|
|
4
|
+
* Botón de acción con texto e íconos opcionales. `variant` define el peso
|
|
5
|
+
* visual (`primary` para la acción principal), `size` la talla y `full-width`
|
|
6
|
+
* lo estira al ancho del contenedor. Wrapper Vue: `CoButton` de
|
|
7
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
8
|
+
*
|
|
4
9
|
* @slot - Button label text
|
|
10
|
+
* @part button - El `<button>` nativo interno.
|
|
5
11
|
*/
|
|
6
12
|
export class CoButton {
|
|
7
13
|
constructor() {
|
|
8
|
-
/** Visual style. "soft"
|
|
14
|
+
/** Visual style. "soft": fondo sólido `--co-semantic-surface-control` (gray-100 en claro), sin backdrop-filter — pensado para toolbars y paneles del editor. */
|
|
9
15
|
this.variant = 'primary';
|
|
10
16
|
/** Shape: pill or straight corners */
|
|
11
17
|
this.shape = 'rounded';
|
|
12
|
-
/** Size
|
|
18
|
+
/** Size: `l`, `m` (default), `s`, `xs`; `sm` = 32px fijo, de la escala compacta del editor (xs=24/s=28/sm=32). Un valor fuera de la lista no da error: el botón queda sin estilos de talla (sin padding ni tamaño de fuente). */
|
|
13
19
|
this.size = 'm';
|
|
14
|
-
/** Ocupa el 100% del ancho del contenedor
|
|
20
|
+
/** Ocupa el 100% del ancho del contenedor. Reflejado como atributo `full-width`. */
|
|
15
21
|
this.fullWidth = false;
|
|
16
22
|
/** Raised elevation — with variant="secondary" renders a white raised button (shadow-sm + inset hairline). */
|
|
17
23
|
this.elevated = false;
|
|
@@ -57,7 +63,7 @@ export class CoButton {
|
|
|
57
63
|
customStyle.background = this.color;
|
|
58
64
|
if (this.textColor)
|
|
59
65
|
customStyle.color = this.textColor;
|
|
60
|
-
return (h("button", { key: '
|
|
66
|
+
return (h("button", { key: 'e77a3b67e23b2690a818e6ad9aa38b21b4c8f972', class: {
|
|
61
67
|
'co-button': true,
|
|
62
68
|
[`co-button--${this.variant}`]: true,
|
|
63
69
|
[`co-button--${this.shape}`]: true,
|
|
@@ -67,7 +73,7 @@ export class CoButton {
|
|
|
67
73
|
'co-button--disabled': this.disabled,
|
|
68
74
|
}, 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
|
|
69
75
|
? h("co-icon", { name: this.iconLeft, weight: this.iconWeight, size: iconSize })
|
|
70
|
-
: null, h("slot", { key: '
|
|
76
|
+
: null, h("slot", { key: 'ee52eb057c04ee3e1f5a5b2e87dc778a338d9887' }, this.label), this.iconRight
|
|
71
77
|
? h("co-icon", { name: this.iconRight, weight: this.iconWeight, size: iconSize })
|
|
72
78
|
: null));
|
|
73
79
|
}
|
|
@@ -97,7 +103,7 @@ export class CoButton {
|
|
|
97
103
|
"optional": false,
|
|
98
104
|
"docs": {
|
|
99
105
|
"tags": [],
|
|
100
|
-
"text": "Visual style. \"soft\"
|
|
106
|
+
"text": "Visual style. \"soft\": fondo s\u00F3lido `--co-semantic-surface-control` (gray-100 en claro), sin backdrop-filter \u2014 pensado para toolbars y paneles del editor."
|
|
101
107
|
},
|
|
102
108
|
"getter": false,
|
|
103
109
|
"setter": false,
|
|
@@ -137,7 +143,7 @@ export class CoButton {
|
|
|
137
143
|
"optional": false,
|
|
138
144
|
"docs": {
|
|
139
145
|
"tags": [],
|
|
140
|
-
"text": "Size
|
|
146
|
+
"text": "Size: `l`, `m` (default), `s`, `xs`; `sm` = 32px fijo, de la escala compacta del editor (xs=24/s=28/sm=32). Un valor fuera de la lista no da error: el bot\u00F3n queda sin estilos de talla (sin padding ni tama\u00F1o de fuente)."
|
|
141
147
|
},
|
|
142
148
|
"getter": false,
|
|
143
149
|
"setter": false,
|
|
@@ -157,7 +163,7 @@ export class CoButton {
|
|
|
157
163
|
"optional": false,
|
|
158
164
|
"docs": {
|
|
159
165
|
"tags": [],
|
|
160
|
-
"text": "Ocupa el 100% del ancho del contenedor
|
|
166
|
+
"text": "Ocupa el 100% del ancho del contenedor. Reflejado como atributo `full-width`."
|
|
161
167
|
},
|
|
162
168
|
"getter": false,
|
|
163
169
|
"setter": false,
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Grupo de `co-button` unidos en una fila o columna, con variante y talla
|
|
4
|
+
* compartidas. Wrapper Vue: `CoButtonGroup` de `@prolibu-suite/cobalt-vue`.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Los `co-button` del grupo.
|
|
7
|
+
*/
|
|
2
8
|
export class CoButtonGroup {
|
|
3
9
|
constructor() {
|
|
4
10
|
/** Visual variant applied to the group container */
|
|
@@ -7,15 +13,16 @@ export class CoButtonGroup {
|
|
|
7
13
|
this.size = 'm';
|
|
8
14
|
/** Orientation */
|
|
9
15
|
this.direction = 'row';
|
|
16
|
+
/** Deshabilita el grupo entero (atenuado y sin clicks). */
|
|
10
17
|
this.disabled = false;
|
|
11
18
|
}
|
|
12
19
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '2240bc00c44e532340b3ae288cc9df099b9e1846', class: {
|
|
14
21
|
'co-button-group': true,
|
|
15
22
|
[`co-button-group--${this.direction}`]: true,
|
|
16
23
|
[`co-button-group--${this.variant}`]: true,
|
|
17
24
|
'co-button-group--disabled': this.disabled,
|
|
18
|
-
}, role: "group" }, h("slot", { key: '
|
|
25
|
+
}, role: "group" }, h("slot", { key: '0a719f1a5f21883f5923cd9f20a818f467339846' })));
|
|
19
26
|
}
|
|
20
27
|
static get is() { return "co-button-group"; }
|
|
21
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -103,7 +110,7 @@ export class CoButtonGroup {
|
|
|
103
110
|
"optional": false,
|
|
104
111
|
"docs": {
|
|
105
112
|
"tags": [],
|
|
106
|
-
"text": ""
|
|
113
|
+
"text": "Deshabilita el grupo entero (atenuado y sin clicks)."
|
|
107
114
|
},
|
|
108
115
|
"getter": false,
|
|
109
116
|
"setter": false,
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --co-calendar-day-size: Lado de cada celda de día (default 36px; 44px en táctil).
|
|
3
|
+
* @prop --co-calendar-width: Ancho del calendario (default: el de sus 7 celdas).
|
|
4
|
+
* @prop --co-calendar-col: Ancho de cada columna de la grilla (default: la celda).
|
|
5
|
+
* @prop --co-calendar-day-width: Ancho del botón de día (default: la celda).
|
|
6
|
+
* @prop --co-calendar-marked-bg: Fondo de los días de `markedDates` (default rosado de marca).
|
|
7
|
+
* @prop --co-calendar-marked-fg: Color del número en los días marcados (default blanco).
|
|
8
|
+
*/
|
|
1
9
|
:host {
|
|
2
10
|
display: inline-block;
|
|
3
11
|
font-family: var(--co-font-family-primary);
|
|
@@ -14,6 +14,8 @@ import { dayAriaLabel, normalizeMarkedDates, normalizeStringArray, parseViewMont
|
|
|
14
14
|
* chosen date. Today and selected are deliberately different visual states.
|
|
15
15
|
*
|
|
16
16
|
* @part root - The calendar container
|
|
17
|
+
* Wrapper Vue: `CoCalendar` de `@prolibu-suite/cobalt-vue`.
|
|
18
|
+
*
|
|
17
19
|
* @part header - Month navigation header
|
|
18
20
|
* @part grid - The day grid
|
|
19
21
|
*/
|
|
@@ -386,7 +388,7 @@ export class CoCalendar {
|
|
|
386
388
|
render() {
|
|
387
389
|
var _a, _b;
|
|
388
390
|
const t = getDateStrings(this.locale);
|
|
389
|
-
return (h("div", { key: '
|
|
391
|
+
return (h("div", { key: '5ecdc23692eb69b8dc86b225857f51a3acf54838', class: "co-calendar", part: "root" }, h("div", { key: 'b66924b6b59f91d284210c6a0ed24294f211a5b7', class: "co-calendar__header", part: "header" }, h("button", { key: 'a4d52f3c02081b03f872a95955986c6351f9ca44', 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: '6eaf089247fc85477a1bd9095af2c1c557d01bb3', name: "caret-left", size: 16 })), h("button", { key: '473815fa6114c82f601bea27e919b5c4546648f2', type: "button", class: "co-calendar__title", "aria-live": "polite", onClick: this.toggleView }, this.headerTitle(), h("co-icon", { key: '923647a98317c5e42ec7655ac21eed3e645224b6', name: "caret-down", size: 12, class: "co-calendar__title-caret" })), h("button", { key: '1ccbdf76cc5574021894f8f1c6bd381b9b524cfa', 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: '4b06c0827034a9f6924f1e80a51fdef924a0f8d1', name: "caret-right", size: 16 }))), this.view === 'days' && this.renderDays(t), this.view === 'months' && this.renderMonths(), this.view === 'years' && this.renderYears()));
|
|
390
392
|
}
|
|
391
393
|
static get is() { return "co-calendar"; }
|
|
392
394
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,26 +14,43 @@ const DRAG_THRESHOLD_PX = 5;
|
|
|
14
14
|
* `dates` = 7 day-keys (week) or 1 (day). Presentation + interaction only; the
|
|
15
15
|
* host owns data (CONTROLLED). All instant math is delegated to the engine — the
|
|
16
16
|
* only timezone boundary is the `timeZone` prop (wall-clock render).
|
|
17
|
+
*
|
|
18
|
+
* Es la vista Semana/Día que compone `co-event-calendar`; se usa directo solo
|
|
19
|
+
* para una grilla horaria propia. Sus eventos NO burbujean ni cruzan el shadow
|
|
20
|
+
* DOM: se escuchan sobre el propio elemento. Wrapper Vue: `CoCalendarTimegrid`
|
|
21
|
+
* de `@prolibu-suite/cobalt-vue`.
|
|
17
22
|
*/
|
|
18
23
|
export class CoCalendarTimegrid {
|
|
19
24
|
constructor() {
|
|
25
|
+
/** Eventos ya normalizados por el motor (`@prolibu-suite/cobalt-calendar-utils`); propiedad JS. */
|
|
20
26
|
this.events = [];
|
|
21
27
|
/** Visible day keys "YYYY-MM-DD" (7 = week, 1 = day). */
|
|
22
28
|
this.dates = [];
|
|
29
|
+
/** Locale BCP-47 de las cabeceras de día y las etiquetas de hora. */
|
|
23
30
|
this.locale = 'es-CO';
|
|
31
|
+
/** Permite mover y redimensionar eventos arrastrando (salvo los que traen `editable: false`); emite `coEventDrop`. */
|
|
24
32
|
this.editable = true;
|
|
33
|
+
/** Permite seleccionar un rango en un área vacía para crear; emite `coRangeSelect`. */
|
|
25
34
|
this.selectable = true;
|
|
35
|
+
/** Minutos por fila de la grilla (default 15); también el paso del teclado. */
|
|
26
36
|
this.slotMinutes = 15;
|
|
37
|
+
/** Minutos a los que se ajustan arrastres y selecciones (default 15). */
|
|
27
38
|
this.snapMinutes = 15;
|
|
39
|
+
/** Duración en minutos del rango creado con un click simple (default 60). */
|
|
28
40
|
this.defaultDurationMinutes = 60;
|
|
41
|
+
/** Hora `HH:mm` a la que scrollea la grilla al montar (default 07:00). */
|
|
29
42
|
this.scrollTime = '07:00';
|
|
43
|
+
/** Línea de «ahora» en la columna del día actual. */
|
|
30
44
|
this.nowIndicator = true;
|
|
31
45
|
/** Cargando: en vez de los eventos pinta bloques skeleton en las columnas.
|
|
32
46
|
* La grilla (eje de horas, líneas, cabecera de días, franja de todo-el-día)
|
|
33
47
|
* se mantiene: lo único que todavía no se sabe son los eventos. */
|
|
34
48
|
this.loading = false;
|
|
49
|
+
/** Franja superior de eventos de todo el día. */
|
|
35
50
|
this.allDaySlot = true;
|
|
51
|
+
/** Primera hora visible `HH:mm` (default 00:00). */
|
|
36
52
|
this.minTime = '00:00';
|
|
53
|
+
/** Última hora visible `HH:mm` (default 24:00). */
|
|
37
54
|
this.maxTime = '24:00';
|
|
38
55
|
/** Minute of "now" for the indicator; refreshed on a 60s timer. */
|
|
39
56
|
this.nowMinutes = 0;
|
|
@@ -704,11 +721,11 @@ export class CoCalendarTimegrid {
|
|
|
704
721
|
'--co-cal-hour-h': `calc(${60 / this.slotM} * var(--co-cal-slot-h))`,
|
|
705
722
|
'--co-cal-hour-offset': `calc(${((60 - (this.minM % 60)) % 60) / this.slotM} * var(--co-cal-slot-h))`,
|
|
706
723
|
};
|
|
707
|
-
return (h("div", { key: '
|
|
724
|
+
return (h("div", { key: '55c583abdd12ac65d8188a8f9d4f0448e4fcf5b7', class: "tg", tabIndex: 0, onKeyDown: this.handleKeyDown, ref: (el) => (this.rootEl = el) }, h("div", { key: '33fa43418fdff096918441e6a2fdbf1d647980ec', class: "tg__head" }, h("div", { key: '2c4134daefc3cb99aa4965787c11318be9f27d40', class: "tg__head-spacer" }), h("div", { key: '0b6c10bbfb8b91723d62f05f1387d8c0513d7b09', class: "tg__head-days", style: { gridTemplateColumns: colsTemplate } }, dates.map((d) => {
|
|
708
725
|
const ymd = parseISO(d);
|
|
709
726
|
const dow = utcDayOfWeek(d);
|
|
710
727
|
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: '
|
|
728
|
+
}))), this.allDaySlot && (h("div", { key: 'ac00b1d478138334f6b265e7e7861dc910ea778e', class: "tg__allday" }, h("div", { key: '52ea789daff3b284863e90fe2356b3f1f5ed8e75', class: "tg__allday-axis" }, gmtLabel(this.timeZone, dates[0])), h("div", { key: '24e0a67773437bad42a3fb183cf55f53f2e04d0f', 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: '19ee69ba01bcd63d015acebba5001390324b1c93', class: "tg__scroll", ref: (el) => (this.scrollEl = el) }, h("div", { key: '644e0cae08a22795bfdaa802227c176e733dd418', class: "tg__body" }, h("div", { key: '56a20d546083e0a0695c01a0910c80fdcaf56589', 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: '391004de33499561a0fdc75e3eabf401fb4e5561', class: "tg__cols", style: Object.assign({ gridTemplateColumns: colsTemplate, height: bodyHeight }, hourVars) }, dates.map((d, i) => {
|
|
712
729
|
var _a;
|
|
713
730
|
const isToday = compareYMD(d, today) === 0;
|
|
714
731
|
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
|
|
@@ -752,7 +769,7 @@ export class CoCalendarTimegrid {
|
|
|
752
769
|
"optional": false,
|
|
753
770
|
"docs": {
|
|
754
771
|
"tags": [],
|
|
755
|
-
"text": ""
|
|
772
|
+
"text": "Eventos ya normalizados por el motor (`@prolibu-suite/cobalt-calendar-utils`); propiedad JS."
|
|
756
773
|
},
|
|
757
774
|
"getter": false,
|
|
758
775
|
"setter": false,
|
|
@@ -788,7 +805,7 @@ export class CoCalendarTimegrid {
|
|
|
788
805
|
"optional": false,
|
|
789
806
|
"docs": {
|
|
790
807
|
"tags": [],
|
|
791
|
-
"text": ""
|
|
808
|
+
"text": "Locale BCP-47 de las cabeceras de d\u00EDa y las etiquetas de hora."
|
|
792
809
|
},
|
|
793
810
|
"getter": false,
|
|
794
811
|
"setter": false,
|
|
@@ -808,7 +825,7 @@ export class CoCalendarTimegrid {
|
|
|
808
825
|
"optional": false,
|
|
809
826
|
"docs": {
|
|
810
827
|
"tags": [],
|
|
811
|
-
"text": ""
|
|
828
|
+
"text": "Zona IANA en la que se pinta el reloj (\u00FAnica frontera de zona horaria del componente)."
|
|
812
829
|
},
|
|
813
830
|
"getter": false,
|
|
814
831
|
"setter": false,
|
|
@@ -827,7 +844,7 @@ export class CoCalendarTimegrid {
|
|
|
827
844
|
"optional": false,
|
|
828
845
|
"docs": {
|
|
829
846
|
"tags": [],
|
|
830
|
-
"text": ""
|
|
847
|
+
"text": "Permite mover y redimensionar eventos arrastrando (salvo los que traen `editable: false`); emite `coEventDrop`."
|
|
831
848
|
},
|
|
832
849
|
"getter": false,
|
|
833
850
|
"setter": false,
|
|
@@ -847,7 +864,7 @@ export class CoCalendarTimegrid {
|
|
|
847
864
|
"optional": false,
|
|
848
865
|
"docs": {
|
|
849
866
|
"tags": [],
|
|
850
|
-
"text": ""
|
|
867
|
+
"text": "Permite seleccionar un rango en un \u00E1rea vac\u00EDa para crear; emite `coRangeSelect`."
|
|
851
868
|
},
|
|
852
869
|
"getter": false,
|
|
853
870
|
"setter": false,
|
|
@@ -867,7 +884,7 @@ export class CoCalendarTimegrid {
|
|
|
867
884
|
"optional": true,
|
|
868
885
|
"docs": {
|
|
869
886
|
"tags": [],
|
|
870
|
-
"text": ""
|
|
887
|
+
"text": "Primer d\u00EDa interactuable `YYYY-MM-DD`: antes no se puede seleccionar ni soltar."
|
|
871
888
|
},
|
|
872
889
|
"getter": false,
|
|
873
890
|
"setter": false,
|
|
@@ -886,7 +903,7 @@ export class CoCalendarTimegrid {
|
|
|
886
903
|
"optional": true,
|
|
887
904
|
"docs": {
|
|
888
905
|
"tags": [],
|
|
889
|
-
"text": ""
|
|
906
|
+
"text": "\u00DAltimo d\u00EDa interactuable `YYYY-MM-DD`."
|
|
890
907
|
},
|
|
891
908
|
"getter": false,
|
|
892
909
|
"setter": false,
|
|
@@ -905,7 +922,7 @@ export class CoCalendarTimegrid {
|
|
|
905
922
|
"optional": false,
|
|
906
923
|
"docs": {
|
|
907
924
|
"tags": [],
|
|
908
|
-
"text": ""
|
|
925
|
+
"text": "Minutos por fila de la grilla (default 15); tambi\u00E9n el paso del teclado."
|
|
909
926
|
},
|
|
910
927
|
"getter": false,
|
|
911
928
|
"setter": false,
|
|
@@ -925,7 +942,7 @@ export class CoCalendarTimegrid {
|
|
|
925
942
|
"optional": false,
|
|
926
943
|
"docs": {
|
|
927
944
|
"tags": [],
|
|
928
|
-
"text": ""
|
|
945
|
+
"text": "Minutos a los que se ajustan arrastres y selecciones (default 15)."
|
|
929
946
|
},
|
|
930
947
|
"getter": false,
|
|
931
948
|
"setter": false,
|
|
@@ -945,7 +962,7 @@ export class CoCalendarTimegrid {
|
|
|
945
962
|
"optional": false,
|
|
946
963
|
"docs": {
|
|
947
964
|
"tags": [],
|
|
948
|
-
"text": ""
|
|
965
|
+
"text": "Duraci\u00F3n en minutos del rango creado con un click simple (default 60)."
|
|
949
966
|
},
|
|
950
967
|
"getter": false,
|
|
951
968
|
"setter": false,
|
|
@@ -965,7 +982,7 @@ export class CoCalendarTimegrid {
|
|
|
965
982
|
"optional": false,
|
|
966
983
|
"docs": {
|
|
967
984
|
"tags": [],
|
|
968
|
-
"text": ""
|
|
985
|
+
"text": "Hora `HH:mm` a la que scrollea la grilla al montar (default 07:00)."
|
|
969
986
|
},
|
|
970
987
|
"getter": false,
|
|
971
988
|
"setter": false,
|
|
@@ -985,7 +1002,7 @@ export class CoCalendarTimegrid {
|
|
|
985
1002
|
"optional": false,
|
|
986
1003
|
"docs": {
|
|
987
1004
|
"tags": [],
|
|
988
|
-
"text": ""
|
|
1005
|
+
"text": "L\u00EDnea de \u00ABahora\u00BB en la columna del d\u00EDa actual."
|
|
989
1006
|
},
|
|
990
1007
|
"getter": false,
|
|
991
1008
|
"setter": false,
|
|
@@ -1025,7 +1042,7 @@ export class CoCalendarTimegrid {
|
|
|
1025
1042
|
"optional": false,
|
|
1026
1043
|
"docs": {
|
|
1027
1044
|
"tags": [],
|
|
1028
|
-
"text": ""
|
|
1045
|
+
"text": "Franja superior de eventos de todo el d\u00EDa."
|
|
1029
1046
|
},
|
|
1030
1047
|
"getter": false,
|
|
1031
1048
|
"setter": false,
|
|
@@ -1045,7 +1062,7 @@ export class CoCalendarTimegrid {
|
|
|
1045
1062
|
"optional": false,
|
|
1046
1063
|
"docs": {
|
|
1047
1064
|
"tags": [],
|
|
1048
|
-
"text": ""
|
|
1065
|
+
"text": "Primera hora visible `HH:mm` (default 00:00)."
|
|
1049
1066
|
},
|
|
1050
1067
|
"getter": false,
|
|
1051
1068
|
"setter": false,
|
|
@@ -1065,7 +1082,7 @@ export class CoCalendarTimegrid {
|
|
|
1065
1082
|
"optional": false,
|
|
1066
1083
|
"docs": {
|
|
1067
1084
|
"tags": [],
|
|
1068
|
-
"text": ""
|
|
1085
|
+
"text": "\u00DAltima hora visible `HH:mm` (default 24:00)."
|
|
1069
1086
|
},
|
|
1070
1087
|
"getter": false,
|
|
1071
1088
|
"setter": false,
|
|
@@ -1111,7 +1128,7 @@ export class CoCalendarTimegrid {
|
|
|
1111
1128
|
"composed": false,
|
|
1112
1129
|
"docs": {
|
|
1113
1130
|
"tags": [],
|
|
1114
|
-
"text": ""
|
|
1131
|
+
"text": "Click en un evento: `{ id, rect }` (rect del chip, para anclar un popover). No burbujea."
|
|
1115
1132
|
},
|
|
1116
1133
|
"complexType": {
|
|
1117
1134
|
"original": "{ id: string; rect?: DOMRect }",
|
|
@@ -1131,7 +1148,7 @@ export class CoCalendarTimegrid {
|
|
|
1131
1148
|
"composed": false,
|
|
1132
1149
|
"docs": {
|
|
1133
1150
|
"tags": [],
|
|
1134
|
-
"text": ""
|
|
1151
|
+
"text": "Se movi\u00F3 o redimension\u00F3 un evento: `{ id, start, end, oldStart, oldEnd, allDay }` (instantes ISO UTC).\nControlado: el host decide si aplica el cambio actualizando `events`. No burbujea."
|
|
1135
1152
|
},
|
|
1136
1153
|
"complexType": {
|
|
1137
1154
|
"original": "{\n id: string; start: string; end: string; oldStart: string; oldEnd: string; allDay: boolean;\n }",
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
|
+
* Contenedor tipo tarjeta con header, cuerpo y footer, en variantes elevada,
|
|
4
|
+
* con borde o plana; opcionalmente clickeable. Wrapper Vue: `CoCard` de
|
|
5
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*
|
|
7
|
+
* @part card - La tarjeta.
|
|
8
|
+
* @part header - Área del slot `header`.
|
|
9
|
+
* @part body - Cuerpo (slot por defecto).
|
|
10
|
+
* @part footer - Área del slot `footer`.
|
|
11
|
+
*
|
|
3
12
|
* @slot header - Card header area (image, title, actions)
|
|
4
13
|
* @slot - Default slot for card body/content
|
|
5
14
|
* @slot footer - Card footer area (meta, actions)
|
|
@@ -29,13 +38,13 @@ export class CoCard {
|
|
|
29
38
|
return nodes.length > 0;
|
|
30
39
|
}
|
|
31
40
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '662e725ff539d1696eeaa99a42f8160df8ba13ae', class: {
|
|
33
42
|
'co-card': true,
|
|
34
43
|
[`co-card--${this.variant}`]: true,
|
|
35
44
|
[`co-card--pad-${this.padding}`]: true,
|
|
36
45
|
'co-card--clickable': this.clickable,
|
|
37
46
|
'co-card--stretch': this.stretch,
|
|
38
|
-
}, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: '
|
|
47
|
+
}, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: '63b8d7696663831f6151d66ea17855ce85421045', class: { 'co-card__header': true, 'co-card__header--empty': !this.hasHeader }, part: "header" }, h("slot", { key: 'b4318780fa0d1fb8c9475056d59b9dd3bf055594', name: "header", onSlotchange: this.handleHeaderSlotChange })), h("div", { key: '20d5231348b8031688380b08a8222f4bd3f68575', class: "co-card__body", part: "body" }, h("slot", { key: '2946cc5d8d80cbc23f98e710b97cb77d542a019e' })), h("div", { key: '90dd12b60204cbd2e1ddb6752c8e6a413db7f860', class: { 'co-card__footer': true, 'co-card__footer--empty': !this.hasFooter }, part: "footer" }, h("slot", { key: 'de9d77a21962ed35d2862059d13910b1067d1573', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
|
|
39
48
|
}
|
|
40
49
|
static get is() { return "co-card"; }
|
|
41
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
co-carousel
|
|
3
3
|
═══════════════════════════════════════════════════ */
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Tienen su default en `:host`; se sobrescriben desde afuera sobre el elemento.
|
|
7
|
+
* @prop --co-carousel-arrow-size: Diámetro de las flechas (default 36px).
|
|
8
|
+
* @prop --co-carousel-arrow-bg: Fondo de las flechas.
|
|
9
|
+
* @prop --co-carousel-arrow-color: Color del ícono de las flechas.
|
|
10
|
+
* @prop --co-carousel-dot-size: Tamaño de los indicadores (default 6px).
|
|
11
|
+
* @prop --co-carousel-dot-color: Color de los indicadores inactivos.
|
|
12
|
+
* @prop --co-carousel-dot-active-color: Color del indicador activo.
|
|
13
|
+
* @prop --co-carousel-transition: Duración y curva del desplazamiento entre slides (default 320ms).
|
|
14
|
+
*/
|
|
5
15
|
:host {
|
|
6
16
|
display: block;
|
|
7
17
|
font-family: var(--co-font-family-primary);
|