@cord-sdk/react
Advanced tools
Comparing version 1.24.0 to 1.24.1
@@ -0,8 +1,5 @@ | ||
export declare const cursor: string, icon: string, label: string, name: string; | ||
export declare const POSITION_UPDATE_INTERVAL_MS = 100; | ||
export declare const cursor: string; | ||
export declare const icon: string; | ||
export declare const label: string; | ||
export declare const name: string; | ||
export declare const colorPalette: string; | ||
export declare const colorVar = "--cord-live-cursors-cursor-color"; | ||
export declare const borderVar = "--cord-live-cursors-cursor-border-color"; |
@@ -38,2 +38,3 @@ import * as React from 'react'; | ||
translations?: Translations; | ||
language?: string; | ||
beforeMessageCreate?: CordSDKOptions['beforeMessageCreate']; | ||
@@ -44,3 +45,3 @@ }; | ||
}; | ||
export declare function CordProvider({ clientAuthToken, enableTasks, enableAnnotations, enableSlack, blurScreenshots, enableScreenshotCapture, showBlurredScreenshots, screenshotOptions, customRenderers, annotationMode, cordScriptUrl, navigate, threadOptions, children, onLoad, onInitError, customEventMetadata, translations, beforeMessageCreate, }: React.PropsWithChildren<Props>): React.JSX.Element; | ||
export declare function CordProvider({ clientAuthToken, enableTasks, enableAnnotations, enableSlack, blurScreenshots, enableScreenshotCapture, showBlurredScreenshots, screenshotOptions, customRenderers, annotationMode, cordScriptUrl, navigate, threadOptions, children, onLoad, onInitError, customEventMetadata, translations, language, beforeMessageCreate, }: React.PropsWithChildren<Props>): React.JSX.Element; | ||
export declare function useCordContext(hook: string): { | ||
@@ -47,0 +48,0 @@ sdk: ICordSDK | null; |
{ | ||
"name": "@cord-sdk/react", | ||
"description": "React components for Cord", | ||
"version": "1.24.0", | ||
"version": "1.24.1", | ||
"homepage": "https://docs.cord.com/", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@cord-sdk/components": "1.24.0", | ||
"@cord-sdk/types": "1.24.0", | ||
"@cord-sdk/components": "1.24.1", | ||
"@cord-sdk/types": "1.24.1", | ||
"classnames": "^2.3.1", | ||
@@ -34,3 +34,3 @@ "phosphor-react": "^1.4.0", | ||
"devDependencies": { | ||
"@cord-sdk/jsx": "1.24.0", | ||
"@cord-sdk/jsx": "1.24.1", | ||
"@types/react": "^18.2.25", | ||
@@ -37,0 +37,0 @@ "@vanilla-extract/css": "^1.13.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
397540
124
7917
+ Added@cord-sdk/components@1.24.1(transitive)
+ Added@cord-sdk/types@1.24.1(transitive)
- Removed@cord-sdk/components@1.24.0(transitive)
- Removed@cord-sdk/types@1.24.0(transitive)
Updated@cord-sdk/components@1.24.1
Updated@cord-sdk/types@1.24.1