@veltdev/react 3.0.1 → 3.0.2
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 +35 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/cjs/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +9 -0
- package/cjs/types/components/VeltInlineReactionsSection/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionWireframe.d.ts +14 -0
- package/cjs/types/components/VeltInlineReactionsSectionWireframe/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +34 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/esm/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +9 -0
- package/esm/types/components/VeltInlineReactionsSection/index.d.ts +1 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionWireframe.d.ts +14 -0
- package/esm/types/components/VeltInlineReactionsSectionWireframe/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +39 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.H
|
|
|
3
3
|
tooltipText?: string;
|
|
4
4
|
darkMode?: boolean;
|
|
5
5
|
shadowDom?: boolean;
|
|
6
|
+
floatingMode?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
8
9
|
export default SnippylySidebarButton;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltInlineReactionsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
targetReactionElementId?: string;
|
|
4
|
+
darkMode?: boolean;
|
|
5
|
+
variant?: string;
|
|
6
|
+
shadowDom?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const VeltInlineReactionsSection: React.FC<IVeltInlineReactionsSectionProps>;
|
|
9
|
+
export default VeltInlineReactionsSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltInlineReactionsSection';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltInlineReactionsSectionListWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltInlineReactionsSectionListWireframe extends React.FC<IVeltInlineReactionsSectionListWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltInlineReactionsSectionListWireframe: IVeltInlineReactionsSectionListWireframe;
|
|
8
|
+
export default VeltInlineReactionsSectionListWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltInlineReactionsSectionListWireframe';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltInlineReactionsSectionPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltInlineReactionsSectionPanelWireframe extends React.FC<IVeltInlineReactionsSectionPanelWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltInlineReactionsSectionPanelWireframe: IVeltInlineReactionsSectionPanelWireframe;
|
|
8
|
+
export default VeltInlineReactionsSectionPanelWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltInlineReactionsSectionPanelWireframe';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltInlineReactionsSectionToolContainerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltInlineReactionsSectionToolContainerWireframe extends React.FC<IVeltInlineReactionsSectionToolContainerWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltInlineReactionsSectionToolContainerWireframe: IVeltInlineReactionsSectionToolContainerWireframe;
|
|
8
|
+
export default VeltInlineReactionsSectionToolContainerWireframe;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltInlineReactionsSectionListWireframe } from './VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe';
|
|
3
|
+
import { IVeltInlineReactionsSectionPanelWireframe } from './VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe';
|
|
4
|
+
import { IVeltInlineReactionsSectionToolContainerWireframe } from './VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe';
|
|
5
|
+
export interface IVeltInlineReactionsSectionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
|
+
variant?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IVeltInlineReactionsSectionWireframe extends React.FC<IVeltInlineReactionsSectionWireframeProps> {
|
|
9
|
+
List: IVeltInlineReactionsSectionListWireframe;
|
|
10
|
+
Panel: IVeltInlineReactionsSectionPanelWireframe;
|
|
11
|
+
ToolContainer: IVeltInlineReactionsSectionToolContainerWireframe;
|
|
12
|
+
}
|
|
13
|
+
declare const VeltInlineReactionsSectionWireframe: IVeltInlineReactionsSectionWireframe;
|
|
14
|
+
export default VeltInlineReactionsSectionWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltInlineReactionsSectionWireframe';
|
|
@@ -35,6 +35,7 @@ export { default as VeltCanvasComment } from "./VeltCanvasComment";
|
|
|
35
35
|
export { default as VeltData } from "./VeltData";
|
|
36
36
|
export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
|
|
37
37
|
export { default as VeltReactionTool } from "./VeltReactionTool";
|
|
38
|
+
export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
|
|
38
39
|
export { default as VeltWireframe } from "./VeltWireframe";
|
|
39
40
|
export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
|
|
40
41
|
export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
|
|
@@ -62,3 +63,4 @@ export { default as VeltInlineCommentsSectionWireframe } from "./VeltInlineComme
|
|
|
62
63
|
export { default as VeltNotificationsPanelWireframe } from "./VeltNotificationsPanelWireframe";
|
|
63
64
|
export { default as VeltNotificationsToolWireframe } from "./VeltNotificationsToolWireframe";
|
|
64
65
|
export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWireframe";
|
|
66
|
+
export { default as VeltInlineReactionsSectionWireframe } from "./VeltInlineReactionsSectionWireframe";
|
package/esm/types/constants.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -186,6 +186,7 @@ declare class CommentSidebarFilters {
|
|
|
186
186
|
}
|
|
187
187
|
interface IVeltCommentsSidebarProps {
|
|
188
188
|
embedMode?: boolean;
|
|
189
|
+
floatingMode?: boolean;
|
|
189
190
|
/**
|
|
190
191
|
* @deprecated Use `urlNavigation` instead
|
|
191
192
|
*/
|
|
@@ -311,6 +312,7 @@ interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttr
|
|
|
311
312
|
tooltipText?: string;
|
|
312
313
|
darkMode?: boolean;
|
|
313
314
|
shadowDom?: boolean;
|
|
315
|
+
floatingMode?: boolean;
|
|
314
316
|
}
|
|
315
317
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
316
318
|
|
|
@@ -487,6 +489,14 @@ interface IVeltReactionToolProps {
|
|
|
487
489
|
}
|
|
488
490
|
declare const VeltReactionTool: React.FC<IVeltReactionToolProps>;
|
|
489
491
|
|
|
492
|
+
interface IVeltInlineReactionsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
493
|
+
targetReactionElementId?: string;
|
|
494
|
+
darkMode?: boolean;
|
|
495
|
+
variant?: string;
|
|
496
|
+
shadowDom?: boolean;
|
|
497
|
+
}
|
|
498
|
+
declare const VeltInlineReactionsSection: React.FC<IVeltInlineReactionsSectionProps>;
|
|
499
|
+
|
|
490
500
|
interface IVeltWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
491
501
|
}
|
|
492
502
|
declare const VeltWireframe: React.FC<IVeltWireframeProps>;
|
|
@@ -2046,6 +2056,34 @@ interface IVeltConfirmDialogWireframe extends React.FC<IVeltConfirmDialogWirefra
|
|
|
2046
2056
|
}
|
|
2047
2057
|
declare const VeltConfirmDialogWireframe: IVeltConfirmDialogWireframe;
|
|
2048
2058
|
|
|
2059
|
+
interface IVeltInlineReactionsSectionListWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2060
|
+
variant?: string;
|
|
2061
|
+
}
|
|
2062
|
+
interface IVeltInlineReactionsSectionListWireframe extends React.FC<IVeltInlineReactionsSectionListWireframeProps> {
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
interface IVeltInlineReactionsSectionPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2066
|
+
variant?: string;
|
|
2067
|
+
}
|
|
2068
|
+
interface IVeltInlineReactionsSectionPanelWireframe extends React.FC<IVeltInlineReactionsSectionPanelWireframeProps> {
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
interface IVeltInlineReactionsSectionToolContainerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2072
|
+
variant?: string;
|
|
2073
|
+
}
|
|
2074
|
+
interface IVeltInlineReactionsSectionToolContainerWireframe extends React.FC<IVeltInlineReactionsSectionToolContainerWireframeProps> {
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
interface IVeltInlineReactionsSectionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2078
|
+
variant?: string;
|
|
2079
|
+
}
|
|
2080
|
+
interface IVeltInlineReactionsSectionWireframe extends React.FC<IVeltInlineReactionsSectionWireframeProps> {
|
|
2081
|
+
List: IVeltInlineReactionsSectionListWireframe;
|
|
2082
|
+
Panel: IVeltInlineReactionsSectionPanelWireframe;
|
|
2083
|
+
ToolContainer: IVeltInlineReactionsSectionToolContainerWireframe;
|
|
2084
|
+
}
|
|
2085
|
+
declare const VeltInlineReactionsSectionWireframe: IVeltInlineReactionsSectionWireframe;
|
|
2086
|
+
|
|
2049
2087
|
declare function useVeltClient(): {
|
|
2050
2088
|
client: Velt;
|
|
2051
2089
|
};
|
|
@@ -2143,4 +2181,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
2143
2181
|
updateLiveStateDataId: (newId?: string) => void;
|
|
2144
2182
|
};
|
|
2145
2183
|
|
|
2146
|
-
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, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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 };
|
|
2184
|
+
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, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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.2",
|
|
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": [
|