@prolibu-suite/cobalt-core 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/custom-elements.json +6887 -3484
- package/dist/cjs/co-accordion.cjs.entry.js +4 -4
- package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
- package/dist/cjs/co-autocomplete.cjs.entry.js +38 -73
- package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
- package/dist/cjs/co-avatar.cjs.entry.js +9 -4
- package/dist/cjs/co-badge.cjs.entry.js +2 -2
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
- package/dist/cjs/co-breadcrumb-item.cjs.entry.js +37 -0
- package/dist/cjs/co-breadcrumb.cjs.entry.js +55 -0
- package/dist/cjs/co-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-button.cjs.entry.js +10 -4
- package/dist/cjs/co-calendar-month.cjs.entry.js +2 -2
- package/dist/cjs/co-calendar_3.cjs.entry.js +50 -15
- package/dist/cjs/co-card.cjs.entry.js +3 -3
- package/dist/cjs/co-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/co-checkbox.cjs.entry.js +18 -6
- package/dist/cjs/co-chip_2.cjs.entry.js +485 -0
- package/dist/cjs/co-color-picker.cjs.entry.js +4 -4
- package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-combobox.cjs.entry.js +51 -82
- package/dist/cjs/co-command-search.cjs.entry.js +20 -59
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
- package/dist/cjs/co-data-table.cjs.entry.js +73 -17
- package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-date-range.cjs.entry.js +2 -2
- package/dist/cjs/co-drive-card.cjs.entry.js +81 -0
- package/dist/cjs/co-drop-zone.cjs.entry.js +63 -0
- package/dist/cjs/co-empty-state.cjs.entry.js +13 -3
- package/dist/cjs/co-event-calendar.cjs.entry.js +3 -3
- package/dist/cjs/co-fab.cjs.entry.js +5 -5
- package/dist/cjs/co-file-field.cjs.entry.js +7 -7
- package/dist/cjs/co-file-type-tile.cjs.entry.js +78 -0
- package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/co-icon-button.cjs.entry.js +23 -7
- package/dist/cjs/co-icon.cjs.entry.js +3 -3
- package/dist/cjs/co-input.cjs.entry.js +36 -7
- package/dist/cjs/co-json-field.cjs.entry.js +5 -5
- package/dist/cjs/co-lightbox.cjs.entry.js +6 -6
- package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
- package/dist/cjs/co-list-item.cjs.entry.js +5 -5
- package/dist/cjs/co-loader.cjs.entry.js +34 -0
- package/dist/cjs/co-media-thumb.cjs.entry.js +36 -0
- package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +11 -3
- package/dist/cjs/co-menu.cjs.entry.js +3 -3
- package/dist/cjs/co-modal.cjs.entry.js +29 -5
- package/dist/cjs/co-navbar.cjs.entry.js +3 -3
- package/dist/cjs/co-number-field.cjs.entry.js +5 -5
- package/dist/cjs/{co-loader_2.cjs.entry.js → co-overlay.cjs.entry.js} +2 -32
- package/dist/cjs/co-page-header.cjs.entry.js +2 -2
- package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
- package/dist/cjs/co-popover.cjs.entry.js +12 -3
- package/dist/cjs/co-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
- package/dist/cjs/co-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/co-radio.cjs.entry.js +4 -4
- package/dist/cjs/co-rating.cjs.entry.js +4 -4
- package/dist/cjs/co-ref-field.cjs.entry.js +31 -135
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +5 -5
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +2 -2
- package/dist/cjs/co-row.cjs.entry.js +3 -3
- package/dist/cjs/co-segmented-bar.cjs.entry.js +58 -0
- package/dist/cjs/co-select.cjs.entry.js +7 -7
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +10 -8
- package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/co-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/co-slider.cjs.entry.js +3 -3
- package/dist/cjs/co-switch.cjs.entry.js +6 -6
- package/dist/cjs/co-tab-group.cjs.entry.js +21 -3
- package/dist/cjs/co-tab.cjs.entry.js +8 -5
- package/dist/cjs/co-tags-field.cjs.entry.js +8 -8
- package/dist/cjs/co-textarea.cjs.entry.js +6 -6
- package/dist/cjs/co-toast.cjs.entry.js +10 -4
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +16 -4
- package/dist/cjs/co-toggle-button.cjs.entry.js +9 -5
- package/dist/cjs/co-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/co-transfer-list.cjs.entry.js +3 -3
- package/dist/cjs/co-video.cjs.entry.js +4 -4
- package/dist/cjs/cobalt.cjs.js +2 -2
- package/dist/cjs/{fieldChip-CDIMz_Y6.js → fieldChip-D8YJCyQF.js} +1 -1
- package/dist/cjs/{index-5NdsiFjZ.js → index-4y1Dm145.js} +64 -11
- package/dist/cjs/{index-BumlM92r.js → index-DxEFsH_t.js} +69 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{requiredMark-CqMGt1H1.js → requiredMark-B3pKyqYI.js} +1 -1
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/p-002e5beb.entry.js +1 -0
- package/dist/cobalt/{p-ba90e871.entry.js → p-02c5a9a9.entry.js} +1 -1
- package/dist/cobalt/p-075eed3d.entry.js +1 -0
- package/dist/cobalt/p-0c0621a7.entry.js +1 -0
- package/dist/cobalt/{p-ef7d4ae3.entry.js → p-0d6a562d.entry.js} +1 -1
- package/dist/cobalt/p-0d7536a8.entry.js +1 -0
- package/dist/cobalt/{p-6d1217c3.entry.js → p-13fc9c8a.entry.js} +1 -1
- package/dist/cobalt/{p-afb7e19e.entry.js → p-14d4c5c7.entry.js} +1 -1
- package/dist/cobalt/{p-31ab9a46.entry.js → p-1681ce1d.entry.js} +1 -1
- package/dist/cobalt/{p-93046365.entry.js → p-1726ce07.entry.js} +1 -1
- package/dist/cobalt/p-20ba59a2.entry.js +1 -0
- package/dist/cobalt/p-2d1cbd7f.entry.js +1 -0
- package/dist/cobalt/{p-4871690e.entry.js → p-373cd08e.entry.js} +1 -1
- package/dist/cobalt/{p-37595103.entry.js → p-3f06d373.entry.js} +1 -1
- package/dist/cobalt/p-3f68fd2e.entry.js +1 -0
- package/dist/cobalt/p-47a2dd67.entry.js +1 -0
- package/dist/cobalt/p-495c9b99.entry.js +1 -0
- package/dist/cobalt/p-4a075257.entry.js +1 -0
- package/dist/cobalt/{p-52de17da.entry.js → p-5647ca9d.entry.js} +1 -1
- package/dist/cobalt/{p-1a07c23c.entry.js → p-5b31d45b.entry.js} +1 -1
- package/dist/cobalt/{p-929e647f.entry.js → p-5c3101b5.entry.js} +1 -1
- package/dist/cobalt/{p-8d59f5ad.entry.js → p-5c43d30e.entry.js} +1 -1
- package/dist/cobalt/{p-4504f7b0.entry.js → p-5e9a9caf.entry.js} +1 -1
- package/dist/cobalt/p-5edd0d3f.entry.js +1 -0
- package/dist/cobalt/{p-12e2c2c4.entry.js → p-627d2d1a.entry.js} +1 -1
- package/dist/cobalt/p-6911a034.entry.js +1 -0
- package/dist/cobalt/{p-e53861e4.entry.js → p-6ad1625a.entry.js} +1 -1
- package/dist/cobalt/{p-f4063c41.entry.js → p-70f70e02.entry.js} +1 -1
- package/dist/cobalt/p-73b30ebb.entry.js +1 -0
- package/dist/cobalt/p-771bc8fe.entry.js +1 -0
- package/dist/cobalt/p-7780ddb5.entry.js +1 -0
- package/dist/cobalt/p-77d01b39.entry.js +1 -0
- package/dist/cobalt/p-7FZXeBK4.js +1 -0
- package/dist/cobalt/p-7a3fb93b.entry.js +1 -0
- package/dist/cobalt/{p-0bb55163.entry.js → p-809015dd.entry.js} +1 -1
- package/dist/cobalt/p-8128e84a.entry.js +1 -0
- package/dist/cobalt/p-81cfd951.entry.js +1 -0
- package/dist/cobalt/p-82ce1178.entry.js +1 -0
- package/dist/cobalt/p-85eed52c.entry.js +1 -0
- package/dist/cobalt/p-86d4e016.entry.js +1 -0
- package/dist/cobalt/{p-cb235aa7.entry.js → p-86e60cfa.entry.js} +1 -1
- package/dist/cobalt/p-8a9ed2da.entry.js +1 -0
- package/dist/cobalt/{p-8e1dc062.entry.js → p-8dfb6886.entry.js} +1 -1
- package/dist/cobalt/{p-2f86e1e0.entry.js → p-8e823c15.entry.js} +1 -1
- package/dist/cobalt/p-9a587867.entry.js +1 -0
- package/dist/cobalt/p-9c6ca902.entry.js +1 -0
- package/dist/cobalt/{p-279bf91c.entry.js → p-9c873a6a.entry.js} +1 -1
- package/dist/cobalt/{p-BZJ7NCm5.js → p-BAA4ln31.js} +1 -1
- package/dist/cobalt/{p-CegCk7FL.js → p-Bgxofdfb.js} +1 -1
- package/dist/cobalt/p-a6900010.entry.js +1 -0
- package/dist/cobalt/p-a9afbaa6.entry.js +1 -0
- package/dist/cobalt/{p-c10697e1.entry.js → p-aa20ffca.entry.js} +1 -1
- package/dist/cobalt/{p-3863ea91.entry.js → p-ac5df270.entry.js} +1 -1
- package/dist/cobalt/{p-b6f20268.entry.js → p-af4cb263.entry.js} +1 -1
- package/dist/cobalt/p-b1197c08.entry.js +1 -0
- package/dist/cobalt/{p-4c01d984.entry.js → p-b4bed98b.entry.js} +1 -1
- package/dist/cobalt/{p-58a53421.entry.js → p-b8ec0cc1.entry.js} +1 -1
- package/dist/cobalt/p-ba66584f.entry.js +1 -0
- package/dist/cobalt/p-bb534985.entry.js +1 -0
- package/dist/cobalt/{p-1531d3c9.entry.js → p-c0f39ddd.entry.js} +1 -1
- package/dist/cobalt/{p-51a53177.entry.js → p-c1e53e4c.entry.js} +1 -1
- package/dist/cobalt/p-c2e2eee9.entry.js +1 -0
- package/dist/cobalt/p-c3462def.entry.js +1 -0
- package/dist/cobalt/p-c6fedc59.entry.js +1 -0
- package/dist/cobalt/{p-6e808b3a.entry.js → p-c750b2d2.entry.js} +1 -1
- package/dist/cobalt/{p-70b14b05.entry.js → p-cc0a4617.entry.js} +1 -1
- package/dist/cobalt/{p-29be61a9.entry.js → p-cc8e2f16.entry.js} +1 -1
- package/dist/cobalt/{p-790d384e.entry.js → p-d9608046.entry.js} +1 -1
- package/dist/cobalt/{p-cfb36943.entry.js → p-e1957078.entry.js} +1 -1
- package/dist/cobalt/{p-8d7fdb9d.entry.js → p-e2762263.entry.js} +1 -1
- package/dist/cobalt/p-e33853fa.entry.js +1 -0
- package/dist/cobalt/p-e420d5c9.entry.js +1 -0
- package/dist/cobalt/{p-377c2ccc.entry.js → p-e4a539da.entry.js} +1 -1
- package/dist/cobalt/{p-d809bd44.entry.js → p-e7085f08.entry.js} +1 -1
- package/dist/cobalt/p-e710b9ea.entry.js +1 -0
- package/dist/cobalt/{p-eb18fdbf.entry.js → p-e9aaeaf7.entry.js} +1 -1
- package/dist/cobalt/{p-65af5017.entry.js → p-f073b467.entry.js} +1 -1
- package/dist/cobalt/p-f0de4415.entry.js +1 -0
- package/dist/cobalt/p-f36e461f.entry.js +1 -0
- package/dist/cobalt/p-f6ac5301.entry.js +1 -0
- package/dist/cobalt/{p-9a04ca90.entry.js → p-f6b0c4a0.entry.js} +1 -1
- package/dist/cobalt/p-f86ccb38.entry.js +1 -0
- package/dist/cobalt/{p-1f747e45.entry.js → p-fb251497.entry.js} +1 -1
- package/dist/cobalt/p-fd27c2bd.entry.js +1 -0
- package/dist/cobalt/p-tT-aZV0-.js +2 -0
- package/dist/collection/collection-manifest.json +9 -1
- package/dist/collection/components/co-accordion/co-accordion.css +20 -8
- package/dist/collection/components/co-accordion/co-accordion.js +5 -2
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
- package/dist/collection/components/co-autocomplete/co-autocomplete.css +4 -751
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +41 -76
- package/dist/collection/components/co-avatar/co-avatar.js +27 -3
- package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
- package/dist/collection/components/co-badge/co-badge.js +1 -1
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
- package/dist/collection/components/co-breadcrumb/co-breadcrumb.css +6 -0
- package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +111 -0
- package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.css +66 -0
- package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +169 -0
- package/dist/collection/components/co-button/co-button.css +23 -0
- package/dist/collection/components/co-button/co-button.js +48 -2
- package/dist/collection/components/co-button-group/co-button-group.js +2 -2
- package/dist/collection/components/co-calendar/co-calendar.css +12 -12
- package/dist/collection/components/co-calendar/co-calendar.js +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
- package/dist/collection/components/co-card/co-card.js +2 -2
- package/dist/collection/components/co-checkbox/co-checkbox.css +63 -0
- package/dist/collection/components/co-checkbox/co-checkbox.js +58 -7
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +3 -3
- package/dist/collection/components/co-chip/co-chip.css +56 -1
- package/dist/collection/components/co-chip/co-chip.js +52 -9
- package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- package/dist/collection/components/co-combobox/co-combobox.css +6 -830
- package/dist/collection/components/co-combobox/co-combobox.js +73 -84
- package/dist/collection/components/co-command-search/co-command-search.css +2 -60
- package/dist/collection/components/co-command-search/co-command-search.js +23 -48
- package/dist/collection/components/co-data-table/co-data-table.css +47 -8
- package/dist/collection/components/co-data-table/co-data-table.js +199 -15
- package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
- package/dist/collection/components/co-date-field/co-date-field.css +4 -7
- package/dist/collection/components/co-date-field/co-date-field.js +4 -4
- package/dist/collection/components/co-date-range/co-date-range.js +1 -1
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +9 -9
- package/dist/collection/components/co-drawer/co-drawer.css +63 -10
- package/dist/collection/components/co-drawer/co-drawer.js +60 -5
- package/dist/collection/components/co-drive-card/co-drive-card.css +285 -0
- package/dist/collection/components/co-drive-card/co-drive-card.js +329 -0
- package/dist/collection/components/co-drop-zone/co-drop-zone.css +49 -0
- package/dist/collection/components/co-drop-zone/co-drop-zone.js +197 -0
- package/dist/collection/components/co-empty-state/co-empty-state.css +39 -1
- package/dist/collection/components/co-empty-state/co-empty-state.js +72 -1
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
- package/dist/collection/components/co-fab/co-fab.css +8 -1
- package/dist/collection/components/co-fab/co-fab.js +24 -5
- package/dist/collection/components/co-file-field/co-file-field.js +5 -5
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.css +14 -0
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +164 -0
- package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
- package/dist/collection/components/co-icon/co-icon.js +2 -2
- package/dist/collection/components/co-icon-button/co-icon-button.css +11 -4
- package/dist/collection/components/co-icon-button/co-icon-button.js +80 -25
- package/dist/collection/components/co-input/co-input.css +67 -6
- package/dist/collection/components/co-input/co-input.js +54 -5
- package/dist/collection/components/co-json-field/co-json-field.js +3 -3
- package/dist/collection/components/co-lightbox/co-lightbox.css +2 -2
- package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
- package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
- package/dist/collection/components/co-list-item/co-list-item.js +4 -4
- package/dist/collection/components/co-media-thumb/co-media-thumb.css +43 -0
- package/dist/collection/components/co-media-thumb/co-media-thumb.js +148 -0
- package/dist/collection/components/co-menu/co-menu.css +6 -4
- package/dist/collection/components/co-menu/co-menu.js +20 -1
- package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
- package/dist/collection/components/co-menu-item/co-menu-item.css +27 -9
- package/dist/collection/components/co-menu-item/co-menu-item.js +69 -2
- package/dist/collection/components/co-modal/co-modal.css +17 -0
- package/dist/collection/components/co-modal/co-modal.js +59 -6
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.css +10 -11
- package/dist/collection/components/co-number-field/co-number-field.js +2 -2
- package/dist/collection/components/co-option-list/co-option-list.css +966 -0
- package/dist/collection/components/co-option-list/co-option-list.js +899 -0
- package/dist/collection/components/co-option-list/optionListLogic.js +100 -0
- package/dist/collection/components/co-overlay/co-overlay.js +1 -1
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.css +4 -7
- package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
- package/dist/collection/components/co-popover/co-popover.js +11 -2
- package/dist/collection/components/co-progress-bar/co-progress-bar.css +1 -1
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
- package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
- package/dist/collection/components/co-radio/co-radio.js +3 -3
- package/dist/collection/components/co-radio-group/co-radio-group.js +3 -3
- package/dist/collection/components/co-rating/co-rating.js +3 -3
- package/dist/collection/components/co-ref-field/co-ref-field.css +6 -897
- package/dist/collection/components/co-ref-field/co-ref-field.js +0 -0
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +1 -1
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +2 -2
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-segmented-bar/co-segmented-bar.css +36 -0
- package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +176 -0
- package/dist/collection/components/co-select/co-select.css +4 -7
- package/dist/collection/components/co-select/co-select.js +4 -4
- package/dist/collection/components/co-separator/co-separator.js +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +8 -6
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +8 -6
- package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.css +3 -1
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.css +93 -7
- package/dist/collection/components/co-tab/co-tab.js +45 -3
- package/dist/collection/components/co-tab-group/co-tab-group.css +19 -0
- package/dist/collection/components/co-tab-group/co-tab-group.js +41 -1
- package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
- package/dist/collection/components/co-textarea/co-textarea.js +4 -4
- package/dist/collection/components/co-toast/co-toast.css +56 -2
- package/dist/collection/components/co-toast/co-toast.js +27 -2
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +38 -0
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +46 -3
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.css +16 -0
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +34 -2
- package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
- package/dist/collection/components/co-video/co-video.css +2 -2
- package/dist/collection/components/co-video/co-video.js +2 -2
- package/dist/components/co-accordion.js +1 -1
- package/dist/components/co-app-shell.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.d.ts +11 -0
- package/dist/components/co-breadcrumb-item.js +1 -0
- package/dist/components/co-breadcrumb.d.ts +11 -0
- package/dist/components/co-breadcrumb.js +1 -0
- 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.js +1 -1
- package/dist/components/co-card.js +1 -1
- package/dist/components/co-checkbox-group.js +1 -1
- package/dist/components/co-checkbox.js +1 -1
- package/dist/components/co-chip.js +1 -1
- package/dist/components/co-color-picker.js +1 -1
- package/dist/components/co-column-picker.js +1 -1
- package/dist/components/co-combobox.js +1 -1
- package/dist/components/co-command-search.js +1 -1
- package/dist/components/co-data-table-pagination.js +1 -1
- package/dist/components/co-data-table.js +1 -1
- package/dist/components/co-date-field.js +1 -1
- package/dist/components/co-date-picker.js +1 -1
- package/dist/components/co-date-range-picker.js +1 -1
- package/dist/components/co-date-range.js +1 -1
- package/dist/components/co-drawer.js +1 -1
- package/dist/components/co-drive-card.d.ts +11 -0
- package/dist/components/co-drive-card.js +1 -0
- package/dist/components/co-drop-zone.d.ts +11 -0
- package/dist/components/co-drop-zone.js +1 -0
- package/dist/components/co-empty-state.js +1 -1
- package/dist/components/co-event-calendar.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.d.ts +11 -0
- package/dist/components/co-file-type-tile.js +1 -0
- package/dist/components/co-helper-text.js +1 -1
- package/dist/components/co-icon-button.js +1 -1
- package/dist/components/co-icon.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-json-field.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-footer.js +1 -1
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-media-thumb.d.ts +11 -0
- package/dist/components/co-media-thumb.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/co-option-list.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/co-segmented-bar.js +1 -0
- package/dist/components/co-select.js +1 -1
- package/dist/components/co-separator.js +1 -1
- package/dist/components/co-sidebar-nav.js +1 -1
- package/dist/components/co-sidebar.js +1 -1
- package/dist/components/co-skeleton.js +1 -1
- package/dist/components/co-slider.js +1 -1
- package/dist/components/co-switch.js +1 -1
- package/dist/components/co-tab-group.js +1 -1
- package/dist/components/co-tab.js +1 -1
- package/dist/components/co-tags-field.js +1 -1
- package/dist/components/co-textarea.js +1 -1
- package/dist/components/co-toast.js +1 -1
- package/dist/components/co-toggle-button-group.js +1 -1
- package/dist/components/co-toggle-button.js +1 -1
- package/dist/components/co-tooltip.js +1 -1
- package/dist/components/co-transfer-list.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-BHqdcGDh.js +1 -0
- package/dist/components/{p-D3Y_ti3Q.js → p-BJTMFYax.js} +1 -1
- package/dist/components/p-Ba5lW0pA.js +1 -0
- package/dist/components/{p-CegCk7FL.js → p-Bgxofdfb.js} +1 -1
- package/dist/components/{p-BB2OaYKF.js → p-CNIs9j-h.js} +1 -1
- package/dist/components/{p-DeZxp9vb.js → p-COb8X_fE.js} +1 -1
- package/dist/components/{p-BFeE_fiq.js → p-Cam92sWP.js} +1 -1
- package/dist/components/p-CmCsm4L-.js +1 -0
- package/dist/components/p-D3ts7oo9.js +1 -0
- package/dist/components/{p-BNKz39GA.js → p-D4SOCy8I.js} +1 -1
- package/dist/components/{p-DKh8ZK4U.js → p-Dh-h40mY.js} +1 -1
- package/dist/components/p-DrQh1Cb8.js +1 -0
- package/dist/components/p-DvL2TcDG.js +1 -0
- package/dist/components/{p-C_ULDaks.js → p-OKwHt2i9.js} +1 -1
- package/dist/components/p-QWi9AmnD.js +1 -0
- package/dist/components/p-Xwo2HQmt.js +1 -0
- package/dist/components/p-_k-j03K-.js +1 -0
- package/dist/components/{p-B7vGYFbO.js → p-eSq2ze8W.js} +1 -1
- package/dist/components/p-ivjj-BP8.js +1 -0
- package/dist/components/{p-DxCFMMfY.js → p-lus32JrB.js} +1 -1
- package/dist/esm/co-accordion.entry.js +4 -4
- package/dist/esm/co-app-shell.entry.js +3 -3
- package/dist/esm/co-autocomplete.entry.js +38 -73
- package/dist/esm/co-avatar-group.entry.js +3 -3
- package/dist/esm/co-avatar.entry.js +9 -4
- package/dist/esm/co-badge.entry.js +2 -2
- package/dist/esm/co-bottom-sheet.entry.js +4 -4
- package/dist/esm/co-breadcrumb-item.entry.js +35 -0
- package/dist/esm/co-breadcrumb.entry.js +53 -0
- package/dist/esm/co-button-group.entry.js +3 -3
- package/dist/esm/co-button.entry.js +10 -4
- package/dist/esm/co-calendar-month.entry.js +2 -2
- package/dist/esm/co-calendar_3.entry.js +50 -15
- package/dist/esm/co-card.entry.js +3 -3
- package/dist/esm/co-checkbox-group.entry.js +4 -4
- package/dist/esm/co-checkbox.entry.js +18 -6
- package/dist/esm/co-chip_2.entry.js +482 -0
- package/dist/esm/co-color-picker.entry.js +4 -4
- package/dist/esm/co-column-picker.entry.js +3 -3
- package/dist/esm/co-combobox.entry.js +52 -83
- package/dist/esm/co-command-search.entry.js +21 -60
- package/dist/esm/co-data-table-pagination.entry.js +5 -5
- package/dist/esm/co-data-table.entry.js +73 -17
- package/dist/esm/co-date-picker.entry.js +2 -2
- package/dist/esm/co-date-range-picker.entry.js +3 -3
- package/dist/esm/co-date-range.entry.js +2 -2
- package/dist/esm/co-drive-card.entry.js +79 -0
- package/dist/esm/co-drop-zone.entry.js +61 -0
- package/dist/esm/co-empty-state.entry.js +13 -3
- package/dist/esm/co-event-calendar.entry.js +3 -3
- package/dist/esm/co-fab.entry.js +5 -5
- package/dist/esm/co-file-field.entry.js +7 -7
- package/dist/esm/co-file-type-tile.entry.js +76 -0
- package/dist/esm/co-helper-text.entry.js +3 -3
- package/dist/esm/co-icon-button.entry.js +23 -7
- package/dist/esm/co-icon.entry.js +3 -3
- package/dist/esm/co-input.entry.js +36 -7
- package/dist/esm/co-json-field.entry.js +5 -5
- package/dist/esm/co-lightbox.entry.js +6 -6
- package/dist/esm/co-list-footer.entry.js +2 -2
- package/dist/esm/co-list-item.entry.js +5 -5
- package/dist/esm/co-loader.entry.js +32 -0
- package/dist/esm/co-media-thumb.entry.js +34 -0
- package/dist/esm/co-menu-divider.entry.js +2 -2
- package/dist/esm/co-menu-item.entry.js +11 -3
- package/dist/esm/co-menu.entry.js +3 -3
- package/dist/esm/co-modal.entry.js +29 -5
- package/dist/esm/co-navbar.entry.js +3 -3
- package/dist/esm/co-number-field.entry.js +5 -5
- package/dist/esm/{co-loader_2.entry.js → co-overlay.entry.js} +3 -32
- package/dist/esm/co-page-header.entry.js +2 -2
- package/dist/esm/co-phone-field.entry.js +4 -4
- package/dist/esm/co-popover.entry.js +12 -3
- package/dist/esm/co-progress-bar.entry.js +4 -4
- package/dist/esm/co-progress-circle.entry.js +3 -3
- package/dist/esm/co-radio-group.entry.js +4 -4
- package/dist/esm/co-radio.entry.js +4 -4
- package/dist/esm/co-rating.entry.js +4 -4
- package/dist/esm/co-ref-field.entry.js +31 -135
- package/dist/esm/co-rich-text-editor.entry.js +5 -5
- package/dist/esm/co-rich-text-toolbar.entry.js +1 -1
- package/dist/esm/co-rich-text-viewer.entry.js +2 -2
- package/dist/esm/co-row.entry.js +3 -3
- package/dist/esm/co-segmented-bar.entry.js +56 -0
- package/dist/esm/co-select.entry.js +7 -7
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +10 -8
- package/dist/esm/co-sidebar.entry.js +3 -3
- package/dist/esm/co-skeleton.entry.js +2 -2
- package/dist/esm/co-slider.entry.js +3 -3
- package/dist/esm/co-switch.entry.js +6 -6
- package/dist/esm/co-tab-group.entry.js +21 -3
- package/dist/esm/co-tab.entry.js +8 -5
- package/dist/esm/co-tags-field.entry.js +8 -8
- package/dist/esm/co-textarea.entry.js +6 -6
- package/dist/esm/co-toast.entry.js +10 -4
- package/dist/esm/co-toggle-button-group.entry.js +16 -4
- package/dist/esm/co-toggle-button.entry.js +9 -5
- package/dist/esm/co-tooltip.entry.js +3 -3
- package/dist/esm/co-transfer-list.entry.js +3 -3
- package/dist/esm/co-video.entry.js +4 -4
- package/dist/esm/cobalt.js +3 -3
- package/dist/esm/{fieldChip-GPikjpYw.js → fieldChip-ChXW__C5.js} +1 -1
- package/dist/esm/{index-w_Wxgclf.js → index-Cyrxk8Qq.js} +64 -11
- package/dist/esm/{index-CYsftTKf.js → index-tT-aZV0-.js} +69 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{requiredMark-CEbXKHcU.js → requiredMark-C7-_2UhB.js} +1 -1
- package/dist/types/components/co-accordion/co-accordion.d.ts +3 -0
- package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +12 -14
- package/dist/types/components/co-avatar/co-avatar.d.ts +2 -0
- package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +27 -0
- package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +33 -0
- package/dist/types/components/co-button/co-button.d.ts +4 -0
- package/dist/types/components/co-checkbox/co-checkbox.d.ts +10 -2
- package/dist/types/components/co-chip/co-chip.d.ts +15 -3
- package/dist/types/components/co-combobox/co-combobox.d.ts +29 -15
- package/dist/types/components/co-command-search/co-command-search.d.ts +13 -5
- package/dist/types/components/co-command-search/commandSearchLogic.d.ts +1 -1
- package/dist/types/components/co-data-table/co-data-table.d.ts +35 -1
- package/dist/types/components/co-drawer/co-drawer.d.ts +12 -0
- package/dist/types/components/co-drive-card/co-drive-card.d.ts +52 -0
- package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +38 -0
- package/dist/types/components/co-empty-state/co-empty-state.d.ts +6 -0
- package/dist/types/components/co-fab/co-fab.d.ts +3 -1
- package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +11 -0
- package/dist/types/components/co-icon-button/co-icon-button.d.ts +18 -3
- package/dist/types/components/co-input/co-input.d.ts +13 -1
- package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +21 -0
- package/dist/types/components/co-menu/co-menu.d.ts +4 -0
- package/dist/types/components/co-menu-item/co-menu-item.d.ts +10 -1
- package/dist/types/components/co-modal/co-modal.d.ts +20 -2
- package/dist/types/components/co-option-list/co-option-list.d.ts +105 -0
- package/dist/types/components/co-option-list/optionListLogic.d.ts +69 -0
- package/dist/types/components/co-popover/co-popover.d.ts +1 -0
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +8 -30
- package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +32 -0
- package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +2 -0
- package/dist/types/components/co-tab/co-tab.d.ts +4 -0
- package/dist/types/components/co-tab-group/co-tab-group.d.ts +7 -0
- package/dist/types/components/co-toast/co-toast.d.ts +7 -0
- package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +6 -0
- package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +5 -0
- package/dist/types/components.d.ts +1451 -82
- package/package.json +3 -3
- package/dist/cjs/co-chip.cjs.entry.js +0 -86
- package/dist/cobalt/p-0a506c9d.entry.js +0 -1
- package/dist/cobalt/p-0e8c0d87.entry.js +0 -1
- package/dist/cobalt/p-136ad468.entry.js +0 -1
- package/dist/cobalt/p-14b59277.entry.js +0 -1
- package/dist/cobalt/p-1774d211.entry.js +0 -1
- package/dist/cobalt/p-180e1106.entry.js +0 -1
- package/dist/cobalt/p-1dc9c49e.entry.js +0 -1
- package/dist/cobalt/p-201eaf35.entry.js +0 -1
- package/dist/cobalt/p-260101ab.entry.js +0 -1
- package/dist/cobalt/p-2d2ce434.entry.js +0 -1
- package/dist/cobalt/p-3a257cb0.entry.js +0 -1
- package/dist/cobalt/p-3e187456.entry.js +0 -1
- package/dist/cobalt/p-4431faac.entry.js +0 -1
- package/dist/cobalt/p-456fa86f.entry.js +0 -1
- package/dist/cobalt/p-5890e4d1.entry.js +0 -1
- package/dist/cobalt/p-62274eba.entry.js +0 -1
- package/dist/cobalt/p-635b03d5.entry.js +0 -1
- package/dist/cobalt/p-64ddee92.entry.js +0 -1
- package/dist/cobalt/p-69d4c0c8.entry.js +0 -1
- package/dist/cobalt/p-6c480916.entry.js +0 -1
- package/dist/cobalt/p-8012e152.entry.js +0 -1
- package/dist/cobalt/p-80b27203.entry.js +0 -1
- package/dist/cobalt/p-867c1465.entry.js +0 -1
- package/dist/cobalt/p-86a143d7.entry.js +0 -1
- package/dist/cobalt/p-8dc1dab8.entry.js +0 -1
- package/dist/cobalt/p-92bd9b29.entry.js +0 -1
- package/dist/cobalt/p-98ab5f3f.entry.js +0 -1
- package/dist/cobalt/p-9a088515.entry.js +0 -1
- package/dist/cobalt/p-9abbd436.entry.js +0 -1
- package/dist/cobalt/p-9d69c067.entry.js +0 -1
- package/dist/cobalt/p-CYsftTKf.js +0 -2
- package/dist/cobalt/p-c4f59532.entry.js +0 -1
- package/dist/cobalt/p-e54dd404.entry.js +0 -1
- package/dist/cobalt/p-eb73052a.entry.js +0 -1
- package/dist/cobalt/p-oImf-7fN.js +0 -1
- package/dist/collection/components/co-command-search/commandSearchGroup.js +0 -17
- package/dist/components/p-Ba4v1NXo.js +0 -1
- package/dist/components/p-EPZfLt5l.js +0 -1
- package/dist/components/p-FMnqPWcM.js +0 -1
- package/dist/components/p-Hzh9U2cM.js +0 -1
- package/dist/components/p-WZ06pT2Y.js +0 -1
- package/dist/components/p-tloAgDin.js +0 -1
- package/dist/esm/co-chip.entry.js +0 -84
- package/dist/types/components/co-command-search/commandSearchGroup.d.ts +0 -20
|
@@ -12,17 +12,19 @@ import { CheckboxOption } from "./components/co-checkbox-group/co-checkbox-group
|
|
|
12
12
|
import { ColorPreset } from "./components/co-color-picker/presets";
|
|
13
13
|
import { ColumnOption, ColumnSection } from "./components/co-column-picker/utils/column-picker-tree";
|
|
14
14
|
import { ComboboxOption } from "./components/co-combobox/co-combobox";
|
|
15
|
-
import { CommandItem } from "./components/co-command-search/
|
|
15
|
+
import { CommandItem } from "./components/co-command-search/co-command-search";
|
|
16
16
|
import { CoDataTableColumn } from "./components/co-data-table/co-data-table";
|
|
17
17
|
import { Placement } from "./utils/positioning";
|
|
18
18
|
import { DateRangeValue } from "./components/co-date-range-picker/co-date-range-picker";
|
|
19
19
|
import { DateRangeValue as DateRangeValue1 } from "./components/co-date-range-picker/co-date-range-picker";
|
|
20
20
|
import { IconWeight } from "./components/co-icon/iconLoader";
|
|
21
21
|
import { PopoverPlacement } from "./components/co-popover/co-popover";
|
|
22
|
+
import { OptionListItem } from "./components/co-option-list/optionListLogic";
|
|
22
23
|
import { PopoverPlacement as PopoverPlacement1 } from "./components/co-popover/co-popover";
|
|
23
24
|
import { RadioOption } from "./components/co-radio-group/co-radio-group";
|
|
24
25
|
import { RefFieldOption } from "./components/co-ref-field/co-ref-field";
|
|
25
26
|
import { Editor, RichTextOutput, RichTextPreset, ToolbarVariant } from "@prolibu-suite/cobalt-rich-text";
|
|
27
|
+
import { CoSegment } from "./components/co-segmented-bar/co-segmented-bar";
|
|
26
28
|
import { SelectOption } from "./components/co-select/co-select";
|
|
27
29
|
import { NavigateDetail } from "./components/co-sidebar-nav/co-sidebar-nav";
|
|
28
30
|
import { CoToastActionsLayout, CoToastVariant } from "./components/co-toast/co-toast";
|
|
@@ -34,22 +36,28 @@ export { CheckboxOption } from "./components/co-checkbox-group/co-checkbox-group
|
|
|
34
36
|
export { ColorPreset } from "./components/co-color-picker/presets";
|
|
35
37
|
export { ColumnOption, ColumnSection } from "./components/co-column-picker/utils/column-picker-tree";
|
|
36
38
|
export { ComboboxOption } from "./components/co-combobox/co-combobox";
|
|
37
|
-
export { CommandItem } from "./components/co-command-search/
|
|
39
|
+
export { CommandItem } from "./components/co-command-search/co-command-search";
|
|
38
40
|
export { CoDataTableColumn } from "./components/co-data-table/co-data-table";
|
|
39
41
|
export { Placement } from "./utils/positioning";
|
|
40
42
|
export { DateRangeValue } from "./components/co-date-range-picker/co-date-range-picker";
|
|
41
43
|
export { DateRangeValue as DateRangeValue1 } from "./components/co-date-range-picker/co-date-range-picker";
|
|
42
44
|
export { IconWeight } from "./components/co-icon/iconLoader";
|
|
43
45
|
export { PopoverPlacement } from "./components/co-popover/co-popover";
|
|
46
|
+
export { OptionListItem } from "./components/co-option-list/optionListLogic";
|
|
44
47
|
export { PopoverPlacement as PopoverPlacement1 } from "./components/co-popover/co-popover";
|
|
45
48
|
export { RadioOption } from "./components/co-radio-group/co-radio-group";
|
|
46
49
|
export { RefFieldOption } from "./components/co-ref-field/co-ref-field";
|
|
47
50
|
export { Editor, RichTextOutput, RichTextPreset, ToolbarVariant } from "@prolibu-suite/cobalt-rich-text";
|
|
51
|
+
export { CoSegment } from "./components/co-segmented-bar/co-segmented-bar";
|
|
48
52
|
export { SelectOption } from "./components/co-select/co-select";
|
|
49
53
|
export { NavigateDetail } from "./components/co-sidebar-nav/co-sidebar-nav";
|
|
50
54
|
export { CoToastActionsLayout, CoToastVariant } from "./components/co-toast/co-toast";
|
|
51
55
|
export { TransferOption } from "./components/co-transfer-list/co-transfer-list";
|
|
52
56
|
export namespace Components {
|
|
57
|
+
/**
|
|
58
|
+
* Collapsible section. The caret button is the ONLY toggle trigger — clicking
|
|
59
|
+
* the header text does nothing (it may contain interactive content).
|
|
60
|
+
*/
|
|
53
61
|
interface CoAccordion {
|
|
54
62
|
/**
|
|
55
63
|
* Hide the chevron / disable the toggle interaction.
|
|
@@ -92,11 +100,6 @@ export namespace Components {
|
|
|
92
100
|
* @default true
|
|
93
101
|
*/
|
|
94
102
|
"clearable": boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Debounce time in ms for coSearch
|
|
97
|
-
* @default 300
|
|
98
|
-
*/
|
|
99
|
-
"debounce": number;
|
|
100
103
|
/**
|
|
101
104
|
* @default false
|
|
102
105
|
*/
|
|
@@ -105,7 +108,7 @@ export namespace Components {
|
|
|
105
108
|
* Message when options are empty after search
|
|
106
109
|
* @default 'No results'
|
|
107
110
|
*/
|
|
108
|
-
"
|
|
111
|
+
"emptyMessage": string;
|
|
109
112
|
"helperText"?: string;
|
|
110
113
|
"iconLeft"?: string;
|
|
111
114
|
"label"?: string;
|
|
@@ -141,6 +144,11 @@ export namespace Components {
|
|
|
141
144
|
* @default false
|
|
142
145
|
*/
|
|
143
146
|
"required": boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Debounce time in ms for coSearch
|
|
149
|
+
* @default 300
|
|
150
|
+
*/
|
|
151
|
+
"searchDebounce": number;
|
|
144
152
|
"secondaryLabel"?: string;
|
|
145
153
|
/**
|
|
146
154
|
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
@@ -157,6 +165,10 @@ export namespace Components {
|
|
|
157
165
|
"value": string | string[];
|
|
158
166
|
}
|
|
159
167
|
interface CoAvatar {
|
|
168
|
+
/**
|
|
169
|
+
* Alternative text for the image (type="image"); falls back to text when unset
|
|
170
|
+
*/
|
|
171
|
+
"alt"?: string;
|
|
160
172
|
/**
|
|
161
173
|
* Custom background color (hex or CSS value)
|
|
162
174
|
*/
|
|
@@ -287,6 +299,58 @@ export namespace Components {
|
|
|
287
299
|
*/
|
|
288
300
|
"showHandle": boolean;
|
|
289
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* Horizontal breadcrumb trail. Accepts `co-breadcrumb-item` children via the
|
|
304
|
+
* default slot, or auto-renders them from the `items` JSON prop.
|
|
305
|
+
* The separator between crumbs is drawn by each `co-breadcrumb-item` as a
|
|
306
|
+
* leading icon (hidden on the first crumb via CSS), so no separator markup is
|
|
307
|
+
* interleaved here. This component propagates its `separator` prop down to the
|
|
308
|
+
* slotted items and layouts them in a `align-items:center; gap:4px` flex row.
|
|
309
|
+
*/
|
|
310
|
+
interface CoBreadcrumb {
|
|
311
|
+
/**
|
|
312
|
+
* Optional JSON array to auto-render crumbs instead of using the slot, e.g. `[{ "label": "Mi unidad", "icon": "cloud", "value": "root" }]`. The last entry is marked `current`. When set, slotted children are ignored.
|
|
313
|
+
*/
|
|
314
|
+
"items"?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Icon name (Phosphor) for the separator between crumbs. Propagated to slotted `co-breadcrumb-item` children.
|
|
317
|
+
* @default 'caret-right'
|
|
318
|
+
*/
|
|
319
|
+
"separator": string;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* A single navigable crumb inside a `co-breadcrumb`.
|
|
323
|
+
* Renders a leading separator icon (hidden on the first crumb via CSS
|
|
324
|
+
* `:host(:first-child)`) followed by the clickable content — an optional
|
|
325
|
+
* leading icon and the label. Clicking (or Enter/Space) emits `coSelect` with
|
|
326
|
+
* the crumb's `value` (falling back to its `label`).
|
|
327
|
+
* Conventions mirror `co-menu-item`: the `current` crumb paints medium weight +
|
|
328
|
+
* text-default ink; earlier crumbs are regular weight + muted (gray-500).
|
|
329
|
+
*/
|
|
330
|
+
interface CoBreadcrumbItem {
|
|
331
|
+
/**
|
|
332
|
+
* Marks this crumb as the current (last) page — medium weight + text-default ink.
|
|
333
|
+
* @default false
|
|
334
|
+
*/
|
|
335
|
+
"current": boolean;
|
|
336
|
+
/**
|
|
337
|
+
* Optional leading icon (Phosphor name), size 16, inherits the crumb color.
|
|
338
|
+
*/
|
|
339
|
+
"icon"?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Text shown in the crumb.
|
|
342
|
+
*/
|
|
343
|
+
"label"?: string;
|
|
344
|
+
/**
|
|
345
|
+
* Leading separator icon (size 13, gray-400). Hidden on the first crumb via CSS. Set by the parent `co-breadcrumb`; defaults to `caret-right`.
|
|
346
|
+
* @default 'caret-right'
|
|
347
|
+
*/
|
|
348
|
+
"separator": string;
|
|
349
|
+
/**
|
|
350
|
+
* Value emitted by `coSelect`. Falls back to `label` when unset.
|
|
351
|
+
*/
|
|
352
|
+
"value"?: string;
|
|
353
|
+
}
|
|
290
354
|
interface CoButton {
|
|
291
355
|
/**
|
|
292
356
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
@@ -297,6 +361,11 @@ export namespace Components {
|
|
|
297
361
|
* @default false
|
|
298
362
|
*/
|
|
299
363
|
"disabled": boolean;
|
|
364
|
+
/**
|
|
365
|
+
* Raised elevation — with variant="secondary" renders a white raised button (shadow-sm + inset hairline).
|
|
366
|
+
* @default false
|
|
367
|
+
*/
|
|
368
|
+
"elevated": boolean;
|
|
300
369
|
/**
|
|
301
370
|
* Phosphor icon name for the left position (e.g. "plus", "arrow-left")
|
|
302
371
|
*/
|
|
@@ -328,6 +397,11 @@ export namespace Components {
|
|
|
328
397
|
* @default 'm'
|
|
329
398
|
*/
|
|
330
399
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
400
|
+
/**
|
|
401
|
+
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover.
|
|
402
|
+
* @default 'light'
|
|
403
|
+
*/
|
|
404
|
+
"surface": 'light' | 'dark';
|
|
331
405
|
/**
|
|
332
406
|
* Custom text/icon color (CSS value or token, e.g. "var(--co-color-base-blanco)")
|
|
333
407
|
*/
|
|
@@ -514,6 +588,11 @@ export namespace Components {
|
|
|
514
588
|
"variant": 'elevated' | 'outlined' | 'flat';
|
|
515
589
|
}
|
|
516
590
|
interface CoCheckbox {
|
|
591
|
+
/**
|
|
592
|
+
* Visual appearance: - 'default' — the standard labeled form checkbox (unchanged). - 'overlay' — a standalone frosted rounded selection chip (Drive), no label, bespoke SVG glyphs.
|
|
593
|
+
* @default 'default'
|
|
594
|
+
*/
|
|
595
|
+
"appearance": 'default' | 'overlay';
|
|
517
596
|
/**
|
|
518
597
|
* Whether the checkbox is checked
|
|
519
598
|
* @default false
|
|
@@ -534,10 +613,14 @@ export namespace Components {
|
|
|
534
613
|
*/
|
|
535
614
|
"label"?: string;
|
|
536
615
|
/**
|
|
537
|
-
*
|
|
616
|
+
* Accent fill color used when checked/indeterminate. Defaults to the current design token.
|
|
617
|
+
*/
|
|
618
|
+
"onColor"?: string;
|
|
619
|
+
/**
|
|
620
|
+
* Size: small=16px, medium=20px, large=24px (overlay appearance: small=20px, medium/large=22px)
|
|
538
621
|
* @default 'small'
|
|
539
622
|
*/
|
|
540
|
-
"size": 'small' | 'large';
|
|
623
|
+
"size": 'small' | 'medium' | 'large';
|
|
541
624
|
/**
|
|
542
625
|
* Value for checkbox group usage
|
|
543
626
|
* @default ''
|
|
@@ -633,7 +716,7 @@ export namespace Components {
|
|
|
633
716
|
*/
|
|
634
717
|
"iconRight"?: string;
|
|
635
718
|
/**
|
|
636
|
-
* Icon weight applied to prop-based iconLeft / iconRight.
|
|
719
|
+
* Icon weight applied to prop-based iconLeft / iconRight / trailingIcon.
|
|
637
720
|
* @default 'regular'
|
|
638
721
|
*/
|
|
639
722
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
@@ -662,10 +745,18 @@ export namespace Components {
|
|
|
662
745
|
*/
|
|
663
746
|
"size": 'large' | 'small';
|
|
664
747
|
/**
|
|
665
|
-
*
|
|
748
|
+
* Trailing icon name (prop-based, uses co-icon — any Phosphor icon name), e.g. 'caret-down'. In the `filter` variant it renders at 13px in gray-400; in other variants it inherits the chip text colour.
|
|
749
|
+
*/
|
|
750
|
+
"trailingIcon"?: string;
|
|
751
|
+
/**
|
|
752
|
+
* Muted two-tone value suffix rendered right after the label as ": <valueLabel>" (e.g. label "Ordenar" + valueLabel "Reciente" → "Ordenar: Reciente"). The suffix is coloured with --co-chip-value-color (default gray-500). Omit for a plain chip.
|
|
753
|
+
*/
|
|
754
|
+
"valueLabel"?: string;
|
|
755
|
+
/**
|
|
756
|
+
* Visual variant. - filled/outlined = existing tag/chip looks (unchanged defaults). - filter = Cloud Drive filter-trigger pill (white pill, inset hairline ring, tinted leading icon, two-tone value, trailing caret).
|
|
666
757
|
* @default 'filled'
|
|
667
758
|
*/
|
|
668
|
-
"variant": 'filled' | 'outlined';
|
|
759
|
+
"variant": 'filled' | 'outlined' | 'filter';
|
|
669
760
|
}
|
|
670
761
|
/**
|
|
671
762
|
* Color picker with preset swatches. Shows a trigger with the current color
|
|
@@ -812,6 +903,11 @@ export namespace Components {
|
|
|
812
903
|
* @default false
|
|
813
904
|
*/
|
|
814
905
|
"disabled": boolean;
|
|
906
|
+
/**
|
|
907
|
+
* Message shown when the filtered list is empty.
|
|
908
|
+
* @default 'No results found'
|
|
909
|
+
*/
|
|
910
|
+
"emptyMessage": string;
|
|
815
911
|
/**
|
|
816
912
|
* Label for the primary footer button
|
|
817
913
|
* @default 'Ok'
|
|
@@ -966,6 +1062,19 @@ export namespace Components {
|
|
|
966
1062
|
* @default '[]'
|
|
967
1063
|
*/
|
|
968
1064
|
"columns": string | CoDataTableColumn[];
|
|
1065
|
+
/**
|
|
1066
|
+
* Optional left icon (Phosphor name) for the prop-driven empty-action button.
|
|
1067
|
+
*/
|
|
1068
|
+
"emptyActionIcon"?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Empty-state action button, rendered BY the component (not via slot). Prefer this over the `empty-action` slot: a non-shadow component relocates slotted light-DOM nodes, so projecting togglable framework content (e.g. a Vue `v-if` button) corrupts that framework's virtual DOM. Leave empty to fall back to the `empty-action` slot.
|
|
1071
|
+
*/
|
|
1072
|
+
"emptyActionLabel"?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* Variant for the prop-driven empty-action button.
|
|
1075
|
+
* @default 'stroke'
|
|
1076
|
+
*/
|
|
1077
|
+
"emptyActionVariant": 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
969
1078
|
/**
|
|
970
1079
|
* Empty state icon (Phosphor icon name).
|
|
971
1080
|
* @default 'magnifying-glass'
|
|
@@ -981,6 +1090,16 @@ export namespace Components {
|
|
|
981
1090
|
* @default ''
|
|
982
1091
|
*/
|
|
983
1092
|
"emptyTitle": string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Fields with an active column filter (funnel filled + always visible). JSON string or array.
|
|
1095
|
+
* @default '[]'
|
|
1096
|
+
*/
|
|
1097
|
+
"filteredFields": string | string[];
|
|
1098
|
+
/**
|
|
1099
|
+
* Fields filtered by OTHER filter layers (funnel dimmed hint). JSON string or array.
|
|
1100
|
+
* @default '[]'
|
|
1101
|
+
*/
|
|
1102
|
+
"indirectFilteredFields": string | string[];
|
|
984
1103
|
/**
|
|
985
1104
|
* Show loading skeleton
|
|
986
1105
|
* @default false
|
|
@@ -1453,6 +1572,11 @@ export namespace Components {
|
|
|
1453
1572
|
* @default false
|
|
1454
1573
|
*/
|
|
1455
1574
|
"loading": boolean;
|
|
1575
|
+
/**
|
|
1576
|
+
* Render without the modal overlay: no scrim, no body-scroll lock — the page behind stays fully interactive. The panel promotes itself to the browser top layer (Popover API) so ancestor filters/transforms can't clip it. Close vectors: X button, Escape, or the consumer flipping `open` — there is deliberately no click-outside in this mode.
|
|
1577
|
+
* @default false
|
|
1578
|
+
*/
|
|
1579
|
+
"modeless": boolean;
|
|
1456
1580
|
/**
|
|
1457
1581
|
* Whether the drawer is visible
|
|
1458
1582
|
* @default false
|
|
@@ -1469,6 +1593,93 @@ export namespace Components {
|
|
|
1469
1593
|
*/
|
|
1470
1594
|
"size": 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
1471
1595
|
}
|
|
1596
|
+
/**
|
|
1597
|
+
* co-drive-card — a selectable Drive item card.
|
|
1598
|
+
* A plain flex/grid surface that `co-card` cannot host: `co-card` projects its
|
|
1599
|
+
* children into a shadow-DOM body that forces block flow, clips with
|
|
1600
|
+
* `overflow:hidden`, locks a 16px radius + a real 1px border, and paints an
|
|
1601
|
+
* opaque surface that occludes the selected accent tint. This component renders
|
|
1602
|
+
* two faithful layouts instead — a `folder` flex row and a `file` column with a
|
|
1603
|
+
* thumbnail — with an absolute corner select-chip, a 1.5px inset selection ring,
|
|
1604
|
+
* and a shadow-sm + hairline hover.
|
|
1605
|
+
*/
|
|
1606
|
+
interface CoDriveCard {
|
|
1607
|
+
/**
|
|
1608
|
+
* Accent CSS color driving the icon tile, selection ring and select chip.
|
|
1609
|
+
* @default 'var(--co-color-primary-azul)'
|
|
1610
|
+
*/
|
|
1611
|
+
"accent": string;
|
|
1612
|
+
/**
|
|
1613
|
+
* (file) Whether the item is the active/current item — draws a heavier inset ring.
|
|
1614
|
+
* @default false
|
|
1615
|
+
*/
|
|
1616
|
+
"active": boolean;
|
|
1617
|
+
/**
|
|
1618
|
+
* Vertical rhythm / sizing.
|
|
1619
|
+
* @default 'comfy'
|
|
1620
|
+
*/
|
|
1621
|
+
"density": 'comfy' | 'compact';
|
|
1622
|
+
/**
|
|
1623
|
+
* (file) File extension used to render a default <co-file-type-tile> in the foot when the `type` slot is empty.
|
|
1624
|
+
*/
|
|
1625
|
+
"ext"?: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* Muted secondary line (meta).
|
|
1628
|
+
* @default ''
|
|
1629
|
+
*/
|
|
1630
|
+
"meta": string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Primary label (name).
|
|
1633
|
+
* @default ''
|
|
1634
|
+
*/
|
|
1635
|
+
"name": string;
|
|
1636
|
+
/**
|
|
1637
|
+
* Whether the item is selected. Controlled — parent updates it on coToggleSelect.
|
|
1638
|
+
* @default false
|
|
1639
|
+
*/
|
|
1640
|
+
"selected": boolean;
|
|
1641
|
+
/**
|
|
1642
|
+
* Whether the item is starred.
|
|
1643
|
+
* @default false
|
|
1644
|
+
*/
|
|
1645
|
+
"starred": boolean;
|
|
1646
|
+
/**
|
|
1647
|
+
* Which layout to render.
|
|
1648
|
+
* @default 'folder'
|
|
1649
|
+
*/
|
|
1650
|
+
"variant": 'folder' | 'file';
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* co-drop-zone — a drag-to-upload overlay.
|
|
1654
|
+
* Wraps arbitrary slotted content and paints an absolute dashed overlay on top
|
|
1655
|
+
* of it while a drag is in progress. Can be driven two ways:
|
|
1656
|
+
* 1. Controlled — the consumer toggles `active` (e.g. from its own drag state).
|
|
1657
|
+
* 2. Self-managed — the host listens for native dragenter/over/leave/drop and
|
|
1658
|
+
* flips `active` itself, emitting `coDragStateChange` and `coDrop`.
|
|
1659
|
+
* Report ref: 3.17 (446–449); drag overlay spec: report lines 135–136.
|
|
1660
|
+
*/
|
|
1661
|
+
interface CoDropZone {
|
|
1662
|
+
/**
|
|
1663
|
+
* Accent color for the dashed border, badge icon and tinted background.
|
|
1664
|
+
* @default 'var(--co-color-primary-azul)'
|
|
1665
|
+
*/
|
|
1666
|
+
"accent": string;
|
|
1667
|
+
/**
|
|
1668
|
+
* Whether the drag-to-upload overlay is visible.
|
|
1669
|
+
* @default false
|
|
1670
|
+
*/
|
|
1671
|
+
"active": boolean;
|
|
1672
|
+
/**
|
|
1673
|
+
* Phosphor icon name shown in the badge.
|
|
1674
|
+
* @default 'upload-simple'
|
|
1675
|
+
*/
|
|
1676
|
+
"icon": string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Overlay label text.
|
|
1679
|
+
* @default 'Suelta para subir'
|
|
1680
|
+
*/
|
|
1681
|
+
"label": string;
|
|
1682
|
+
}
|
|
1472
1683
|
/**
|
|
1473
1684
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
1474
1685
|
*/
|
|
@@ -1485,6 +1696,20 @@ export namespace Components {
|
|
|
1485
1696
|
* Phosphor icon name
|
|
1486
1697
|
*/
|
|
1487
1698
|
"icon"?: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Phosphor icon weight. Defaults to `light` (plain) / `regular` (card) when unset.
|
|
1701
|
+
*/
|
|
1702
|
+
"iconWeight"?: 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone';
|
|
1703
|
+
/**
|
|
1704
|
+
* Size scale. `l` grows the medallion (98px) and heading (24/500).
|
|
1705
|
+
* @default 'm'
|
|
1706
|
+
*/
|
|
1707
|
+
"size": 'm' | 'l';
|
|
1708
|
+
/**
|
|
1709
|
+
* Visual style: `plain` (default, current behavior) or `card` (framed white card).
|
|
1710
|
+
* @default 'plain'
|
|
1711
|
+
*/
|
|
1712
|
+
"variant": 'plain' | 'card';
|
|
1488
1713
|
}
|
|
1489
1714
|
/**
|
|
1490
1715
|
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
@@ -1565,6 +1790,10 @@ export namespace Components {
|
|
|
1565
1790
|
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
1566
1791
|
}
|
|
1567
1792
|
interface CoFab {
|
|
1793
|
+
/**
|
|
1794
|
+
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
1795
|
+
*/
|
|
1796
|
+
"ariaLabelText"?: string;
|
|
1568
1797
|
/**
|
|
1569
1798
|
* @default false
|
|
1570
1799
|
*/
|
|
@@ -1582,7 +1811,7 @@ export namespace Components {
|
|
|
1582
1811
|
/**
|
|
1583
1812
|
* @default 'm'
|
|
1584
1813
|
*/
|
|
1585
|
-
"size": 'l' | 'm' | 's';
|
|
1814
|
+
"size": 'xl' | 'l' | 'm' | 's';
|
|
1586
1815
|
/**
|
|
1587
1816
|
* @default 'primary'
|
|
1588
1817
|
*/
|
|
@@ -1668,6 +1897,27 @@ export namespace Components {
|
|
|
1668
1897
|
*/
|
|
1669
1898
|
"uploadedTitle"?: string;
|
|
1670
1899
|
}
|
|
1900
|
+
interface CoFileTypeTile {
|
|
1901
|
+
/**
|
|
1902
|
+
* When true, use the type's tint/accent colors; when false, neutral gray-100 / gray-600.
|
|
1903
|
+
* @default true
|
|
1904
|
+
*/
|
|
1905
|
+
"colorTags": boolean;
|
|
1906
|
+
/**
|
|
1907
|
+
* File extension (e.g. "pdf", "docx", "png"). Case-insensitive; a leading dot is ignored.
|
|
1908
|
+
*/
|
|
1909
|
+
"ext": string;
|
|
1910
|
+
/**
|
|
1911
|
+
* Corner radius in px (React uses 11 / 9 / 7).
|
|
1912
|
+
* @default 11
|
|
1913
|
+
*/
|
|
1914
|
+
"radius": number;
|
|
1915
|
+
/**
|
|
1916
|
+
* Tile edge length in px (React uses 44 / 34 / 26).
|
|
1917
|
+
* @default 44
|
|
1918
|
+
*/
|
|
1919
|
+
"size": number;
|
|
1920
|
+
}
|
|
1671
1921
|
/**
|
|
1672
1922
|
* Helper / validation text shown below form fields.
|
|
1673
1923
|
*/
|
|
@@ -1706,6 +1956,10 @@ export namespace Components {
|
|
|
1706
1956
|
"weight": IconWeight;
|
|
1707
1957
|
}
|
|
1708
1958
|
interface CoIconButton {
|
|
1959
|
+
/**
|
|
1960
|
+
* Override the container box in px (width === height). When set, takes precedence over the `size` class dimensions — lets you hit 32/36/40 rounded squares. When omitted, the `size` class dimensions apply (unchanged behavior).
|
|
1961
|
+
*/
|
|
1962
|
+
"boxSize"?: number;
|
|
1709
1963
|
/**
|
|
1710
1964
|
* Disabled state
|
|
1711
1965
|
* @default false
|
|
@@ -1716,7 +1970,7 @@ export namespace Components {
|
|
|
1716
1970
|
*/
|
|
1717
1971
|
"icon"?: string;
|
|
1718
1972
|
/**
|
|
1719
|
-
* Override the size
|
|
1973
|
+
* Override the rendered icon size in px. When set, takes precedence over the per-`size` icon default (which is otherwise unchanged — e.g. 16px at xs).
|
|
1720
1974
|
*/
|
|
1721
1975
|
"iconSize"?: number;
|
|
1722
1976
|
/**
|
|
@@ -1740,7 +1994,12 @@ export namespace Components {
|
|
|
1740
1994
|
*/
|
|
1741
1995
|
"size": 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
1742
1996
|
/**
|
|
1743
|
-
*
|
|
1997
|
+
* Surface the button sits on. `dark` → white icon + blanco-16 hover (on-dark theming). Defaults to `light` (no extra class → identical to previous behavior).
|
|
1998
|
+
* @default 'light'
|
|
1999
|
+
*/
|
|
2000
|
+
"surface": 'light' | 'dark';
|
|
2001
|
+
/**
|
|
2002
|
+
* filled = dark background (negro), outlined = light background (blanco + border), ghost = transparent background, no border, tinted hover (negro-8 on light / blanco-16 on dark). Matches Figma: Secundario → filled, Primario → outlined
|
|
1744
2003
|
* @default 'filled'
|
|
1745
2004
|
*/
|
|
1746
2005
|
"variant": 'filled' | 'outlined' | 'ghost';
|
|
@@ -1772,6 +2031,11 @@ export namespace Components {
|
|
|
1772
2031
|
* @default false
|
|
1773
2032
|
*/
|
|
1774
2033
|
"disabled": boolean;
|
|
2034
|
+
/**
|
|
2035
|
+
* Filled search-pill variant. When true the field renders as a minimal gray pill (background gray-100, no border/box-shadow, 10px radius) with a search glyph on the left and a plain-`x` clear — the floating label, helper text and status chrome are suppressed. When false (default) the field renders IDENTICALLY to the standard text field.
|
|
2036
|
+
* @default false
|
|
2037
|
+
*/
|
|
2038
|
+
"fill": boolean;
|
|
1775
2039
|
/**
|
|
1776
2040
|
* Helper text displayed below the input
|
|
1777
2041
|
*/
|
|
@@ -1817,7 +2081,7 @@ export namespace Components {
|
|
|
1817
2081
|
*/
|
|
1818
2082
|
"secondaryLabel"?: string;
|
|
1819
2083
|
/**
|
|
1820
|
-
* Size variant: s (28px), sm (32px), md (40px, default), lg (48px)
|
|
2084
|
+
* Size variant: s (28px), sm (32px), md (40px, default), lg (48px). In the filled search-pill variant (`fill`) this drives the pill height instead (s ≈ 38px).
|
|
1821
2085
|
* @default 'md'
|
|
1822
2086
|
*/
|
|
1823
2087
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
@@ -2024,6 +2288,36 @@ export namespace Components {
|
|
|
2024
2288
|
*/
|
|
2025
2289
|
"visible": boolean;
|
|
2026
2290
|
}
|
|
2291
|
+
/**
|
|
2292
|
+
* An image / video preview region. Renders a cover image when `src` is set,
|
|
2293
|
+
* an optional dark scrim + play button when `video` is true, and a default
|
|
2294
|
+
* slot fallback (for a type-icon box) when there is no `src`.
|
|
2295
|
+
*/
|
|
2296
|
+
interface CoMediaThumb {
|
|
2297
|
+
/**
|
|
2298
|
+
* Alternative text for the image.
|
|
2299
|
+
*/
|
|
2300
|
+
"alt"?: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* Height of the region. Accepts a CSS length or a bare number (→ px).
|
|
2303
|
+
* @default '132px'
|
|
2304
|
+
*/
|
|
2305
|
+
"height": string | number;
|
|
2306
|
+
/**
|
|
2307
|
+
* Corner radius in px.
|
|
2308
|
+
* @default 10
|
|
2309
|
+
*/
|
|
2310
|
+
"radius": number;
|
|
2311
|
+
/**
|
|
2312
|
+
* Image source URL. When set, a cover image is rendered.
|
|
2313
|
+
*/
|
|
2314
|
+
"src"?: string;
|
|
2315
|
+
/**
|
|
2316
|
+
* Show the video overlay (dark scrim + centered play button).
|
|
2317
|
+
* @default false
|
|
2318
|
+
*/
|
|
2319
|
+
"video": boolean;
|
|
2320
|
+
}
|
|
2027
2321
|
/**
|
|
2028
2322
|
* Dropdown menu. Wraps `co-popover` with menu-specific UX:
|
|
2029
2323
|
* - Default `placement="bottom-end"` (typical for "more actions" 3-dot triggers)
|
|
@@ -2068,6 +2362,10 @@ export namespace Components {
|
|
|
2068
2362
|
* @default 'bottom-end'
|
|
2069
2363
|
*/
|
|
2070
2364
|
"placement": PopoverPlacement;
|
|
2365
|
+
/**
|
|
2366
|
+
* Fixes the panel to an exact width (e.g. `'210px'`). When unset, the panel keeps its intrinsic auto width (min-width 200px). Also tune padding with the `--co-menu-padding` CSS var (default 4px; design uses 6px).
|
|
2367
|
+
*/
|
|
2368
|
+
"width"?: string;
|
|
2071
2369
|
}
|
|
2072
2370
|
/**
|
|
2073
2371
|
* Thin horizontal separator between groups of `co-menu-item` rows. Renders an
|
|
@@ -2102,13 +2400,27 @@ export namespace Components {
|
|
|
2102
2400
|
*/
|
|
2103
2401
|
"focusItem": () => Promise<void>;
|
|
2104
2402
|
/**
|
|
2105
|
-
* Icon name (Phosphor) rendered before the label.
|
|
2403
|
+
* Icon name (Phosphor) rendered before the label. Optional — rows may be label-only.
|
|
2106
2404
|
*/
|
|
2107
2405
|
"icon"?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Overrides the leading icon size (px). Defaults to 16.
|
|
2408
|
+
*/
|
|
2409
|
+
"iconSize"?: number;
|
|
2108
2410
|
/**
|
|
2109
2411
|
* Text shown in the row.
|
|
2110
2412
|
*/
|
|
2111
2413
|
"label"?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
* Marks the row as selected — paints an at-rest gray-100 background. Used by single-select menus (sort/type).
|
|
2416
|
+
* @default false
|
|
2417
|
+
*/
|
|
2418
|
+
"selected": boolean;
|
|
2419
|
+
/**
|
|
2420
|
+
* Renders a trailing check (size 15) after the label. Pair with `selected` to mark the chosen option in a single-select menu.
|
|
2421
|
+
* @default false
|
|
2422
|
+
*/
|
|
2423
|
+
"trailingCheck": boolean;
|
|
2112
2424
|
/**
|
|
2113
2425
|
* `danger` shifts text + icon to the destructive color. Use for Delete, etc.
|
|
2114
2426
|
* @default 'default'
|
|
@@ -2121,6 +2433,11 @@ export namespace Components {
|
|
|
2121
2433
|
* @default true
|
|
2122
2434
|
*/
|
|
2123
2435
|
"closable": boolean;
|
|
2436
|
+
/**
|
|
2437
|
+
* Opt-in: close when Escape is pressed. Default false → existing consumers are unchanged. Handled here rather than by forwarding co-overlay's own `closeOnEscape`: co-overlay emits the SAME `coClose` for a backdrop click and for Escape, and this component gates that event on `closeOnOverlay`. Forwarding would therefore swallow Escape whenever `closeOnOverlay` is false.
|
|
2438
|
+
* @default false
|
|
2439
|
+
*/
|
|
2440
|
+
"closeOnEscape": boolean;
|
|
2124
2441
|
/**
|
|
2125
2442
|
* Close when clicking the overlay backdrop
|
|
2126
2443
|
* @default true
|
|
@@ -2146,10 +2463,10 @@ export namespace Components {
|
|
|
2146
2463
|
*/
|
|
2147
2464
|
"open": boolean;
|
|
2148
2465
|
/**
|
|
2149
|
-
* Modal width: sm (400px), md (540px), lg (680px)
|
|
2466
|
+
* Modal width: sm (400px), md (540px), lg (680px), full (min(1400px, 95vw) × 92vh — media/document viewers). `full` also drops the body padding and lets the body grow, so a slotted <video>/<iframe> fills the panel edge-to-edge instead of sitting in a content-height box.
|
|
2150
2467
|
* @default 'md'
|
|
2151
2468
|
*/
|
|
2152
|
-
"size": 'sm' | 'md' | 'lg';
|
|
2469
|
+
"size": 'sm' | 'md' | 'lg' | 'full';
|
|
2153
2470
|
}
|
|
2154
2471
|
/**
|
|
2155
2472
|
* Horizontal toolbar container. Place any content inside the default slot.
|
|
@@ -2222,6 +2539,125 @@ export namespace Components {
|
|
|
2222
2539
|
*/
|
|
2223
2540
|
"value": number | null;
|
|
2224
2541
|
}
|
|
2542
|
+
/**
|
|
2543
|
+
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
2544
|
+
* dropdowns Cobalt (co-ref-field, co-combobox, co-autocomplete,
|
|
2545
|
+
* co-command-search) y de los pickers de celda de suite-v2.
|
|
2546
|
+
* NO renderiza trigger ni chrome de panel (popover/dialog/ancho): eso es del
|
|
2547
|
+
* host. Es 100% controlada: no muta `value`; emite y el host decide.
|
|
2548
|
+
*/
|
|
2549
|
+
interface CoOptionList {
|
|
2550
|
+
/**
|
|
2551
|
+
* Auto-resalta la primera fila navegable al montar y en cada cambio de items (paridad command-palette: tipear + Enter = primer resultado). Salta filas disabled vía nextActiveIndex.
|
|
2552
|
+
* @default false
|
|
2553
|
+
*/
|
|
2554
|
+
"autoHighlight": boolean;
|
|
2555
|
+
/**
|
|
2556
|
+
* @default 'circle'
|
|
2557
|
+
*/
|
|
2558
|
+
"avatarShape": 'circle' | 'square';
|
|
2559
|
+
/**
|
|
2560
|
+
* Si se setea y hay selección, fila "quitar selección" al tope.
|
|
2561
|
+
* @default ''
|
|
2562
|
+
*/
|
|
2563
|
+
"clearOptionLabel": string;
|
|
2564
|
+
/**
|
|
2565
|
+
* @default 'No results found'
|
|
2566
|
+
*/
|
|
2567
|
+
"emptyMessage": string;
|
|
2568
|
+
/**
|
|
2569
|
+
* Enfoca el input de búsqueda esperando visibilidad real: el panel del host se vuelve visible frames después (showPopover/position en rAF) y focus() sobre subtree oculto es no-op silencioso. Reintenta ~20 frames.
|
|
2570
|
+
*/
|
|
2571
|
+
"focusSearch": () => Promise<void>;
|
|
2572
|
+
/**
|
|
2573
|
+
* Navegación para hosts con input externo. true = tecla consumida (host hace preventDefault).
|
|
2574
|
+
*/
|
|
2575
|
+
"handleKey": (e: KeyboardEvent) => Promise<boolean>;
|
|
2576
|
+
/**
|
|
2577
|
+
* Fallback cuando el host no conoce totales (⌘K). total>0 manda.
|
|
2578
|
+
* @default false
|
|
2579
|
+
*/
|
|
2580
|
+
"hasMore": boolean;
|
|
2581
|
+
/**
|
|
2582
|
+
* Resalta el match del término en los labels.
|
|
2583
|
+
* @default false
|
|
2584
|
+
*/
|
|
2585
|
+
"highlightMatches": boolean;
|
|
2586
|
+
/**
|
|
2587
|
+
* Término externo para highlight (input en el host, p.ej. ⌘K).
|
|
2588
|
+
* @default ''
|
|
2589
|
+
*/
|
|
2590
|
+
"highlightTerm": string;
|
|
2591
|
+
/**
|
|
2592
|
+
* Pre-seed del término (modo convert de las celdas).
|
|
2593
|
+
* @default ''
|
|
2594
|
+
*/
|
|
2595
|
+
"initialTerm": string;
|
|
2596
|
+
/**
|
|
2597
|
+
* JSON string o array de OptionListItem.
|
|
2598
|
+
* @default '[]'
|
|
2599
|
+
*/
|
|
2600
|
+
"items": string | OptionListItem[];
|
|
2601
|
+
/**
|
|
2602
|
+
* @default false
|
|
2603
|
+
*/
|
|
2604
|
+
"loading": boolean;
|
|
2605
|
+
/**
|
|
2606
|
+
* @default false
|
|
2607
|
+
*/
|
|
2608
|
+
"multiple": boolean;
|
|
2609
|
+
/**
|
|
2610
|
+
* Botón remove por fila seleccionada en multiple (tags de combobox).
|
|
2611
|
+
* @default false
|
|
2612
|
+
*/
|
|
2613
|
+
"removableItems": boolean;
|
|
2614
|
+
/**
|
|
2615
|
+
* @default 350
|
|
2616
|
+
*/
|
|
2617
|
+
"searchDebounce": number;
|
|
2618
|
+
/**
|
|
2619
|
+
* @default 'Search…'
|
|
2620
|
+
*/
|
|
2621
|
+
"searchPlaceholder": string;
|
|
2622
|
+
/**
|
|
2623
|
+
* @default false
|
|
2624
|
+
*/
|
|
2625
|
+
"searchable": boolean;
|
|
2626
|
+
/**
|
|
2627
|
+
* Afford. del seleccionado: check (combobox/autocomplete) o X deselect (ref-field).
|
|
2628
|
+
* @default 'check'
|
|
2629
|
+
*/
|
|
2630
|
+
"selectedAffordance": 'check' | 'deselect';
|
|
2631
|
+
/**
|
|
2632
|
+
* Partición selected-first (snapshot al llamar snapshotOrder()).
|
|
2633
|
+
* @default false
|
|
2634
|
+
*/
|
|
2635
|
+
"selectedFirst": boolean;
|
|
2636
|
+
/**
|
|
2637
|
+
* Display-items de la selección (para selected-first con ids fuera de página).
|
|
2638
|
+
* @default '[]'
|
|
2639
|
+
*/
|
|
2640
|
+
"selectedItems": string | OptionListItem[];
|
|
2641
|
+
/**
|
|
2642
|
+
* Re-toma el snapshot selected-first. El host la llama al abrir su panel.
|
|
2643
|
+
*/
|
|
2644
|
+
"snapshotOrder": () => Promise<void>;
|
|
2645
|
+
/**
|
|
2646
|
+
* Total del server: deriva hasMore + hint "N more results".
|
|
2647
|
+
* @default 0
|
|
2648
|
+
*/
|
|
2649
|
+
"total": number;
|
|
2650
|
+
/**
|
|
2651
|
+
* Selección actual: id single o JSON array de ids.
|
|
2652
|
+
* @default ''
|
|
2653
|
+
*/
|
|
2654
|
+
"value": string;
|
|
2655
|
+
/**
|
|
2656
|
+
* Lista virtualizada (autocomplete/combobox). Ignora `group`.
|
|
2657
|
+
* @default false
|
|
2658
|
+
*/
|
|
2659
|
+
"virtual": boolean;
|
|
2660
|
+
}
|
|
2225
2661
|
interface CoOverlay {
|
|
2226
2662
|
/**
|
|
2227
2663
|
* Opt-in: emit `coClose` when Escape is pressed while open. Default false → existing consumers are unchanged.
|
|
@@ -2529,10 +2965,6 @@ export namespace Components {
|
|
|
2529
2965
|
* @default true
|
|
2530
2966
|
*/
|
|
2531
2967
|
"clearable": boolean;
|
|
2532
|
-
/**
|
|
2533
|
-
* If set, shows a "Create" button in the panel footer.
|
|
2534
|
-
*/
|
|
2535
|
-
"createLabel"?: string;
|
|
2536
2968
|
/**
|
|
2537
2969
|
* @default false
|
|
2538
2970
|
*/
|
|
@@ -2805,6 +3237,38 @@ export namespace Components {
|
|
|
2805
3237
|
*/
|
|
2806
3238
|
"size": 'sm' | 'lg';
|
|
2807
3239
|
}
|
|
3240
|
+
/**
|
|
3241
|
+
* A stacked, multi-segment meter — a pill track split into N contiguous
|
|
3242
|
+
* colored segments (e.g. a storage breakdown). Display-only; colors are
|
|
3243
|
+
* supplied by the consumer. Provide an external legend via `slot="legend"`.
|
|
3244
|
+
*/
|
|
3245
|
+
interface CoSegmentedBar {
|
|
3246
|
+
/**
|
|
3247
|
+
* Corner rounding of the track. `full` = pill.
|
|
3248
|
+
* @default 'full'
|
|
3249
|
+
*/
|
|
3250
|
+
"radius": 'full' | 'sm' | 'lg';
|
|
3251
|
+
/**
|
|
3252
|
+
* Segments to render — a JSON string OR an array of `{ value: number; color: string; label?: string }`.
|
|
3253
|
+
* @default '[]'
|
|
3254
|
+
*/
|
|
3255
|
+
"segments": string | CoSegment[];
|
|
3256
|
+
/**
|
|
3257
|
+
* Track height in px.
|
|
3258
|
+
* @default 10
|
|
3259
|
+
*/
|
|
3260
|
+
"thickness": number;
|
|
3261
|
+
/**
|
|
3262
|
+
* The value the segments are measured against (100% = full track).
|
|
3263
|
+
* @default 100
|
|
3264
|
+
*/
|
|
3265
|
+
"total": number;
|
|
3266
|
+
/**
|
|
3267
|
+
* Background color of the empty track.
|
|
3268
|
+
* @default 'var(--co-color-gray-100)'
|
|
3269
|
+
*/
|
|
3270
|
+
"trackColor": string;
|
|
3271
|
+
}
|
|
2808
3272
|
interface CoSelect {
|
|
2809
3273
|
/**
|
|
2810
3274
|
* @default false
|
|
@@ -3052,6 +3516,10 @@ export namespace Components {
|
|
|
3052
3516
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
3053
3517
|
}
|
|
3054
3518
|
interface CoTab {
|
|
3519
|
+
/**
|
|
3520
|
+
* Optional count/badge pill rendered after the label
|
|
3521
|
+
*/
|
|
3522
|
+
"badge"?: string;
|
|
3055
3523
|
/**
|
|
3056
3524
|
* Disabled state
|
|
3057
3525
|
* @default false
|
|
@@ -3085,12 +3553,22 @@ export namespace Components {
|
|
|
3085
3553
|
* @default ''
|
|
3086
3554
|
*/
|
|
3087
3555
|
"value": string;
|
|
3556
|
+
/**
|
|
3557
|
+
* Visual variant: filled pill (default), underline tab, or segmented-control pill
|
|
3558
|
+
* @default 'pill'
|
|
3559
|
+
*/
|
|
3560
|
+
"variant": 'pill' | 'underline' | 'segmented';
|
|
3088
3561
|
}
|
|
3089
3562
|
interface CoTabGroup {
|
|
3090
3563
|
/**
|
|
3091
3564
|
* Currently selected tab value
|
|
3092
3565
|
*/
|
|
3093
3566
|
"value"?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* Visual variant, propagated to slotted co-tab children
|
|
3569
|
+
* @default 'pill'
|
|
3570
|
+
*/
|
|
3571
|
+
"variant": 'pill' | 'underline' | 'segmented';
|
|
3094
3572
|
}
|
|
3095
3573
|
/**
|
|
3096
3574
|
* Free-text tags input — type a value and press Enter/Tab (or comma) to add it
|
|
@@ -3271,6 +3749,10 @@ export namespace Components {
|
|
|
3271
3749
|
* @default ''
|
|
3272
3750
|
*/
|
|
3273
3751
|
"message": string;
|
|
3752
|
+
/**
|
|
3753
|
+
* Determinate upload/loading progress (0–100). When set, a progress track is rendered below the message row (with a percentage label, and an `upload-simple` azul icon when no `icon` is provided). Leave undefined for a plain toast — behaviour is unchanged.
|
|
3754
|
+
*/
|
|
3755
|
+
"progress"?: number;
|
|
3274
3756
|
/**
|
|
3275
3757
|
* Semantic variant — drives left accent color, icon tint, default icon, and announced ARIA role.
|
|
3276
3758
|
* @default 'neutral'
|
|
@@ -3289,6 +3771,10 @@ export namespace Components {
|
|
|
3289
3771
|
* @default false
|
|
3290
3772
|
*/
|
|
3291
3773
|
"selected": boolean;
|
|
3774
|
+
/**
|
|
3775
|
+
* When set, the leading/trailing icon renders at this weight while the button is selected (e.g. 'fill' for the active segment of a track toggle).
|
|
3776
|
+
*/
|
|
3777
|
+
"selectedIconWeight"?: 'regular' | 'fill';
|
|
3292
3778
|
/**
|
|
3293
3779
|
* @default 'm'
|
|
3294
3780
|
*/
|
|
@@ -3297,6 +3783,11 @@ export namespace Components {
|
|
|
3297
3783
|
* @default ''
|
|
3298
3784
|
*/
|
|
3299
3785
|
"value": string;
|
|
3786
|
+
/**
|
|
3787
|
+
* Visual variant. 'track' renders the button as a detached rounded pill for a sunken toggle-button-group track. Normally set by the parent group.
|
|
3788
|
+
* @default 'connected'
|
|
3789
|
+
*/
|
|
3790
|
+
"variant": 'connected' | 'track';
|
|
3300
3791
|
}
|
|
3301
3792
|
interface CoToggleButtonGroup {
|
|
3302
3793
|
/**
|
|
@@ -3325,6 +3816,11 @@ export namespace Components {
|
|
|
3325
3816
|
* @default ''
|
|
3326
3817
|
*/
|
|
3327
3818
|
"value": string | string[];
|
|
3819
|
+
/**
|
|
3820
|
+
* 'connected' (default) keeps the seamless dark-fill segmented control. 'track' turns the group into a sunken gray track carrying detached rounded pills (white + shadow when selected) — e.g. an icon-only view toggle.
|
|
3821
|
+
* @default 'connected'
|
|
3822
|
+
*/
|
|
3823
|
+
"variant": 'connected' | 'track';
|
|
3328
3824
|
}
|
|
3329
3825
|
interface CoTooltip {
|
|
3330
3826
|
/**
|
|
@@ -3582,6 +4078,10 @@ export interface CoBottomSheetCustomEvent<T> extends CustomEvent<T> {
|
|
|
3582
4078
|
detail: T;
|
|
3583
4079
|
target: HTMLCoBottomSheetElement;
|
|
3584
4080
|
}
|
|
4081
|
+
export interface CoBreadcrumbItemCustomEvent<T> extends CustomEvent<T> {
|
|
4082
|
+
detail: T;
|
|
4083
|
+
target: HTMLCoBreadcrumbItemElement;
|
|
4084
|
+
}
|
|
3585
4085
|
export interface CoCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
3586
4086
|
detail: T;
|
|
3587
4087
|
target: HTMLCoCalendarElement;
|
|
@@ -3646,6 +4146,14 @@ export interface CoDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
|
3646
4146
|
detail: T;
|
|
3647
4147
|
target: HTMLCoDrawerElement;
|
|
3648
4148
|
}
|
|
4149
|
+
export interface CoDriveCardCustomEvent<T> extends CustomEvent<T> {
|
|
4150
|
+
detail: T;
|
|
4151
|
+
target: HTMLCoDriveCardElement;
|
|
4152
|
+
}
|
|
4153
|
+
export interface CoDropZoneCustomEvent<T> extends CustomEvent<T> {
|
|
4154
|
+
detail: T;
|
|
4155
|
+
target: HTMLCoDropZoneElement;
|
|
4156
|
+
}
|
|
3649
4157
|
export interface CoEventCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
3650
4158
|
detail: T;
|
|
3651
4159
|
target: HTMLCoEventCalendarElement;
|
|
@@ -3694,6 +4202,10 @@ export interface CoNumberFieldCustomEvent<T> extends CustomEvent<T> {
|
|
|
3694
4202
|
detail: T;
|
|
3695
4203
|
target: HTMLCoNumberFieldElement;
|
|
3696
4204
|
}
|
|
4205
|
+
export interface CoOptionListCustomEvent<T> extends CustomEvent<T> {
|
|
4206
|
+
detail: T;
|
|
4207
|
+
target: HTMLCoOptionListElement;
|
|
4208
|
+
}
|
|
3697
4209
|
export interface CoOverlayCustomEvent<T> extends CustomEvent<T> {
|
|
3698
4210
|
detail: T;
|
|
3699
4211
|
target: HTMLCoOverlayElement;
|
|
@@ -3790,6 +4302,10 @@ declare global {
|
|
|
3790
4302
|
interface HTMLCoAccordionElementEventMap {
|
|
3791
4303
|
"coToggle": boolean;
|
|
3792
4304
|
}
|
|
4305
|
+
/**
|
|
4306
|
+
* Collapsible section. The caret button is the ONLY toggle trigger — clicking
|
|
4307
|
+
* the header text does nothing (it may contain interactive content).
|
|
4308
|
+
*/
|
|
3793
4309
|
interface HTMLCoAccordionElement extends Components.CoAccordion, HTMLStencilElement {
|
|
3794
4310
|
addEventListener<K extends keyof HTMLCoAccordionElementEventMap>(type: K, listener: (this: HTMLCoAccordionElement, ev: CoAccordionCustomEvent<HTMLCoAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3795
4311
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3826,7 +4342,7 @@ declare global {
|
|
|
3826
4342
|
};
|
|
3827
4343
|
interface HTMLCoAutocompleteElementEventMap {
|
|
3828
4344
|
"coSearch": string;
|
|
3829
|
-
"coChange": string | string[];
|
|
4345
|
+
"coChange": { value: string | string[]; item: { _id: string; label: string } | null };
|
|
3830
4346
|
"coClear": void;
|
|
3831
4347
|
}
|
|
3832
4348
|
interface HTMLCoAutocompleteElement extends Components.CoAutocomplete, HTMLStencilElement {
|
|
@@ -3900,6 +4416,46 @@ declare global {
|
|
|
3900
4416
|
prototype: HTMLCoBottomSheetElement;
|
|
3901
4417
|
new (): HTMLCoBottomSheetElement;
|
|
3902
4418
|
};
|
|
4419
|
+
/**
|
|
4420
|
+
* Horizontal breadcrumb trail. Accepts `co-breadcrumb-item` children via the
|
|
4421
|
+
* default slot, or auto-renders them from the `items` JSON prop.
|
|
4422
|
+
* The separator between crumbs is drawn by each `co-breadcrumb-item` as a
|
|
4423
|
+
* leading icon (hidden on the first crumb via CSS), so no separator markup is
|
|
4424
|
+
* interleaved here. This component propagates its `separator` prop down to the
|
|
4425
|
+
* slotted items and layouts them in a `align-items:center; gap:4px` flex row.
|
|
4426
|
+
*/
|
|
4427
|
+
interface HTMLCoBreadcrumbElement extends Components.CoBreadcrumb, HTMLStencilElement {
|
|
4428
|
+
}
|
|
4429
|
+
var HTMLCoBreadcrumbElement: {
|
|
4430
|
+
prototype: HTMLCoBreadcrumbElement;
|
|
4431
|
+
new (): HTMLCoBreadcrumbElement;
|
|
4432
|
+
};
|
|
4433
|
+
interface HTMLCoBreadcrumbItemElementEventMap {
|
|
4434
|
+
"coSelect": string;
|
|
4435
|
+
}
|
|
4436
|
+
/**
|
|
4437
|
+
* A single navigable crumb inside a `co-breadcrumb`.
|
|
4438
|
+
* Renders a leading separator icon (hidden on the first crumb via CSS
|
|
4439
|
+
* `:host(:first-child)`) followed by the clickable content — an optional
|
|
4440
|
+
* leading icon and the label. Clicking (or Enter/Space) emits `coSelect` with
|
|
4441
|
+
* the crumb's `value` (falling back to its `label`).
|
|
4442
|
+
* Conventions mirror `co-menu-item`: the `current` crumb paints medium weight +
|
|
4443
|
+
* text-default ink; earlier crumbs are regular weight + muted (gray-500).
|
|
4444
|
+
*/
|
|
4445
|
+
interface HTMLCoBreadcrumbItemElement extends Components.CoBreadcrumbItem, HTMLStencilElement {
|
|
4446
|
+
addEventListener<K extends keyof HTMLCoBreadcrumbItemElementEventMap>(type: K, listener: (this: HTMLCoBreadcrumbItemElement, ev: CoBreadcrumbItemCustomEvent<HTMLCoBreadcrumbItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4447
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4448
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4449
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4450
|
+
removeEventListener<K extends keyof HTMLCoBreadcrumbItemElementEventMap>(type: K, listener: (this: HTMLCoBreadcrumbItemElement, ev: CoBreadcrumbItemCustomEvent<HTMLCoBreadcrumbItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4451
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4452
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4453
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4454
|
+
}
|
|
4455
|
+
var HTMLCoBreadcrumbItemElement: {
|
|
4456
|
+
prototype: HTMLCoBreadcrumbItemElement;
|
|
4457
|
+
new (): HTMLCoBreadcrumbItemElement;
|
|
4458
|
+
};
|
|
3903
4459
|
interface HTMLCoButtonElement extends Components.CoButton, HTMLStencilElement {
|
|
3904
4460
|
}
|
|
3905
4461
|
var HTMLCoButtonElement: {
|
|
@@ -4077,7 +4633,7 @@ declare global {
|
|
|
4077
4633
|
new (): HTMLCoColumnPickerElement;
|
|
4078
4634
|
};
|
|
4079
4635
|
interface HTMLCoComboboxElementEventMap {
|
|
4080
|
-
"coChange": string[];
|
|
4636
|
+
"coChange": { value: string[] | string; item: { _id: string; label: string } | null };
|
|
4081
4637
|
"coOpen": void;
|
|
4082
4638
|
"coClose": void;
|
|
4083
4639
|
"coClear": void;
|
|
@@ -4101,7 +4657,7 @@ declare global {
|
|
|
4101
4657
|
interface HTMLCoCommandSearchElementEventMap {
|
|
4102
4658
|
"coSelect": string;
|
|
4103
4659
|
"coClose": void;
|
|
4104
|
-
"
|
|
4660
|
+
"coSearch": string;
|
|
4105
4661
|
"coScopeChange": string;
|
|
4106
4662
|
"coBackspaceEmpty": string;
|
|
4107
4663
|
"coChipRemove": number;
|
|
@@ -4132,8 +4688,10 @@ declare global {
|
|
|
4132
4688
|
"coSelectAll": { selected: boolean };
|
|
4133
4689
|
"coColumnResize": { field: string; width: number };
|
|
4134
4690
|
"coColumnPin": { field: string };
|
|
4691
|
+
"coHeaderFilter": { field: string; rect: { top: number; left: number; bottom: number; right: number; width: number; height: number } };
|
|
4135
4692
|
"coRowDblClick": { row: any; index: number };
|
|
4136
4693
|
"coRowClick": { row: any; index: number };
|
|
4694
|
+
"coEmptyAction": void;
|
|
4137
4695
|
}
|
|
4138
4696
|
interface HTMLCoDataTableElement extends Components.CoDataTable, HTMLStencilElement {
|
|
4139
4697
|
addEventListener<K extends keyof HTMLCoDataTableElementEventMap>(type: K, listener: (this: HTMLCoDataTableElement, ev: CoDataTableCustomEvent<HTMLCoDataTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4317,6 +4875,62 @@ declare global {
|
|
|
4317
4875
|
prototype: HTMLCoDrawerElement;
|
|
4318
4876
|
new (): HTMLCoDrawerElement;
|
|
4319
4877
|
};
|
|
4878
|
+
interface HTMLCoDriveCardElementEventMap {
|
|
4879
|
+
"coOpen": void;
|
|
4880
|
+
"coToggleSelect": boolean;
|
|
4881
|
+
"coStar": void;
|
|
4882
|
+
}
|
|
4883
|
+
/**
|
|
4884
|
+
* co-drive-card — a selectable Drive item card.
|
|
4885
|
+
* A plain flex/grid surface that `co-card` cannot host: `co-card` projects its
|
|
4886
|
+
* children into a shadow-DOM body that forces block flow, clips with
|
|
4887
|
+
* `overflow:hidden`, locks a 16px radius + a real 1px border, and paints an
|
|
4888
|
+
* opaque surface that occludes the selected accent tint. This component renders
|
|
4889
|
+
* two faithful layouts instead — a `folder` flex row and a `file` column with a
|
|
4890
|
+
* thumbnail — with an absolute corner select-chip, a 1.5px inset selection ring,
|
|
4891
|
+
* and a shadow-sm + hairline hover.
|
|
4892
|
+
*/
|
|
4893
|
+
interface HTMLCoDriveCardElement extends Components.CoDriveCard, HTMLStencilElement {
|
|
4894
|
+
addEventListener<K extends keyof HTMLCoDriveCardElementEventMap>(type: K, listener: (this: HTMLCoDriveCardElement, ev: CoDriveCardCustomEvent<HTMLCoDriveCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4895
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4896
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4897
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4898
|
+
removeEventListener<K extends keyof HTMLCoDriveCardElementEventMap>(type: K, listener: (this: HTMLCoDriveCardElement, ev: CoDriveCardCustomEvent<HTMLCoDriveCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4899
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4900
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4901
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4902
|
+
}
|
|
4903
|
+
var HTMLCoDriveCardElement: {
|
|
4904
|
+
prototype: HTMLCoDriveCardElement;
|
|
4905
|
+
new (): HTMLCoDriveCardElement;
|
|
4906
|
+
};
|
|
4907
|
+
interface HTMLCoDropZoneElementEventMap {
|
|
4908
|
+
"coDrop": File[];
|
|
4909
|
+
"coDragStateChange": boolean;
|
|
4910
|
+
}
|
|
4911
|
+
/**
|
|
4912
|
+
* co-drop-zone — a drag-to-upload overlay.
|
|
4913
|
+
* Wraps arbitrary slotted content and paints an absolute dashed overlay on top
|
|
4914
|
+
* of it while a drag is in progress. Can be driven two ways:
|
|
4915
|
+
* 1. Controlled — the consumer toggles `active` (e.g. from its own drag state).
|
|
4916
|
+
* 2. Self-managed — the host listens for native dragenter/over/leave/drop and
|
|
4917
|
+
* flips `active` itself, emitting `coDragStateChange` and `coDrop`.
|
|
4918
|
+
* Report ref: 3.17 (446–449); drag overlay spec: report lines 135–136.
|
|
4919
|
+
*/
|
|
4920
|
+
interface HTMLCoDropZoneElement extends Components.CoDropZone, HTMLStencilElement {
|
|
4921
|
+
addEventListener<K extends keyof HTMLCoDropZoneElementEventMap>(type: K, listener: (this: HTMLCoDropZoneElement, ev: CoDropZoneCustomEvent<HTMLCoDropZoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4922
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4923
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4924
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4925
|
+
removeEventListener<K extends keyof HTMLCoDropZoneElementEventMap>(type: K, listener: (this: HTMLCoDropZoneElement, ev: CoDropZoneCustomEvent<HTMLCoDropZoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4926
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4927
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4928
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4929
|
+
}
|
|
4930
|
+
var HTMLCoDropZoneElement: {
|
|
4931
|
+
prototype: HTMLCoDropZoneElement;
|
|
4932
|
+
new (): HTMLCoDropZoneElement;
|
|
4933
|
+
};
|
|
4320
4934
|
/**
|
|
4321
4935
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
4322
4936
|
*/
|
|
@@ -4419,6 +5033,12 @@ declare global {
|
|
|
4419
5033
|
prototype: HTMLCoFileFieldElement;
|
|
4420
5034
|
new (): HTMLCoFileFieldElement;
|
|
4421
5035
|
};
|
|
5036
|
+
interface HTMLCoFileTypeTileElement extends Components.CoFileTypeTile, HTMLStencilElement {
|
|
5037
|
+
}
|
|
5038
|
+
var HTMLCoFileTypeTileElement: {
|
|
5039
|
+
prototype: HTMLCoFileTypeTileElement;
|
|
5040
|
+
new (): HTMLCoFileTypeTileElement;
|
|
5041
|
+
};
|
|
4422
5042
|
/**
|
|
4423
5043
|
* Helper / validation text shown below form fields.
|
|
4424
5044
|
*/
|
|
@@ -4589,6 +5209,17 @@ declare global {
|
|
|
4589
5209
|
prototype: HTMLCoLoaderElement;
|
|
4590
5210
|
new (): HTMLCoLoaderElement;
|
|
4591
5211
|
};
|
|
5212
|
+
/**
|
|
5213
|
+
* An image / video preview region. Renders a cover image when `src` is set,
|
|
5214
|
+
* an optional dark scrim + play button when `video` is true, and a default
|
|
5215
|
+
* slot fallback (for a type-icon box) when there is no `src`.
|
|
5216
|
+
*/
|
|
5217
|
+
interface HTMLCoMediaThumbElement extends Components.CoMediaThumb, HTMLStencilElement {
|
|
5218
|
+
}
|
|
5219
|
+
var HTMLCoMediaThumbElement: {
|
|
5220
|
+
prototype: HTMLCoMediaThumbElement;
|
|
5221
|
+
new (): HTMLCoMediaThumbElement;
|
|
5222
|
+
};
|
|
4592
5223
|
interface HTMLCoMenuElementEventMap {
|
|
4593
5224
|
"coOpen": void;
|
|
4594
5225
|
"coClose": void;
|
|
@@ -4715,6 +5346,34 @@ declare global {
|
|
|
4715
5346
|
prototype: HTMLCoNumberFieldElement;
|
|
4716
5347
|
new (): HTMLCoNumberFieldElement;
|
|
4717
5348
|
};
|
|
5349
|
+
interface HTMLCoOptionListElementEventMap {
|
|
5350
|
+
"coSearch": string;
|
|
5351
|
+
"coChange": { value: string | string[]; item: OptionListItem };
|
|
5352
|
+
"coLoadMore": void;
|
|
5353
|
+
"coClearSelection": void;
|
|
5354
|
+
"coRemoveItem": string;
|
|
5355
|
+
}
|
|
5356
|
+
/**
|
|
5357
|
+
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
5358
|
+
* dropdowns Cobalt (co-ref-field, co-combobox, co-autocomplete,
|
|
5359
|
+
* co-command-search) y de los pickers de celda de suite-v2.
|
|
5360
|
+
* NO renderiza trigger ni chrome de panel (popover/dialog/ancho): eso es del
|
|
5361
|
+
* host. Es 100% controlada: no muta `value`; emite y el host decide.
|
|
5362
|
+
*/
|
|
5363
|
+
interface HTMLCoOptionListElement extends Components.CoOptionList, HTMLStencilElement {
|
|
5364
|
+
addEventListener<K extends keyof HTMLCoOptionListElementEventMap>(type: K, listener: (this: HTMLCoOptionListElement, ev: CoOptionListCustomEvent<HTMLCoOptionListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5365
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5366
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5367
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5368
|
+
removeEventListener<K extends keyof HTMLCoOptionListElementEventMap>(type: K, listener: (this: HTMLCoOptionListElement, ev: CoOptionListCustomEvent<HTMLCoOptionListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5369
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5370
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5371
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5372
|
+
}
|
|
5373
|
+
var HTMLCoOptionListElement: {
|
|
5374
|
+
prototype: HTMLCoOptionListElement;
|
|
5375
|
+
new (): HTMLCoOptionListElement;
|
|
5376
|
+
};
|
|
4718
5377
|
interface HTMLCoOverlayElementEventMap {
|
|
4719
5378
|
"coClose": void;
|
|
4720
5379
|
"coAfterClose": void;
|
|
@@ -4861,7 +5520,6 @@ declare global {
|
|
|
4861
5520
|
"coLoadMore": void;
|
|
4862
5521
|
"coOpen": void;
|
|
4863
5522
|
"coClose": void;
|
|
4864
|
-
"coCreate": string;
|
|
4865
5523
|
"coRemove": string;
|
|
4866
5524
|
"coFooterPrimary": void;
|
|
4867
5525
|
"coFooterSecondary": void;
|
|
@@ -4949,6 +5607,17 @@ declare global {
|
|
|
4949
5607
|
prototype: HTMLCoRowElement;
|
|
4950
5608
|
new (): HTMLCoRowElement;
|
|
4951
5609
|
};
|
|
5610
|
+
/**
|
|
5611
|
+
* A stacked, multi-segment meter — a pill track split into N contiguous
|
|
5612
|
+
* colored segments (e.g. a storage breakdown). Display-only; colors are
|
|
5613
|
+
* supplied by the consumer. Provide an external legend via `slot="legend"`.
|
|
5614
|
+
*/
|
|
5615
|
+
interface HTMLCoSegmentedBarElement extends Components.CoSegmentedBar, HTMLStencilElement {
|
|
5616
|
+
}
|
|
5617
|
+
var HTMLCoSegmentedBarElement: {
|
|
5618
|
+
prototype: HTMLCoSegmentedBarElement;
|
|
5619
|
+
new (): HTMLCoSegmentedBarElement;
|
|
5620
|
+
};
|
|
4952
5621
|
interface HTMLCoSelectElementEventMap {
|
|
4953
5622
|
"coChange": string | string[];
|
|
4954
5623
|
"coClear": void;
|
|
@@ -5272,6 +5941,8 @@ declare global {
|
|
|
5272
5941
|
"co-avatar-group": HTMLCoAvatarGroupElement;
|
|
5273
5942
|
"co-badge": HTMLCoBadgeElement;
|
|
5274
5943
|
"co-bottom-sheet": HTMLCoBottomSheetElement;
|
|
5944
|
+
"co-breadcrumb": HTMLCoBreadcrumbElement;
|
|
5945
|
+
"co-breadcrumb-item": HTMLCoBreadcrumbItemElement;
|
|
5275
5946
|
"co-button": HTMLCoButtonElement;
|
|
5276
5947
|
"co-button-group": HTMLCoButtonGroupElement;
|
|
5277
5948
|
"co-calendar": HTMLCoCalendarElement;
|
|
@@ -5291,10 +5962,13 @@ declare global {
|
|
|
5291
5962
|
"co-date-range": HTMLCoDateRangeElement;
|
|
5292
5963
|
"co-date-range-picker": HTMLCoDateRangePickerElement;
|
|
5293
5964
|
"co-drawer": HTMLCoDrawerElement;
|
|
5965
|
+
"co-drive-card": HTMLCoDriveCardElement;
|
|
5966
|
+
"co-drop-zone": HTMLCoDropZoneElement;
|
|
5294
5967
|
"co-empty-state": HTMLCoEmptyStateElement;
|
|
5295
5968
|
"co-event-calendar": HTMLCoEventCalendarElement;
|
|
5296
5969
|
"co-fab": HTMLCoFabElement;
|
|
5297
5970
|
"co-file-field": HTMLCoFileFieldElement;
|
|
5971
|
+
"co-file-type-tile": HTMLCoFileTypeTileElement;
|
|
5298
5972
|
"co-helper-text": HTMLCoHelperTextElement;
|
|
5299
5973
|
"co-icon": HTMLCoIconElement;
|
|
5300
5974
|
"co-icon-button": HTMLCoIconButtonElement;
|
|
@@ -5304,12 +5978,14 @@ declare global {
|
|
|
5304
5978
|
"co-list-footer": HTMLCoListFooterElement;
|
|
5305
5979
|
"co-list-item": HTMLCoListItemElement;
|
|
5306
5980
|
"co-loader": HTMLCoLoaderElement;
|
|
5981
|
+
"co-media-thumb": HTMLCoMediaThumbElement;
|
|
5307
5982
|
"co-menu": HTMLCoMenuElement;
|
|
5308
5983
|
"co-menu-divider": HTMLCoMenuDividerElement;
|
|
5309
5984
|
"co-menu-item": HTMLCoMenuItemElement;
|
|
5310
5985
|
"co-modal": HTMLCoModalElement;
|
|
5311
5986
|
"co-navbar": HTMLCoNavbarElement;
|
|
5312
5987
|
"co-number-field": HTMLCoNumberFieldElement;
|
|
5988
|
+
"co-option-list": HTMLCoOptionListElement;
|
|
5313
5989
|
"co-overlay": HTMLCoOverlayElement;
|
|
5314
5990
|
"co-page-header": HTMLCoPageHeaderElement;
|
|
5315
5991
|
"co-phone-field": HTMLCoPhoneFieldElement;
|
|
@@ -5324,6 +6000,7 @@ declare global {
|
|
|
5324
6000
|
"co-rich-text-toolbar": HTMLCoRichTextToolbarElement;
|
|
5325
6001
|
"co-rich-text-viewer": HTMLCoRichTextViewerElement;
|
|
5326
6002
|
"co-row": HTMLCoRowElement;
|
|
6003
|
+
"co-segmented-bar": HTMLCoSegmentedBarElement;
|
|
5327
6004
|
"co-select": HTMLCoSelectElement;
|
|
5328
6005
|
"co-separator": HTMLCoSeparatorElement;
|
|
5329
6006
|
"co-sidebar": HTMLCoSidebarElement;
|
|
@@ -5346,6 +6023,10 @@ declare global {
|
|
|
5346
6023
|
declare namespace LocalJSX {
|
|
5347
6024
|
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
5348
6025
|
|
|
6026
|
+
/**
|
|
6027
|
+
* Collapsible section. The caret button is the ONLY toggle trigger — clicking
|
|
6028
|
+
* the header text does nothing (it may contain interactive content).
|
|
6029
|
+
*/
|
|
5349
6030
|
interface CoAccordion {
|
|
5350
6031
|
/**
|
|
5351
6032
|
* Hide the chevron / disable the toggle interaction.
|
|
@@ -5396,11 +6077,6 @@ declare namespace LocalJSX {
|
|
|
5396
6077
|
* @default true
|
|
5397
6078
|
*/
|
|
5398
6079
|
"clearable"?: boolean;
|
|
5399
|
-
/**
|
|
5400
|
-
* Debounce time in ms for coSearch
|
|
5401
|
-
* @default 300
|
|
5402
|
-
*/
|
|
5403
|
-
"debounce"?: number;
|
|
5404
6080
|
/**
|
|
5405
6081
|
* @default false
|
|
5406
6082
|
*/
|
|
@@ -5409,7 +6085,7 @@ declare namespace LocalJSX {
|
|
|
5409
6085
|
* Message when options are empty after search
|
|
5410
6086
|
* @default 'No results'
|
|
5411
6087
|
*/
|
|
5412
|
-
"
|
|
6088
|
+
"emptyMessage"?: string;
|
|
5413
6089
|
"helperText"?: string;
|
|
5414
6090
|
"iconLeft"?: string;
|
|
5415
6091
|
"label"?: string;
|
|
@@ -5431,7 +6107,7 @@ declare namespace LocalJSX {
|
|
|
5431
6107
|
* @default false
|
|
5432
6108
|
*/
|
|
5433
6109
|
"multiple"?: boolean;
|
|
5434
|
-
"onCoChange"?: (event: CoAutocompleteCustomEvent<string | string[]>) => void;
|
|
6110
|
+
"onCoChange"?: (event: CoAutocompleteCustomEvent<{ value: string | string[]; item: { _id: string; label: string } | null }>) => void;
|
|
5435
6111
|
"onCoClear"?: (event: CoAutocompleteCustomEvent<void>) => void;
|
|
5436
6112
|
/**
|
|
5437
6113
|
* Fired when the user types (after debounce). Host should fetch and set options.
|
|
@@ -5451,6 +6127,11 @@ declare namespace LocalJSX {
|
|
|
5451
6127
|
* @default false
|
|
5452
6128
|
*/
|
|
5453
6129
|
"required"?: boolean;
|
|
6130
|
+
/**
|
|
6131
|
+
* Debounce time in ms for coSearch
|
|
6132
|
+
* @default 300
|
|
6133
|
+
*/
|
|
6134
|
+
"searchDebounce"?: number;
|
|
5454
6135
|
"secondaryLabel"?: string;
|
|
5455
6136
|
/**
|
|
5456
6137
|
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
@@ -5467,6 +6148,10 @@ declare namespace LocalJSX {
|
|
|
5467
6148
|
"value"?: string | string[];
|
|
5468
6149
|
}
|
|
5469
6150
|
interface CoAvatar {
|
|
6151
|
+
/**
|
|
6152
|
+
* Alternative text for the image (type="image"); falls back to text when unset
|
|
6153
|
+
*/
|
|
6154
|
+
"alt"?: string;
|
|
5470
6155
|
/**
|
|
5471
6156
|
* Custom background color (hex or CSS value)
|
|
5472
6157
|
*/
|
|
@@ -5617,6 +6302,62 @@ declare namespace LocalJSX {
|
|
|
5617
6302
|
*/
|
|
5618
6303
|
"showHandle"?: boolean;
|
|
5619
6304
|
}
|
|
6305
|
+
/**
|
|
6306
|
+
* Horizontal breadcrumb trail. Accepts `co-breadcrumb-item` children via the
|
|
6307
|
+
* default slot, or auto-renders them from the `items` JSON prop.
|
|
6308
|
+
* The separator between crumbs is drawn by each `co-breadcrumb-item` as a
|
|
6309
|
+
* leading icon (hidden on the first crumb via CSS), so no separator markup is
|
|
6310
|
+
* interleaved here. This component propagates its `separator` prop down to the
|
|
6311
|
+
* slotted items and layouts them in a `align-items:center; gap:4px` flex row.
|
|
6312
|
+
*/
|
|
6313
|
+
interface CoBreadcrumb {
|
|
6314
|
+
/**
|
|
6315
|
+
* Optional JSON array to auto-render crumbs instead of using the slot, e.g. `[{ "label": "Mi unidad", "icon": "cloud", "value": "root" }]`. The last entry is marked `current`. When set, slotted children are ignored.
|
|
6316
|
+
*/
|
|
6317
|
+
"items"?: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* Icon name (Phosphor) for the separator between crumbs. Propagated to slotted `co-breadcrumb-item` children.
|
|
6320
|
+
* @default 'caret-right'
|
|
6321
|
+
*/
|
|
6322
|
+
"separator"?: string;
|
|
6323
|
+
}
|
|
6324
|
+
/**
|
|
6325
|
+
* A single navigable crumb inside a `co-breadcrumb`.
|
|
6326
|
+
* Renders a leading separator icon (hidden on the first crumb via CSS
|
|
6327
|
+
* `:host(:first-child)`) followed by the clickable content — an optional
|
|
6328
|
+
* leading icon and the label. Clicking (or Enter/Space) emits `coSelect` with
|
|
6329
|
+
* the crumb's `value` (falling back to its `label`).
|
|
6330
|
+
* Conventions mirror `co-menu-item`: the `current` crumb paints medium weight +
|
|
6331
|
+
* text-default ink; earlier crumbs are regular weight + muted (gray-500).
|
|
6332
|
+
*/
|
|
6333
|
+
interface CoBreadcrumbItem {
|
|
6334
|
+
/**
|
|
6335
|
+
* Marks this crumb as the current (last) page — medium weight + text-default ink.
|
|
6336
|
+
* @default false
|
|
6337
|
+
*/
|
|
6338
|
+
"current"?: boolean;
|
|
6339
|
+
/**
|
|
6340
|
+
* Optional leading icon (Phosphor name), size 16, inherits the crumb color.
|
|
6341
|
+
*/
|
|
6342
|
+
"icon"?: string;
|
|
6343
|
+
/**
|
|
6344
|
+
* Text shown in the crumb.
|
|
6345
|
+
*/
|
|
6346
|
+
"label"?: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* Fired on click / Enter / Space with `value || label`. Bubbles + composed so consumers can listen on the parent `co-breadcrumb`.
|
|
6349
|
+
*/
|
|
6350
|
+
"onCoSelect"?: (event: CoBreadcrumbItemCustomEvent<string>) => void;
|
|
6351
|
+
/**
|
|
6352
|
+
* Leading separator icon (size 13, gray-400). Hidden on the first crumb via CSS. Set by the parent `co-breadcrumb`; defaults to `caret-right`.
|
|
6353
|
+
* @default 'caret-right'
|
|
6354
|
+
*/
|
|
6355
|
+
"separator"?: string;
|
|
6356
|
+
/**
|
|
6357
|
+
* Value emitted by `coSelect`. Falls back to `label` when unset.
|
|
6358
|
+
*/
|
|
6359
|
+
"value"?: string;
|
|
6360
|
+
}
|
|
5620
6361
|
interface CoButton {
|
|
5621
6362
|
/**
|
|
5622
6363
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
@@ -5627,6 +6368,11 @@ declare namespace LocalJSX {
|
|
|
5627
6368
|
* @default false
|
|
5628
6369
|
*/
|
|
5629
6370
|
"disabled"?: boolean;
|
|
6371
|
+
/**
|
|
6372
|
+
* Raised elevation — with variant="secondary" renders a white raised button (shadow-sm + inset hairline).
|
|
6373
|
+
* @default false
|
|
6374
|
+
*/
|
|
6375
|
+
"elevated"?: boolean;
|
|
5630
6376
|
/**
|
|
5631
6377
|
* Phosphor icon name for the left position (e.g. "plus", "arrow-left")
|
|
5632
6378
|
*/
|
|
@@ -5658,6 +6404,11 @@ declare namespace LocalJSX {
|
|
|
5658
6404
|
* @default 'm'
|
|
5659
6405
|
*/
|
|
5660
6406
|
"size"?: 'l' | 'm' | 's' | 'xs';
|
|
6407
|
+
/**
|
|
6408
|
+
* Surface the button sits on. On "dark", ghost/stroke variants switch to white ink + blanco-16 hover.
|
|
6409
|
+
* @default 'light'
|
|
6410
|
+
*/
|
|
6411
|
+
"surface"?: 'light' | 'dark';
|
|
5661
6412
|
/**
|
|
5662
6413
|
* Custom text/icon color (CSS value or token, e.g. "var(--co-color-base-blanco)")
|
|
5663
6414
|
*/
|
|
@@ -5871,6 +6622,11 @@ declare namespace LocalJSX {
|
|
|
5871
6622
|
"variant"?: 'elevated' | 'outlined' | 'flat';
|
|
5872
6623
|
}
|
|
5873
6624
|
interface CoCheckbox {
|
|
6625
|
+
/**
|
|
6626
|
+
* Visual appearance: - 'default' — the standard labeled form checkbox (unchanged). - 'overlay' — a standalone frosted rounded selection chip (Drive), no label, bespoke SVG glyphs.
|
|
6627
|
+
* @default 'default'
|
|
6628
|
+
*/
|
|
6629
|
+
"appearance"?: 'default' | 'overlay';
|
|
5874
6630
|
/**
|
|
5875
6631
|
* Whether the checkbox is checked
|
|
5876
6632
|
* @default false
|
|
@@ -5895,10 +6651,14 @@ declare namespace LocalJSX {
|
|
|
5895
6651
|
*/
|
|
5896
6652
|
"onCoChange"?: (event: CoCheckboxCustomEvent<boolean>) => void;
|
|
5897
6653
|
/**
|
|
5898
|
-
*
|
|
6654
|
+
* Accent fill color used when checked/indeterminate. Defaults to the current design token.
|
|
6655
|
+
*/
|
|
6656
|
+
"onColor"?: string;
|
|
6657
|
+
/**
|
|
6658
|
+
* Size: small=16px, medium=20px, large=24px (overlay appearance: small=20px, medium/large=22px)
|
|
5899
6659
|
* @default 'small'
|
|
5900
6660
|
*/
|
|
5901
|
-
"size"?: 'small' | 'large';
|
|
6661
|
+
"size"?: 'small' | 'medium' | 'large';
|
|
5902
6662
|
/**
|
|
5903
6663
|
* Value for checkbox group usage
|
|
5904
6664
|
* @default ''
|
|
@@ -5998,7 +6758,7 @@ declare namespace LocalJSX {
|
|
|
5998
6758
|
*/
|
|
5999
6759
|
"iconRight"?: string;
|
|
6000
6760
|
/**
|
|
6001
|
-
* Icon weight applied to prop-based iconLeft / iconRight.
|
|
6761
|
+
* Icon weight applied to prop-based iconLeft / iconRight / trailingIcon.
|
|
6002
6762
|
* @default 'regular'
|
|
6003
6763
|
*/
|
|
6004
6764
|
"iconWeight"?: 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
@@ -6035,10 +6795,18 @@ declare namespace LocalJSX {
|
|
|
6035
6795
|
*/
|
|
6036
6796
|
"size"?: 'large' | 'small';
|
|
6037
6797
|
/**
|
|
6038
|
-
*
|
|
6798
|
+
* Trailing icon name (prop-based, uses co-icon — any Phosphor icon name), e.g. 'caret-down'. In the `filter` variant it renders at 13px in gray-400; in other variants it inherits the chip text colour.
|
|
6799
|
+
*/
|
|
6800
|
+
"trailingIcon"?: string;
|
|
6801
|
+
/**
|
|
6802
|
+
* Muted two-tone value suffix rendered right after the label as ": <valueLabel>" (e.g. label "Ordenar" + valueLabel "Reciente" → "Ordenar: Reciente"). The suffix is coloured with --co-chip-value-color (default gray-500). Omit for a plain chip.
|
|
6803
|
+
*/
|
|
6804
|
+
"valueLabel"?: string;
|
|
6805
|
+
/**
|
|
6806
|
+
* Visual variant. - filled/outlined = existing tag/chip looks (unchanged defaults). - filter = Cloud Drive filter-trigger pill (white pill, inset hairline ring, tinted leading icon, two-tone value, trailing caret).
|
|
6039
6807
|
* @default 'filled'
|
|
6040
6808
|
*/
|
|
6041
|
-
"variant"?: 'filled' | 'outlined';
|
|
6809
|
+
"variant"?: 'filled' | 'outlined' | 'filter';
|
|
6042
6810
|
}
|
|
6043
6811
|
/**
|
|
6044
6812
|
* Color picker with preset swatches. Shows a trigger with the current color
|
|
@@ -6192,6 +6960,11 @@ declare namespace LocalJSX {
|
|
|
6192
6960
|
* @default false
|
|
6193
6961
|
*/
|
|
6194
6962
|
"disabled"?: boolean;
|
|
6963
|
+
/**
|
|
6964
|
+
* Message shown when the filtered list is empty.
|
|
6965
|
+
* @default 'No results found'
|
|
6966
|
+
*/
|
|
6967
|
+
"emptyMessage"?: string;
|
|
6195
6968
|
/**
|
|
6196
6969
|
* Label for the primary footer button
|
|
6197
6970
|
* @default 'Ok'
|
|
@@ -6225,9 +6998,9 @@ declare namespace LocalJSX {
|
|
|
6225
6998
|
*/
|
|
6226
6999
|
"multiple"?: boolean;
|
|
6227
7000
|
/**
|
|
6228
|
-
* Emitted when the selection changes
|
|
7001
|
+
* Emitted when the selection changes. `item` is the picked option (the option-list's native `{ _id, label }` shape); `null` on clear.
|
|
6229
7002
|
*/
|
|
6230
|
-
"onCoChange"?: (event: CoComboboxCustomEvent<string[]>) => void;
|
|
7003
|
+
"onCoChange"?: (event: CoComboboxCustomEvent<{ value: string[] | string; item: { _id: string; label: string } | null }>) => void;
|
|
6231
7004
|
/**
|
|
6232
7005
|
* Emitted when the clear button is clicked
|
|
6233
7006
|
*/
|
|
@@ -6361,11 +7134,11 @@ declare namespace LocalJSX {
|
|
|
6361
7134
|
* Emitted when the "Más ▾" overflow tab is clicked.
|
|
6362
7135
|
*/
|
|
6363
7136
|
"onCoMoreTabs"?: (event: CoCommandSearchCustomEvent<void>) => void;
|
|
6364
|
-
"onCoQueryChange"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6365
7137
|
/**
|
|
6366
7138
|
* Emitted when an item with keepOpen=true is selected. Detail = item.value (scope model key).
|
|
6367
7139
|
*/
|
|
6368
7140
|
"onCoScopeChange"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
7141
|
+
"onCoSearch"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6369
7142
|
"onCoSelect"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6370
7143
|
/**
|
|
6371
7144
|
* Emitted when a module tab is clicked. detail = tab value; '' when the active tab is re-clicked (deselect).
|
|
@@ -6393,6 +7166,19 @@ declare namespace LocalJSX {
|
|
|
6393
7166
|
* @default '[]'
|
|
6394
7167
|
*/
|
|
6395
7168
|
"columns"?: string | CoDataTableColumn[];
|
|
7169
|
+
/**
|
|
7170
|
+
* Optional left icon (Phosphor name) for the prop-driven empty-action button.
|
|
7171
|
+
*/
|
|
7172
|
+
"emptyActionIcon"?: string;
|
|
7173
|
+
/**
|
|
7174
|
+
* Empty-state action button, rendered BY the component (not via slot). Prefer this over the `empty-action` slot: a non-shadow component relocates slotted light-DOM nodes, so projecting togglable framework content (e.g. a Vue `v-if` button) corrupts that framework's virtual DOM. Leave empty to fall back to the `empty-action` slot.
|
|
7175
|
+
*/
|
|
7176
|
+
"emptyActionLabel"?: string;
|
|
7177
|
+
/**
|
|
7178
|
+
* Variant for the prop-driven empty-action button.
|
|
7179
|
+
* @default 'stroke'
|
|
7180
|
+
*/
|
|
7181
|
+
"emptyActionVariant"?: 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
6396
7182
|
/**
|
|
6397
7183
|
* Empty state icon (Phosphor icon name).
|
|
6398
7184
|
* @default 'magnifying-glass'
|
|
@@ -6408,6 +7194,16 @@ declare namespace LocalJSX {
|
|
|
6408
7194
|
* @default ''
|
|
6409
7195
|
*/
|
|
6410
7196
|
"emptyTitle"?: string;
|
|
7197
|
+
/**
|
|
7198
|
+
* Fields with an active column filter (funnel filled + always visible). JSON string or array.
|
|
7199
|
+
* @default '[]'
|
|
7200
|
+
*/
|
|
7201
|
+
"filteredFields"?: string | string[];
|
|
7202
|
+
/**
|
|
7203
|
+
* Fields filtered by OTHER filter layers (funnel dimmed hint). JSON string or array.
|
|
7204
|
+
* @default '[]'
|
|
7205
|
+
*/
|
|
7206
|
+
"indirectFilteredFields"?: string | string[];
|
|
6411
7207
|
/**
|
|
6412
7208
|
* Show loading skeleton
|
|
6413
7209
|
* @default false
|
|
@@ -6421,6 +7217,14 @@ declare namespace LocalJSX {
|
|
|
6421
7217
|
* Emitted when a column is resized
|
|
6422
7218
|
*/
|
|
6423
7219
|
"onCoColumnResize"?: (event: CoDataTableCustomEvent<{ field: string; width: number }>) => void;
|
|
7220
|
+
/**
|
|
7221
|
+
* Fired when the prop-driven empty-action button (`emptyActionLabel`) is clicked.
|
|
7222
|
+
*/
|
|
7223
|
+
"onCoEmptyAction"?: (event: CoDataTableCustomEvent<void>) => void;
|
|
7224
|
+
/**
|
|
7225
|
+
* Emitted when a column's filter icon is clicked (rect = icon bounding box for anchoring).
|
|
7226
|
+
*/
|
|
7227
|
+
"onCoHeaderFilter"?: (event: CoDataTableCustomEvent<{ field: string; rect: { top: number; left: number; bottom: number; right: number; width: number; height: number } }>) => void;
|
|
6424
7228
|
/**
|
|
6425
7229
|
* Emitted when a row is clicked
|
|
6426
7230
|
*/
|
|
@@ -6943,41 +7747,153 @@ declare namespace LocalJSX {
|
|
|
6943
7747
|
*/
|
|
6944
7748
|
"icon"?: string;
|
|
6945
7749
|
/**
|
|
6946
|
-
* Show a loading overlay over the body
|
|
7750
|
+
* Show a loading overlay over the body
|
|
7751
|
+
* @default false
|
|
7752
|
+
*/
|
|
7753
|
+
"loading"?: boolean;
|
|
7754
|
+
/**
|
|
7755
|
+
* Render without the modal overlay: no scrim, no body-scroll lock — the page behind stays fully interactive. The panel promotes itself to the browser top layer (Popover API) so ancestor filters/transforms can't clip it. Close vectors: X button, Escape, or the consumer flipping `open` — there is deliberately no click-outside in this mode.
|
|
7756
|
+
* @default false
|
|
7757
|
+
*/
|
|
7758
|
+
"modeless"?: boolean;
|
|
7759
|
+
/**
|
|
7760
|
+
* Slide-out animation finished.
|
|
7761
|
+
*/
|
|
7762
|
+
"onCoAfterClose"?: (event: CoDrawerCustomEvent<void>) => void;
|
|
7763
|
+
/**
|
|
7764
|
+
* Slide-in animation finished.
|
|
7765
|
+
*/
|
|
7766
|
+
"onCoAfterOpen"?: (event: CoDrawerCustomEvent<void>) => void;
|
|
7767
|
+
/**
|
|
7768
|
+
* Requested to close (X, backdrop, Esc). Consumer should set `open=false`.
|
|
7769
|
+
*/
|
|
7770
|
+
"onCoClose"?: (event: CoDrawerCustomEvent<void>) => void;
|
|
7771
|
+
/**
|
|
7772
|
+
* Transitioned to open=true.
|
|
7773
|
+
*/
|
|
7774
|
+
"onCoOpen"?: (event: CoDrawerCustomEvent<void>) => void;
|
|
7775
|
+
/**
|
|
7776
|
+
* Whether the drawer is visible
|
|
7777
|
+
* @default false
|
|
7778
|
+
*/
|
|
7779
|
+
"open"?: boolean;
|
|
7780
|
+
/**
|
|
7781
|
+
* Side from which the drawer slides in
|
|
7782
|
+
* @default 'right'
|
|
7783
|
+
*/
|
|
7784
|
+
"position"?: 'right' | 'left' | 'bottom';
|
|
7785
|
+
/**
|
|
7786
|
+
* Predefined sizes — sm 400 / md 520 / lg 720 / xl 960 / full 100%
|
|
7787
|
+
* @default 'md'
|
|
7788
|
+
*/
|
|
7789
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
7790
|
+
}
|
|
7791
|
+
/**
|
|
7792
|
+
* co-drive-card — a selectable Drive item card.
|
|
7793
|
+
* A plain flex/grid surface that `co-card` cannot host: `co-card` projects its
|
|
7794
|
+
* children into a shadow-DOM body that forces block flow, clips with
|
|
7795
|
+
* `overflow:hidden`, locks a 16px radius + a real 1px border, and paints an
|
|
7796
|
+
* opaque surface that occludes the selected accent tint. This component renders
|
|
7797
|
+
* two faithful layouts instead — a `folder` flex row and a `file` column with a
|
|
7798
|
+
* thumbnail — with an absolute corner select-chip, a 1.5px inset selection ring,
|
|
7799
|
+
* and a shadow-sm + hairline hover.
|
|
7800
|
+
*/
|
|
7801
|
+
interface CoDriveCard {
|
|
7802
|
+
/**
|
|
7803
|
+
* Accent CSS color driving the icon tile, selection ring and select chip.
|
|
7804
|
+
* @default 'var(--co-color-primary-azul)'
|
|
7805
|
+
*/
|
|
7806
|
+
"accent"?: string;
|
|
7807
|
+
/**
|
|
7808
|
+
* (file) Whether the item is the active/current item — draws a heavier inset ring.
|
|
7809
|
+
* @default false
|
|
7810
|
+
*/
|
|
7811
|
+
"active"?: boolean;
|
|
7812
|
+
/**
|
|
7813
|
+
* Vertical rhythm / sizing.
|
|
7814
|
+
* @default 'comfy'
|
|
7815
|
+
*/
|
|
7816
|
+
"density"?: 'comfy' | 'compact';
|
|
7817
|
+
/**
|
|
7818
|
+
* (file) File extension used to render a default <co-file-type-tile> in the foot when the `type` slot is empty.
|
|
7819
|
+
*/
|
|
7820
|
+
"ext"?: string;
|
|
7821
|
+
/**
|
|
7822
|
+
* Muted secondary line (meta).
|
|
7823
|
+
* @default ''
|
|
7824
|
+
*/
|
|
7825
|
+
"meta"?: string;
|
|
7826
|
+
/**
|
|
7827
|
+
* Primary label (name).
|
|
7828
|
+
* @default ''
|
|
7829
|
+
*/
|
|
7830
|
+
"name"?: string;
|
|
7831
|
+
/**
|
|
7832
|
+
* Fired when the card is activated (click / Enter / Space).
|
|
7833
|
+
*/
|
|
7834
|
+
"onCoOpen"?: (event: CoDriveCardCustomEvent<void>) => void;
|
|
7835
|
+
/**
|
|
7836
|
+
* Fired when the star affordance is clicked.
|
|
7837
|
+
*/
|
|
7838
|
+
"onCoStar"?: (event: CoDriveCardCustomEvent<void>) => void;
|
|
7839
|
+
/**
|
|
7840
|
+
* Fired when the select chip is toggled — emits the NEW selected state.
|
|
7841
|
+
*/
|
|
7842
|
+
"onCoToggleSelect"?: (event: CoDriveCardCustomEvent<boolean>) => void;
|
|
7843
|
+
/**
|
|
7844
|
+
* Whether the item is selected. Controlled — parent updates it on coToggleSelect.
|
|
7845
|
+
* @default false
|
|
7846
|
+
*/
|
|
7847
|
+
"selected"?: boolean;
|
|
7848
|
+
/**
|
|
7849
|
+
* Whether the item is starred.
|
|
6947
7850
|
* @default false
|
|
6948
7851
|
*/
|
|
6949
|
-
"
|
|
7852
|
+
"starred"?: boolean;
|
|
6950
7853
|
/**
|
|
6951
|
-
*
|
|
7854
|
+
* Which layout to render.
|
|
7855
|
+
* @default 'folder'
|
|
6952
7856
|
*/
|
|
6953
|
-
"
|
|
7857
|
+
"variant"?: 'folder' | 'file';
|
|
7858
|
+
}
|
|
7859
|
+
/**
|
|
7860
|
+
* co-drop-zone — a drag-to-upload overlay.
|
|
7861
|
+
* Wraps arbitrary slotted content and paints an absolute dashed overlay on top
|
|
7862
|
+
* of it while a drag is in progress. Can be driven two ways:
|
|
7863
|
+
* 1. Controlled — the consumer toggles `active` (e.g. from its own drag state).
|
|
7864
|
+
* 2. Self-managed — the host listens for native dragenter/over/leave/drop and
|
|
7865
|
+
* flips `active` itself, emitting `coDragStateChange` and `coDrop`.
|
|
7866
|
+
* Report ref: 3.17 (446–449); drag overlay spec: report lines 135–136.
|
|
7867
|
+
*/
|
|
7868
|
+
interface CoDropZone {
|
|
6954
7869
|
/**
|
|
6955
|
-
*
|
|
7870
|
+
* Accent color for the dashed border, badge icon and tinted background.
|
|
7871
|
+
* @default 'var(--co-color-primary-azul)'
|
|
6956
7872
|
*/
|
|
6957
|
-
"
|
|
7873
|
+
"accent"?: string;
|
|
6958
7874
|
/**
|
|
6959
|
-
*
|
|
7875
|
+
* Whether the drag-to-upload overlay is visible.
|
|
7876
|
+
* @default false
|
|
6960
7877
|
*/
|
|
6961
|
-
"
|
|
7878
|
+
"active"?: boolean;
|
|
6962
7879
|
/**
|
|
6963
|
-
*
|
|
7880
|
+
* Phosphor icon name shown in the badge.
|
|
7881
|
+
* @default 'upload-simple'
|
|
6964
7882
|
*/
|
|
6965
|
-
"
|
|
7883
|
+
"icon"?: string;
|
|
6966
7884
|
/**
|
|
6967
|
-
*
|
|
6968
|
-
* @default
|
|
7885
|
+
* Overlay label text.
|
|
7886
|
+
* @default 'Suelta para subir'
|
|
6969
7887
|
*/
|
|
6970
|
-
"
|
|
7888
|
+
"label"?: string;
|
|
6971
7889
|
/**
|
|
6972
|
-
*
|
|
6973
|
-
* @default 'right'
|
|
7890
|
+
* Emitted whenever the internal drag-over state flips.
|
|
6974
7891
|
*/
|
|
6975
|
-
"
|
|
7892
|
+
"onCoDragStateChange"?: (event: CoDropZoneCustomEvent<boolean>) => void;
|
|
6976
7893
|
/**
|
|
6977
|
-
*
|
|
6978
|
-
* @default 'md'
|
|
7894
|
+
* Emitted with the dropped files.
|
|
6979
7895
|
*/
|
|
6980
|
-
"
|
|
7896
|
+
"onCoDrop"?: (event: CoDropZoneCustomEvent<File[]>) => void;
|
|
6981
7897
|
}
|
|
6982
7898
|
/**
|
|
6983
7899
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
@@ -6995,6 +7911,20 @@ declare namespace LocalJSX {
|
|
|
6995
7911
|
* Phosphor icon name
|
|
6996
7912
|
*/
|
|
6997
7913
|
"icon"?: string;
|
|
7914
|
+
/**
|
|
7915
|
+
* Phosphor icon weight. Defaults to `light` (plain) / `regular` (card) when unset.
|
|
7916
|
+
*/
|
|
7917
|
+
"iconWeight"?: 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone';
|
|
7918
|
+
/**
|
|
7919
|
+
* Size scale. `l` grows the medallion (98px) and heading (24/500).
|
|
7920
|
+
* @default 'm'
|
|
7921
|
+
*/
|
|
7922
|
+
"size"?: 'm' | 'l';
|
|
7923
|
+
/**
|
|
7924
|
+
* Visual style: `plain` (default, current behavior) or `card` (framed white card).
|
|
7925
|
+
* @default 'plain'
|
|
7926
|
+
*/
|
|
7927
|
+
"variant"?: 'plain' | 'card';
|
|
6998
7928
|
}
|
|
6999
7929
|
/**
|
|
7000
7930
|
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
@@ -7112,6 +8042,10 @@ declare namespace LocalJSX {
|
|
|
7112
8042
|
"view"?: 'month' | 'week' | 'day' | 'agenda';
|
|
7113
8043
|
}
|
|
7114
8044
|
interface CoFab {
|
|
8045
|
+
/**
|
|
8046
|
+
* Accessible label for icon-only FABs (falls back to `label`/`icon`).
|
|
8047
|
+
*/
|
|
8048
|
+
"ariaLabelText"?: string;
|
|
7115
8049
|
/**
|
|
7116
8050
|
* @default false
|
|
7117
8051
|
*/
|
|
@@ -7130,7 +8064,7 @@ declare namespace LocalJSX {
|
|
|
7130
8064
|
/**
|
|
7131
8065
|
* @default 'm'
|
|
7132
8066
|
*/
|
|
7133
|
-
"size"?: 'l' | 'm' | 's';
|
|
8067
|
+
"size"?: 'xl' | 'l' | 'm' | 's';
|
|
7134
8068
|
/**
|
|
7135
8069
|
* @default 'primary'
|
|
7136
8070
|
*/
|
|
@@ -7240,6 +8174,27 @@ declare namespace LocalJSX {
|
|
|
7240
8174
|
*/
|
|
7241
8175
|
"uploadedTitle"?: string;
|
|
7242
8176
|
}
|
|
8177
|
+
interface CoFileTypeTile {
|
|
8178
|
+
/**
|
|
8179
|
+
* When true, use the type's tint/accent colors; when false, neutral gray-100 / gray-600.
|
|
8180
|
+
* @default true
|
|
8181
|
+
*/
|
|
8182
|
+
"colorTags"?: boolean;
|
|
8183
|
+
/**
|
|
8184
|
+
* File extension (e.g. "pdf", "docx", "png"). Case-insensitive; a leading dot is ignored.
|
|
8185
|
+
*/
|
|
8186
|
+
"ext": string;
|
|
8187
|
+
/**
|
|
8188
|
+
* Corner radius in px (React uses 11 / 9 / 7).
|
|
8189
|
+
* @default 11
|
|
8190
|
+
*/
|
|
8191
|
+
"radius"?: number;
|
|
8192
|
+
/**
|
|
8193
|
+
* Tile edge length in px (React uses 44 / 34 / 26).
|
|
8194
|
+
* @default 44
|
|
8195
|
+
*/
|
|
8196
|
+
"size"?: number;
|
|
8197
|
+
}
|
|
7243
8198
|
/**
|
|
7244
8199
|
* Helper / validation text shown below form fields.
|
|
7245
8200
|
*/
|
|
@@ -7278,6 +8233,10 @@ declare namespace LocalJSX {
|
|
|
7278
8233
|
"weight"?: IconWeight;
|
|
7279
8234
|
}
|
|
7280
8235
|
interface CoIconButton {
|
|
8236
|
+
/**
|
|
8237
|
+
* Override the container box in px (width === height). When set, takes precedence over the `size` class dimensions — lets you hit 32/36/40 rounded squares. When omitted, the `size` class dimensions apply (unchanged behavior).
|
|
8238
|
+
*/
|
|
8239
|
+
"boxSize"?: number;
|
|
7281
8240
|
/**
|
|
7282
8241
|
* Disabled state
|
|
7283
8242
|
* @default false
|
|
@@ -7288,7 +8247,7 @@ declare namespace LocalJSX {
|
|
|
7288
8247
|
*/
|
|
7289
8248
|
"icon"?: string;
|
|
7290
8249
|
/**
|
|
7291
|
-
* Override the size
|
|
8250
|
+
* Override the rendered icon size in px. When set, takes precedence over the per-`size` icon default (which is otherwise unchanged — e.g. 16px at xs).
|
|
7292
8251
|
*/
|
|
7293
8252
|
"iconSize"?: number;
|
|
7294
8253
|
/**
|
|
@@ -7312,7 +8271,12 @@ declare namespace LocalJSX {
|
|
|
7312
8271
|
*/
|
|
7313
8272
|
"size"?: 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
7314
8273
|
/**
|
|
7315
|
-
*
|
|
8274
|
+
* Surface the button sits on. `dark` → white icon + blanco-16 hover (on-dark theming). Defaults to `light` (no extra class → identical to previous behavior).
|
|
8275
|
+
* @default 'light'
|
|
8276
|
+
*/
|
|
8277
|
+
"surface"?: 'light' | 'dark';
|
|
8278
|
+
/**
|
|
8279
|
+
* filled = dark background (negro), outlined = light background (blanco + border), ghost = transparent background, no border, tinted hover (negro-8 on light / blanco-16 on dark). Matches Figma: Secundario → filled, Primario → outlined
|
|
7316
8280
|
* @default 'filled'
|
|
7317
8281
|
*/
|
|
7318
8282
|
"variant"?: 'filled' | 'outlined' | 'ghost';
|
|
@@ -7344,6 +8308,11 @@ declare namespace LocalJSX {
|
|
|
7344
8308
|
* @default false
|
|
7345
8309
|
*/
|
|
7346
8310
|
"disabled"?: boolean;
|
|
8311
|
+
/**
|
|
8312
|
+
* Filled search-pill variant. When true the field renders as a minimal gray pill (background gray-100, no border/box-shadow, 10px radius) with a search glyph on the left and a plain-`x` clear — the floating label, helper text and status chrome are suppressed. When false (default) the field renders IDENTICALLY to the standard text field.
|
|
8313
|
+
* @default false
|
|
8314
|
+
*/
|
|
8315
|
+
"fill"?: boolean;
|
|
7347
8316
|
/**
|
|
7348
8317
|
* Helper text displayed below the input
|
|
7349
8318
|
*/
|
|
@@ -7413,7 +8382,7 @@ declare namespace LocalJSX {
|
|
|
7413
8382
|
*/
|
|
7414
8383
|
"secondaryLabel"?: string;
|
|
7415
8384
|
/**
|
|
7416
|
-
* Size variant: s (28px), sm (32px), md (40px, default), lg (48px)
|
|
8385
|
+
* Size variant: s (28px), sm (32px), md (40px, default), lg (48px). In the filled search-pill variant (`fill`) this drives the pill height instead (s ≈ 38px).
|
|
7417
8386
|
* @default 'md'
|
|
7418
8387
|
*/
|
|
7419
8388
|
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
@@ -7654,6 +8623,36 @@ declare namespace LocalJSX {
|
|
|
7654
8623
|
*/
|
|
7655
8624
|
"visible"?: boolean;
|
|
7656
8625
|
}
|
|
8626
|
+
/**
|
|
8627
|
+
* An image / video preview region. Renders a cover image when `src` is set,
|
|
8628
|
+
* an optional dark scrim + play button when `video` is true, and a default
|
|
8629
|
+
* slot fallback (for a type-icon box) when there is no `src`.
|
|
8630
|
+
*/
|
|
8631
|
+
interface CoMediaThumb {
|
|
8632
|
+
/**
|
|
8633
|
+
* Alternative text for the image.
|
|
8634
|
+
*/
|
|
8635
|
+
"alt"?: string;
|
|
8636
|
+
/**
|
|
8637
|
+
* Height of the region. Accepts a CSS length or a bare number (→ px).
|
|
8638
|
+
* @default '132px'
|
|
8639
|
+
*/
|
|
8640
|
+
"height"?: string | number;
|
|
8641
|
+
/**
|
|
8642
|
+
* Corner radius in px.
|
|
8643
|
+
* @default 10
|
|
8644
|
+
*/
|
|
8645
|
+
"radius"?: number;
|
|
8646
|
+
/**
|
|
8647
|
+
* Image source URL. When set, a cover image is rendered.
|
|
8648
|
+
*/
|
|
8649
|
+
"src"?: string;
|
|
8650
|
+
/**
|
|
8651
|
+
* Show the video overlay (dark scrim + centered play button).
|
|
8652
|
+
* @default false
|
|
8653
|
+
*/
|
|
8654
|
+
"video"?: boolean;
|
|
8655
|
+
}
|
|
7657
8656
|
/**
|
|
7658
8657
|
* Dropdown menu. Wraps `co-popover` with menu-specific UX:
|
|
7659
8658
|
* - Default `placement="bottom-end"` (typical for "more actions" 3-dot triggers)
|
|
@@ -7699,6 +8698,10 @@ declare namespace LocalJSX {
|
|
|
7699
8698
|
* @default 'bottom-end'
|
|
7700
8699
|
*/
|
|
7701
8700
|
"placement"?: PopoverPlacement;
|
|
8701
|
+
/**
|
|
8702
|
+
* Fixes the panel to an exact width (e.g. `'210px'`). When unset, the panel keeps its intrinsic auto width (min-width 200px). Also tune padding with the `--co-menu-padding` CSS var (default 4px; design uses 6px).
|
|
8703
|
+
*/
|
|
8704
|
+
"width"?: string;
|
|
7702
8705
|
}
|
|
7703
8706
|
/**
|
|
7704
8707
|
* Thin horizontal separator between groups of `co-menu-item` rows. Renders an
|
|
@@ -7729,9 +8732,13 @@ declare namespace LocalJSX {
|
|
|
7729
8732
|
*/
|
|
7730
8733
|
"disabled"?: boolean;
|
|
7731
8734
|
/**
|
|
7732
|
-
* Icon name (Phosphor) rendered before the label.
|
|
8735
|
+
* Icon name (Phosphor) rendered before the label. Optional — rows may be label-only.
|
|
7733
8736
|
*/
|
|
7734
8737
|
"icon"?: string;
|
|
8738
|
+
/**
|
|
8739
|
+
* Overrides the leading icon size (px). Defaults to 16.
|
|
8740
|
+
*/
|
|
8741
|
+
"iconSize"?: number;
|
|
7735
8742
|
/**
|
|
7736
8743
|
* Text shown in the row.
|
|
7737
8744
|
*/
|
|
@@ -7744,6 +8751,16 @@ declare namespace LocalJSX {
|
|
|
7744
8751
|
* Fired when this leaf item is selected. Submenu triggers do NOT fire it.
|
|
7745
8752
|
*/
|
|
7746
8753
|
"onCoSelect"?: (event: CoMenuItemCustomEvent<void>) => void;
|
|
8754
|
+
/**
|
|
8755
|
+
* Marks the row as selected — paints an at-rest gray-100 background. Used by single-select menus (sort/type).
|
|
8756
|
+
* @default false
|
|
8757
|
+
*/
|
|
8758
|
+
"selected"?: boolean;
|
|
8759
|
+
/**
|
|
8760
|
+
* Renders a trailing check (size 15) after the label. Pair with `selected` to mark the chosen option in a single-select menu.
|
|
8761
|
+
* @default false
|
|
8762
|
+
*/
|
|
8763
|
+
"trailingCheck"?: boolean;
|
|
7747
8764
|
/**
|
|
7748
8765
|
* `danger` shifts text + icon to the destructive color. Use for Delete, etc.
|
|
7749
8766
|
* @default 'default'
|
|
@@ -7756,6 +8773,11 @@ declare namespace LocalJSX {
|
|
|
7756
8773
|
* @default true
|
|
7757
8774
|
*/
|
|
7758
8775
|
"closable"?: boolean;
|
|
8776
|
+
/**
|
|
8777
|
+
* Opt-in: close when Escape is pressed. Default false → existing consumers are unchanged. Handled here rather than by forwarding co-overlay's own `closeOnEscape`: co-overlay emits the SAME `coClose` for a backdrop click and for Escape, and this component gates that event on `closeOnOverlay`. Forwarding would therefore swallow Escape whenever `closeOnOverlay` is false.
|
|
8778
|
+
* @default false
|
|
8779
|
+
*/
|
|
8780
|
+
"closeOnEscape"?: boolean;
|
|
7759
8781
|
/**
|
|
7760
8782
|
* Close when clicking the overlay backdrop
|
|
7761
8783
|
* @default true
|
|
@@ -7793,10 +8815,10 @@ declare namespace LocalJSX {
|
|
|
7793
8815
|
*/
|
|
7794
8816
|
"open"?: boolean;
|
|
7795
8817
|
/**
|
|
7796
|
-
* Modal width: sm (400px), md (540px), lg (680px)
|
|
8818
|
+
* Modal width: sm (400px), md (540px), lg (680px), full (min(1400px, 95vw) × 92vh — media/document viewers). `full` also drops the body padding and lets the body grow, so a slotted <video>/<iframe> fills the panel edge-to-edge instead of sitting in a content-height box.
|
|
7797
8819
|
* @default 'md'
|
|
7798
8820
|
*/
|
|
7799
|
-
"size"?: 'sm' | 'md' | 'lg';
|
|
8821
|
+
"size"?: 'sm' | 'md' | 'lg' | 'full';
|
|
7800
8822
|
}
|
|
7801
8823
|
/**
|
|
7802
8824
|
* Horizontal toolbar container. Place any content inside the default slot.
|
|
@@ -7874,6 +8896,118 @@ declare namespace LocalJSX {
|
|
|
7874
8896
|
*/
|
|
7875
8897
|
"value"?: number | null;
|
|
7876
8898
|
}
|
|
8899
|
+
/**
|
|
8900
|
+
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
8901
|
+
* dropdowns Cobalt (co-ref-field, co-combobox, co-autocomplete,
|
|
8902
|
+
* co-command-search) y de los pickers de celda de suite-v2.
|
|
8903
|
+
* NO renderiza trigger ni chrome de panel (popover/dialog/ancho): eso es del
|
|
8904
|
+
* host. Es 100% controlada: no muta `value`; emite y el host decide.
|
|
8905
|
+
*/
|
|
8906
|
+
interface CoOptionList {
|
|
8907
|
+
/**
|
|
8908
|
+
* Auto-resalta la primera fila navegable al montar y en cada cambio de items (paridad command-palette: tipear + Enter = primer resultado). Salta filas disabled vía nextActiveIndex.
|
|
8909
|
+
* @default false
|
|
8910
|
+
*/
|
|
8911
|
+
"autoHighlight"?: boolean;
|
|
8912
|
+
/**
|
|
8913
|
+
* @default 'circle'
|
|
8914
|
+
*/
|
|
8915
|
+
"avatarShape"?: 'circle' | 'square';
|
|
8916
|
+
/**
|
|
8917
|
+
* Si se setea y hay selección, fila "quitar selección" al tope.
|
|
8918
|
+
* @default ''
|
|
8919
|
+
*/
|
|
8920
|
+
"clearOptionLabel"?: string;
|
|
8921
|
+
/**
|
|
8922
|
+
* @default 'No results found'
|
|
8923
|
+
*/
|
|
8924
|
+
"emptyMessage"?: string;
|
|
8925
|
+
/**
|
|
8926
|
+
* Fallback cuando el host no conoce totales (⌘K). total>0 manda.
|
|
8927
|
+
* @default false
|
|
8928
|
+
*/
|
|
8929
|
+
"hasMore"?: boolean;
|
|
8930
|
+
/**
|
|
8931
|
+
* Resalta el match del término en los labels.
|
|
8932
|
+
* @default false
|
|
8933
|
+
*/
|
|
8934
|
+
"highlightMatches"?: boolean;
|
|
8935
|
+
/**
|
|
8936
|
+
* Término externo para highlight (input en el host, p.ej. ⌘K).
|
|
8937
|
+
* @default ''
|
|
8938
|
+
*/
|
|
8939
|
+
"highlightTerm"?: string;
|
|
8940
|
+
/**
|
|
8941
|
+
* Pre-seed del término (modo convert de las celdas).
|
|
8942
|
+
* @default ''
|
|
8943
|
+
*/
|
|
8944
|
+
"initialTerm"?: string;
|
|
8945
|
+
/**
|
|
8946
|
+
* JSON string o array de OptionListItem.
|
|
8947
|
+
* @default '[]'
|
|
8948
|
+
*/
|
|
8949
|
+
"items"?: string | OptionListItem[];
|
|
8950
|
+
/**
|
|
8951
|
+
* @default false
|
|
8952
|
+
*/
|
|
8953
|
+
"loading"?: boolean;
|
|
8954
|
+
/**
|
|
8955
|
+
* @default false
|
|
8956
|
+
*/
|
|
8957
|
+
"multiple"?: boolean;
|
|
8958
|
+
"onCoChange"?: (event: CoOptionListCustomEvent<{ value: string | string[]; item: OptionListItem }>) => void;
|
|
8959
|
+
"onCoClearSelection"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
8960
|
+
"onCoLoadMore"?: (event: CoOptionListCustomEvent<void>) => void;
|
|
8961
|
+
"onCoRemoveItem"?: (event: CoOptionListCustomEvent<string>) => void;
|
|
8962
|
+
"onCoSearch"?: (event: CoOptionListCustomEvent<string>) => void;
|
|
8963
|
+
/**
|
|
8964
|
+
* Botón remove por fila seleccionada en multiple (tags de combobox).
|
|
8965
|
+
* @default false
|
|
8966
|
+
*/
|
|
8967
|
+
"removableItems"?: boolean;
|
|
8968
|
+
/**
|
|
8969
|
+
* @default 350
|
|
8970
|
+
*/
|
|
8971
|
+
"searchDebounce"?: number;
|
|
8972
|
+
/**
|
|
8973
|
+
* @default 'Search…'
|
|
8974
|
+
*/
|
|
8975
|
+
"searchPlaceholder"?: string;
|
|
8976
|
+
/**
|
|
8977
|
+
* @default false
|
|
8978
|
+
*/
|
|
8979
|
+
"searchable"?: boolean;
|
|
8980
|
+
/**
|
|
8981
|
+
* Afford. del seleccionado: check (combobox/autocomplete) o X deselect (ref-field).
|
|
8982
|
+
* @default 'check'
|
|
8983
|
+
*/
|
|
8984
|
+
"selectedAffordance"?: 'check' | 'deselect';
|
|
8985
|
+
/**
|
|
8986
|
+
* Partición selected-first (snapshot al llamar snapshotOrder()).
|
|
8987
|
+
* @default false
|
|
8988
|
+
*/
|
|
8989
|
+
"selectedFirst"?: boolean;
|
|
8990
|
+
/**
|
|
8991
|
+
* Display-items de la selección (para selected-first con ids fuera de página).
|
|
8992
|
+
* @default '[]'
|
|
8993
|
+
*/
|
|
8994
|
+
"selectedItems"?: string | OptionListItem[];
|
|
8995
|
+
/**
|
|
8996
|
+
* Total del server: deriva hasMore + hint "N more results".
|
|
8997
|
+
* @default 0
|
|
8998
|
+
*/
|
|
8999
|
+
"total"?: number;
|
|
9000
|
+
/**
|
|
9001
|
+
* Selección actual: id single o JSON array de ids.
|
|
9002
|
+
* @default ''
|
|
9003
|
+
*/
|
|
9004
|
+
"value"?: string;
|
|
9005
|
+
/**
|
|
9006
|
+
* Lista virtualizada (autocomplete/combobox). Ignora `group`.
|
|
9007
|
+
* @default false
|
|
9008
|
+
*/
|
|
9009
|
+
"virtual"?: boolean;
|
|
9010
|
+
}
|
|
7877
9011
|
interface CoOverlay {
|
|
7878
9012
|
/**
|
|
7879
9013
|
* Opt-in: emit `coClose` when Escape is pressed while open. Default false → existing consumers are unchanged.
|
|
@@ -8205,10 +9339,6 @@ declare namespace LocalJSX {
|
|
|
8205
9339
|
* @default true
|
|
8206
9340
|
*/
|
|
8207
9341
|
"clearable"?: boolean;
|
|
8208
|
-
/**
|
|
8209
|
-
* If set, shows a "Create" button in the panel footer.
|
|
8210
|
-
*/
|
|
8211
|
-
"createLabel"?: string;
|
|
8212
9342
|
/**
|
|
8213
9343
|
* @default false
|
|
8214
9344
|
*/
|
|
@@ -8256,7 +9386,6 @@ declare namespace LocalJSX {
|
|
|
8256
9386
|
"onCoChange"?: (event: CoRefFieldCustomEvent<{ value: string | string[]; item: RefFieldOption }>) => void;
|
|
8257
9387
|
"onCoClear"?: (event: CoRefFieldCustomEvent<void>) => void;
|
|
8258
9388
|
"onCoClose"?: (event: CoRefFieldCustomEvent<void>) => void;
|
|
8259
|
-
"onCoCreate"?: (event: CoRefFieldCustomEvent<string>) => void;
|
|
8260
9389
|
"onCoFooterPrimary"?: (event: CoRefFieldCustomEvent<void>) => void;
|
|
8261
9390
|
"onCoFooterSecondary"?: (event: CoRefFieldCustomEvent<void>) => void;
|
|
8262
9391
|
"onCoLoadMore"?: (event: CoRefFieldCustomEvent<void>) => void;
|
|
@@ -8515,6 +9644,38 @@ declare namespace LocalJSX {
|
|
|
8515
9644
|
*/
|
|
8516
9645
|
"size"?: 'sm' | 'lg';
|
|
8517
9646
|
}
|
|
9647
|
+
/**
|
|
9648
|
+
* A stacked, multi-segment meter — a pill track split into N contiguous
|
|
9649
|
+
* colored segments (e.g. a storage breakdown). Display-only; colors are
|
|
9650
|
+
* supplied by the consumer. Provide an external legend via `slot="legend"`.
|
|
9651
|
+
*/
|
|
9652
|
+
interface CoSegmentedBar {
|
|
9653
|
+
/**
|
|
9654
|
+
* Corner rounding of the track. `full` = pill.
|
|
9655
|
+
* @default 'full'
|
|
9656
|
+
*/
|
|
9657
|
+
"radius"?: 'full' | 'sm' | 'lg';
|
|
9658
|
+
/**
|
|
9659
|
+
* Segments to render — a JSON string OR an array of `{ value: number; color: string; label?: string }`.
|
|
9660
|
+
* @default '[]'
|
|
9661
|
+
*/
|
|
9662
|
+
"segments"?: string | CoSegment[];
|
|
9663
|
+
/**
|
|
9664
|
+
* Track height in px.
|
|
9665
|
+
* @default 10
|
|
9666
|
+
*/
|
|
9667
|
+
"thickness"?: number;
|
|
9668
|
+
/**
|
|
9669
|
+
* The value the segments are measured against (100% = full track).
|
|
9670
|
+
* @default 100
|
|
9671
|
+
*/
|
|
9672
|
+
"total"?: number;
|
|
9673
|
+
/**
|
|
9674
|
+
* Background color of the empty track.
|
|
9675
|
+
* @default 'var(--co-color-gray-100)'
|
|
9676
|
+
*/
|
|
9677
|
+
"trackColor"?: string;
|
|
9678
|
+
}
|
|
8518
9679
|
interface CoSelect {
|
|
8519
9680
|
/**
|
|
8520
9681
|
* @default false
|
|
@@ -8782,6 +9943,10 @@ declare namespace LocalJSX {
|
|
|
8782
9943
|
"status"?: 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
8783
9944
|
}
|
|
8784
9945
|
interface CoTab {
|
|
9946
|
+
/**
|
|
9947
|
+
* Optional count/badge pill rendered after the label
|
|
9948
|
+
*/
|
|
9949
|
+
"badge"?: string;
|
|
8785
9950
|
/**
|
|
8786
9951
|
* Disabled state
|
|
8787
9952
|
* @default false
|
|
@@ -8819,6 +9984,11 @@ declare namespace LocalJSX {
|
|
|
8819
9984
|
* @default ''
|
|
8820
9985
|
*/
|
|
8821
9986
|
"value"?: string;
|
|
9987
|
+
/**
|
|
9988
|
+
* Visual variant: filled pill (default), underline tab, or segmented-control pill
|
|
9989
|
+
* @default 'pill'
|
|
9990
|
+
*/
|
|
9991
|
+
"variant"?: 'pill' | 'underline' | 'segmented';
|
|
8822
9992
|
}
|
|
8823
9993
|
interface CoTabGroup {
|
|
8824
9994
|
/**
|
|
@@ -8829,6 +9999,11 @@ declare namespace LocalJSX {
|
|
|
8829
9999
|
* Currently selected tab value
|
|
8830
10000
|
*/
|
|
8831
10001
|
"value"?: string;
|
|
10002
|
+
/**
|
|
10003
|
+
* Visual variant, propagated to slotted co-tab children
|
|
10004
|
+
* @default 'pill'
|
|
10005
|
+
*/
|
|
10006
|
+
"variant"?: 'pill' | 'underline' | 'segmented';
|
|
8832
10007
|
}
|
|
8833
10008
|
/**
|
|
8834
10009
|
* Free-text tags input — type a value and press Enter/Tab (or comma) to add it
|
|
@@ -9047,6 +10222,10 @@ declare namespace LocalJSX {
|
|
|
9047
10222
|
* Emitted when dismiss is clicked
|
|
9048
10223
|
*/
|
|
9049
10224
|
"onCoDismiss"?: (event: CoToastCustomEvent<void>) => void;
|
|
10225
|
+
/**
|
|
10226
|
+
* Determinate upload/loading progress (0–100). When set, a progress track is rendered below the message row (with a percentage label, and an `upload-simple` azul icon when no `icon` is provided). Leave undefined for a plain toast — behaviour is unchanged.
|
|
10227
|
+
*/
|
|
10228
|
+
"progress"?: number;
|
|
9050
10229
|
/**
|
|
9051
10230
|
* Semantic variant — drives left accent color, icon tint, default icon, and announced ARIA role.
|
|
9052
10231
|
* @default 'neutral'
|
|
@@ -9066,6 +10245,10 @@ declare namespace LocalJSX {
|
|
|
9066
10245
|
* @default false
|
|
9067
10246
|
*/
|
|
9068
10247
|
"selected"?: boolean;
|
|
10248
|
+
/**
|
|
10249
|
+
* When set, the leading/trailing icon renders at this weight while the button is selected (e.g. 'fill' for the active segment of a track toggle).
|
|
10250
|
+
*/
|
|
10251
|
+
"selectedIconWeight"?: 'regular' | 'fill';
|
|
9069
10252
|
/**
|
|
9070
10253
|
* @default 'm'
|
|
9071
10254
|
*/
|
|
@@ -9074,6 +10257,11 @@ declare namespace LocalJSX {
|
|
|
9074
10257
|
* @default ''
|
|
9075
10258
|
*/
|
|
9076
10259
|
"value"?: string;
|
|
10260
|
+
/**
|
|
10261
|
+
* Visual variant. 'track' renders the button as a detached rounded pill for a sunken toggle-button-group track. Normally set by the parent group.
|
|
10262
|
+
* @default 'connected'
|
|
10263
|
+
*/
|
|
10264
|
+
"variant"?: 'connected' | 'track';
|
|
9077
10265
|
}
|
|
9078
10266
|
interface CoToggleButtonGroup {
|
|
9079
10267
|
/**
|
|
@@ -9103,6 +10291,11 @@ declare namespace LocalJSX {
|
|
|
9103
10291
|
* @default ''
|
|
9104
10292
|
*/
|
|
9105
10293
|
"value"?: string | string[];
|
|
10294
|
+
/**
|
|
10295
|
+
* 'connected' (default) keeps the seamless dark-fill segmented control. 'track' turns the group into a sunken gray track carrying detached rounded pills (white + shadow when selected) — e.g. an icon-only view toggle.
|
|
10296
|
+
* @default 'connected'
|
|
10297
|
+
*/
|
|
10298
|
+
"variant"?: 'connected' | 'track';
|
|
9106
10299
|
}
|
|
9107
10300
|
interface CoTooltip {
|
|
9108
10301
|
/**
|
|
@@ -9373,14 +10566,15 @@ declare namespace LocalJSX {
|
|
|
9373
10566
|
"multiple": boolean;
|
|
9374
10567
|
"loading": boolean;
|
|
9375
10568
|
"minChars": number;
|
|
9376
|
-
"
|
|
9377
|
-
"
|
|
10569
|
+
"searchDebounce": number;
|
|
10570
|
+
"emptyMessage": string;
|
|
9378
10571
|
}
|
|
9379
10572
|
interface CoAvatarAttributes {
|
|
9380
10573
|
"type": 'text' | 'icon' | 'image';
|
|
9381
10574
|
"size": 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
9382
10575
|
"text": string;
|
|
9383
10576
|
"src": string;
|
|
10577
|
+
"alt": string;
|
|
9384
10578
|
"icon": string;
|
|
9385
10579
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
9386
10580
|
"shape": 'circle' | 'square';
|
|
@@ -9407,10 +10601,23 @@ declare namespace LocalJSX {
|
|
|
9407
10601
|
"closeOnEscape": boolean;
|
|
9408
10602
|
"showHandle": boolean;
|
|
9409
10603
|
}
|
|
10604
|
+
interface CoBreadcrumbAttributes {
|
|
10605
|
+
"separator": string;
|
|
10606
|
+
"items": string;
|
|
10607
|
+
}
|
|
10608
|
+
interface CoBreadcrumbItemAttributes {
|
|
10609
|
+
"label": string;
|
|
10610
|
+
"value": string;
|
|
10611
|
+
"icon": string;
|
|
10612
|
+
"current": boolean;
|
|
10613
|
+
"separator": string;
|
|
10614
|
+
}
|
|
9410
10615
|
interface CoButtonAttributes {
|
|
9411
10616
|
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
9412
10617
|
"shape": 'rounded' | 'square';
|
|
9413
10618
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
10619
|
+
"elevated": boolean;
|
|
10620
|
+
"surface": 'light' | 'dark';
|
|
9414
10621
|
"disabled": boolean;
|
|
9415
10622
|
"label": string;
|
|
9416
10623
|
"iconLeft": string;
|
|
@@ -9462,10 +10669,12 @@ declare namespace LocalJSX {
|
|
|
9462
10669
|
interface CoCheckboxAttributes {
|
|
9463
10670
|
"checked": boolean;
|
|
9464
10671
|
"indeterminate": boolean;
|
|
9465
|
-
"size": 'small' | 'large';
|
|
10672
|
+
"size": 'small' | 'medium' | 'large';
|
|
9466
10673
|
"disabled": boolean;
|
|
9467
10674
|
"label": string;
|
|
9468
10675
|
"value": string;
|
|
10676
|
+
"onColor": string;
|
|
10677
|
+
"appearance": 'default' | 'overlay';
|
|
9469
10678
|
}
|
|
9470
10679
|
interface CoCheckboxGroupAttributes {
|
|
9471
10680
|
"label": string;
|
|
@@ -9483,13 +10692,15 @@ declare namespace LocalJSX {
|
|
|
9483
10692
|
"shape": 'rounded' | 'square';
|
|
9484
10693
|
"size": 'large' | 'small';
|
|
9485
10694
|
"iconMode": 'none' | 'left' | 'both';
|
|
9486
|
-
"variant": 'filled' | 'outlined';
|
|
10695
|
+
"variant": 'filled' | 'outlined' | 'filter';
|
|
9487
10696
|
"color": | 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
9488
10697
|
| 'pending' | 'progress' | 'review' | 'submitted';
|
|
9489
10698
|
"label": string;
|
|
9490
10699
|
"iconLeft": string;
|
|
9491
10700
|
"iconRight": string;
|
|
9492
10701
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
10702
|
+
"valueLabel": string;
|
|
10703
|
+
"trailingIcon": string;
|
|
9493
10704
|
"removable": boolean;
|
|
9494
10705
|
"dot": boolean;
|
|
9495
10706
|
"dotColor": string;
|
|
@@ -9546,6 +10757,7 @@ declare namespace LocalJSX {
|
|
|
9546
10757
|
"footerPrimaryLabel": string;
|
|
9547
10758
|
"footerSecondaryLabel": string;
|
|
9548
10759
|
"options": ComboboxOption[] | string[] | string;
|
|
10760
|
+
"emptyMessage": string;
|
|
9549
10761
|
"value": string[] | string;
|
|
9550
10762
|
"multiple": boolean;
|
|
9551
10763
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
@@ -9576,8 +10788,13 @@ declare namespace LocalJSX {
|
|
|
9576
10788
|
"emptyTitle": string;
|
|
9577
10789
|
"emptyMessage": string;
|
|
9578
10790
|
"emptyIcon": string;
|
|
10791
|
+
"emptyActionLabel": string;
|
|
10792
|
+
"emptyActionVariant": 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
10793
|
+
"emptyActionIcon": string;
|
|
9579
10794
|
"sortField": string;
|
|
9580
10795
|
"sortOrder": 'asc' | 'desc' | '';
|
|
10796
|
+
"filteredFields": string | string[];
|
|
10797
|
+
"indirectFilteredFields": string | string[];
|
|
9581
10798
|
"selectable": boolean;
|
|
9582
10799
|
"selectedKeys": string | string[];
|
|
9583
10800
|
"resizable": boolean;
|
|
@@ -9696,12 +10913,33 @@ declare namespace LocalJSX {
|
|
|
9696
10913
|
"closable": boolean;
|
|
9697
10914
|
"closeOnOverlay": boolean;
|
|
9698
10915
|
"closeOnEscape": boolean;
|
|
10916
|
+
"modeless": boolean;
|
|
9699
10917
|
"loading": boolean;
|
|
9700
10918
|
}
|
|
10919
|
+
interface CoDriveCardAttributes {
|
|
10920
|
+
"variant": 'folder' | 'file';
|
|
10921
|
+
"density": 'comfy' | 'compact';
|
|
10922
|
+
"accent": string;
|
|
10923
|
+
"name": string;
|
|
10924
|
+
"meta": string;
|
|
10925
|
+
"selected": boolean;
|
|
10926
|
+
"starred": boolean;
|
|
10927
|
+
"active": boolean;
|
|
10928
|
+
"ext": string;
|
|
10929
|
+
}
|
|
10930
|
+
interface CoDropZoneAttributes {
|
|
10931
|
+
"active": boolean;
|
|
10932
|
+
"accent": string;
|
|
10933
|
+
"label": string;
|
|
10934
|
+
"icon": string;
|
|
10935
|
+
}
|
|
9701
10936
|
interface CoEmptyStateAttributes {
|
|
9702
10937
|
"icon": string;
|
|
9703
10938
|
"heading": string;
|
|
9704
10939
|
"description": string;
|
|
10940
|
+
"variant": 'plain' | 'card';
|
|
10941
|
+
"size": 'm' | 'l';
|
|
10942
|
+
"iconWeight": 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone';
|
|
9705
10943
|
}
|
|
9706
10944
|
interface CoEventCalendarAttributes {
|
|
9707
10945
|
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
@@ -9723,7 +10961,8 @@ declare namespace LocalJSX {
|
|
|
9723
10961
|
"icon": string;
|
|
9724
10962
|
"label": string;
|
|
9725
10963
|
"variant": 'primary' | 'secondary' | 'stroke';
|
|
9726
|
-
"size": 'l' | 'm' | 's';
|
|
10964
|
+
"size": 'xl' | 'l' | 'm' | 's';
|
|
10965
|
+
"ariaLabelText": string;
|
|
9727
10966
|
"disabled": boolean;
|
|
9728
10967
|
"position": 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'none';
|
|
9729
10968
|
}
|
|
@@ -9746,6 +10985,12 @@ declare namespace LocalJSX {
|
|
|
9746
10985
|
"reorderable": boolean;
|
|
9747
10986
|
"files": string;
|
|
9748
10987
|
}
|
|
10988
|
+
interface CoFileTypeTileAttributes {
|
|
10989
|
+
"ext": string;
|
|
10990
|
+
"size": number;
|
|
10991
|
+
"radius": number;
|
|
10992
|
+
"colorTags": boolean;
|
|
10993
|
+
}
|
|
9749
10994
|
interface CoHelperTextAttributes {
|
|
9750
10995
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
9751
10996
|
"message": string;
|
|
@@ -9757,13 +11002,15 @@ declare namespace LocalJSX {
|
|
|
9757
11002
|
}
|
|
9758
11003
|
interface CoIconButtonAttributes {
|
|
9759
11004
|
"variant": 'filled' | 'outlined' | 'ghost';
|
|
11005
|
+
"surface": 'light' | 'dark';
|
|
9760
11006
|
"shape": 'rounded' | 'square';
|
|
9761
11007
|
"size": 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
11008
|
+
"boxSize": number;
|
|
11009
|
+
"iconSize": number;
|
|
9762
11010
|
"disabled": boolean;
|
|
9763
11011
|
"label": string;
|
|
9764
11012
|
"icon": string;
|
|
9765
11013
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
9766
|
-
"iconSize": number;
|
|
9767
11014
|
}
|
|
9768
11015
|
interface CoInputAttributes {
|
|
9769
11016
|
"label": string;
|
|
@@ -9783,6 +11030,7 @@ declare namespace LocalJSX {
|
|
|
9783
11030
|
"autocomplete": string;
|
|
9784
11031
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
9785
11032
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
11033
|
+
"fill": boolean;
|
|
9786
11034
|
"actionLabel": string;
|
|
9787
11035
|
"actionIcon": string;
|
|
9788
11036
|
}
|
|
@@ -9828,16 +11076,27 @@ declare namespace LocalJSX {
|
|
|
9828
11076
|
"text": string;
|
|
9829
11077
|
"background": string;
|
|
9830
11078
|
}
|
|
11079
|
+
interface CoMediaThumbAttributes {
|
|
11080
|
+
"src": string;
|
|
11081
|
+
"video": boolean;
|
|
11082
|
+
"height": string;
|
|
11083
|
+
"radius": number;
|
|
11084
|
+
"alt": string;
|
|
11085
|
+
}
|
|
9831
11086
|
interface CoMenuAttributes {
|
|
9832
11087
|
"placement": PopoverPlacement;
|
|
9833
11088
|
"offset": number;
|
|
9834
11089
|
"autoClose": boolean;
|
|
9835
11090
|
"open": boolean;
|
|
11091
|
+
"width": string;
|
|
9836
11092
|
}
|
|
9837
11093
|
interface CoMenuItemAttributes {
|
|
9838
11094
|
"icon": string;
|
|
11095
|
+
"iconSize": number;
|
|
9839
11096
|
"label": string;
|
|
9840
11097
|
"dense": boolean;
|
|
11098
|
+
"selected": boolean;
|
|
11099
|
+
"trailingCheck": boolean;
|
|
9841
11100
|
"disabled": boolean;
|
|
9842
11101
|
"variant": 'default' | 'danger';
|
|
9843
11102
|
}
|
|
@@ -9847,7 +11106,8 @@ declare namespace LocalJSX {
|
|
|
9847
11106
|
"description": string;
|
|
9848
11107
|
"closable": boolean;
|
|
9849
11108
|
"closeOnOverlay": boolean;
|
|
9850
|
-
"
|
|
11109
|
+
"closeOnEscape": boolean;
|
|
11110
|
+
"size": 'sm' | 'md' | 'lg' | 'full';
|
|
9851
11111
|
"noDividers": boolean;
|
|
9852
11112
|
}
|
|
9853
11113
|
interface CoNavbarAttributes {
|
|
@@ -9872,6 +11132,29 @@ declare namespace LocalJSX {
|
|
|
9872
11132
|
"clearable": boolean;
|
|
9873
11133
|
"format": 'rate' | 'percent';
|
|
9874
11134
|
}
|
|
11135
|
+
interface CoOptionListAttributes {
|
|
11136
|
+
"items": string | OptionListItem[];
|
|
11137
|
+
"value": string;
|
|
11138
|
+
"selectedItems": string | OptionListItem[];
|
|
11139
|
+
"multiple": boolean;
|
|
11140
|
+
"selectedFirst": boolean;
|
|
11141
|
+
"selectedAffordance": 'check' | 'deselect';
|
|
11142
|
+
"removableItems": boolean;
|
|
11143
|
+
"searchable": boolean;
|
|
11144
|
+
"searchPlaceholder": string;
|
|
11145
|
+
"searchDebounce": number;
|
|
11146
|
+
"initialTerm": string;
|
|
11147
|
+
"loading": boolean;
|
|
11148
|
+
"total": number;
|
|
11149
|
+
"hasMore": boolean;
|
|
11150
|
+
"emptyMessage": string;
|
|
11151
|
+
"clearOptionLabel": string;
|
|
11152
|
+
"virtual": boolean;
|
|
11153
|
+
"highlightMatches": boolean;
|
|
11154
|
+
"highlightTerm": string;
|
|
11155
|
+
"avatarShape": 'circle' | 'square';
|
|
11156
|
+
"autoHighlight": boolean;
|
|
11157
|
+
}
|
|
9875
11158
|
interface CoOverlayAttributes {
|
|
9876
11159
|
"open": boolean;
|
|
9877
11160
|
"trapFocus": boolean;
|
|
@@ -9970,7 +11253,6 @@ declare namespace LocalJSX {
|
|
|
9970
11253
|
"searchPlaceholder": string;
|
|
9971
11254
|
"searchDebounce": number;
|
|
9972
11255
|
"emptyMessage": string;
|
|
9973
|
-
"createLabel": string;
|
|
9974
11256
|
"showFooter": boolean;
|
|
9975
11257
|
"footerPrimaryLabel": string;
|
|
9976
11258
|
"footerSecondaryLabel": string;
|
|
@@ -10015,6 +11297,13 @@ declare namespace LocalJSX {
|
|
|
10015
11297
|
"position": 'top' | 'middle' | 'bottom' | 'single';
|
|
10016
11298
|
"size": 'sm' | 'lg';
|
|
10017
11299
|
}
|
|
11300
|
+
interface CoSegmentedBarAttributes {
|
|
11301
|
+
"thickness": number;
|
|
11302
|
+
"radius": 'full' | 'sm' | 'lg';
|
|
11303
|
+
"trackColor": string;
|
|
11304
|
+
"total": number;
|
|
11305
|
+
"segments": string | CoSegment[];
|
|
11306
|
+
}
|
|
10018
11307
|
interface CoSelectAttributes {
|
|
10019
11308
|
"label": string;
|
|
10020
11309
|
"required": boolean;
|
|
@@ -10087,12 +11376,15 @@ declare namespace LocalJSX {
|
|
|
10087
11376
|
"value": string;
|
|
10088
11377
|
"selected": boolean;
|
|
10089
11378
|
"size": 'large' | 'small';
|
|
11379
|
+
"variant": 'pill' | 'underline' | 'segmented';
|
|
11380
|
+
"badge": string;
|
|
10090
11381
|
"iconLeft": string;
|
|
10091
11382
|
"iconRight": string;
|
|
10092
11383
|
"disabled": boolean;
|
|
10093
11384
|
}
|
|
10094
11385
|
interface CoTabGroupAttributes {
|
|
10095
11386
|
"value": string;
|
|
11387
|
+
"variant": 'pill' | 'underline' | 'segmented';
|
|
10096
11388
|
}
|
|
10097
11389
|
interface CoTagsFieldAttributes {
|
|
10098
11390
|
"value": string[] | string;
|
|
@@ -10136,6 +11428,7 @@ declare namespace LocalJSX {
|
|
|
10136
11428
|
"dismissible": boolean;
|
|
10137
11429
|
"actionsLayout": CoToastActionsLayout;
|
|
10138
11430
|
"variant": CoToastVariant;
|
|
11431
|
+
"progress": number;
|
|
10139
11432
|
}
|
|
10140
11433
|
interface CoToggleButtonAttributes {
|
|
10141
11434
|
"selected": boolean;
|
|
@@ -10145,6 +11438,8 @@ declare namespace LocalJSX {
|
|
|
10145
11438
|
"iconRight": string;
|
|
10146
11439
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
10147
11440
|
"disabled": boolean;
|
|
11441
|
+
"variant": 'connected' | 'track';
|
|
11442
|
+
"selectedIconWeight": 'regular' | 'fill';
|
|
10148
11443
|
}
|
|
10149
11444
|
interface CoToggleButtonGroupAttributes {
|
|
10150
11445
|
"value": string | string[];
|
|
@@ -10153,6 +11448,7 @@ declare namespace LocalJSX {
|
|
|
10153
11448
|
"disabled": boolean;
|
|
10154
11449
|
"direction": 'row' | 'column';
|
|
10155
11450
|
"fullWidth": boolean;
|
|
11451
|
+
"variant": 'connected' | 'track';
|
|
10156
11452
|
}
|
|
10157
11453
|
interface CoTooltipAttributes {
|
|
10158
11454
|
"content": string;
|
|
@@ -10215,6 +11511,8 @@ declare namespace LocalJSX {
|
|
|
10215
11511
|
"co-avatar-group": Omit<CoAvatarGroup, keyof CoAvatarGroupAttributes> & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes]?: CoAvatarGroup[K] } & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes as `attr:${K}`]?: CoAvatarGroupAttributes[K] } & { [K in keyof CoAvatarGroup & keyof CoAvatarGroupAttributes as `prop:${K}`]?: CoAvatarGroup[K] };
|
|
10216
11512
|
"co-badge": Omit<CoBadge, keyof CoBadgeAttributes> & { [K in keyof CoBadge & keyof CoBadgeAttributes]?: CoBadge[K] } & { [K in keyof CoBadge & keyof CoBadgeAttributes as `attr:${K}`]?: CoBadgeAttributes[K] } & { [K in keyof CoBadge & keyof CoBadgeAttributes as `prop:${K}`]?: CoBadge[K] };
|
|
10217
11513
|
"co-bottom-sheet": Omit<CoBottomSheet, keyof CoBottomSheetAttributes> & { [K in keyof CoBottomSheet & keyof CoBottomSheetAttributes]?: CoBottomSheet[K] } & { [K in keyof CoBottomSheet & keyof CoBottomSheetAttributes as `attr:${K}`]?: CoBottomSheetAttributes[K] } & { [K in keyof CoBottomSheet & keyof CoBottomSheetAttributes as `prop:${K}`]?: CoBottomSheet[K] };
|
|
11514
|
+
"co-breadcrumb": Omit<CoBreadcrumb, keyof CoBreadcrumbAttributes> & { [K in keyof CoBreadcrumb & keyof CoBreadcrumbAttributes]?: CoBreadcrumb[K] } & { [K in keyof CoBreadcrumb & keyof CoBreadcrumbAttributes as `attr:${K}`]?: CoBreadcrumbAttributes[K] } & { [K in keyof CoBreadcrumb & keyof CoBreadcrumbAttributes as `prop:${K}`]?: CoBreadcrumb[K] };
|
|
11515
|
+
"co-breadcrumb-item": Omit<CoBreadcrumbItem, keyof CoBreadcrumbItemAttributes> & { [K in keyof CoBreadcrumbItem & keyof CoBreadcrumbItemAttributes]?: CoBreadcrumbItem[K] } & { [K in keyof CoBreadcrumbItem & keyof CoBreadcrumbItemAttributes as `attr:${K}`]?: CoBreadcrumbItemAttributes[K] } & { [K in keyof CoBreadcrumbItem & keyof CoBreadcrumbItemAttributes as `prop:${K}`]?: CoBreadcrumbItem[K] };
|
|
10218
11516
|
"co-button": Omit<CoButton, keyof CoButtonAttributes> & { [K in keyof CoButton & keyof CoButtonAttributes]?: CoButton[K] } & { [K in keyof CoButton & keyof CoButtonAttributes as `attr:${K}`]?: CoButtonAttributes[K] } & { [K in keyof CoButton & keyof CoButtonAttributes as `prop:${K}`]?: CoButton[K] };
|
|
10219
11517
|
"co-button-group": Omit<CoButtonGroup, keyof CoButtonGroupAttributes> & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes]?: CoButtonGroup[K] } & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes as `attr:${K}`]?: CoButtonGroupAttributes[K] } & { [K in keyof CoButtonGroup & keyof CoButtonGroupAttributes as `prop:${K}`]?: CoButtonGroup[K] };
|
|
10220
11518
|
"co-calendar": Omit<CoCalendar, keyof CoCalendarAttributes> & { [K in keyof CoCalendar & keyof CoCalendarAttributes]?: CoCalendar[K] } & { [K in keyof CoCalendar & keyof CoCalendarAttributes as `attr:${K}`]?: CoCalendarAttributes[K] } & { [K in keyof CoCalendar & keyof CoCalendarAttributes as `prop:${K}`]?: CoCalendar[K] };
|
|
@@ -10234,10 +11532,13 @@ declare namespace LocalJSX {
|
|
|
10234
11532
|
"co-date-range": Omit<CoDateRange, keyof CoDateRangeAttributes> & { [K in keyof CoDateRange & keyof CoDateRangeAttributes]?: CoDateRange[K] } & { [K in keyof CoDateRange & keyof CoDateRangeAttributes as `attr:${K}`]?: CoDateRangeAttributes[K] } & { [K in keyof CoDateRange & keyof CoDateRangeAttributes as `prop:${K}`]?: CoDateRange[K] };
|
|
10235
11533
|
"co-date-range-picker": Omit<CoDateRangePicker, keyof CoDateRangePickerAttributes> & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes]?: CoDateRangePicker[K] } & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes as `attr:${K}`]?: CoDateRangePickerAttributes[K] } & { [K in keyof CoDateRangePicker & keyof CoDateRangePickerAttributes as `prop:${K}`]?: CoDateRangePicker[K] };
|
|
10236
11534
|
"co-drawer": Omit<CoDrawer, keyof CoDrawerAttributes> & { [K in keyof CoDrawer & keyof CoDrawerAttributes]?: CoDrawer[K] } & { [K in keyof CoDrawer & keyof CoDrawerAttributes as `attr:${K}`]?: CoDrawerAttributes[K] } & { [K in keyof CoDrawer & keyof CoDrawerAttributes as `prop:${K}`]?: CoDrawer[K] };
|
|
11535
|
+
"co-drive-card": Omit<CoDriveCard, keyof CoDriveCardAttributes> & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes]?: CoDriveCard[K] } & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes as `attr:${K}`]?: CoDriveCardAttributes[K] } & { [K in keyof CoDriveCard & keyof CoDriveCardAttributes as `prop:${K}`]?: CoDriveCard[K] };
|
|
11536
|
+
"co-drop-zone": Omit<CoDropZone, keyof CoDropZoneAttributes> & { [K in keyof CoDropZone & keyof CoDropZoneAttributes]?: CoDropZone[K] } & { [K in keyof CoDropZone & keyof CoDropZoneAttributes as `attr:${K}`]?: CoDropZoneAttributes[K] } & { [K in keyof CoDropZone & keyof CoDropZoneAttributes as `prop:${K}`]?: CoDropZone[K] };
|
|
10237
11537
|
"co-empty-state": Omit<CoEmptyState, keyof CoEmptyStateAttributes> & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes]?: CoEmptyState[K] } & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes as `attr:${K}`]?: CoEmptyStateAttributes[K] } & { [K in keyof CoEmptyState & keyof CoEmptyStateAttributes as `prop:${K}`]?: CoEmptyState[K] };
|
|
10238
11538
|
"co-event-calendar": Omit<CoEventCalendar, keyof CoEventCalendarAttributes> & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes]?: CoEventCalendar[K] } & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes as `attr:${K}`]?: CoEventCalendarAttributes[K] } & { [K in keyof CoEventCalendar & keyof CoEventCalendarAttributes as `prop:${K}`]?: CoEventCalendar[K] };
|
|
10239
11539
|
"co-fab": Omit<CoFab, keyof CoFabAttributes> & { [K in keyof CoFab & keyof CoFabAttributes]?: CoFab[K] } & { [K in keyof CoFab & keyof CoFabAttributes as `attr:${K}`]?: CoFabAttributes[K] } & { [K in keyof CoFab & keyof CoFabAttributes as `prop:${K}`]?: CoFab[K] };
|
|
10240
11540
|
"co-file-field": Omit<CoFileField, keyof CoFileFieldAttributes> & { [K in keyof CoFileField & keyof CoFileFieldAttributes]?: CoFileField[K] } & { [K in keyof CoFileField & keyof CoFileFieldAttributes as `attr:${K}`]?: CoFileFieldAttributes[K] } & { [K in keyof CoFileField & keyof CoFileFieldAttributes as `prop:${K}`]?: CoFileField[K] };
|
|
11541
|
+
"co-file-type-tile": Omit<CoFileTypeTile, keyof CoFileTypeTileAttributes> & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes]?: CoFileTypeTile[K] } & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes as `attr:${K}`]?: CoFileTypeTileAttributes[K] } & { [K in keyof CoFileTypeTile & keyof CoFileTypeTileAttributes as `prop:${K}`]?: CoFileTypeTile[K] } & OneOf<"ext", CoFileTypeTile["ext"], CoFileTypeTileAttributes["ext"]>;
|
|
10241
11542
|
"co-helper-text": Omit<CoHelperText, keyof CoHelperTextAttributes> & { [K in keyof CoHelperText & keyof CoHelperTextAttributes]?: CoHelperText[K] } & { [K in keyof CoHelperText & keyof CoHelperTextAttributes as `attr:${K}`]?: CoHelperTextAttributes[K] } & { [K in keyof CoHelperText & keyof CoHelperTextAttributes as `prop:${K}`]?: CoHelperText[K] };
|
|
10242
11543
|
"co-icon": Omit<CoIcon, keyof CoIconAttributes> & { [K in keyof CoIcon & keyof CoIconAttributes]?: CoIcon[K] } & { [K in keyof CoIcon & keyof CoIconAttributes as `attr:${K}`]?: CoIconAttributes[K] } & { [K in keyof CoIcon & keyof CoIconAttributes as `prop:${K}`]?: CoIcon[K] };
|
|
10243
11544
|
"co-icon-button": Omit<CoIconButton, keyof CoIconButtonAttributes> & { [K in keyof CoIconButton & keyof CoIconButtonAttributes]?: CoIconButton[K] } & { [K in keyof CoIconButton & keyof CoIconButtonAttributes as `attr:${K}`]?: CoIconButtonAttributes[K] } & { [K in keyof CoIconButton & keyof CoIconButtonAttributes as `prop:${K}`]?: CoIconButton[K] };
|
|
@@ -10247,12 +11548,14 @@ declare namespace LocalJSX {
|
|
|
10247
11548
|
"co-list-footer": Omit<CoListFooter, keyof CoListFooterAttributes> & { [K in keyof CoListFooter & keyof CoListFooterAttributes]?: CoListFooter[K] } & { [K in keyof CoListFooter & keyof CoListFooterAttributes as `attr:${K}`]?: CoListFooterAttributes[K] } & { [K in keyof CoListFooter & keyof CoListFooterAttributes as `prop:${K}`]?: CoListFooter[K] };
|
|
10248
11549
|
"co-list-item": Omit<CoListItem, keyof CoListItemAttributes> & { [K in keyof CoListItem & keyof CoListItemAttributes]?: CoListItem[K] } & { [K in keyof CoListItem & keyof CoListItemAttributes as `attr:${K}`]?: CoListItemAttributes[K] } & { [K in keyof CoListItem & keyof CoListItemAttributes as `prop:${K}`]?: CoListItem[K] };
|
|
10249
11550
|
"co-loader": Omit<CoLoader, keyof CoLoaderAttributes> & { [K in keyof CoLoader & keyof CoLoaderAttributes]?: CoLoader[K] } & { [K in keyof CoLoader & keyof CoLoaderAttributes as `attr:${K}`]?: CoLoaderAttributes[K] } & { [K in keyof CoLoader & keyof CoLoaderAttributes as `prop:${K}`]?: CoLoader[K] };
|
|
11551
|
+
"co-media-thumb": Omit<CoMediaThumb, keyof CoMediaThumbAttributes> & { [K in keyof CoMediaThumb & keyof CoMediaThumbAttributes]?: CoMediaThumb[K] } & { [K in keyof CoMediaThumb & keyof CoMediaThumbAttributes as `attr:${K}`]?: CoMediaThumbAttributes[K] } & { [K in keyof CoMediaThumb & keyof CoMediaThumbAttributes as `prop:${K}`]?: CoMediaThumb[K] };
|
|
10250
11552
|
"co-menu": Omit<CoMenu, keyof CoMenuAttributes> & { [K in keyof CoMenu & keyof CoMenuAttributes]?: CoMenu[K] } & { [K in keyof CoMenu & keyof CoMenuAttributes as `attr:${K}`]?: CoMenuAttributes[K] } & { [K in keyof CoMenu & keyof CoMenuAttributes as `prop:${K}`]?: CoMenu[K] };
|
|
10251
11553
|
"co-menu-divider": CoMenuDivider;
|
|
10252
11554
|
"co-menu-item": Omit<CoMenuItem, keyof CoMenuItemAttributes> & { [K in keyof CoMenuItem & keyof CoMenuItemAttributes]?: CoMenuItem[K] } & { [K in keyof CoMenuItem & keyof CoMenuItemAttributes as `attr:${K}`]?: CoMenuItemAttributes[K] } & { [K in keyof CoMenuItem & keyof CoMenuItemAttributes as `prop:${K}`]?: CoMenuItem[K] };
|
|
10253
11555
|
"co-modal": Omit<CoModal, keyof CoModalAttributes> & { [K in keyof CoModal & keyof CoModalAttributes]?: CoModal[K] } & { [K in keyof CoModal & keyof CoModalAttributes as `attr:${K}`]?: CoModalAttributes[K] } & { [K in keyof CoModal & keyof CoModalAttributes as `prop:${K}`]?: CoModal[K] };
|
|
10254
11556
|
"co-navbar": Omit<CoNavbar, keyof CoNavbarAttributes> & { [K in keyof CoNavbar & keyof CoNavbarAttributes]?: CoNavbar[K] } & { [K in keyof CoNavbar & keyof CoNavbarAttributes as `attr:${K}`]?: CoNavbarAttributes[K] } & { [K in keyof CoNavbar & keyof CoNavbarAttributes as `prop:${K}`]?: CoNavbar[K] };
|
|
10255
11557
|
"co-number-field": Omit<CoNumberField, keyof CoNumberFieldAttributes> & { [K in keyof CoNumberField & keyof CoNumberFieldAttributes]?: CoNumberField[K] } & { [K in keyof CoNumberField & keyof CoNumberFieldAttributes as `attr:${K}`]?: CoNumberFieldAttributes[K] } & { [K in keyof CoNumberField & keyof CoNumberFieldAttributes as `prop:${K}`]?: CoNumberField[K] };
|
|
11558
|
+
"co-option-list": Omit<CoOptionList, keyof CoOptionListAttributes> & { [K in keyof CoOptionList & keyof CoOptionListAttributes]?: CoOptionList[K] } & { [K in keyof CoOptionList & keyof CoOptionListAttributes as `attr:${K}`]?: CoOptionListAttributes[K] } & { [K in keyof CoOptionList & keyof CoOptionListAttributes as `prop:${K}`]?: CoOptionList[K] };
|
|
10256
11559
|
"co-overlay": Omit<CoOverlay, keyof CoOverlayAttributes> & { [K in keyof CoOverlay & keyof CoOverlayAttributes]?: CoOverlay[K] } & { [K in keyof CoOverlay & keyof CoOverlayAttributes as `attr:${K}`]?: CoOverlayAttributes[K] } & { [K in keyof CoOverlay & keyof CoOverlayAttributes as `prop:${K}`]?: CoOverlay[K] };
|
|
10257
11560
|
"co-page-header": Omit<CoPageHeader, keyof CoPageHeaderAttributes> & { [K in keyof CoPageHeader & keyof CoPageHeaderAttributes]?: CoPageHeader[K] } & { [K in keyof CoPageHeader & keyof CoPageHeaderAttributes as `attr:${K}`]?: CoPageHeaderAttributes[K] } & { [K in keyof CoPageHeader & keyof CoPageHeaderAttributes as `prop:${K}`]?: CoPageHeader[K] };
|
|
10258
11561
|
"co-phone-field": Omit<CoPhoneField, keyof CoPhoneFieldAttributes> & { [K in keyof CoPhoneField & keyof CoPhoneFieldAttributes]?: CoPhoneField[K] } & { [K in keyof CoPhoneField & keyof CoPhoneFieldAttributes as `attr:${K}`]?: CoPhoneFieldAttributes[K] } & { [K in keyof CoPhoneField & keyof CoPhoneFieldAttributes as `prop:${K}`]?: CoPhoneField[K] };
|
|
@@ -10267,6 +11570,7 @@ declare namespace LocalJSX {
|
|
|
10267
11570
|
"co-rich-text-toolbar": Omit<CoRichTextToolbar, keyof CoRichTextToolbarAttributes> & { [K in keyof CoRichTextToolbar & keyof CoRichTextToolbarAttributes]?: CoRichTextToolbar[K] } & { [K in keyof CoRichTextToolbar & keyof CoRichTextToolbarAttributes as `attr:${K}`]?: CoRichTextToolbarAttributes[K] } & { [K in keyof CoRichTextToolbar & keyof CoRichTextToolbarAttributes as `prop:${K}`]?: CoRichTextToolbar[K] };
|
|
10268
11571
|
"co-rich-text-viewer": Omit<CoRichTextViewer, keyof CoRichTextViewerAttributes> & { [K in keyof CoRichTextViewer & keyof CoRichTextViewerAttributes]?: CoRichTextViewer[K] } & { [K in keyof CoRichTextViewer & keyof CoRichTextViewerAttributes as `attr:${K}`]?: CoRichTextViewerAttributes[K] } & { [K in keyof CoRichTextViewer & keyof CoRichTextViewerAttributes as `prop:${K}`]?: CoRichTextViewer[K] };
|
|
10269
11572
|
"co-row": Omit<CoRow, keyof CoRowAttributes> & { [K in keyof CoRow & keyof CoRowAttributes]?: CoRow[K] } & { [K in keyof CoRow & keyof CoRowAttributes as `attr:${K}`]?: CoRowAttributes[K] } & { [K in keyof CoRow & keyof CoRowAttributes as `prop:${K}`]?: CoRow[K] };
|
|
11573
|
+
"co-segmented-bar": Omit<CoSegmentedBar, keyof CoSegmentedBarAttributes> & { [K in keyof CoSegmentedBar & keyof CoSegmentedBarAttributes]?: CoSegmentedBar[K] } & { [K in keyof CoSegmentedBar & keyof CoSegmentedBarAttributes as `attr:${K}`]?: CoSegmentedBarAttributes[K] } & { [K in keyof CoSegmentedBar & keyof CoSegmentedBarAttributes as `prop:${K}`]?: CoSegmentedBar[K] };
|
|
10270
11574
|
"co-select": Omit<CoSelect, keyof CoSelectAttributes> & { [K in keyof CoSelect & keyof CoSelectAttributes]?: CoSelect[K] } & { [K in keyof CoSelect & keyof CoSelectAttributes as `attr:${K}`]?: CoSelectAttributes[K] } & { [K in keyof CoSelect & keyof CoSelectAttributes as `prop:${K}`]?: CoSelect[K] };
|
|
10271
11575
|
"co-separator": Omit<CoSeparator, keyof CoSeparatorAttributes> & { [K in keyof CoSeparator & keyof CoSeparatorAttributes]?: CoSeparator[K] } & { [K in keyof CoSeparator & keyof CoSeparatorAttributes as `attr:${K}`]?: CoSeparatorAttributes[K] } & { [K in keyof CoSeparator & keyof CoSeparatorAttributes as `prop:${K}`]?: CoSeparator[K] };
|
|
10272
11576
|
"co-sidebar": Omit<CoSidebar, keyof CoSidebarAttributes> & { [K in keyof CoSidebar & keyof CoSidebarAttributes]?: CoSidebar[K] } & { [K in keyof CoSidebar & keyof CoSidebarAttributes as `attr:${K}`]?: CoSidebarAttributes[K] } & { [K in keyof CoSidebar & keyof CoSidebarAttributes as `prop:${K}`]?: CoSidebar[K] };
|
|
@@ -10290,6 +11594,10 @@ export { LocalJSX as JSX };
|
|
|
10290
11594
|
declare module "@stencil/core" {
|
|
10291
11595
|
export namespace JSX {
|
|
10292
11596
|
interface IntrinsicElements {
|
|
11597
|
+
/**
|
|
11598
|
+
* Collapsible section. The caret button is the ONLY toggle trigger — clicking
|
|
11599
|
+
* the header text does nothing (it may contain interactive content).
|
|
11600
|
+
*/
|
|
10293
11601
|
"co-accordion": LocalJSX.IntrinsicElements["co-accordion"] & JSXBase.HTMLAttributes<HTMLCoAccordionElement>;
|
|
10294
11602
|
/**
|
|
10295
11603
|
* App Shell — Main application layout with navbar, sidebar, and content area.
|
|
@@ -10308,6 +11616,25 @@ declare module "@stencil/core" {
|
|
|
10308
11616
|
* Height fits the content, capped by `maxHeight` (default 85dvh).
|
|
10309
11617
|
*/
|
|
10310
11618
|
"co-bottom-sheet": LocalJSX.IntrinsicElements["co-bottom-sheet"] & JSXBase.HTMLAttributes<HTMLCoBottomSheetElement>;
|
|
11619
|
+
/**
|
|
11620
|
+
* Horizontal breadcrumb trail. Accepts `co-breadcrumb-item` children via the
|
|
11621
|
+
* default slot, or auto-renders them from the `items` JSON prop.
|
|
11622
|
+
* The separator between crumbs is drawn by each `co-breadcrumb-item` as a
|
|
11623
|
+
* leading icon (hidden on the first crumb via CSS), so no separator markup is
|
|
11624
|
+
* interleaved here. This component propagates its `separator` prop down to the
|
|
11625
|
+
* slotted items and layouts them in a `align-items:center; gap:4px` flex row.
|
|
11626
|
+
*/
|
|
11627
|
+
"co-breadcrumb": LocalJSX.IntrinsicElements["co-breadcrumb"] & JSXBase.HTMLAttributes<HTMLCoBreadcrumbElement>;
|
|
11628
|
+
/**
|
|
11629
|
+
* A single navigable crumb inside a `co-breadcrumb`.
|
|
11630
|
+
* Renders a leading separator icon (hidden on the first crumb via CSS
|
|
11631
|
+
* `:host(:first-child)`) followed by the clickable content — an optional
|
|
11632
|
+
* leading icon and the label. Clicking (or Enter/Space) emits `coSelect` with
|
|
11633
|
+
* the crumb's `value` (falling back to its `label`).
|
|
11634
|
+
* Conventions mirror `co-menu-item`: the `current` crumb paints medium weight +
|
|
11635
|
+
* text-default ink; earlier crumbs are regular weight + muted (gray-500).
|
|
11636
|
+
*/
|
|
11637
|
+
"co-breadcrumb-item": LocalJSX.IntrinsicElements["co-breadcrumb-item"] & JSXBase.HTMLAttributes<HTMLCoBreadcrumbItemElement>;
|
|
10311
11638
|
"co-button": LocalJSX.IntrinsicElements["co-button"] & JSXBase.HTMLAttributes<HTMLCoButtonElement>;
|
|
10312
11639
|
"co-button-group": LocalJSX.IntrinsicElements["co-button-group"] & JSXBase.HTMLAttributes<HTMLCoButtonGroupElement>;
|
|
10313
11640
|
/**
|
|
@@ -10399,6 +11726,27 @@ declare module "@stencil/core" {
|
|
|
10399
11726
|
*/
|
|
10400
11727
|
"co-date-range-picker": LocalJSX.IntrinsicElements["co-date-range-picker"] & JSXBase.HTMLAttributes<HTMLCoDateRangePickerElement>;
|
|
10401
11728
|
"co-drawer": LocalJSX.IntrinsicElements["co-drawer"] & JSXBase.HTMLAttributes<HTMLCoDrawerElement>;
|
|
11729
|
+
/**
|
|
11730
|
+
* co-drive-card — a selectable Drive item card.
|
|
11731
|
+
* A plain flex/grid surface that `co-card` cannot host: `co-card` projects its
|
|
11732
|
+
* children into a shadow-DOM body that forces block flow, clips with
|
|
11733
|
+
* `overflow:hidden`, locks a 16px radius + a real 1px border, and paints an
|
|
11734
|
+
* opaque surface that occludes the selected accent tint. This component renders
|
|
11735
|
+
* two faithful layouts instead — a `folder` flex row and a `file` column with a
|
|
11736
|
+
* thumbnail — with an absolute corner select-chip, a 1.5px inset selection ring,
|
|
11737
|
+
* and a shadow-sm + hairline hover.
|
|
11738
|
+
*/
|
|
11739
|
+
"co-drive-card": LocalJSX.IntrinsicElements["co-drive-card"] & JSXBase.HTMLAttributes<HTMLCoDriveCardElement>;
|
|
11740
|
+
/**
|
|
11741
|
+
* co-drop-zone — a drag-to-upload overlay.
|
|
11742
|
+
* Wraps arbitrary slotted content and paints an absolute dashed overlay on top
|
|
11743
|
+
* of it while a drag is in progress. Can be driven two ways:
|
|
11744
|
+
* 1. Controlled — the consumer toggles `active` (e.g. from its own drag state).
|
|
11745
|
+
* 2. Self-managed — the host listens for native dragenter/over/leave/drop and
|
|
11746
|
+
* flips `active` itself, emitting `coDragStateChange` and `coDrop`.
|
|
11747
|
+
* Report ref: 3.17 (446–449); drag overlay spec: report lines 135–136.
|
|
11748
|
+
*/
|
|
11749
|
+
"co-drop-zone": LocalJSX.IntrinsicElements["co-drop-zone"] & JSXBase.HTMLAttributes<HTMLCoDropZoneElement>;
|
|
10402
11750
|
/**
|
|
10403
11751
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
10404
11752
|
*/
|
|
@@ -10425,6 +11773,7 @@ declare module "@stencil/core" {
|
|
|
10425
11773
|
* This mirrors `co-ref-field` (the WC emits intent, the host does the I/O).
|
|
10426
11774
|
*/
|
|
10427
11775
|
"co-file-field": LocalJSX.IntrinsicElements["co-file-field"] & JSXBase.HTMLAttributes<HTMLCoFileFieldElement>;
|
|
11776
|
+
"co-file-type-tile": LocalJSX.IntrinsicElements["co-file-type-tile"] & JSXBase.HTMLAttributes<HTMLCoFileTypeTileElement>;
|
|
10428
11777
|
/**
|
|
10429
11778
|
* Helper / validation text shown below form fields.
|
|
10430
11779
|
*/
|
|
@@ -10484,6 +11833,12 @@ declare module "@stencil/core" {
|
|
|
10484
11833
|
* q-inner-loading from V1's SkLoader).
|
|
10485
11834
|
*/
|
|
10486
11835
|
"co-loader": LocalJSX.IntrinsicElements["co-loader"] & JSXBase.HTMLAttributes<HTMLCoLoaderElement>;
|
|
11836
|
+
/**
|
|
11837
|
+
* An image / video preview region. Renders a cover image when `src` is set,
|
|
11838
|
+
* an optional dark scrim + play button when `video` is true, and a default
|
|
11839
|
+
* slot fallback (for a type-icon box) when there is no `src`.
|
|
11840
|
+
*/
|
|
11841
|
+
"co-media-thumb": LocalJSX.IntrinsicElements["co-media-thumb"] & JSXBase.HTMLAttributes<HTMLCoMediaThumbElement>;
|
|
10487
11842
|
/**
|
|
10488
11843
|
* Dropdown menu. Wraps `co-popover` with menu-specific UX:
|
|
10489
11844
|
* - Default `placement="bottom-end"` (typical for "more actions" 3-dot triggers)
|
|
@@ -10531,6 +11886,14 @@ declare module "@stencil/core" {
|
|
|
10531
11886
|
*/
|
|
10532
11887
|
"co-navbar": LocalJSX.IntrinsicElements["co-navbar"] & JSXBase.HTMLAttributes<HTMLCoNavbarElement>;
|
|
10533
11888
|
"co-number-field": LocalJSX.IntrinsicElements["co-number-field"] & JSXBase.HTMLAttributes<HTMLCoNumberFieldElement>;
|
|
11889
|
+
/**
|
|
11890
|
+
* Núcleo de lista de opciones — la única fuente del look & behavior de los
|
|
11891
|
+
* dropdowns Cobalt (co-ref-field, co-combobox, co-autocomplete,
|
|
11892
|
+
* co-command-search) y de los pickers de celda de suite-v2.
|
|
11893
|
+
* NO renderiza trigger ni chrome de panel (popover/dialog/ancho): eso es del
|
|
11894
|
+
* host. Es 100% controlada: no muta `value`; emite y el host decide.
|
|
11895
|
+
*/
|
|
11896
|
+
"co-option-list": LocalJSX.IntrinsicElements["co-option-list"] & JSXBase.HTMLAttributes<HTMLCoOptionListElement>;
|
|
10534
11897
|
"co-overlay": LocalJSX.IntrinsicElements["co-overlay"] & JSXBase.HTMLAttributes<HTMLCoOverlayElement>;
|
|
10535
11898
|
/**
|
|
10536
11899
|
* Page-level header bar with icon, title, and right actions.
|
|
@@ -10576,6 +11939,12 @@ declare module "@stencil/core" {
|
|
|
10576
11939
|
* Content row for tables, settings lists, etc. Supports position for border rounding.
|
|
10577
11940
|
*/
|
|
10578
11941
|
"co-row": LocalJSX.IntrinsicElements["co-row"] & JSXBase.HTMLAttributes<HTMLCoRowElement>;
|
|
11942
|
+
/**
|
|
11943
|
+
* A stacked, multi-segment meter — a pill track split into N contiguous
|
|
11944
|
+
* colored segments (e.g. a storage breakdown). Display-only; colors are
|
|
11945
|
+
* supplied by the consumer. Provide an external legend via `slot="legend"`.
|
|
11946
|
+
*/
|
|
11947
|
+
"co-segmented-bar": LocalJSX.IntrinsicElements["co-segmented-bar"] & JSXBase.HTMLAttributes<HTMLCoSegmentedBarElement>;
|
|
10579
11948
|
"co-select": LocalJSX.IntrinsicElements["co-select"] & JSXBase.HTMLAttributes<HTMLCoSelectElement>;
|
|
10580
11949
|
"co-separator": LocalJSX.IntrinsicElements["co-separator"] & JSXBase.HTMLAttributes<HTMLCoSeparatorElement>;
|
|
10581
11950
|
"co-sidebar": LocalJSX.IntrinsicElements["co-sidebar"] & JSXBase.HTMLAttributes<HTMLCoSidebarElement>;
|