@veltdev/react 4.4.0-beta.2 → 4.4.0-beta.4

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 (54) hide show
  1. package/cjs/index.js +135 -42
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltLiveStateSyncPanel/VeltLiveStateSyncPanel.d.ts +8 -0
  4. package/cjs/types/components/VeltLiveStateSyncPanel/index.d.ts +1 -0
  5. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe.d.ts +8 -0
  6. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/index.d.ts +1 -0
  7. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/VeltLiveStateSyncPanelCancelRequestWireframe.d.ts +8 -0
  8. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/VeltLiveStateSyncPanelCountdownWireframe.d.ts +8 -0
  10. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/VeltLiveStateSyncPanelEditHereWireframe.d.ts +8 -0
  12. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/VeltLiveStateSyncPanelEditorTextWireframe.d.ts +8 -0
  14. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/VeltLiveStateSyncPanelReaderTextWireframe.d.ts +8 -0
  16. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/VeltLiveStateSyncPanelRejectRequestWireframe.d.ts +8 -0
  18. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/VeltLiveStateSyncPanelRequestAccessWireframe.d.ts +8 -0
  20. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/index.d.ts +1 -0
  21. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelWireframe.d.ts +24 -0
  22. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/index.d.ts +1 -0
  23. package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarToggleWireframe/VeltRecorderControlPanelActionBarToggleWireframe.d.ts +2 -1
  24. package/cjs/types/components/index.d.ts +2 -0
  25. package/cjs/types/constants.d.ts +1 -1
  26. package/cjs/types/hooks/LiveStateSyncElement.d.ts +2 -2
  27. package/esm/index.js +134 -43
  28. package/esm/index.js.map +1 -1
  29. package/esm/types/components/VeltLiveStateSyncPanel/VeltLiveStateSyncPanel.d.ts +8 -0
  30. package/esm/types/components/VeltLiveStateSyncPanel/index.d.ts +1 -0
  31. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe.d.ts +8 -0
  32. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/index.d.ts +1 -0
  33. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/VeltLiveStateSyncPanelCancelRequestWireframe.d.ts +8 -0
  34. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/index.d.ts +1 -0
  35. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/VeltLiveStateSyncPanelCountdownWireframe.d.ts +8 -0
  36. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/index.d.ts +1 -0
  37. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/VeltLiveStateSyncPanelEditHereWireframe.d.ts +8 -0
  38. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/index.d.ts +1 -0
  39. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/VeltLiveStateSyncPanelEditorTextWireframe.d.ts +8 -0
  40. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/index.d.ts +1 -0
  41. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/VeltLiveStateSyncPanelReaderTextWireframe.d.ts +8 -0
  42. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/index.d.ts +1 -0
  43. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/VeltLiveStateSyncPanelRejectRequestWireframe.d.ts +8 -0
  44. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/index.d.ts +1 -0
  45. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/VeltLiveStateSyncPanelRequestAccessWireframe.d.ts +8 -0
  46. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/index.d.ts +1 -0
  47. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelWireframe.d.ts +24 -0
  48. package/esm/types/components/VeltLiveStateSyncPanelWireframe/index.d.ts +1 -0
  49. package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarToggleWireframe/VeltRecorderControlPanelActionBarToggleWireframe.d.ts +2 -1
  50. package/esm/types/components/index.d.ts +2 -0
  51. package/esm/types/constants.d.ts +1 -1
  52. package/esm/types/hooks/LiveStateSyncElement.d.ts +2 -2
  53. package/index.d.ts +70 -4
  54. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltLiveStateSyncPanelProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ shadowDom?: boolean;
4
+ variant?: string;
5
+ darkMode?: boolean;
6
+ }
7
+ declare const VeltLiveStateSyncPanel: React.FC<IVeltLiveStateSyncPanelProps>;
8
+ export default VeltLiveStateSyncPanel;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltLiveStateSyncPanel";
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelAcceptRequestWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelAcceptRequestWireframe extends React.FC<IVeltLiveStateSyncPanelAcceptRequestWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelAcceptRequestWireframe: IVeltLiveStateSyncPanelAcceptRequestWireframe;
8
+ export default VeltLiveStateSyncPanelAcceptRequestWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelAcceptRequestWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelCancelRequestWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelCancelRequestWireframe extends React.FC<IVeltLiveStateSyncPanelCancelRequestWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelCancelRequestWireframe: IVeltLiveStateSyncPanelCancelRequestWireframe;
8
+ export default VeltLiveStateSyncPanelCancelRequestWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelCancelRequestWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelCountdownWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelCountdownWireframe extends React.FC<IVeltLiveStateSyncPanelCountdownWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelCountdownWireframe: IVeltLiveStateSyncPanelCountdownWireframe;
8
+ export default VeltLiveStateSyncPanelCountdownWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelCountdownWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelEditHereWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelEditHereWireframe extends React.FC<IVeltLiveStateSyncPanelEditHereWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelEditHereWireframe: IVeltLiveStateSyncPanelEditHereWireframe;
8
+ export default VeltLiveStateSyncPanelEditHereWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelEditHereWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelEditorTextWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelEditorTextWireframe extends React.FC<IVeltLiveStateSyncPanelEditorTextWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelEditorTextWireframe: IVeltLiveStateSyncPanelEditorTextWireframe;
8
+ export default VeltLiveStateSyncPanelEditorTextWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelEditorTextWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelReaderTextWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelReaderTextWireframe extends React.FC<IVeltLiveStateSyncPanelReaderTextWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelReaderTextWireframe: IVeltLiveStateSyncPanelReaderTextWireframe;
8
+ export default VeltLiveStateSyncPanelReaderTextWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelReaderTextWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelRejectRequestWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelRejectRequestWireframe extends React.FC<IVeltLiveStateSyncPanelRejectRequestWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelRejectRequestWireframe: IVeltLiveStateSyncPanelRejectRequestWireframe;
8
+ export default VeltLiveStateSyncPanelRejectRequestWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelRejectRequestWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltLiveStateSyncPanelRequestAccessWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltLiveStateSyncPanelRequestAccessWireframe extends React.FC<IVeltLiveStateSyncPanelRequestAccessWireframeProps> {
6
+ }
7
+ declare const VeltLiveStateSyncPanelRequestAccessWireframe: IVeltLiveStateSyncPanelRequestAccessWireframe;
8
+ export default VeltLiveStateSyncPanelRequestAccessWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelRequestAccessWireframe';
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../constants';
3
+ import { IVeltLiveStateSyncPanelRequestAccessWireframe } from './VeltLiveStateSyncPanelRequestAccessWireframe/VeltLiveStateSyncPanelRequestAccessWireframe';
4
+ import { IVeltLiveStateSyncPanelRejectRequestWireframe } from './VeltLiveStateSyncPanelRejectRequestWireframe/VeltLiveStateSyncPanelRejectRequestWireframe';
5
+ import { IVeltLiveStateSyncPanelReaderTextWireframe } from './VeltLiveStateSyncPanelReaderTextWireframe/VeltLiveStateSyncPanelReaderTextWireframe';
6
+ import { IVeltLiveStateSyncPanelEditorTextWireframe } from './VeltLiveStateSyncPanelEditorTextWireframe/VeltLiveStateSyncPanelEditorTextWireframe';
7
+ import { IVeltLiveStateSyncPanelEditHereWireframe } from './VeltLiveStateSyncPanelEditHereWireframe/VeltLiveStateSyncPanelEditHereWireframe';
8
+ import { IVeltLiveStateSyncPanelCountdownWireframe } from './VeltLiveStateSyncPanelCountdownWireframe/VeltLiveStateSyncPanelCountdownWireframe';
9
+ import { IVeltLiveStateSyncPanelCancelRequestWireframe } from './VeltLiveStateSyncPanelCancelRequestWireframe/VeltLiveStateSyncPanelCancelRequestWireframe';
10
+ import { IVeltLiveStateSyncPanelAcceptRequestWireframe } from './VeltLiveStateSyncPanelAcceptRequestWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe';
11
+ export interface IVeltLiveStateSyncPanelWireframeProps extends IVeltWireframeCommonProps {
12
+ }
13
+ export interface IVeltLiveStateSyncPanelWireframe extends React.FC<IVeltLiveStateSyncPanelWireframeProps> {
14
+ RequestAccess: IVeltLiveStateSyncPanelRequestAccessWireframe;
15
+ RejectRequest: IVeltLiveStateSyncPanelRejectRequestWireframe;
16
+ ReaderText: IVeltLiveStateSyncPanelReaderTextWireframe;
17
+ EditorText: IVeltLiveStateSyncPanelEditorTextWireframe;
18
+ EditHere: IVeltLiveStateSyncPanelEditHereWireframe;
19
+ Countdown: IVeltLiveStateSyncPanelCountdownWireframe;
20
+ CancelRequest: IVeltLiveStateSyncPanelCancelRequestWireframe;
21
+ AcceptRequest: IVeltLiveStateSyncPanelAcceptRequestWireframe;
22
+ }
23
+ declare const VeltLiveStateSyncPanelWireframe: IVeltLiveStateSyncPanelWireframe;
24
+ export default VeltLiveStateSyncPanelWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltLiveStateSyncPanelWireframe';
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
2
  import { IVeltWireframeCommonProps } from '../../../../constants';
3
3
  import { IVeltRecorderControlPanelActionBarTogglePlayWireframe } from './VeltRecorderControlPanelActionBarTogglePlayWireframe/VeltRecorderControlPanelActionBarTogglePlayWireframe';
4
+ import { IVeltRecorderControlPanelActionBarTogglePauseWireframe } from './VeltRecorderControlPanelActionBarTogglePauseWireframe/VeltRecorderControlPanelActionBarTogglePauseWireframe';
4
5
  export interface IVeltRecorderControlPanelActionBarToggleWireframeProps extends IVeltWireframeCommonProps {
5
6
  }
6
7
  export interface IVeltRecorderControlPanelActionBarToggleWireframe extends React.FC<IVeltRecorderControlPanelActionBarToggleWireframeProps> {
7
- Pause: IVeltRecorderControlPanelActionBarTogglePlayWireframe;
8
+ Pause: IVeltRecorderControlPanelActionBarTogglePauseWireframe;
8
9
  Play: IVeltRecorderControlPanelActionBarTogglePlayWireframe;
9
10
  }
10
11
  declare const VeltRecorderControlPanelActionBarToggleWireframe: IVeltRecorderControlPanelActionBarToggleWireframe;
@@ -40,6 +40,7 @@ export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
40
40
  export { default as VeltReactionTool } from "./VeltReactionTool";
41
41
  export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
42
42
  export { default as VeltCommentComposer } from "./VeltCommentComposer";
43
+ export { default as VeltLiveStateSyncPanel } from "./VeltLiveStateSyncPanel";
43
44
  export { default as VeltWireframe } from "./VeltWireframe";
44
45
  export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
45
46
  export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
@@ -87,3 +88,4 @@ export { default as VeltVideoEditorPlayerWireframe } from "./VeltVideoEditorPlay
87
88
  export { default as VeltSubtitlesWireframe } from "./VeltSubtitlesWireframe";
88
89
  export { default as VeltTranscriptionWireframe } from "./VeltTranscriptionWireframe";
89
90
  export { default as VeltButtonWireframe } from "./VeltButtonWireframe";
91
+ export { default as VeltLiveStateSyncPanelWireframe } from "./VeltLiveStateSyncPanelWireframe";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.4.0-beta.2";
2
+ export declare const VELT_SDK_VERSION = "4.4.0-beta.4";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
@@ -1,10 +1,10 @@
1
- import { EditorAccessTimer, LiveStateSyncElement, ServerConnectionState, User, UserEditorAccess } from "@veltdev/types";
1
+ import { EditorAccessTimer, LiveStateSyncElement, ServerConnectionState, SetLiveStateDataConfig, User, UserEditorAccess } from "@veltdev/types";
2
2
  declare class LiveStateDataConfig {
3
3
  listenToNewChangesOnly?: boolean;
4
4
  }
5
5
  export declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
6
6
  export declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
7
- export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): void;
7
+ export declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any, config?: SetLiveStateDataConfig): void;
8
8
  export declare function useUserEditorState(): UserEditorAccess | null;
9
9
  export declare function useEditor(): User | null;
10
10
  export declare function useEditorAccessTimer(): EditorAccessTimer;
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React$1 from 'react';
3
- import { Config, UserDataProvider, VeltDataProvider, Velt, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, RecorderLayoutMode, RecorderMode, CommentAnnotation, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest, RecordedData, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RecorderRequestQuery, GetRecordingsResponse, RecorderEventTypesMap, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact, GetContactListResponse } from '@veltdev/types';
3
+ import { Config, UserDataProvider, VeltDataProvider, Velt, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, RecorderLayoutMode, RecorderMode, CommentAnnotation, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest, RecordedData, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, SetLiveStateDataConfig, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RecorderRequestQuery, GetRecordingsResponse, RecorderEventTypesMap, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact, GetContactListResponse } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -724,6 +724,13 @@ interface IVeltCommentComposerProps extends React$1.DetailedHTMLProps<React$1.HT
724
724
  }
725
725
  declare const VeltCommentComposer: React$1.FC<IVeltCommentComposerProps>;
726
726
 
727
+ interface IVeltLiveStateSyncPanelProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
728
+ shadowDom?: boolean;
729
+ variant?: string;
730
+ darkMode?: boolean;
731
+ }
732
+ declare const VeltLiveStateSyncPanel: React$1.FC<IVeltLiveStateSyncPanelProps>;
733
+
727
734
  interface IVeltWireframeProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
728
735
  }
729
736
  declare const VeltWireframe: React$1.FC<IVeltWireframeProps>;
@@ -2945,10 +2952,15 @@ interface IVeltRecorderControlPanelActionBarTogglePlayWireframeProps extends IVe
2945
2952
  interface IVeltRecorderControlPanelActionBarTogglePlayWireframe extends React$1.FC<IVeltRecorderControlPanelActionBarTogglePlayWireframeProps> {
2946
2953
  }
2947
2954
 
2955
+ interface IVeltRecorderControlPanelActionBarTogglePauseWireframeProps extends IVeltWireframeCommonProps {
2956
+ }
2957
+ interface IVeltRecorderControlPanelActionBarTogglePauseWireframe extends React$1.FC<IVeltRecorderControlPanelActionBarTogglePauseWireframeProps> {
2958
+ }
2959
+
2948
2960
  interface IVeltRecorderControlPanelActionBarToggleWireframeProps extends IVeltWireframeCommonProps {
2949
2961
  }
2950
2962
  interface IVeltRecorderControlPanelActionBarToggleWireframe extends React$1.FC<IVeltRecorderControlPanelActionBarToggleWireframeProps> {
2951
- Pause: IVeltRecorderControlPanelActionBarTogglePlayWireframe;
2963
+ Pause: IVeltRecorderControlPanelActionBarTogglePauseWireframe;
2952
2964
  Play: IVeltRecorderControlPanelActionBarTogglePlayWireframe;
2953
2965
  }
2954
2966
 
@@ -3590,6 +3602,60 @@ interface IVeltButtonWireframeProps extends IVeltWireframeCommonProps {
3590
3602
  }
3591
3603
  declare const VeltButtonWireframe: React$1.FC<IVeltButtonWireframeProps>;
3592
3604
 
3605
+ interface IVeltLiveStateSyncPanelRequestAccessWireframeProps extends IVeltWireframeCommonProps {
3606
+ }
3607
+ interface IVeltLiveStateSyncPanelRequestAccessWireframe extends React$1.FC<IVeltLiveStateSyncPanelRequestAccessWireframeProps> {
3608
+ }
3609
+
3610
+ interface IVeltLiveStateSyncPanelRejectRequestWireframeProps extends IVeltWireframeCommonProps {
3611
+ }
3612
+ interface IVeltLiveStateSyncPanelRejectRequestWireframe extends React$1.FC<IVeltLiveStateSyncPanelRejectRequestWireframeProps> {
3613
+ }
3614
+
3615
+ interface IVeltLiveStateSyncPanelReaderTextWireframeProps extends IVeltWireframeCommonProps {
3616
+ }
3617
+ interface IVeltLiveStateSyncPanelReaderTextWireframe extends React$1.FC<IVeltLiveStateSyncPanelReaderTextWireframeProps> {
3618
+ }
3619
+
3620
+ interface IVeltLiveStateSyncPanelEditorTextWireframeProps extends IVeltWireframeCommonProps {
3621
+ }
3622
+ interface IVeltLiveStateSyncPanelEditorTextWireframe extends React$1.FC<IVeltLiveStateSyncPanelEditorTextWireframeProps> {
3623
+ }
3624
+
3625
+ interface IVeltLiveStateSyncPanelEditHereWireframeProps extends IVeltWireframeCommonProps {
3626
+ }
3627
+ interface IVeltLiveStateSyncPanelEditHereWireframe extends React$1.FC<IVeltLiveStateSyncPanelEditHereWireframeProps> {
3628
+ }
3629
+
3630
+ interface IVeltLiveStateSyncPanelCountdownWireframeProps extends IVeltWireframeCommonProps {
3631
+ }
3632
+ interface IVeltLiveStateSyncPanelCountdownWireframe extends React$1.FC<IVeltLiveStateSyncPanelCountdownWireframeProps> {
3633
+ }
3634
+
3635
+ interface IVeltLiveStateSyncPanelCancelRequestWireframeProps extends IVeltWireframeCommonProps {
3636
+ }
3637
+ interface IVeltLiveStateSyncPanelCancelRequestWireframe extends React$1.FC<IVeltLiveStateSyncPanelCancelRequestWireframeProps> {
3638
+ }
3639
+
3640
+ interface IVeltLiveStateSyncPanelAcceptRequestWireframeProps extends IVeltWireframeCommonProps {
3641
+ }
3642
+ interface IVeltLiveStateSyncPanelAcceptRequestWireframe extends React$1.FC<IVeltLiveStateSyncPanelAcceptRequestWireframeProps> {
3643
+ }
3644
+
3645
+ interface IVeltLiveStateSyncPanelWireframeProps extends IVeltWireframeCommonProps {
3646
+ }
3647
+ interface IVeltLiveStateSyncPanelWireframe extends React$1.FC<IVeltLiveStateSyncPanelWireframeProps> {
3648
+ RequestAccess: IVeltLiveStateSyncPanelRequestAccessWireframe;
3649
+ RejectRequest: IVeltLiveStateSyncPanelRejectRequestWireframe;
3650
+ ReaderText: IVeltLiveStateSyncPanelReaderTextWireframe;
3651
+ EditorText: IVeltLiveStateSyncPanelEditorTextWireframe;
3652
+ EditHere: IVeltLiveStateSyncPanelEditHereWireframe;
3653
+ Countdown: IVeltLiveStateSyncPanelCountdownWireframe;
3654
+ CancelRequest: IVeltLiveStateSyncPanelCancelRequestWireframe;
3655
+ AcceptRequest: IVeltLiveStateSyncPanelAcceptRequestWireframe;
3656
+ }
3657
+ declare const VeltLiveStateSyncPanelWireframe: IVeltLiveStateSyncPanelWireframe;
3658
+
3593
3659
  declare function useVeltClient(): {
3594
3660
  client: Velt | null;
3595
3661
  };
@@ -3730,7 +3796,7 @@ declare class LiveStateDataConfig {
3730
3796
  }
3731
3797
  declare function useLiveStateSyncUtils(): LiveStateSyncElement | undefined;
3732
3798
  declare function useLiveStateData(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig): any;
3733
- declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any): void;
3799
+ declare function useSetLiveStateData(liveStateDataId: string, liveStateData: any, config?: SetLiveStateDataConfig): void;
3734
3800
  declare function useUserEditorState(): UserEditorAccess | null;
3735
3801
  declare function useEditor(): User | null;
3736
3802
  declare function useEditorAccessTimer(): EditorAccessTimer;
@@ -3798,4 +3864,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
3798
3864
  updateLiveStateDataId: (newId?: string) => void;
3799
3865
  };
3800
3866
 
3801
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
3867
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltLiveStateSyncPanel, VeltLiveStateSyncPanelWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.4.0-beta.2",
3
+ "version": "4.4.0-beta.4",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [