@veltdev/react 1.0.119 → 1.0.121

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 (92) hide show
  1. package/cjs/index.js +84 -134
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
  4. package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
  5. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  6. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  7. package/cjs/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
  8. package/cjs/types/components/VeltAutocomplete/index.d.ts +1 -0
  9. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
  10. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
  12. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
  14. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
  16. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
  18. package/cjs/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
  20. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
  21. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
  22. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
  23. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
  24. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
  25. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
  26. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
  27. package/cjs/types/components/index.d.ts +2 -0
  28. package/cjs/types/hooks/AutocompleteElement.d.ts +3 -0
  29. package/cjs/types/hooks/Client.d.ts +1 -20
  30. package/cjs/types/hooks/CommentElement.d.ts +0 -18
  31. package/cjs/types/hooks/CursorElement.d.ts +0 -6
  32. package/cjs/types/hooks/HuddleElement.d.ts +0 -3
  33. package/cjs/types/hooks/LiveStateSyncElement.d.ts +0 -24
  34. package/cjs/types/hooks/NotificationElement.d.ts +0 -6
  35. package/cjs/types/hooks/PresenceElement.d.ts +0 -6
  36. package/cjs/types/hooks/RecorderElement.d.ts +0 -6
  37. package/cjs/types/hooks/RewriterElement.d.ts +0 -3
  38. package/cjs/types/hooks/SelectionElement.d.ts +0 -3
  39. package/cjs/types/hooks/TagElement.d.ts +0 -6
  40. package/cjs/types/hooks/ViewsElement.d.ts +0 -9
  41. package/cjs/types/hooks/index.d.ts +2 -1
  42. package/esm/index.js +81 -134
  43. package/esm/index.js.map +1 -1
  44. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
  45. package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
  46. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  47. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  48. package/esm/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
  49. package/esm/types/components/VeltAutocomplete/index.d.ts +1 -0
  50. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
  51. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
  52. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
  53. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
  54. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
  55. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
  56. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
  57. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
  58. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
  59. package/esm/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
  60. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
  61. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
  62. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
  63. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
  64. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
  65. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
  66. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
  67. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
  68. package/esm/types/components/index.d.ts +2 -0
  69. package/esm/types/hooks/AutocompleteElement.d.ts +3 -0
  70. package/esm/types/hooks/Client.d.ts +1 -20
  71. package/esm/types/hooks/CommentElement.d.ts +0 -18
  72. package/esm/types/hooks/CursorElement.d.ts +0 -6
  73. package/esm/types/hooks/HuddleElement.d.ts +0 -3
  74. package/esm/types/hooks/LiveStateSyncElement.d.ts +0 -24
  75. package/esm/types/hooks/NotificationElement.d.ts +0 -6
  76. package/esm/types/hooks/PresenceElement.d.ts +0 -6
  77. package/esm/types/hooks/RecorderElement.d.ts +0 -6
  78. package/esm/types/hooks/RewriterElement.d.ts +0 -3
  79. package/esm/types/hooks/SelectionElement.d.ts +0 -3
  80. package/esm/types/hooks/TagElement.d.ts +0 -6
  81. package/esm/types/hooks/ViewsElement.d.ts +0 -9
  82. package/esm/types/hooks/index.d.ts +2 -1
  83. package/index.d.ts +47 -118
  84. package/package.json +1 -1
  85. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  86. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  87. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  88. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
  89. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  90. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  91. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  92. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
package/cjs/index.js CHANGED
@@ -228,12 +228,12 @@ var SnippylyProvider = function (props) {
228
228
  };
229
229
 
230
230
  var SnippylyCommentBubble = function (props) {
231
- var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children;
232
- return (React__default["default"].createElement("velt-comment-bubble", { "target-comment-element-id": targetCommentElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined }, children));
231
+ var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant;
232
+ return (React__default["default"].createElement("velt-comment-bubble", { "target-comment-element-id": targetCommentElementId, "show-avatar": [true, false].includes(showAvatar) ? (showAvatar ? 'true' : 'false') : undefined, avatar: [true, false].includes(avatar) ? (avatar ? 'true' : 'false') : undefined, "comment-bubble-target-pin-hover": commentBubbleTargetPinHover ? 'true' : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, variant: variant }, children));
233
233
  };
234
234
 
235
235
  var SnippylyComments = function (props) {
236
- 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, 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, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, customStatus = props.customStatus, customPriority = props.customPriority, customCategory = props.customCategory, status = props.status, resolveButton = props.resolveButton, darkMode = props.darkMode, onCustomPinInject = props.onCustomPinInject, children = props.children;
236
+ 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, 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, pinShadowDom = props.pinShadowDom, dialogShadowDom = props.dialogShadowDom, shadowDom = props.shadowDom, changeDetectionInCommentMode = props.changeDetectionInCommentMode, allowedElementIds = props.allowedElementIds, allowedElementClassNames = props.allowedElementClassNames, allowedElementQuerySelectors = props.allowedElementQuerySelectors, onCommentAdd = props.onCommentAdd, onCommentUpdate = props.onCommentUpdate, onCommentAccept = props.onCommentAccept, onCommentReject = props.onCommentReject, onSidebarButtonOnCommentDialogClick = props.onSidebarButtonOnCommentDialogClick, 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;
237
237
  var ref = React.useRef();
238
238
  var onSignInRef = React.useRef(onSignIn);
239
239
  var onUpgradeRef = React.useRef(onUpgrade);
@@ -313,7 +313,7 @@ var SnippylyComments = function (props) {
313
313
  });
314
314
  }
315
315
  }, []);
316
- 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, "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, "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, "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), "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 }, children));
316
+ 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, "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, "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), "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 }, children));
317
317
  };
318
318
 
319
319
  var SnippylyCommentsSidebar = function (props) {
@@ -357,11 +357,11 @@ var SnippylyCommentsSidebar = function (props) {
357
357
  });
358
358
  }
359
359
  }, []);
360
- return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined }));
360
+ return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData }));
361
361
  };
362
362
 
363
363
  var SnippylyCommentTool = function (props) {
364
- var targetCommentElementId = props.targetCommentElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant;
364
+ var targetCommentElementId = props.targetCommentElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom;
365
365
  var ref = React.useRef();
366
366
  var onCommentModeChangeRef = React.useRef(onCommentModeChange);
367
367
  // Update the ref to always point to the latest callback function
@@ -378,7 +378,7 @@ var SnippylyCommentTool = function (props) {
378
378
  });
379
379
  }
380
380
  }, []);
381
- return (React__default["default"].createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, variant: variant, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
381
+ return (React__default["default"].createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
382
382
  };
383
383
 
384
384
  var SnippylyCursor = function (props) {
@@ -517,8 +517,8 @@ var SnippylyRecorderTool = function (props) {
517
517
  };
518
518
 
519
519
  var SnippylySidebarButton = function (props) {
520
- var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode;
521
- return (React__default["default"].createElement("velt-sidebar-button", { "tooltip-text": tooltipText, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
520
+ var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
521
+ return (React__default["default"].createElement("velt-sidebar-button", { "tooltip-text": tooltipText, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
522
522
  };
523
523
 
524
524
  var SnippylyTags = function (props) {
@@ -1113,6 +1113,11 @@ var VeltHighChartComments = function (_a) {
1113
1113
  React__default["default"].createElement(VeltChartComment, { ghostComment: true, commentMetadata: point.metadata, dialogMetadataTemplate: dialogMetadataTemplate || point.dialogMetadataTemplate || ['groupId', 'label', 'value'] }))); })));
1114
1114
  };
1115
1115
 
1116
+ var VeltAutocomplete = function (props) {
1117
+ var hotkey = props.hotkey, listData = props.listData;
1118
+ return (React__default["default"].createElement("velt-autocomplete", { hotkey: hotkey, "list-data": (typeof listData === 'object') ? JSON.stringify(listData) : undefined }));
1119
+ };
1120
+
1116
1121
  var VeltWireframe = function (props) {
1117
1122
  var children = props.children;
1118
1123
  return (React__default["default"].createElement("velt-wireframe", null, children));
@@ -1166,9 +1171,9 @@ var VeltCommentDialogCommentCategory = function (props) {
1166
1171
  return (React__default["default"].createElement("velt-comment-dialog-comment-category-wireframe", null, children));
1167
1172
  };
1168
1173
 
1169
- var VeltCommentDialogCommentCount = function (props) {
1174
+ var VeltCommentDialogCommentIndex = function (props) {
1170
1175
  var children = props.children;
1171
- return (React__default["default"].createElement("velt-comment-dialog-comment-count-wireframe", null, children));
1176
+ return (React__default["default"].createElement("velt-comment-dialog-comment-index-wireframe", null, children));
1172
1177
  };
1173
1178
 
1174
1179
  var VeltCommentDialogCommentSuggestionStatus = function (props) {
@@ -1375,7 +1380,7 @@ VeltCommentDialogWireframe.AssigneeBanner = VeltCommentDialogAssigneeBanner;
1375
1380
  VeltCommentDialogWireframe.AssignMenu = VeltCommentDialogAssignMenu;
1376
1381
  VeltCommentDialogWireframe.Body = VeltCommentDialogBody;
1377
1382
  VeltCommentDialogWireframe.CommentCategory = VeltCommentDialogCommentCategory;
1378
- VeltCommentDialogWireframe.CommentCount = VeltCommentDialogCommentCount;
1383
+ VeltCommentDialogWireframe.CommentIndex = VeltCommentDialogCommentIndex;
1379
1384
  VeltCommentDialogWireframe.CommentSuggestionStatus = VeltCommentDialogCommentSuggestionStatus;
1380
1385
  VeltCommentDialogWireframe.Composer = VeltCommentDialogComposer;
1381
1386
  VeltCommentDialogWireframe.CopyLink = VeltCommentDialogCopyLink;
@@ -1504,9 +1509,9 @@ var VeltCommentsSidebarList = function (props) {
1504
1509
  return (React__default["default"].createElement("velt-comments-sidebar-list-wireframe", null, children));
1505
1510
  };
1506
1511
 
1507
- var VeltCommentsSidebarPageMode = function (props) {
1512
+ var VeltCommentsSidebarPageModeComposer = function (props) {
1508
1513
  var children = props.children;
1509
- return (React__default["default"].createElement("velt-comments-sidebar-page-mode-wireframe", null, children));
1514
+ return (React__default["default"].createElement("velt-comments-sidebar-page-mode-composer-wireframe", null, children));
1510
1515
  };
1511
1516
 
1512
1517
  var VeltCommentsSidebarSearch = function (props) {
@@ -1533,7 +1538,7 @@ VeltCommentsSidebarWireframe.EmptyPlaceholder = VeltCommentsSidebarEmptyPlacehol
1533
1538
  VeltCommentsSidebarWireframe.Filter = VeltCommentsSidebarFilter;
1534
1539
  VeltCommentsSidebarWireframe.Header = VeltCommentsSidebarHeader;
1535
1540
  VeltCommentsSidebarWireframe.List = VeltCommentsSidebarList;
1536
- VeltCommentsSidebarWireframe.PageMode = VeltCommentsSidebarPageMode;
1541
+ VeltCommentsSidebarWireframe.PageModeComposer = VeltCommentsSidebarPageModeComposer;
1537
1542
  VeltCommentsSidebarWireframe.Search = VeltCommentsSidebarSearch;
1538
1543
  VeltCommentsSidebarWireframe.Status = VeltCommentsSidebarStatus;
1539
1544
  VeltCommentsSidebarWireframe.FilterButton = VeltCommentsSidebarFilterButton;
@@ -1579,8 +1584,8 @@ var VeltSidebarButtonCommentsCount = function (props) {
1579
1584
  };
1580
1585
 
1581
1586
  var VeltSidebarButtonWireframe = function (props) {
1582
- var children = props.children;
1583
- return (React__default["default"].createElement("velt-sidebar-button-wireframe", null, children));
1587
+ var children = props.children, remainingProp = __rest(props, ["children"]);
1588
+ return (React__default["default"].createElement("velt-sidebar-button-wireframe", __assign({}, remainingProp), children));
1584
1589
  };
1585
1590
  VeltSidebarButtonWireframe.CommentsCount = VeltSidebarButtonCommentsCount;
1586
1591
 
@@ -1652,6 +1657,35 @@ VeltUserSelectorDropdown.Email = VeltUserSelectorDropdownEmail;
1652
1657
  VeltUserSelectorDropdown.ErrorIcon = VeltUserSelectorDropdownErrorIcon;
1653
1658
  VeltUserSelectorDropdown.Name = VeltUserSelectorDropdownName;
1654
1659
 
1660
+ var VeltAutocompleteOptionIconWireframe = function (props) {
1661
+ var children = props.children;
1662
+ return (React__default["default"].createElement("velt-autocomplete-option-icon-wireframe", null, children));
1663
+ };
1664
+
1665
+ var VeltAutocompleteOptionNameWireframe = function (props) {
1666
+ var children = props.children;
1667
+ return (React__default["default"].createElement("velt-autocomplete-option-name-wireframe", null, children));
1668
+ };
1669
+
1670
+ var VeltAutocompleteOptionDescriptionWireframe = function (props) {
1671
+ var children = props.children;
1672
+ return (React__default["default"].createElement("velt-autocomplete-option-description-wireframe", null, children));
1673
+ };
1674
+
1675
+ var VeltAutocompleteOptionErrorIconWireframe = function (props) {
1676
+ var children = props.children;
1677
+ return (React__default["default"].createElement("velt-autocomplete-option-error-icon-wireframe", null, children));
1678
+ };
1679
+
1680
+ var VeltAutocompleteOptionWireframe = function (props) {
1681
+ var children = props.children;
1682
+ return (React__default["default"].createElement("velt-autocomplete-option-wireframe", null, children));
1683
+ };
1684
+ VeltAutocompleteOptionWireframe.Icon = VeltAutocompleteOptionIconWireframe;
1685
+ VeltAutocompleteOptionWireframe.Description = VeltAutocompleteOptionDescriptionWireframe;
1686
+ VeltAutocompleteOptionWireframe.ErrorIcon = VeltAutocompleteOptionErrorIconWireframe;
1687
+ VeltAutocompleteOptionWireframe.Name = VeltAutocompleteOptionNameWireframe;
1688
+
1655
1689
  var VeltCommentBubbleAvatar = function (props) {
1656
1690
  var children = props.children;
1657
1691
  return (React__default["default"].createElement("velt-comment-bubble-avatar-wireframe", null, children));
@@ -1662,9 +1696,6 @@ var VeltCommentBubbleCommentsCount = function (props) {
1662
1696
  return (React__default["default"].createElement("velt-comment-bubble-comments-count-wireframe", null, children));
1663
1697
  };
1664
1698
 
1665
- /**
1666
- * @beta This hook is in beta
1667
- */
1668
1699
  function useClient() {
1669
1700
  var client = useVeltClient().client;
1670
1701
  var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -1675,55 +1706,31 @@ function useClient() {
1675
1706
  }, [client, setVeltClient, veltClient]);
1676
1707
  return veltClient;
1677
1708
  }
1678
- /**
1679
- * @beta This hook is in beta
1680
- */
1681
1709
  function useIdentify(user, userOptions) {
1682
1710
  var client = useVeltClient().client;
1683
1711
  React__default["default"].useEffect(function () {
1684
1712
  client && client.identify(user, userOptions);
1685
1713
  }, [client]);
1686
1714
  }
1687
- /**
1688
- * @beta This hook is in beta
1689
- */
1690
1715
  function useSetDocumentId(documentId) {
1691
1716
  var client = useVeltClient().client;
1692
1717
  React__default["default"].useEffect(function () {
1693
1718
  client && client.setDocumentId(documentId);
1694
1719
  }, [client]);
1695
1720
  }
1696
- /**
1697
- * @beta This hook is in beta
1698
- */
1699
1721
  function useUnsetDocumentId() {
1700
1722
  var client = useVeltClient().client;
1701
1723
  React__default["default"].useEffect(function () {
1702
1724
  client && client.unsetDocumentId && client.unsetDocumentId();
1703
1725
  }, [client]);
1704
1726
  }
1705
- /**
1706
- * @beta This hook is in beta
1707
- */
1708
- function useSetLocation(location) {
1727
+ function useSetLocation(location, appendLocation) {
1709
1728
  var client = useVeltClient().client;
1710
1729
  React__default["default"].useEffect(function () {
1711
- client && client.setLocation(location);
1712
- }, [client]);
1713
- }
1714
- /**
1715
- * @beta This hook is in beta
1716
- */
1717
- function useAddLocation(location) {
1718
- var client = useVeltClient().client;
1719
- React__default["default"].useEffect(function () {
1720
- client && client.addLocation(location);
1730
+ client && client.setLocation(location, appendLocation);
1721
1731
  }, [client]);
1722
1732
  }
1723
1733
 
1724
- /**
1725
- * @beta This hook is in beta
1726
- */
1727
1734
  function useCommentUtils() {
1728
1735
  var _a = React__default["default"].useState(), commentElement = _a[0], setCommentElement = _a[1];
1729
1736
  var client = useVeltClient().client;
@@ -1735,9 +1742,6 @@ function useCommentUtils() {
1735
1742
  }, [client, setCommentElement, commentElement]);
1736
1743
  return commentElement;
1737
1744
  }
1738
- /**
1739
- * @beta This hook is in beta
1740
- */
1741
1745
  function useCommentAnnotations(documentId, location) {
1742
1746
  var commentElement = useCommentUtils();
1743
1747
  var _a = React__default["default"].useState([]), data = _a[0], setData = _a[1];
@@ -1753,9 +1757,6 @@ function useCommentAnnotations(documentId, location) {
1753
1757
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.getAllCommentAnnotations]);
1754
1758
  return data;
1755
1759
  }
1756
- /**
1757
- * @beta This hook is in beta
1758
- */
1759
1760
  function useCommentModeState() {
1760
1761
  var commentElement = useCommentUtils();
1761
1762
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -1771,9 +1772,6 @@ function useCommentModeState() {
1771
1772
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentModeChange]);
1772
1773
  return data;
1773
1774
  }
1774
- /**
1775
- * @beta This hook is in beta
1776
- */
1777
1775
  function useCommentAddHandler() {
1778
1776
  var commentElement = useCommentUtils();
1779
1777
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -1789,9 +1787,6 @@ function useCommentAddHandler() {
1789
1787
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentAdd]);
1790
1788
  return data;
1791
1789
  }
1792
- /**
1793
- * @beta This hook is in beta
1794
- */
1795
1790
  function useCommentUpdateHandler() {
1796
1791
  var commentElement = useCommentUtils();
1797
1792
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -1807,9 +1802,6 @@ function useCommentUpdateHandler() {
1807
1802
  }, [commentElement === null || commentElement === void 0 ? void 0 : commentElement.onCommentUpdate]);
1808
1803
  return data;
1809
1804
  }
1810
- /**
1811
- * @beta This hook is in beta
1812
- */
1813
1805
  function useCommentDialogSidebarClickHandler() {
1814
1806
  var commentElement = useCommentUtils();
1815
1807
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -1826,9 +1818,6 @@ function useCommentDialogSidebarClickHandler() {
1826
1818
  return data;
1827
1819
  }
1828
1820
 
1829
- /**
1830
- * @beta This hook is in beta
1831
- */
1832
1821
  function useCursorUtils() {
1833
1822
  var _a = React__default["default"].useState(), cursorElement = _a[0], setCursorElement = _a[1];
1834
1823
  var client = useVeltClient().client;
@@ -1840,9 +1829,6 @@ function useCursorUtils() {
1840
1829
  }, [client, setCursorElement, cursorElement]);
1841
1830
  return cursorElement;
1842
1831
  }
1843
- /**
1844
- * @beta This hook is in beta
1845
- */
1846
1832
  function useCursorUsers() {
1847
1833
  var cursorElement = useCursorUtils();
1848
1834
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -1859,9 +1845,6 @@ function useCursorUsers() {
1859
1845
  return data;
1860
1846
  }
1861
1847
 
1862
- /**
1863
- * @beta This hook is in beta
1864
- */
1865
1848
  function useHuddleUtils() {
1866
1849
  var _a = React__default["default"].useState(), huddleElement = _a[0], setHuddleElement = _a[1];
1867
1850
  var client = useVeltClient().client;
@@ -1874,9 +1857,6 @@ function useHuddleUtils() {
1874
1857
  return huddleElement;
1875
1858
  }
1876
1859
 
1877
- /**
1878
- * @beta This hook is in beta
1879
- */
1880
1860
  function useLiveStateSyncUtils() {
1881
1861
  var _a = React__default["default"].useState(), liveStateSyncElement = _a[0], setLiveStateSyncElement = _a[1];
1882
1862
  var client = useVeltClient().client;
@@ -1888,9 +1868,6 @@ function useLiveStateSyncUtils() {
1888
1868
  }, [client, setLiveStateSyncElement, liveStateSyncElement]);
1889
1869
  return liveStateSyncElement;
1890
1870
  }
1891
- /**
1892
- * @beta This hook is in beta
1893
- */
1894
1871
  function useLiveStateData(liveStateDataId) {
1895
1872
  var liveStateSyncElement = useLiveStateSyncUtils();
1896
1873
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -1906,9 +1883,6 @@ function useLiveStateData(liveStateDataId) {
1906
1883
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getLiveStateData]);
1907
1884
  return data;
1908
1885
  }
1909
- /**
1910
- * @beta This hook is in beta
1911
- */
1912
1886
  function useSetLiveStateData(liveStateDataId, liveStateData) {
1913
1887
  var liveStateSyncElement = useLiveStateSyncUtils();
1914
1888
  React__default["default"].useEffect(function () {
@@ -1917,9 +1891,6 @@ function useSetLiveStateData(liveStateDataId, liveStateData) {
1917
1891
  }
1918
1892
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.setLiveStateData]);
1919
1893
  }
1920
- /**
1921
- * @beta This hook is in beta
1922
- */
1923
1894
  function useUserEditorState() {
1924
1895
  var liveStateSyncElement = useLiveStateSyncUtils();
1925
1896
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -1935,9 +1906,6 @@ function useUserEditorState() {
1935
1906
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.isUserEditor]);
1936
1907
  return data;
1937
1908
  }
1938
- /**
1939
- * @beta This hook is in beta
1940
- */
1941
1909
  function useEditor() {
1942
1910
  var liveStateSyncElement = useLiveStateSyncUtils();
1943
1911
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -1953,9 +1921,6 @@ function useEditor() {
1953
1921
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getEditor]);
1954
1922
  return data;
1955
1923
  }
1956
- /**
1957
- * @beta This hook is in beta
1958
- */
1959
1924
  function useEditorAccessTimer() {
1960
1925
  var liveStateSyncElement = useLiveStateSyncUtils();
1961
1926
  var _a = React__default["default"].useState({ state: 'idle' }), data = _a[0], setData = _a[1];
@@ -1971,9 +1936,6 @@ function useEditorAccessTimer() {
1971
1936
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.getEditorAccessTimer]);
1972
1937
  return data;
1973
1938
  }
1974
- /**
1975
- * @beta This hook is in beta
1976
- */
1977
1939
  function useEditorAccessRequestHandler() {
1978
1940
  var liveStateSyncElement = useLiveStateSyncUtils();
1979
1941
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -1989,9 +1951,6 @@ function useEditorAccessRequestHandler() {
1989
1951
  }, [liveStateSyncElement === null || liveStateSyncElement === void 0 ? void 0 : liveStateSyncElement.isEditorAccessRequested]);
1990
1952
  return data;
1991
1953
  }
1992
- /**
1993
- * @beta This hook is in beta
1994
- */
1995
1954
  function useLiveState(liveStateDataId, initialValue, options) {
1996
1955
  var liveStateSyncElement = useLiveStateSyncUtils();
1997
1956
  var client = useVeltClient().client;
@@ -2061,9 +2020,6 @@ function useLiveState(liveStateDataId, initialValue, options) {
2061
2020
  return [data, setDataFunction];
2062
2021
  }
2063
2022
 
2064
- /**
2065
- * @beta This hook is in beta
2066
- */
2067
2023
  function usePresenceUtils() {
2068
2024
  var _a = React__default["default"].useState(), presenceElement = _a[0], setPresenceElement = _a[1];
2069
2025
  var client = useVeltClient().client;
@@ -2075,9 +2031,6 @@ function usePresenceUtils() {
2075
2031
  }, [client, setPresenceElement, presenceElement]);
2076
2032
  return presenceElement;
2077
2033
  }
2078
- /**
2079
- * @beta This hook is in beta
2080
- */
2081
2034
  function usePresenceUsers() {
2082
2035
  var presenceElement = usePresenceUtils();
2083
2036
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -2094,9 +2047,6 @@ function usePresenceUsers() {
2094
2047
  return data;
2095
2048
  }
2096
2049
 
2097
- /**
2098
- * @beta This hook is in beta
2099
- */
2100
2050
  function useRecorderUtils() {
2101
2051
  var _a = React__default["default"].useState(), recorderElement = _a[0], setRecorderElement = _a[1];
2102
2052
  var client = useVeltClient().client;
@@ -2108,9 +2058,6 @@ function useRecorderUtils() {
2108
2058
  }, [client, setRecorderElement, recorderElement]);
2109
2059
  return recorderElement;
2110
2060
  }
2111
- /**
2112
- * @beta This hook is in beta
2113
- */
2114
2061
  function useRecorderAddHandler() {
2115
2062
  var recorderElement = useRecorderUtils();
2116
2063
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
@@ -2127,9 +2074,6 @@ function useRecorderAddHandler() {
2127
2074
  return data;
2128
2075
  }
2129
2076
 
2130
- /**
2131
- * @beta This hook is in beta
2132
- */
2133
2077
  function useAIRewriterUtils() {
2134
2078
  var _a = React__default["default"].useState(), rewriterElement = _a[0], setRewriterElement = _a[1];
2135
2079
  var client = useVeltClient().client;
@@ -2142,9 +2086,6 @@ function useAIRewriterUtils() {
2142
2086
  return rewriterElement;
2143
2087
  }
2144
2088
 
2145
- /**
2146
- * @beta This hook is in beta
2147
- */
2148
2089
  function useLiveSelectionUtils() {
2149
2090
  var _a = React__default["default"].useState(), selectionElement = _a[0], setSelectionElement = _a[1];
2150
2091
  var client = useVeltClient().client;
@@ -2157,9 +2098,6 @@ function useLiveSelectionUtils() {
2157
2098
  return selectionElement;
2158
2099
  }
2159
2100
 
2160
- /**
2161
- * @beta This hook is in beta
2162
- */
2163
2101
  function useTagUtils() {
2164
2102
  var _a = React__default["default"].useState(), tagElement = _a[0], setTagElement = _a[1];
2165
2103
  var client = useVeltClient().client;
@@ -2171,9 +2109,6 @@ function useTagUtils() {
2171
2109
  }, [client, setTagElement, tagElement]);
2172
2110
  return tagElement;
2173
2111
  }
2174
- /**
2175
- * @beta This hook is in beta
2176
- */
2177
2112
  function useTagAnnotations(documentId, location) {
2178
2113
  var tagElement = useTagUtils();
2179
2114
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -2190,9 +2125,6 @@ function useTagAnnotations(documentId, location) {
2190
2125
  return data;
2191
2126
  }
2192
2127
 
2193
- /**
2194
- * @beta This hook is in beta
2195
- */
2196
2128
  function useViewsUtils() {
2197
2129
  var _a = React__default["default"].useState(), viewsElement = _a[0], setViewsElement = _a[1];
2198
2130
  var client = useVeltClient().client;
@@ -2204,9 +2136,6 @@ function useViewsUtils() {
2204
2136
  }, [client, setViewsElement, viewsElement]);
2205
2137
  return viewsElement;
2206
2138
  }
2207
- /**
2208
- * @beta This hook is in beta
2209
- */
2210
2139
  function useUniqueViewsByUser(clientLocationId) {
2211
2140
  var viewsElement = useViewsUtils();
2212
2141
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -2222,9 +2151,6 @@ function useUniqueViewsByUser(clientLocationId) {
2222
2151
  }, [viewsElement === null || viewsElement === void 0 ? void 0 : viewsElement.getUniqueViewsByUser]);
2223
2152
  return data;
2224
2153
  }
2225
- /**
2226
- * @beta This hook is in beta
2227
- */
2228
2154
  function useUniqueViewsByDate(clientLocationId) {
2229
2155
  var viewsElement = useViewsUtils();
2230
2156
  var _a = React__default["default"].useState(null), data = _a[0], setData = _a[1];
@@ -2241,9 +2167,6 @@ function useUniqueViewsByDate(clientLocationId) {
2241
2167
  return data;
2242
2168
  }
2243
2169
 
2244
- /**
2245
- * @beta This hook is in beta
2246
- */
2247
2170
  function useNotificationUtils() {
2248
2171
  var _a = React__default["default"].useState(), notificationElement = _a[0], setNotificationElement = _a[1];
2249
2172
  var client = useVeltClient().client;
@@ -2255,9 +2178,6 @@ function useNotificationUtils() {
2255
2178
  }, [client, setNotificationElement, notificationElement]);
2256
2179
  return notificationElement;
2257
2180
  }
2258
- /**
2259
- * @beta This hook is in beta
2260
- */
2261
2181
  function useNotificationsData() {
2262
2182
  var notificationElement = useNotificationUtils();
2263
2183
  var _a = React__default["default"].useState([]), data = _a[0], setData = _a[1];
@@ -2274,6 +2194,33 @@ function useNotificationsData() {
2274
2194
  return data;
2275
2195
  }
2276
2196
 
2197
+ function useAutocompleteUtils() {
2198
+ var _a = React__default["default"].useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
2199
+ var client = useVeltClient().client;
2200
+ React__default["default"].useEffect(function () {
2201
+ if (!client || autocompleteElement)
2202
+ return;
2203
+ var loadedAutocompleteElement = client.getAutocompleteElement();
2204
+ setAutocompleteElement(loadedAutocompleteElement);
2205
+ }, [client, setAutocompleteElement, autocompleteElement]);
2206
+ return autocompleteElement;
2207
+ }
2208
+ function useAutocompleteChipClick() {
2209
+ var autocompleteElement = useAutocompleteUtils();
2210
+ var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
2211
+ React.useEffect(function () {
2212
+ if (!autocompleteElement)
2213
+ return;
2214
+ var subscription = autocompleteElement.onAutocompleteChipClick().subscribe(function (res) {
2215
+ setData(res);
2216
+ });
2217
+ return function () {
2218
+ subscription.unsubscribe();
2219
+ };
2220
+ }, [autocompleteElement]);
2221
+ return data;
2222
+ }
2223
+
2277
2224
  var sessionId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
2278
2225
  var getSessionId = function () {
2279
2226
  return sessionId;
@@ -2367,6 +2314,8 @@ var logLiveState = function (action, liveStateDataId) {
2367
2314
 
2368
2315
  exports.VeltArrowTool = SnippylyArrowTool;
2369
2316
  exports.VeltArrows = SnippylyArrows;
2317
+ exports.VeltAutocomplete = VeltAutocomplete;
2318
+ exports.VeltAutocompleteOptionWireframe = VeltAutocompleteOptionWireframe;
2370
2319
  exports.VeltChartComment = VeltChartComment;
2371
2320
  exports.VeltCommentBubble = SnippylyCommentBubble;
2372
2321
  exports.VeltCommentBubbleAvatar = VeltCommentBubbleAvatar;
@@ -2408,7 +2357,8 @@ exports.VeltViewAnalytics = VeltViewAnalytics;
2408
2357
  exports.VeltWireframe = VeltWireframe;
2409
2358
  exports.createLiveStateMiddleware = createLiveStateMiddleware;
2410
2359
  exports.useAIRewriterUtils = useAIRewriterUtils;
2411
- exports.useAddLocation = useAddLocation;
2360
+ exports.useAutocompleteChipClick = useAutocompleteChipClick;
2361
+ exports.useAutocompleteUtils = useAutocompleteUtils;
2412
2362
  exports.useClient = useClient;
2413
2363
  exports.useCommentAddHandler = useCommentAddHandler;
2414
2364
  exports.useCommentAnnotations = useCommentAnnotations;