@cord-sdk/react
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -7,2 +7,3 @@ import * as React from 'react'; | ||
threadName?: string; | ||
threadUrl?: string; | ||
autofocus?: boolean; | ||
@@ -9,0 +10,0 @@ showExpanded?: boolean; |
@@ -13,2 +13,4 @@ import * as React from 'react'; | ||
composerPosition?: ComposerPosition; | ||
threadUrl?: string; | ||
threadName?: string; | ||
topLevelComposerExpanded?: boolean; | ||
@@ -28,5 +30,8 @@ replyComposerExpanded?: boolean; | ||
onLoading?: () => unknown; | ||
onComposerFocus?: (...args: ComposerWebComponentEvents['focus']) => unknown; | ||
onComposerBlur?: (...args: ComposerWebComponentEvents['blur']) => unknown; | ||
onComposerClose?: (...args: ComposerWebComponentEvents['close']) => unknown; | ||
onSend?: (...args: ComposerWebComponentEvents['send']) => unknown; | ||
}; | ||
export declare function ThreadedComments({ className, location, messageOrder, composerPosition, topLevelComposerExpanded, replyComposerExpanded, showReplies, highlightThreadId, partialMatch, displayResolved, autofocus, enableFacepileTooltip, onMessageClick, onMessageMouseEnter, onMessageMouseLeave, onMessageEditStart, onMessageEditEnd, onRender, onLoading, onSend, }: ThreadedCommentsReactComponentProps): React.JSX.Element; | ||
export declare function ThreadedComments({ className, location, messageOrder, composerPosition, threadUrl, threadName, topLevelComposerExpanded, replyComposerExpanded, showReplies, highlightThreadId, partialMatch, displayResolved, autofocus, enableFacepileTooltip, onMessageClick, onMessageMouseEnter, onMessageMouseLeave, onMessageEditStart, onMessageEditEnd, onRender, onLoading, onComposerFocus, onComposerBlur, onComposerClose, onSend, }: ThreadedCommentsReactComponentProps): React.JSX.Element; | ||
export {}; |
@@ -34,3 +34,2 @@ import type { ObserveThreadSummaryOptions, ThreadActivitySummary, ThreadSummary, Location, ObserveThreadDataOptions, ThreadData, ObserveLocationDataOptions, LocationData, ObserveThreadActivitySummaryOptions, SearchResultData, SearchOptionsType } from '@cord-sdk/types'; | ||
* including live updates. | ||
* @deprecated Summary information is now included in ThreadData. Please use `useThreadData` instead. | ||
* @example Overview | ||
@@ -94,3 +93,3 @@ * ```javascript | ||
/** | ||
* This method allows you to observe summary and detailed data about a thread, including | ||
* This method allows you to observe detailed data about a thread, including | ||
* live updates. | ||
@@ -100,3 +99,3 @@ * @example Overview | ||
* import { thread } from '@cord-sdk/react'; | ||
* const { messages, loading, hasMore, fetchMore, unread } = thread.useThreadData('my-awesome-thread-id'); | ||
* const { messages, loading, hasMore, fetchMore } = thread.useThreadData('my-awesome-thread-id'); | ||
* | ||
@@ -103,0 +102,0 @@ * return ( |
{ | ||
"name": "@cord-sdk/react", | ||
"description": "React components for Cord", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"homepage": "https://docs.cord.com/", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@cord-sdk/components": "1.14.0", | ||
"@cord-sdk/types": "1.14.0", | ||
"@cord-sdk/components": "1.15.0", | ||
"@cord-sdk/types": "1.15.0", | ||
"classnames": "^2.3.1", | ||
@@ -33,3 +33,3 @@ "phosphor-react": "^1.4.0", | ||
"devDependencies": { | ||
"@cord-sdk/jsx": "1.14.0", | ||
"@cord-sdk/jsx": "1.15.0", | ||
"@types/react": "^18.2.18", | ||
@@ -36,0 +36,0 @@ "@vanilla-extract/css": "^1.10.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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
349527
6953
0
+ Added@cord-sdk/components@1.15.0(transitive)
+ Added@cord-sdk/types@1.15.0(transitive)
- Removed@cord-sdk/components@1.14.0(transitive)
- Removed@cord-sdk/types@1.14.0(transitive)
Updated@cord-sdk/components@1.15.0
Updated@cord-sdk/types@1.15.0