@veltdev/react 1.0.120 → 1.0.122

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 (36) hide show
  1. package/cjs/index.js +3 -124
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/constants.d.ts +1 -1
  4. package/cjs/types/hooks/AutocompleteElement.d.ts +0 -6
  5. package/cjs/types/hooks/Client.d.ts +1 -20
  6. package/cjs/types/hooks/CommentElement.d.ts +0 -18
  7. package/cjs/types/hooks/CursorElement.d.ts +0 -6
  8. package/cjs/types/hooks/HuddleElement.d.ts +0 -3
  9. package/cjs/types/hooks/LiveStateSyncElement.d.ts +0 -24
  10. package/cjs/types/hooks/NotificationElement.d.ts +0 -6
  11. package/cjs/types/hooks/PresenceElement.d.ts +0 -6
  12. package/cjs/types/hooks/RecorderElement.d.ts +0 -6
  13. package/cjs/types/hooks/RewriterElement.d.ts +0 -3
  14. package/cjs/types/hooks/SelectionElement.d.ts +0 -3
  15. package/cjs/types/hooks/TagElement.d.ts +0 -6
  16. package/cjs/types/hooks/ViewsElement.d.ts +0 -9
  17. package/cjs/types/hooks/index.d.ts +1 -1
  18. package/esm/index.js +4 -124
  19. package/esm/index.js.map +1 -1
  20. package/esm/types/constants.d.ts +1 -1
  21. package/esm/types/hooks/AutocompleteElement.d.ts +0 -6
  22. package/esm/types/hooks/Client.d.ts +1 -20
  23. package/esm/types/hooks/CommentElement.d.ts +0 -18
  24. package/esm/types/hooks/CursorElement.d.ts +0 -6
  25. package/esm/types/hooks/HuddleElement.d.ts +0 -3
  26. package/esm/types/hooks/LiveStateSyncElement.d.ts +0 -24
  27. package/esm/types/hooks/NotificationElement.d.ts +0 -6
  28. package/esm/types/hooks/PresenceElement.d.ts +0 -6
  29. package/esm/types/hooks/RecorderElement.d.ts +0 -6
  30. package/esm/types/hooks/RewriterElement.d.ts +0 -3
  31. package/esm/types/hooks/SelectionElement.d.ts +0 -3
  32. package/esm/types/hooks/TagElement.d.ts +0 -6
  33. package/esm/types/hooks/ViewsElement.d.ts +0 -9
  34. package/esm/types/hooks/index.d.ts +1 -1
  35. package/index.d.ts +3 -118
  36. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- export declare const VELT_SDK_VERSION = "1.0.120";
1
+ export declare const VELT_SDK_VERSION = "1.0.139";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
@@ -1,9 +1,3 @@
1
1
  import { AutocompleteElement } from "@veltdev/types";
2
- /**
3
- * @beta This hook is in beta
4
- */
5
2
  export declare function useAutocompleteUtils(): AutocompleteElement | undefined;
6
- /**
7
- * @beta This hook is in beta
8
- */
9
3
  export declare function useAutocompleteChipClick(): any;
@@ -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,4 +1 @@
1
- /**
2
- * @beta This hook is in beta
3
- */
4
1
  export declare function useHuddleUtils(): any | undefined;
@@ -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,5 +1,2 @@
1
1
  import { RewriterElement } from "@veltdev/types";
2
- /**
3
- * @beta This hook is in beta
4
- */
5
2
  export declare function useAIRewriterUtils(): RewriterElement | undefined;
@@ -1,5 +1,2 @@
1
1
  import { SelectionElement } from "@veltdev/types";
2
- /**
3
- * @beta This hook is in beta
4
- */
5
2
  export declare function useLiveSelectionUtils(): SelectionElement | undefined;
@@ -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 { useAddLocation, useSetLocation, useSetDocumentId, useUnsetDocumentId, useIdentify, useClient, } from './Client';
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';
package/esm/index.js CHANGED
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
132
  }
133
133
  };
134
134
 
135
- var VELT_SDK_VERSION = '1.0.120';
135
+ var VELT_SDK_VERSION = '1.0.139';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
 
138
138
  var SnippylyProvider = function (props) {
@@ -1688,9 +1688,6 @@ var VeltCommentBubbleCommentsCount = function (props) {
1688
1688
  return (React.createElement("velt-comment-bubble-comments-count-wireframe", null, children));
1689
1689
  };
1690
1690
 
1691
- /**
1692
- * @beta This hook is in beta
1693
- */
1694
1691
  function useClient() {
1695
1692
  var client = useVeltClient().client;
1696
1693
  var _a = React.useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -1701,55 +1698,31 @@ function useClient() {
1701
1698
  }, [client, setVeltClient, veltClient]);
1702
1699
  return veltClient;
1703
1700
  }
1704
- /**
1705
- * @beta This hook is in beta
1706
- */
1707
1701
  function useIdentify(user, userOptions) {
1708
1702
  var client = useVeltClient().client;
1709
1703
  React.useEffect(function () {
1710
1704
  client && client.identify(user, userOptions);
1711
1705
  }, [client]);
1712
1706
  }
1713
- /**
1714
- * @beta This hook is in beta
1715
- */
1716
1707
  function useSetDocumentId(documentId) {
1717
1708
  var client = useVeltClient().client;
1718
1709
  React.useEffect(function () {
1719
1710
  client && client.setDocumentId(documentId);
1720
1711
  }, [client]);
1721
1712
  }
1722
- /**
1723
- * @beta This hook is in beta
1724
- */
1725
1713
  function useUnsetDocumentId() {
1726
1714
  var client = useVeltClient().client;
1727
1715
  React.useEffect(function () {
1728
1716
  client && client.unsetDocumentId && client.unsetDocumentId();
1729
1717
  }, [client]);
1730
1718
  }
1731
- /**
1732
- * @beta This hook is in beta
1733
- */
1734
- function useSetLocation(location) {
1719
+ function useSetLocation(location, appendLocation) {
1735
1720
  var client = useVeltClient().client;
1736
1721
  React.useEffect(function () {
1737
- client && client.setLocation(location);
1738
- }, [client]);
1739
- }
1740
- /**
1741
- * @beta This hook is in beta
1742
- */
1743
- function useAddLocation(location) {
1744
- var client = useVeltClient().client;
1745
- React.useEffect(function () {
1746
- client && client.addLocation(location);
1722
+ client && client.setLocation(location, appendLocation);
1747
1723
  }, [client]);
1748
1724
  }
1749
1725
 
1750
- /**
1751
- * @beta This hook is in beta
1752
- */
1753
1726
  function useCommentUtils() {
1754
1727
  var _a = React.useState(), commentElement = _a[0], setCommentElement = _a[1];
1755
1728
  var client = useVeltClient().client;
@@ -1761,9 +1734,6 @@ function useCommentUtils() {
1761
1734
  }, [client, setCommentElement, commentElement]);
1762
1735
  return commentElement;
1763
1736
  }
1764
- /**
1765
- * @beta This hook is in beta
1766
- */
1767
1737
  function useCommentAnnotations(documentId, location) {
1768
1738
  var commentElement = useCommentUtils();
1769
1739
  var _a = React.useState([]), data = _a[0], setData = _a[1];
@@ -1779,9 +1749,6 @@ function useCommentAnnotations(documentId, location) {
1779
1749
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.getAllCommentAnnotations]);
1780
1750
  return data;
1781
1751
  }
1782
- /**
1783
- * @beta This hook is in beta
1784
- */
1785
1752
  function useCommentModeState() {
1786
1753
  var commentElement = useCommentUtils();
1787
1754
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -1797,9 +1764,6 @@ function useCommentModeState() {
1797
1764
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentModeChange]);
1798
1765
  return data;
1799
1766
  }
1800
- /**
1801
- * @beta This hook is in beta
1802
- */
1803
1767
  function useCommentAddHandler() {
1804
1768
  var commentElement = useCommentUtils();
1805
1769
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -1815,9 +1779,6 @@ function useCommentAddHandler() {
1815
1779
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentAdd]);
1816
1780
  return data;
1817
1781
  }
1818
- /**
1819
- * @beta This hook is in beta
1820
- */
1821
1782
  function useCommentUpdateHandler() {
1822
1783
  var commentElement = useCommentUtils();
1823
1784
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -1833,9 +1794,6 @@ function useCommentUpdateHandler() {
1833
1794
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentUpdate]);
1834
1795
  return data;
1835
1796
  }
1836
- /**
1837
- * @beta This hook is in beta
1838
- */
1839
1797
  function useCommentDialogSidebarClickHandler() {
1840
1798
  var commentElement = useCommentUtils();
1841
1799
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -1852,9 +1810,6 @@ function useCommentDialogSidebarClickHandler() {
1852
1810
  return data;
1853
1811
  }
1854
1812
 
1855
- /**
1856
- * @beta This hook is in beta
1857
- */
1858
1813
  function useCursorUtils() {
1859
1814
  var _a = React.useState(), cursorElement = _a[0], setCursorElement = _a[1];
1860
1815
  var client = useVeltClient().client;
@@ -1866,9 +1821,6 @@ function useCursorUtils() {
1866
1821
  }, [client, setCursorElement, cursorElement]);
1867
1822
  return cursorElement;
1868
1823
  }
1869
- /**
1870
- * @beta This hook is in beta
1871
- */
1872
1824
  function useCursorUsers() {
1873
1825
  var cursorElement = useCursorUtils();
1874
1826
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -1885,9 +1837,6 @@ function useCursorUsers() {
1885
1837
  return data;
1886
1838
  }
1887
1839
 
1888
- /**
1889
- * @beta This hook is in beta
1890
- */
1891
1840
  function useHuddleUtils() {
1892
1841
  var _a = React.useState(), huddleElement = _a[0], setHuddleElement = _a[1];
1893
1842
  var client = useVeltClient().client;
@@ -1900,9 +1849,6 @@ function useHuddleUtils() {
1900
1849
  return huddleElement;
1901
1850
  }
1902
1851
 
1903
- /**
1904
- * @beta This hook is in beta
1905
- */
1906
1852
  function useLiveStateSyncUtils() {
1907
1853
  var _a = React.useState(), liveStateSyncElement = _a[0], setLiveStateSyncElement = _a[1];
1908
1854
  var client = useVeltClient().client;
@@ -1914,9 +1860,6 @@ function useLiveStateSyncUtils() {
1914
1860
  }, [client, setLiveStateSyncElement, liveStateSyncElement]);
1915
1861
  return liveStateSyncElement;
1916
1862
  }
1917
- /**
1918
- * @beta This hook is in beta
1919
- */
1920
1863
  function useLiveStateData(liveStateDataId) {
1921
1864
  var liveStateSyncElement = useLiveStateSyncUtils();
1922
1865
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -1932,9 +1875,6 @@ function useLiveStateData(liveStateDataId) {
1932
1875
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getLiveStateData]);
1933
1876
  return data;
1934
1877
  }
1935
- /**
1936
- * @beta This hook is in beta
1937
- */
1938
1878
  function useSetLiveStateData(liveStateDataId, liveStateData) {
1939
1879
  var liveStateSyncElement = useLiveStateSyncUtils();
1940
1880
  React.useEffect(function () {
@@ -1943,9 +1883,6 @@ function useSetLiveStateData(liveStateDataId, liveStateData) {
1943
1883
  }
1944
1884
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.setLiveStateData]);
1945
1885
  }
1946
- /**
1947
- * @beta This hook is in beta
1948
- */
1949
1886
  function useUserEditorState() {
1950
1887
  var liveStateSyncElement = useLiveStateSyncUtils();
1951
1888
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -1961,9 +1898,6 @@ function useUserEditorState() {
1961
1898
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.isUserEditor]);
1962
1899
  return data;
1963
1900
  }
1964
- /**
1965
- * @beta This hook is in beta
1966
- */
1967
1901
  function useEditor() {
1968
1902
  var liveStateSyncElement = useLiveStateSyncUtils();
1969
1903
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -1979,9 +1913,6 @@ function useEditor() {
1979
1913
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getEditor]);
1980
1914
  return data;
1981
1915
  }
1982
- /**
1983
- * @beta This hook is in beta
1984
- */
1985
1916
  function useEditorAccessTimer() {
1986
1917
  var liveStateSyncElement = useLiveStateSyncUtils();
1987
1918
  var _a = React.useState({ state: 'idle' }), data = _a[0], setData = _a[1];
@@ -1997,9 +1928,6 @@ function useEditorAccessTimer() {
1997
1928
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getEditorAccessTimer]);
1998
1929
  return data;
1999
1930
  }
2000
- /**
2001
- * @beta This hook is in beta
2002
- */
2003
1931
  function useEditorAccessRequestHandler() {
2004
1932
  var liveStateSyncElement = useLiveStateSyncUtils();
2005
1933
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -2015,9 +1943,6 @@ function useEditorAccessRequestHandler() {
2015
1943
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.isEditorAccessRequested]);
2016
1944
  return data;
2017
1945
  }
2018
- /**
2019
- * @beta This hook is in beta
2020
- */
2021
1946
  function useLiveState(liveStateDataId, initialValue, options) {
2022
1947
  var liveStateSyncElement = useLiveStateSyncUtils();
2023
1948
  var client = useVeltClient().client;
@@ -2087,9 +2012,6 @@ function useLiveState(liveStateDataId, initialValue, options) {
2087
2012
  return [data, setDataFunction];
2088
2013
  }
2089
2014
 
2090
- /**
2091
- * @beta This hook is in beta
2092
- */
2093
2015
  function usePresenceUtils() {
2094
2016
  var _a = React.useState(), presenceElement = _a[0], setPresenceElement = _a[1];
2095
2017
  var client = useVeltClient().client;
@@ -2101,9 +2023,6 @@ function usePresenceUtils() {
2101
2023
  }, [client, setPresenceElement, presenceElement]);
2102
2024
  return presenceElement;
2103
2025
  }
2104
- /**
2105
- * @beta This hook is in beta
2106
- */
2107
2026
  function usePresenceUsers() {
2108
2027
  var presenceElement = usePresenceUtils();
2109
2028
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -2120,9 +2039,6 @@ function usePresenceUsers() {
2120
2039
  return data;
2121
2040
  }
2122
2041
 
2123
- /**
2124
- * @beta This hook is in beta
2125
- */
2126
2042
  function useRecorderUtils() {
2127
2043
  var _a = React.useState(), recorderElement = _a[0], setRecorderElement = _a[1];
2128
2044
  var client = useVeltClient().client;
@@ -2134,9 +2050,6 @@ function useRecorderUtils() {
2134
2050
  }, [client, setRecorderElement, recorderElement]);
2135
2051
  return recorderElement;
2136
2052
  }
2137
- /**
2138
- * @beta This hook is in beta
2139
- */
2140
2053
  function useRecorderAddHandler() {
2141
2054
  var recorderElement = useRecorderUtils();
2142
2055
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -2153,9 +2066,6 @@ function useRecorderAddHandler() {
2153
2066
  return data;
2154
2067
  }
2155
2068
 
2156
- /**
2157
- * @beta This hook is in beta
2158
- */
2159
2069
  function useAIRewriterUtils() {
2160
2070
  var _a = React.useState(), rewriterElement = _a[0], setRewriterElement = _a[1];
2161
2071
  var client = useVeltClient().client;
@@ -2168,9 +2078,6 @@ function useAIRewriterUtils() {
2168
2078
  return rewriterElement;
2169
2079
  }
2170
2080
 
2171
- /**
2172
- * @beta This hook is in beta
2173
- */
2174
2081
  function useLiveSelectionUtils() {
2175
2082
  var _a = React.useState(), selectionElement = _a[0], setSelectionElement = _a[1];
2176
2083
  var client = useVeltClient().client;
@@ -2183,9 +2090,6 @@ function useLiveSelectionUtils() {
2183
2090
  return selectionElement;
2184
2091
  }
2185
2092
 
2186
- /**
2187
- * @beta This hook is in beta
2188
- */
2189
2093
  function useTagUtils() {
2190
2094
  var _a = React.useState(), tagElement = _a[0], setTagElement = _a[1];
2191
2095
  var client = useVeltClient().client;
@@ -2197,9 +2101,6 @@ function useTagUtils() {
2197
2101
  }, [client, setTagElement, tagElement]);
2198
2102
  return tagElement;
2199
2103
  }
2200
- /**
2201
- * @beta This hook is in beta
2202
- */
2203
2104
  function useTagAnnotations(documentId, location) {
2204
2105
  var tagElement = useTagUtils();
2205
2106
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -2216,9 +2117,6 @@ function useTagAnnotations(documentId, location) {
2216
2117
  return data;
2217
2118
  }
2218
2119
 
2219
- /**
2220
- * @beta This hook is in beta
2221
- */
2222
2120
  function useViewsUtils() {
2223
2121
  var _a = React.useState(), viewsElement = _a[0], setViewsElement = _a[1];
2224
2122
  var client = useVeltClient().client;
@@ -2230,9 +2128,6 @@ function useViewsUtils() {
2230
2128
  }, [client, setViewsElement, viewsElement]);
2231
2129
  return viewsElement;
2232
2130
  }
2233
- /**
2234
- * @beta This hook is in beta
2235
- */
2236
2131
  function useUniqueViewsByUser(clientLocationId) {
2237
2132
  var viewsElement = useViewsUtils();
2238
2133
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -2248,9 +2143,6 @@ function useUniqueViewsByUser(clientLocationId) {
2248
2143
  }, [viewsElement === null || viewsElement === void 0 ? void 0 : viewsElement.getUniqueViewsByUser]);
2249
2144
  return data;
2250
2145
  }
2251
- /**
2252
- * @beta This hook is in beta
2253
- */
2254
2146
  function useUniqueViewsByDate(clientLocationId) {
2255
2147
  var viewsElement = useViewsUtils();
2256
2148
  var _a = React.useState(null), data = _a[0], setData = _a[1];
@@ -2267,9 +2159,6 @@ function useUniqueViewsByDate(clientLocationId) {
2267
2159
  return data;
2268
2160
  }
2269
2161
 
2270
- /**
2271
- * @beta This hook is in beta
2272
- */
2273
2162
  function useNotificationUtils() {
2274
2163
  var _a = React.useState(), notificationElement = _a[0], setNotificationElement = _a[1];
2275
2164
  var client = useVeltClient().client;
@@ -2281,9 +2170,6 @@ function useNotificationUtils() {
2281
2170
  }, [client, setNotificationElement, notificationElement]);
2282
2171
  return notificationElement;
2283
2172
  }
2284
- /**
2285
- * @beta This hook is in beta
2286
- */
2287
2173
  function useNotificationsData() {
2288
2174
  var notificationElement = useNotificationUtils();
2289
2175
  var _a = React.useState([]), data = _a[0], setData = _a[1];
@@ -2300,9 +2186,6 @@ function useNotificationsData() {
2300
2186
  return data;
2301
2187
  }
2302
2188
 
2303
- /**
2304
- * @beta This hook is in beta
2305
- */
2306
2189
  function useAutocompleteUtils() {
2307
2190
  var _a = React.useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
2308
2191
  var client = useVeltClient().client;
@@ -2314,9 +2197,6 @@ function useAutocompleteUtils() {
2314
2197
  }, [client, setAutocompleteElement, autocompleteElement]);
2315
2198
  return autocompleteElement;
2316
2199
  }
2317
- /**
2318
- * @beta This hook is in beta
2319
- */
2320
2200
  function useAutocompleteChipClick() {
2321
2201
  var autocompleteElement = useAutocompleteUtils();
2322
2202
  var _a = React.useState(), data = _a[0], setData = _a[1];
@@ -2424,5 +2304,5 @@ var logLiveState = function (action, liveStateDataId) {
2424
2304
  }
2425
2305
  };
2426
2306
 
2427
- 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, useAddLocation, 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 };
2307
+ 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 };
2428
2308
  //# sourceMappingURL=index.js.map