@prolibu-suite/cobalt-core 0.2.0 → 0.3.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/custom-elements.json +15675 -11199
- package/dist/cjs/co-accordion.cjs.entry.js +3 -3
- package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
- package/dist/cjs/co-autocomplete.cjs.entry.js +10 -7
- package/dist/cjs/co-avatar-group.cjs.entry.js +77 -0
- package/dist/cjs/co-avatar.cjs.entry.js +6 -4
- package/dist/cjs/co-badge.cjs.entry.js +2 -2
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +325 -0
- package/dist/cjs/co-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-button.cjs.entry.js +6 -6
- package/dist/cjs/co-calendar-month.cjs.entry.js +381 -0
- package/dist/cjs/co-calendar_3.cjs.entry.js +11 -11
- package/dist/cjs/co-card.cjs.entry.js +3 -3
- package/dist/cjs/co-checkbox-group.cjs.entry.js +5 -5
- package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/co-chip.cjs.entry.js +11 -8
- package/dist/cjs/co-color-picker.cjs.entry.js +7 -5
- package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-combobox.cjs.entry.js +7 -7
- package/dist/cjs/co-command-search.cjs.entry.js +151 -12
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
- package/dist/cjs/co-data-table.cjs.entry.js +25 -11
- 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-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/co-event-calendar.cjs.entry.js +318 -0
- package/dist/cjs/co-fab.cjs.entry.js +3 -3
- package/dist/cjs/co-file-field.cjs.entry.js +8 -8
- package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/co-icon-button.cjs.entry.js +5 -5
- package/dist/cjs/co-icon.cjs.entry.js +33 -25
- package/dist/cjs/co-input.cjs.entry.js +6 -6
- package/dist/cjs/co-json-field.cjs.entry.js +10 -6
- package/dist/cjs/co-lightbox.cjs.entry.js +5 -5
- package/dist/cjs/co-list-footer.cjs.entry.js +25 -0
- package/dist/cjs/co-list-item.cjs.entry.js +60 -4
- package/dist/cjs/co-loader_2.cjs.entry.js +293 -0
- package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +17 -10
- package/dist/cjs/co-menu.cjs.entry.js +2 -2
- package/dist/cjs/co-modal.cjs.entry.js +16 -4
- package/dist/cjs/co-navbar.cjs.entry.js +3 -3
- package/dist/cjs/co-number-field.cjs.entry.js +18 -6
- package/dist/cjs/co-page-header.cjs.entry.js +2 -2
- package/dist/cjs/co-phone-field.cjs.entry.js +6 -4
- package/dist/cjs/co-popover.cjs.entry.js +45 -14
- package/dist/cjs/co-progress-bar.cjs.entry.js +8 -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 +36 -13
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +1879 -33
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +995 -71
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +55 -19
- package/dist/cjs/co-row.cjs.entry.js +3 -3
- package/dist/cjs/co-select.cjs.entry.js +8 -8
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +29 -9
- package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/co-skeleton.cjs.entry.js +26 -0
- 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 +2 -2
- package/dist/cjs/co-tab.cjs.entry.js +3 -3
- package/dist/cjs/co-tags-field.cjs.entry.js +19 -13
- package/dist/cjs/co-textarea.cjs.entry.js +11 -7
- package/dist/cjs/co-toast.cjs.entry.js +2 -2
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +4 -4
- package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/co-tooltip.cjs.entry.js +51 -16
- package/dist/cjs/co-transfer-list.cjs.entry.js +3 -3
- package/dist/cjs/co-video.cjs.entry.js +839 -0
- package/dist/cjs/cobalt.cjs.js +2 -2
- package/dist/cjs/fieldChip-CDIMz_Y6.js +7 -0
- package/dist/cjs/{index-CaEJnpZe.js → index-5NdsiFjZ.js} +14509 -6317
- package/dist/cjs/{index-DoFnrUVH.js → index-BumlM92r.js} +45 -21
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/overlayAfterClose-BdeXrhVY.js +12 -0
- package/dist/{esm/sanitizer-DcK0GGZC.js → cjs/purify.es-DX41ZWS2.js} +3 -107
- package/dist/cjs/{requiredMark-DA6y-4rp.js → requiredMark-CqMGt1H1.js} +1 -1
- package/dist/cjs/richTextI18n-B7ktXg3M.js +382 -0
- package/dist/cjs/toolbar-config-3PlT-3zm.js +216 -0
- package/dist/cjs/tz-Dgom0W69.js +127 -0
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/p-0a506c9d.entry.js +1 -0
- package/dist/cobalt/p-0bb55163.entry.js +1 -0
- package/dist/cobalt/{p-6404bd21.entry.js → p-0e8c0d87.entry.js} +1 -1
- package/dist/cobalt/p-12e2c2c4.entry.js +1 -0
- package/dist/cobalt/p-136ad468.entry.js +1 -0
- package/dist/cobalt/{p-654bbc2a.entry.js → p-14b59277.entry.js} +1 -1
- package/dist/cobalt/p-1531d3c9.entry.js +1 -0
- package/dist/cobalt/p-1774d211.entry.js +1 -0
- package/dist/cobalt/p-180e1106.entry.js +1 -0
- package/dist/cobalt/p-1a07c23c.entry.js +1 -0
- package/dist/cobalt/p-1dc9c49e.entry.js +1 -0
- package/dist/cobalt/p-1f747e45.entry.js +1 -0
- package/dist/cobalt/p-201eaf35.entry.js +1 -0
- package/dist/cobalt/p-260101ab.entry.js +1 -0
- package/dist/cobalt/p-279bf91c.entry.js +1 -0
- package/dist/cobalt/p-29be61a9.entry.js +1 -0
- package/dist/cobalt/p-2d2ce434.entry.js +1 -0
- package/dist/cobalt/{p-aa63812a.entry.js → p-2f86e1e0.entry.js} +1 -1
- package/dist/cobalt/{p-522fcdb7.entry.js → p-31ab9a46.entry.js} +1 -1
- package/dist/cobalt/{p-fe9e85b6.entry.js → p-37595103.entry.js} +1 -1
- package/dist/cobalt/{p-def448e4.entry.js → p-377c2ccc.entry.js} +1 -1
- package/dist/cobalt/p-3863ea91.entry.js +1 -0
- package/dist/cobalt/p-3a257cb0.entry.js +1 -0
- package/dist/cobalt/p-3e187456.entry.js +1 -0
- package/dist/cobalt/{p-5d01bd4d.entry.js → p-4431faac.entry.js} +1 -1
- package/dist/cobalt/{p-54f26e95.entry.js → p-4504f7b0.entry.js} +1 -1
- package/dist/cobalt/{p-f8728b21.entry.js → p-456fa86f.entry.js} +1 -1
- package/dist/cobalt/{p-3f9b3fcb.entry.js → p-4871690e.entry.js} +1 -1
- package/dist/cobalt/{p-d17e1444.entry.js → p-4c01d984.entry.js} +1 -1
- package/dist/cobalt/p-51a53177.entry.js +1 -0
- package/dist/cobalt/p-52de17da.entry.js +1 -0
- package/dist/cobalt/p-5890e4d1.entry.js +1 -0
- package/dist/cobalt/{p-f2c5cb74.entry.js → p-58a53421.entry.js} +1 -1
- package/dist/cobalt/p-62274eba.entry.js +1 -0
- package/dist/cobalt/p-635b03d5.entry.js +1 -0
- package/dist/cobalt/p-64ddee92.entry.js +1 -0
- package/dist/cobalt/p-65af5017.entry.js +1 -0
- package/dist/cobalt/p-69d4c0c8.entry.js +1 -0
- package/dist/cobalt/p-6c480916.entry.js +1 -0
- package/dist/cobalt/p-6d1217c3.entry.js +1 -0
- package/dist/cobalt/{p-f0e8fa7d.entry.js → p-6e808b3a.entry.js} +1 -1
- package/dist/cobalt/{p-f97ad9ad.entry.js → p-70b14b05.entry.js} +1 -1
- package/dist/cobalt/{p-97c20011.entry.js → p-790d384e.entry.js} +1 -1
- package/dist/cobalt/p-8012e152.entry.js +1 -0
- package/dist/cobalt/p-80b27203.entry.js +1 -0
- package/dist/cobalt/p-867c1465.entry.js +1 -0
- package/dist/cobalt/p-86a143d7.entry.js +1 -0
- package/dist/cobalt/{p-e8b58332.entry.js → p-8d59f5ad.entry.js} +1 -1
- package/dist/cobalt/p-8d7fdb9d.entry.js +1 -0
- package/dist/cobalt/{p-7f818368.entry.js → p-8dc1dab8.entry.js} +1 -1
- package/dist/cobalt/{p-beb9c11d.entry.js → p-8e1dc062.entry.js} +1 -1
- package/dist/cobalt/p-929e647f.entry.js +1 -0
- package/dist/cobalt/p-92bd9b29.entry.js +1 -0
- package/dist/cobalt/p-93046365.entry.js +1 -0
- package/dist/cobalt/p-98ab5f3f.entry.js +1 -0
- package/dist/cobalt/{p-c87285b6.entry.js → p-9a04ca90.entry.js} +1 -1
- package/dist/cobalt/{p-7ef766c6.entry.js → p-9a088515.entry.js} +1 -1
- package/dist/cobalt/p-9abbd436.entry.js +1 -0
- package/dist/cobalt/p-9d69c067.entry.js +1 -0
- package/dist/cobalt/p-B-ckjCUA.js +1 -0
- package/dist/cobalt/p-B2QLgWrz.js +2 -0
- package/dist/cobalt/p-B6JZk8fL.js +1 -0
- package/dist/cobalt/p-BZJ7NCm5.js +1 -0
- package/dist/cobalt/p-CYsftTKf.js +2 -0
- package/dist/cobalt/p-CegCk7FL.js +1 -0
- package/dist/cobalt/p-Ch1jfwZ2.js +1 -0
- package/dist/cobalt/p-ChibIpZv.js +1 -0
- package/dist/cobalt/p-afb7e19e.entry.js +1 -0
- package/dist/cobalt/{p-b758c2e6.entry.js → p-b6f20268.entry.js} +1 -1
- package/dist/cobalt/{p-bb07da22.entry.js → p-ba90e871.entry.js} +1 -1
- package/dist/cobalt/p-c10697e1.entry.js +1 -0
- package/dist/cobalt/p-c4f59532.entry.js +1 -0
- package/dist/cobalt/{p-1e0282b8.entry.js → p-cb235aa7.entry.js} +1 -1
- package/dist/cobalt/p-cfb36943.entry.js +1 -0
- package/dist/cobalt/p-d809bd44.entry.js +1 -0
- package/dist/cobalt/p-e53861e4.entry.js +1 -0
- package/dist/cobalt/p-e54dd404.entry.js +1 -0
- package/dist/cobalt/{p-01fc77c4.entry.js → p-eb18fdbf.entry.js} +1 -1
- package/dist/cobalt/{p-95d14878.entry.js → p-eb73052a.entry.js} +1 -1
- package/dist/cobalt/{p-273afd93.entry.js → p-ef7d4ae3.entry.js} +1 -1
- package/dist/cobalt/p-f4063c41.entry.js +1 -0
- package/dist/cobalt/p-oImf-7fN.js +1 -0
- package/dist/cobalt/{p-CyYF8IJE.js → p-tPYikBRJ.js} +1 -1
- package/dist/collection/collection-manifest.json +10 -3
- package/dist/collection/components/co-accordion/co-accordion.js +2 -2
- package/dist/collection/components/co-app-shell/co-app-shell.css +79 -6
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
- package/dist/collection/components/co-autocomplete/co-autocomplete.css +28 -1
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +27 -4
- package/dist/collection/components/co-avatar/co-avatar.css +38 -1
- package/dist/collection/components/co-avatar/co-avatar.js +23 -2
- package/dist/collection/components/co-avatar-group/co-avatar-group.css +86 -0
- package/dist/collection/components/co-avatar-group/co-avatar-group.js +224 -0
- package/dist/collection/components/co-badge/co-badge.js +1 -1
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +136 -0
- package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +507 -0
- package/dist/collection/components/co-button/co-button.css +40 -7
- package/dist/collection/components/co-button/co-button.js +26 -7
- package/dist/collection/components/co-button-group/co-button-group.js +2 -2
- package/dist/collection/components/co-calendar/co-calendar.js +1 -1
- package/dist/collection/components/co-calendar-month/co-calendar-month.css +231 -0
- package/dist/collection/components/co-calendar-month/co-calendar-month.js +594 -0
- package/dist/collection/components/co-card/co-card.js +2 -2
- package/dist/collection/components/co-checkbox/co-checkbox.css +7 -1
- package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +7 -1
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +3 -3
- package/dist/collection/components/co-chip/co-chip.css +27 -7
- package/dist/collection/components/co-chip/co-chip.js +52 -10
- package/dist/collection/components/co-color-picker/co-color-picker.css +35 -1
- package/dist/collection/components/co-color-picker/co-color-picker.js +24 -2
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- package/dist/collection/components/co-combobox/co-combobox.css +7 -47
- package/dist/collection/components/co-combobox/co-combobox.js +4 -4
- package/dist/collection/components/co-command-search/co-command-search.css +163 -1
- package/dist/collection/components/co-command-search/co-command-search.js +355 -14
- package/dist/collection/components/co-command-search/commandSearchGroup.js +17 -0
- package/dist/collection/components/co-command-search/commandSearchLogic.js +27 -0
- package/dist/collection/components/co-data-table/co-data-table.css +37 -1
- package/dist/collection/components/co-data-table/co-data-table.js +25 -11
- 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 +7 -1
- 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 +7 -1
- package/dist/collection/components/co-drawer/co-drawer.css +1 -0
- package/dist/collection/components/co-drawer/co-drawer.js +2 -2
- package/dist/collection/components/co-empty-state/co-empty-state.js +1 -1
- package/dist/collection/components/co-event-calendar/co-event-calendar.css +146 -0
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +620 -0
- package/dist/collection/components/co-fab/co-fab.js +2 -2
- package/dist/collection/components/co-file-field/co-file-field.css +7 -1
- package/dist/collection/components/co-file-field/co-file-field.js +5 -5
- package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
- package/dist/collection/components/co-icon/co-icon.js +7 -37
- package/dist/collection/components/co-icon/iconLoader.js +39 -0
- package/dist/collection/components/co-icon-button/co-icon-button.css +19 -8
- package/dist/collection/components/co-icon-button/co-icon-button.js +23 -4
- package/dist/collection/components/co-input/co-input.css +7 -1
- package/dist/collection/components/co-input/co-input.js +3 -3
- package/dist/collection/components/co-json-field/co-json-field.css +25 -1
- package/dist/collection/components/co-json-field/co-json-field.js +27 -3
- package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
- package/dist/collection/components/co-list-footer/co-list-footer.css +50 -0
- package/dist/collection/components/co-list-footer/co-list-footer.js +149 -0
- package/dist/collection/components/co-list-item/co-list-item.css +7 -0
- package/dist/collection/components/co-list-item/co-list-item.js +65 -2
- package/dist/collection/components/co-loader/co-loader.css +9 -0
- package/dist/collection/components/co-menu/co-menu.js +1 -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 +18 -0
- package/dist/collection/components/co-menu-item/co-menu-item.js +15 -8
- package/dist/collection/components/co-modal/co-modal.css +42 -2
- package/dist/collection/components/co-modal/co-modal.js +42 -2
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.css +19 -1
- package/dist/collection/components/co-number-field/co-number-field.js +34 -3
- package/dist/collection/components/co-overlay/co-overlay.css +15 -1
- package/dist/collection/components/co-overlay/co-overlay.js +266 -1
- package/dist/collection/components/co-overlay/focusTrap.js +53 -0
- package/dist/collection/components/co-overlay/overlayAfterClose.js +8 -0
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.css +30 -2
- package/dist/collection/components/co-phone-field/co-phone-field.js +23 -1
- package/dist/collection/components/co-popover/co-popover.css +9 -0
- package/dist/collection/components/co-popover/co-popover.js +43 -12
- package/dist/collection/components/co-progress-bar/co-progress-bar.css +22 -0
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +26 -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 +64 -6
- 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 +1125 -41
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +2008 -53
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +791 -9
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +1071 -71
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +78 -0
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +46 -41
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-select/co-select.css +7 -1
- package/dist/collection/components/co-select/co-select.js +5 -5
- 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 +99 -12
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +28 -8
- package/dist/collection/components/co-skeleton/co-skeleton.css +28 -0
- package/dist/collection/components/co-skeleton/co-skeleton.js +97 -0
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.css +9 -1
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.js +2 -2
- package/dist/collection/components/co-tab-group/co-tab-group.js +1 -1
- package/dist/collection/components/co-tags-field/co-tags-field.css +39 -1
- package/dist/collection/components/co-tags-field/co-tags-field.js +36 -10
- package/dist/collection/components/co-textarea/co-textarea.css +26 -1
- package/dist/collection/components/co-textarea/co-textarea.js +28 -4
- package/dist/collection/components/co-toast/co-toast.js +1 -1
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +26 -4
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +3 -3
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.css +16 -12
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
- package/dist/collection/components/co-tooltip/co-tooltip.css +8 -0
- package/dist/collection/components/co-tooltip/co-tooltip.js +69 -14
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
- package/dist/collection/components/co-video/co-video.css +497 -0
- package/dist/collection/components/co-video/co-video.js +1772 -0
- package/dist/collection/utils/fieldChip.js +2 -0
- package/dist/collection/utils/icon-config.js +12 -0
- package/dist/collection/utils/richTextI18n.js +378 -0
- package/dist/collection/utils/sheetGesture.js +53 -0
- 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.d.ts +11 -0
- package/dist/components/co-avatar-group.js +1 -0
- package/dist/components/co-avatar.js +1 -1
- package/dist/components/co-badge.js +1 -1
- package/dist/components/co-bottom-sheet.d.ts +11 -0
- package/dist/components/co-bottom-sheet.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.d.ts +11 -0
- package/dist/components/co-calendar-month.js +1 -0
- 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-empty-state.js +1 -1
- package/dist/components/co-event-calendar.d.ts +11 -0
- package/dist/components/co-event-calendar.js +1 -0
- package/dist/components/co-fab.js +1 -1
- package/dist/components/co-file-field.js +1 -1
- package/dist/components/co-helper-text.js +1 -1
- package/dist/components/co-icon-button.js +1 -1
- package/dist/components/co-icon.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-json-field.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-footer.d.ts +11 -0
- package/dist/components/co-list-footer.js +1 -0
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-loader.js +1 -1
- package/dist/components/co-menu-divider.js +1 -1
- package/dist/components/co-menu-item.js +1 -1
- package/dist/components/co-menu.js +1 -1
- package/dist/components/co-modal.js +1 -1
- package/dist/components/co-navbar.js +1 -1
- package/dist/components/co-number-field.js +1 -1
- package/dist/components/co-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-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.d.ts +11 -0
- package/dist/components/co-skeleton.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/co-video.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-B2QLgWrz.js +2 -0
- package/dist/components/{p-BeWXpX8I.js → p-B7vGYFbO.js} +1 -1
- package/dist/components/p-BB2OaYKF.js +1 -0
- package/dist/components/p-BFeE_fiq.js +1 -0
- package/dist/components/p-BNKz39GA.js +1 -0
- package/dist/components/p-Ba4v1NXo.js +1 -0
- package/dist/components/p-C_ULDaks.js +1 -0
- package/dist/components/p-CegCk7FL.js +1 -0
- package/dist/components/p-ChibIpZv.js +1 -0
- package/dist/components/p-D3Y_ti3Q.js +1 -0
- package/dist/components/{p-DObrQi5F.js → p-DKh8ZK4U.js} +1 -1
- package/dist/components/{p-C9tHLXKS.js → p-DeZxp9vb.js} +1 -1
- package/dist/components/p-DvhR3H61.js +1 -0
- package/dist/components/p-DxCFMMfY.js +1 -0
- package/dist/components/{p-OGpfa9Yd.js → p-DzoNGEDU.js} +1 -1
- package/dist/components/p-EPZfLt5l.js +1 -0
- package/dist/components/p-FMnqPWcM.js +1 -0
- package/dist/components/p-Hzh9U2cM.js +1 -0
- package/dist/components/p-WZ06pT2Y.js +1 -0
- package/dist/components/p-tloAgDin.js +1 -0
- package/dist/esm/co-accordion.entry.js +3 -3
- package/dist/esm/co-app-shell.entry.js +4 -4
- package/dist/esm/co-autocomplete.entry.js +10 -7
- package/dist/esm/co-avatar-group.entry.js +75 -0
- package/dist/esm/co-avatar.entry.js +6 -4
- package/dist/esm/co-badge.entry.js +2 -2
- package/dist/esm/co-bottom-sheet.entry.js +323 -0
- package/dist/esm/co-button-group.entry.js +3 -3
- package/dist/esm/co-button.entry.js +6 -6
- package/dist/esm/co-calendar-month.entry.js +379 -0
- package/dist/esm/co-calendar_3.entry.js +12 -12
- package/dist/esm/co-card.entry.js +3 -3
- package/dist/esm/co-checkbox-group.entry.js +5 -5
- package/dist/esm/co-checkbox.entry.js +5 -5
- package/dist/esm/co-chip.entry.js +11 -8
- package/dist/esm/co-color-picker.entry.js +7 -5
- package/dist/esm/co-column-picker.entry.js +3 -3
- package/dist/esm/co-combobox.entry.js +7 -7
- package/dist/esm/co-command-search.entry.js +151 -12
- package/dist/esm/co-data-table-pagination.entry.js +5 -5
- package/dist/esm/co-data-table.entry.js +25 -11
- package/dist/esm/co-date-picker.entry.js +2 -2
- package/dist/esm/co-date-range-picker.entry.js +4 -4
- package/dist/esm/co-date-range.entry.js +2 -2
- package/dist/esm/co-empty-state.entry.js +2 -2
- package/dist/esm/co-event-calendar.entry.js +316 -0
- package/dist/esm/co-fab.entry.js +3 -3
- package/dist/esm/co-file-field.entry.js +8 -8
- package/dist/esm/co-helper-text.entry.js +3 -3
- package/dist/esm/co-icon-button.entry.js +5 -5
- package/dist/esm/co-icon.entry.js +33 -25
- package/dist/esm/co-input.entry.js +6 -6
- package/dist/esm/co-json-field.entry.js +10 -6
- package/dist/esm/co-lightbox.entry.js +5 -5
- package/dist/esm/co-list-footer.entry.js +23 -0
- package/dist/esm/co-list-item.entry.js +60 -4
- package/dist/esm/co-loader_2.entry.js +290 -0
- package/dist/esm/co-menu-divider.entry.js +2 -2
- package/dist/esm/co-menu-item.entry.js +17 -10
- package/dist/esm/co-menu.entry.js +2 -2
- package/dist/esm/co-modal.entry.js +16 -4
- package/dist/esm/co-navbar.entry.js +3 -3
- package/dist/esm/co-number-field.entry.js +18 -6
- package/dist/esm/co-page-header.entry.js +2 -2
- package/dist/esm/co-phone-field.entry.js +6 -4
- package/dist/esm/co-popover.entry.js +45 -14
- package/dist/esm/co-progress-bar.entry.js +8 -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 +36 -13
- package/dist/esm/co-rich-text-editor.entry.js +1879 -33
- package/dist/esm/co-rich-text-toolbar.entry.js +995 -71
- package/dist/esm/co-rich-text-viewer.entry.js +55 -19
- package/dist/esm/co-row.entry.js +3 -3
- package/dist/esm/co-select.entry.js +8 -8
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +29 -9
- package/dist/esm/co-sidebar.entry.js +3 -3
- package/dist/esm/co-skeleton.entry.js +24 -0
- 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 +2 -2
- package/dist/esm/co-tab.entry.js +3 -3
- package/dist/esm/co-tags-field.entry.js +19 -13
- package/dist/esm/co-textarea.entry.js +11 -7
- package/dist/esm/co-toast.entry.js +2 -2
- package/dist/esm/co-toggle-button-group.entry.js +4 -4
- package/dist/esm/co-toggle-button.entry.js +4 -4
- package/dist/esm/co-tooltip.entry.js +51 -16
- package/dist/esm/co-transfer-list.entry.js +3 -3
- package/dist/esm/co-video.entry.js +837 -0
- package/dist/esm/cobalt.js +3 -3
- package/dist/esm/{dates-CyYF8IJE.js → dates-tPYikBRJ.js} +1 -1
- package/dist/esm/fieldChip-GPikjpYw.js +5 -0
- package/dist/esm/{index-BKmfyPZK.js → index-CYsftTKf.js} +45 -21
- package/dist/esm/{index-BjAqSidM.js → index-w_Wxgclf.js} +14508 -6305
- package/dist/esm/loader.js +3 -3
- package/dist/esm/overlayAfterClose-Ch1jfwZ2.js +10 -0
- package/dist/{cjs/sanitizer-CjHZAkOm.js → esm/purify.es-B2QLgWrz.js} +1 -110
- package/dist/esm/{requiredMark-DFvtYtkE.js → requiredMark-CEbXKHcU.js} +1 -1
- package/dist/esm/richTextI18n-B-ckjCUA.js +380 -0
- package/dist/esm/toolbar-config-ChibIpZv.js +212 -0
- package/dist/esm/tz-B6JZk8fL.js +119 -0
- package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +2 -0
- package/dist/types/components/co-avatar/co-avatar.d.ts +2 -0
- package/dist/types/components/co-avatar-group/co-avatar-group.d.ts +33 -0
- package/dist/types/components/co-bottom-sheet/co-bottom-sheet.d.ts +81 -0
- package/dist/types/components/co-button/co-button.d.ts +3 -1
- package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +83 -0
- package/dist/types/components/co-chip/co-chip.d.ts +7 -2
- package/dist/types/components/co-color-picker/co-color-picker.d.ts +2 -0
- package/dist/types/components/co-command-search/co-command-search.d.ts +39 -6
- package/dist/types/components/co-command-search/commandSearchGroup.d.ts +20 -0
- package/dist/types/components/co-command-search/commandSearchLogic.d.ts +17 -0
- package/dist/types/components/co-data-table/co-data-table.d.ts +2 -1
- package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +110 -0
- package/dist/types/components/co-icon/co-icon.d.ts +1 -1
- package/dist/types/components/co-icon/iconLoader.d.ts +6 -0
- package/dist/types/components/co-icon-button/co-icon-button.d.ts +2 -0
- package/dist/types/components/co-json-field/co-json-field.d.ts +3 -0
- package/dist/types/components/co-list-footer/co-list-footer.d.ts +26 -0
- package/dist/types/components/co-list-item/co-list-item.d.ts +11 -0
- package/dist/types/components/co-modal/co-modal.d.ts +6 -0
- package/dist/types/components/co-number-field/co-number-field.d.ts +13 -0
- package/dist/types/components/co-overlay/co-overlay.d.ts +45 -0
- package/dist/types/components/co-overlay/focusTrap.d.ts +20 -0
- package/dist/types/components/co-overlay/overlayAfterClose.d.ts +5 -0
- package/dist/types/components/co-phone-field/co-phone-field.d.ts +2 -0
- package/dist/types/components/co-popover/co-popover.d.ts +9 -0
- package/dist/types/components/co-progress-bar/co-progress-bar.d.ts +2 -0
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +17 -2
- package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +161 -9
- package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +119 -13
- package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +1 -14
- package/dist/types/components/co-skeleton/co-skeleton.d.ts +13 -0
- package/dist/types/components/co-tags-field/co-tags-field.d.ts +2 -0
- package/dist/types/components/co-textarea/co-textarea.d.ts +3 -0
- package/dist/types/components/co-tooltip/co-tooltip.d.ts +12 -0
- package/dist/types/components/co-video/co-video.d.ts +203 -0
- package/dist/types/components.d.ts +1729 -72
- package/dist/types/utils/fieldChip.d.ts +37 -0
- package/dist/types/utils/icon-config.d.ts +11 -0
- package/dist/types/utils/richTextI18n.d.ts +130 -0
- package/dist/types/utils/sheetGesture.d.ts +31 -0
- package/package.json +3 -2
- package/dist/cjs/co-loader.cjs.entry.js +0 -34
- package/dist/cjs/co-overlay.cjs.entry.js +0 -23
- package/dist/cobalt/p-0a6d8061.entry.js +0 -1
- package/dist/cobalt/p-0bf288cd.entry.js +0 -1
- package/dist/cobalt/p-136bdbd2.entry.js +0 -1
- package/dist/cobalt/p-15708d32.entry.js +0 -1
- package/dist/cobalt/p-1578b019.entry.js +0 -1
- package/dist/cobalt/p-23d48581.entry.js +0 -1
- package/dist/cobalt/p-2718ff27.entry.js +0 -1
- package/dist/cobalt/p-2b4d8535.entry.js +0 -1
- package/dist/cobalt/p-3190d715.entry.js +0 -1
- package/dist/cobalt/p-41228dce.entry.js +0 -1
- package/dist/cobalt/p-44672953.entry.js +0 -1
- package/dist/cobalt/p-53ce9023.entry.js +0 -1
- package/dist/cobalt/p-5e7141aa.entry.js +0 -1
- package/dist/cobalt/p-5f905739.entry.js +0 -1
- package/dist/cobalt/p-6678ac0a.entry.js +0 -1
- package/dist/cobalt/p-66a912dd.entry.js +0 -1
- package/dist/cobalt/p-6759ee1c.entry.js +0 -1
- package/dist/cobalt/p-69a40bfd.entry.js +0 -1
- package/dist/cobalt/p-6a6a62cb.entry.js +0 -1
- package/dist/cobalt/p-6d43b6cd.entry.js +0 -1
- package/dist/cobalt/p-759c3dd0.entry.js +0 -1
- package/dist/cobalt/p-782f729f.entry.js +0 -1
- package/dist/cobalt/p-83b89bf8.entry.js +0 -1
- package/dist/cobalt/p-88dc561a.entry.js +0 -1
- package/dist/cobalt/p-8c27aff7.entry.js +0 -1
- package/dist/cobalt/p-996179f7.entry.js +0 -1
- package/dist/cobalt/p-9c533830.entry.js +0 -1
- package/dist/cobalt/p-9d89bf47.entry.js +0 -1
- package/dist/cobalt/p-BKmfyPZK.js +0 -2
- package/dist/cobalt/p-BchB6Hdr.js +0 -1
- package/dist/cobalt/p-DcK0GGZC.js +0 -2
- package/dist/cobalt/p-Qqq8fysz.js +0 -1
- package/dist/cobalt/p-aa17c70b.entry.js +0 -1
- package/dist/cobalt/p-ad4c1b41.entry.js +0 -1
- package/dist/cobalt/p-ae4d3207.entry.js +0 -1
- package/dist/cobalt/p-af64da37.entry.js +0 -1
- package/dist/cobalt/p-c6a242e4.entry.js +0 -1
- package/dist/cobalt/p-cd57e8b4.entry.js +0 -1
- package/dist/cobalt/p-ce3a535f.entry.js +0 -1
- package/dist/cobalt/p-d958566a.entry.js +0 -1
- package/dist/cobalt/p-dd873bf8.entry.js +0 -1
- package/dist/cobalt/p-e4de8865.entry.js +0 -1
- package/dist/cobalt/p-eba0bf7f.entry.js +0 -1
- package/dist/cobalt/p-fad3605d.entry.js +0 -1
- package/dist/cobalt/p-ff2690e5.entry.js +0 -1
- package/dist/components/p-BXdfh__-.js +0 -1
- package/dist/components/p-BchB6Hdr.js +0 -1
- package/dist/components/p-BiW0ubLs.js +0 -1
- package/dist/components/p-CaMgu2_g.js +0 -1
- package/dist/components/p-DBhNS7JD.js +0 -1
- package/dist/components/p-DPi_U-Kl.js +0 -1
- package/dist/components/p-DcK0GGZC.js +0 -2
- package/dist/components/p-MiSJXuBx.js +0 -1
- package/dist/components/p-Sgn-2g8m.js +0 -1
- package/dist/components/p-jDjfGZJp.js +0 -1
- package/dist/components/p-o8hrDIKe.js +0 -1
- package/dist/esm/co-loader.entry.js +0 -32
- package/dist/esm/co-overlay.entry.js +0 -21
|
@@ -6,16 +6,18 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AutocompleteOption } from "./components/co-autocomplete/co-autocomplete";
|
|
9
|
+
import { CoAvatarGroupItem } from "./components/co-avatar-group/co-avatar-group";
|
|
10
|
+
import { CoCalendarEvent, NormalizedEvent } from "@prolibu-suite/cobalt-calendar-utils";
|
|
9
11
|
import { CheckboxOption } from "./components/co-checkbox-group/co-checkbox-group";
|
|
10
12
|
import { ColorPreset } from "./components/co-color-picker/presets";
|
|
11
13
|
import { ColumnOption, ColumnSection } from "./components/co-column-picker/utils/column-picker-tree";
|
|
12
14
|
import { ComboboxOption } from "./components/co-combobox/co-combobox";
|
|
13
|
-
import { CommandItem } from "./components/co-command-search/
|
|
15
|
+
import { CommandItem } from "./components/co-command-search/commandSearchGroup";
|
|
14
16
|
import { CoDataTableColumn } from "./components/co-data-table/co-data-table";
|
|
15
17
|
import { Placement } from "./utils/positioning";
|
|
16
18
|
import { DateRangeValue } from "./components/co-date-range-picker/co-date-range-picker";
|
|
17
19
|
import { DateRangeValue as DateRangeValue1 } from "./components/co-date-range-picker/co-date-range-picker";
|
|
18
|
-
import { IconWeight } from "./components/co-icon/
|
|
20
|
+
import { IconWeight } from "./components/co-icon/iconLoader";
|
|
19
21
|
import { PopoverPlacement } from "./components/co-popover/co-popover";
|
|
20
22
|
import { PopoverPlacement as PopoverPlacement1 } from "./components/co-popover/co-popover";
|
|
21
23
|
import { RadioOption } from "./components/co-radio-group/co-radio-group";
|
|
@@ -26,16 +28,18 @@ import { NavigateDetail } from "./components/co-sidebar-nav/co-sidebar-nav";
|
|
|
26
28
|
import { CoToastActionsLayout, CoToastVariant } from "./components/co-toast/co-toast";
|
|
27
29
|
import { TransferOption } from "./components/co-transfer-list/co-transfer-list";
|
|
28
30
|
export { AutocompleteOption } from "./components/co-autocomplete/co-autocomplete";
|
|
31
|
+
export { CoAvatarGroupItem } from "./components/co-avatar-group/co-avatar-group";
|
|
32
|
+
export { CoCalendarEvent, NormalizedEvent } from "@prolibu-suite/cobalt-calendar-utils";
|
|
29
33
|
export { CheckboxOption } from "./components/co-checkbox-group/co-checkbox-group";
|
|
30
34
|
export { ColorPreset } from "./components/co-color-picker/presets";
|
|
31
35
|
export { ColumnOption, ColumnSection } from "./components/co-column-picker/utils/column-picker-tree";
|
|
32
36
|
export { ComboboxOption } from "./components/co-combobox/co-combobox";
|
|
33
|
-
export { CommandItem } from "./components/co-command-search/
|
|
37
|
+
export { CommandItem } from "./components/co-command-search/commandSearchGroup";
|
|
34
38
|
export { CoDataTableColumn } from "./components/co-data-table/co-data-table";
|
|
35
39
|
export { Placement } from "./utils/positioning";
|
|
36
40
|
export { DateRangeValue } from "./components/co-date-range-picker/co-date-range-picker";
|
|
37
41
|
export { DateRangeValue as DateRangeValue1 } from "./components/co-date-range-picker/co-date-range-picker";
|
|
38
|
-
export { IconWeight } from "./components/co-icon/
|
|
42
|
+
export { IconWeight } from "./components/co-icon/iconLoader";
|
|
39
43
|
export { PopoverPlacement } from "./components/co-popover/co-popover";
|
|
40
44
|
export { PopoverPlacement as PopoverPlacement1 } from "./components/co-popover/co-popover";
|
|
41
45
|
export { RadioOption } from "./components/co-radio-group/co-radio-group";
|
|
@@ -138,6 +142,11 @@ export namespace Components {
|
|
|
138
142
|
*/
|
|
139
143
|
"required": boolean;
|
|
140
144
|
"secondaryLabel"?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
147
|
+
* @default 'md'
|
|
148
|
+
*/
|
|
149
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
141
150
|
/**
|
|
142
151
|
* @default 'default'
|
|
143
152
|
*/
|
|
@@ -162,6 +171,10 @@ export namespace Components {
|
|
|
162
171
|
* @default 'regular'
|
|
163
172
|
*/
|
|
164
173
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
174
|
+
/**
|
|
175
|
+
* Optional 2px ring color (hex/CSS). Drives the inset ::after ring.
|
|
176
|
+
*/
|
|
177
|
+
"ringColor"?: string;
|
|
165
178
|
/**
|
|
166
179
|
* Shape of the avatar
|
|
167
180
|
* @default 'circle'
|
|
@@ -186,6 +199,37 @@ export namespace Components {
|
|
|
186
199
|
*/
|
|
187
200
|
"type": 'text' | 'icon' | 'image';
|
|
188
201
|
}
|
|
202
|
+
interface CoAvatarGroup {
|
|
203
|
+
/**
|
|
204
|
+
* Make the whole group a focusable button (role=button, keyboard, coClick).
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
207
|
+
"interactive": boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Avatar descriptors rendered as an overlapping stack.
|
|
210
|
+
* @default []
|
|
211
|
+
*/
|
|
212
|
+
"items": CoAvatarGroupItem[];
|
|
213
|
+
/**
|
|
214
|
+
* Accessible label override; when absent it's composed from the items' names.
|
|
215
|
+
*/
|
|
216
|
+
"label"?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Max avatars shown before the remainder collapses into a "+N" badge. `0` = show all.
|
|
219
|
+
* @default 4
|
|
220
|
+
*/
|
|
221
|
+
"max": number;
|
|
222
|
+
/**
|
|
223
|
+
* Shape forwarded to every avatar that doesn't set its own.
|
|
224
|
+
* @default 'circle'
|
|
225
|
+
*/
|
|
226
|
+
"shape": 'circle' | 'square';
|
|
227
|
+
/**
|
|
228
|
+
* Size forwarded to every avatar (and the overflow badge).
|
|
229
|
+
* @default 'xs'
|
|
230
|
+
*/
|
|
231
|
+
"size": 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
232
|
+
}
|
|
189
233
|
interface CoBadge {
|
|
190
234
|
/**
|
|
191
235
|
* Color — maps to semantic status tokens
|
|
@@ -198,6 +242,51 @@ export namespace Components {
|
|
|
198
242
|
*/
|
|
199
243
|
"size": 'large' | 'small';
|
|
200
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* Mobile bottom sheet with native drag physics: the sheet follows the finger
|
|
247
|
+
* 1:1 downward, a fast flick (or a slow release past ~45% of its height)
|
|
248
|
+
* dismisses it, upward overdrag rubber-bands, and the backdrop opacity is
|
|
249
|
+
* coupled to the drag. The body scrolls internally — dragging from the body
|
|
250
|
+
* only engages when its content is scrolled to the top.
|
|
251
|
+
* Height fits the content, capped by `maxHeight` (default 85dvh).
|
|
252
|
+
*/
|
|
253
|
+
interface CoBottomSheet {
|
|
254
|
+
/**
|
|
255
|
+
* Close when pressing Escape
|
|
256
|
+
* @default true
|
|
257
|
+
*/
|
|
258
|
+
"closeOnEscape": boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Close when tapping the backdrop
|
|
261
|
+
* @default true
|
|
262
|
+
*/
|
|
263
|
+
"closeOnOverlay": boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Allow closing with the drag gesture. When false, drags rubber-band back.
|
|
266
|
+
* @default true
|
|
267
|
+
*/
|
|
268
|
+
"dismissible": boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Sheet title (used when the `header` slot is empty)
|
|
271
|
+
* @default ''
|
|
272
|
+
*/
|
|
273
|
+
"heading": string;
|
|
274
|
+
/**
|
|
275
|
+
* Maximum sheet height (any CSS length; content shorter than this hugs)
|
|
276
|
+
* @default '85dvh'
|
|
277
|
+
*/
|
|
278
|
+
"maxHeight": string;
|
|
279
|
+
/**
|
|
280
|
+
* Whether the sheet is visible
|
|
281
|
+
* @default false
|
|
282
|
+
*/
|
|
283
|
+
"open": boolean;
|
|
284
|
+
/**
|
|
285
|
+
* Show the grab handle
|
|
286
|
+
* @default true
|
|
287
|
+
*/
|
|
288
|
+
"showHandle": boolean;
|
|
289
|
+
}
|
|
201
290
|
interface CoButton {
|
|
202
291
|
/**
|
|
203
292
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
@@ -216,6 +305,10 @@ export namespace Components {
|
|
|
216
305
|
* Phosphor icon name for the right position (e.g. "arrow-right", "download")
|
|
217
306
|
*/
|
|
218
307
|
"iconRight"?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Override the size-derived glyph px (e.g. 24). Falls back to the size default.
|
|
310
|
+
*/
|
|
311
|
+
"iconSize"?: number;
|
|
219
312
|
/**
|
|
220
313
|
* Icon weight applied to both iconLeft and iconRight
|
|
221
314
|
* @default 'regular'
|
|
@@ -248,7 +341,7 @@ export namespace Components {
|
|
|
248
341
|
* Visual style
|
|
249
342
|
* @default 'primary'
|
|
250
343
|
*/
|
|
251
|
-
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost';
|
|
344
|
+
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
252
345
|
}
|
|
253
346
|
interface CoButtonGroup {
|
|
254
347
|
/**
|
|
@@ -337,6 +430,67 @@ export namespace Components {
|
|
|
337
430
|
*/
|
|
338
431
|
"value"?: string | null;
|
|
339
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
435
|
+
* keyboard model from `co-calendar`, then overlays multi-day event bars laid out
|
|
436
|
+
* by `layoutMonth` from the engine. Presentation + interaction only; the host
|
|
437
|
+
* (via `co-event-calendar`) owns data and persistence.
|
|
438
|
+
* Events are CONTROLLED through the `events` prop — drag emits a request, it does
|
|
439
|
+
* NOT mutate locally; the host re-renders with new data on success or leaves the
|
|
440
|
+
* old data on failure (that IS the revert).
|
|
441
|
+
*/
|
|
442
|
+
interface CoCalendarMonth {
|
|
443
|
+
/**
|
|
444
|
+
* Master interaction gate.
|
|
445
|
+
* @default true
|
|
446
|
+
*/
|
|
447
|
+
"editable": boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Normalized events to render (from the engine's `normalizeEvents`).
|
|
450
|
+
* @default []
|
|
451
|
+
*/
|
|
452
|
+
"events": NormalizedEvent[];
|
|
453
|
+
/**
|
|
454
|
+
* First day of week, 0=Sun..6=Sat.
|
|
455
|
+
* @default 1
|
|
456
|
+
*/
|
|
457
|
+
"firstDayOfWeek": number;
|
|
458
|
+
/**
|
|
459
|
+
* BCP-47 locale for weekday labels.
|
|
460
|
+
* @default 'es-CO'
|
|
461
|
+
*/
|
|
462
|
+
"locale": string;
|
|
463
|
+
/**
|
|
464
|
+
* Latest interactable day "YYYY-MM-DD".
|
|
465
|
+
*/
|
|
466
|
+
"maxDate"?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Max event lanes per day before "+N more".
|
|
469
|
+
* @default 3
|
|
470
|
+
*/
|
|
471
|
+
"maxLanes": number;
|
|
472
|
+
/**
|
|
473
|
+
* Earliest interactable day "YYYY-MM-DD" (gates select/drag — past-block).
|
|
474
|
+
*/
|
|
475
|
+
"minDate"?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Month shown (1-12).
|
|
478
|
+
*/
|
|
479
|
+
"month": number;
|
|
480
|
+
/**
|
|
481
|
+
* Allow empty-day click to request a create.
|
|
482
|
+
* @default true
|
|
483
|
+
*/
|
|
484
|
+
"selectable": boolean;
|
|
485
|
+
/**
|
|
486
|
+
* IANA timezone used to place timed events on their wall-clock day.
|
|
487
|
+
*/
|
|
488
|
+
"timeZone": string;
|
|
489
|
+
/**
|
|
490
|
+
* Year shown.
|
|
491
|
+
*/
|
|
492
|
+
"year": number;
|
|
493
|
+
}
|
|
340
494
|
interface CoCard {
|
|
341
495
|
/**
|
|
342
496
|
* Make the card fully clickable
|
|
@@ -449,12 +603,22 @@ export namespace Components {
|
|
|
449
603
|
* Semantic color
|
|
450
604
|
* @default 'default'
|
|
451
605
|
*/
|
|
452
|
-
"color": 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
606
|
+
"color": | 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
607
|
+
| 'pending' | 'progress' | 'review' | 'submitted';
|
|
453
608
|
/**
|
|
454
609
|
* Disabled state
|
|
455
610
|
* @default false
|
|
456
611
|
*/
|
|
457
612
|
"disabled": boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Show a leading colour dot (status/value colour). Reflected for hydration.
|
|
615
|
+
* @default false
|
|
616
|
+
*/
|
|
617
|
+
"dot": boolean;
|
|
618
|
+
/**
|
|
619
|
+
* Colour of the leading dot (hex or any CSS colour). Reflected for hydration.
|
|
620
|
+
*/
|
|
621
|
+
"dotColor"?: string;
|
|
458
622
|
/**
|
|
459
623
|
* Icon name for the left icon (prop-based, uses co-icon — any Phosphor icon name)
|
|
460
624
|
*/
|
|
@@ -478,7 +642,7 @@ export namespace Components {
|
|
|
478
642
|
*/
|
|
479
643
|
"label"?: string;
|
|
480
644
|
/**
|
|
481
|
-
* Show dismiss/remove button and emit coRemove on click
|
|
645
|
+
* Show dismiss/remove button and emit coRemove on click. Reflected so it survives lazy hydration when set via a framework wrapper.
|
|
482
646
|
* @default false
|
|
483
647
|
*/
|
|
484
648
|
"removable": boolean;
|
|
@@ -548,6 +712,11 @@ export namespace Components {
|
|
|
548
712
|
* @default false
|
|
549
713
|
*/
|
|
550
714
|
"required": boolean;
|
|
715
|
+
/**
|
|
716
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
717
|
+
* @default 'md'
|
|
718
|
+
*/
|
|
719
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
551
720
|
/**
|
|
552
721
|
* Validation status.
|
|
553
722
|
* @default 'default'
|
|
@@ -730,16 +899,51 @@ export namespace Components {
|
|
|
730
899
|
* Opens as an overlay with a search input and filterable list of items.
|
|
731
900
|
*/
|
|
732
901
|
interface CoCommandSearch {
|
|
902
|
+
/**
|
|
903
|
+
* The active tab's value (the scope model key), or '' = no active tab.
|
|
904
|
+
* @default ''
|
|
905
|
+
*/
|
|
906
|
+
"activeTab": string;
|
|
907
|
+
/**
|
|
908
|
+
* When true, the host supplies already-filtered, ordered items: disable internal client filtering so fetch-as-you-type results pass through.
|
|
909
|
+
* @default false
|
|
910
|
+
*/
|
|
911
|
+
"async": boolean;
|
|
912
|
+
/**
|
|
913
|
+
* Facet chips as JSON string: [{label:string, icon?:string}[]]
|
|
914
|
+
* @default '[]'
|
|
915
|
+
*/
|
|
916
|
+
"chips": string;
|
|
733
917
|
/**
|
|
734
918
|
* Empty state message when no results match
|
|
735
919
|
* @default 'No results found'
|
|
736
920
|
*/
|
|
737
921
|
"emptyMessage": string;
|
|
922
|
+
/**
|
|
923
|
+
* Favorites / shortcuts grid (mac-Spotlight app grid) as JSON: [{value,label,icon,color}]. Shown as a grid at the top of the results, only while the query is empty.
|
|
924
|
+
* @default '[]'
|
|
925
|
+
*/
|
|
926
|
+
"favorites": string;
|
|
927
|
+
/**
|
|
928
|
+
* Show the "Más ▾" overflow tab.
|
|
929
|
+
* @default false
|
|
930
|
+
*/
|
|
931
|
+
"hasMore": boolean;
|
|
738
932
|
/**
|
|
739
933
|
* Items to display (JSON string or set via JS property)
|
|
740
934
|
* @default []
|
|
741
935
|
*/
|
|
742
936
|
"items": string | CommandItem[];
|
|
937
|
+
/**
|
|
938
|
+
* Show a loading indicator in the results area (async fetch in flight).
|
|
939
|
+
* @default false
|
|
940
|
+
*/
|
|
941
|
+
"loading": boolean;
|
|
942
|
+
/**
|
|
943
|
+
* Label for the overflow tab.
|
|
944
|
+
* @default 'More'
|
|
945
|
+
*/
|
|
946
|
+
"moreLabel": string;
|
|
743
947
|
/**
|
|
744
948
|
* Whether the command palette is open
|
|
745
949
|
* @default false
|
|
@@ -750,6 +954,11 @@ export namespace Components {
|
|
|
750
954
|
* @default 'Search...'
|
|
751
955
|
*/
|
|
752
956
|
"placeholder": string;
|
|
957
|
+
/**
|
|
958
|
+
* Module tabs (mac-Spotlight style) as JSON: [{value,label,icon}]. Empty = no tabs row.
|
|
959
|
+
* @default '[]'
|
|
960
|
+
*/
|
|
961
|
+
"tabs": string;
|
|
753
962
|
}
|
|
754
963
|
interface CoDataTable {
|
|
755
964
|
/**
|
|
@@ -1277,6 +1486,84 @@ export namespace Components {
|
|
|
1277
1486
|
*/
|
|
1278
1487
|
"icon"?: string;
|
|
1279
1488
|
}
|
|
1489
|
+
/**
|
|
1490
|
+
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
1491
|
+
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
1492
|
+
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
1493
|
+
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
1494
|
+
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
1495
|
+
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
1496
|
+
* revert.
|
|
1497
|
+
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
1498
|
+
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
1499
|
+
*/
|
|
1500
|
+
interface CoEventCalendar {
|
|
1501
|
+
/**
|
|
1502
|
+
* Views offered in the switcher. Defaults to the implemented set.
|
|
1503
|
+
* @default ['month']
|
|
1504
|
+
*/
|
|
1505
|
+
"availableViews": string[] | string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Anchor date "YYYY-MM-DD" controlling the visible period. Persisted by host.
|
|
1508
|
+
*/
|
|
1509
|
+
"date"?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* Max event lanes per day before "+N more".
|
|
1512
|
+
* @default 3
|
|
1513
|
+
*/
|
|
1514
|
+
"dayMaxEvents": number;
|
|
1515
|
+
/**
|
|
1516
|
+
* Default minutes for a timed event missing an end.
|
|
1517
|
+
* @default 60
|
|
1518
|
+
*/
|
|
1519
|
+
"defaultDurationMinutes": number;
|
|
1520
|
+
/**
|
|
1521
|
+
* Master interaction gate (per-event `editable` can still lock individuals).
|
|
1522
|
+
* @default true
|
|
1523
|
+
*/
|
|
1524
|
+
"editable": boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* Events: an array or a JSON string (raw-HTML use).
|
|
1527
|
+
* @default []
|
|
1528
|
+
*/
|
|
1529
|
+
"events": CoCalendarEvent[] | string;
|
|
1530
|
+
/**
|
|
1531
|
+
* First day of week, 0=Sun..6=Sat.
|
|
1532
|
+
* @default 1
|
|
1533
|
+
*/
|
|
1534
|
+
"firstDayOfWeek": number;
|
|
1535
|
+
/**
|
|
1536
|
+
* BCP-47 locale for labels.
|
|
1537
|
+
* @default 'es-CO'
|
|
1538
|
+
*/
|
|
1539
|
+
"locale": string;
|
|
1540
|
+
/**
|
|
1541
|
+
* Latest interactable day "YYYY-MM-DD".
|
|
1542
|
+
*/
|
|
1543
|
+
"maxDate"?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
1546
|
+
*/
|
|
1547
|
+
"minDate"?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Allow empty-day selection to request a create.
|
|
1550
|
+
* @default true
|
|
1551
|
+
*/
|
|
1552
|
+
"selectable": boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
1555
|
+
*/
|
|
1556
|
+
"statusColors"?: Record<string, { backgroundColor?: string; borderColor?: string }> | string;
|
|
1557
|
+
/**
|
|
1558
|
+
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
1559
|
+
*/
|
|
1560
|
+
"timeZone"?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Active view. Phase 1 ships `month`; week/day/agenda land in later phases.
|
|
1563
|
+
* @default 'month'
|
|
1564
|
+
*/
|
|
1565
|
+
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
1566
|
+
}
|
|
1280
1567
|
interface CoFab {
|
|
1281
1568
|
/**
|
|
1282
1569
|
* @default false
|
|
@@ -1428,6 +1715,10 @@ export namespace Components {
|
|
|
1428
1715
|
* Phosphor icon name (e.g. "plus", "gear"). Renders co-icon inside the button.
|
|
1429
1716
|
*/
|
|
1430
1717
|
"icon"?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* Override the size-derived glyph px (e.g. 24). Falls back to the size default.
|
|
1720
|
+
*/
|
|
1721
|
+
"iconSize"?: number;
|
|
1431
1722
|
/**
|
|
1432
1723
|
* Icon weight
|
|
1433
1724
|
* @default 'regular'
|
|
@@ -1594,6 +1885,11 @@ export namespace Components {
|
|
|
1594
1885
|
* @default 8
|
|
1595
1886
|
*/
|
|
1596
1887
|
"rows": number;
|
|
1888
|
+
/**
|
|
1889
|
+
* Field size (mirrors co-input paddings; mono font scales 12/13/13/14). Vertical extent still comes from `rows`.
|
|
1890
|
+
* @default 'md'
|
|
1891
|
+
*/
|
|
1892
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
1597
1893
|
/**
|
|
1598
1894
|
* External validation status (e.g. from a form controller).
|
|
1599
1895
|
* @default 'default'
|
|
@@ -1638,6 +1934,32 @@ export namespace Components {
|
|
|
1638
1934
|
*/
|
|
1639
1935
|
"startIndex": number;
|
|
1640
1936
|
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Action footer for dropdown / list panels (co-popover, co-combobox, …).
|
|
1939
|
+
* Renders one or two full-width action buttons in the standard footer design,
|
|
1940
|
+
* separated from the content above by top padding. Use the props for the common
|
|
1941
|
+
* primary/secondary actions, or the default slot for fully custom content.
|
|
1942
|
+
*/
|
|
1943
|
+
interface CoListFooter {
|
|
1944
|
+
/**
|
|
1945
|
+
* Primary action leading icon (Phosphor). Set to '' to hide the icon.
|
|
1946
|
+
* @default 'plus'
|
|
1947
|
+
*/
|
|
1948
|
+
"primaryIcon": string;
|
|
1949
|
+
/**
|
|
1950
|
+
* Primary (filled) action label. Omit to hide the primary button.
|
|
1951
|
+
*/
|
|
1952
|
+
"primaryLabel"?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* Secondary action leading icon (Phosphor). Set to '' to hide the icon.
|
|
1955
|
+
* @default 'plus'
|
|
1956
|
+
*/
|
|
1957
|
+
"secondaryIcon": string;
|
|
1958
|
+
/**
|
|
1959
|
+
* Secondary (outlined) action label. Omit to hide the secondary button.
|
|
1960
|
+
*/
|
|
1961
|
+
"secondaryLabel"?: string;
|
|
1962
|
+
}
|
|
1641
1963
|
/**
|
|
1642
1964
|
* Generic list item for sidebar nav, dropdown menus, selection lists.
|
|
1643
1965
|
*/
|
|
@@ -1860,6 +2182,10 @@ export namespace Components {
|
|
|
1860
2182
|
* @default false
|
|
1861
2183
|
*/
|
|
1862
2184
|
"disabled": boolean;
|
|
2185
|
+
/**
|
|
2186
|
+
* Display format. With 'rate' | 'percent' the `value` stays a DECIMAL (e.g. 0.15) but the field shows/edits the PERCENT (15) with a "%" suffix. value/min/max/step are always in the underlying (decimal) unit. Reflected so it survives lazy hydration when set via the Vue wrapper.
|
|
2187
|
+
*/
|
|
2188
|
+
"format"?: 'rate' | 'percent';
|
|
1863
2189
|
"helperText"?: string;
|
|
1864
2190
|
"label"?: string;
|
|
1865
2191
|
/**
|
|
@@ -1897,11 +2223,21 @@ export namespace Components {
|
|
|
1897
2223
|
"value": number | null;
|
|
1898
2224
|
}
|
|
1899
2225
|
interface CoOverlay {
|
|
2226
|
+
/**
|
|
2227
|
+
* Opt-in: emit `coClose` when Escape is pressed while open. Default false → existing consumers are unchanged.
|
|
2228
|
+
* @default false
|
|
2229
|
+
*/
|
|
2230
|
+
"closeOnEscape": boolean;
|
|
1900
2231
|
/**
|
|
1901
2232
|
* Whether the overlay is visible
|
|
1902
2233
|
* @default false
|
|
1903
2234
|
*/
|
|
1904
2235
|
"open": boolean;
|
|
2236
|
+
/**
|
|
2237
|
+
* Opt-in accessible focus trap. When true, opening the overlay records the previously-focused element, moves focus into the overlay, cycles Tab / Shift+Tab within the slotted content, and restores focus on close. Default false → existing consumers are unchanged.
|
|
2238
|
+
* @default false
|
|
2239
|
+
*/
|
|
2240
|
+
"trapFocus": boolean;
|
|
1905
2241
|
}
|
|
1906
2242
|
/**
|
|
1907
2243
|
* Page-level header bar with icon, title, and right actions.
|
|
@@ -1957,6 +2293,11 @@ export namespace Components {
|
|
|
1957
2293
|
* @default false
|
|
1958
2294
|
*/
|
|
1959
2295
|
"required": boolean;
|
|
2296
|
+
/**
|
|
2297
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
2298
|
+
* @default 'md'
|
|
2299
|
+
*/
|
|
2300
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
1960
2301
|
/**
|
|
1961
2302
|
* Validation status.
|
|
1962
2303
|
* @default 'default'
|
|
@@ -2012,6 +2353,11 @@ export namespace Components {
|
|
|
2012
2353
|
* A horizontal progress bar with status colors.
|
|
2013
2354
|
*/
|
|
2014
2355
|
interface CoProgressBar {
|
|
2356
|
+
/**
|
|
2357
|
+
* Indeterminate mode: ignore `value` and run a looping sweep animation.
|
|
2358
|
+
* @default false
|
|
2359
|
+
*/
|
|
2360
|
+
"indeterminate": boolean;
|
|
2015
2361
|
/**
|
|
2016
2362
|
* Status / color variant
|
|
2017
2363
|
* @default 'default'
|
|
@@ -2174,6 +2520,11 @@ export namespace Components {
|
|
|
2174
2520
|
"value": number;
|
|
2175
2521
|
}
|
|
2176
2522
|
interface CoRefField {
|
|
2523
|
+
/**
|
|
2524
|
+
* Shape of the leading avatar (selected value + option rows). Defaults to 'circle' (people refs); use 'square' for company/workspace refs — it renders a smooth squircle. The avatar border can be themed via --co-avatar-border-color.
|
|
2525
|
+
* @default 'circle'
|
|
2526
|
+
*/
|
|
2527
|
+
"avatarShape": 'circle' | 'square';
|
|
2177
2528
|
/**
|
|
2178
2529
|
* @default true
|
|
2179
2530
|
*/
|
|
@@ -2203,6 +2554,10 @@ export namespace Components {
|
|
|
2203
2554
|
"helperText"?: string;
|
|
2204
2555
|
"iconLeft"?: string;
|
|
2205
2556
|
"label"?: string;
|
|
2557
|
+
/**
|
|
2558
|
+
* Phosphor icon name rendered before the label text.
|
|
2559
|
+
*/
|
|
2560
|
+
"labelIcon"?: string;
|
|
2206
2561
|
/**
|
|
2207
2562
|
* Label layout: vertical (label above) or horizontal (label beside)
|
|
2208
2563
|
* @default 'vertical'
|
|
@@ -2265,10 +2620,10 @@ export namespace Components {
|
|
|
2265
2620
|
*/
|
|
2266
2621
|
"showFooter": boolean;
|
|
2267
2622
|
/**
|
|
2268
|
-
* Size of the trigger. 'sm'
|
|
2269
|
-
* @default '
|
|
2623
|
+
* Size of the trigger (mirrors co-input): s 28 / sm 32 / md 40 / lg 48. `'default'` is a deprecated alias of `'md'`, kept for backwards compatibility with the old `'default' | 'sm'` scale — use `'md'` instead.
|
|
2624
|
+
* @default 'md'
|
|
2270
2625
|
*/
|
|
2271
|
-
"size": '
|
|
2626
|
+
"size": 's' | 'sm' | 'md' | 'lg' | 'default';
|
|
2272
2627
|
/**
|
|
2273
2628
|
* @default 'default'
|
|
2274
2629
|
*/
|
|
@@ -2291,6 +2646,10 @@ export namespace Components {
|
|
|
2291
2646
|
* never reach it. All styles live in light DOM via BEM + `--co-*` tokens.
|
|
2292
2647
|
*/
|
|
2293
2648
|
interface CoRichTextEditor {
|
|
2649
|
+
/**
|
|
2650
|
+
* Account/imported fonts shown in a separate "Imported fonts" section. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array.
|
|
2651
|
+
*/
|
|
2652
|
+
"accountFonts"?: string | { label: string; value: string }[];
|
|
2294
2653
|
/**
|
|
2295
2654
|
* @default false
|
|
2296
2655
|
*/
|
|
@@ -2309,6 +2668,18 @@ export namespace Components {
|
|
|
2309
2668
|
*/
|
|
2310
2669
|
"features"?: string | object;
|
|
2311
2670
|
"focusEditor": () => Promise<void>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Font families available in the bubble menu font selector. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array. If not provided, a default list of system fonts is used.
|
|
2673
|
+
*/
|
|
2674
|
+
"fontFamilies"?: string | { label: string; value: string }[];
|
|
2675
|
+
/**
|
|
2676
|
+
* Async callback that loads account/imported fonts. Called once when the font dropdown opens for the first time. Must return `Array<{ label: string; value: string; url?: string }>`. If `url` is provided, the font is registered via FontFace API. JS property only — cannot be set via HTML attribute.
|
|
2677
|
+
*/
|
|
2678
|
+
"fontLoader"?: () => Promise<{ label: string; value: string; url?: string }[]>;
|
|
2679
|
+
/**
|
|
2680
|
+
* Whether account fonts are currently loading.
|
|
2681
|
+
*/
|
|
2682
|
+
"fontsLoading"?: boolean;
|
|
2312
2683
|
"getEditorInstance": () => Promise<Editor | null>;
|
|
2313
2684
|
"getHtml": () => Promise<string>;
|
|
2314
2685
|
"getJSON": () => Promise<object | null>;
|
|
@@ -2320,10 +2691,10 @@ export namespace Components {
|
|
|
2320
2691
|
"imageUpload"?: (file: File) => Promise<string>;
|
|
2321
2692
|
"label"?: string;
|
|
2322
2693
|
/**
|
|
2323
|
-
*
|
|
2324
|
-
* @default '
|
|
2694
|
+
* BCP-47 locale for UI strings (e.g. 'en', 'es-CO', 'pt-BR'). Default English.
|
|
2695
|
+
* @default 'en'
|
|
2325
2696
|
*/
|
|
2326
|
-
"
|
|
2697
|
+
"locale": string;
|
|
2327
2698
|
"maxLength"?: number;
|
|
2328
2699
|
/**
|
|
2329
2700
|
* @default ''
|
|
@@ -2366,7 +2737,8 @@ export namespace Components {
|
|
|
2366
2737
|
/**
|
|
2367
2738
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
2368
2739
|
* instance via the `editor` JS property, runs commands, and reflects active
|
|
2369
|
-
* state.
|
|
2740
|
+
* state. Supports separators, dropdown menus, inline popover inputs, and
|
|
2741
|
+
* color palette pickers.
|
|
2370
2742
|
*/
|
|
2371
2743
|
interface CoRichTextToolbar {
|
|
2372
2744
|
/**
|
|
@@ -2377,18 +2749,21 @@ export namespace Components {
|
|
|
2377
2749
|
* Editor instance (set as a property by the host editor).
|
|
2378
2750
|
*/
|
|
2379
2751
|
"editor"?: Editor;
|
|
2752
|
+
/**
|
|
2753
|
+
* Image upload handler (JS property): `(file) => Promise<url | {src, fileId}>`.
|
|
2754
|
+
*/
|
|
2755
|
+
"imageUpload"?: (file: File) => Promise<any>;
|
|
2756
|
+
/**
|
|
2757
|
+
* BCP-47 locale for UI strings (e.g. 'en', 'es-CO', 'pt-BR'). Default English.
|
|
2758
|
+
* @default 'en'
|
|
2759
|
+
*/
|
|
2760
|
+
"locale": string;
|
|
2380
2761
|
/**
|
|
2381
2762
|
* Toolbar layout variant.
|
|
2382
2763
|
* @default 'basic'
|
|
2383
2764
|
*/
|
|
2384
2765
|
"variant": 'none' | 'compact' | 'basic' | 'full';
|
|
2385
2766
|
}
|
|
2386
|
-
/**
|
|
2387
|
-
* Read-only renderer for rich-text content. For `format="html"` it only runs
|
|
2388
|
-
* the package's canonical sanitizer (the `/sanitizer` subpath has no Tiptap
|
|
2389
|
-
* import → tiny). `format="json"` lazily pulls the serializer to turn a
|
|
2390
|
-
* ProseMirror document into sanitized HTML.
|
|
2391
|
-
*/
|
|
2392
2767
|
interface CoRichTextViewer {
|
|
2393
2768
|
/**
|
|
2394
2769
|
* Reduced padding.
|
|
@@ -2399,10 +2774,6 @@ export namespace Components {
|
|
|
2399
2774
|
* Text shown when there is no content.
|
|
2400
2775
|
*/
|
|
2401
2776
|
"emptyText"?: string;
|
|
2402
|
-
/**
|
|
2403
|
-
* Feature overrides used when the content was authored with them (JSON string for HTML attr, or object via JS property) — keeps the whitelist in lock-step with the editor that produced the content.
|
|
2404
|
-
*/
|
|
2405
|
-
"features"?: string | object;
|
|
2406
2777
|
/**
|
|
2407
2778
|
* Input format. `html` is the lightweight path.
|
|
2408
2779
|
* @default 'html'
|
|
@@ -2586,6 +2957,27 @@ export namespace Components {
|
|
|
2586
2957
|
*/
|
|
2587
2958
|
"translations": string;
|
|
2588
2959
|
}
|
|
2960
|
+
/**
|
|
2961
|
+
* Placeholder de carga con shimmer (sweep). Componer apilando varios.
|
|
2962
|
+
* Respeta prefers-reduced-motion (sin animación).
|
|
2963
|
+
*/
|
|
2964
|
+
interface CoSkeleton {
|
|
2965
|
+
/**
|
|
2966
|
+
* Alto CSS (default por variante en CSS)
|
|
2967
|
+
* @default ''
|
|
2968
|
+
*/
|
|
2969
|
+
"height": string;
|
|
2970
|
+
/**
|
|
2971
|
+
* rect (default) | text (radio menor) | circle
|
|
2972
|
+
* @default 'rect'
|
|
2973
|
+
*/
|
|
2974
|
+
"variant": 'rect' | 'text' | 'circle';
|
|
2975
|
+
/**
|
|
2976
|
+
* Ancho CSS (default 100%)
|
|
2977
|
+
* @default '100%'
|
|
2978
|
+
*/
|
|
2979
|
+
"width": string;
|
|
2980
|
+
}
|
|
2589
2981
|
interface CoSlider {
|
|
2590
2982
|
/**
|
|
2591
2983
|
* @default false
|
|
@@ -2762,6 +3154,11 @@ export namespace Components {
|
|
|
2762
3154
|
* @default false
|
|
2763
3155
|
*/
|
|
2764
3156
|
"required": boolean;
|
|
3157
|
+
/**
|
|
3158
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
3159
|
+
* @default 'md'
|
|
3160
|
+
*/
|
|
3161
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
2765
3162
|
/**
|
|
2766
3163
|
* Committed value as a JSON array of strings (or an actual `string[]`).
|
|
2767
3164
|
* @default '[]'
|
|
@@ -2834,6 +3231,11 @@ export namespace Components {
|
|
|
2834
3231
|
* Secondary label displayed on the right side
|
|
2835
3232
|
*/
|
|
2836
3233
|
"secondaryLabel"?: string;
|
|
3234
|
+
/**
|
|
3235
|
+
* Field size (mirrors co-input paddings/font: s / sm / md / lg). Vertical extent still comes from `rows`.
|
|
3236
|
+
* @default 'md'
|
|
3237
|
+
*/
|
|
3238
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
2837
3239
|
/**
|
|
2838
3240
|
* Validation status
|
|
2839
3241
|
* @default 'default'
|
|
@@ -2930,6 +3332,11 @@ export namespace Components {
|
|
|
2930
3332
|
* @default true
|
|
2931
3333
|
*/
|
|
2932
3334
|
"arrow": boolean;
|
|
3335
|
+
/**
|
|
3336
|
+
* Full-width wrapper (opt-in) so the tooltip can wrap a flex/grid child that must fill its track — e.g. an ellipsised list/table cell — without the inline-block wrapper shrink-wrapping it. Drives the `:host([block])` CSS.
|
|
3337
|
+
* @default false
|
|
3338
|
+
*/
|
|
3339
|
+
"block": boolean;
|
|
2933
3340
|
/**
|
|
2934
3341
|
* Tooltip text content.
|
|
2935
3342
|
* @default ''
|
|
@@ -3001,7 +3408,160 @@ export namespace Components {
|
|
|
3001
3408
|
*/
|
|
3002
3409
|
"value": string[] | string;
|
|
3003
3410
|
}
|
|
3004
|
-
|
|
3411
|
+
/**
|
|
3412
|
+
* A fully configurable video player component with custom controls.
|
|
3413
|
+
*/
|
|
3414
|
+
interface CoVideo {
|
|
3415
|
+
/**
|
|
3416
|
+
* Enable download functionality
|
|
3417
|
+
* @default false
|
|
3418
|
+
*/
|
|
3419
|
+
"allowDownload": boolean;
|
|
3420
|
+
/**
|
|
3421
|
+
* Container aspect ratio
|
|
3422
|
+
* @default '16:9'
|
|
3423
|
+
*/
|
|
3424
|
+
"aspectRatio": '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
3425
|
+
/**
|
|
3426
|
+
* Auto-start playback (requires muted for browser autoplay)
|
|
3427
|
+
* @default false
|
|
3428
|
+
*/
|
|
3429
|
+
"autoplay": boolean;
|
|
3430
|
+
/**
|
|
3431
|
+
* Master toggle for custom control bar
|
|
3432
|
+
* @default true
|
|
3433
|
+
*/
|
|
3434
|
+
"controls": boolean;
|
|
3435
|
+
/**
|
|
3436
|
+
* Auto-hide controls after inactivity
|
|
3437
|
+
* @default true
|
|
3438
|
+
*/
|
|
3439
|
+
"controlsAutoHide": boolean;
|
|
3440
|
+
/**
|
|
3441
|
+
* Milliseconds before controls hide
|
|
3442
|
+
* @default 3000
|
|
3443
|
+
*/
|
|
3444
|
+
"controlsAutoHideDelay": number;
|
|
3445
|
+
/**
|
|
3446
|
+
* Current playback position in seconds (enables resume)
|
|
3447
|
+
* @default 0
|
|
3448
|
+
*/
|
|
3449
|
+
"currentTime": number;
|
|
3450
|
+
/**
|
|
3451
|
+
* Disabled state
|
|
3452
|
+
* @default false
|
|
3453
|
+
*/
|
|
3454
|
+
"disabled": boolean;
|
|
3455
|
+
/**
|
|
3456
|
+
* Language for labels and aria attributes
|
|
3457
|
+
* @default 'es'
|
|
3458
|
+
*/
|
|
3459
|
+
"locale": VideoLang;
|
|
3460
|
+
/**
|
|
3461
|
+
* Loop playback
|
|
3462
|
+
* @default false
|
|
3463
|
+
*/
|
|
3464
|
+
"loop": boolean;
|
|
3465
|
+
/**
|
|
3466
|
+
* Muted state
|
|
3467
|
+
* @default false
|
|
3468
|
+
*/
|
|
3469
|
+
"muted": boolean;
|
|
3470
|
+
"pause": () => Promise<void>;
|
|
3471
|
+
"play": () => Promise<void>;
|
|
3472
|
+
/**
|
|
3473
|
+
* Playback speed
|
|
3474
|
+
* @default 1
|
|
3475
|
+
*/
|
|
3476
|
+
"playbackRate": number;
|
|
3477
|
+
/**
|
|
3478
|
+
* Available playback speeds (JSON array string)
|
|
3479
|
+
* @default '[0.5, 0.75, 1, 1.25, 1.5, 2]'
|
|
3480
|
+
*/
|
|
3481
|
+
"playbackRates": string;
|
|
3482
|
+
/**
|
|
3483
|
+
* Poster/thumbnail image URL
|
|
3484
|
+
* @default ''
|
|
3485
|
+
*/
|
|
3486
|
+
"poster": string;
|
|
3487
|
+
/**
|
|
3488
|
+
* Preload behavior
|
|
3489
|
+
* @default 'metadata'
|
|
3490
|
+
*/
|
|
3491
|
+
"preload": 'none' | 'metadata' | 'auto';
|
|
3492
|
+
/**
|
|
3493
|
+
* Border radius
|
|
3494
|
+
* @default 'lg'
|
|
3495
|
+
*/
|
|
3496
|
+
"rounded": 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3497
|
+
"seek": (time: number) => Promise<void>;
|
|
3498
|
+
"setVolume": (level: number) => Promise<void>;
|
|
3499
|
+
/**
|
|
3500
|
+
* Show download button
|
|
3501
|
+
* @default false
|
|
3502
|
+
*/
|
|
3503
|
+
"showDownload": boolean;
|
|
3504
|
+
/**
|
|
3505
|
+
* Show fullscreen button
|
|
3506
|
+
* @default true
|
|
3507
|
+
*/
|
|
3508
|
+
"showFullscreen": boolean;
|
|
3509
|
+
/**
|
|
3510
|
+
* Show Picture-in-Picture button
|
|
3511
|
+
* @default false
|
|
3512
|
+
*/
|
|
3513
|
+
"showPip": boolean;
|
|
3514
|
+
/**
|
|
3515
|
+
* Show play/pause button
|
|
3516
|
+
* @default true
|
|
3517
|
+
*/
|
|
3518
|
+
"showPlay": boolean;
|
|
3519
|
+
/**
|
|
3520
|
+
* Show progress/seek bar
|
|
3521
|
+
* @default true
|
|
3522
|
+
*/
|
|
3523
|
+
"showProgress": boolean;
|
|
3524
|
+
/**
|
|
3525
|
+
* Show playback speed selector
|
|
3526
|
+
* @default false
|
|
3527
|
+
*/
|
|
3528
|
+
"showSpeed": boolean;
|
|
3529
|
+
/**
|
|
3530
|
+
* Show time display
|
|
3531
|
+
* @default true
|
|
3532
|
+
*/
|
|
3533
|
+
"showTime": boolean;
|
|
3534
|
+
/**
|
|
3535
|
+
* Show volume controls
|
|
3536
|
+
* @default true
|
|
3537
|
+
*/
|
|
3538
|
+
"showVolume": boolean;
|
|
3539
|
+
/**
|
|
3540
|
+
* Video source URL
|
|
3541
|
+
* @default ''
|
|
3542
|
+
*/
|
|
3543
|
+
"src": string;
|
|
3544
|
+
"toggleFullscreen": () => Promise<void>;
|
|
3545
|
+
"toggleMute": () => Promise<void>;
|
|
3546
|
+
"togglePip": () => Promise<void>;
|
|
3547
|
+
"togglePlay": () => Promise<void>;
|
|
3548
|
+
/**
|
|
3549
|
+
* MIME type hint
|
|
3550
|
+
* @default ''
|
|
3551
|
+
*/
|
|
3552
|
+
"type": string;
|
|
3553
|
+
/**
|
|
3554
|
+
* Initial volume (0-1)
|
|
3555
|
+
* @default 1
|
|
3556
|
+
*/
|
|
3557
|
+
"volume": number;
|
|
3558
|
+
/**
|
|
3559
|
+
* Progress percentage (0-100) that triggers coThresholdReached. 0 = disabled
|
|
3560
|
+
* @default 0
|
|
3561
|
+
*/
|
|
3562
|
+
"watchThreshold": number;
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3005
3565
|
export interface CoAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
3006
3566
|
detail: T;
|
|
3007
3567
|
target: HTMLCoAccordionElement;
|
|
@@ -3014,10 +3574,22 @@ export interface CoAutocompleteCustomEvent<T> extends CustomEvent<T> {
|
|
|
3014
3574
|
detail: T;
|
|
3015
3575
|
target: HTMLCoAutocompleteElement;
|
|
3016
3576
|
}
|
|
3577
|
+
export interface CoAvatarGroupCustomEvent<T> extends CustomEvent<T> {
|
|
3578
|
+
detail: T;
|
|
3579
|
+
target: HTMLCoAvatarGroupElement;
|
|
3580
|
+
}
|
|
3581
|
+
export interface CoBottomSheetCustomEvent<T> extends CustomEvent<T> {
|
|
3582
|
+
detail: T;
|
|
3583
|
+
target: HTMLCoBottomSheetElement;
|
|
3584
|
+
}
|
|
3017
3585
|
export interface CoCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
3018
3586
|
detail: T;
|
|
3019
3587
|
target: HTMLCoCalendarElement;
|
|
3020
3588
|
}
|
|
3589
|
+
export interface CoCalendarMonthCustomEvent<T> extends CustomEvent<T> {
|
|
3590
|
+
detail: T;
|
|
3591
|
+
target: HTMLCoCalendarMonthElement;
|
|
3592
|
+
}
|
|
3021
3593
|
export interface CoCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
3022
3594
|
detail: T;
|
|
3023
3595
|
target: HTMLCoCheckboxElement;
|
|
@@ -3074,6 +3646,10 @@ export interface CoDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
|
3074
3646
|
detail: T;
|
|
3075
3647
|
target: HTMLCoDrawerElement;
|
|
3076
3648
|
}
|
|
3649
|
+
export interface CoEventCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
3650
|
+
detail: T;
|
|
3651
|
+
target: HTMLCoEventCalendarElement;
|
|
3652
|
+
}
|
|
3077
3653
|
export interface CoFabCustomEvent<T> extends CustomEvent<T> {
|
|
3078
3654
|
detail: T;
|
|
3079
3655
|
target: HTMLCoFabElement;
|
|
@@ -3094,6 +3670,10 @@ export interface CoLightboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
3094
3670
|
detail: T;
|
|
3095
3671
|
target: HTMLCoLightboxElement;
|
|
3096
3672
|
}
|
|
3673
|
+
export interface CoListFooterCustomEvent<T> extends CustomEvent<T> {
|
|
3674
|
+
detail: T;
|
|
3675
|
+
target: HTMLCoListFooterElement;
|
|
3676
|
+
}
|
|
3097
3677
|
export interface CoListItemCustomEvent<T> extends CustomEvent<T> {
|
|
3098
3678
|
detail: T;
|
|
3099
3679
|
target: HTMLCoListItemElement;
|
|
@@ -3202,6 +3782,10 @@ export interface CoTransferListCustomEvent<T> extends CustomEvent<T> {
|
|
|
3202
3782
|
detail: T;
|
|
3203
3783
|
target: HTMLCoTransferListElement;
|
|
3204
3784
|
}
|
|
3785
|
+
export interface CoVideoCustomEvent<T> extends CustomEvent<T> {
|
|
3786
|
+
detail: T;
|
|
3787
|
+
target: HTMLCoVideoElement;
|
|
3788
|
+
}
|
|
3205
3789
|
declare global {
|
|
3206
3790
|
interface HTMLCoAccordionElementEventMap {
|
|
3207
3791
|
"coToggle": boolean;
|
|
@@ -3265,12 +3849,57 @@ declare global {
|
|
|
3265
3849
|
prototype: HTMLCoAvatarElement;
|
|
3266
3850
|
new (): HTMLCoAvatarElement;
|
|
3267
3851
|
};
|
|
3852
|
+
interface HTMLCoAvatarGroupElementEventMap {
|
|
3853
|
+
"coClick": void;
|
|
3854
|
+
}
|
|
3855
|
+
interface HTMLCoAvatarGroupElement extends Components.CoAvatarGroup, HTMLStencilElement {
|
|
3856
|
+
addEventListener<K extends keyof HTMLCoAvatarGroupElementEventMap>(type: K, listener: (this: HTMLCoAvatarGroupElement, ev: CoAvatarGroupCustomEvent<HTMLCoAvatarGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3857
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3858
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3859
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3860
|
+
removeEventListener<K extends keyof HTMLCoAvatarGroupElementEventMap>(type: K, listener: (this: HTMLCoAvatarGroupElement, ev: CoAvatarGroupCustomEvent<HTMLCoAvatarGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3861
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3862
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3863
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3864
|
+
}
|
|
3865
|
+
var HTMLCoAvatarGroupElement: {
|
|
3866
|
+
prototype: HTMLCoAvatarGroupElement;
|
|
3867
|
+
new (): HTMLCoAvatarGroupElement;
|
|
3868
|
+
};
|
|
3268
3869
|
interface HTMLCoBadgeElement extends Components.CoBadge, HTMLStencilElement {
|
|
3269
3870
|
}
|
|
3270
3871
|
var HTMLCoBadgeElement: {
|
|
3271
3872
|
prototype: HTMLCoBadgeElement;
|
|
3272
3873
|
new (): HTMLCoBadgeElement;
|
|
3273
3874
|
};
|
|
3875
|
+
interface HTMLCoBottomSheetElementEventMap {
|
|
3876
|
+
"coClose": void;
|
|
3877
|
+
"coOpen": void;
|
|
3878
|
+
"coAfterOpen": void;
|
|
3879
|
+
"coAfterClose": void;
|
|
3880
|
+
}
|
|
3881
|
+
/**
|
|
3882
|
+
* Mobile bottom sheet with native drag physics: the sheet follows the finger
|
|
3883
|
+
* 1:1 downward, a fast flick (or a slow release past ~45% of its height)
|
|
3884
|
+
* dismisses it, upward overdrag rubber-bands, and the backdrop opacity is
|
|
3885
|
+
* coupled to the drag. The body scrolls internally — dragging from the body
|
|
3886
|
+
* only engages when its content is scrolled to the top.
|
|
3887
|
+
* Height fits the content, capped by `maxHeight` (default 85dvh).
|
|
3888
|
+
*/
|
|
3889
|
+
interface HTMLCoBottomSheetElement extends Components.CoBottomSheet, HTMLStencilElement {
|
|
3890
|
+
addEventListener<K extends keyof HTMLCoBottomSheetElementEventMap>(type: K, listener: (this: HTMLCoBottomSheetElement, ev: CoBottomSheetCustomEvent<HTMLCoBottomSheetElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3891
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3892
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3893
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3894
|
+
removeEventListener<K extends keyof HTMLCoBottomSheetElementEventMap>(type: K, listener: (this: HTMLCoBottomSheetElement, ev: CoBottomSheetCustomEvent<HTMLCoBottomSheetElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3895
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3896
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3897
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3898
|
+
}
|
|
3899
|
+
var HTMLCoBottomSheetElement: {
|
|
3900
|
+
prototype: HTMLCoBottomSheetElement;
|
|
3901
|
+
new (): HTMLCoBottomSheetElement;
|
|
3902
|
+
};
|
|
3274
3903
|
interface HTMLCoButtonElement extends Components.CoButton, HTMLStencilElement {
|
|
3275
3904
|
}
|
|
3276
3905
|
var HTMLCoButtonElement: {
|
|
@@ -3310,6 +3939,42 @@ declare global {
|
|
|
3310
3939
|
prototype: HTMLCoCalendarElement;
|
|
3311
3940
|
new (): HTMLCoCalendarElement;
|
|
3312
3941
|
};
|
|
3942
|
+
interface HTMLCoCalendarMonthElementEventMap {
|
|
3943
|
+
"coDaySelect": { date: string };
|
|
3944
|
+
"coEventClick": { id: string };
|
|
3945
|
+
"coEventDrop": {
|
|
3946
|
+
id: string;
|
|
3947
|
+
start: string;
|
|
3948
|
+
end: string;
|
|
3949
|
+
oldStart: string;
|
|
3950
|
+
oldEnd: string;
|
|
3951
|
+
allDay: boolean;
|
|
3952
|
+
};
|
|
3953
|
+
"coMoreClick": { date: string };
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
3957
|
+
* keyboard model from `co-calendar`, then overlays multi-day event bars laid out
|
|
3958
|
+
* by `layoutMonth` from the engine. Presentation + interaction only; the host
|
|
3959
|
+
* (via `co-event-calendar`) owns data and persistence.
|
|
3960
|
+
* Events are CONTROLLED through the `events` prop — drag emits a request, it does
|
|
3961
|
+
* NOT mutate locally; the host re-renders with new data on success or leaves the
|
|
3962
|
+
* old data on failure (that IS the revert).
|
|
3963
|
+
*/
|
|
3964
|
+
interface HTMLCoCalendarMonthElement extends Components.CoCalendarMonth, HTMLStencilElement {
|
|
3965
|
+
addEventListener<K extends keyof HTMLCoCalendarMonthElementEventMap>(type: K, listener: (this: HTMLCoCalendarMonthElement, ev: CoCalendarMonthCustomEvent<HTMLCoCalendarMonthElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3966
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3967
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3968
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3969
|
+
removeEventListener<K extends keyof HTMLCoCalendarMonthElementEventMap>(type: K, listener: (this: HTMLCoCalendarMonthElement, ev: CoCalendarMonthCustomEvent<HTMLCoCalendarMonthElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3970
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3971
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3972
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3973
|
+
}
|
|
3974
|
+
var HTMLCoCalendarMonthElement: {
|
|
3975
|
+
prototype: HTMLCoCalendarMonthElement;
|
|
3976
|
+
new (): HTMLCoCalendarMonthElement;
|
|
3977
|
+
};
|
|
3313
3978
|
interface HTMLCoCardElement extends Components.CoCard, HTMLStencilElement {
|
|
3314
3979
|
}
|
|
3315
3980
|
var HTMLCoCardElement: {
|
|
@@ -3436,6 +4101,12 @@ declare global {
|
|
|
3436
4101
|
interface HTMLCoCommandSearchElementEventMap {
|
|
3437
4102
|
"coSelect": string;
|
|
3438
4103
|
"coClose": void;
|
|
4104
|
+
"coQueryChange": string;
|
|
4105
|
+
"coScopeChange": string;
|
|
4106
|
+
"coBackspaceEmpty": string;
|
|
4107
|
+
"coChipRemove": number;
|
|
4108
|
+
"coTabSelect": string;
|
|
4109
|
+
"coMoreTabs": void;
|
|
3439
4110
|
}
|
|
3440
4111
|
/**
|
|
3441
4112
|
* A command palette / search component (⌘K style).
|
|
@@ -3456,7 +4127,7 @@ declare global {
|
|
|
3456
4127
|
new (): HTMLCoCommandSearchElement;
|
|
3457
4128
|
};
|
|
3458
4129
|
interface HTMLCoDataTableElementEventMap {
|
|
3459
|
-
"coSort": { field: string; order: 'asc' | 'desc' };
|
|
4130
|
+
"coSort": { field: string; order: 'asc' | 'desc' | '' };
|
|
3460
4131
|
"coRowSelect": { key: string; selected: boolean };
|
|
3461
4132
|
"coSelectAll": { selected: boolean };
|
|
3462
4133
|
"coColumnResize": { field: string; width: number };
|
|
@@ -3655,6 +4326,52 @@ declare global {
|
|
|
3655
4326
|
prototype: HTMLCoEmptyStateElement;
|
|
3656
4327
|
new (): HTMLCoEmptyStateElement;
|
|
3657
4328
|
};
|
|
4329
|
+
interface HTMLCoEventCalendarElementEventMap {
|
|
4330
|
+
"coEventClick": { event: NormalizedEvent };
|
|
4331
|
+
"coDateSelect": { start: string; end: string; allDay: boolean };
|
|
4332
|
+
"coEventDrop": {
|
|
4333
|
+
event: NormalizedEvent;
|
|
4334
|
+
start: string;
|
|
4335
|
+
end: string;
|
|
4336
|
+
oldStart: string;
|
|
4337
|
+
oldEnd: string;
|
|
4338
|
+
allDay: boolean;
|
|
4339
|
+
revert: () => void;
|
|
4340
|
+
};
|
|
4341
|
+
"coDatesSet": {
|
|
4342
|
+
view: string;
|
|
4343
|
+
start: string;
|
|
4344
|
+
end: string;
|
|
4345
|
+
activeDate: string;
|
|
4346
|
+
};
|
|
4347
|
+
"coViewChange": { view: string };
|
|
4348
|
+
"coMoreClick": { date: string; events: NormalizedEvent[] };
|
|
4349
|
+
}
|
|
4350
|
+
/**
|
|
4351
|
+
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
4352
|
+
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
4353
|
+
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
4354
|
+
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
4355
|
+
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
4356
|
+
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
4357
|
+
* revert.
|
|
4358
|
+
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
4359
|
+
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
4360
|
+
*/
|
|
4361
|
+
interface HTMLCoEventCalendarElement extends Components.CoEventCalendar, HTMLStencilElement {
|
|
4362
|
+
addEventListener<K extends keyof HTMLCoEventCalendarElementEventMap>(type: K, listener: (this: HTMLCoEventCalendarElement, ev: CoEventCalendarCustomEvent<HTMLCoEventCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4363
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4364
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4365
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4366
|
+
removeEventListener<K extends keyof HTMLCoEventCalendarElementEventMap>(type: K, listener: (this: HTMLCoEventCalendarElement, ev: CoEventCalendarCustomEvent<HTMLCoEventCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4367
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4368
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4369
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4370
|
+
}
|
|
4371
|
+
var HTMLCoEventCalendarElement: {
|
|
4372
|
+
prototype: HTMLCoEventCalendarElement;
|
|
4373
|
+
new (): HTMLCoEventCalendarElement;
|
|
4374
|
+
};
|
|
3658
4375
|
interface HTMLCoFabElementEventMap {
|
|
3659
4376
|
"coClick": void;
|
|
3660
4377
|
}
|
|
@@ -3817,6 +4534,30 @@ declare global {
|
|
|
3817
4534
|
prototype: HTMLCoLightboxElement;
|
|
3818
4535
|
new (): HTMLCoLightboxElement;
|
|
3819
4536
|
};
|
|
4537
|
+
interface HTMLCoListFooterElementEventMap {
|
|
4538
|
+
"coPrimary": void;
|
|
4539
|
+
"coSecondary": void;
|
|
4540
|
+
}
|
|
4541
|
+
/**
|
|
4542
|
+
* Action footer for dropdown / list panels (co-popover, co-combobox, …).
|
|
4543
|
+
* Renders one or two full-width action buttons in the standard footer design,
|
|
4544
|
+
* separated from the content above by top padding. Use the props for the common
|
|
4545
|
+
* primary/secondary actions, or the default slot for fully custom content.
|
|
4546
|
+
*/
|
|
4547
|
+
interface HTMLCoListFooterElement extends Components.CoListFooter, HTMLStencilElement {
|
|
4548
|
+
addEventListener<K extends keyof HTMLCoListFooterElementEventMap>(type: K, listener: (this: HTMLCoListFooterElement, ev: CoListFooterCustomEvent<HTMLCoListFooterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4549
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4550
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4551
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4552
|
+
removeEventListener<K extends keyof HTMLCoListFooterElementEventMap>(type: K, listener: (this: HTMLCoListFooterElement, ev: CoListFooterCustomEvent<HTMLCoListFooterElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4553
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4554
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4555
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4556
|
+
}
|
|
4557
|
+
var HTMLCoListFooterElement: {
|
|
4558
|
+
prototype: HTMLCoListFooterElement;
|
|
4559
|
+
new (): HTMLCoListFooterElement;
|
|
4560
|
+
};
|
|
3820
4561
|
interface HTMLCoListItemElementEventMap {
|
|
3821
4562
|
"coSelect": void;
|
|
3822
4563
|
}
|
|
@@ -3929,6 +4670,8 @@ declare global {
|
|
|
3929
4670
|
};
|
|
3930
4671
|
interface HTMLCoModalElementEventMap {
|
|
3931
4672
|
"coClose": void;
|
|
4673
|
+
"coAfterClose": void;
|
|
4674
|
+
"coAfterOpen": void;
|
|
3932
4675
|
}
|
|
3933
4676
|
interface HTMLCoModalElement extends Components.CoModal, HTMLStencilElement {
|
|
3934
4677
|
addEventListener<K extends keyof HTMLCoModalElementEventMap>(type: K, listener: (this: HTMLCoModalElement, ev: CoModalCustomEvent<HTMLCoModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3974,6 +4717,8 @@ declare global {
|
|
|
3974
4717
|
};
|
|
3975
4718
|
interface HTMLCoOverlayElementEventMap {
|
|
3976
4719
|
"coClose": void;
|
|
4720
|
+
"coAfterClose": void;
|
|
4721
|
+
"coAfterOpen": void;
|
|
3977
4722
|
}
|
|
3978
4723
|
interface HTMLCoOverlayElement extends Components.CoOverlay, HTMLStencilElement {
|
|
3979
4724
|
addEventListener<K extends keyof HTMLCoOverlayElementEventMap>(type: K, listener: (this: HTMLCoOverlayElement, ev: CoOverlayCustomEvent<HTMLCoOverlayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4142,6 +4887,8 @@ declare global {
|
|
|
4142
4887
|
"coBlur": void;
|
|
4143
4888
|
"coClear": void;
|
|
4144
4889
|
"coReady": void;
|
|
4890
|
+
"coFontPopupShow": void;
|
|
4891
|
+
"coFontPopupHide": void;
|
|
4145
4892
|
}
|
|
4146
4893
|
/**
|
|
4147
4894
|
* Rich text editor backed by Tiptap v3.
|
|
@@ -4165,11 +4912,13 @@ declare global {
|
|
|
4165
4912
|
};
|
|
4166
4913
|
interface HTMLCoRichTextToolbarElementEventMap {
|
|
4167
4914
|
"coAction": { action: string; payload?: unknown };
|
|
4915
|
+
"coPopoverChange": { open: boolean };
|
|
4168
4916
|
}
|
|
4169
4917
|
/**
|
|
4170
4918
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
4171
4919
|
* instance via the `editor` JS property, runs commands, and reflects active
|
|
4172
|
-
* state.
|
|
4920
|
+
* state. Supports separators, dropdown menus, inline popover inputs, and
|
|
4921
|
+
* color palette pickers.
|
|
4173
4922
|
*/
|
|
4174
4923
|
interface HTMLCoRichTextToolbarElement extends Components.CoRichTextToolbar, HTMLStencilElement {
|
|
4175
4924
|
addEventListener<K extends keyof HTMLCoRichTextToolbarElementEventMap>(type: K, listener: (this: HTMLCoRichTextToolbarElement, ev: CoRichTextToolbarCustomEvent<HTMLCoRichTextToolbarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4185,12 +4934,6 @@ declare global {
|
|
|
4185
4934
|
prototype: HTMLCoRichTextToolbarElement;
|
|
4186
4935
|
new (): HTMLCoRichTextToolbarElement;
|
|
4187
4936
|
};
|
|
4188
|
-
/**
|
|
4189
|
-
* Read-only renderer for rich-text content. For `format="html"` it only runs
|
|
4190
|
-
* the package's canonical sanitizer (the `/sanitizer` subpath has no Tiptap
|
|
4191
|
-
* import → tiny). `format="json"` lazily pulls the serializer to turn a
|
|
4192
|
-
* ProseMirror document into sanitized HTML.
|
|
4193
|
-
*/
|
|
4194
4937
|
interface HTMLCoRichTextViewerElement extends Components.CoRichTextViewer, HTMLStencilElement {
|
|
4195
4938
|
}
|
|
4196
4939
|
var HTMLCoRichTextViewerElement: {
|
|
@@ -4277,6 +5020,16 @@ declare global {
|
|
|
4277
5020
|
prototype: HTMLCoSidebarNavElement;
|
|
4278
5021
|
new (): HTMLCoSidebarNavElement;
|
|
4279
5022
|
};
|
|
5023
|
+
/**
|
|
5024
|
+
* Placeholder de carga con shimmer (sweep). Componer apilando varios.
|
|
5025
|
+
* Respeta prefers-reduced-motion (sin animación).
|
|
5026
|
+
*/
|
|
5027
|
+
interface HTMLCoSkeletonElement extends Components.CoSkeleton, HTMLStencilElement {
|
|
5028
|
+
}
|
|
5029
|
+
var HTMLCoSkeletonElement: {
|
|
5030
|
+
prototype: HTMLCoSkeletonElement;
|
|
5031
|
+
new (): HTMLCoSkeletonElement;
|
|
5032
|
+
};
|
|
4280
5033
|
interface HTMLCoSliderElementEventMap {
|
|
4281
5034
|
"coChange": number;
|
|
4282
5035
|
"coInput": number;
|
|
@@ -4479,15 +5232,50 @@ declare global {
|
|
|
4479
5232
|
prototype: HTMLCoTransferListElement;
|
|
4480
5233
|
new (): HTMLCoTransferListElement;
|
|
4481
5234
|
};
|
|
5235
|
+
interface HTMLCoVideoElementEventMap {
|
|
5236
|
+
"coPlay": void;
|
|
5237
|
+
"coPause": void;
|
|
5238
|
+
"coEnded": void;
|
|
5239
|
+
"coReady": { duration: number };
|
|
5240
|
+
"coError": { code: number; message: string };
|
|
5241
|
+
"coTimeUpdate": { currentTime: number; duration: number; progressPercent: number };
|
|
5242
|
+
"coSeeked": { from: number; to: number };
|
|
5243
|
+
"coVolumeChange": { volume: number; muted: boolean };
|
|
5244
|
+
"coFullscreenChange": { fullscreen: boolean };
|
|
5245
|
+
"coPlaybackRateChange": { rate: number };
|
|
5246
|
+
"coPipChange": { pip: boolean };
|
|
5247
|
+
"coDownload": { src: string };
|
|
5248
|
+
"coThresholdReached": { threshold: number; currentTime: number; duration: number };
|
|
5249
|
+
}
|
|
5250
|
+
/**
|
|
5251
|
+
* A fully configurable video player component with custom controls.
|
|
5252
|
+
*/
|
|
5253
|
+
interface HTMLCoVideoElement extends Components.CoVideo, HTMLStencilElement {
|
|
5254
|
+
addEventListener<K extends keyof HTMLCoVideoElementEventMap>(type: K, listener: (this: HTMLCoVideoElement, ev: CoVideoCustomEvent<HTMLCoVideoElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5255
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5256
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5257
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5258
|
+
removeEventListener<K extends keyof HTMLCoVideoElementEventMap>(type: K, listener: (this: HTMLCoVideoElement, ev: CoVideoCustomEvent<HTMLCoVideoElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
5259
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5260
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5261
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
5262
|
+
}
|
|
5263
|
+
var HTMLCoVideoElement: {
|
|
5264
|
+
prototype: HTMLCoVideoElement;
|
|
5265
|
+
new (): HTMLCoVideoElement;
|
|
5266
|
+
};
|
|
4482
5267
|
interface HTMLElementTagNameMap {
|
|
4483
5268
|
"co-accordion": HTMLCoAccordionElement;
|
|
4484
5269
|
"co-app-shell": HTMLCoAppShellElement;
|
|
4485
5270
|
"co-autocomplete": HTMLCoAutocompleteElement;
|
|
4486
5271
|
"co-avatar": HTMLCoAvatarElement;
|
|
5272
|
+
"co-avatar-group": HTMLCoAvatarGroupElement;
|
|
4487
5273
|
"co-badge": HTMLCoBadgeElement;
|
|
5274
|
+
"co-bottom-sheet": HTMLCoBottomSheetElement;
|
|
4488
5275
|
"co-button": HTMLCoButtonElement;
|
|
4489
5276
|
"co-button-group": HTMLCoButtonGroupElement;
|
|
4490
5277
|
"co-calendar": HTMLCoCalendarElement;
|
|
5278
|
+
"co-calendar-month": HTMLCoCalendarMonthElement;
|
|
4491
5279
|
"co-card": HTMLCoCardElement;
|
|
4492
5280
|
"co-checkbox": HTMLCoCheckboxElement;
|
|
4493
5281
|
"co-checkbox-group": HTMLCoCheckboxGroupElement;
|
|
@@ -4504,6 +5292,7 @@ declare global {
|
|
|
4504
5292
|
"co-date-range-picker": HTMLCoDateRangePickerElement;
|
|
4505
5293
|
"co-drawer": HTMLCoDrawerElement;
|
|
4506
5294
|
"co-empty-state": HTMLCoEmptyStateElement;
|
|
5295
|
+
"co-event-calendar": HTMLCoEventCalendarElement;
|
|
4507
5296
|
"co-fab": HTMLCoFabElement;
|
|
4508
5297
|
"co-file-field": HTMLCoFileFieldElement;
|
|
4509
5298
|
"co-helper-text": HTMLCoHelperTextElement;
|
|
@@ -4512,6 +5301,7 @@ declare global {
|
|
|
4512
5301
|
"co-input": HTMLCoInputElement;
|
|
4513
5302
|
"co-json-field": HTMLCoJsonFieldElement;
|
|
4514
5303
|
"co-lightbox": HTMLCoLightboxElement;
|
|
5304
|
+
"co-list-footer": HTMLCoListFooterElement;
|
|
4515
5305
|
"co-list-item": HTMLCoListItemElement;
|
|
4516
5306
|
"co-loader": HTMLCoLoaderElement;
|
|
4517
5307
|
"co-menu": HTMLCoMenuElement;
|
|
@@ -4538,6 +5328,7 @@ declare global {
|
|
|
4538
5328
|
"co-separator": HTMLCoSeparatorElement;
|
|
4539
5329
|
"co-sidebar": HTMLCoSidebarElement;
|
|
4540
5330
|
"co-sidebar-nav": HTMLCoSidebarNavElement;
|
|
5331
|
+
"co-skeleton": HTMLCoSkeletonElement;
|
|
4541
5332
|
"co-slider": HTMLCoSliderElement;
|
|
4542
5333
|
"co-switch": HTMLCoSwitchElement;
|
|
4543
5334
|
"co-tab": HTMLCoTabElement;
|
|
@@ -4549,9 +5340,12 @@ declare global {
|
|
|
4549
5340
|
"co-toggle-button-group": HTMLCoToggleButtonGroupElement;
|
|
4550
5341
|
"co-tooltip": HTMLCoTooltipElement;
|
|
4551
5342
|
"co-transfer-list": HTMLCoTransferListElement;
|
|
5343
|
+
"co-video": HTMLCoVideoElement;
|
|
4552
5344
|
}
|
|
4553
5345
|
}
|
|
4554
5346
|
declare namespace LocalJSX {
|
|
5347
|
+
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
|
+
|
|
4555
5349
|
interface CoAccordion {
|
|
4556
5350
|
/**
|
|
4557
5351
|
* Hide the chevron / disable the toggle interaction.
|
|
@@ -4658,6 +5452,11 @@ declare namespace LocalJSX {
|
|
|
4658
5452
|
*/
|
|
4659
5453
|
"required"?: boolean;
|
|
4660
5454
|
"secondaryLabel"?: string;
|
|
5455
|
+
/**
|
|
5456
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
5457
|
+
* @default 'md'
|
|
5458
|
+
*/
|
|
5459
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
4661
5460
|
/**
|
|
4662
5461
|
* @default 'default'
|
|
4663
5462
|
*/
|
|
@@ -4682,6 +5481,10 @@ declare namespace LocalJSX {
|
|
|
4682
5481
|
* @default 'regular'
|
|
4683
5482
|
*/
|
|
4684
5483
|
"iconWeight"?: 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
5484
|
+
/**
|
|
5485
|
+
* Optional 2px ring color (hex/CSS). Drives the inset ::after ring.
|
|
5486
|
+
*/
|
|
5487
|
+
"ringColor"?: string;
|
|
4685
5488
|
/**
|
|
4686
5489
|
* Shape of the avatar
|
|
4687
5490
|
* @default 'circle'
|
|
@@ -4706,6 +5509,41 @@ declare namespace LocalJSX {
|
|
|
4706
5509
|
*/
|
|
4707
5510
|
"type"?: 'text' | 'icon' | 'image';
|
|
4708
5511
|
}
|
|
5512
|
+
interface CoAvatarGroup {
|
|
5513
|
+
/**
|
|
5514
|
+
* Make the whole group a focusable button (role=button, keyboard, coClick).
|
|
5515
|
+
* @default false
|
|
5516
|
+
*/
|
|
5517
|
+
"interactive"?: boolean;
|
|
5518
|
+
/**
|
|
5519
|
+
* Avatar descriptors rendered as an overlapping stack.
|
|
5520
|
+
* @default []
|
|
5521
|
+
*/
|
|
5522
|
+
"items"?: CoAvatarGroupItem[];
|
|
5523
|
+
/**
|
|
5524
|
+
* Accessible label override; when absent it's composed from the items' names.
|
|
5525
|
+
*/
|
|
5526
|
+
"label"?: string;
|
|
5527
|
+
/**
|
|
5528
|
+
* Max avatars shown before the remainder collapses into a "+N" badge. `0` = show all.
|
|
5529
|
+
* @default 4
|
|
5530
|
+
*/
|
|
5531
|
+
"max"?: number;
|
|
5532
|
+
/**
|
|
5533
|
+
* Emitted on click / Enter / Space when `interactive`. Does NOT bubble.
|
|
5534
|
+
*/
|
|
5535
|
+
"onCoClick"?: (event: CoAvatarGroupCustomEvent<void>) => void;
|
|
5536
|
+
/**
|
|
5537
|
+
* Shape forwarded to every avatar that doesn't set its own.
|
|
5538
|
+
* @default 'circle'
|
|
5539
|
+
*/
|
|
5540
|
+
"shape"?: 'circle' | 'square';
|
|
5541
|
+
/**
|
|
5542
|
+
* Size forwarded to every avatar (and the overflow badge).
|
|
5543
|
+
* @default 'xs'
|
|
5544
|
+
*/
|
|
5545
|
+
"size"?: 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
5546
|
+
}
|
|
4709
5547
|
interface CoBadge {
|
|
4710
5548
|
/**
|
|
4711
5549
|
* Color — maps to semantic status tokens
|
|
@@ -4718,6 +5556,67 @@ declare namespace LocalJSX {
|
|
|
4718
5556
|
*/
|
|
4719
5557
|
"size"?: 'large' | 'small';
|
|
4720
5558
|
}
|
|
5559
|
+
/**
|
|
5560
|
+
* Mobile bottom sheet with native drag physics: the sheet follows the finger
|
|
5561
|
+
* 1:1 downward, a fast flick (or a slow release past ~45% of its height)
|
|
5562
|
+
* dismisses it, upward overdrag rubber-bands, and the backdrop opacity is
|
|
5563
|
+
* coupled to the drag. The body scrolls internally — dragging from the body
|
|
5564
|
+
* only engages when its content is scrolled to the top.
|
|
5565
|
+
* Height fits the content, capped by `maxHeight` (default 85dvh).
|
|
5566
|
+
*/
|
|
5567
|
+
interface CoBottomSheet {
|
|
5568
|
+
/**
|
|
5569
|
+
* Close when pressing Escape
|
|
5570
|
+
* @default true
|
|
5571
|
+
*/
|
|
5572
|
+
"closeOnEscape"?: boolean;
|
|
5573
|
+
/**
|
|
5574
|
+
* Close when tapping the backdrop
|
|
5575
|
+
* @default true
|
|
5576
|
+
*/
|
|
5577
|
+
"closeOnOverlay"?: boolean;
|
|
5578
|
+
/**
|
|
5579
|
+
* Allow closing with the drag gesture. When false, drags rubber-band back.
|
|
5580
|
+
* @default true
|
|
5581
|
+
*/
|
|
5582
|
+
"dismissible"?: boolean;
|
|
5583
|
+
/**
|
|
5584
|
+
* Sheet title (used when the `header` slot is empty)
|
|
5585
|
+
* @default ''
|
|
5586
|
+
*/
|
|
5587
|
+
"heading"?: string;
|
|
5588
|
+
/**
|
|
5589
|
+
* Maximum sheet height (any CSS length; content shorter than this hugs)
|
|
5590
|
+
* @default '85dvh'
|
|
5591
|
+
*/
|
|
5592
|
+
"maxHeight"?: string;
|
|
5593
|
+
/**
|
|
5594
|
+
* Slide-out animation finished.
|
|
5595
|
+
*/
|
|
5596
|
+
"onCoAfterClose"?: (event: CoBottomSheetCustomEvent<void>) => void;
|
|
5597
|
+
/**
|
|
5598
|
+
* Slide-in animation finished.
|
|
5599
|
+
*/
|
|
5600
|
+
"onCoAfterOpen"?: (event: CoBottomSheetCustomEvent<void>) => void;
|
|
5601
|
+
/**
|
|
5602
|
+
* Requested to close (gesture, backdrop, Esc). Consumer should set `open=false`.
|
|
5603
|
+
*/
|
|
5604
|
+
"onCoClose"?: (event: CoBottomSheetCustomEvent<void>) => void;
|
|
5605
|
+
/**
|
|
5606
|
+
* Transitioned to open=true.
|
|
5607
|
+
*/
|
|
5608
|
+
"onCoOpen"?: (event: CoBottomSheetCustomEvent<void>) => void;
|
|
5609
|
+
/**
|
|
5610
|
+
* Whether the sheet is visible
|
|
5611
|
+
* @default false
|
|
5612
|
+
*/
|
|
5613
|
+
"open"?: boolean;
|
|
5614
|
+
/**
|
|
5615
|
+
* Show the grab handle
|
|
5616
|
+
* @default true
|
|
5617
|
+
*/
|
|
5618
|
+
"showHandle"?: boolean;
|
|
5619
|
+
}
|
|
4721
5620
|
interface CoButton {
|
|
4722
5621
|
/**
|
|
4723
5622
|
* Custom background color (CSS value or token, e.g. "var(--co-color-secondary-rojo-100)")
|
|
@@ -4736,6 +5635,10 @@ declare namespace LocalJSX {
|
|
|
4736
5635
|
* Phosphor icon name for the right position (e.g. "arrow-right", "download")
|
|
4737
5636
|
*/
|
|
4738
5637
|
"iconRight"?: string;
|
|
5638
|
+
/**
|
|
5639
|
+
* Override the size-derived glyph px (e.g. 24). Falls back to the size default.
|
|
5640
|
+
*/
|
|
5641
|
+
"iconSize"?: number;
|
|
4739
5642
|
/**
|
|
4740
5643
|
* Icon weight applied to both iconLeft and iconRight
|
|
4741
5644
|
* @default 'regular'
|
|
@@ -4768,7 +5671,7 @@ declare namespace LocalJSX {
|
|
|
4768
5671
|
* Visual style
|
|
4769
5672
|
* @default 'primary'
|
|
4770
5673
|
*/
|
|
4771
|
-
"variant"?: 'primary' | 'secondary' | 'stroke' | 'ghost';
|
|
5674
|
+
"variant"?: 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
4772
5675
|
}
|
|
4773
5676
|
interface CoButtonGroup {
|
|
4774
5677
|
/**
|
|
@@ -4861,6 +5764,90 @@ declare namespace LocalJSX {
|
|
|
4861
5764
|
*/
|
|
4862
5765
|
"value"?: string | null;
|
|
4863
5766
|
}
|
|
5767
|
+
/**
|
|
5768
|
+
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
5769
|
+
* keyboard model from `co-calendar`, then overlays multi-day event bars laid out
|
|
5770
|
+
* by `layoutMonth` from the engine. Presentation + interaction only; the host
|
|
5771
|
+
* (via `co-event-calendar`) owns data and persistence.
|
|
5772
|
+
* Events are CONTROLLED through the `events` prop — drag emits a request, it does
|
|
5773
|
+
* NOT mutate locally; the host re-renders with new data on success or leaves the
|
|
5774
|
+
* old data on failure (that IS the revert).
|
|
5775
|
+
*/
|
|
5776
|
+
interface CoCalendarMonth {
|
|
5777
|
+
/**
|
|
5778
|
+
* Master interaction gate.
|
|
5779
|
+
* @default true
|
|
5780
|
+
*/
|
|
5781
|
+
"editable"?: boolean;
|
|
5782
|
+
/**
|
|
5783
|
+
* Normalized events to render (from the engine's `normalizeEvents`).
|
|
5784
|
+
* @default []
|
|
5785
|
+
*/
|
|
5786
|
+
"events"?: NormalizedEvent[];
|
|
5787
|
+
/**
|
|
5788
|
+
* First day of week, 0=Sun..6=Sat.
|
|
5789
|
+
* @default 1
|
|
5790
|
+
*/
|
|
5791
|
+
"firstDayOfWeek"?: number;
|
|
5792
|
+
/**
|
|
5793
|
+
* BCP-47 locale for weekday labels.
|
|
5794
|
+
* @default 'es-CO'
|
|
5795
|
+
*/
|
|
5796
|
+
"locale"?: string;
|
|
5797
|
+
/**
|
|
5798
|
+
* Latest interactable day "YYYY-MM-DD".
|
|
5799
|
+
*/
|
|
5800
|
+
"maxDate"?: string;
|
|
5801
|
+
/**
|
|
5802
|
+
* Max event lanes per day before "+N more".
|
|
5803
|
+
* @default 3
|
|
5804
|
+
*/
|
|
5805
|
+
"maxLanes"?: number;
|
|
5806
|
+
/**
|
|
5807
|
+
* Earliest interactable day "YYYY-MM-DD" (gates select/drag — past-block).
|
|
5808
|
+
*/
|
|
5809
|
+
"minDate"?: string;
|
|
5810
|
+
/**
|
|
5811
|
+
* Month shown (1-12).
|
|
5812
|
+
*/
|
|
5813
|
+
"month": number;
|
|
5814
|
+
/**
|
|
5815
|
+
* Emitted when an empty day is selected (create request). Detail = "YYYY-MM-DD".
|
|
5816
|
+
*/
|
|
5817
|
+
"onCoDaySelect"?: (event: CoCalendarMonthCustomEvent<{ date: string }>) => void;
|
|
5818
|
+
/**
|
|
5819
|
+
* Emitted when an event chip is activated.
|
|
5820
|
+
*/
|
|
5821
|
+
"onCoEventClick"?: (event: CoCalendarMonthCustomEvent<{ id: string }>) => void;
|
|
5822
|
+
/**
|
|
5823
|
+
* Emitted on a completed drag-move (day granularity).
|
|
5824
|
+
*/
|
|
5825
|
+
"onCoEventDrop"?: (event: CoCalendarMonthCustomEvent<{
|
|
5826
|
+
id: string;
|
|
5827
|
+
start: string;
|
|
5828
|
+
end: string;
|
|
5829
|
+
oldStart: string;
|
|
5830
|
+
oldEnd: string;
|
|
5831
|
+
allDay: boolean;
|
|
5832
|
+
}>) => void;
|
|
5833
|
+
/**
|
|
5834
|
+
* Emitted when the "+N more" affordance is activated.
|
|
5835
|
+
*/
|
|
5836
|
+
"onCoMoreClick"?: (event: CoCalendarMonthCustomEvent<{ date: string }>) => void;
|
|
5837
|
+
/**
|
|
5838
|
+
* Allow empty-day click to request a create.
|
|
5839
|
+
* @default true
|
|
5840
|
+
*/
|
|
5841
|
+
"selectable"?: boolean;
|
|
5842
|
+
/**
|
|
5843
|
+
* IANA timezone used to place timed events on their wall-clock day.
|
|
5844
|
+
*/
|
|
5845
|
+
"timeZone": string;
|
|
5846
|
+
/**
|
|
5847
|
+
* Year shown.
|
|
5848
|
+
*/
|
|
5849
|
+
"year": number;
|
|
5850
|
+
}
|
|
4864
5851
|
interface CoCard {
|
|
4865
5852
|
/**
|
|
4866
5853
|
* Make the card fully clickable
|
|
@@ -4981,12 +5968,22 @@ declare namespace LocalJSX {
|
|
|
4981
5968
|
* Semantic color
|
|
4982
5969
|
* @default 'default'
|
|
4983
5970
|
*/
|
|
4984
|
-
"color"?: 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
5971
|
+
"color"?: | 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
5972
|
+
| 'pending' | 'progress' | 'review' | 'submitted';
|
|
4985
5973
|
/**
|
|
4986
5974
|
* Disabled state
|
|
4987
5975
|
* @default false
|
|
4988
5976
|
*/
|
|
4989
5977
|
"disabled"?: boolean;
|
|
5978
|
+
/**
|
|
5979
|
+
* Show a leading colour dot (status/value colour). Reflected for hydration.
|
|
5980
|
+
* @default false
|
|
5981
|
+
*/
|
|
5982
|
+
"dot"?: boolean;
|
|
5983
|
+
/**
|
|
5984
|
+
* Colour of the leading dot (hex or any CSS colour). Reflected for hydration.
|
|
5985
|
+
*/
|
|
5986
|
+
"dotColor"?: string;
|
|
4990
5987
|
/**
|
|
4991
5988
|
* Icon name for the left icon (prop-based, uses co-icon — any Phosphor icon name)
|
|
4992
5989
|
*/
|
|
@@ -5018,7 +6015,7 @@ declare namespace LocalJSX {
|
|
|
5018
6015
|
*/
|
|
5019
6016
|
"onCoRemove"?: (event: CoChipCustomEvent<void>) => void;
|
|
5020
6017
|
/**
|
|
5021
|
-
* Show dismiss/remove button and emit coRemove on click
|
|
6018
|
+
* Show dismiss/remove button and emit coRemove on click. Reflected so it survives lazy hydration when set via a framework wrapper.
|
|
5022
6019
|
* @default false
|
|
5023
6020
|
*/
|
|
5024
6021
|
"removable"?: boolean;
|
|
@@ -5092,6 +6089,11 @@ declare namespace LocalJSX {
|
|
|
5092
6089
|
* @default false
|
|
5093
6090
|
*/
|
|
5094
6091
|
"required"?: boolean;
|
|
6092
|
+
/**
|
|
6093
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
6094
|
+
* @default 'md'
|
|
6095
|
+
*/
|
|
6096
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
5095
6097
|
/**
|
|
5096
6098
|
* Validation status.
|
|
5097
6099
|
* @default 'default'
|
|
@@ -5301,18 +6303,74 @@ declare namespace LocalJSX {
|
|
|
5301
6303
|
* Opens as an overlay with a search input and filterable list of items.
|
|
5302
6304
|
*/
|
|
5303
6305
|
interface CoCommandSearch {
|
|
6306
|
+
/**
|
|
6307
|
+
* The active tab's value (the scope model key), or '' = no active tab.
|
|
6308
|
+
* @default ''
|
|
6309
|
+
*/
|
|
6310
|
+
"activeTab"?: string;
|
|
6311
|
+
/**
|
|
6312
|
+
* When true, the host supplies already-filtered, ordered items: disable internal client filtering so fetch-as-you-type results pass through.
|
|
6313
|
+
* @default false
|
|
6314
|
+
*/
|
|
6315
|
+
"async"?: boolean;
|
|
6316
|
+
/**
|
|
6317
|
+
* Facet chips as JSON string: [{label:string, icon?:string}[]]
|
|
6318
|
+
* @default '[]'
|
|
6319
|
+
*/
|
|
6320
|
+
"chips"?: string;
|
|
5304
6321
|
/**
|
|
5305
6322
|
* Empty state message when no results match
|
|
5306
6323
|
* @default 'No results found'
|
|
5307
6324
|
*/
|
|
5308
6325
|
"emptyMessage"?: string;
|
|
6326
|
+
/**
|
|
6327
|
+
* Favorites / shortcuts grid (mac-Spotlight app grid) as JSON: [{value,label,icon,color}]. Shown as a grid at the top of the results, only while the query is empty.
|
|
6328
|
+
* @default '[]'
|
|
6329
|
+
*/
|
|
6330
|
+
"favorites"?: string;
|
|
6331
|
+
/**
|
|
6332
|
+
* Show the "Más ▾" overflow tab.
|
|
6333
|
+
* @default false
|
|
6334
|
+
*/
|
|
6335
|
+
"hasMore"?: boolean;
|
|
5309
6336
|
/**
|
|
5310
6337
|
* Items to display (JSON string or set via JS property)
|
|
5311
6338
|
* @default []
|
|
5312
6339
|
*/
|
|
5313
6340
|
"items"?: string | CommandItem[];
|
|
6341
|
+
/**
|
|
6342
|
+
* Show a loading indicator in the results area (async fetch in flight).
|
|
6343
|
+
* @default false
|
|
6344
|
+
*/
|
|
6345
|
+
"loading"?: boolean;
|
|
6346
|
+
/**
|
|
6347
|
+
* Label for the overflow tab.
|
|
6348
|
+
* @default 'More'
|
|
6349
|
+
*/
|
|
6350
|
+
"moreLabel"?: string;
|
|
6351
|
+
/**
|
|
6352
|
+
* Emitted when Backspace is pressed with an empty query, or when the scope chip ✕ is clicked. Detail = current query string (always '' at emit time). Host decides: pop scope or remove last facet.
|
|
6353
|
+
*/
|
|
6354
|
+
"onCoBackspaceEmpty"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6355
|
+
/**
|
|
6356
|
+
* Emitted when the user clicks ✕ on a facet chip. detail = chip index (number).
|
|
6357
|
+
*/
|
|
6358
|
+
"onCoChipRemove"?: (event: CoCommandSearchCustomEvent<number>) => void;
|
|
5314
6359
|
"onCoClose"?: (event: CoCommandSearchCustomEvent<void>) => void;
|
|
6360
|
+
/**
|
|
6361
|
+
* Emitted when the "Más ▾" overflow tab is clicked.
|
|
6362
|
+
*/
|
|
6363
|
+
"onCoMoreTabs"?: (event: CoCommandSearchCustomEvent<void>) => void;
|
|
6364
|
+
"onCoQueryChange"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6365
|
+
/**
|
|
6366
|
+
* Emitted when an item with keepOpen=true is selected. Detail = item.value (scope model key).
|
|
6367
|
+
*/
|
|
6368
|
+
"onCoScopeChange"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
5315
6369
|
"onCoSelect"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
6370
|
+
/**
|
|
6371
|
+
* Emitted when a module tab is clicked. detail = tab value; '' when the active tab is re-clicked (deselect).
|
|
6372
|
+
*/
|
|
6373
|
+
"onCoTabSelect"?: (event: CoCommandSearchCustomEvent<string>) => void;
|
|
5316
6374
|
/**
|
|
5317
6375
|
* Whether the command palette is open
|
|
5318
6376
|
* @default false
|
|
@@ -5323,6 +6381,11 @@ declare namespace LocalJSX {
|
|
|
5323
6381
|
* @default 'Search...'
|
|
5324
6382
|
*/
|
|
5325
6383
|
"placeholder"?: string;
|
|
6384
|
+
/**
|
|
6385
|
+
* Module tabs (mac-Spotlight style) as JSON: [{value,label,icon}]. Empty = no tabs row.
|
|
6386
|
+
* @default '[]'
|
|
6387
|
+
*/
|
|
6388
|
+
"tabs"?: string;
|
|
5326
6389
|
}
|
|
5327
6390
|
interface CoDataTable {
|
|
5328
6391
|
/**
|
|
@@ -5377,7 +6440,7 @@ declare namespace LocalJSX {
|
|
|
5377
6440
|
/**
|
|
5378
6441
|
* Emitted when a column sort is requested
|
|
5379
6442
|
*/
|
|
5380
|
-
"onCoSort"?: (event: CoDataTableCustomEvent<{ field: string; order: 'asc' | 'desc' }>) => void;
|
|
6443
|
+
"onCoSort"?: (event: CoDataTableCustomEvent<{ field: string; order: 'asc' | 'desc' | '' }>) => void;
|
|
5381
6444
|
/**
|
|
5382
6445
|
* Enable column resizing
|
|
5383
6446
|
* @default true
|
|
@@ -5921,17 +6984,132 @@ declare namespace LocalJSX {
|
|
|
5921
6984
|
*/
|
|
5922
6985
|
interface CoEmptyState {
|
|
5923
6986
|
/**
|
|
5924
|
-
* Descriptive text
|
|
6987
|
+
* Descriptive text
|
|
6988
|
+
*/
|
|
6989
|
+
"description"?: string;
|
|
6990
|
+
/**
|
|
6991
|
+
* Main title
|
|
6992
|
+
*/
|
|
6993
|
+
"heading"?: string;
|
|
6994
|
+
/**
|
|
6995
|
+
* Phosphor icon name
|
|
6996
|
+
*/
|
|
6997
|
+
"icon"?: string;
|
|
6998
|
+
}
|
|
6999
|
+
/**
|
|
7000
|
+
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
7001
|
+
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
7002
|
+
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
7003
|
+
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
7004
|
+
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
7005
|
+
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
7006
|
+
* revert.
|
|
7007
|
+
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
7008
|
+
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
7009
|
+
*/
|
|
7010
|
+
interface CoEventCalendar {
|
|
7011
|
+
/**
|
|
7012
|
+
* Views offered in the switcher. Defaults to the implemented set.
|
|
7013
|
+
* @default ['month']
|
|
7014
|
+
*/
|
|
7015
|
+
"availableViews"?: string[] | string;
|
|
7016
|
+
/**
|
|
7017
|
+
* Anchor date "YYYY-MM-DD" controlling the visible period. Persisted by host.
|
|
7018
|
+
*/
|
|
7019
|
+
"date"?: string;
|
|
7020
|
+
/**
|
|
7021
|
+
* Max event lanes per day before "+N more".
|
|
7022
|
+
* @default 3
|
|
7023
|
+
*/
|
|
7024
|
+
"dayMaxEvents"?: number;
|
|
7025
|
+
/**
|
|
7026
|
+
* Default minutes for a timed event missing an end.
|
|
7027
|
+
* @default 60
|
|
7028
|
+
*/
|
|
7029
|
+
"defaultDurationMinutes"?: number;
|
|
7030
|
+
/**
|
|
7031
|
+
* Master interaction gate (per-event `editable` can still lock individuals).
|
|
7032
|
+
* @default true
|
|
7033
|
+
*/
|
|
7034
|
+
"editable"?: boolean;
|
|
7035
|
+
/**
|
|
7036
|
+
* Events: an array or a JSON string (raw-HTML use).
|
|
7037
|
+
* @default []
|
|
7038
|
+
*/
|
|
7039
|
+
"events"?: CoCalendarEvent[] | string;
|
|
7040
|
+
/**
|
|
7041
|
+
* First day of week, 0=Sun..6=Sat.
|
|
7042
|
+
* @default 1
|
|
7043
|
+
*/
|
|
7044
|
+
"firstDayOfWeek"?: number;
|
|
7045
|
+
/**
|
|
7046
|
+
* BCP-47 locale for labels.
|
|
7047
|
+
* @default 'es-CO'
|
|
7048
|
+
*/
|
|
7049
|
+
"locale"?: string;
|
|
7050
|
+
/**
|
|
7051
|
+
* Latest interactable day "YYYY-MM-DD".
|
|
7052
|
+
*/
|
|
7053
|
+
"maxDate"?: string;
|
|
7054
|
+
/**
|
|
7055
|
+
* Earliest interactable day "YYYY-MM-DD" (past-block).
|
|
7056
|
+
*/
|
|
7057
|
+
"minDate"?: string;
|
|
7058
|
+
/**
|
|
7059
|
+
* A date/range was selected (create request).
|
|
7060
|
+
*/
|
|
7061
|
+
"onCoDateSelect"?: (event: CoEventCalendarCustomEvent<{ start: string; end: string; allDay: boolean }>) => void;
|
|
7062
|
+
/**
|
|
7063
|
+
* The visible period changed → host should refetch and persist the view pref.
|
|
7064
|
+
*/
|
|
7065
|
+
"onCoDatesSet"?: (event: CoEventCalendarCustomEvent<{
|
|
7066
|
+
view: string;
|
|
7067
|
+
start: string;
|
|
7068
|
+
end: string;
|
|
7069
|
+
activeDate: string;
|
|
7070
|
+
}>) => void;
|
|
7071
|
+
/**
|
|
7072
|
+
* An event chip was activated.
|
|
7073
|
+
*/
|
|
7074
|
+
"onCoEventClick"?: (event: CoEventCalendarCustomEvent<{ event: NormalizedEvent }>) => void;
|
|
7075
|
+
/**
|
|
7076
|
+
* An event was dragged to a new time (move). `revert` is a host convenience.
|
|
7077
|
+
*/
|
|
7078
|
+
"onCoEventDrop"?: (event: CoEventCalendarCustomEvent<{
|
|
7079
|
+
event: NormalizedEvent;
|
|
7080
|
+
start: string;
|
|
7081
|
+
end: string;
|
|
7082
|
+
oldStart: string;
|
|
7083
|
+
oldEnd: string;
|
|
7084
|
+
allDay: boolean;
|
|
7085
|
+
revert: () => void;
|
|
7086
|
+
}>) => void;
|
|
7087
|
+
/**
|
|
7088
|
+
* "+N more" was activated for a day.
|
|
7089
|
+
*/
|
|
7090
|
+
"onCoMoreClick"?: (event: CoEventCalendarCustomEvent<{ date: string; events: NormalizedEvent[] }>) => void;
|
|
7091
|
+
/**
|
|
7092
|
+
* The active view changed.
|
|
7093
|
+
*/
|
|
7094
|
+
"onCoViewChange"?: (event: CoEventCalendarCustomEvent<{ view: string }>) => void;
|
|
7095
|
+
/**
|
|
7096
|
+
* Allow empty-day selection to request a create.
|
|
7097
|
+
* @default true
|
|
7098
|
+
*/
|
|
7099
|
+
"selectable"?: boolean;
|
|
7100
|
+
/**
|
|
7101
|
+
* Optional status→{backgroundColor,borderColor} map (object or JSON string).
|
|
5925
7102
|
*/
|
|
5926
|
-
"
|
|
7103
|
+
"statusColors"?: Record<string, { backgroundColor?: string; borderColor?: string }> | string;
|
|
5927
7104
|
/**
|
|
5928
|
-
*
|
|
7105
|
+
* IANA timezone for wall-clock rendering. Defaults to the browser zone.
|
|
5929
7106
|
*/
|
|
5930
|
-
"
|
|
7107
|
+
"timeZone"?: string;
|
|
5931
7108
|
/**
|
|
5932
|
-
*
|
|
7109
|
+
* Active view. Phase 1 ships `month`; week/day/agenda land in later phases.
|
|
7110
|
+
* @default 'month'
|
|
5933
7111
|
*/
|
|
5934
|
-
"
|
|
7112
|
+
"view"?: 'month' | 'week' | 'day' | 'agenda';
|
|
5935
7113
|
}
|
|
5936
7114
|
interface CoFab {
|
|
5937
7115
|
/**
|
|
@@ -6109,6 +7287,10 @@ declare namespace LocalJSX {
|
|
|
6109
7287
|
* Phosphor icon name (e.g. "plus", "gear"). Renders co-icon inside the button.
|
|
6110
7288
|
*/
|
|
6111
7289
|
"icon"?: string;
|
|
7290
|
+
/**
|
|
7291
|
+
* Override the size-derived glyph px (e.g. 24). Falls back to the size default.
|
|
7292
|
+
*/
|
|
7293
|
+
"iconSize"?: number;
|
|
6112
7294
|
/**
|
|
6113
7295
|
* Icon weight
|
|
6114
7296
|
* @default 'regular'
|
|
@@ -6313,6 +7495,11 @@ declare namespace LocalJSX {
|
|
|
6313
7495
|
* @default 8
|
|
6314
7496
|
*/
|
|
6315
7497
|
"rows"?: number;
|
|
7498
|
+
/**
|
|
7499
|
+
* Field size (mirrors co-input paddings; mono font scales 12/13/13/14). Vertical extent still comes from `rows`.
|
|
7500
|
+
* @default 'md'
|
|
7501
|
+
*/
|
|
7502
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
6316
7503
|
/**
|
|
6317
7504
|
* External validation status (e.g. from a form controller).
|
|
6318
7505
|
* @default 'default'
|
|
@@ -6365,6 +7552,40 @@ declare namespace LocalJSX {
|
|
|
6365
7552
|
*/
|
|
6366
7553
|
"startIndex"?: number;
|
|
6367
7554
|
}
|
|
7555
|
+
/**
|
|
7556
|
+
* Action footer for dropdown / list panels (co-popover, co-combobox, …).
|
|
7557
|
+
* Renders one or two full-width action buttons in the standard footer design,
|
|
7558
|
+
* separated from the content above by top padding. Use the props for the common
|
|
7559
|
+
* primary/secondary actions, or the default slot for fully custom content.
|
|
7560
|
+
*/
|
|
7561
|
+
interface CoListFooter {
|
|
7562
|
+
/**
|
|
7563
|
+
* Emitted when the primary action is clicked.
|
|
7564
|
+
*/
|
|
7565
|
+
"onCoPrimary"?: (event: CoListFooterCustomEvent<void>) => void;
|
|
7566
|
+
/**
|
|
7567
|
+
* Emitted when the secondary action is clicked.
|
|
7568
|
+
*/
|
|
7569
|
+
"onCoSecondary"?: (event: CoListFooterCustomEvent<void>) => void;
|
|
7570
|
+
/**
|
|
7571
|
+
* Primary action leading icon (Phosphor). Set to '' to hide the icon.
|
|
7572
|
+
* @default 'plus'
|
|
7573
|
+
*/
|
|
7574
|
+
"primaryIcon"?: string;
|
|
7575
|
+
/**
|
|
7576
|
+
* Primary (filled) action label. Omit to hide the primary button.
|
|
7577
|
+
*/
|
|
7578
|
+
"primaryLabel"?: string;
|
|
7579
|
+
/**
|
|
7580
|
+
* Secondary action leading icon (Phosphor). Set to '' to hide the icon.
|
|
7581
|
+
* @default 'plus'
|
|
7582
|
+
*/
|
|
7583
|
+
"secondaryIcon"?: string;
|
|
7584
|
+
/**
|
|
7585
|
+
* Secondary (outlined) action label. Omit to hide the secondary button.
|
|
7586
|
+
*/
|
|
7587
|
+
"secondaryLabel"?: string;
|
|
7588
|
+
}
|
|
6368
7589
|
/**
|
|
6369
7590
|
* Generic list item for sidebar nav, dropdown menus, selection lists.
|
|
6370
7591
|
*/
|
|
@@ -6554,6 +7775,14 @@ declare namespace LocalJSX {
|
|
|
6554
7775
|
* @default false
|
|
6555
7776
|
*/
|
|
6556
7777
|
"noDividers"?: boolean;
|
|
7778
|
+
/**
|
|
7779
|
+
* Close animation finished.
|
|
7780
|
+
*/
|
|
7781
|
+
"onCoAfterClose"?: (event: CoModalCustomEvent<void>) => void;
|
|
7782
|
+
/**
|
|
7783
|
+
* Open animation finished.
|
|
7784
|
+
*/
|
|
7785
|
+
"onCoAfterOpen"?: (event: CoModalCustomEvent<void>) => void;
|
|
6557
7786
|
/**
|
|
6558
7787
|
* Emitted when the modal requests to close
|
|
6559
7788
|
*/
|
|
@@ -6600,6 +7829,10 @@ declare namespace LocalJSX {
|
|
|
6600
7829
|
* @default false
|
|
6601
7830
|
*/
|
|
6602
7831
|
"disabled"?: boolean;
|
|
7832
|
+
/**
|
|
7833
|
+
* Display format. With 'rate' | 'percent' the `value` stays a DECIMAL (e.g. 0.15) but the field shows/edits the PERCENT (15) with a "%" suffix. value/min/max/step are always in the underlying (decimal) unit. Reflected so it survives lazy hydration when set via the Vue wrapper.
|
|
7834
|
+
*/
|
|
7835
|
+
"format"?: 'rate' | 'percent';
|
|
6603
7836
|
"helperText"?: string;
|
|
6604
7837
|
"label"?: string;
|
|
6605
7838
|
/**
|
|
@@ -6642,6 +7875,19 @@ declare namespace LocalJSX {
|
|
|
6642
7875
|
"value"?: number | null;
|
|
6643
7876
|
}
|
|
6644
7877
|
interface CoOverlay {
|
|
7878
|
+
/**
|
|
7879
|
+
* Opt-in: emit `coClose` when Escape is pressed while open. Default false → existing consumers are unchanged.
|
|
7880
|
+
* @default false
|
|
7881
|
+
*/
|
|
7882
|
+
"closeOnEscape"?: boolean;
|
|
7883
|
+
/**
|
|
7884
|
+
* Slide/fade-out animation finished (overlay fully closed).
|
|
7885
|
+
*/
|
|
7886
|
+
"onCoAfterClose"?: (event: CoOverlayCustomEvent<void>) => void;
|
|
7887
|
+
/**
|
|
7888
|
+
* Slide/fade-in animation finished (overlay fully open).
|
|
7889
|
+
*/
|
|
7890
|
+
"onCoAfterOpen"?: (event: CoOverlayCustomEvent<void>) => void;
|
|
6645
7891
|
/**
|
|
6646
7892
|
* Emitted when the overlay backdrop is clicked
|
|
6647
7893
|
*/
|
|
@@ -6651,6 +7897,11 @@ declare namespace LocalJSX {
|
|
|
6651
7897
|
* @default false
|
|
6652
7898
|
*/
|
|
6653
7899
|
"open"?: boolean;
|
|
7900
|
+
/**
|
|
7901
|
+
* Opt-in accessible focus trap. When true, opening the overlay records the previously-focused element, moves focus into the overlay, cycles Tab / Shift+Tab within the slotted content, and restores focus on close. Default false → existing consumers are unchanged.
|
|
7902
|
+
* @default false
|
|
7903
|
+
*/
|
|
7904
|
+
"trapFocus"?: boolean;
|
|
6654
7905
|
}
|
|
6655
7906
|
/**
|
|
6656
7907
|
* Page-level header bar with icon, title, and right actions.
|
|
@@ -6710,6 +7961,11 @@ declare namespace LocalJSX {
|
|
|
6710
7961
|
* @default false
|
|
6711
7962
|
*/
|
|
6712
7963
|
"required"?: boolean;
|
|
7964
|
+
/**
|
|
7965
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
7966
|
+
* @default 'md'
|
|
7967
|
+
*/
|
|
7968
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
6713
7969
|
/**
|
|
6714
7970
|
* Validation status.
|
|
6715
7971
|
* @default 'default'
|
|
@@ -6764,6 +8020,11 @@ declare namespace LocalJSX {
|
|
|
6764
8020
|
* A horizontal progress bar with status colors.
|
|
6765
8021
|
*/
|
|
6766
8022
|
interface CoProgressBar {
|
|
8023
|
+
/**
|
|
8024
|
+
* Indeterminate mode: ignore `value` and run a looping sweep animation.
|
|
8025
|
+
* @default false
|
|
8026
|
+
*/
|
|
8027
|
+
"indeterminate"?: boolean;
|
|
6767
8028
|
/**
|
|
6768
8029
|
* Status / color variant
|
|
6769
8030
|
* @default 'default'
|
|
@@ -6935,6 +8196,11 @@ declare namespace LocalJSX {
|
|
|
6935
8196
|
"value"?: number;
|
|
6936
8197
|
}
|
|
6937
8198
|
interface CoRefField {
|
|
8199
|
+
/**
|
|
8200
|
+
* Shape of the leading avatar (selected value + option rows). Defaults to 'circle' (people refs); use 'square' for company/workspace refs — it renders a smooth squircle. The avatar border can be themed via --co-avatar-border-color.
|
|
8201
|
+
* @default 'circle'
|
|
8202
|
+
*/
|
|
8203
|
+
"avatarShape"?: 'circle' | 'square';
|
|
6938
8204
|
/**
|
|
6939
8205
|
* @default true
|
|
6940
8206
|
*/
|
|
@@ -6964,6 +8230,10 @@ declare namespace LocalJSX {
|
|
|
6964
8230
|
"helperText"?: string;
|
|
6965
8231
|
"iconLeft"?: string;
|
|
6966
8232
|
"label"?: string;
|
|
8233
|
+
/**
|
|
8234
|
+
* Phosphor icon name rendered before the label text.
|
|
8235
|
+
*/
|
|
8236
|
+
"labelIcon"?: string;
|
|
6967
8237
|
/**
|
|
6968
8238
|
* Label layout: vertical (label above) or horizontal (label beside)
|
|
6969
8239
|
* @default 'vertical'
|
|
@@ -7036,10 +8306,10 @@ declare namespace LocalJSX {
|
|
|
7036
8306
|
*/
|
|
7037
8307
|
"showFooter"?: boolean;
|
|
7038
8308
|
/**
|
|
7039
|
-
* Size of the trigger. 'sm'
|
|
7040
|
-
* @default '
|
|
8309
|
+
* Size of the trigger (mirrors co-input): s 28 / sm 32 / md 40 / lg 48. `'default'` is a deprecated alias of `'md'`, kept for backwards compatibility with the old `'default' | 'sm'` scale — use `'md'` instead.
|
|
8310
|
+
* @default 'md'
|
|
7041
8311
|
*/
|
|
7042
|
-
"size"?: '
|
|
8312
|
+
"size"?: 's' | 'sm' | 'md' | 'lg' | 'default';
|
|
7043
8313
|
/**
|
|
7044
8314
|
* @default 'default'
|
|
7045
8315
|
*/
|
|
@@ -7062,6 +8332,10 @@ declare namespace LocalJSX {
|
|
|
7062
8332
|
* never reach it. All styles live in light DOM via BEM + `--co-*` tokens.
|
|
7063
8333
|
*/
|
|
7064
8334
|
interface CoRichTextEditor {
|
|
8335
|
+
/**
|
|
8336
|
+
* Account/imported fonts shown in a separate "Imported fonts" section. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array.
|
|
8337
|
+
*/
|
|
8338
|
+
"accountFonts"?: string | { label: string; value: string }[];
|
|
7065
8339
|
/**
|
|
7066
8340
|
* @default false
|
|
7067
8341
|
*/
|
|
@@ -7078,6 +8352,18 @@ declare namespace LocalJSX {
|
|
|
7078
8352
|
* Feature overrides (JSON string for HTML attr, or object via JS property).
|
|
7079
8353
|
*/
|
|
7080
8354
|
"features"?: string | object;
|
|
8355
|
+
/**
|
|
8356
|
+
* Font families available in the bubble menu font selector. JS property: `Array<{ label: string; value: string }>`. HTML attribute: JSON string of the same array. If not provided, a default list of system fonts is used.
|
|
8357
|
+
*/
|
|
8358
|
+
"fontFamilies"?: string | { label: string; value: string }[];
|
|
8359
|
+
/**
|
|
8360
|
+
* Async callback that loads account/imported fonts. Called once when the font dropdown opens for the first time. Must return `Array<{ label: string; value: string; url?: string }>`. If `url` is provided, the font is registered via FontFace API. JS property only — cannot be set via HTML attribute.
|
|
8361
|
+
*/
|
|
8362
|
+
"fontLoader"?: () => Promise<{ label: string; value: string; url?: string }[]>;
|
|
8363
|
+
/**
|
|
8364
|
+
* Whether account fonts are currently loading.
|
|
8365
|
+
*/
|
|
8366
|
+
"fontsLoading"?: boolean;
|
|
7081
8367
|
"helperText"?: string;
|
|
7082
8368
|
/**
|
|
7083
8369
|
* Host image upload handler (JS property): `(file) => Promise<url>`.
|
|
@@ -7085,10 +8371,10 @@ declare namespace LocalJSX {
|
|
|
7085
8371
|
"imageUpload"?: (file: File) => Promise<string>;
|
|
7086
8372
|
"label"?: string;
|
|
7087
8373
|
/**
|
|
7088
|
-
*
|
|
7089
|
-
* @default '
|
|
8374
|
+
* BCP-47 locale for UI strings (e.g. 'en', 'es-CO', 'pt-BR'). Default English.
|
|
8375
|
+
* @default 'en'
|
|
7090
8376
|
*/
|
|
7091
|
-
"
|
|
8377
|
+
"locale"?: string;
|
|
7092
8378
|
"maxLength"?: number;
|
|
7093
8379
|
"onCoBlur"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
7094
8380
|
/**
|
|
@@ -7097,6 +8383,14 @@ declare namespace LocalJSX {
|
|
|
7097
8383
|
"onCoChange"?: (event: CoRichTextEditorCustomEvent<RichTextOutput>) => void;
|
|
7098
8384
|
"onCoClear"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
7099
8385
|
"onCoFocus"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
8386
|
+
/**
|
|
8387
|
+
* Emitted when the font dropdown closes.
|
|
8388
|
+
*/
|
|
8389
|
+
"onCoFontPopupHide"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
8390
|
+
/**
|
|
8391
|
+
* Emitted when the font dropdown opens — host should load account fonts.
|
|
8392
|
+
*/
|
|
8393
|
+
"onCoFontPopupShow"?: (event: CoRichTextEditorCustomEvent<void>) => void;
|
|
7100
8394
|
/**
|
|
7101
8395
|
* Emitted on every keystroke.
|
|
7102
8396
|
*/
|
|
@@ -7145,7 +8439,8 @@ declare namespace LocalJSX {
|
|
|
7145
8439
|
/**
|
|
7146
8440
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
7147
8441
|
* instance via the `editor` JS property, runs commands, and reflects active
|
|
7148
|
-
* state.
|
|
8442
|
+
* state. Supports separators, dropdown menus, inline popover inputs, and
|
|
8443
|
+
* color palette pickers.
|
|
7149
8444
|
*/
|
|
7150
8445
|
interface CoRichTextToolbar {
|
|
7151
8446
|
/**
|
|
@@ -7156,22 +8451,29 @@ declare namespace LocalJSX {
|
|
|
7156
8451
|
* Editor instance (set as a property by the host editor).
|
|
7157
8452
|
*/
|
|
7158
8453
|
"editor"?: Editor;
|
|
8454
|
+
/**
|
|
8455
|
+
* Image upload handler (JS property): `(file) => Promise<url | {src, fileId}>`.
|
|
8456
|
+
*/
|
|
8457
|
+
"imageUpload"?: (file: File) => Promise<any>;
|
|
8458
|
+
/**
|
|
8459
|
+
* BCP-47 locale for UI strings (e.g. 'en', 'es-CO', 'pt-BR'). Default English.
|
|
8460
|
+
* @default 'en'
|
|
8461
|
+
*/
|
|
8462
|
+
"locale"?: string;
|
|
7159
8463
|
/**
|
|
7160
8464
|
* Emitted whenever a toolbar action runs (observability for hosts).
|
|
7161
8465
|
*/
|
|
7162
8466
|
"onCoAction"?: (event: CoRichTextToolbarCustomEvent<{ action: string; payload?: unknown }>) => void;
|
|
8467
|
+
/**
|
|
8468
|
+
* Emitted when a toolbar popover/dropdown opens or closes (host hides the selection bubble while one is open to avoid spatial overlap).
|
|
8469
|
+
*/
|
|
8470
|
+
"onCoPopoverChange"?: (event: CoRichTextToolbarCustomEvent<{ open: boolean }>) => void;
|
|
7163
8471
|
/**
|
|
7164
8472
|
* Toolbar layout variant.
|
|
7165
8473
|
* @default 'basic'
|
|
7166
8474
|
*/
|
|
7167
8475
|
"variant"?: 'none' | 'compact' | 'basic' | 'full';
|
|
7168
8476
|
}
|
|
7169
|
-
/**
|
|
7170
|
-
* Read-only renderer for rich-text content. For `format="html"` it only runs
|
|
7171
|
-
* the package's canonical sanitizer (the `/sanitizer` subpath has no Tiptap
|
|
7172
|
-
* import → tiny). `format="json"` lazily pulls the serializer to turn a
|
|
7173
|
-
* ProseMirror document into sanitized HTML.
|
|
7174
|
-
*/
|
|
7175
8477
|
interface CoRichTextViewer {
|
|
7176
8478
|
/**
|
|
7177
8479
|
* Reduced padding.
|
|
@@ -7182,10 +8484,6 @@ declare namespace LocalJSX {
|
|
|
7182
8484
|
* Text shown when there is no content.
|
|
7183
8485
|
*/
|
|
7184
8486
|
"emptyText"?: string;
|
|
7185
|
-
/**
|
|
7186
|
-
* Feature overrides used when the content was authored with them (JSON string for HTML attr, or object via JS property) — keeps the whitelist in lock-step with the editor that produced the content.
|
|
7187
|
-
*/
|
|
7188
|
-
"features"?: string | object;
|
|
7189
8487
|
/**
|
|
7190
8488
|
* Input format. `html` is the lightweight path.
|
|
7191
8489
|
* @default 'html'
|
|
@@ -7383,6 +8681,27 @@ declare namespace LocalJSX {
|
|
|
7383
8681
|
*/
|
|
7384
8682
|
"translations"?: string;
|
|
7385
8683
|
}
|
|
8684
|
+
/**
|
|
8685
|
+
* Placeholder de carga con shimmer (sweep). Componer apilando varios.
|
|
8686
|
+
* Respeta prefers-reduced-motion (sin animación).
|
|
8687
|
+
*/
|
|
8688
|
+
interface CoSkeleton {
|
|
8689
|
+
/**
|
|
8690
|
+
* Alto CSS (default por variante en CSS)
|
|
8691
|
+
* @default ''
|
|
8692
|
+
*/
|
|
8693
|
+
"height"?: string;
|
|
8694
|
+
/**
|
|
8695
|
+
* rect (default) | text (radio menor) | circle
|
|
8696
|
+
* @default 'rect'
|
|
8697
|
+
*/
|
|
8698
|
+
"variant"?: 'rect' | 'text' | 'circle';
|
|
8699
|
+
/**
|
|
8700
|
+
* Ancho CSS (default 100%)
|
|
8701
|
+
* @default '100%'
|
|
8702
|
+
*/
|
|
8703
|
+
"width"?: string;
|
|
8704
|
+
}
|
|
7386
8705
|
interface CoSlider {
|
|
7387
8706
|
/**
|
|
7388
8707
|
* @default false
|
|
@@ -7587,6 +8906,11 @@ declare namespace LocalJSX {
|
|
|
7587
8906
|
* @default false
|
|
7588
8907
|
*/
|
|
7589
8908
|
"required"?: boolean;
|
|
8909
|
+
/**
|
|
8910
|
+
* Field size (mirrors co-input): s 28 / sm 32 / md 40 / lg 48.
|
|
8911
|
+
* @default 'md'
|
|
8912
|
+
*/
|
|
8913
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
7590
8914
|
/**
|
|
7591
8915
|
* Committed value as a JSON array of strings (or an actual `string[]`).
|
|
7592
8916
|
* @default '[]'
|
|
@@ -7679,6 +9003,11 @@ declare namespace LocalJSX {
|
|
|
7679
9003
|
* Secondary label displayed on the right side
|
|
7680
9004
|
*/
|
|
7681
9005
|
"secondaryLabel"?: string;
|
|
9006
|
+
/**
|
|
9007
|
+
* Field size (mirrors co-input paddings/font: s / sm / md / lg). Vertical extent still comes from `rows`.
|
|
9008
|
+
* @default 'md'
|
|
9009
|
+
*/
|
|
9010
|
+
"size"?: 's' | 'sm' | 'md' | 'lg';
|
|
7682
9011
|
/**
|
|
7683
9012
|
* Validation status
|
|
7684
9013
|
* @default 'default'
|
|
@@ -7781,6 +9110,11 @@ declare namespace LocalJSX {
|
|
|
7781
9110
|
* @default true
|
|
7782
9111
|
*/
|
|
7783
9112
|
"arrow"?: boolean;
|
|
9113
|
+
/**
|
|
9114
|
+
* Full-width wrapper (opt-in) so the tooltip can wrap a flex/grid child that must fill its track — e.g. an ellipsised list/table cell — without the inline-block wrapper shrink-wrapping it. Drives the `:host([block])` CSS.
|
|
9115
|
+
* @default false
|
|
9116
|
+
*/
|
|
9117
|
+
"block"?: boolean;
|
|
7784
9118
|
/**
|
|
7785
9119
|
* Tooltip text content.
|
|
7786
9120
|
* @default ''
|
|
@@ -7853,6 +9187,164 @@ declare namespace LocalJSX {
|
|
|
7853
9187
|
*/
|
|
7854
9188
|
"value"?: string[] | string;
|
|
7855
9189
|
}
|
|
9190
|
+
/**
|
|
9191
|
+
* A fully configurable video player component with custom controls.
|
|
9192
|
+
*/
|
|
9193
|
+
interface CoVideo {
|
|
9194
|
+
/**
|
|
9195
|
+
* Enable download functionality
|
|
9196
|
+
* @default false
|
|
9197
|
+
*/
|
|
9198
|
+
"allowDownload"?: boolean;
|
|
9199
|
+
/**
|
|
9200
|
+
* Container aspect ratio
|
|
9201
|
+
* @default '16:9'
|
|
9202
|
+
*/
|
|
9203
|
+
"aspectRatio"?: '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
9204
|
+
/**
|
|
9205
|
+
* Auto-start playback (requires muted for browser autoplay)
|
|
9206
|
+
* @default false
|
|
9207
|
+
*/
|
|
9208
|
+
"autoplay"?: boolean;
|
|
9209
|
+
/**
|
|
9210
|
+
* Master toggle for custom control bar
|
|
9211
|
+
* @default true
|
|
9212
|
+
*/
|
|
9213
|
+
"controls"?: boolean;
|
|
9214
|
+
/**
|
|
9215
|
+
* Auto-hide controls after inactivity
|
|
9216
|
+
* @default true
|
|
9217
|
+
*/
|
|
9218
|
+
"controlsAutoHide"?: boolean;
|
|
9219
|
+
/**
|
|
9220
|
+
* Milliseconds before controls hide
|
|
9221
|
+
* @default 3000
|
|
9222
|
+
*/
|
|
9223
|
+
"controlsAutoHideDelay"?: number;
|
|
9224
|
+
/**
|
|
9225
|
+
* Current playback position in seconds (enables resume)
|
|
9226
|
+
* @default 0
|
|
9227
|
+
*/
|
|
9228
|
+
"currentTime"?: number;
|
|
9229
|
+
/**
|
|
9230
|
+
* Disabled state
|
|
9231
|
+
* @default false
|
|
9232
|
+
*/
|
|
9233
|
+
"disabled"?: boolean;
|
|
9234
|
+
/**
|
|
9235
|
+
* Language for labels and aria attributes
|
|
9236
|
+
* @default 'es'
|
|
9237
|
+
*/
|
|
9238
|
+
"locale"?: VideoLang;
|
|
9239
|
+
/**
|
|
9240
|
+
* Loop playback
|
|
9241
|
+
* @default false
|
|
9242
|
+
*/
|
|
9243
|
+
"loop"?: boolean;
|
|
9244
|
+
/**
|
|
9245
|
+
* Muted state
|
|
9246
|
+
* @default false
|
|
9247
|
+
*/
|
|
9248
|
+
"muted"?: boolean;
|
|
9249
|
+
"onCoDownload"?: (event: CoVideoCustomEvent<{ src: string }>) => void;
|
|
9250
|
+
"onCoEnded"?: (event: CoVideoCustomEvent<void>) => void;
|
|
9251
|
+
"onCoError"?: (event: CoVideoCustomEvent<{ code: number; message: string }>) => void;
|
|
9252
|
+
"onCoFullscreenChange"?: (event: CoVideoCustomEvent<{ fullscreen: boolean }>) => void;
|
|
9253
|
+
"onCoPause"?: (event: CoVideoCustomEvent<void>) => void;
|
|
9254
|
+
"onCoPipChange"?: (event: CoVideoCustomEvent<{ pip: boolean }>) => void;
|
|
9255
|
+
"onCoPlay"?: (event: CoVideoCustomEvent<void>) => void;
|
|
9256
|
+
"onCoPlaybackRateChange"?: (event: CoVideoCustomEvent<{ rate: number }>) => void;
|
|
9257
|
+
"onCoReady"?: (event: CoVideoCustomEvent<{ duration: number }>) => void;
|
|
9258
|
+
"onCoSeeked"?: (event: CoVideoCustomEvent<{ from: number; to: number }>) => void;
|
|
9259
|
+
"onCoThresholdReached"?: (event: CoVideoCustomEvent<{ threshold: number; currentTime: number; duration: number }>) => void;
|
|
9260
|
+
"onCoTimeUpdate"?: (event: CoVideoCustomEvent<{ currentTime: number; duration: number; progressPercent: number }>) => void;
|
|
9261
|
+
"onCoVolumeChange"?: (event: CoVideoCustomEvent<{ volume: number; muted: boolean }>) => void;
|
|
9262
|
+
/**
|
|
9263
|
+
* Playback speed
|
|
9264
|
+
* @default 1
|
|
9265
|
+
*/
|
|
9266
|
+
"playbackRate"?: number;
|
|
9267
|
+
/**
|
|
9268
|
+
* Available playback speeds (JSON array string)
|
|
9269
|
+
* @default '[0.5, 0.75, 1, 1.25, 1.5, 2]'
|
|
9270
|
+
*/
|
|
9271
|
+
"playbackRates"?: string;
|
|
9272
|
+
/**
|
|
9273
|
+
* Poster/thumbnail image URL
|
|
9274
|
+
* @default ''
|
|
9275
|
+
*/
|
|
9276
|
+
"poster"?: string;
|
|
9277
|
+
/**
|
|
9278
|
+
* Preload behavior
|
|
9279
|
+
* @default 'metadata'
|
|
9280
|
+
*/
|
|
9281
|
+
"preload"?: 'none' | 'metadata' | 'auto';
|
|
9282
|
+
/**
|
|
9283
|
+
* Border radius
|
|
9284
|
+
* @default 'lg'
|
|
9285
|
+
*/
|
|
9286
|
+
"rounded"?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9287
|
+
/**
|
|
9288
|
+
* Show download button
|
|
9289
|
+
* @default false
|
|
9290
|
+
*/
|
|
9291
|
+
"showDownload"?: boolean;
|
|
9292
|
+
/**
|
|
9293
|
+
* Show fullscreen button
|
|
9294
|
+
* @default true
|
|
9295
|
+
*/
|
|
9296
|
+
"showFullscreen"?: boolean;
|
|
9297
|
+
/**
|
|
9298
|
+
* Show Picture-in-Picture button
|
|
9299
|
+
* @default false
|
|
9300
|
+
*/
|
|
9301
|
+
"showPip"?: boolean;
|
|
9302
|
+
/**
|
|
9303
|
+
* Show play/pause button
|
|
9304
|
+
* @default true
|
|
9305
|
+
*/
|
|
9306
|
+
"showPlay"?: boolean;
|
|
9307
|
+
/**
|
|
9308
|
+
* Show progress/seek bar
|
|
9309
|
+
* @default true
|
|
9310
|
+
*/
|
|
9311
|
+
"showProgress"?: boolean;
|
|
9312
|
+
/**
|
|
9313
|
+
* Show playback speed selector
|
|
9314
|
+
* @default false
|
|
9315
|
+
*/
|
|
9316
|
+
"showSpeed"?: boolean;
|
|
9317
|
+
/**
|
|
9318
|
+
* Show time display
|
|
9319
|
+
* @default true
|
|
9320
|
+
*/
|
|
9321
|
+
"showTime"?: boolean;
|
|
9322
|
+
/**
|
|
9323
|
+
* Show volume controls
|
|
9324
|
+
* @default true
|
|
9325
|
+
*/
|
|
9326
|
+
"showVolume"?: boolean;
|
|
9327
|
+
/**
|
|
9328
|
+
* Video source URL
|
|
9329
|
+
* @default ''
|
|
9330
|
+
*/
|
|
9331
|
+
"src"?: string;
|
|
9332
|
+
/**
|
|
9333
|
+
* MIME type hint
|
|
9334
|
+
* @default ''
|
|
9335
|
+
*/
|
|
9336
|
+
"type"?: string;
|
|
9337
|
+
/**
|
|
9338
|
+
* Initial volume (0-1)
|
|
9339
|
+
* @default 1
|
|
9340
|
+
*/
|
|
9341
|
+
"volume"?: number;
|
|
9342
|
+
/**
|
|
9343
|
+
* Progress percentage (0-100) that triggers coThresholdReached. 0 = disabled
|
|
9344
|
+
* @default 0
|
|
9345
|
+
*/
|
|
9346
|
+
"watchThreshold"?: number;
|
|
9347
|
+
}
|
|
7856
9348
|
|
|
7857
9349
|
interface CoAccordionAttributes {
|
|
7858
9350
|
"open": boolean;
|
|
@@ -7874,6 +9366,7 @@ declare namespace LocalJSX {
|
|
|
7874
9366
|
"clearable": boolean;
|
|
7875
9367
|
"helperText": string;
|
|
7876
9368
|
"layout": 'vertical' | 'horizontal';
|
|
9369
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
7877
9370
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
7878
9371
|
"options": AutocompleteOption[] | string[] | string;
|
|
7879
9372
|
"value": string | string[];
|
|
@@ -7892,13 +9385,30 @@ declare namespace LocalJSX {
|
|
|
7892
9385
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
7893
9386
|
"shape": 'circle' | 'square';
|
|
7894
9387
|
"color": string;
|
|
9388
|
+
"ringColor": string;
|
|
9389
|
+
}
|
|
9390
|
+
interface CoAvatarGroupAttributes {
|
|
9391
|
+
"max": number;
|
|
9392
|
+
"size": 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
9393
|
+
"shape": 'circle' | 'square';
|
|
9394
|
+
"interactive": boolean;
|
|
9395
|
+
"label": string;
|
|
7895
9396
|
}
|
|
7896
9397
|
interface CoBadgeAttributes {
|
|
7897
9398
|
"size": 'large' | 'small';
|
|
7898
9399
|
"color": 'default' | 'success' | 'error' | 'warning' | 'info';
|
|
7899
9400
|
}
|
|
9401
|
+
interface CoBottomSheetAttributes {
|
|
9402
|
+
"open": boolean;
|
|
9403
|
+
"heading": string;
|
|
9404
|
+
"maxHeight": string;
|
|
9405
|
+
"dismissible": boolean;
|
|
9406
|
+
"closeOnOverlay": boolean;
|
|
9407
|
+
"closeOnEscape": boolean;
|
|
9408
|
+
"showHandle": boolean;
|
|
9409
|
+
}
|
|
7900
9410
|
interface CoButtonAttributes {
|
|
7901
|
-
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost';
|
|
9411
|
+
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost' | 'danger' | 'success';
|
|
7902
9412
|
"shape": 'rounded' | 'square';
|
|
7903
9413
|
"size": 'l' | 'm' | 's' | 'xs';
|
|
7904
9414
|
"disabled": boolean;
|
|
@@ -7909,6 +9419,7 @@ declare namespace LocalJSX {
|
|
|
7909
9419
|
"type": 'button' | 'submit' | 'reset';
|
|
7910
9420
|
"color": string;
|
|
7911
9421
|
"textColor": string;
|
|
9422
|
+
"iconSize": number;
|
|
7912
9423
|
}
|
|
7913
9424
|
interface CoButtonGroupAttributes {
|
|
7914
9425
|
"variant": 'primary' | 'secondary' | 'stroke' | 'ghost';
|
|
@@ -7930,6 +9441,18 @@ declare namespace LocalJSX {
|
|
|
7930
9441
|
"prevMonthLabel": string;
|
|
7931
9442
|
"nextMonthLabel": string;
|
|
7932
9443
|
}
|
|
9444
|
+
interface CoCalendarMonthAttributes {
|
|
9445
|
+
"year": number;
|
|
9446
|
+
"month": number;
|
|
9447
|
+
"locale": string;
|
|
9448
|
+
"firstDayOfWeek": number;
|
|
9449
|
+
"timeZone": string;
|
|
9450
|
+
"minDate": string;
|
|
9451
|
+
"maxDate": string;
|
|
9452
|
+
"editable": boolean;
|
|
9453
|
+
"selectable": boolean;
|
|
9454
|
+
"maxLanes": number;
|
|
9455
|
+
}
|
|
7933
9456
|
interface CoCardAttributes {
|
|
7934
9457
|
"variant": 'elevated' | 'outlined' | 'flat';
|
|
7935
9458
|
"padding": 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -7961,12 +9484,15 @@ declare namespace LocalJSX {
|
|
|
7961
9484
|
"size": 'large' | 'small';
|
|
7962
9485
|
"iconMode": 'none' | 'left' | 'both';
|
|
7963
9486
|
"variant": 'filled' | 'outlined';
|
|
7964
|
-
"color": 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
9487
|
+
"color": | 'default' | 'primary' | 'success' | 'error' | 'warning' | 'info'
|
|
9488
|
+
| 'pending' | 'progress' | 'review' | 'submitted';
|
|
7965
9489
|
"label": string;
|
|
7966
9490
|
"iconLeft": string;
|
|
7967
9491
|
"iconRight": string;
|
|
7968
9492
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
7969
9493
|
"removable": boolean;
|
|
9494
|
+
"dot": boolean;
|
|
9495
|
+
"dotColor": string;
|
|
7970
9496
|
"clickable": boolean;
|
|
7971
9497
|
"disabled": boolean;
|
|
7972
9498
|
"selected": boolean;
|
|
@@ -7980,6 +9506,7 @@ declare namespace LocalJSX {
|
|
|
7980
9506
|
"status": 'default' | 'error' | 'success' | 'warning';
|
|
7981
9507
|
"helperText": string;
|
|
7982
9508
|
"layout": 'vertical' | 'horizontal';
|
|
9509
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
7983
9510
|
"name": string;
|
|
7984
9511
|
"presets": string | ColorPreset[] | string[];
|
|
7985
9512
|
}
|
|
@@ -8031,6 +9558,14 @@ declare namespace LocalJSX {
|
|
|
8031
9558
|
"placeholder": string;
|
|
8032
9559
|
"items": string | CommandItem[];
|
|
8033
9560
|
"emptyMessage": string;
|
|
9561
|
+
"async": boolean;
|
|
9562
|
+
"loading": boolean;
|
|
9563
|
+
"chips": string;
|
|
9564
|
+
"tabs": string;
|
|
9565
|
+
"activeTab": string;
|
|
9566
|
+
"hasMore": boolean;
|
|
9567
|
+
"moreLabel": string;
|
|
9568
|
+
"favorites": string;
|
|
8034
9569
|
}
|
|
8035
9570
|
interface CoDataTableAttributes {
|
|
8036
9571
|
"columns": string | CoDataTableColumn[];
|
|
@@ -8168,6 +9703,22 @@ declare namespace LocalJSX {
|
|
|
8168
9703
|
"heading": string;
|
|
8169
9704
|
"description": string;
|
|
8170
9705
|
}
|
|
9706
|
+
interface CoEventCalendarAttributes {
|
|
9707
|
+
"view": 'month' | 'week' | 'day' | 'agenda';
|
|
9708
|
+
"date": string;
|
|
9709
|
+
"events": CoCalendarEvent[] | string;
|
|
9710
|
+
"locale": string;
|
|
9711
|
+
"timeZone": string;
|
|
9712
|
+
"editable": boolean;
|
|
9713
|
+
"selectable": boolean;
|
|
9714
|
+
"dayMaxEvents": number;
|
|
9715
|
+
"minDate": string;
|
|
9716
|
+
"maxDate": string;
|
|
9717
|
+
"firstDayOfWeek": number;
|
|
9718
|
+
"availableViews": string[] | string;
|
|
9719
|
+
"statusColors": Record<string, { backgroundColor?: string; borderColor?: string }> | string;
|
|
9720
|
+
"defaultDurationMinutes": number;
|
|
9721
|
+
}
|
|
8171
9722
|
interface CoFabAttributes {
|
|
8172
9723
|
"icon": string;
|
|
8173
9724
|
"label": string;
|
|
@@ -8212,6 +9763,7 @@ declare namespace LocalJSX {
|
|
|
8212
9763
|
"label": string;
|
|
8213
9764
|
"icon": string;
|
|
8214
9765
|
"iconWeight": 'regular' | 'thin' | 'light' | 'bold' | 'fill' | 'duotone';
|
|
9766
|
+
"iconSize": number;
|
|
8215
9767
|
}
|
|
8216
9768
|
interface CoInputAttributes {
|
|
8217
9769
|
"label": string;
|
|
@@ -8247,6 +9799,7 @@ declare namespace LocalJSX {
|
|
|
8247
9799
|
"helperText": string;
|
|
8248
9800
|
"invalidMessage": string;
|
|
8249
9801
|
"layout": 'vertical' | 'horizontal';
|
|
9802
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
8250
9803
|
}
|
|
8251
9804
|
interface CoLightboxAttributes {
|
|
8252
9805
|
"images": string;
|
|
@@ -8254,6 +9807,12 @@ declare namespace LocalJSX {
|
|
|
8254
9807
|
"open": boolean;
|
|
8255
9808
|
"locale": string;
|
|
8256
9809
|
}
|
|
9810
|
+
interface CoListFooterAttributes {
|
|
9811
|
+
"primaryLabel": string;
|
|
9812
|
+
"primaryIcon": string;
|
|
9813
|
+
"secondaryLabel": string;
|
|
9814
|
+
"secondaryIcon": string;
|
|
9815
|
+
}
|
|
8257
9816
|
interface CoListItemAttributes {
|
|
8258
9817
|
"label": string;
|
|
8259
9818
|
"description": string;
|
|
@@ -8311,9 +9870,12 @@ declare namespace LocalJSX {
|
|
|
8311
9870
|
"placeholder": string;
|
|
8312
9871
|
"size": 's' | 'sm' | 'md' | 'lg';
|
|
8313
9872
|
"clearable": boolean;
|
|
9873
|
+
"format": 'rate' | 'percent';
|
|
8314
9874
|
}
|
|
8315
9875
|
interface CoOverlayAttributes {
|
|
8316
9876
|
"open": boolean;
|
|
9877
|
+
"trapFocus": boolean;
|
|
9878
|
+
"closeOnEscape": boolean;
|
|
8317
9879
|
}
|
|
8318
9880
|
interface CoPageHeaderAttributes {
|
|
8319
9881
|
"heading": string;
|
|
@@ -8328,6 +9890,7 @@ declare namespace LocalJSX {
|
|
|
8328
9890
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
8329
9891
|
"helperText": string;
|
|
8330
9892
|
"layout": 'vertical' | 'horizontal';
|
|
9893
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
8331
9894
|
"defaultCountry": string;
|
|
8332
9895
|
}
|
|
8333
9896
|
interface CoPopoverAttributes {
|
|
@@ -8344,6 +9907,7 @@ declare namespace LocalJSX {
|
|
|
8344
9907
|
"status": 'default' | 'success' | 'warning' | 'error';
|
|
8345
9908
|
"variant": 'solid' | 'dashed';
|
|
8346
9909
|
"thickness": number;
|
|
9910
|
+
"indeterminate": boolean;
|
|
8347
9911
|
}
|
|
8348
9912
|
interface CoProgressCircleAttributes {
|
|
8349
9913
|
"value": number;
|
|
@@ -8387,6 +9951,7 @@ declare namespace LocalJSX {
|
|
|
8387
9951
|
"label": string;
|
|
8388
9952
|
"required": boolean;
|
|
8389
9953
|
"secondaryLabel": string;
|
|
9954
|
+
"labelIcon": string;
|
|
8390
9955
|
"placeholder": string;
|
|
8391
9956
|
"disabled": boolean;
|
|
8392
9957
|
"clearable": boolean;
|
|
@@ -8395,7 +9960,7 @@ declare namespace LocalJSX {
|
|
|
8395
9960
|
"helperText": string;
|
|
8396
9961
|
"iconLeft": string;
|
|
8397
9962
|
"layout": 'vertical' | 'horizontal';
|
|
8398
|
-
"size": '
|
|
9963
|
+
"size": 's' | 'sm' | 'md' | 'lg' | 'default';
|
|
8399
9964
|
"value": string;
|
|
8400
9965
|
"options": string;
|
|
8401
9966
|
"selectedDisplay": string;
|
|
@@ -8411,6 +9976,7 @@ declare namespace LocalJSX {
|
|
|
8411
9976
|
"footerSecondaryLabel": string;
|
|
8412
9977
|
"maxChips": number;
|
|
8413
9978
|
"panelTheme": 'auto' | 'dark' | 'light';
|
|
9979
|
+
"avatarShape": 'circle' | 'square';
|
|
8414
9980
|
}
|
|
8415
9981
|
interface CoRichTextEditorAttributes {
|
|
8416
9982
|
"value": string | null;
|
|
@@ -8419,7 +9985,6 @@ declare namespace LocalJSX {
|
|
|
8419
9985
|
"label": string;
|
|
8420
9986
|
"secondaryLabel": string;
|
|
8421
9987
|
"helperText": string;
|
|
8422
|
-
"layout": 'vertical' | 'horizontal';
|
|
8423
9988
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
8424
9989
|
"disabled": boolean;
|
|
8425
9990
|
"readonly": boolean;
|
|
@@ -8429,16 +9994,20 @@ declare namespace LocalJSX {
|
|
|
8429
9994
|
"autofocus": boolean;
|
|
8430
9995
|
"toolbar": ToolbarVariant;
|
|
8431
9996
|
"features": string | object;
|
|
9997
|
+
"fontFamilies": string | { label: string; value: string }[];
|
|
9998
|
+
"accountFonts": string | { label: string; value: string }[];
|
|
9999
|
+
"fontsLoading": boolean;
|
|
10000
|
+
"locale": string;
|
|
8432
10001
|
}
|
|
8433
10002
|
interface CoRichTextToolbarAttributes {
|
|
8434
10003
|
"variant": 'none' | 'compact' | 'basic' | 'full';
|
|
8435
10004
|
"disabled": boolean;
|
|
10005
|
+
"locale": string;
|
|
8436
10006
|
}
|
|
8437
10007
|
interface CoRichTextViewerAttributes {
|
|
8438
10008
|
"value": string | null;
|
|
8439
10009
|
"format": 'html' | 'json';
|
|
8440
10010
|
"preset": RichTextPreset;
|
|
8441
|
-
"features": string | object;
|
|
8442
10011
|
"emptyText": string;
|
|
8443
10012
|
"compact": boolean;
|
|
8444
10013
|
}
|
|
@@ -8486,6 +10055,11 @@ declare namespace LocalJSX {
|
|
|
8486
10055
|
"iconMap": string;
|
|
8487
10056
|
"translations": string;
|
|
8488
10057
|
}
|
|
10058
|
+
interface CoSkeletonAttributes {
|
|
10059
|
+
"variant": 'rect' | 'text' | 'circle';
|
|
10060
|
+
"width": string;
|
|
10061
|
+
"height": string;
|
|
10062
|
+
}
|
|
8489
10063
|
interface CoSliderAttributes {
|
|
8490
10064
|
"label": string;
|
|
8491
10065
|
"secondaryLabel": string;
|
|
@@ -8535,6 +10109,7 @@ declare namespace LocalJSX {
|
|
|
8535
10109
|
"errorMessage": string;
|
|
8536
10110
|
"helperText": string;
|
|
8537
10111
|
"layout": 'vertical' | 'horizontal';
|
|
10112
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
8538
10113
|
}
|
|
8539
10114
|
interface CoTextareaAttributes {
|
|
8540
10115
|
"value": string;
|
|
@@ -8550,6 +10125,7 @@ declare namespace LocalJSX {
|
|
|
8550
10125
|
"status": 'default' | 'error' | 'success' | 'warning';
|
|
8551
10126
|
"helperText": string;
|
|
8552
10127
|
"layout": 'vertical' | 'horizontal';
|
|
10128
|
+
"size": 's' | 'sm' | 'md' | 'lg';
|
|
8553
10129
|
"clearable": boolean;
|
|
8554
10130
|
"resize": 'vertical' | 'none' | 'both';
|
|
8555
10131
|
}
|
|
@@ -8588,6 +10164,7 @@ declare namespace LocalJSX {
|
|
|
8588
10164
|
"arrow": boolean;
|
|
8589
10165
|
"flip": boolean;
|
|
8590
10166
|
"maxWidth": string;
|
|
10167
|
+
"block": boolean;
|
|
8591
10168
|
}
|
|
8592
10169
|
interface CoTransferListAttributes {
|
|
8593
10170
|
"label": string;
|
|
@@ -8599,16 +10176,49 @@ declare namespace LocalJSX {
|
|
|
8599
10176
|
"helperText": string;
|
|
8600
10177
|
"status": 'default' | 'error' | 'success' | 'warning' | 'info';
|
|
8601
10178
|
}
|
|
10179
|
+
interface CoVideoAttributes {
|
|
10180
|
+
"src": string;
|
|
10181
|
+
"poster": string;
|
|
10182
|
+
"type": string;
|
|
10183
|
+
"preload": 'none' | 'metadata' | 'auto';
|
|
10184
|
+
"autoplay": boolean;
|
|
10185
|
+
"loop": boolean;
|
|
10186
|
+
"muted": boolean;
|
|
10187
|
+
"volume": number;
|
|
10188
|
+
"currentTime": number;
|
|
10189
|
+
"playbackRate": number;
|
|
10190
|
+
"playbackRates": string;
|
|
10191
|
+
"controls": boolean;
|
|
10192
|
+
"showPlay": boolean;
|
|
10193
|
+
"showVolume": boolean;
|
|
10194
|
+
"showProgress": boolean;
|
|
10195
|
+
"showTime": boolean;
|
|
10196
|
+
"showFullscreen": boolean;
|
|
10197
|
+
"showSpeed": boolean;
|
|
10198
|
+
"showPip": boolean;
|
|
10199
|
+
"showDownload": boolean;
|
|
10200
|
+
"allowDownload": boolean;
|
|
10201
|
+
"aspectRatio": '16:9' | '4:3' | '1:1' | '21:9' | 'auto';
|
|
10202
|
+
"rounded": 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10203
|
+
"controlsAutoHide": boolean;
|
|
10204
|
+
"controlsAutoHideDelay": number;
|
|
10205
|
+
"disabled": boolean;
|
|
10206
|
+
"watchThreshold": number;
|
|
10207
|
+
"locale": VideoLang;
|
|
10208
|
+
}
|
|
8602
10209
|
|
|
8603
10210
|
interface IntrinsicElements {
|
|
8604
10211
|
"co-accordion": Omit<CoAccordion, keyof CoAccordionAttributes> & { [K in keyof CoAccordion & keyof CoAccordionAttributes]?: CoAccordion[K] } & { [K in keyof CoAccordion & keyof CoAccordionAttributes as `attr:${K}`]?: CoAccordionAttributes[K] } & { [K in keyof CoAccordion & keyof CoAccordionAttributes as `prop:${K}`]?: CoAccordion[K] };
|
|
8605
10212
|
"co-app-shell": Omit<CoAppShell, keyof CoAppShellAttributes> & { [K in keyof CoAppShell & keyof CoAppShellAttributes]?: CoAppShell[K] } & { [K in keyof CoAppShell & keyof CoAppShellAttributes as `attr:${K}`]?: CoAppShellAttributes[K] } & { [K in keyof CoAppShell & keyof CoAppShellAttributes as `prop:${K}`]?: CoAppShell[K] };
|
|
8606
10213
|
"co-autocomplete": Omit<CoAutocomplete, keyof CoAutocompleteAttributes> & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes]?: CoAutocomplete[K] } & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes as `attr:${K}`]?: CoAutocompleteAttributes[K] } & { [K in keyof CoAutocomplete & keyof CoAutocompleteAttributes as `prop:${K}`]?: CoAutocomplete[K] };
|
|
8607
10214
|
"co-avatar": Omit<CoAvatar, keyof CoAvatarAttributes> & { [K in keyof CoAvatar & keyof CoAvatarAttributes]?: CoAvatar[K] } & { [K in keyof CoAvatar & keyof CoAvatarAttributes as `attr:${K}`]?: CoAvatarAttributes[K] } & { [K in keyof CoAvatar & keyof CoAvatarAttributes as `prop:${K}`]?: CoAvatar[K] };
|
|
10215
|
+
"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] };
|
|
8608
10216
|
"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
|
+
"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] };
|
|
8609
10218
|
"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] };
|
|
8610
10219
|
"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] };
|
|
8611
10220
|
"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] };
|
|
10221
|
+
"co-calendar-month": Omit<CoCalendarMonth, keyof CoCalendarMonthAttributes> & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes]?: CoCalendarMonth[K] } & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes as `attr:${K}`]?: CoCalendarMonthAttributes[K] } & { [K in keyof CoCalendarMonth & keyof CoCalendarMonthAttributes as `prop:${K}`]?: CoCalendarMonth[K] } & OneOf<"year", CoCalendarMonth["year"], CoCalendarMonthAttributes["year"]> & OneOf<"month", CoCalendarMonth["month"], CoCalendarMonthAttributes["month"]> & OneOf<"timeZone", CoCalendarMonth["timeZone"], CoCalendarMonthAttributes["timeZone"]>;
|
|
8612
10222
|
"co-card": Omit<CoCard, keyof CoCardAttributes> & { [K in keyof CoCard & keyof CoCardAttributes]?: CoCard[K] } & { [K in keyof CoCard & keyof CoCardAttributes as `attr:${K}`]?: CoCardAttributes[K] } & { [K in keyof CoCard & keyof CoCardAttributes as `prop:${K}`]?: CoCard[K] };
|
|
8613
10223
|
"co-checkbox": Omit<CoCheckbox, keyof CoCheckboxAttributes> & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes]?: CoCheckbox[K] } & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes as `attr:${K}`]?: CoCheckboxAttributes[K] } & { [K in keyof CoCheckbox & keyof CoCheckboxAttributes as `prop:${K}`]?: CoCheckbox[K] };
|
|
8614
10224
|
"co-checkbox-group": Omit<CoCheckboxGroup, keyof CoCheckboxGroupAttributes> & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes]?: CoCheckboxGroup[K] } & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes as `attr:${K}`]?: CoCheckboxGroupAttributes[K] } & { [K in keyof CoCheckboxGroup & keyof CoCheckboxGroupAttributes as `prop:${K}`]?: CoCheckboxGroup[K] };
|
|
@@ -8625,6 +10235,7 @@ declare namespace LocalJSX {
|
|
|
8625
10235
|
"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] };
|
|
8626
10236
|
"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] };
|
|
8627
10237
|
"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
|
+
"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] };
|
|
8628
10239
|
"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] };
|
|
8629
10240
|
"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] };
|
|
8630
10241
|
"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] };
|
|
@@ -8633,6 +10244,7 @@ declare namespace LocalJSX {
|
|
|
8633
10244
|
"co-input": Omit<CoInput, keyof CoInputAttributes> & { [K in keyof CoInput & keyof CoInputAttributes]?: CoInput[K] } & { [K in keyof CoInput & keyof CoInputAttributes as `attr:${K}`]?: CoInputAttributes[K] } & { [K in keyof CoInput & keyof CoInputAttributes as `prop:${K}`]?: CoInput[K] };
|
|
8634
10245
|
"co-json-field": Omit<CoJsonField, keyof CoJsonFieldAttributes> & { [K in keyof CoJsonField & keyof CoJsonFieldAttributes]?: CoJsonField[K] } & { [K in keyof CoJsonField & keyof CoJsonFieldAttributes as `attr:${K}`]?: CoJsonFieldAttributes[K] } & { [K in keyof CoJsonField & keyof CoJsonFieldAttributes as `prop:${K}`]?: CoJsonField[K] };
|
|
8635
10246
|
"co-lightbox": Omit<CoLightbox, keyof CoLightboxAttributes> & { [K in keyof CoLightbox & keyof CoLightboxAttributes]?: CoLightbox[K] } & { [K in keyof CoLightbox & keyof CoLightboxAttributes as `attr:${K}`]?: CoLightboxAttributes[K] } & { [K in keyof CoLightbox & keyof CoLightboxAttributes as `prop:${K}`]?: CoLightbox[K] };
|
|
10247
|
+
"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] };
|
|
8636
10248
|
"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] };
|
|
8637
10249
|
"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] };
|
|
8638
10250
|
"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] };
|
|
@@ -8659,6 +10271,7 @@ declare namespace LocalJSX {
|
|
|
8659
10271
|
"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] };
|
|
8660
10272
|
"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] };
|
|
8661
10273
|
"co-sidebar-nav": Omit<CoSidebarNav, keyof CoSidebarNavAttributes> & { [K in keyof CoSidebarNav & keyof CoSidebarNavAttributes]?: CoSidebarNav[K] } & { [K in keyof CoSidebarNav & keyof CoSidebarNavAttributes as `attr:${K}`]?: CoSidebarNavAttributes[K] } & { [K in keyof CoSidebarNav & keyof CoSidebarNavAttributes as `prop:${K}`]?: CoSidebarNav[K] };
|
|
10274
|
+
"co-skeleton": Omit<CoSkeleton, keyof CoSkeletonAttributes> & { [K in keyof CoSkeleton & keyof CoSkeletonAttributes]?: CoSkeleton[K] } & { [K in keyof CoSkeleton & keyof CoSkeletonAttributes as `attr:${K}`]?: CoSkeletonAttributes[K] } & { [K in keyof CoSkeleton & keyof CoSkeletonAttributes as `prop:${K}`]?: CoSkeleton[K] };
|
|
8662
10275
|
"co-slider": Omit<CoSlider, keyof CoSliderAttributes> & { [K in keyof CoSlider & keyof CoSliderAttributes]?: CoSlider[K] } & { [K in keyof CoSlider & keyof CoSliderAttributes as `attr:${K}`]?: CoSliderAttributes[K] } & { [K in keyof CoSlider & keyof CoSliderAttributes as `prop:${K}`]?: CoSlider[K] };
|
|
8663
10276
|
"co-switch": Omit<CoSwitch, keyof CoSwitchAttributes> & { [K in keyof CoSwitch & keyof CoSwitchAttributes]?: CoSwitch[K] } & { [K in keyof CoSwitch & keyof CoSwitchAttributes as `attr:${K}`]?: CoSwitchAttributes[K] } & { [K in keyof CoSwitch & keyof CoSwitchAttributes as `prop:${K}`]?: CoSwitch[K] };
|
|
8664
10277
|
"co-tab": Omit<CoTab, keyof CoTabAttributes> & { [K in keyof CoTab & keyof CoTabAttributes]?: CoTab[K] } & { [K in keyof CoTab & keyof CoTabAttributes as `attr:${K}`]?: CoTabAttributes[K] } & { [K in keyof CoTab & keyof CoTabAttributes as `prop:${K}`]?: CoTab[K] };
|
|
@@ -8670,6 +10283,7 @@ declare namespace LocalJSX {
|
|
|
8670
10283
|
"co-toggle-button-group": Omit<CoToggleButtonGroup, keyof CoToggleButtonGroupAttributes> & { [K in keyof CoToggleButtonGroup & keyof CoToggleButtonGroupAttributes]?: CoToggleButtonGroup[K] } & { [K in keyof CoToggleButtonGroup & keyof CoToggleButtonGroupAttributes as `attr:${K}`]?: CoToggleButtonGroupAttributes[K] } & { [K in keyof CoToggleButtonGroup & keyof CoToggleButtonGroupAttributes as `prop:${K}`]?: CoToggleButtonGroup[K] };
|
|
8671
10284
|
"co-tooltip": Omit<CoTooltip, keyof CoTooltipAttributes> & { [K in keyof CoTooltip & keyof CoTooltipAttributes]?: CoTooltip[K] } & { [K in keyof CoTooltip & keyof CoTooltipAttributes as `attr:${K}`]?: CoTooltipAttributes[K] } & { [K in keyof CoTooltip & keyof CoTooltipAttributes as `prop:${K}`]?: CoTooltip[K] };
|
|
8672
10285
|
"co-transfer-list": Omit<CoTransferList, keyof CoTransferListAttributes> & { [K in keyof CoTransferList & keyof CoTransferListAttributes]?: CoTransferList[K] } & { [K in keyof CoTransferList & keyof CoTransferListAttributes as `attr:${K}`]?: CoTransferListAttributes[K] } & { [K in keyof CoTransferList & keyof CoTransferListAttributes as `prop:${K}`]?: CoTransferList[K] };
|
|
10286
|
+
"co-video": Omit<CoVideo, keyof CoVideoAttributes> & { [K in keyof CoVideo & keyof CoVideoAttributes]?: CoVideo[K] } & { [K in keyof CoVideo & keyof CoVideoAttributes as `attr:${K}`]?: CoVideoAttributes[K] } & { [K in keyof CoVideo & keyof CoVideoAttributes as `prop:${K}`]?: CoVideo[K] };
|
|
8673
10287
|
}
|
|
8674
10288
|
}
|
|
8675
10289
|
export { LocalJSX as JSX };
|
|
@@ -8683,7 +10297,17 @@ declare module "@stencil/core" {
|
|
|
8683
10297
|
"co-app-shell": LocalJSX.IntrinsicElements["co-app-shell"] & JSXBase.HTMLAttributes<HTMLCoAppShellElement>;
|
|
8684
10298
|
"co-autocomplete": LocalJSX.IntrinsicElements["co-autocomplete"] & JSXBase.HTMLAttributes<HTMLCoAutocompleteElement>;
|
|
8685
10299
|
"co-avatar": LocalJSX.IntrinsicElements["co-avatar"] & JSXBase.HTMLAttributes<HTMLCoAvatarElement>;
|
|
10300
|
+
"co-avatar-group": LocalJSX.IntrinsicElements["co-avatar-group"] & JSXBase.HTMLAttributes<HTMLCoAvatarGroupElement>;
|
|
8686
10301
|
"co-badge": LocalJSX.IntrinsicElements["co-badge"] & JSXBase.HTMLAttributes<HTMLCoBadgeElement>;
|
|
10302
|
+
/**
|
|
10303
|
+
* Mobile bottom sheet with native drag physics: the sheet follows the finger
|
|
10304
|
+
* 1:1 downward, a fast flick (or a slow release past ~45% of its height)
|
|
10305
|
+
* dismisses it, upward overdrag rubber-bands, and the backdrop opacity is
|
|
10306
|
+
* coupled to the drag. The body scrolls internally — dragging from the body
|
|
10307
|
+
* only engages when its content is scrolled to the top.
|
|
10308
|
+
* Height fits the content, capped by `maxHeight` (default 85dvh).
|
|
10309
|
+
*/
|
|
10310
|
+
"co-bottom-sheet": LocalJSX.IntrinsicElements["co-bottom-sheet"] & JSXBase.HTMLAttributes<HTMLCoBottomSheetElement>;
|
|
8687
10311
|
"co-button": LocalJSX.IntrinsicElements["co-button"] & JSXBase.HTMLAttributes<HTMLCoButtonElement>;
|
|
8688
10312
|
"co-button-group": LocalJSX.IntrinsicElements["co-button-group"] & JSXBase.HTMLAttributes<HTMLCoButtonGroupElement>;
|
|
8689
10313
|
/**
|
|
@@ -8696,6 +10320,16 @@ declare module "@stencil/core" {
|
|
|
8696
10320
|
* chosen date. Today and selected are deliberately different visual states.
|
|
8697
10321
|
*/
|
|
8698
10322
|
"co-calendar": LocalJSX.IntrinsicElements["co-calendar"] & JSXBase.HTMLAttributes<HTMLCoCalendarElement>;
|
|
10323
|
+
/**
|
|
10324
|
+
* Month grid for the event calendar. Forks the day grid, roving-tabindex and
|
|
10325
|
+
* keyboard model from `co-calendar`, then overlays multi-day event bars laid out
|
|
10326
|
+
* by `layoutMonth` from the engine. Presentation + interaction only; the host
|
|
10327
|
+
* (via `co-event-calendar`) owns data and persistence.
|
|
10328
|
+
* Events are CONTROLLED through the `events` prop — drag emits a request, it does
|
|
10329
|
+
* NOT mutate locally; the host re-renders with new data on success or leaves the
|
|
10330
|
+
* old data on failure (that IS the revert).
|
|
10331
|
+
*/
|
|
10332
|
+
"co-calendar-month": LocalJSX.IntrinsicElements["co-calendar-month"] & JSXBase.HTMLAttributes<HTMLCoCalendarMonthElement>;
|
|
8699
10333
|
"co-card": LocalJSX.IntrinsicElements["co-card"] & JSXBase.HTMLAttributes<HTMLCoCardElement>;
|
|
8700
10334
|
"co-checkbox": LocalJSX.IntrinsicElements["co-checkbox"] & JSXBase.HTMLAttributes<HTMLCoCheckboxElement>;
|
|
8701
10335
|
"co-checkbox-group": LocalJSX.IntrinsicElements["co-checkbox-group"] & JSXBase.HTMLAttributes<HTMLCoCheckboxGroupElement>;
|
|
@@ -8769,6 +10403,18 @@ declare module "@stencil/core" {
|
|
|
8769
10403
|
* Empty state placeholder — icon, title, description, and action buttons.
|
|
8770
10404
|
*/
|
|
8771
10405
|
"co-empty-state": LocalJSX.IntrinsicElements["co-empty-state"] & JSXBase.HTMLAttributes<HTMLCoEmptyStateElement>;
|
|
10406
|
+
/**
|
|
10407
|
+
* co-event-calendar — the public entry point of the Cobalt Calendars family.
|
|
10408
|
+
* Owns view state, the visible anchor date, event normalization and the toolbar,
|
|
10409
|
+
* and delegates rendering to the active view (Phase 1: month). All hard math
|
|
10410
|
+
* lives in `@prolibu-suite/cobalt-calendar-utils`. Events are CONTROLLED: the
|
|
10411
|
+
* calendar emits requests (`coEventDrop`, `coDateSelect`) and the host applies
|
|
10412
|
+
* them by updating the `events` prop — leaving it unchanged on failure is the
|
|
10413
|
+
* revert.
|
|
10414
|
+
* Instants are ISO-8601 strings WITH offset/Z (timed) or "YYYY-MM-DD" (all-day);
|
|
10415
|
+
* the calendar never exposes Date objects. `timeZone` controls wall-clock render.
|
|
10416
|
+
*/
|
|
10417
|
+
"co-event-calendar": LocalJSX.IntrinsicElements["co-event-calendar"] & JSXBase.HTMLAttributes<HTMLCoEventCalendarElement>;
|
|
8772
10418
|
"co-fab": LocalJSX.IntrinsicElements["co-fab"] & JSXBase.HTMLAttributes<HTMLCoFabElement>;
|
|
8773
10419
|
/**
|
|
8774
10420
|
* Host-driven file selector — renders a drop-zone + previews + a file list with
|
|
@@ -8821,6 +10467,13 @@ declare module "@stencil/core" {
|
|
|
8821
10467
|
* rendering it declaratively (this is what co-file-field does).
|
|
8822
10468
|
*/
|
|
8823
10469
|
"co-lightbox": LocalJSX.IntrinsicElements["co-lightbox"] & JSXBase.HTMLAttributes<HTMLCoLightboxElement>;
|
|
10470
|
+
/**
|
|
10471
|
+
* Action footer for dropdown / list panels (co-popover, co-combobox, …).
|
|
10472
|
+
* Renders one or two full-width action buttons in the standard footer design,
|
|
10473
|
+
* separated from the content above by top padding. Use the props for the common
|
|
10474
|
+
* primary/secondary actions, or the default slot for fully custom content.
|
|
10475
|
+
*/
|
|
10476
|
+
"co-list-footer": LocalJSX.IntrinsicElements["co-list-footer"] & JSXBase.HTMLAttributes<HTMLCoListFooterElement>;
|
|
8824
10477
|
/**
|
|
8825
10478
|
* Generic list item for sidebar nav, dropdown menus, selection lists.
|
|
8826
10479
|
*/
|
|
@@ -8914,15 +10567,10 @@ declare module "@stencil/core" {
|
|
|
8914
10567
|
/**
|
|
8915
10568
|
* Formatting toolbar for co-rich-text-editor. Receives the Tiptap editor
|
|
8916
10569
|
* instance via the `editor` JS property, runs commands, and reflects active
|
|
8917
|
-
* state.
|
|
10570
|
+
* state. Supports separators, dropdown menus, inline popover inputs, and
|
|
10571
|
+
* color palette pickers.
|
|
8918
10572
|
*/
|
|
8919
10573
|
"co-rich-text-toolbar": LocalJSX.IntrinsicElements["co-rich-text-toolbar"] & JSXBase.HTMLAttributes<HTMLCoRichTextToolbarElement>;
|
|
8920
|
-
/**
|
|
8921
|
-
* Read-only renderer for rich-text content. For `format="html"` it only runs
|
|
8922
|
-
* the package's canonical sanitizer (the `/sanitizer` subpath has no Tiptap
|
|
8923
|
-
* import → tiny). `format="json"` lazily pulls the serializer to turn a
|
|
8924
|
-
* ProseMirror document into sanitized HTML.
|
|
8925
|
-
*/
|
|
8926
10574
|
"co-rich-text-viewer": LocalJSX.IntrinsicElements["co-rich-text-viewer"] & JSXBase.HTMLAttributes<HTMLCoRichTextViewerElement>;
|
|
8927
10575
|
/**
|
|
8928
10576
|
* Content row for tables, settings lists, etc. Supports position for border rounding.
|
|
@@ -8944,6 +10592,11 @@ declare module "@stencil/core" {
|
|
|
8944
10592
|
* ```
|
|
8945
10593
|
*/
|
|
8946
10594
|
"co-sidebar-nav": LocalJSX.IntrinsicElements["co-sidebar-nav"] & JSXBase.HTMLAttributes<HTMLCoSidebarNavElement>;
|
|
10595
|
+
/**
|
|
10596
|
+
* Placeholder de carga con shimmer (sweep). Componer apilando varios.
|
|
10597
|
+
* Respeta prefers-reduced-motion (sin animación).
|
|
10598
|
+
*/
|
|
10599
|
+
"co-skeleton": LocalJSX.IntrinsicElements["co-skeleton"] & JSXBase.HTMLAttributes<HTMLCoSkeletonElement>;
|
|
8947
10600
|
"co-slider": LocalJSX.IntrinsicElements["co-slider"] & JSXBase.HTMLAttributes<HTMLCoSliderElement>;
|
|
8948
10601
|
"co-switch": LocalJSX.IntrinsicElements["co-switch"] & JSXBase.HTMLAttributes<HTMLCoSwitchElement>;
|
|
8949
10602
|
"co-tab": LocalJSX.IntrinsicElements["co-tab"] & JSXBase.HTMLAttributes<HTMLCoTabElement>;
|
|
@@ -8972,6 +10625,10 @@ declare module "@stencil/core" {
|
|
|
8972
10625
|
"co-toggle-button-group": LocalJSX.IntrinsicElements["co-toggle-button-group"] & JSXBase.HTMLAttributes<HTMLCoToggleButtonGroupElement>;
|
|
8973
10626
|
"co-tooltip": LocalJSX.IntrinsicElements["co-tooltip"] & JSXBase.HTMLAttributes<HTMLCoTooltipElement>;
|
|
8974
10627
|
"co-transfer-list": LocalJSX.IntrinsicElements["co-transfer-list"] & JSXBase.HTMLAttributes<HTMLCoTransferListElement>;
|
|
10628
|
+
/**
|
|
10629
|
+
* A fully configurable video player component with custom controls.
|
|
10630
|
+
*/
|
|
10631
|
+
"co-video": LocalJSX.IntrinsicElements["co-video"] & JSXBase.HTMLAttributes<HTMLCoVideoElement>;
|
|
8975
10632
|
}
|
|
8976
10633
|
}
|
|
8977
10634
|
}
|