@veltdev/react 1.0.148 → 1.0.150
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 +51 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/VeltCommentDialogComposerAvatar.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
- package/cjs/types/components/VeltInlineCommentsSection/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/VeltInlineCommentsSectionComposerContainerWireframe.d.ts +6 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/VeltInlineCommentsSectionPanelWireframe.d.ts +6 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/VeltInlineCommentsSectionSkeletonWireframe.d.ts +6 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +6 -2
- package/cjs/types/components/index.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +50 -4
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/VeltCommentDialogComposerAvatar.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
- package/esm/types/components/VeltInlineCommentsSection/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/VeltInlineCommentsSectionComposerContainerWireframe.d.ts +6 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/VeltInlineCommentsSectionPanelWireframe.d.ts +6 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/VeltInlineCommentsSectionSkeletonWireframe.d.ts +6 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +6 -2
- package/esm/types/components/index.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +51 -1
- package/package.json +1 -1
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/VeltInlineCommentsSectionComposerWireframe.d.ts +0 -6
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/index.d.ts +0 -1
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/VeltInlineCommentsSectionComposerWireframe.d.ts +0 -6
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/index.d.ts +0 -1
package/cjs/index.js
CHANGED
|
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
var VELT_SDK_VERSION = '1.0.
|
|
143
|
+
var VELT_SDK_VERSION = '1.0.167';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -234,7 +234,7 @@ var SnippylyCommentBubble = function (props) {
|
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
var SnippylyComments = function (props) {
|
|
237
|
-
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode;
|
|
237
|
+
var autoCategorize = props.autoCategorize, streamViewContainerId = props.streamViewContainerId, onSignIn = props.onSignIn, onUpgrade = props.onUpgrade, textMode = props.textMode, popoverMode = props.popoverMode, popoverTriangleComponent = props.popoverTriangleComponent, floatingCommentDialog = props.floatingCommentDialog, moderatorMode = props.moderatorMode, streamMode = props.streamMode, signInButton = props.signInButton, upgradeButton = props.upgradeButton, attachments = props.attachments, recordings = props.recordings, reactions = props.reactions, deviceInfo = props.deviceInfo, commentIndex = props.commentIndex, dialogOnHover = props.dialogOnHover, dialogOnTargetElementClick = props.dialogOnTargetElementClick, priority = props.priority, inboxMode = props.inboxMode, suggestionMode = props.suggestionMode, mobileMode = props.mobileMode, inlineCommentMode = props.inlineCommentMode, privateCommentMode = props.privateCommentMode, minimap = props.minimap, persistentCommentMode = props.persistentCommentMode, ghostComments = props.ghostComments, ghostCommentsIndicator = props.ghostCommentsIndicator, commentsOnDom = props.commentsOnDom, resolvedCommentsOnDom = props.resolvedCommentsOnDom, commentTool = props.commentTool, sidebarButtonOnCommentDialog = props.sidebarButtonOnCommentDialog, deviceIndicatorOnCommentPins = props.deviceIndicatorOnCommentPins, scrollToComment = props.scrollToComment, userMentions = props.userMentions, deleteOnBackspace = props.deleteOnBackspace, hotkey = props.hotkey, recordingSummary = props.recordingSummary, recordingCountdown = props.recordingCountdown, unreadIndicatorMode = props.unreadIndicatorMode, enterKeyToSubmit = props.enterKeyToSubmit, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, commentPinHighlighter = props.commentPinHighlighter, customReactions = props.customReactions, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, onCommentSelectionChange = props.onCommentSelectionChange, customStatus = props.customStatus, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children, textCommentToolShadowDom = props.textCommentToolShadowDom, textCommentToolbarShadowDom = props.textCommentToolbarShadowDom, dialogDarkMode = props.dialogDarkMode, pinDarkMode = props.pinDarkMode, textCommentToolDarkMode = props.textCommentToolDarkMode, textCommentToolbarDarkMode = props.textCommentToolbarDarkMode, composerMode = props.composerMode;
|
|
238
238
|
var ref = React.useRef();
|
|
239
239
|
var onSignInRef = React.useRef(onSignIn);
|
|
240
240
|
var onUpgradeRef = React.useRef(onUpgrade);
|
|
@@ -323,7 +323,7 @@ var SnippylyComments = function (props) {
|
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
}, []);
|
|
326
|
-
return (React__default["default"].createElement("velt-comments", { ref: ref, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined }, children));
|
|
326
|
+
return (React__default["default"].createElement("velt-comments", { ref: ref, "composer-mode": composerMode, "auto-categorize": [true, false].includes(autoCategorize) ? (autoCategorize ? 'true' : 'false') : undefined, "data-stream-view-container-id": streamViewContainerId, "text-mode": [true, false].includes(textMode) ? (textMode ? 'true' : 'false') : undefined, "popover-mode": [true, false].includes(popoverMode) ? (popoverMode ? 'true' : 'false') : undefined, "popover-triangle-component": [true, false].includes(popoverTriangleComponent) ? (popoverTriangleComponent ? 'true' : 'false') : undefined, "floating-comment-dialog": [true, false].includes(floatingCommentDialog) ? (floatingCommentDialog ? 'true' : 'false') : undefined, "moderator-mode": [true, false].includes(moderatorMode) ? (moderatorMode ? 'true' : 'false') : undefined, "stream-mode": [true, false].includes(streamMode) ? (streamMode ? 'true' : 'false') : undefined, "sign-in-button": [true, false].includes(signInButton) ? (signInButton ? 'true' : 'false') : undefined, "upgrade-button": [true, false].includes(upgradeButton) ? (upgradeButton ? 'true' : 'false') : undefined, attachments: [true, false].includes(attachments) ? (attachments ? 'true' : 'false') : undefined, recordings: recordings, reactions: [true, false].includes(reactions) ? (reactions ? 'true' : 'false') : undefined, "device-info": [true, false].includes(deviceInfo) ? (deviceInfo ? 'true' : 'false') : undefined, "comment-index": [true, false].includes(commentIndex) ? (commentIndex ? 'true' : 'false') : undefined, "dialog-on-hover": [true, false].includes(dialogOnHover) ? (dialogOnHover ? 'true' : 'false') : undefined, "dialog-on-target-element-click": [true, false].includes(dialogOnTargetElementClick) ? (dialogOnTargetElementClick ? 'true' : 'false') : undefined, priority: [true, false].includes(priority) ? (priority ? 'true' : 'false') : undefined, status: [true, false].includes(status) ? (status ? 'true' : 'false') : undefined, "resolve-button": [true, false].includes(resolveButton) ? (resolveButton ? 'true' : 'false') : undefined, "inbox-mode": [true, false].includes(inboxMode) ? (inboxMode ? 'true' : 'false') : undefined, "suggestion-mode": [true, false].includes(suggestionMode) ? (suggestionMode ? 'true' : 'false') : undefined, "mobile-mode": [true, false].includes(mobileMode) ? (mobileMode ? 'true' : 'false') : undefined, "inline-comment-mode": [true, false].includes(inlineCommentMode) ? (inlineCommentMode ? 'true' : 'false') : undefined, "private-comment-mode": [true, false].includes(privateCommentMode) ? (privateCommentMode ? 'true' : 'false') : undefined, minimap: [true, false].includes(minimap) ? (minimap ? 'true' : 'false') : undefined, "persistent-comment-mode": [true, false].includes(persistentCommentMode) ? (persistentCommentMode ? 'true' : 'false') : undefined, "ghost-comments": [true, false].includes(ghostComments) ? (ghostComments ? 'true' : 'false') : undefined, "ghost-comments-indicator": [true, false].includes(ghostCommentsIndicator) ? (ghostCommentsIndicator ? 'true' : 'false') : undefined, "comments-on-dom": [true, false].includes(commentsOnDom) ? (commentsOnDom ? 'true' : 'false') : undefined, "resolved-comments-on-dom": [true, false].includes(resolvedCommentsOnDom) ? (resolvedCommentsOnDom ? 'true' : 'false') : undefined, "comment-tool": [true, false].includes(commentTool) ? (commentTool ? 'true' : 'false') : undefined, "sidebar-button-on-comment-dialog": [true, false].includes(sidebarButtonOnCommentDialog) ? (sidebarButtonOnCommentDialog ? 'true' : 'false') : undefined, "device-indicator-on-comment-pins": [true, false].includes(deviceIndicatorOnCommentPins) ? (deviceIndicatorOnCommentPins ? 'true' : 'false') : undefined, "scroll-to-comment": [true, false].includes(scrollToComment) ? (scrollToComment ? 'true' : 'false') : undefined, "user-mentions": [true, false].includes(userMentions) ? (userMentions ? 'true' : 'false') : undefined, "delete-on-backspace": [true, false].includes(deleteOnBackspace) ? (deleteOnBackspace ? 'true' : 'false') : undefined, hotkey: [true, false].includes(hotkey) ? (hotkey ? 'true' : 'false') : undefined, "recording-summary": [true, false].includes(recordingSummary) ? (recordingSummary ? 'true' : 'false') : undefined, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "unread-indicator-mode": unreadIndicatorMode, "enter-key-to-submit": [true, false].includes(enterKeyToSubmit) ? (enterKeyToSubmit ? 'true' : 'false') : undefined, "pin-shadow-dom": [true, false].includes(pinShadowDom) ? (pinShadowDom ? 'true' : 'false') : undefined, "dialog-shadow-dom": [true, false].includes(dialogShadowDom) ? (dialogShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "text-comment-tool-shadow-dom": [true, false].includes(textCommentToolShadowDom) ? (textCommentToolShadowDom ? 'true' : 'false') : undefined, "text-comment-toolbar-shadow-dom": [true, false].includes(textCommentToolbarShadowDom) ? (textCommentToolbarShadowDom ? 'true' : 'false') : undefined, "change-detection-in-comment-mode": [true, false].includes(changeDetectionInCommentMode) ? (changeDetectionInCommentMode ? 'true' : 'false') : undefined, "allowed-element-ids": JSON.stringify(allowedElementIds), "allowed-element-class-names": JSON.stringify(allowedElementClassNames), "allowed-element-query-selectors": JSON.stringify(allowedElementQuerySelectors), "comment-pin-highlighter": [true, false].includes(commentPinHighlighter) ? (commentPinHighlighter ? 'true' : 'false') : undefined, "custom-reactions": JSON.stringify(customReactions), "custom-status": JSON.stringify(customStatus), "custom-priority": JSON.stringify(customPriority), "custom-category": JSON.stringify(customCategory), "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, "dialog-dark-mode": [true, false].includes(dialogDarkMode) ? (dialogDarkMode ? 'true' : 'false') : undefined, "pin-dark-mode": [true, false].includes(pinDarkMode) ? (pinDarkMode ? 'true' : 'false') : undefined, "text-comment-tool-dark-mode": [true, false].includes(textCommentToolDarkMode) ? (textCommentToolDarkMode ? 'true' : 'false') : undefined, "text-comment-toolbar-dark-mode": [true, false].includes(textCommentToolbarDarkMode) ? (textCommentToolbarDarkMode ? 'true' : 'false') : undefined }, children));
|
|
327
327
|
};
|
|
328
328
|
|
|
329
329
|
var SnippylyCommentsSidebar = function (props) {
|
|
@@ -1128,6 +1128,11 @@ var VeltAutocomplete = function (props) {
|
|
|
1128
1128
|
return (React__default["default"].createElement("velt-autocomplete", { hotkey: hotkey, "list-data": (typeof listData === 'object') ? JSON.stringify(listData) : undefined }));
|
|
1129
1129
|
};
|
|
1130
1130
|
|
|
1131
|
+
var VeltInlineCommentsSection = function (props) {
|
|
1132
|
+
var config = props.config, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, dialogVariant = props.dialogVariant;
|
|
1133
|
+
return (React__default["default"].createElement("velt-inline-comments-section", { config: JSON.stringify(config), variant: variant, "dialog-variant": dialogVariant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1131
1136
|
var VeltWireframe = function (props) {
|
|
1132
1137
|
var children = props.children;
|
|
1133
1138
|
return (React__default["default"].createElement("velt-wireframe", { style: { display: 'none' } }, children));
|
|
@@ -1317,6 +1322,11 @@ var VeltCommentDialogComposerPrivateBadge = function (props) {
|
|
|
1317
1322
|
return (React__default["default"].createElement("velt-comment-dialog-composer-private-badge-wireframe", __assign({}, remainingProp), children));
|
|
1318
1323
|
};
|
|
1319
1324
|
|
|
1325
|
+
var VeltCommentDialogComposerAvatar = function (props) {
|
|
1326
|
+
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1327
|
+
return (React__default["default"].createElement("velt-comment-dialog-composer-avatar-wireframe", __assign({}, remainingProp), children));
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1320
1330
|
var VeltCommentDialogComposer = function (props) {
|
|
1321
1331
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1322
1332
|
return (React__default["default"].createElement("velt-comment-dialog-composer-wireframe", __assign({}, remainingProp), children));
|
|
@@ -1327,6 +1337,7 @@ VeltCommentDialogComposer.Attachments = VeltCommentDialogComposerAttachments;
|
|
|
1327
1337
|
VeltCommentDialogComposer.Input = VeltCommentDialogComposerInput;
|
|
1328
1338
|
VeltCommentDialogComposer.Recordings = VeltCommentDialogComposerRecordings;
|
|
1329
1339
|
VeltCommentDialogComposer.PrivateBadge = VeltCommentDialogComposerPrivateBadge;
|
|
1340
|
+
VeltCommentDialogComposer.Avatar = VeltCommentDialogComposerAvatar;
|
|
1330
1341
|
|
|
1331
1342
|
var VeltCommentDialogCopyLink = function (props) {
|
|
1332
1343
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
@@ -2300,6 +2311,41 @@ var VeltReactionsPanelWireframe = function (props) {
|
|
|
2300
2311
|
};
|
|
2301
2312
|
VeltReactionsPanelWireframe.Items = VeltReactionsPanelItemsWireframe;
|
|
2302
2313
|
|
|
2314
|
+
var VeltInlineCommentsSectionCommentCountWireframe = function (props) {
|
|
2315
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2316
|
+
return (React__default["default"].createElement("velt-inline-comments-section-comment-count-wireframe", __assign({}, remainingProps), children));
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2319
|
+
var VeltInlineCommentsSectionComposerContainerWireframe = function (props) {
|
|
2320
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2321
|
+
return (React__default["default"].createElement("velt-inline-comments-section-composer-container-wireframe", __assign({}, remainingProps), children));
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
var VeltInlineCommentsSectionListWireframe = function (props) {
|
|
2325
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2326
|
+
return (React__default["default"].createElement("velt-inline-comments-section-list-wireframe", __assign({}, remainingProps), children));
|
|
2327
|
+
};
|
|
2328
|
+
|
|
2329
|
+
var VeltInlineCommentsSectionPanelWireframe = function (props) {
|
|
2330
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2331
|
+
return (React__default["default"].createElement("velt-inline-comments-section-panel-wireframe", __assign({}, remainingProps), children));
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
var VeltInlineCommentsSectionSkeletonWireframe = function (props) {
|
|
2335
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2336
|
+
return (React__default["default"].createElement("velt-inline-comments-section-skeleton-wireframe", __assign({}, remainingProps), children));
|
|
2337
|
+
};
|
|
2338
|
+
|
|
2339
|
+
var VeltInlineCommentsSectionWireframe = function (props) {
|
|
2340
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
2341
|
+
return (React__default["default"].createElement("velt-inline-comments-section-wireframe", __assign({}, remainingProps), children));
|
|
2342
|
+
};
|
|
2343
|
+
VeltInlineCommentsSectionWireframe.CommentCount = VeltInlineCommentsSectionCommentCountWireframe;
|
|
2344
|
+
VeltInlineCommentsSectionWireframe.ComposerContainer = VeltInlineCommentsSectionComposerContainerWireframe;
|
|
2345
|
+
VeltInlineCommentsSectionWireframe.List = VeltInlineCommentsSectionListWireframe;
|
|
2346
|
+
VeltInlineCommentsSectionWireframe.Panel = VeltInlineCommentsSectionPanelWireframe;
|
|
2347
|
+
VeltInlineCommentsSectionWireframe.Skeleton = VeltInlineCommentsSectionSkeletonWireframe;
|
|
2348
|
+
|
|
2303
2349
|
function useClient() {
|
|
2304
2350
|
var client = useVeltClient().client;
|
|
2305
2351
|
var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
|
|
@@ -2990,6 +3036,8 @@ exports.VeltCursor = SnippylyCursor;
|
|
|
2990
3036
|
exports.VeltHighChartComments = VeltHighChartComments;
|
|
2991
3037
|
exports.VeltHuddle = SnippylyHuddle;
|
|
2992
3038
|
exports.VeltHuddleTool = SnippylyHuddleTool;
|
|
3039
|
+
exports.VeltInlineCommentsSection = VeltInlineCommentsSection;
|
|
3040
|
+
exports.VeltInlineCommentsSectionWireframe = VeltInlineCommentsSectionWireframe;
|
|
2993
3041
|
exports.VeltNivoChartComments = VeltNivoChartComments;
|
|
2994
3042
|
exports.VeltNotificationsHistoryPanel = VeltNotificationsHistoryPanel;
|
|
2995
3043
|
exports.VeltNotificationsPanel = VeltNotificationsPanel;
|