@veltdev/react 1.0.119 → 1.0.121
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 +84 -134
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
- package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/cjs/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
- package/cjs/types/components/VeltAutocomplete/index.d.ts +1 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
- package/cjs/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
- package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
- package/cjs/types/components/index.d.ts +2 -0
- package/cjs/types/hooks/AutocompleteElement.d.ts +3 -0
- package/cjs/types/hooks/Client.d.ts +1 -20
- package/cjs/types/hooks/CommentElement.d.ts +0 -18
- package/cjs/types/hooks/CursorElement.d.ts +0 -6
- package/cjs/types/hooks/HuddleElement.d.ts +0 -3
- package/cjs/types/hooks/LiveStateSyncElement.d.ts +0 -24
- package/cjs/types/hooks/NotificationElement.d.ts +0 -6
- package/cjs/types/hooks/PresenceElement.d.ts +0 -6
- package/cjs/types/hooks/RecorderElement.d.ts +0 -6
- package/cjs/types/hooks/RewriterElement.d.ts +0 -3
- package/cjs/types/hooks/SelectionElement.d.ts +0 -3
- package/cjs/types/hooks/TagElement.d.ts +0 -6
- package/cjs/types/hooks/ViewsElement.d.ts +0 -9
- package/cjs/types/hooks/index.d.ts +2 -1
- package/esm/index.js +81 -134
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
- package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
- package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/esm/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
- package/esm/types/components/VeltAutocomplete/index.d.ts +1 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
- package/esm/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
- package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
- package/esm/types/components/index.d.ts +2 -0
- package/esm/types/hooks/AutocompleteElement.d.ts +3 -0
- package/esm/types/hooks/Client.d.ts +1 -20
- package/esm/types/hooks/CommentElement.d.ts +0 -18
- package/esm/types/hooks/CursorElement.d.ts +0 -6
- package/esm/types/hooks/HuddleElement.d.ts +0 -3
- package/esm/types/hooks/LiveStateSyncElement.d.ts +0 -24
- package/esm/types/hooks/NotificationElement.d.ts +0 -6
- package/esm/types/hooks/PresenceElement.d.ts +0 -6
- package/esm/types/hooks/RecorderElement.d.ts +0 -6
- package/esm/types/hooks/RewriterElement.d.ts +0 -3
- package/esm/types/hooks/SelectionElement.d.ts +0 -3
- package/esm/types/hooks/TagElement.d.ts +0 -6
- package/esm/types/hooks/ViewsElement.d.ts +0 -9
- package/esm/types/hooks/index.d.ts +2 -1
- package/index.d.ts +47 -118
- package/package.json +1 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
|
@@ -7,6 +7,8 @@ export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.H
|
|
|
7
7
|
showAvatar?: boolean;
|
|
8
8
|
avatar?: boolean;
|
|
9
9
|
commentBubbleTargetPinHover?: boolean;
|
|
10
|
+
shadowDom?: boolean;
|
|
11
|
+
variant?: string;
|
|
10
12
|
}
|
|
11
13
|
declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
|
|
12
14
|
export default SnippylyCommentBubble;
|
|
@@ -4,6 +4,7 @@ export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTM
|
|
|
4
4
|
onCommentModeChange?: Function;
|
|
5
5
|
darkMode?: boolean;
|
|
6
6
|
variant?: string;
|
|
7
|
+
shadowDom?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
|
|
9
10
|
export default SnippylyCommentTool;
|
|
@@ -82,6 +82,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
82
82
|
name: string;
|
|
83
83
|
}[];
|
|
84
84
|
darkMode?: boolean;
|
|
85
|
+
textCommentToolShadowDom?: boolean;
|
|
86
|
+
textCommentToolbarShadowDom?: boolean;
|
|
85
87
|
}
|
|
86
88
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
87
89
|
export default SnippylyComments;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
3
|
tooltipText?: string;
|
|
4
4
|
darkMode?: boolean;
|
|
5
|
+
shadowDom?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
7
8
|
export default SnippylySidebarButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AutocompleteItem } from '@veltdev/types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IVeltAutocompleteProps {
|
|
4
|
+
hotkey: string;
|
|
5
|
+
listData: AutocompleteItem[];
|
|
6
|
+
}
|
|
7
|
+
declare const VeltAutocomplete: React.FC<IVeltAutocompleteProps>;
|
|
8
|
+
export default VeltAutocomplete;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltAutocomplete";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltAutocompleteOptionDescriptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltAutocompleteOptionDescriptionWireframe: React.FC<IVeltAutocompleteOptionDescriptionWireframeProps>;
|
|
5
|
+
export default VeltAutocompleteOptionDescriptionWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltAutocompleteOptionDescriptionWireframe';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltAutocompleteOptionErrorIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltAutocompleteOptionErrorIconWireframe: React.FC<IVeltAutocompleteOptionErrorIconWireframeProps>;
|
|
5
|
+
export default VeltAutocompleteOptionErrorIconWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltAutocompleteOptionErrorIconWireframe';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltAutocompleteOptionIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltAutocompleteOptionIconWireframe: React.FC<IVeltAutocompleteOptionIconWireframeProps>;
|
|
5
|
+
export default VeltAutocompleteOptionIconWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltAutocompleteOptionIconWireframe';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltAutocompleteOptionNameWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltAutocompleteOptionNameWireframe: React.FC<IVeltAutocompleteOptionNameWireframeProps>;
|
|
5
|
+
export default VeltAutocompleteOptionNameWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltAutocompleteOptionNameWireframe';
|
package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltAutocompleteOptionIconWireframeProps } from './VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe';
|
|
3
|
+
import { IVeltAutocompleteOptionNameWireframeProps } from './VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe';
|
|
4
|
+
import { IVeltAutocompleteOptionDescriptionWireframeProps } from './VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe';
|
|
5
|
+
import { IVeltAutocompleteOptionErrorIconWireframeProps } from './VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe';
|
|
6
|
+
export interface IVeltAutocompleteOptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
7
|
+
}
|
|
8
|
+
declare const VeltAutocompleteOptionWireframe: React.FC<IVeltAutocompleteOptionWireframeProps> & {
|
|
9
|
+
Icon: React.FC<IVeltAutocompleteOptionIconWireframeProps>;
|
|
10
|
+
Description: React.FC<IVeltAutocompleteOptionDescriptionWireframeProps>;
|
|
11
|
+
ErrorIcon: React.FC<IVeltAutocompleteOptionErrorIconWireframeProps>;
|
|
12
|
+
Name: React.FC<IVeltAutocompleteOptionNameWireframeProps>;
|
|
13
|
+
};
|
|
14
|
+
export default VeltAutocompleteOptionWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltAutocompleteOptionWireframe';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogCommentIndexProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltCommentDialogCommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
|
|
5
|
+
export default VeltCommentDialogCommentIndex;
|
package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogCommentIndex";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltCommentDialogComposerActionButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
-
type?: 'userMentions' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
|
|
3
|
+
type?: 'userMentions' | 'autocomplete' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
|
|
4
|
+
hotkey?: string;
|
|
4
5
|
}
|
|
5
6
|
declare const VeltCommentDialogComposerActionButton: React.FC<IVeltCommentDialogComposerActionButtonProps>;
|
|
6
7
|
export default VeltCommentDialogComposerActionButton;
|
|
@@ -5,7 +5,7 @@ import { IVeltCommentDialogAssigneeBannerProps } from "./VeltCommentDialogAssign
|
|
|
5
5
|
import { IVeltCommentDialogAssignMenuProps } from "./VeltCommentDialogAssignMenu/VeltCommentDialogAssignMenu";
|
|
6
6
|
import { IVeltCommentDialogBodyProps } from "./VeltCommentDialogBody/VeltCommentDialogBody";
|
|
7
7
|
import { IVeltCommentDialogCommentCategoryProps } from "./VeltCommentDialogCommentCategory/VeltCommentDialogCommentCategory";
|
|
8
|
-
import {
|
|
8
|
+
import { IVeltCommentDialogCommentIndexProps } from "./VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex";
|
|
9
9
|
import { IVeltCommentDialogCommentSuggestionStatusProps } from "./VeltCommentDialogCommentSuggestionStatus/VeltCommentDialogCommentSuggestionStatus";
|
|
10
10
|
import { IVeltCommentDialogComposer } from "./VeltCommentDialogComposer/VeltCommentDialogComposer";
|
|
11
11
|
import { IVeltCommentDialogCopyLinkProps } from "./VeltCommentDialogCopyLink/VeltCommentDialogCopyLink";
|
|
@@ -34,7 +34,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
|
|
|
34
34
|
AssignMenu: React.FC<IVeltCommentDialogAssignMenuProps>;
|
|
35
35
|
Body: React.FC<IVeltCommentDialogBodyProps>;
|
|
36
36
|
CommentCategory: React.FC<IVeltCommentDialogCommentCategoryProps>;
|
|
37
|
-
|
|
37
|
+
CommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
|
|
38
38
|
CommentSuggestionStatus: React.FC<IVeltCommentDialogCommentSuggestionStatusProps>;
|
|
39
39
|
Composer: IVeltCommentDialogComposer;
|
|
40
40
|
CopyLink: React.FC<IVeltCommentDialogCopyLinkProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentsSidebarPageModeComposerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const VeltCommentsSidebarPageModeComposer: React.FC<IVeltCommentsSidebarPageModeComposerProps>;
|
|
5
|
+
export default VeltCommentsSidebarPageModeComposer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarPageModeComposer";
|
|
@@ -4,7 +4,7 @@ import { IVeltCommentsSidebarEmptyPlaceholderProps } from './VeltCommentsSidebar
|
|
|
4
4
|
import { IVeltCommentsSidebarFilter } from './VeltCommentsSidebarFilter/VeltCommentsSidebarFilter';
|
|
5
5
|
import { IVeltCommentsSidebarHeaderProps } from './VeltCommentsSidebarHeader/VeltCommentsSidebarHeader';
|
|
6
6
|
import { IVeltCommentsSidebarListProps } from './VeltCommentsSidebarList/VeltCommentsSidebarList';
|
|
7
|
-
import {
|
|
7
|
+
import { IVeltCommentsSidebarPageModeComposerProps } from './VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer';
|
|
8
8
|
import { IVeltCommentsSidebarSearchProps } from './VeltCommentsSidebarSearch/VeltCommentsSidebarSearch';
|
|
9
9
|
import { IVeltCommentsSidebarStatusProps } from './VeltCommentsSidebarStatus/VeltCommentsSidebarStatus';
|
|
10
10
|
import { IVeltCommentsSidebarFilterButtonProps } from './VeltCommentsSidebarFilterButton/VeltCommentsSidebarFilterButton';
|
|
@@ -17,7 +17,7 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
|
|
|
17
17
|
Filter: IVeltCommentsSidebarFilter;
|
|
18
18
|
Header: React.FC<IVeltCommentsSidebarHeaderProps>;
|
|
19
19
|
List: React.FC<IVeltCommentsSidebarListProps>;
|
|
20
|
-
|
|
20
|
+
PageModeComposer: React.FC<IVeltCommentsSidebarPageModeComposerProps>;
|
|
21
21
|
Search: React.FC<IVeltCommentsSidebarSearchProps>;
|
|
22
22
|
Status: React.FC<IVeltCommentsSidebarStatusProps>;
|
|
23
23
|
FilterButton: React.FC<IVeltCommentsSidebarFilterButtonProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltSidebarButtonCommentsCountProps } from './VeltSidebarButtonCommentsCount/VeltSidebarButtonCommentsCount';
|
|
3
3
|
export interface IVeltSidebarButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
4
|
+
variant?: string;
|
|
4
5
|
}
|
|
5
6
|
declare const VeltSidebarButtonWireframe: React.FC<IVeltSidebarButtonWireframeProps> & {
|
|
6
7
|
CommentsCount: React.FC<IVeltSidebarButtonCommentsCountProps>;
|
|
@@ -28,6 +28,7 @@ export { default as VeltNotificationsHistoryPanel } from "./VeltNotificationsHis
|
|
|
28
28
|
export { default as VeltNivoChartComments } from "./VeltNivoChartComments";
|
|
29
29
|
export { default as VeltHighChartComments } from "./VeltHighChartComments";
|
|
30
30
|
export { default as VeltChartComment } from "./VeltChartComment";
|
|
31
|
+
export { default as VeltAutocomplete } from "./VeltAutocomplete";
|
|
31
32
|
export { default as VeltWireframe } from "./VeltWireframe";
|
|
32
33
|
export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
|
|
33
34
|
export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
|
|
@@ -37,5 +38,6 @@ export { default as VeltCommentToolWireframe } from "./VeltCommentToolWireframe"
|
|
|
37
38
|
export { default as VeltTextCommentToolWireframe } from "./VeltTextCommentToolWireframe";
|
|
38
39
|
export { default as VeltTextCommentToolbarWireframe } from "./VeltTextCommentToolbarWireframe";
|
|
39
40
|
export { default as VeltUserSelectorDropdownWireframe } from "./VeltUserSelectorDropdownWireframe";
|
|
41
|
+
export { default as VeltAutocompleteOptionWireframe } from "./VeltAutocompleteOptionWireframe";
|
|
40
42
|
export { default as VeltCommentBubbleAvatar } from "./VeltCommentBubble/VeltCommentBubbleAvatar";
|
|
41
43
|
export { default as VeltCommentBubbleCommentsCount } from "./VeltCommentBubble/VeltCommentBubbleCommentsCount";
|
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
import { Location, User, Options } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useClient(): any;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useIdentify(user: User, userOptions?: Options): void;
|
|
10
|
-
/**
|
|
11
|
-
* @beta This hook is in beta
|
|
12
|
-
*/
|
|
13
4
|
export declare function useSetDocumentId(documentId: string): void;
|
|
14
|
-
/**
|
|
15
|
-
* @beta This hook is in beta
|
|
16
|
-
*/
|
|
17
5
|
export declare function useUnsetDocumentId(): void;
|
|
18
|
-
|
|
19
|
-
* @beta This hook is in beta
|
|
20
|
-
*/
|
|
21
|
-
export declare function useSetLocation(location: Location): void;
|
|
22
|
-
/**
|
|
23
|
-
* @beta This hook is in beta
|
|
24
|
-
*/
|
|
25
|
-
export declare function useAddLocation(location: Location): void;
|
|
6
|
+
export declare function useSetLocation(location: Location, appendLocation?: boolean): void;
|
|
@@ -1,25 +1,7 @@
|
|
|
1
1
|
import { CommentAnnotation, CommentElement, Location } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useCommentUtils(): CommentElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useCommentAnnotations(documentId?: string, location?: Location): CommentAnnotation[] | null;
|
|
10
|
-
/**
|
|
11
|
-
* @beta This hook is in beta
|
|
12
|
-
*/
|
|
13
4
|
export declare function useCommentModeState(): boolean | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* @beta This hook is in beta
|
|
16
|
-
*/
|
|
17
5
|
export declare function useCommentAddHandler(): any;
|
|
18
|
-
/**
|
|
19
|
-
* @beta This hook is in beta
|
|
20
|
-
*/
|
|
21
6
|
export declare function useCommentUpdateHandler(): any;
|
|
22
|
-
/**
|
|
23
|
-
* @beta This hook is in beta
|
|
24
|
-
*/
|
|
25
7
|
export declare function useCommentDialogSidebarClickHandler(): any;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { CursorElement, CursorUser } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useCursorUtils(): CursorElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useCursorUsers(): CursorUser[] | null;
|
|
@@ -1,38 +1,14 @@
|
|
|
1
1
|
import { EditorAccessTimer, LiveStateSyncElement, User, UserEditorAccess } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useLiveStateData(liveStateDataId?: string): any;
|
|
10
|
-
/**
|
|
11
|
-
* @beta This hook is in beta
|
|
12
|
-
*/
|
|
13
4
|
export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): any;
|
|
14
|
-
/**
|
|
15
|
-
* @beta This hook is in beta
|
|
16
|
-
*/
|
|
17
5
|
export declare function useUserEditorState(): UserEditorAccess | null;
|
|
18
|
-
/**
|
|
19
|
-
* @beta This hook is in beta
|
|
20
|
-
*/
|
|
21
6
|
export declare function useEditor(): User | null;
|
|
22
|
-
/**
|
|
23
|
-
* @beta This hook is in beta
|
|
24
|
-
*/
|
|
25
7
|
export declare function useEditorAccessTimer(): EditorAccessTimer;
|
|
26
|
-
/**
|
|
27
|
-
* @beta This hook is in beta
|
|
28
|
-
*/
|
|
29
8
|
export declare function useEditorAccessRequestHandler(): {
|
|
30
9
|
requestStatus: string;
|
|
31
10
|
requestedBy: User;
|
|
32
11
|
} | null;
|
|
33
|
-
/**
|
|
34
|
-
* @beta This hook is in beta
|
|
35
|
-
*/
|
|
36
12
|
export declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, options?: {
|
|
37
13
|
syncDuration?: number;
|
|
38
14
|
resetLiveState?: boolean;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { Notification, NotificationElement } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useNotificationUtils(): NotificationElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useNotificationsData(): Notification[] | null;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { PresenceElement, PresenceUser } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function usePresenceUtils(): PresenceElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function usePresenceUsers(): PresenceUser[] | null;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { RecorderElement } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useRecorderUtils(): RecorderElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useRecorderAddHandler(): any;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { Location, TagAnnotation, TagElement } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useTagUtils(): TagElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useTagAnnotations(documentId?: string, location?: Location): TagAnnotation[] | null;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { ViewsByDate, ViewsByUser, ViewsElement } from "@veltdev/types";
|
|
2
|
-
/**
|
|
3
|
-
* @beta This hook is in beta
|
|
4
|
-
*/
|
|
5
2
|
export declare function useViewsUtils(): ViewsElement | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* @beta This hook is in beta
|
|
8
|
-
*/
|
|
9
3
|
export declare function useUniqueViewsByUser(clientLocationId?: string): ViewsByUser | null;
|
|
10
|
-
/**
|
|
11
|
-
* @beta This hook is in beta
|
|
12
|
-
*/
|
|
13
4
|
export declare function useUniqueViewsByDate(clientLocationId?: string): ViewsByDate | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useSetLocation, useSetDocumentId, useUnsetDocumentId, useIdentify, useClient, } from './Client';
|
|
2
2
|
export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, } from './CommentElement';
|
|
3
3
|
export { useCursorUtils, useCursorUsers, } from './CursorElement';
|
|
4
4
|
export { useHuddleUtils, } from './HuddleElement';
|
|
@@ -10,3 +10,4 @@ export { useLiveSelectionUtils, } from './SelectionElement';
|
|
|
10
10
|
export { useTagUtils, useTagAnnotations, } from './TagElement';
|
|
11
11
|
export { useViewsUtils, useUniqueViewsByDate, useUniqueViewsByUser, } from './ViewsElement';
|
|
12
12
|
export { useNotificationUtils, useNotificationsData, } from './NotificationElement';
|
|
13
|
+
export { useAutocompleteUtils, useAutocompleteChipClick, } from './AutocompleteElement';
|