@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.
Files changed (92) hide show
  1. package/cjs/index.js +84 -134
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
  4. package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
  5. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  6. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  7. package/cjs/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
  8. package/cjs/types/components/VeltAutocomplete/index.d.ts +1 -0
  9. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
  10. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
  12. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
  14. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
  16. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
  18. package/cjs/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
  20. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
  21. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
  22. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
  23. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
  24. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
  25. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
  26. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
  27. package/cjs/types/components/index.d.ts +2 -0
  28. package/cjs/types/hooks/AutocompleteElement.d.ts +3 -0
  29. package/cjs/types/hooks/Client.d.ts +1 -20
  30. package/cjs/types/hooks/CommentElement.d.ts +0 -18
  31. package/cjs/types/hooks/CursorElement.d.ts +0 -6
  32. package/cjs/types/hooks/HuddleElement.d.ts +0 -3
  33. package/cjs/types/hooks/LiveStateSyncElement.d.ts +0 -24
  34. package/cjs/types/hooks/NotificationElement.d.ts +0 -6
  35. package/cjs/types/hooks/PresenceElement.d.ts +0 -6
  36. package/cjs/types/hooks/RecorderElement.d.ts +0 -6
  37. package/cjs/types/hooks/RewriterElement.d.ts +0 -3
  38. package/cjs/types/hooks/SelectionElement.d.ts +0 -3
  39. package/cjs/types/hooks/TagElement.d.ts +0 -6
  40. package/cjs/types/hooks/ViewsElement.d.ts +0 -9
  41. package/cjs/types/hooks/index.d.ts +2 -1
  42. package/esm/index.js +81 -134
  43. package/esm/index.js.map +1 -1
  44. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
  45. package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
  46. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  47. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  48. package/esm/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
  49. package/esm/types/components/VeltAutocomplete/index.d.ts +1 -0
  50. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
  51. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
  52. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
  53. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
  54. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
  55. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
  56. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
  57. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
  58. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
  59. package/esm/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
  60. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
  61. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
  62. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
  63. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
  64. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
  65. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
  66. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
  67. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
  68. package/esm/types/components/index.d.ts +2 -0
  69. package/esm/types/hooks/AutocompleteElement.d.ts +3 -0
  70. package/esm/types/hooks/Client.d.ts +1 -20
  71. package/esm/types/hooks/CommentElement.d.ts +0 -18
  72. package/esm/types/hooks/CursorElement.d.ts +0 -6
  73. package/esm/types/hooks/HuddleElement.d.ts +0 -3
  74. package/esm/types/hooks/LiveStateSyncElement.d.ts +0 -24
  75. package/esm/types/hooks/NotificationElement.d.ts +0 -6
  76. package/esm/types/hooks/PresenceElement.d.ts +0 -6
  77. package/esm/types/hooks/RecorderElement.d.ts +0 -6
  78. package/esm/types/hooks/RewriterElement.d.ts +0 -3
  79. package/esm/types/hooks/SelectionElement.d.ts +0 -3
  80. package/esm/types/hooks/TagElement.d.ts +0 -6
  81. package/esm/types/hooks/ViewsElement.d.ts +0 -9
  82. package/esm/types/hooks/index.d.ts +2 -1
  83. package/index.d.ts +47 -118
  84. package/package.json +1 -1
  85. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  86. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  87. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  88. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
  89. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  90. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  91. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  92. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { Config, Velt, 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 } 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 } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -29,6 +29,8 @@ interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.HTMLAttr
29
29
  showAvatar?: boolean;
30
30
  avatar?: boolean;
31
31
  commentBubbleTargetPinHover?: boolean;
32
+ shadowDom?: boolean;
33
+ variant?: string;
32
34
  }
33
35
  declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
34
36
 
@@ -115,6 +117,8 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
115
117
  name: string;
116
118
  }[];
117
119
  darkMode?: boolean;
120
+ textCommentToolShadowDom?: boolean;
121
+ textCommentToolbarShadowDom?: boolean;
118
122
  }
119
123
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
120
124
 
@@ -181,6 +185,7 @@ interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTMLAttrib
181
185
  onCommentModeChange?: Function;
182
186
  darkMode?: boolean;
183
187
  variant?: string;
188
+ shadowDom?: boolean;
184
189
  }
185
190
  declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
186
191
 
@@ -267,6 +272,7 @@ declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
267
272
  interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
268
273
  tooltipText?: string;
269
274
  darkMode?: boolean;
275
+ shadowDom?: boolean;
270
276
  }
271
277
  declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
272
278
 
@@ -377,6 +383,12 @@ interface IVeltChartCommentProps extends React.DetailedHTMLProps<React.HTMLAttri
377
383
  }
378
384
  declare const VeltChartComment: React.FC<IVeltChartCommentProps>;
379
385
 
386
+ interface IVeltAutocompleteProps {
387
+ hotkey: string;
388
+ listData: AutocompleteItem[];
389
+ }
390
+ declare const VeltAutocomplete: React.FC<IVeltAutocompleteProps>;
391
+
380
392
  interface IVeltWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
381
393
  }
382
394
  declare const VeltWireframe: React.FC<IVeltWireframeProps>;
@@ -399,14 +411,15 @@ interface IVeltCommentDialogBodyProps extends React.DetailedHTMLProps<React.HTML
399
411
  interface IVeltCommentDialogCommentCategoryProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
400
412
  }
401
413
 
402
- interface IVeltCommentDialogCommentCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
414
+ interface IVeltCommentDialogCommentIndexProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
403
415
  }
404
416
 
405
417
  interface IVeltCommentDialogCommentSuggestionStatusProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
406
418
  }
407
419
 
408
420
  interface IVeltCommentDialogComposerActionButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
409
- type?: 'userMentions' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
421
+ type?: 'userMentions' | 'autocomplete' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
422
+ hotkey?: string;
410
423
  }
411
424
 
412
425
  interface IVeltCommentDialogComposerAssignUserProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
@@ -531,7 +544,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
531
544
  AssignMenu: React.FC<IVeltCommentDialogAssignMenuProps>;
532
545
  Body: React.FC<IVeltCommentDialogBodyProps>;
533
546
  CommentCategory: React.FC<IVeltCommentDialogCommentCategoryProps>;
534
- CommentCount: React.FC<IVeltCommentDialogCommentCountProps>;
547
+ CommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
535
548
  CommentSuggestionStatus: React.FC<IVeltCommentDialogCommentSuggestionStatusProps>;
536
549
  Composer: IVeltCommentDialogComposer;
537
550
  CopyLink: React.FC<IVeltCommentDialogCopyLinkProps>;
@@ -627,7 +640,7 @@ interface IVeltCommentsSidebarHeaderProps extends React.DetailedHTMLProps<React.
627
640
  interface IVeltCommentsSidebarListProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
628
641
  }
629
642
 
630
- interface IVeltCommentsSidebarPageModeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
643
+ interface IVeltCommentsSidebarPageModeComposerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
631
644
  }
632
645
 
633
646
  interface IVeltCommentsSidebarSearchProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
@@ -648,7 +661,7 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
648
661
  Filter: IVeltCommentsSidebarFilter;
649
662
  Header: React.FC<IVeltCommentsSidebarHeaderProps>;
650
663
  List: React.FC<IVeltCommentsSidebarListProps>;
651
- PageMode: React.FC<IVeltCommentsSidebarPageModeProps>;
664
+ PageModeComposer: React.FC<IVeltCommentsSidebarPageModeComposerProps>;
652
665
  Search: React.FC<IVeltCommentsSidebarSearchProps>;
653
666
  Status: React.FC<IVeltCommentsSidebarStatusProps>;
654
667
  FilterButton: React.FC<IVeltCommentsSidebarFilterButtonProps>;
@@ -683,6 +696,7 @@ interface IVeltSidebarButtonCommentsCountProps extends React.DetailedHTMLProps<R
683
696
  }
684
697
 
685
698
  interface IVeltSidebarButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
699
+ variant?: string;
686
700
  }
687
701
  declare const VeltSidebarButtonWireframe: React.FC<IVeltSidebarButtonWireframeProps> & {
688
702
  CommentsCount: React.FC<IVeltSidebarButtonCommentsCountProps>;
@@ -739,6 +753,27 @@ declare const VeltUserSelectorDropdown: React.FC<IVeltUserSelectorDropdownProps>
739
753
  Name: React.FC<IVeltUserSelectorDropdownNameProps>;
740
754
  };
741
755
 
756
+ interface IVeltAutocompleteOptionIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
757
+ }
758
+
759
+ interface IVeltAutocompleteOptionNameWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
760
+ }
761
+
762
+ interface IVeltAutocompleteOptionDescriptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
763
+ }
764
+
765
+ interface IVeltAutocompleteOptionErrorIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
766
+ }
767
+
768
+ interface IVeltAutocompleteOptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
769
+ }
770
+ declare const VeltAutocompleteOptionWireframe: React.FC<IVeltAutocompleteOptionWireframeProps> & {
771
+ Icon: React.FC<IVeltAutocompleteOptionIconWireframeProps>;
772
+ Description: React.FC<IVeltAutocompleteOptionDescriptionWireframeProps>;
773
+ ErrorIcon: React.FC<IVeltAutocompleteOptionErrorIconWireframeProps>;
774
+ Name: React.FC<IVeltAutocompleteOptionNameWireframeProps>;
775
+ };
776
+
742
777
  interface IVeltCommentBubbleAvatarProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
743
778
  }
744
779
  declare const VeltCommentBubbleAvatar: React.FC<IVeltCommentBubbleAvatarProps>;
@@ -751,168 +786,62 @@ declare function useVeltClient(): {
751
786
  client: Velt;
752
787
  };
753
788
 
754
- /**
755
- * @beta This hook is in beta
756
- */
757
789
  declare function useClient(): any;
758
- /**
759
- * @beta This hook is in beta
760
- */
761
790
  declare function useIdentify(user: User, userOptions?: Options): void;
762
- /**
763
- * @beta This hook is in beta
764
- */
765
791
  declare function useSetDocumentId(documentId: string): void;
766
- /**
767
- * @beta This hook is in beta
768
- */
769
792
  declare function useUnsetDocumentId(): void;
770
- /**
771
- * @beta This hook is in beta
772
- */
773
- declare function useSetLocation(location: Location$1): void;
774
- /**
775
- * @beta This hook is in beta
776
- */
777
- declare function useAddLocation(location: Location$1): void;
778
-
779
- /**
780
- * @beta This hook is in beta
781
- */
793
+ declare function useSetLocation(location: Location$1, appendLocation?: boolean): void;
794
+
782
795
  declare function useCommentUtils(): CommentElement | undefined;
783
- /**
784
- * @beta This hook is in beta
785
- */
786
796
  declare function useCommentAnnotations(documentId?: string, location?: Location$1): CommentAnnotation[] | null;
787
- /**
788
- * @beta This hook is in beta
789
- */
790
797
  declare function useCommentModeState(): boolean | undefined;
791
- /**
792
- * @beta This hook is in beta
793
- */
794
798
  declare function useCommentAddHandler(): any;
795
- /**
796
- * @beta This hook is in beta
797
- */
798
799
  declare function useCommentUpdateHandler(): any;
799
- /**
800
- * @beta This hook is in beta
801
- */
802
800
  declare function useCommentDialogSidebarClickHandler(): any;
803
801
 
804
- /**
805
- * @beta This hook is in beta
806
- */
807
802
  declare function useCursorUtils(): CursorElement | undefined;
808
- /**
809
- * @beta This hook is in beta
810
- */
811
803
  declare function useCursorUsers(): CursorUser[] | null;
812
804
 
813
- /**
814
- * @beta This hook is in beta
815
- */
816
805
  declare function useHuddleUtils(): any | undefined;
817
806
 
818
- /**
819
- * @beta This hook is in beta
820
- */
821
807
  declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
822
- /**
823
- * @beta This hook is in beta
824
- */
825
808
  declare function useLiveStateData(liveStateDataId?: string): any;
826
- /**
827
- * @beta This hook is in beta
828
- */
829
809
  declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): any;
830
- /**
831
- * @beta This hook is in beta
832
- */
833
810
  declare function useUserEditorState(): UserEditorAccess | null;
834
- /**
835
- * @beta This hook is in beta
836
- */
837
811
  declare function useEditor(): User | null;
838
- /**
839
- * @beta This hook is in beta
840
- */
841
812
  declare function useEditorAccessTimer(): EditorAccessTimer;
842
- /**
843
- * @beta This hook is in beta
844
- */
845
813
  declare function useEditorAccessRequestHandler(): {
846
814
  requestStatus: string;
847
815
  requestedBy: User;
848
816
  } | null;
849
- /**
850
- * @beta This hook is in beta
851
- */
852
817
  declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, options?: {
853
818
  syncDuration?: number;
854
819
  resetLiveState?: boolean;
855
820
  }): [T, (value: T) => void];
856
821
 
857
- /**
858
- * @beta This hook is in beta
859
- */
860
822
  declare function usePresenceUtils(): PresenceElement | undefined;
861
- /**
862
- * @beta This hook is in beta
863
- */
864
823
  declare function usePresenceUsers(): PresenceUser[] | null;
865
824
 
866
- /**
867
- * @beta This hook is in beta
868
- */
869
825
  declare function useRecorderUtils(): RecorderElement | undefined;
870
- /**
871
- * @beta This hook is in beta
872
- */
873
826
  declare function useRecorderAddHandler(): any;
874
827
 
875
- /**
876
- * @beta This hook is in beta
877
- */
878
828
  declare function useAIRewriterUtils(): RewriterElement | undefined;
879
829
 
880
- /**
881
- * @beta This hook is in beta
882
- */
883
830
  declare function useLiveSelectionUtils(): SelectionElement | undefined;
884
831
 
885
- /**
886
- * @beta This hook is in beta
887
- */
888
832
  declare function useTagUtils(): TagElement | undefined;
889
- /**
890
- * @beta This hook is in beta
891
- */
892
833
  declare function useTagAnnotations(documentId?: string, location?: Location$1): TagAnnotation[] | null;
893
834
 
894
- /**
895
- * @beta This hook is in beta
896
- */
897
835
  declare function useViewsUtils(): ViewsElement | undefined;
898
- /**
899
- * @beta This hook is in beta
900
- */
901
836
  declare function useUniqueViewsByUser(clientLocationId?: string): ViewsByUser | null;
902
- /**
903
- * @beta This hook is in beta
904
- */
905
837
  declare function useUniqueViewsByDate(clientLocationId?: string): ViewsByDate | null;
906
838
 
907
- /**
908
- * @beta This hook is in beta
909
- */
910
839
  declare function useNotificationUtils(): NotificationElement | undefined;
911
- /**
912
- * @beta This hook is in beta
913
- */
914
840
  declare function useNotificationsData(): Notification[] | null;
915
841
 
842
+ declare function useAutocompleteUtils(): AutocompleteElement | undefined;
843
+ declare function useAutocompleteChipClick(): any;
844
+
916
845
  declare type LiveStateMiddlewareConfig = {
917
846
  allowedActionTypes?: Set<string>;
918
847
  disabledActionTypes?: Set<string>;
@@ -924,4 +853,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
924
853
  updateLiveStateDataId: (newId?: string) => void;
925
854
  };
926
855
 
927
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleAvatar, VeltCommentBubbleCommentsCount, VeltCommentDialogWireframe, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, 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, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useViewsUtils };
856
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteOptionWireframe, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleAvatar, VeltCommentBubbleCommentsCount, VeltCommentDialogWireframe, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, 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, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useViewsUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "1.0.119",
3
+ "version": "1.0.121",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface IVeltCommentDialogCommentCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- }
4
- declare const VeltCommentDialogCommentCount: React.FC<IVeltCommentDialogCommentCountProps>;
5
- export default VeltCommentDialogCommentCount;
@@ -1 +0,0 @@
1
- export { default } from "./VeltCommentDialogCommentCount";
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface IVeltCommentsSidebarPageModeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- }
4
- declare const VeltCommentsSidebarPageMode: React.FC<IVeltCommentsSidebarPageModeProps>;
5
- export default VeltCommentsSidebarPageMode;
@@ -1 +0,0 @@
1
- export { default } from "./VeltCommentsSidebarPageMode";
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface IVeltCommentDialogCommentCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- }
4
- declare const VeltCommentDialogCommentCount: React.FC<IVeltCommentDialogCommentCountProps>;
5
- export default VeltCommentDialogCommentCount;
@@ -1 +0,0 @@
1
- export { default } from "./VeltCommentDialogCommentCount";
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface IVeltCommentsSidebarPageModeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- }
4
- declare const VeltCommentsSidebarPageMode: React.FC<IVeltCommentsSidebarPageModeProps>;
5
- export default VeltCommentsSidebarPageMode;
@@ -1 +0,0 @@
1
- export { default } from "./VeltCommentsSidebarPageMode";