@veltdev/react 1.0.125 → 1.0.127

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.
Files changed (22) hide show
  1. package/cjs/index.js +15 -3
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  4. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/VeltCommentsSidebarPanel.d.ts +5 -0
  5. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/index.d.ts +1 -0
  6. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/VeltCommentsSidebarSkeleton.d.ts +5 -0
  7. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/index.d.ts +1 -0
  8. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +4 -0
  9. package/cjs/types/constants.d.ts +1 -1
  10. package/cjs/types/hooks/AutocompleteElement.d.ts +2 -2
  11. package/esm/index.js +15 -3
  12. package/esm/index.js.map +1 -1
  13. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  14. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/VeltCommentsSidebarPanel.d.ts +5 -0
  15. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPanel/index.d.ts +1 -0
  16. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/VeltCommentsSidebarSkeleton.d.ts +5 -0
  17. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarSkeleton/index.d.ts +1 -0
  18. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +4 -0
  19. package/esm/types/constants.d.ts +1 -1
  20. package/esm/types/hooks/AutocompleteElement.d.ts +2 -2
  21. package/index.d.ts +11 -2
  22. 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;
@@ -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;
@@ -1,2 +1,2 @@
1
- export declare const VELT_SDK_VERSION = "1.0.141";
1
+ export declare const VELT_SDK_VERSION = "1.0.144";
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(): any;
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(): any;
853
+ declare function useAutocompleteChipClick(): AutocompleteChipData | undefined;
845
854
 
846
855
  declare type LiveStateMiddlewareConfig = {
847
856
  allowedActionTypes?: Set<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "1.0.125",
3
+ "version": "1.0.127",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",