@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
|
@@ -4,6 +4,9 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
* @slot prefix - Leading content (icon, checkbox)
|
|
5
5
|
* @slot - Main content
|
|
6
6
|
* @slot suffix - Trailing content (switch, badge, action)
|
|
7
|
+
*
|
|
8
|
+
* Wrapper Vue: `CoRow` de `@prolibu-suite/cobalt-vue`.
|
|
9
|
+
* @part row - La fila.
|
|
7
10
|
*/
|
|
8
11
|
export class CoRow {
|
|
9
12
|
constructor() {
|
|
@@ -13,11 +16,11 @@ export class CoRow {
|
|
|
13
16
|
this.size = 'sm';
|
|
14
17
|
}
|
|
15
18
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '077025b2a73f8440400c27923f1d3a7e38cfb346', class: {
|
|
17
20
|
'co-row': true,
|
|
18
21
|
[`co-row--${this.position}`]: true,
|
|
19
22
|
[`co-row--${this.size}`]: true,
|
|
20
|
-
}, part: "row" }, h("div", { key: '
|
|
23
|
+
}, part: "row" }, h("div", { key: '2ffc2d8e5c0ab4779a5599736c877097039fd47f', class: "co-row__prefix" }, h("slot", { key: 'b6cb185d5f1bb577f78d19b9f78fce1be52c5252', name: "prefix" })), h("div", { key: 'f2a34f5554a832d6ae5030bb1138488928025d43', class: "co-row__content" }, h("slot", { key: 'a8ad430becc2e285e4fec43b16a6e29ba9088f8a' })), h("div", { key: '7fef31caadd3fb43571286a2ee13cf42ebbf8d78', class: "co-row__suffix" }, h("slot", { key: '63465e56defc9a0c11bc5a1eba46ac7f150d67fb', name: "suffix" }))));
|
|
21
24
|
}
|
|
22
25
|
static get is() { return "co-row"; }
|
|
23
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,6 +3,12 @@ import { h } from "@stencil/core";
|
|
|
3
3
|
* A stacked, multi-segment meter — a pill track split into N contiguous
|
|
4
4
|
* colored segments (e.g. a storage breakdown). Display-only; colors are
|
|
5
5
|
* supplied by the consumer. Provide an external legend via `slot="legend"`.
|
|
6
|
+
* Wrapper Vue: `CoSegmentedBar` de `@prolibu-suite/cobalt-vue`.
|
|
7
|
+
*
|
|
8
|
+
* @slot legend - Leyenda externa bajo la barra.
|
|
9
|
+
* @part segmented-bar - Contenedor del componente.
|
|
10
|
+
* @part track - La pista (pastilla) que contiene los segmentos.
|
|
11
|
+
* @part segment - Cada segmento de color.
|
|
6
12
|
*/
|
|
7
13
|
export class CoSegmentedBar {
|
|
8
14
|
constructor() {
|
|
@@ -43,13 +49,13 @@ export class CoSegmentedBar {
|
|
|
43
49
|
render() {
|
|
44
50
|
const segments = this.parsedSegments;
|
|
45
51
|
const total = this.total > 0 ? this.total : 100;
|
|
46
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: '17f9d7dbccca7bf7dbcd3907094712da67b74f97', class: "co-segmented-bar", part: "segmented-bar" }, h("div", { key: '18747edfd30a3bf84e071570e8280b6d783c6c46', class: {
|
|
47
53
|
'co-segmented-bar__track': true,
|
|
48
54
|
[`co-segmented-bar__track--radius-${this.radius}`]: true,
|
|
49
55
|
}, part: "track", style: { height: `${this.thickness}px`, background: this.trackColor } }, segments.map((seg, i) => (h("span", { key: i, class: "co-segmented-bar__segment", part: "segment", title: seg.label, style: {
|
|
50
56
|
width: `${(seg.value / total) * 100}%`,
|
|
51
57
|
background: seg.color,
|
|
52
|
-
} })))), h("slot", { key: '
|
|
58
|
+
} })))), h("slot", { key: 'd04d1e4ade89c3b1e8e20486aceadf994c310092', name: "legend" })));
|
|
53
59
|
}
|
|
54
60
|
static get is() { return "co-segmented-bar"; }
|
|
55
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,7 +160,7 @@ export class CoSegmentedBar {
|
|
|
154
160
|
"references": {
|
|
155
161
|
"CoSegment": {
|
|
156
162
|
"location": "local",
|
|
157
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
163
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-segmented-bar/co-segmented-bar.tsx",
|
|
158
164
|
"id": "src/components/co-segmented-bar/co-segmented-bar.tsx::CoSegment"
|
|
159
165
|
}
|
|
160
166
|
}
|
|
@@ -671,7 +671,19 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
|
|
|
671
671
|
overflow: auto;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
|
|
674
|
+
/**
|
|
675
|
+
* @prop --co-select-menu-padding: Padding del panel desplegable (acepta shorthand; default 8px).
|
|
676
|
+
* @prop --co-select-menu-gap: Separación entre filas del panel (default 0). La lista virtual la lee al abrir.
|
|
677
|
+
* @prop --co-select-option-height: Alto fijo de fila (default: sin alto fijo, mínimo 32px). La lista virtual lo lee al abrir.
|
|
678
|
+
* @prop --co-select-option-padding: Padding de la fila (default 8px 12px).
|
|
679
|
+
* @prop --co-select-option-gap: Separación entre check/ícono y texto de la fila.
|
|
680
|
+
* @prop --co-select-option-font-size: Tamaño del texto de la opción (default 14px).
|
|
681
|
+
* @prop --co-select-option-font-weight: Peso del texto de la opción (default 400).
|
|
682
|
+
* @prop --co-select-caret-size: Tamaño del ícono de apertura del trigger (default 16px).
|
|
683
|
+
* @prop --co-select-caret-color: Color del ícono de apertura del trigger.
|
|
684
|
+
*/
|
|
685
|
+
|
|
686
|
+
/* co-select — dropdown select (búsqueda opcional con `searchable`) */
|
|
675
687
|
|
|
676
688
|
:host {
|
|
677
689
|
display: block;
|
|
@@ -3,19 +3,36 @@ import { RequiredMark } from "../../utils/requiredMark";
|
|
|
3
3
|
import { OverlayScrollbars } from "overlayscrollbars";
|
|
4
4
|
import { highlightSegments, rankByMatch } from "../../utils/normalizeText";
|
|
5
5
|
import { LEGACY_ROW_METRICS, resolveRowMetrics, scrollTopToReveal, virtualSlice } from "./virtualRows";
|
|
6
|
+
/**
|
|
7
|
+
* Selector desplegable de una o varias opciones de una lista conocida, con
|
|
8
|
+
* búsqueda opcional del lado del cliente y lista virtualizada. Para opciones que
|
|
9
|
+
* vienen paginadas del servidor usá `co-ref-field`. Wrapper Vue: `CoSelect` de
|
|
10
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
11
|
+
*/
|
|
6
12
|
export class CoSelect {
|
|
7
13
|
constructor() {
|
|
8
14
|
/** Whether the field is required (renders a required marker on the label). */
|
|
9
15
|
this.required = false;
|
|
16
|
+
/** Texto del trigger sin selección. */
|
|
10
17
|
this.placeholder = 'Select…';
|
|
18
|
+
/** Deshabilita el campo. */
|
|
11
19
|
this.disabled = false;
|
|
20
|
+
/** Botón × para vaciar la selección cuando hay valor; emite `coClear` y `coChange`. */
|
|
12
21
|
this.clearable = false;
|
|
13
22
|
/** Label layout: vertical (label above) or horizontal (label beside) */
|
|
14
23
|
this.layout = 'vertical';
|
|
24
|
+
/** Estado de validación: pinta el borde y el `helperText` con el color del estado. */
|
|
15
25
|
this.status = 'default';
|
|
26
|
+
/** Opciones: array de `{ value, label, icon?, image?, disabled? }`, array de strings
|
|
27
|
+
* (value = label), o ese mismo array como JSON desde HTML. */
|
|
16
28
|
this.options = '[]';
|
|
29
|
+
/** Selección: el `value` de la opción en single; en `multiple`, array o JSON array.
|
|
30
|
+
* `''` significa «sin selección» (una opción con `value: ''` no se puede marcar).
|
|
31
|
+
* El componente lo actualiza al elegir. */
|
|
17
32
|
this.value = '';
|
|
33
|
+
/** Selección múltiple: el panel queda abierto y `value`/`coChange` llevan un array. */
|
|
18
34
|
this.multiple = false;
|
|
35
|
+
/** Alto del trigger: `xs` 24 · `s` 28 · `sm` 32 · `md` 40 (default) · `lg` 48. Un valor fuera de la lista cae al default. */
|
|
19
36
|
this.size = 'md';
|
|
20
37
|
/** Visual style. `flat` strips the trigger's border and background so it
|
|
21
38
|
* reads as plain content instead of a boxed control — padding, label,
|
|
@@ -37,7 +54,9 @@ export class CoSelect {
|
|
|
37
54
|
this.menuSurface = 'light';
|
|
38
55
|
/** Show a search box inside the dropdown to filter options client-side. */
|
|
39
56
|
this.searchable = false;
|
|
57
|
+
/** Placeholder del buscador del panel (`searchable`). */
|
|
40
58
|
this.searchPlaceholder = 'Search…';
|
|
59
|
+
/** Texto del panel cuando la búsqueda no encuentra opciones. */
|
|
41
60
|
this.emptyText = 'No results';
|
|
42
61
|
/** Footer de confirmación al pie del panel (paridad co-combobox/co-ref-field). */
|
|
43
62
|
this.showFooter = false;
|
|
@@ -528,7 +547,7 @@ export class CoSelect {
|
|
|
528
547
|
const activeOptionId = this.isOpen && this.activeIndex >= 0 && this.activeIndex < options.length
|
|
529
548
|
? this.optionId(this.activeIndex)
|
|
530
549
|
: undefined;
|
|
531
|
-
return (h("div", { key: '
|
|
550
|
+
return (h("div", { key: '12cb506f80422c39f8f5a17b81afa6c01831f237', class: {
|
|
532
551
|
'co-select': true,
|
|
533
552
|
'co-select--open': this.isOpen,
|
|
534
553
|
'co-select--disabled': this.disabled,
|
|
@@ -537,22 +556,22 @@ export class CoSelect {
|
|
|
537
556
|
'co-select--flat': this.variant === 'flat',
|
|
538
557
|
'co-select--soft': this.variant === 'soft',
|
|
539
558
|
'co-select--inline-help': this.labelStyle === 'inline-help',
|
|
540
|
-
} }, (this.label || this.secondaryLabel) && (h("div", { key: '
|
|
559
|
+
} }, (this.label || this.secondaryLabel) && (h("div", { key: 'bbb454e9d0ab08fd3abf5462711654c6eb8fe253', class: "co-select__labels" }, this.label && h("label", { key: '2dbf39a9e4fca24b95777078ecb6fea060aa2e19', class: "co-select__label" }, this.label, h(RequiredMark, { key: 'f5a62c06aa12a5556fc78d93918d673982183dfa', required: this.required })), this.secondaryLabel && h("span", { key: '2082ba20405dee16a08d35ec1ff67b59294056a0', class: "co-select__secondary-label" }, this.secondaryLabel))), h("co-popover", { key: '4f7e00909286922ff2b9d05f1ee4f42f8bc7aed9', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4,
|
|
541
560
|
// menuSurface="dark": el panel oscuro pinta su propio chrome (fondo
|
|
542
561
|
// negro, radio xs, sin borde ni sombra — Figma 4750:23242), así que
|
|
543
562
|
// el co-popover va `bare` para no sumar el borde hairline ni la
|
|
544
563
|
// sombra del panel claro (y cualquier --co-popover-shadow heredada
|
|
545
564
|
// del contexto). En "light" (default) no cambia nada.
|
|
546
|
-
bare: this.menuSurface === 'dark', onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '
|
|
565
|
+
bare: this.menuSurface === 'dark', onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '8537fcefbd02707af785ad623bcb1f19b276d3c4', slot: "trigger", class: "co-select__trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-label": this.label || this.ariaLabelText || undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-controls": CoSelect.LISTBOX_ID, "aria-activedescendant": activeOptionId, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, this.iconLeft && (h("co-icon", { key: '6714adb30bb2c24824cf80048b579a05825652b9', name: this.iconLeft, size: (_a = this.iconSize) !== null && _a !== void 0 ? _a : 16, class: "co-select__icon" })), ((_b = this.selectedOption) === null || _b === void 0 ? void 0 : _b.image) && (h("img", { key: '8c0c6cca536a5edba4e3caa50ecd196f9e70117c', class: "co-select__flag", src: this.selectedOption.image, alt: "" })), this.multiple && this.hasValue ? (h("div", { class: "co-select__chips" }, this.selectedValues.map((v) => {
|
|
547
566
|
const opt = this.parsedOptions.find((o) => o.value === v);
|
|
548
567
|
return (h("span", { class: "co-select__chip", key: v }, h("span", { class: "co-select__chip-label" }, opt ? opt.label : v), h("button", { class: "co-select__chip-remove", type: "button", tabIndex: -1, "aria-label": "Remove", onClick: (e) => {
|
|
549
568
|
e.stopPropagation();
|
|
550
569
|
this.handleOptionClick(v);
|
|
551
570
|
} }, h("co-icon", { name: "x", size: 12 }))));
|
|
552
|
-
}))) : (h("span", { class: { 'co-select__text': true, 'co-select__text--placeholder': !this.hasValue } }, this.hasValue ? this.displayText : this.placeholder)), this.clearable && this.hasValue && !this.disabled && (h("button", { key: '
|
|
571
|
+
}))) : (h("span", { class: { 'co-select__text': true, 'co-select__text--placeholder': !this.hasValue } }, this.hasValue ? this.displayText : this.placeholder)), this.clearable && this.hasValue && !this.disabled && (h("button", { key: '65f1295511998e7ec9685ee45433e01c14ae65df', class: "co-select__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '23416924a88739bf6326095298bfaaeabbe980e1', name: "x-circle", size: 16, weight: "fill" }))), h("co-icon", { key: 'd4c3c23b8ceb6ef0b918348e8b0f724051380681', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-select__caret" })), h("div", { key: 'd591730000ed4e58f6c2474b58949ae15cf65593', class: {
|
|
553
572
|
'co-select__dropdown': true,
|
|
554
573
|
'co-select__dropdown--dark': this.menuSurface === 'dark',
|
|
555
|
-
} }, this.isOpen && this.searchable && (h("div", { key: '
|
|
574
|
+
} }, this.isOpen && this.searchable && (h("div", { key: 'd663fdb315d997ed2325a5c385bbd5728bebdaa1', class: "co-select__search" }, h("co-icon", { key: '13d5e0bd54b6dfa6d926f7e9ec2057f814720e16', name: "magnifying-glass", size: 16, class: "co-select__search-icon" }), h("input", { key: 'e7edfe009febe2c681c47fa92105b62c868b53d5', class: "co-select__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.searchText, "aria-controls": CoSelect.LISTBOX_ID, "aria-activedescendant": activeOptionId, onInput: this.handleSearchInput, onKeyDown: this.handleNavKeyDown, ref: (el) => (this.searchInputEl = el) }))), this.isOpen && this.searchable && options.length === 0 && (h("div", { key: 'bd0befdaba2cbead771171b609e2021c714ea247', class: "co-select__empty" }, this.emptyText)), h("div", { key: '0e395475bba6b693419986ff2cf582192a15a2e6', class: "co-select__options", id: CoSelect.LISTBOX_ID, role: "listbox", "aria-multiselectable": this.multiple ? 'true' : undefined, ref: (el) => (this.optionsContainerEl = el) }, this.isOpen && (() => {
|
|
556
575
|
const { totalHeight, startIdx, endIdx, offsetY } = this.getVirtualSlice(options);
|
|
557
576
|
return (
|
|
558
577
|
// Los wrappers del virtualizador van `presentation` para que las
|
|
@@ -568,7 +587,7 @@ export class CoSelect {
|
|
|
568
587
|
'co-select__option--active': index === this.activeIndex,
|
|
569
588
|
}, onClick: () => !isDisabled && this.handleOptionClick(opt.value), onPointerMove: (e) => this.handleOptionPointerMove(e, index) }, this.menuSurface === 'dark' && (h("span", { class: "co-select__option-check-slot" }, isSelected && (h("co-icon", { name: "check", size: 12, class: "co-select__option-check co-select__option-check--leading" })))), opt.image ? (h("img", { class: "co-select__option-flag", src: opt.image, alt: "", loading: "lazy" })) : opt.icon ? (h("co-icon", { name: opt.icon, size: 20, class: "co-select__option-icon" })) : null, h("span", { class: "co-select__option-label" }, this.renderLabel(opt.label)), isSelected && this.menuSurface !== 'dark' && (h("co-icon", { name: "check", size: 16, class: "co-select__option-check" }))));
|
|
570
589
|
}))));
|
|
571
|
-
})()), this.isOpen && this.showFooter && (h("co-list-footer", { key: '
|
|
590
|
+
})()), this.isOpen && this.showFooter && (h("co-list-footer", { key: 'b5991f9a23e145990ba8d1a01f67c1744165aa36', class: "co-select__footer", primaryLabel: this.footerPrimaryLabel, primaryIcon: "check", onCoPrimary: this.handleFooterPrimary })))), this.helperText && (h("div", { key: '04d08f975108f5f86dcbf4078271cbb16c47f4c6', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '26ab3e89c81d4c64aef536f561921d5c3f08ea62', name: this.statusIcon, size: 14, class: "co-select__helper-icon" }), h("span", { key: '0743ba35903d666a3ab4598e4639e8c0f94a190b', class: "co-select__helper-text" }, this.helperText)))));
|
|
572
591
|
}
|
|
573
592
|
static get is() { return "co-select"; }
|
|
574
593
|
static get encapsulation() { return "shadow"; }
|
|
@@ -596,7 +615,7 @@ export class CoSelect {
|
|
|
596
615
|
"optional": true,
|
|
597
616
|
"docs": {
|
|
598
617
|
"tags": [],
|
|
599
|
-
"text": ""
|
|
618
|
+
"text": "Etiqueta del campo (tambi\u00E9n es su nombre accesible)."
|
|
600
619
|
},
|
|
601
620
|
"getter": false,
|
|
602
621
|
"setter": false,
|
|
@@ -654,7 +673,7 @@ export class CoSelect {
|
|
|
654
673
|
"optional": true,
|
|
655
674
|
"docs": {
|
|
656
675
|
"tags": [],
|
|
657
|
-
"text": ""
|
|
676
|
+
"text": "Texto secundario junto a la etiqueta (p. ej. \u00ABOpcional\u00BB); con `labelStyle=\"inline-help\"` va a la derecha."
|
|
658
677
|
},
|
|
659
678
|
"getter": false,
|
|
660
679
|
"setter": false,
|
|
@@ -673,7 +692,7 @@ export class CoSelect {
|
|
|
673
692
|
"optional": false,
|
|
674
693
|
"docs": {
|
|
675
694
|
"tags": [],
|
|
676
|
-
"text": ""
|
|
695
|
+
"text": "Texto del trigger sin selecci\u00F3n."
|
|
677
696
|
},
|
|
678
697
|
"getter": false,
|
|
679
698
|
"setter": false,
|
|
@@ -693,7 +712,7 @@ export class CoSelect {
|
|
|
693
712
|
"optional": false,
|
|
694
713
|
"docs": {
|
|
695
714
|
"tags": [],
|
|
696
|
-
"text": ""
|
|
715
|
+
"text": "Deshabilita el campo."
|
|
697
716
|
},
|
|
698
717
|
"getter": false,
|
|
699
718
|
"setter": false,
|
|
@@ -713,7 +732,7 @@ export class CoSelect {
|
|
|
713
732
|
"optional": true,
|
|
714
733
|
"docs": {
|
|
715
734
|
"tags": [],
|
|
716
|
-
"text": ""
|
|
735
|
+
"text": "\u00CDcono Phosphor al inicio del trigger."
|
|
717
736
|
},
|
|
718
737
|
"getter": false,
|
|
719
738
|
"setter": false,
|
|
@@ -751,7 +770,7 @@ export class CoSelect {
|
|
|
751
770
|
"optional": false,
|
|
752
771
|
"docs": {
|
|
753
772
|
"tags": [],
|
|
754
|
-
"text": ""
|
|
773
|
+
"text": "Bot\u00F3n \u00D7 para vaciar la selecci\u00F3n cuando hay valor; emite `coClear` y `coChange`."
|
|
755
774
|
},
|
|
756
775
|
"getter": false,
|
|
757
776
|
"setter": false,
|
|
@@ -771,7 +790,7 @@ export class CoSelect {
|
|
|
771
790
|
"optional": true,
|
|
772
791
|
"docs": {
|
|
773
792
|
"tags": [],
|
|
774
|
-
"text": ""
|
|
793
|
+
"text": "Texto de ayuda o de error bajo el campo."
|
|
775
794
|
},
|
|
776
795
|
"getter": false,
|
|
777
796
|
"setter": false,
|
|
@@ -810,7 +829,7 @@ export class CoSelect {
|
|
|
810
829
|
"optional": false,
|
|
811
830
|
"docs": {
|
|
812
831
|
"tags": [],
|
|
813
|
-
"text": ""
|
|
832
|
+
"text": "Estado de validaci\u00F3n: pinta el borde y el `helperText` con el color del estado."
|
|
814
833
|
},
|
|
815
834
|
"getter": false,
|
|
816
835
|
"setter": false,
|
|
@@ -827,7 +846,7 @@ export class CoSelect {
|
|
|
827
846
|
"references": {
|
|
828
847
|
"SelectOption": {
|
|
829
848
|
"location": "local",
|
|
830
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
849
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-select/co-select.tsx",
|
|
831
850
|
"id": "src/components/co-select/co-select.tsx::SelectOption"
|
|
832
851
|
}
|
|
833
852
|
}
|
|
@@ -836,7 +855,7 @@ export class CoSelect {
|
|
|
836
855
|
"optional": false,
|
|
837
856
|
"docs": {
|
|
838
857
|
"tags": [],
|
|
839
|
-
"text": ""
|
|
858
|
+
"text": "Opciones: array de `{ value, label, icon?, image?, disabled? }`, array de strings\n(value = label), o ese mismo array como JSON desde HTML."
|
|
840
859
|
},
|
|
841
860
|
"getter": false,
|
|
842
861
|
"setter": false,
|
|
@@ -856,7 +875,7 @@ export class CoSelect {
|
|
|
856
875
|
"optional": false,
|
|
857
876
|
"docs": {
|
|
858
877
|
"tags": [],
|
|
859
|
-
"text": ""
|
|
878
|
+
"text": "Selecci\u00F3n: el `value` de la opci\u00F3n en single; en `multiple`, array o JSON array.\n`''` significa \u00ABsin selecci\u00F3n\u00BB (una opci\u00F3n con `value: ''` no se puede marcar).\nEl componente lo actualiza al elegir."
|
|
860
879
|
},
|
|
861
880
|
"getter": false,
|
|
862
881
|
"setter": false,
|
|
@@ -876,7 +895,7 @@ export class CoSelect {
|
|
|
876
895
|
"optional": false,
|
|
877
896
|
"docs": {
|
|
878
897
|
"tags": [],
|
|
879
|
-
"text": ""
|
|
898
|
+
"text": "Selecci\u00F3n m\u00FAltiple: el panel queda abierto y `value`/`coChange` llevan un array."
|
|
880
899
|
},
|
|
881
900
|
"getter": false,
|
|
882
901
|
"setter": false,
|
|
@@ -896,7 +915,7 @@ export class CoSelect {
|
|
|
896
915
|
"optional": false,
|
|
897
916
|
"docs": {
|
|
898
917
|
"tags": [],
|
|
899
|
-
"text": ""
|
|
918
|
+
"text": "Alto del trigger: `xs` 24 \u00B7 `s` 28 \u00B7 `sm` 32 \u00B7 `md` 40 (default) \u00B7 `lg` 48. Un valor fuera de la lista cae al default."
|
|
900
919
|
},
|
|
901
920
|
"getter": false,
|
|
902
921
|
"setter": false,
|
|
@@ -996,7 +1015,7 @@ export class CoSelect {
|
|
|
996
1015
|
"optional": false,
|
|
997
1016
|
"docs": {
|
|
998
1017
|
"tags": [],
|
|
999
|
-
"text": ""
|
|
1018
|
+
"text": "Placeholder del buscador del panel (`searchable`)."
|
|
1000
1019
|
},
|
|
1001
1020
|
"getter": false,
|
|
1002
1021
|
"setter": false,
|
|
@@ -1016,7 +1035,7 @@ export class CoSelect {
|
|
|
1016
1035
|
"optional": false,
|
|
1017
1036
|
"docs": {
|
|
1018
1037
|
"tags": [],
|
|
1019
|
-
"text": ""
|
|
1038
|
+
"text": "Texto del panel cuando la b\u00FAsqueda no encuentra opciones."
|
|
1020
1039
|
},
|
|
1021
1040
|
"getter": false,
|
|
1022
1041
|
"setter": false,
|
|
@@ -1084,7 +1103,7 @@ export class CoSelect {
|
|
|
1084
1103
|
"composed": true,
|
|
1085
1104
|
"docs": {
|
|
1086
1105
|
"tags": [],
|
|
1087
|
-
"text": ""
|
|
1106
|
+
"text": "Cambi\u00F3 la selecci\u00F3n (`value` ya est\u00E1 actualizado): `detail` = value elegido, o el\narray completo en `multiple`. Al vaciar con la \u00D7: `''` (o `[]`)."
|
|
1088
1107
|
},
|
|
1089
1108
|
"complexType": {
|
|
1090
1109
|
"original": "string | string[]",
|
|
@@ -1099,7 +1118,7 @@ export class CoSelect {
|
|
|
1099
1118
|
"composed": true,
|
|
1100
1119
|
"docs": {
|
|
1101
1120
|
"tags": [],
|
|
1102
|
-
"text": ""
|
|
1121
|
+
"text": "Se vaci\u00F3 la selecci\u00F3n con la \u00D7. Sin `detail`; le sigue un `coChange`."
|
|
1103
1122
|
},
|
|
1104
1123
|
"complexType": {
|
|
1105
1124
|
"original": "void",
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Línea divisoria horizontal o vertical, con espaciado e inset opcionales y
|
|
4
|
+
* color/grosor configurables por prop. Wrapper Vue: `CoSeparator` de
|
|
5
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*
|
|
7
|
+
* @part separator - La línea.
|
|
8
|
+
*/
|
|
2
9
|
export class CoSeparator {
|
|
3
10
|
constructor() {
|
|
4
11
|
/** Orientation: horizontal (default) or vertical */
|
|
@@ -57,7 +64,7 @@ export class CoSeparator {
|
|
|
57
64
|
style['--co-separator-inset-end'] = '0px';
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
|
-
return (h("hr", { key: '
|
|
67
|
+
return (h("hr", { key: '1b15a22f07b7bf656d9b20b53d602bc7d47e3cf2', class: {
|
|
61
68
|
'co-separator': true,
|
|
62
69
|
'co-separator--vertical': this.vertical,
|
|
63
70
|
'co-separator--dark': this.dark,
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
|
+
* Barra lateral de navegación con cabecera, cuerpo de ítems y pie. Wrapper Vue:
|
|
4
|
+
* `CoSidebar` de `@prolibu-suite/cobalt-vue`.
|
|
5
|
+
*
|
|
6
|
+
* @part sidebar - La barra completa.
|
|
7
|
+
* @part header - Área del slot `header`.
|
|
8
|
+
* @part body - Área de navegación (slot por defecto).
|
|
9
|
+
* @part footer - Área del slot `footer`.
|
|
10
|
+
*
|
|
3
11
|
* @slot header - Logo / branding area
|
|
4
12
|
* @slot - Navigation items (co-list-item, etc.)
|
|
5
13
|
* @slot footer - Bottom section
|
|
@@ -10,10 +18,10 @@ export class CoSidebar {
|
|
|
10
18
|
this.mode = 'full';
|
|
11
19
|
}
|
|
12
20
|
render() {
|
|
13
|
-
return (h("nav", { key: '
|
|
21
|
+
return (h("nav", { key: 'de782225d3dc1ef1def8af333a2a81809b50a84d', class: {
|
|
14
22
|
'co-sidebar': true,
|
|
15
23
|
[`co-sidebar--${this.mode}`]: true,
|
|
16
|
-
}, part: "sidebar" }, h("div", { key: '
|
|
24
|
+
}, part: "sidebar" }, h("div", { key: '7c4466bf0d14cba9ca008d0a1cf9c28972726301', class: "co-sidebar__header", part: "header" }, h("slot", { key: '1389f2fa757adcd7b97586534de4144f9b08d1a7', name: "header" })), h("div", { key: '298ea9f0183bb31b0a4b6d83053029b8f181fb7d', class: "co-sidebar__body", part: "body" }, h("slot", { key: 'f1c0c4b26b4be0441048f7f961529ce5371d4c6d' })), h("div", { key: '62666b4e1b9591c70196fccb73caf683925de906', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: '83566f1745b802296b7db7b90032a3ca13849126', name: "footer" }))));
|
|
17
25
|
}
|
|
18
26
|
static get is() { return "co-sidebar"; }
|
|
19
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --co-sidebar-nav-active-bg: Fondo del ítem activo (default surface-hover).
|
|
3
|
+
* @prop --co-sidebar-nav-active-color: Color de texto e ícono del ítem activo (default azul de marca).
|
|
4
|
+
* @prop --co-sidebar-nav-active-bg-min: Fondo del ítem activo con `mode="min"` (default: el de `--co-sidebar-nav-active-bg`).
|
|
5
|
+
*/
|
|
1
6
|
/* =============================================================================
|
|
2
7
|
co-sidebar-nav — Full sidebar navigation component
|
|
3
8
|
Renders categories, expansions, and leaf items from a JSON menu structure.
|
|
@@ -189,6 +189,7 @@ const DEFAULT_ICON_MAP = {
|
|
|
189
189
|
* A complete sidebar navigation component that renders a hierarchical menu.
|
|
190
190
|
* Accepts the raw `uiSchemas.sideBar` JSON from the Prolibu API and
|
|
191
191
|
* automatically renders categories, expandable groups, and leaf items.
|
|
192
|
+
* Wrapper Vue: `CoSidebarNav` de `@prolibu-suite/cobalt-vue`.
|
|
192
193
|
*
|
|
193
194
|
* @example
|
|
194
195
|
* ```html
|
|
@@ -511,10 +512,10 @@ export class CoSidebarNav {
|
|
|
511
512
|
// `flyout-open` (min mode only) lets the CSS drop the host edge-fade mask
|
|
512
513
|
// while a flyout is shown — a host mask would otherwise clip AND
|
|
513
514
|
// mis-position the fixed flyout (mask makes the host a containing block).
|
|
514
|
-
h(Host, { key: '
|
|
515
|
+
h(Host, { key: 'ef90beff11ad03c2cf4e13b74c9898cca380e8eb', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: 'cc9788f795e8ac66b4143195e7ffa3c4efe58bc1', class: {
|
|
515
516
|
'co-sidebar-nav': true,
|
|
516
517
|
'co-sidebar-nav--min': this.mode === 'min',
|
|
517
|
-
} }, this.renderSearch(), h("div", { key: '
|
|
518
|
+
} }, this.renderSearch(), h("div", { key: 'c77b51b21c0d5d70ff90213f3c7a5bc0e104bdec', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
|
|
518
519
|
}
|
|
519
520
|
static get is() { return "co-sidebar-nav"; }
|
|
520
521
|
static get encapsulation() { return "shadow"; }
|
|
@@ -717,7 +718,7 @@ export class CoSidebarNav {
|
|
|
717
718
|
"references": {
|
|
718
719
|
"NavigateDetail": {
|
|
719
720
|
"location": "local",
|
|
720
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
721
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-sidebar-nav/co-sidebar-nav.tsx",
|
|
721
722
|
"id": "src/components/co-sidebar-nav/co-sidebar-nav.tsx::NavigateDetail"
|
|
722
723
|
}
|
|
723
724
|
}
|
|
@@ -2,6 +2,9 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
/**
|
|
3
3
|
* Placeholder de carga con shimmer (sweep). Componer apilando varios.
|
|
4
4
|
* Respeta prefers-reduced-motion (sin animación).
|
|
5
|
+
* Wrapper Vue: `CoSkeleton` de `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*
|
|
7
|
+
* @part skeleton - El bloque con el shimmer.
|
|
5
8
|
*/
|
|
6
9
|
export class CoSkeleton {
|
|
7
10
|
constructor() {
|
|
@@ -50,7 +53,7 @@ export class CoSkeleton {
|
|
|
50
53
|
const style = { width: this.width };
|
|
51
54
|
if (this.height)
|
|
52
55
|
style.height = this.height;
|
|
53
|
-
return (h("div", { key: '
|
|
56
|
+
return (h("div", { key: '26e69f4c94f59664827c617fa3d54983ac56cd1d', class: {
|
|
54
57
|
'co-skeleton': true,
|
|
55
58
|
[`co-skeleton--${this.variant}`]: true,
|
|
56
59
|
'co-skeleton--revealed': this.revealed,
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/* co-slider */
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @prop --co-slider-thumb-size: Diámetro exterior del thumb, borde incluido (default 24px).
|
|
5
|
+
* @prop --co-slider-thumb-border: Grosor del aro del thumb; crece hacia adentro (default 2px).
|
|
6
|
+
* @prop --co-slider-track-thickness: Grosor del riel: alto en horizontal, ancho en vertical (default 4px).
|
|
7
|
+
* @prop --co-slider-vertical-length: Largo del riel con `orientation="vertical"` (default 120px).
|
|
8
|
+
*/
|
|
9
|
+
|
|
3
10
|
:host {
|
|
4
11
|
display: block;
|
|
5
12
|
font-family: var(--co-font-family-primary);
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Control deslizante para elegir un número dentro de un rango, horizontal o
|
|
4
|
+
* vertical (volumen: el máximo arriba). `coInput` es la vista previa mientras se
|
|
5
|
+
* arrastra y `coChange` confirma una vez al terminar el gesto. Wrapper Vue:
|
|
6
|
+
* `CoSlider` de `@prolibu-suite/cobalt-vue`.
|
|
7
|
+
*/
|
|
2
8
|
export class CoSlider {
|
|
3
9
|
constructor() {
|
|
10
|
+
/** Estado de validación: colorea el `helperText`. */
|
|
4
11
|
this.status = 'default';
|
|
12
|
+
/** Valor actual; el componente lo actualiza al arrastrar o con el teclado. */
|
|
5
13
|
this.value = 0;
|
|
14
|
+
/** Mínimo del rango (default 0). */
|
|
6
15
|
this.min = 0;
|
|
16
|
+
/** Máximo del rango (default 100). */
|
|
7
17
|
this.max = 100;
|
|
18
|
+
/** Paso entre valores (default 1); también el paso de las flechas. */
|
|
8
19
|
this.step = 1;
|
|
20
|
+
/** Deshabilita el control. */
|
|
9
21
|
this.disabled = false;
|
|
10
22
|
/** Show current value label */
|
|
11
23
|
this.showValue = true;
|
|
@@ -251,13 +263,13 @@ export class CoSlider {
|
|
|
251
263
|
render() {
|
|
252
264
|
const pct = this.percentage;
|
|
253
265
|
const vertical = this.isVertical;
|
|
254
|
-
return (h("div", { key: '
|
|
266
|
+
return (h("div", { key: '4993b9d6827cdda362ce482151bffaf84c916442', class: {
|
|
255
267
|
'co-slider': true,
|
|
256
268
|
'co-slider--disabled': this.disabled,
|
|
257
269
|
'co-slider--dragging': this.dragging,
|
|
258
270
|
'co-slider--vertical': vertical,
|
|
259
271
|
[`co-slider--${this.status}`]: this.status !== 'default',
|
|
260
|
-
} }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '
|
|
272
|
+
} }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '707c5bda972f1c1c3a45d6716f1a7b1debc2e9ee', class: "co-slider__labels" }, h("div", { key: '2ea2bd4c5e9eafcc8e87214134ad3ee4881b990f', class: "co-slider__labels-left" }, this.label && h("label", { key: '8a509cbaaae01919f3e29627492762021bc6b001', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: '9ac5b791724b1f106c0d50bea0eef55367187dcb', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: '77fd3b3c5db03128a19fc37797832e334a31a9cd', class: "co-slider__value" }, this.value))), h("div", { key: '8d16d1b89ea5c4f0226787482f4cf307cefb5f99', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: '2d74659caca41e9255fe792e3b172e3cd6e4f3d9', class: "co-slider__track" }, h("div", { key: '169501854773b01341072f8024d89e665ed5527e', class: "co-slider__fill", style: vertical ? { height: `${pct}%` } : { width: `${pct}%` } })), h("div", { key: 'a1ea0b12371df5f0df4204a6be870fcf70141c43', class: "co-slider__thumb", style: vertical ? { bottom: `${pct}%` } : { left: `${pct}%` } })), this.showMarks && (h("div", { key: '8e8d55e60e058b1336c9819c11100c3e82f56097', class: "co-slider__marks" }, h("span", { key: '0e6b74aed9a56f40147a8e96290834c3e51d82c4', class: "co-slider__mark" }, this.min), h("span", { key: '4b735e6e20f5d49f5ab6047129b43e05210c5726', class: "co-slider__mark" }, this.max))), h("input", { key: 'ddbb917734f98c92564477b502f29f51f2c492ca', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, onKeyDown: vertical ? this.handleVerticalKeyDown : undefined, "aria-label": this.ariaLabelText || this.label || 'Slider', "aria-orientation": vertical ? 'vertical' : undefined }), this.helperText && (h("div", { key: '68ba7ef8a27b006011ad0d1beba1cd9557103f8a', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '99f8b511f7de45809967a8a7588d8d736365247e', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '22f3ecf666b54d2bf5c97816c1b8253a7c6b233b', class: "co-slider__helper-text" }, this.helperText)))));
|
|
261
273
|
}
|
|
262
274
|
static get is() { return "co-slider"; }
|
|
263
275
|
static get encapsulation() { return "shadow"; }
|
|
@@ -285,7 +297,7 @@ export class CoSlider {
|
|
|
285
297
|
"optional": true,
|
|
286
298
|
"docs": {
|
|
287
299
|
"tags": [],
|
|
288
|
-
"text": ""
|
|
300
|
+
"text": "Etiqueta visible; tambi\u00E9n da el nombre accesible si no hay `ariaLabelText`."
|
|
289
301
|
},
|
|
290
302
|
"getter": false,
|
|
291
303
|
"setter": false,
|
|
@@ -323,7 +335,7 @@ export class CoSlider {
|
|
|
323
335
|
"optional": true,
|
|
324
336
|
"docs": {
|
|
325
337
|
"tags": [],
|
|
326
|
-
"text": ""
|
|
338
|
+
"text": "Texto secundario junto a la etiqueta (p. ej. la unidad)."
|
|
327
339
|
},
|
|
328
340
|
"getter": false,
|
|
329
341
|
"setter": false,
|
|
@@ -342,7 +354,7 @@ export class CoSlider {
|
|
|
342
354
|
"optional": true,
|
|
343
355
|
"docs": {
|
|
344
356
|
"tags": [],
|
|
345
|
-
"text": ""
|
|
357
|
+
"text": "Texto de ayuda o de error bajo el control."
|
|
346
358
|
},
|
|
347
359
|
"getter": false,
|
|
348
360
|
"setter": false,
|
|
@@ -361,7 +373,7 @@ export class CoSlider {
|
|
|
361
373
|
"optional": false,
|
|
362
374
|
"docs": {
|
|
363
375
|
"tags": [],
|
|
364
|
-
"text": ""
|
|
376
|
+
"text": "Estado de validaci\u00F3n: colorea el `helperText`."
|
|
365
377
|
},
|
|
366
378
|
"getter": false,
|
|
367
379
|
"setter": false,
|
|
@@ -381,7 +393,7 @@ export class CoSlider {
|
|
|
381
393
|
"optional": false,
|
|
382
394
|
"docs": {
|
|
383
395
|
"tags": [],
|
|
384
|
-
"text": ""
|
|
396
|
+
"text": "Valor actual; el componente lo actualiza al arrastrar o con el teclado."
|
|
385
397
|
},
|
|
386
398
|
"getter": false,
|
|
387
399
|
"setter": false,
|
|
@@ -401,7 +413,7 @@ export class CoSlider {
|
|
|
401
413
|
"optional": false,
|
|
402
414
|
"docs": {
|
|
403
415
|
"tags": [],
|
|
404
|
-
"text": ""
|
|
416
|
+
"text": "M\u00EDnimo del rango (default 0)."
|
|
405
417
|
},
|
|
406
418
|
"getter": false,
|
|
407
419
|
"setter": false,
|
|
@@ -421,7 +433,7 @@ export class CoSlider {
|
|
|
421
433
|
"optional": false,
|
|
422
434
|
"docs": {
|
|
423
435
|
"tags": [],
|
|
424
|
-
"text": ""
|
|
436
|
+
"text": "M\u00E1ximo del rango (default 100)."
|
|
425
437
|
},
|
|
426
438
|
"getter": false,
|
|
427
439
|
"setter": false,
|
|
@@ -441,7 +453,7 @@ export class CoSlider {
|
|
|
441
453
|
"optional": false,
|
|
442
454
|
"docs": {
|
|
443
455
|
"tags": [],
|
|
444
|
-
"text": ""
|
|
456
|
+
"text": "Paso entre valores (default 1); tambi\u00E9n el paso de las flechas."
|
|
445
457
|
},
|
|
446
458
|
"getter": false,
|
|
447
459
|
"setter": false,
|
|
@@ -461,7 +473,7 @@ export class CoSlider {
|
|
|
461
473
|
"optional": false,
|
|
462
474
|
"docs": {
|
|
463
475
|
"tags": [],
|
|
464
|
-
"text": ""
|
|
476
|
+
"text": "Deshabilita el control."
|
|
465
477
|
},
|
|
466
478
|
"getter": false,
|
|
467
479
|
"setter": false,
|
|
@@ -545,7 +557,7 @@ export class CoSlider {
|
|
|
545
557
|
"composed": true,
|
|
546
558
|
"docs": {
|
|
547
559
|
"tags": [],
|
|
548
|
-
"text": ""
|
|
560
|
+
"text": "Confirma el valor: una vez al terminar el gesto (si hubo alg\u00FAn `coInput`) y en cada paso de teclado. `detail` = n\u00FAmero."
|
|
549
561
|
},
|
|
550
562
|
"complexType": {
|
|
551
563
|
"original": "number",
|
|
@@ -560,7 +572,7 @@ export class CoSlider {
|
|
|
560
572
|
"composed": true,
|
|
561
573
|
"docs": {
|
|
562
574
|
"tags": [],
|
|
563
|
-
"text": ""
|
|
575
|
+
"text": "Vista previa mientras se arrastra, solo cuando el valor cambia. `detail` = n\u00FAmero."
|
|
564
576
|
},
|
|
565
577
|
"complexType": {
|
|
566
578
|
"original": "number",
|
|
@@ -11,6 +11,7 @@ const DEFAULTS = { columns: 8, swatchSize: 24, gap: 8, radius: 6 };
|
|
|
11
11
|
*
|
|
12
12
|
* Los colores claros (luminancia WCAG > 0,85) reciben un borde automático
|
|
13
13
|
* para no fundirse con el fondo del panel.
|
|
14
|
+
* Wrapper Vue: `CoSwatchGrid` de `@prolibu-suite/cobalt-vue`.
|
|
14
15
|
*/
|
|
15
16
|
export class CoSwatchGrid {
|
|
16
17
|
constructor() {
|
|
@@ -85,7 +86,7 @@ export class CoSwatchGrid {
|
|
|
85
86
|
// Roving tabindex: una sola parada de tab (el seleccionado, o el primero).
|
|
86
87
|
const tabbableIndex = selected >= 0 ? selected : 0;
|
|
87
88
|
this.swatchEls = [];
|
|
88
|
-
return (h("div", { key: '
|
|
89
|
+
return (h("div", { key: '37b221ff9dbebc184310f1cd51d539b833876adf', class: "co-swatch-grid", role: "listbox", "aria-label": this.label || s.gridLabel, style: { gridTemplateColumns: `repeat(${this.columnCount}, ${size}px)`, gap: `${gap}px` } }, this.colorList.map((color, i) => (h("button", { type: "button", key: `${i}-${color}`, ref: (el) => {
|
|
89
90
|
if (el)
|
|
90
91
|
this.swatchEls[i] = el;
|
|
91
92
|
}, class: {
|