@veltdev/react 4.5.0-beta.11 → 4.5.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +46 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +1 -0
- package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/VeltRecorderPlayerEditButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerVideoContainerWireframe/VeltRecorderPlayerVideoContainerWireframe.d.ts +2 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/VeltVideoEditorPlayerDownloadButtonWireframe.d.ts +8 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +2 -1
- package/cjs/types/hooks/PresenceElement.d.ts +3 -0
- package/cjs/types/loadSnippyly.d.ts +1 -1
- package/esm/index.js +46 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +1 -0
- package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/VeltRecorderPlayerEditButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerEditButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecorderPlayerWireframe/VeltRecorderPlayerVideoContainerWireframe/VeltRecorderPlayerVideoContainerWireframe.d.ts +2 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/VeltVideoEditorPlayerDownloadButtonWireframe.d.ts +8 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerDownloadButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +2 -1
- package/esm/types/hooks/PresenceElement.d.ts +3 -0
- package/esm/types/loadSnippyly.d.ts +1 -1
- package/index.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltRecorderPlayerEditButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltRecorderPlayerEditButtonWireframe extends React.FC<IVeltRecorderPlayerEditButtonWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltRecorderPlayerEditButtonWireframe: IVeltRecorderPlayerEditButtonWireframe;
|
|
8
|
+
export default VeltRecorderPlayerEditButtonWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltRecorderPlayerEditButtonWireframe';
|
|
@@ -13,12 +13,14 @@ import { IVeltRecorderPlayerTimeWireframe } from '../VeltRecorderPlayerTimeWiref
|
|
|
13
13
|
import { IVeltRecorderPlayerTranscriptionWireframe } from '../VeltRecorderPlayerTranscriptionWireframe/VeltRecorderPlayerTranscriptionWireframe';
|
|
14
14
|
import { IVeltRecorderPlayerVideoWireframe } from '../VeltRecorderPlayerVideoWireframe/VeltRecorderPlayerVideoWireframe';
|
|
15
15
|
import { IVeltRecorderPlayerAvatarWireframe } from '../VeltRecorderPlayerAvatarWireframe/VeltRecorderPlayerAvatarWireframe';
|
|
16
|
+
import { IVeltRecorderPlayerEditButtonWireframe } from '../VeltRecorderPlayerEditButtonWireframe/VeltRecorderPlayerEditButtonWireframe';
|
|
16
17
|
export interface IVeltRecorderPlayerVideoContainerWireframeProps extends IVeltWireframeCommonProps {
|
|
17
18
|
}
|
|
18
19
|
export interface IVeltRecorderPlayerVideoContainerWireframe extends React.FC<IVeltRecorderPlayerVideoContainerWireframeProps> {
|
|
19
20
|
Video: IVeltRecorderPlayerVideoWireframe;
|
|
20
21
|
Timeline: IVeltRecorderPlayerTimelineWireframe;
|
|
21
22
|
PlayButton: IVeltRecorderPlayerPlayButtonWireframe;
|
|
23
|
+
EditButton: IVeltRecorderPlayerEditButtonWireframe;
|
|
22
24
|
FullScreenButton: IVeltRecorderPlayerFullScreenButtonWireframe;
|
|
23
25
|
Overlay: IVeltRecorderPlayerOverlayWireframe;
|
|
24
26
|
Time: IVeltRecorderPlayerTimeWireframe;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltVideoEditorPlayerDownloadButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltVideoEditorPlayerDownloadButtonWireframe extends React.FC<IVeltVideoEditorPlayerDownloadButtonWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltVideoEditorPlayerDownloadButtonWireframe: IVeltVideoEditorPlayerDownloadButtonWireframe;
|
|
8
|
+
export default VeltVideoEditorPlayerDownloadButtonWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltVideoEditorPlayerDownloadButtonWireframe';
|
package/esm/types/components/VeltVideoEditorPlayerWireframe/VeltVideoEditorPlayerWireframe.d.ts
CHANGED
|
@@ -11,12 +11,14 @@ import { IVeltVideoEditorPlayerTotalTimeWireframe } from './VeltVideoEditorPlaye
|
|
|
11
11
|
import { IVeltVideoEditorPlayerSplitButtonWireframe } from './VeltVideoEditorPlayerSplitButtonWireframe/VeltVideoEditorPlayerSplitButtonWireframe';
|
|
12
12
|
import { IVeltVideoEditorPlayerDeleteButtonWireframe } from './VeltVideoEditorPlayerDeleteButtonWireframe/VeltVideoEditorPlayerDeleteButtonWireframe';
|
|
13
13
|
import { IVeltVideoEditorPlayerTimelineWireframe } from './VeltVideoEditorPlayerTimelineWireframe/VeltVideoEditorPlayerTimelineWireframe';
|
|
14
|
+
import { IVeltVideoEditorPlayerDownloadButtonWireframe } from './VeltVideoEditorPlayerDownloadButtonWireframe/VeltVideoEditorPlayerDownloadButtonWireframe';
|
|
14
15
|
export interface IVeltVideoEditorPlayerWireframeProps extends IVeltWireframeCommonProps {
|
|
15
16
|
}
|
|
16
17
|
export interface IVeltVideoEditorPlayerWireframe extends React.FC<IVeltVideoEditorPlayerWireframeProps> {
|
|
17
18
|
Title: IVeltVideoEditorPlayerTitleWireframe;
|
|
18
19
|
ApplyButton: IVeltVideoEditorPlayerApplyButtonWireframe;
|
|
19
20
|
CloseButton: IVeltVideoEditorPlayerCloseButtonWireframe;
|
|
21
|
+
DownloadButton: IVeltVideoEditorPlayerDownloadButtonWireframe;
|
|
20
22
|
Preview: IVeltVideoEditorPlayerPreviewWireframe;
|
|
21
23
|
ToggleButton: IVeltVideoEditorPlayerToggleButtonWireframe;
|
|
22
24
|
Time: IVeltVideoEditorPlayerTimeWireframe;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.5.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.5.0-beta.13";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
|
+
export declare const INTEGRITY_MAP: Record<string, string>;
|
|
5
6
|
export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
7
|
veltIf?: string;
|
|
7
8
|
veltClass?: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { GetPresenceDataResponse, PresenceElement, PresenceRequestQuery, PresenceUser } from "@veltdev/types";
|
|
2
2
|
export declare function usePresenceUtils(): PresenceElement | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `usePresenceData` hook instead.
|
|
5
|
+
*/
|
|
3
6
|
export declare function usePresenceUsers(): PresenceUser[] | null;
|
|
4
7
|
export declare function usePresenceData(query?: PresenceRequestQuery): GetPresenceDataResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const loadVelt: (callback: Function, version?: string, staging?: boolean, develop?: boolean, proxyDomain?: string) => void;
|
|
1
|
+
declare const loadVelt: (callback: Function, version?: string, staging?: boolean, develop?: boolean, proxyDomain?: string, integrity?: boolean, integrityValue?: string) => void;
|
|
2
2
|
export default loadVelt;
|
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HT
|
|
|
7
7
|
config?: Config & {
|
|
8
8
|
proxyDomain?: string;
|
|
9
9
|
version?: string;
|
|
10
|
+
integrity?: boolean;
|
|
10
11
|
};
|
|
11
12
|
user?: any;
|
|
12
13
|
documentId?: string;
|
|
@@ -3217,12 +3218,18 @@ interface IVeltRecorderPlayerVideoWireframeProps extends IVeltWireframeCommonPro
|
|
|
3217
3218
|
interface IVeltRecorderPlayerVideoWireframe extends React$1.FC<IVeltRecorderPlayerVideoWireframeProps> {
|
|
3218
3219
|
}
|
|
3219
3220
|
|
|
3221
|
+
interface IVeltRecorderPlayerEditButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
3222
|
+
}
|
|
3223
|
+
interface IVeltRecorderPlayerEditButtonWireframe extends React$1.FC<IVeltRecorderPlayerEditButtonWireframeProps> {
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3220
3226
|
interface IVeltRecorderPlayerVideoContainerWireframeProps extends IVeltWireframeCommonProps {
|
|
3221
3227
|
}
|
|
3222
3228
|
interface IVeltRecorderPlayerVideoContainerWireframe extends React$1.FC<IVeltRecorderPlayerVideoContainerWireframeProps> {
|
|
3223
3229
|
Video: IVeltRecorderPlayerVideoWireframe;
|
|
3224
3230
|
Timeline: IVeltRecorderPlayerTimelineWireframe;
|
|
3225
3231
|
PlayButton: IVeltRecorderPlayerPlayButtonWireframe;
|
|
3232
|
+
EditButton: IVeltRecorderPlayerEditButtonWireframe;
|
|
3226
3233
|
FullScreenButton: IVeltRecorderPlayerFullScreenButtonWireframe;
|
|
3227
3234
|
Overlay: IVeltRecorderPlayerOverlayWireframe;
|
|
3228
3235
|
Time: IVeltRecorderPlayerTimeWireframe;
|
|
@@ -3526,12 +3533,18 @@ interface IVeltVideoEditorPlayerTimelineWireframe extends React$1.FC<IVeltVideoE
|
|
|
3526
3533
|
Playhead: IVeltVideoEditorPlayerTimelinePlayheadWireframe;
|
|
3527
3534
|
}
|
|
3528
3535
|
|
|
3536
|
+
interface IVeltVideoEditorPlayerDownloadButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
3537
|
+
}
|
|
3538
|
+
interface IVeltVideoEditorPlayerDownloadButtonWireframe extends React$1.FC<IVeltVideoEditorPlayerDownloadButtonWireframeProps> {
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3529
3541
|
interface IVeltVideoEditorPlayerWireframeProps extends IVeltWireframeCommonProps {
|
|
3530
3542
|
}
|
|
3531
3543
|
interface IVeltVideoEditorPlayerWireframe extends React$1.FC<IVeltVideoEditorPlayerWireframeProps> {
|
|
3532
3544
|
Title: IVeltVideoEditorPlayerTitleWireframe;
|
|
3533
3545
|
ApplyButton: IVeltVideoEditorPlayerApplyButtonWireframe;
|
|
3534
3546
|
CloseButton: IVeltVideoEditorPlayerCloseButtonWireframe;
|
|
3547
|
+
DownloadButton: IVeltVideoEditorPlayerDownloadButtonWireframe;
|
|
3535
3548
|
Preview: IVeltVideoEditorPlayerPreviewWireframe;
|
|
3536
3549
|
ToggleButton: IVeltVideoEditorPlayerToggleButtonWireframe;
|
|
3537
3550
|
Time: IVeltVideoEditorPlayerTimeWireframe;
|
|
@@ -3934,6 +3947,9 @@ declare function useLiveState<T>(liveStateDataId: string, initialValue?: any, op
|
|
|
3934
3947
|
declare function useLiveStateSyncEventCallback<T extends keyof LiveStateEventTypesMap>(action: T): LiveStateEventTypesMap[T];
|
|
3935
3948
|
|
|
3936
3949
|
declare function usePresenceUtils(): PresenceElement | undefined;
|
|
3950
|
+
/**
|
|
3951
|
+
* @deprecated Use `usePresenceData` hook instead.
|
|
3952
|
+
*/
|
|
3937
3953
|
declare function usePresenceUsers(): PresenceUser[] | null;
|
|
3938
3954
|
declare function usePresenceData(query?: PresenceRequestQuery): GetPresenceDataResponse;
|
|
3939
3955
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.13",
|
|
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": [
|