@veltdev/react 3.0.9 → 3.0.11
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/cjs/index.js +8 -19
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/cjs/types/components/VeltIf/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +8 -19
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/esm/types/components/VeltIf/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +6 -15
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltIf";
|
|
@@ -34,6 +34,7 @@ export { default as VeltInlineCommentsSection } from "./VeltInlineCommentsSectio
|
|
|
34
34
|
export { default as VeltCommentPin } from "./VeltCommentPin";
|
|
35
35
|
export { default as VeltCanvasComment } from "./VeltCanvasComment";
|
|
36
36
|
export { default as VeltData } from "./VeltData";
|
|
37
|
+
export { default as VeltIf } from "./VeltIf";
|
|
37
38
|
export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
|
|
38
39
|
export { default as VeltReactionTool } from "./VeltReactionTool";
|
|
39
40
|
export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
|
|
@@ -67,4 +68,3 @@ export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWirefr
|
|
|
67
68
|
export { default as VeltInlineReactionsSectionWireframe } from "./VeltInlineReactionsSectionWireframe";
|
|
68
69
|
export { default as VeltPersistentCommentModeWireframe } from "./VeltPersistentCommentModeWireframe";
|
|
69
70
|
export { default as VeltMultiThreadCommentDialogWireframe } from "./VeltMultiThreadCommentDialogWireframe";
|
|
70
|
-
export { default as VeltCommentsSidebarButtonWireframe } from "./VeltCommentsSidebarButtonWireframe";
|
package/esm/types/constants.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -587,6 +587,11 @@ interface IVeltDataProps {
|
|
|
587
587
|
}
|
|
588
588
|
declare const VeltData: React.FC<IVeltDataProps>;
|
|
589
589
|
|
|
590
|
+
interface IVeltIfProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
591
|
+
condition?: string;
|
|
592
|
+
}
|
|
593
|
+
declare const VeltIf: React.FC<IVeltIfProps>;
|
|
594
|
+
|
|
590
595
|
interface IVeltCommentsMinimapProps {
|
|
591
596
|
position?: string;
|
|
592
597
|
targetScrollableElementId?: string;
|
|
@@ -2351,20 +2356,6 @@ interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMultiThre
|
|
|
2351
2356
|
}
|
|
2352
2357
|
declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
|
|
2353
2358
|
|
|
2354
|
-
interface IVeltCommentsSidebarButtonCommentsCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
|
-
interface IVeltCommentsSidebarButtonIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
|
-
interface IVeltCommentsSidebarButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2361
|
-
variant?: string;
|
|
2362
|
-
}
|
|
2363
|
-
declare const VeltCommentsSidebarButtonWireframe: React.FC<IVeltCommentsSidebarButtonWireframeProps> & {
|
|
2364
|
-
CommentsCount: React.FC<IVeltCommentsSidebarButtonCommentsCountProps>;
|
|
2365
|
-
Icon: React.FC<IVeltCommentsSidebarButtonIconProps>;
|
|
2366
|
-
};
|
|
2367
|
-
|
|
2368
2359
|
declare function useVeltClient(): {
|
|
2369
2360
|
client: Velt;
|
|
2370
2361
|
};
|
|
@@ -2462,4 +2453,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
2462
2453
|
updateLiveStateDataId: (newId?: string) => void;
|
|
2463
2454
|
};
|
|
2464
2455
|
|
|
2465
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton,
|
|
2456
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|