@veltdev/react 3.0.9 → 3.0.11
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 +8 -19
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/cjs/types/components/VeltIf/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +8 -19
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/esm/types/components/VeltIf/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +6 -15
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltIf";
|
|
@@ -34,6 +34,7 @@ export { default as VeltInlineCommentsSection } from "./VeltInlineCommentsSectio
|
|
|
34
34
|
export { default as VeltCommentPin } from "./VeltCommentPin";
|
|
35
35
|
export { default as VeltCanvasComment } from "./VeltCanvasComment";
|
|
36
36
|
export { default as VeltData } from "./VeltData";
|
|
37
|
+
export { default as VeltIf } from "./VeltIf";
|
|
37
38
|
export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
|
|
38
39
|
export { default as VeltReactionTool } from "./VeltReactionTool";
|
|
39
40
|
export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
|
|
@@ -67,4 +68,3 @@ export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWirefr
|
|
|
67
68
|
export { default as VeltInlineReactionsSectionWireframe } from "./VeltInlineReactionsSectionWireframe";
|
|
68
69
|
export { default as VeltPersistentCommentModeWireframe } from "./VeltPersistentCommentModeWireframe";
|
|
69
70
|
export { default as VeltMultiThreadCommentDialogWireframe } from "./VeltMultiThreadCommentDialogWireframe";
|
|
70
|
-
export { default as VeltCommentsSidebarButtonWireframe } from "./VeltCommentsSidebarButtonWireframe";
|
package/cjs/types/constants.d.ts
CHANGED
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 = '3.0.
|
|
135
|
+
var VELT_SDK_VERSION = '3.0.11';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
var VELT_TAB_ID = 'veltTabId';
|
|
138
138
|
|
|
@@ -1383,6 +1383,12 @@ var VeltData = function (props) {
|
|
|
1383
1383
|
return (React.createElement("velt-data", { ref: ref, path: path }));
|
|
1384
1384
|
};
|
|
1385
1385
|
|
|
1386
|
+
var VeltIf = function (props) {
|
|
1387
|
+
var condition = props.condition, children = props.children;
|
|
1388
|
+
var ref = useRef();
|
|
1389
|
+
return (React.createElement("velt-if", { ref: ref, condition: condition }, children));
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1386
1392
|
var VeltCommentsMinimap = function (props) {
|
|
1387
1393
|
var position = props.position, targetScrollableElementId = props.targetScrollableElementId;
|
|
1388
1394
|
return (React.createElement("velt-comments-minimap", { position: position, "target-scrollable-element-id": targetScrollableElementId }));
|
|
@@ -3217,23 +3223,6 @@ VeltMultiThreadCommentDialogWireframe.ComposerContainer = VeltMultiThreadComment
|
|
|
3217
3223
|
VeltMultiThreadCommentDialogWireframe.List = VeltMultiThreadCommentDialogListWireframe;
|
|
3218
3224
|
VeltMultiThreadCommentDialogWireframe.CloseButton = VeltMultiThreadCommentDialogCloseButtonWireframe;
|
|
3219
3225
|
|
|
3220
|
-
var VeltCommentsSidebarButtonCommentsCount = function (props) {
|
|
3221
|
-
var children = props.children;
|
|
3222
|
-
return (React.createElement("velt-comments-sidebar-button-comments-count-wireframe", null, children));
|
|
3223
|
-
};
|
|
3224
|
-
|
|
3225
|
-
var VeltCommentsSidebarButtonIcon = function (props) {
|
|
3226
|
-
var children = props.children;
|
|
3227
|
-
return (React.createElement("velt-comments-sidebar-button-icon-wireframe", null, children));
|
|
3228
|
-
};
|
|
3229
|
-
|
|
3230
|
-
var VeltCommentsSidebarButtonWireframe = function (props) {
|
|
3231
|
-
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
3232
|
-
return (React.createElement("velt-comments-sidebar-button-wireframe", __assign({}, remainingProp), children));
|
|
3233
|
-
};
|
|
3234
|
-
VeltCommentsSidebarButtonWireframe.CommentsCount = VeltCommentsSidebarButtonCommentsCount;
|
|
3235
|
-
VeltCommentsSidebarButtonWireframe.Icon = VeltCommentsSidebarButtonIcon;
|
|
3236
|
-
|
|
3237
3226
|
function useClient() {
|
|
3238
3227
|
var client = useVeltClient().client;
|
|
3239
3228
|
var _a = React.useState(), veltClient = _a[0], setVeltClient = _a[1];
|
|
@@ -4004,5 +3993,5 @@ var logLiveState = function (action, liveStateDataId) {
|
|
|
4004
3993
|
}
|
|
4005
3994
|
};
|
|
4006
3995
|
|
|
4007
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton,
|
|
3996
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, 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, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, 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, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|
|
4008
3997
|
//# sourceMappingURL=index.js.map
|