@veltdev/react 1.0.124 → 1.0.126
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 +15 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/VeltCommentsSidebarPanel.d.ts +5 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/VeltCommentsSidebarSkeleton.d.ts +5 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +4 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/AutocompleteElement.d.ts +2 -2
- package/esm/index.js +15 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/VeltCommentsSidebarPanel.d.ts +5 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/VeltCommentsSidebarSkeleton.d.ts +5 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +4 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/AutocompleteElement.d.ts +2 -2
- package/index.d.ts +11 -2
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
38
38
|
ghostComments?: boolean;
|
|
39
39
|
ghostCommentsIndicator?: boolean;
|
|
40
40
|
commentsOnDom?: boolean;
|
|
41
|
+
resolvedCommentsOnDom?: boolean;
|
|
41
42
|
commentTool?: boolean;
|
|
42
43
|
sidebarButtonOnCommentDialog?: boolean;
|
|
43
44
|
deviceIndicatorOnCommentPins?: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentsSidebarPanelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltCommentsSidebarPanel: React.FC<IVeltCommentsSidebarPanelProps>;
|
|
5
|
+
export default VeltCommentsSidebarPanel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltCommentsSidebarPanel';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentsSidebarSkeletonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltCommentsSidebarSkeleton: React.FC<IVeltCommentsSidebarSkeletonProps>;
|
|
5
|
+
export default VeltCommentsSidebarSkeleton;
|
package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltCommentsSidebarSkeleton';
|
|
@@ -8,6 +8,8 @@ import { IVeltCommentsSidebarPageModeComposerProps } from './VeltCommentsSidebar
|
|
|
8
8
|
import { IVeltCommentsSidebarSearchProps } from './VeltCommentsSidebarSearch/VeltCommentsSidebarSearch';
|
|
9
9
|
import { IVeltCommentsSidebarStatusProps } from './VeltCommentsSidebarStatus/VeltCommentsSidebarStatus';
|
|
10
10
|
import { IVeltCommentsSidebarFilterButtonProps } from './VeltCommentsSidebarFilterButton/VeltCommentsSidebarFilterButton';
|
|
11
|
+
import { IVeltCommentsSidebarSkeletonProps } from './VeltCommentsSidebarSkeleton/VeltCommentsSidebarSkeleton';
|
|
12
|
+
import { IVeltCommentsSidebarPanelProps } from './VeltCommentsSidebarPanel/VeltCommentsSidebarPanel';
|
|
11
13
|
export interface IVeltCommentsSidebarWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
12
14
|
variant?: string;
|
|
13
15
|
}
|
|
@@ -21,5 +23,7 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
|
|
|
21
23
|
Search: React.FC<IVeltCommentsSidebarSearchProps>;
|
|
22
24
|
Status: React.FC<IVeltCommentsSidebarStatusProps>;
|
|
23
25
|
FilterButton: React.FC<IVeltCommentsSidebarFilterButtonProps>;
|
|
26
|
+
Skeleton: React.FC<IVeltCommentsSidebarSkeletonProps>;
|
|
27
|
+
Panel: React.FC<IVeltCommentsSidebarPanelProps>;
|
|
24
28
|
};
|
|
25
29
|
export default VeltCommentsSidebarWireframe;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VELT_SDK_VERSION = "1.0.
|
|
1
|
+
export declare const VELT_SDK_VERSION = "1.0.143";
|
|
2
2
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AutocompleteElement } from "@veltdev/types";
|
|
1
|
+
import { AutocompleteChipData, AutocompleteElement } from "@veltdev/types";
|
|
2
2
|
export declare function useAutocompleteUtils(): AutocompleteElement | undefined;
|
|
3
|
-
export declare function useAutocompleteChipClick():
|
|
3
|
+
export declare function useAutocompleteChipClick(): AutocompleteChipData | undefined;
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Config, Velt, AutocompleteItem, User, Options, Location as Location$1, CommentElement, CommentAnnotation, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement } from '@veltdev/types';
|
|
3
|
+
import { Config, Velt, AutocompleteItem, User, Options, Location as Location$1, CommentElement, CommentAnnotation, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, PresenceElement, PresenceUser, RecorderElement, RewriterElement, SelectionElement, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData } from '@veltdev/types';
|
|
4
4
|
|
|
5
5
|
interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
6
|
apiKey: string;
|
|
@@ -73,6 +73,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
73
73
|
ghostComments?: boolean;
|
|
74
74
|
ghostCommentsIndicator?: boolean;
|
|
75
75
|
commentsOnDom?: boolean;
|
|
76
|
+
resolvedCommentsOnDom?: boolean;
|
|
76
77
|
commentTool?: boolean;
|
|
77
78
|
sidebarButtonOnCommentDialog?: boolean;
|
|
78
79
|
deviceIndicatorOnCommentPins?: boolean;
|
|
@@ -653,6 +654,12 @@ interface IVeltCommentsSidebarStatusProps extends React.DetailedHTMLProps<React.
|
|
|
653
654
|
interface IVeltCommentsSidebarFilterButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
654
655
|
}
|
|
655
656
|
|
|
657
|
+
interface IVeltCommentsSidebarSkeletonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
interface IVeltCommentsSidebarPanelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
661
|
+
}
|
|
662
|
+
|
|
656
663
|
interface IVeltCommentsSidebarWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
657
664
|
variant?: string;
|
|
658
665
|
}
|
|
@@ -666,6 +673,8 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
|
|
|
666
673
|
Search: React.FC<IVeltCommentsSidebarSearchProps>;
|
|
667
674
|
Status: React.FC<IVeltCommentsSidebarStatusProps>;
|
|
668
675
|
FilterButton: React.FC<IVeltCommentsSidebarFilterButtonProps>;
|
|
676
|
+
Skeleton: React.FC<IVeltCommentsSidebarSkeletonProps>;
|
|
677
|
+
Panel: React.FC<IVeltCommentsSidebarPanelProps>;
|
|
669
678
|
};
|
|
670
679
|
|
|
671
680
|
interface IVeltCommentPinGhostCommentIndicatorProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
@@ -841,7 +850,7 @@ declare function useNotificationUtils(): NotificationElement | undefined;
|
|
|
841
850
|
declare function useNotificationsData(): Notification[] | null;
|
|
842
851
|
|
|
843
852
|
declare function useAutocompleteUtils(): AutocompleteElement | undefined;
|
|
844
|
-
declare function useAutocompleteChipClick():
|
|
853
|
+
declare function useAutocompleteChipClick(): AutocompleteChipData | undefined;
|
|
845
854
|
|
|
846
855
|
declare type LiveStateMiddlewareConfig = {
|
|
847
856
|
allowedActionTypes?: Set<string>;
|