@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
|
@@ -40,9 +40,13 @@ export function resolveTabIndex(count, activeIndex, shiftKey) {
|
|
|
40
40
|
return activeIndex === -1 || activeIndex >= count - 1 ? 0 : activeIndex + 1;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* Collect the tabbable elements
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* Collect the tabbable elements in the overlay's light DOM, skipping hidden /
|
|
44
|
+
* aria-hidden ones.
|
|
45
|
+
*
|
|
46
|
+
* Kept for compatibility only — co-overlay no longer uses it: it cannot see past
|
|
47
|
+
* a shadow root, and co-overlay lives INSIDE co-modal's shadow, so its light DOM
|
|
48
|
+
* is the modal frame (the ✕) and never the consumer's slotted content nor the
|
|
49
|
+
* inner `<button>` of a co-button. Use `getComposedFocusables`.
|
|
46
50
|
*/
|
|
47
51
|
export function getFocusableElements(root) {
|
|
48
52
|
const nodes = Array.from(root.querySelectorAll(FOCUSABLE_SELECTOR));
|
|
@@ -51,3 +55,107 @@ export function getFocusableElements(root) {
|
|
|
51
55
|
// offsetParent is null for display:none; getClientRects covers position:fixed.
|
|
52
56
|
(el.offsetParent !== null || el.getClientRects().length > 0));
|
|
53
57
|
}
|
|
58
|
+
// ── Recorrido compuesto (QA 2026-09-24, «Generar contrato» de contratos V2) ──
|
|
59
|
+
// El foco nunca entraba ni quedaba atrapado en un co-modal: `getFocusableElements`
|
|
60
|
+
// solo mira el light DOM de co-overlay (el frame del modal: el ✕). El contenido
|
|
61
|
+
// del consumidor llega por DOS <slot> (el de co-overlay y el del frame) y los
|
|
62
|
+
// controles reales viven en el shadow de cada co-* (el <button> de co-button, el
|
|
63
|
+
// <input> de co-input). El recorrido sigue el árbol PLANO: baja por shadowRoots
|
|
64
|
+
// y, en cada <slot>, por sus asignados — o por su contenido por defecto si no
|
|
65
|
+
// tiene. Todo esto corre solo en el navegador (abrir la trampa / cada Tab).
|
|
66
|
+
/** Hijos en el árbol plano: el shadow del host, los asignados de un slot o los hijos. */
|
|
67
|
+
function composedChildren(el) {
|
|
68
|
+
if (el.shadowRoot)
|
|
69
|
+
return Array.from(el.shadowRoot.children);
|
|
70
|
+
if (el.tagName === 'SLOT') {
|
|
71
|
+
const assigned = el.assignedElements({ flatten: true });
|
|
72
|
+
return assigned.length ? assigned : Array.from(el.children);
|
|
73
|
+
}
|
|
74
|
+
return Array.from(el.children);
|
|
75
|
+
}
|
|
76
|
+
/** Subárbol fuera de la trampa entero: oculto a AT o inerte. */
|
|
77
|
+
function isExcludedSubtree(el) {
|
|
78
|
+
return el.getAttribute('aria-hidden') === 'true' || el.hasAttribute('inert');
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Parada de Tab: matchea el selector, no está deshabilitado, no se sacó del
|
|
82
|
+
* orden con tabindex negativo (los botones internos de un trigger co-* —clear,
|
|
83
|
+
* chips— van con `tabIndex={-1}`, y `button:not([disabled])` los matchearía
|
|
84
|
+
* igual), tiene caja (offsetParent null = display:none; getClientRects cubre
|
|
85
|
+
* position:fixed) y no es `visibility:hidden`: un acordeón o fieldset colapsado
|
|
86
|
+
* conserva la caja pero el navegador no le da el foco, y la trampa lo elegiría
|
|
87
|
+
* igual → Tab clavado (WCAG 2.1.2). Sin la API (navegador viejo, jsdom) no filtra.
|
|
88
|
+
*/
|
|
89
|
+
function isTabStop(el) {
|
|
90
|
+
var _a, _b;
|
|
91
|
+
if (!((_a = el.matches) === null || _a === void 0 ? void 0 : _a.call(el, FOCUSABLE_SELECTOR)) || el.hasAttribute('disabled'))
|
|
92
|
+
return false;
|
|
93
|
+
const tabindex = el.getAttribute('tabindex');
|
|
94
|
+
if (tabindex !== null && Number(tabindex) < 0)
|
|
95
|
+
return false;
|
|
96
|
+
if (el.offsetParent === null && el.getClientRects().length === 0)
|
|
97
|
+
return false;
|
|
98
|
+
return ((_b = el.checkVisibility) === null || _b === void 0 ? void 0 : _b.call(el, { visibilityProperty: true })) !== false;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Recorre en orden del árbol plano los descendientes compuestos de `root` (sin
|
|
102
|
+
* incluirlo) hasta que `visit` devuelve true. Poda aria-hidden / inert.
|
|
103
|
+
*/
|
|
104
|
+
function walkComposed(root, visit) {
|
|
105
|
+
const step = (node) => {
|
|
106
|
+
if (isExcludedSubtree(node))
|
|
107
|
+
return false;
|
|
108
|
+
if (visit(node))
|
|
109
|
+
return true;
|
|
110
|
+
return composedChildren(node).some(step);
|
|
111
|
+
};
|
|
112
|
+
composedChildren(root).some(step);
|
|
113
|
+
}
|
|
114
|
+
/** Primer descendiente compuesto que cumple `match`, en orden del árbol plano. */
|
|
115
|
+
function findComposed(root, match) {
|
|
116
|
+
let found = null;
|
|
117
|
+
walkComposed(root, (el) => {
|
|
118
|
+
if (!match(el))
|
|
119
|
+
return false;
|
|
120
|
+
found = el;
|
|
121
|
+
return true;
|
|
122
|
+
});
|
|
123
|
+
return found;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Paradas de Tab dentro de `root` en el árbol COMPUESTO (shadowRoots + slots
|
|
127
|
+
* asignados), con las mismas exclusiones que `getFocusableElements`.
|
|
128
|
+
*/
|
|
129
|
+
export function getComposedFocusables(root) {
|
|
130
|
+
const out = [];
|
|
131
|
+
walkComposed(root, (el) => {
|
|
132
|
+
if (isTabStop(el))
|
|
133
|
+
out.push(el);
|
|
134
|
+
return false;
|
|
135
|
+
});
|
|
136
|
+
return out;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Dónde cae el foco al abrir la trampa: el primer `[autofocus]` del recorrido
|
|
140
|
+
* compuesto —si es un host con shadow (`<co-input autofocus>`), su primer
|
|
141
|
+
* enfocable compuesto—; si no hay, la primera parada de Tab. `null` = nada
|
|
142
|
+
* enfocable (el llamador cae al contenedor).
|
|
143
|
+
*/
|
|
144
|
+
export function resolveInitialFocus(root) {
|
|
145
|
+
const autofocus = findComposed(root, (el) => el.hasAttribute('autofocus'));
|
|
146
|
+
if (autofocus) {
|
|
147
|
+
if (isTabStop(autofocus))
|
|
148
|
+
return autofocus;
|
|
149
|
+
const inner = autofocus.shadowRoot ? getComposedFocusables(autofocus)[0] : undefined;
|
|
150
|
+
if (inner)
|
|
151
|
+
return inner;
|
|
152
|
+
}
|
|
153
|
+
return findComposed(root, isTabStop);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Con dos trampas abiertas (un confirm sobre un modal, un modal anidado) las dos
|
|
157
|
+
* escuchan el keydown de document: solo la capa MÁS RECIENTE maneja Tab.
|
|
158
|
+
*/
|
|
159
|
+
export function isTopTrap(stack, id) {
|
|
160
|
+
return stack.length > 0 && stack[stack.length - 1] === id;
|
|
161
|
+
}
|
|
@@ -3,10 +3,13 @@ import { h } from "@stencil/core";
|
|
|
3
3
|
* Page-level header bar with icon, title, and right actions.
|
|
4
4
|
* @slot - Title area (default slot)
|
|
5
5
|
* @slot actions - Right-side actions (switches, buttons)
|
|
6
|
+
*
|
|
7
|
+
* Wrapper Vue: `CoPageHeader` de `@prolibu-suite/cobalt-vue`.
|
|
8
|
+
* @part page-header - La fila del encabezado.
|
|
6
9
|
*/
|
|
7
10
|
export class CoPageHeader {
|
|
8
11
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '18d15d7b241f92bbd121fd6547832a30f4404928', class: "co-page-header", part: "page-header" }, h("div", { key: 'cbf4427991e3b43775a1d47c95f953ef79d71c77', class: "co-page-header__left" }, this.icon && (h("span", { key: '647701102f261fc214a0a4347894ba275da1ed7d', class: "co-page-header__icon" }, h("co-icon", { key: 'd377f2f5cbfa190cb483fe4a6ff2a483f9053f7b', name: this.icon, size: 24 }))), h("span", { key: 'ccf59184d2154c89fc90ccddfffc8dfc8c07b72b', class: "co-page-header__title" }, h("slot", { key: '34dd64e79e72cb154c63b16f72c2ec58193d9988' }, this.heading))), h("div", { key: 'e2f1d119629a3b9479896cf2338625ad775b8556', class: "co-page-header__actions" }, h("slot", { key: '62ee162b3388968ee1930a2c3ab20e45b34a2d65', name: "actions" }))));
|
|
10
13
|
}
|
|
11
14
|
static get is() { return "co-page-header"; }
|
|
12
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/* co-popover — floating panel primitive */
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @prop --co-popover-border-color: Color del borde del panel (default border-subtle).
|
|
5
|
+
* @prop --co-popover-shadow: Sombra del panel (default `0 4px 16px` suave).
|
|
6
|
+
*/
|
|
7
|
+
|
|
3
8
|
:host {
|
|
4
9
|
display: inline-block;
|
|
5
10
|
position: relative;
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
opacity: 0;
|
|
46
51
|
transform: scale(0.97);
|
|
47
52
|
background: var(--co-semantic-surface-page, #fff);
|
|
48
|
-
/*
|
|
53
|
+
/* Variables con el default de siempre como
|
|
49
54
|
fallback — sin --co-popover-border-color/--co-popover-shadow, cero
|
|
50
55
|
cambio visual. */
|
|
51
56
|
border: 1px solid var(--co-popover-border-color, var(--co-semantic-border-subtle));
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
overflow: visible;
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
/* `bare
|
|
62
|
+
/* `bare`: sin fondo/borde/sombra propios, para
|
|
58
63
|
alojar un `co-menu` (u otro contenido con su propio chrome) sin "doble
|
|
59
64
|
chrome". El resto del panel (posicionamiento, transición de entrada/salida)
|
|
60
65
|
no cambia. */
|
|
@@ -3,6 +3,17 @@ import { computePosition, findScrollParents, getOffsetAncestor, isAnchorVisible
|
|
|
3
3
|
import { pushLayer, removeLayer, isTopLayer } from "../../utils/popover-stack";
|
|
4
4
|
/** Side classes driving the entrance `transform-origin` (see co-popover.css). */
|
|
5
5
|
const SIDE_CLASSES = ['top', 'bottom', 'left', 'right'].map((s) => `co-popover__panel--${s}`);
|
|
6
|
+
/**
|
|
7
|
+
* Panel flotante anclado a un disparador (slot `trigger`) con posicionamiento,
|
|
8
|
+
* volteo si no cabe y cierre por click afuera o Escape. Base de menús, selects y
|
|
9
|
+
* pickers. Sus eventos no burbujean. Wrapper Vue: `CoPopover` de
|
|
10
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
11
|
+
*
|
|
12
|
+
* @slot trigger - Elemento que abre y cierra el panel al hacer click.
|
|
13
|
+
* @slot - Contenido del panel.
|
|
14
|
+
*
|
|
15
|
+
* @part panel - El panel flotante (fondo, borde, sombra).
|
|
16
|
+
*/
|
|
6
17
|
export class CoPopover {
|
|
7
18
|
constructor() {
|
|
8
19
|
// ── Props ──────────────────────────────────────────────────
|
|
@@ -28,7 +39,7 @@ export class CoPopover {
|
|
|
28
39
|
/** Flip placement when the panel would overflow the viewport. */
|
|
29
40
|
this.flip = true;
|
|
30
41
|
/**
|
|
31
|
-
* El panel no pinta fondo/borde/sombra propios
|
|
42
|
+
* El panel no pinta fondo/borde/sombra propios:
|
|
32
43
|
* para alojar un `co-menu` (u otro contenido con su propio chrome) sin
|
|
33
44
|
* "doble chrome". Reflejado como atributo `bare`. Default `false` = panel
|
|
34
45
|
* con el fondo/borde/sombra de siempre (`--co-popover-border-color` /
|
|
@@ -36,8 +47,7 @@ export class CoPopover {
|
|
|
36
47
|
*/
|
|
37
48
|
this.bare = false;
|
|
38
49
|
/**
|
|
39
|
-
* Desplazamiento en px sobre el eje CRUZADO del `placement
|
|
40
|
-
* 2 Cobalt): con un placement vertical (`top*`/`bottom*`) mueve `left`; con
|
|
50
|
+
* Desplazamiento en px sobre el eje CRUZADO del `placement`: con un placement vertical (`top*`/`bottom*`) mueve `left`; con
|
|
41
51
|
* uno horizontal (`left*`/`right*`) mueve `top`. Default 0 = sin cambio.
|
|
42
52
|
*
|
|
43
53
|
* ⚠️ Se aplica ANTES del clamp de 4px a los bordes del viewport (ver
|
|
@@ -154,7 +164,7 @@ export class CoPopover {
|
|
|
154
164
|
width: this.panelEl.offsetWidth,
|
|
155
165
|
height: this.panelEl.offsetHeight,
|
|
156
166
|
});
|
|
157
|
-
//
|
|
167
|
+
// `anchor` sin resolver (prop ausente, o
|
|
158
168
|
// selector sin match en `document`) → `anchorRect` queda undefined y
|
|
159
169
|
// computePosition cae a `triggerRect` — mismo resultado que hoy.
|
|
160
170
|
const anchorEl = this.resolveAnchor();
|
|
@@ -302,17 +312,20 @@ export class CoPopover {
|
|
|
302
312
|
this.pressStartedInside = false;
|
|
303
313
|
}
|
|
304
314
|
// ── Public methods ─────────────────────────────────────────
|
|
315
|
+
/** Abre o cierra el panel. */
|
|
305
316
|
async toggle() {
|
|
306
317
|
this.open = !this.open;
|
|
307
318
|
}
|
|
319
|
+
/** Abre el panel. */
|
|
308
320
|
async show() {
|
|
309
321
|
this.open = true;
|
|
310
322
|
}
|
|
323
|
+
/** Cierra el panel. */
|
|
311
324
|
async hide() {
|
|
312
325
|
this.open = false;
|
|
313
326
|
}
|
|
314
327
|
/**
|
|
315
|
-
* Resuelve la prop `anchor` a un elemento
|
|
328
|
+
* Resuelve la prop `anchor` a un elemento:
|
|
316
329
|
* - `HTMLElement` → se usa tal cual.
|
|
317
330
|
* - `string` → selector resuelto contra `document`; sin match, `null`
|
|
318
331
|
* (el llamador cae a `triggerRect`, el comportamiento de siempre).
|
|
@@ -382,13 +395,13 @@ export class CoPopover {
|
|
|
382
395
|
}
|
|
383
396
|
// ── Render ─────────────────────────────────────────────────
|
|
384
397
|
render() {
|
|
385
|
-
return (h("div", { key: '
|
|
398
|
+
return (h("div", { key: 'f9c23cf5b7beb42230fbc37e6aacb9d8423a2c34', class: "co-popover" }, h("div", { key: '255b7a3b713719283e3b4a6d65ed520661b4e40b', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: '82c7133648e7c55db263f1abae8902c3ab579d27', name: "trigger" })), (this.open || this.closing) && (h("div", { key: '990ca1400e5e19d6614dbc7b43e78b116626e1b0', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
|
|
386
399
|
if (el && el !== this.panelEl) {
|
|
387
400
|
this.panelEl = el;
|
|
388
401
|
this.promotePanel();
|
|
389
402
|
this.scheduleUpdate();
|
|
390
403
|
}
|
|
391
|
-
} }, h("slot", { key: '
|
|
404
|
+
} }, h("slot", { key: 'fb635cf42e7866b055a59aaf471bab5bca995afb' })))));
|
|
392
405
|
}
|
|
393
406
|
static get is() { return "co-popover"; }
|
|
394
407
|
static get encapsulation() { return "shadow"; }
|
|
@@ -433,7 +446,7 @@ export class CoPopover {
|
|
|
433
446
|
"references": {
|
|
434
447
|
"PopoverPlacement": {
|
|
435
448
|
"location": "local",
|
|
436
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
449
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-popover/co-popover.tsx",
|
|
437
450
|
"id": "src/components/co-popover/co-popover.tsx::PopoverPlacement"
|
|
438
451
|
}
|
|
439
452
|
}
|
|
@@ -562,7 +575,7 @@ export class CoPopover {
|
|
|
562
575
|
"optional": false,
|
|
563
576
|
"docs": {
|
|
564
577
|
"tags": [],
|
|
565
|
-
"text": "El panel no pinta fondo/borde/sombra propios
|
|
578
|
+
"text": "El panel no pinta fondo/borde/sombra propios:\npara alojar un `co-menu` (u otro contenido con su propio chrome) sin\n\"doble chrome\". Reflejado como atributo `bare`. Default `false` = panel\ncon el fondo/borde/sombra de siempre (`--co-popover-border-color` /\n`--co-popover-shadow`), sin cambio."
|
|
566
579
|
},
|
|
567
580
|
"getter": false,
|
|
568
581
|
"setter": false,
|
|
@@ -587,7 +600,7 @@ export class CoPopover {
|
|
|
587
600
|
"optional": true,
|
|
588
601
|
"docs": {
|
|
589
602
|
"tags": [],
|
|
590
|
-
"text": "Elemento (o selector resuelto contra `document`) al que se alinea el\npanel EN VEZ del trigger
|
|
603
|
+
"text": "Elemento (o selector resuelto contra `document`) al que se alinea el\npanel EN VEZ del trigger \u2014 p.ej. la p\u00EDldora\ncompleta del zoom, no solo el bot\u00F3n \"\u25BE\" que abre el men\u00FA. Un selector sin\nmatch cae al trigger (comportamiento actual). Sin `anchor`, cero cambio."
|
|
591
604
|
},
|
|
592
605
|
"getter": false,
|
|
593
606
|
"setter": false,
|
|
@@ -606,7 +619,7 @@ export class CoPopover {
|
|
|
606
619
|
"optional": false,
|
|
607
620
|
"docs": {
|
|
608
621
|
"tags": [],
|
|
609
|
-
"text": "Desplazamiento en px sobre el eje CRUZADO del `placement
|
|
622
|
+
"text": "Desplazamiento en px sobre el eje CRUZADO del `placement`: con un placement vertical (`top*`/`bottom*`) mueve `left`; con\nuno horizontal (`left*`/`right*`) mueve `top`. Default 0 = sin cambio.\n\n\u26A0\uFE0F Se aplica ANTES del clamp de 4px a los bordes del viewport (ver\n`computePosition` en `utils/positioning.ts`) \u2014 un `shift` grande cerca de\nun borde puede quedar clampeado igual que hoy, no lo evita. No hay forma\nde pedir un `shift` que se salga de pantalla a prop\u00F3sito."
|
|
610
623
|
},
|
|
611
624
|
"getter": false,
|
|
612
625
|
"setter": false,
|
|
@@ -630,7 +643,7 @@ export class CoPopover {
|
|
|
630
643
|
"composed": true,
|
|
631
644
|
"docs": {
|
|
632
645
|
"tags": [],
|
|
633
|
-
"text": ""
|
|
646
|
+
"text": "Se abri\u00F3 el panel. No burbujea."
|
|
634
647
|
},
|
|
635
648
|
"complexType": {
|
|
636
649
|
"original": "void",
|
|
@@ -645,7 +658,7 @@ export class CoPopover {
|
|
|
645
658
|
"composed": true,
|
|
646
659
|
"docs": {
|
|
647
660
|
"tags": [],
|
|
648
|
-
"text": ""
|
|
661
|
+
"text": "Se cerr\u00F3 el panel (click afuera, Escape, m\u00E9todo o el ancla sali\u00F3 de la vista). No burbujea."
|
|
649
662
|
},
|
|
650
663
|
"complexType": {
|
|
651
664
|
"original": "void",
|
|
@@ -691,7 +704,7 @@ export class CoPopover {
|
|
|
691
704
|
"return": "Promise<void>"
|
|
692
705
|
},
|
|
693
706
|
"docs": {
|
|
694
|
-
"text": "",
|
|
707
|
+
"text": "Abre o cierra el panel.",
|
|
695
708
|
"tags": []
|
|
696
709
|
}
|
|
697
710
|
},
|
|
@@ -708,7 +721,7 @@ export class CoPopover {
|
|
|
708
721
|
"return": "Promise<void>"
|
|
709
722
|
},
|
|
710
723
|
"docs": {
|
|
711
|
-
"text": "",
|
|
724
|
+
"text": "Abre el panel.",
|
|
712
725
|
"tags": []
|
|
713
726
|
}
|
|
714
727
|
},
|
|
@@ -725,7 +738,7 @@ export class CoPopover {
|
|
|
725
738
|
"return": "Promise<void>"
|
|
726
739
|
},
|
|
727
740
|
"docs": {
|
|
728
|
-
"text": "",
|
|
741
|
+
"text": "Cierra el panel.",
|
|
729
742
|
"tags": []
|
|
730
743
|
}
|
|
731
744
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* A horizontal progress bar with status colors.
|
|
4
|
+
* Wrapper Vue: `CoProgressBar` de `@prolibu-suite/cobalt-vue`.
|
|
5
|
+
*
|
|
6
|
+
* @part bar - Contenedor de la barra (pista y relleno).
|
|
4
7
|
*/
|
|
5
8
|
export class CoProgressBar {
|
|
6
9
|
constructor() {
|
|
@@ -18,12 +21,12 @@ export class CoProgressBar {
|
|
|
18
21
|
render() {
|
|
19
22
|
const clamped = Math.max(0, Math.min(100, this.value));
|
|
20
23
|
const indeterminate = this.indeterminate;
|
|
21
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: '73ffc3d2dedc7a87e2552a75b61a56199f60edb6', class: {
|
|
22
25
|
'co-progress-bar': true,
|
|
23
26
|
[`co-progress-bar--${this.status}`]: true,
|
|
24
27
|
[`co-progress-bar--${this.variant}`]: true,
|
|
25
28
|
'co-progress-bar--indeterminate': indeterminate,
|
|
26
|
-
}, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: '
|
|
29
|
+
}, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: 'da42344ce3d88c2a1eec058b4bb57a7b8380a2aa', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
|
|
27
30
|
}
|
|
28
31
|
static get is() { return "co-progress-bar"; }
|
|
29
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* A circular progress indicator with status colors and optional label.
|
|
4
|
+
* Wrapper Vue: `CoProgressCircle` de `@prolibu-suite/cobalt-vue`.
|
|
5
|
+
*
|
|
6
|
+
* @part circle - Contenedor del círculo (SVG y etiqueta).
|
|
4
7
|
*/
|
|
5
8
|
export class CoProgressCircle {
|
|
6
9
|
constructor() {
|
|
@@ -19,7 +22,7 @@ export class CoProgressCircle {
|
|
|
19
22
|
const clamped = Math.max(0, Math.min(100, this.value));
|
|
20
23
|
const angle = (clamped / 100) * 360;
|
|
21
24
|
const safeStroke = Math.min(this.strokeWidth, this.size / 2);
|
|
22
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'a3d5bc7d287ef18ad5d1d2f23373d25ea2509476', class: {
|
|
23
26
|
'co-progress-circle': true,
|
|
24
27
|
[`co-progress-circle--${this.status}`]: true,
|
|
25
28
|
}, role: "progressbar", "aria-valuenow": clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "circle", style: {
|
|
@@ -27,7 +30,7 @@ export class CoProgressCircle {
|
|
|
27
30
|
height: `${this.size}px`,
|
|
28
31
|
'--co-pc-angle': `${angle}deg`,
|
|
29
32
|
'--co-pc-stroke': `${safeStroke}px`,
|
|
30
|
-
} }, h("div", { key: '
|
|
33
|
+
} }, h("div", { key: '3b922058d72dcb0d1a7a9f59b122b8a2d54c4d4a', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '083498504b05357660f593c128258a2be8ca359e', class: "co-progress-circle__label" }, clamped, "%"))));
|
|
31
34
|
}
|
|
32
35
|
static get is() { return "co-progress-circle"; }
|
|
33
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,6 +28,9 @@ const BRANDS = {
|
|
|
28
28
|
* `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
|
|
29
29
|
* color cuando va encima de una superficie teñida (el badge de un evento de
|
|
30
30
|
* calendario externo, que hereda el color del calendario).
|
|
31
|
+
* Wrapper Vue: `CoProviderLogo` de `@prolibu-suite/cobalt-vue`.
|
|
32
|
+
*
|
|
33
|
+
* @part root - Contenedor del logo (el disco blanco con `plated`).
|
|
31
34
|
*/
|
|
32
35
|
export class CoProviderLogo {
|
|
33
36
|
constructor() {
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Botón de opción individual con etiqueta; normalmente se agrupa en un
|
|
4
|
+
* `co-radio-group`, que coordina la selección única. Wrapper Vue: `CoRadio` de
|
|
5
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*
|
|
7
|
+
* @part circle - El círculo del radio.
|
|
8
|
+
* @part label - La etiqueta.
|
|
9
|
+
*/
|
|
2
10
|
export class CoRadio {
|
|
3
11
|
constructor() {
|
|
4
12
|
/** Whether the radio is selected */
|
|
@@ -17,15 +25,15 @@ export class CoRadio {
|
|
|
17
25
|
};
|
|
18
26
|
}
|
|
19
27
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '637efb5c90e6f1f2c205a9c97c020c609f72a093', class: {
|
|
21
29
|
'co-radio-row': true,
|
|
22
30
|
'co-radio-row--disabled': this.disabled,
|
|
23
|
-
}, onClick: this.handleClick }, h("button", { key: '
|
|
31
|
+
}, onClick: this.handleClick }, h("button", { key: '7311c200f5b2e2029acfe2642aa59c850087a7b3', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
|
|
24
32
|
'co-radio': true,
|
|
25
33
|
[`co-radio--${this.size}`]: true,
|
|
26
34
|
'co-radio--checked': this.checked,
|
|
27
35
|
'co-radio--disabled': this.disabled,
|
|
28
|
-
}, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '
|
|
36
|
+
}, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '067c567f9d70642c11ccb1a8d0b30c17323fb476', class: "co-radio__label", part: "label" }, this.label))));
|
|
29
37
|
}
|
|
30
38
|
static get is() { return "co-radio"; }
|
|
31
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Grupo de opciones de selección única con etiqueta, ayuda y estado de
|
|
4
|
+
* validación: `options` define los radios y `value` el elegido. Wrapper Vue:
|
|
5
|
+
* `CoRadioGroup` de `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*/
|
|
2
7
|
export class CoRadioGroup {
|
|
3
8
|
constructor() {
|
|
4
9
|
/** Label layout: vertical (label above) or horizontal (label beside) */
|
|
@@ -59,11 +64,11 @@ export class CoRadioGroup {
|
|
|
59
64
|
const hasLabels = this.label || this.secondaryLabel;
|
|
60
65
|
const hasHelper = this.helperText;
|
|
61
66
|
const opts = this.parsedOptions;
|
|
62
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: 'b1c5880c1f9faca27b89189de5d64e36569d5b4f', class: {
|
|
63
68
|
'co-radio-group': true,
|
|
64
69
|
'co-radio-group--disabled': this.disabled,
|
|
65
70
|
[`co-radio-group--${this.status}`]: this.status !== 'default',
|
|
66
|
-
}, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: '
|
|
71
|
+
}, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: '0e6088377e3cd361749b9aa98f2e6485a76fb577', class: "co-radio-group__labels" }, this.label && h("span", { key: '411bf1ec096311df2b25fac0b39c402d01365e5c', class: "co-radio-group__label" }, this.label), this.secondaryLabel && (h("span", { key: '917cc0dd87362d7add21d407869872a14378a0b9', class: "co-radio-group__secondary-label" }, this.secondaryLabel)))), h("div", { key: '6459fee05efb04d402c0c98dfcbad83fc7da7f06', class: {
|
|
67
72
|
'co-radio-group__options': true,
|
|
68
73
|
[`co-radio-group__options--${this.direction}`]: true,
|
|
69
74
|
} }, opts.map(opt => {
|
|
@@ -78,7 +83,7 @@ export class CoRadioGroup {
|
|
|
78
83
|
'co-radio-group__circle--checked': isChecked,
|
|
79
84
|
'co-radio-group__circle--disabled': isDisabled,
|
|
80
85
|
}, role: "radio", "aria-checked": String(isChecked), "aria-label": opt.label }), h("span", { class: "co-radio-group__option-label" }, opt.label)));
|
|
81
|
-
})), hasHelper && (h("div", { key: '
|
|
86
|
+
})), hasHelper && (h("div", { key: '9cec80138190321eafb700039b2d33d24e420e30', class: `co-radio-group__helper co-radio-group__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '8be3d15ffa7d528927f907b4c9523b7f2a6cdb94', name: this.statusIcon, size: 14, weight: "fill", class: "co-radio-group__helper-icon" })), h("span", { key: '6ccf0cfeea7f6e00047b2849edff9fd988eb36a6', class: "co-radio-group__helper-text" }, this.helperText)))));
|
|
82
87
|
}
|
|
83
88
|
static get is() { return "co-radio-group"; }
|
|
84
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -219,7 +224,7 @@ export class CoRadioGroup {
|
|
|
219
224
|
"references": {
|
|
220
225
|
"RadioOption": {
|
|
221
226
|
"location": "local",
|
|
222
|
-
"path": "/Users/agox/worktrees/cobalt-release-
|
|
227
|
+
"path": "/Users/agox/worktrees/cobalt-release-0.11.2/packages/core/src/components/co-radio-group/co-radio-group.tsx",
|
|
223
228
|
"id": "src/components/co-radio-group/co-radio-group.tsx::RadioOption"
|
|
224
229
|
}
|
|
225
230
|
}
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Calificación con estrellas (u otro ícono): el usuario elige de 1 a `max` y
|
|
4
|
+
* volver a elegir el valor actual lo pone en 0. Wrapper Vue: `CoRating` de
|
|
5
|
+
* `@prolibu-suite/cobalt-vue`.
|
|
6
|
+
*/
|
|
2
7
|
export class CoRating {
|
|
3
8
|
constructor() {
|
|
9
|
+
/** Calificación actual, 0 a `max` (reflejado; el componente lo actualiza al elegir). */
|
|
4
10
|
this.value = 0;
|
|
11
|
+
/** Cantidad de íconos (default 5). */
|
|
5
12
|
this.max = 5;
|
|
13
|
+
/** Tamaño de los íconos: `small` (default) o `large`. */
|
|
6
14
|
this.size = 'small';
|
|
15
|
+
/** Deshabilita la interacción y atenúa el control. */
|
|
7
16
|
this.disabled = false;
|
|
17
|
+
/** Solo muestra el valor, sin interacción ni hover (atributo `read-only`). */
|
|
8
18
|
this.readOnly = false;
|
|
19
|
+
/** Ícono Phosphor de cada paso (default `star`). */
|
|
9
20
|
this.icon = 'star';
|
|
21
|
+
/** Estado de validación: colorea el `helperText`. */
|
|
10
22
|
this.status = 'default';
|
|
11
23
|
this.hoverValue = 0;
|
|
12
24
|
this.handleClick = (star) => {
|
|
@@ -36,16 +48,16 @@ export class CoRating {
|
|
|
36
48
|
const iconSize = this.size === 'large' ? 28 : 20;
|
|
37
49
|
const active = this.hoverValue || this.value;
|
|
38
50
|
const stars = Array.from({ length: this.max }, (_, i) => i + 1);
|
|
39
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: '007e7bf1aef33b6890f98e1fdac362aa3f578802', class: {
|
|
40
52
|
'co-rating': true,
|
|
41
53
|
'co-rating--disabled': this.disabled,
|
|
42
54
|
'co-rating--readonly': this.readOnly,
|
|
43
55
|
[`co-rating--${this.size}`]: true,
|
|
44
|
-
} }, this.label && h("label", { key: '
|
|
56
|
+
} }, this.label && h("label", { key: 'ebc8a44655b6f975d792546762d3fe1e4ccf2958', class: "co-rating__label" }, this.label), h("div", { key: 'eba75b8e98a075531afff4fe5781a63119206d7b', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
|
|
45
57
|
'co-rating__star': true,
|
|
46
58
|
'co-rating__star--active': star <= active,
|
|
47
59
|
'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
|
|
48
|
-
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '
|
|
60
|
+
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '571bff4884aa6695e2edcb1ae42baae1d57eb3a0', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '73cfba25f9b28ea6a6dc7b48c6f2009ac4024779', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '4029c8c33d6a967c063a886eca3043b22ecc9a2d', class: "co-rating__helper-text" }, this.helperText)))));
|
|
49
61
|
}
|
|
50
62
|
static get is() { return "co-rating"; }
|
|
51
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,7 +85,7 @@ export class CoRating {
|
|
|
73
85
|
"optional": true,
|
|
74
86
|
"docs": {
|
|
75
87
|
"tags": [],
|
|
76
|
-
"text": ""
|
|
88
|
+
"text": "Etiqueta del campo."
|
|
77
89
|
},
|
|
78
90
|
"getter": false,
|
|
79
91
|
"setter": false,
|
|
@@ -92,7 +104,7 @@ export class CoRating {
|
|
|
92
104
|
"optional": false,
|
|
93
105
|
"docs": {
|
|
94
106
|
"tags": [],
|
|
95
|
-
"text": ""
|
|
107
|
+
"text": "Calificaci\u00F3n actual, 0 a `max` (reflejado; el componente lo actualiza al elegir)."
|
|
96
108
|
},
|
|
97
109
|
"getter": false,
|
|
98
110
|
"setter": false,
|
|
@@ -112,7 +124,7 @@ export class CoRating {
|
|
|
112
124
|
"optional": false,
|
|
113
125
|
"docs": {
|
|
114
126
|
"tags": [],
|
|
115
|
-
"text": ""
|
|
127
|
+
"text": "Cantidad de \u00EDconos (default 5)."
|
|
116
128
|
},
|
|
117
129
|
"getter": false,
|
|
118
130
|
"setter": false,
|
|
@@ -132,7 +144,7 @@ export class CoRating {
|
|
|
132
144
|
"optional": false,
|
|
133
145
|
"docs": {
|
|
134
146
|
"tags": [],
|
|
135
|
-
"text": ""
|
|
147
|
+
"text": "Tama\u00F1o de los \u00EDconos: `small` (default) o `large`."
|
|
136
148
|
},
|
|
137
149
|
"getter": false,
|
|
138
150
|
"setter": false,
|
|
@@ -152,7 +164,7 @@ export class CoRating {
|
|
|
152
164
|
"optional": false,
|
|
153
165
|
"docs": {
|
|
154
166
|
"tags": [],
|
|
155
|
-
"text": ""
|
|
167
|
+
"text": "Deshabilita la interacci\u00F3n y aten\u00FAa el control."
|
|
156
168
|
},
|
|
157
169
|
"getter": false,
|
|
158
170
|
"setter": false,
|
|
@@ -172,7 +184,7 @@ export class CoRating {
|
|
|
172
184
|
"optional": false,
|
|
173
185
|
"docs": {
|
|
174
186
|
"tags": [],
|
|
175
|
-
"text": ""
|
|
187
|
+
"text": "Solo muestra el valor, sin interacci\u00F3n ni hover (atributo `read-only`)."
|
|
176
188
|
},
|
|
177
189
|
"getter": false,
|
|
178
190
|
"setter": false,
|
|
@@ -192,7 +204,7 @@ export class CoRating {
|
|
|
192
204
|
"optional": false,
|
|
193
205
|
"docs": {
|
|
194
206
|
"tags": [],
|
|
195
|
-
"text": ""
|
|
207
|
+
"text": "\u00CDcono Phosphor de cada paso (default `star`)."
|
|
196
208
|
},
|
|
197
209
|
"getter": false,
|
|
198
210
|
"setter": false,
|
|
@@ -212,7 +224,7 @@ export class CoRating {
|
|
|
212
224
|
"optional": true,
|
|
213
225
|
"docs": {
|
|
214
226
|
"tags": [],
|
|
215
|
-
"text": ""
|
|
227
|
+
"text": "Texto de ayuda o de error bajo el control."
|
|
216
228
|
},
|
|
217
229
|
"getter": false,
|
|
218
230
|
"setter": false,
|
|
@@ -231,7 +243,7 @@ export class CoRating {
|
|
|
231
243
|
"optional": false,
|
|
232
244
|
"docs": {
|
|
233
245
|
"tags": [],
|
|
234
|
-
"text": ""
|
|
246
|
+
"text": "Estado de validaci\u00F3n: colorea el `helperText`."
|
|
235
247
|
},
|
|
236
248
|
"getter": false,
|
|
237
249
|
"setter": false,
|
|
@@ -255,7 +267,7 @@ export class CoRating {
|
|
|
255
267
|
"composed": true,
|
|
256
268
|
"docs": {
|
|
257
269
|
"tags": [],
|
|
258
|
-
"text": ""
|
|
270
|
+
"text": "Cambi\u00F3 la calificaci\u00F3n (`value` ya est\u00E1 actualizado); `detail` = nuevo valor (0 si se desmarc\u00F3)."
|
|
259
271
|
},
|
|
260
272
|
"complexType": {
|
|
261
273
|
"original": "number",
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
/* co-ref-field — reference selector with search + pagination */
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @prop --co-ref-field-label-color: Color de la etiqueta.
|
|
5
|
+
* @prop --co-ref-field-label-font-family: Familia tipográfica de la etiqueta.
|
|
6
|
+
* @prop --co-ref-field-label-font-size: Tamaño de la etiqueta.
|
|
7
|
+
* @prop --co-ref-field-label-font-weight: Peso de la etiqueta.
|
|
8
|
+
* @prop --co-ref-field-label-text-transform: Transformación de la etiqueta (p. ej. uppercase).
|
|
9
|
+
* @prop --co-ref-field-label-letter-spacing: Espaciado de letras de la etiqueta.
|
|
10
|
+
* @prop --co-ref-field-trigger-bg: Fondo del trigger.
|
|
11
|
+
* @prop --co-ref-field-trigger-border-color: Color del borde del trigger.
|
|
12
|
+
* @prop --co-ref-field-trigger-badge-bg: Fondo de la insignia de estado (`triggerBadgeIcon`).
|
|
13
|
+
* @prop --co-ref-field-inherited-badge-border: Borde del chip del valor heredado.
|
|
14
|
+
* @prop --co-ref-field-inherited-badge-color: Color de texto del chip del valor heredado.
|
|
15
|
+
*/
|
|
16
|
+
|
|
3
17
|
:host {
|
|
4
18
|
display: block;
|
|
5
19
|
font-family: var(--co-font-family-primary);
|