@veltdev/react 1.0.119 → 1.0.120

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 (68) hide show
  1. package/cjs/index.js +88 -17
  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 +9 -0
  29. package/cjs/types/hooks/index.d.ts +1 -0
  30. package/esm/index.js +85 -18
  31. package/esm/index.js.map +1 -1
  32. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +2 -0
  33. package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
  34. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  35. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  36. package/esm/types/components/VeltAutocomplete/VeltAutocomplete.d.ts +8 -0
  37. package/esm/types/components/VeltAutocomplete/index.d.ts +1 -0
  38. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe.d.ts +5 -0
  39. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionDescriptionWireframe/index.d.ts +1 -0
  40. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe.d.ts +5 -0
  41. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionErrorIconWireframe/index.d.ts +1 -0
  42. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe.d.ts +5 -0
  43. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionIconWireframe/index.d.ts +1 -0
  44. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe.d.ts +5 -0
  45. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionNameWireframe/index.d.ts +1 -0
  46. package/esm/types/components/VeltAutocompleteOptionWireframe/VeltAutocompleteOptionWireframe.d.ts +14 -0
  47. package/esm/types/components/VeltAutocompleteOptionWireframe/index.d.ts +1 -0
  48. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex.d.ts +5 -0
  49. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentIndex/index.d.ts +1 -0
  50. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerActionButton/VeltCommentDialogComposerActionButton.d.ts +2 -1
  51. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
  52. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer.d.ts +5 -0
  53. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageModeComposer/index.d.ts +1 -0
  54. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -2
  55. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +1 -0
  56. package/esm/types/components/index.d.ts +2 -0
  57. package/esm/types/hooks/AutocompleteElement.d.ts +9 -0
  58. package/esm/types/hooks/index.d.ts +1 -0
  59. package/index.d.ts +51 -7
  60. package/package.json +1 -1
  61. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  62. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  63. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  64. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
  65. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/VeltCommentDialogCommentCount.d.ts +0 -5
  66. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCommentCount/index.d.ts +0 -1
  67. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode.d.ts +0 -5
  68. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarPageMode/index.d.ts +0 -1
@@ -7,6 +7,8 @@ export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.H
7
7
  showAvatar?: boolean;
8
8
  avatar?: boolean;
9
9
  commentBubbleTargetPinHover?: boolean;
10
+ shadowDom?: boolean;
11
+ variant?: string;
10
12
  }
11
13
  declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
12
14
  export default SnippylyCommentBubble;
@@ -4,6 +4,7 @@ export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTM
4
4
  onCommentModeChange?: Function;
5
5
  darkMode?: boolean;
6
6
  variant?: string;
7
+ shadowDom?: boolean;
7
8
  }
8
9
  declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
9
10
  export default SnippylyCommentTool;
@@ -82,6 +82,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
82
82
  name: string;
83
83
  }[];
84
84
  darkMode?: boolean;
85
+ textCommentToolShadowDom?: boolean;
86
+ textCommentToolbarShadowDom?: boolean;
85
87
  }
86
88
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
87
89
  export default SnippylyComments;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
3
  tooltipText?: string;
4
4
  darkMode?: boolean;
5
+ shadowDom?: boolean;
5
6
  }
6
7
  declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
7
8
  export default SnippylySidebarButton;
@@ -0,0 +1,8 @@
1
+ import { AutocompleteItem } from '@veltdev/types';
2
+ import React from 'react';
3
+ export interface IVeltAutocompleteProps {
4
+ hotkey: string;
5
+ listData: AutocompleteItem[];
6
+ }
7
+ declare const VeltAutocomplete: React.FC<IVeltAutocompleteProps>;
8
+ export default VeltAutocomplete;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltAutocomplete";
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltAutocompleteOptionDescriptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltAutocompleteOptionDescriptionWireframe: React.FC<IVeltAutocompleteOptionDescriptionWireframeProps>;
5
+ export default VeltAutocompleteOptionDescriptionWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltAutocompleteOptionDescriptionWireframe';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltAutocompleteOptionErrorIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltAutocompleteOptionErrorIconWireframe: React.FC<IVeltAutocompleteOptionErrorIconWireframeProps>;
5
+ export default VeltAutocompleteOptionErrorIconWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltAutocompleteOptionErrorIconWireframe';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltAutocompleteOptionIconWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltAutocompleteOptionIconWireframe: React.FC<IVeltAutocompleteOptionIconWireframeProps>;
5
+ export default VeltAutocompleteOptionIconWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltAutocompleteOptionIconWireframe';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltAutocompleteOptionNameWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltAutocompleteOptionNameWireframe: React.FC<IVeltAutocompleteOptionNameWireframeProps>;
5
+ export default VeltAutocompleteOptionNameWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltAutocompleteOptionNameWireframe';
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IVeltAutocompleteOptionIconWireframeProps } from './VeltAutocompleteOptionIconWireframe/VeltAutocompleteOptionIconWireframe';
3
+ import { IVeltAutocompleteOptionNameWireframeProps } from './VeltAutocompleteOptionNameWireframe/VeltAutocompleteOptionNameWireframe';
4
+ import { IVeltAutocompleteOptionDescriptionWireframeProps } from './VeltAutocompleteOptionDescriptionWireframe/VeltAutocompleteOptionDescriptionWireframe';
5
+ import { IVeltAutocompleteOptionErrorIconWireframeProps } from './VeltAutocompleteOptionErrorIconWireframe/VeltAutocompleteOptionErrorIconWireframe';
6
+ export interface IVeltAutocompleteOptionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
7
+ }
8
+ declare const VeltAutocompleteOptionWireframe: React.FC<IVeltAutocompleteOptionWireframeProps> & {
9
+ Icon: React.FC<IVeltAutocompleteOptionIconWireframeProps>;
10
+ Description: React.FC<IVeltAutocompleteOptionDescriptionWireframeProps>;
11
+ ErrorIcon: React.FC<IVeltAutocompleteOptionErrorIconWireframeProps>;
12
+ Name: React.FC<IVeltAutocompleteOptionNameWireframeProps>;
13
+ };
14
+ export default VeltAutocompleteOptionWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltAutocompleteOptionWireframe';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltCommentDialogCommentIndexProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltCommentDialogCommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
5
+ export default VeltCommentDialogCommentIndex;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentDialogCommentIndex";
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface IVeltCommentDialogComposerActionButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
- type?: 'userMentions' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
3
+ type?: 'userMentions' | 'autocomplete' | 'file' | 'audio' | 'video' | 'screen' | 'submit';
4
+ hotkey?: string;
4
5
  }
5
6
  declare const VeltCommentDialogComposerActionButton: React.FC<IVeltCommentDialogComposerActionButtonProps>;
6
7
  export default VeltCommentDialogComposerActionButton;
@@ -5,7 +5,7 @@ import { IVeltCommentDialogAssigneeBannerProps } from "./VeltCommentDialogAssign
5
5
  import { IVeltCommentDialogAssignMenuProps } from "./VeltCommentDialogAssignMenu/VeltCommentDialogAssignMenu";
6
6
  import { IVeltCommentDialogBodyProps } from "./VeltCommentDialogBody/VeltCommentDialogBody";
7
7
  import { IVeltCommentDialogCommentCategoryProps } from "./VeltCommentDialogCommentCategory/VeltCommentDialogCommentCategory";
8
- import { IVeltCommentDialogCommentCountProps } from "./VeltCommentDialogCommentCount/VeltCommentDialogCommentCount";
8
+ import { IVeltCommentDialogCommentIndexProps } from "./VeltCommentDialogCommentIndex/VeltCommentDialogCommentIndex";
9
9
  import { IVeltCommentDialogCommentSuggestionStatusProps } from "./VeltCommentDialogCommentSuggestionStatus/VeltCommentDialogCommentSuggestionStatus";
10
10
  import { IVeltCommentDialogComposer } from "./VeltCommentDialogComposer/VeltCommentDialogComposer";
11
11
  import { IVeltCommentDialogCopyLinkProps } from "./VeltCommentDialogCopyLink/VeltCommentDialogCopyLink";
@@ -34,7 +34,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
34
34
  AssignMenu: React.FC<IVeltCommentDialogAssignMenuProps>;
35
35
  Body: React.FC<IVeltCommentDialogBodyProps>;
36
36
  CommentCategory: React.FC<IVeltCommentDialogCommentCategoryProps>;
37
- CommentCount: React.FC<IVeltCommentDialogCommentCountProps>;
37
+ CommentIndex: React.FC<IVeltCommentDialogCommentIndexProps>;
38
38
  CommentSuggestionStatus: React.FC<IVeltCommentDialogCommentSuggestionStatusProps>;
39
39
  Composer: IVeltCommentDialogComposer;
40
40
  CopyLink: React.FC<IVeltCommentDialogCopyLinkProps>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IVeltCommentsSidebarPageModeComposerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ declare const VeltCommentsSidebarPageModeComposer: React.FC<IVeltCommentsSidebarPageModeComposerProps>;
5
+ export default VeltCommentsSidebarPageModeComposer;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentsSidebarPageModeComposer";
@@ -4,7 +4,7 @@ import { IVeltCommentsSidebarEmptyPlaceholderProps } from './VeltCommentsSidebar
4
4
  import { IVeltCommentsSidebarFilter } from './VeltCommentsSidebarFilter/VeltCommentsSidebarFilter';
5
5
  import { IVeltCommentsSidebarHeaderProps } from './VeltCommentsSidebarHeader/VeltCommentsSidebarHeader';
6
6
  import { IVeltCommentsSidebarListProps } from './VeltCommentsSidebarList/VeltCommentsSidebarList';
7
- import { IVeltCommentsSidebarPageModeProps } from './VeltCommentsSidebarPageMode/VeltCommentsSidebarPageMode';
7
+ import { IVeltCommentsSidebarPageModeComposerProps } from './VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer';
8
8
  import { IVeltCommentsSidebarSearchProps } from './VeltCommentsSidebarSearch/VeltCommentsSidebarSearch';
9
9
  import { IVeltCommentsSidebarStatusProps } from './VeltCommentsSidebarStatus/VeltCommentsSidebarStatus';
10
10
  import { IVeltCommentsSidebarFilterButtonProps } from './VeltCommentsSidebarFilterButton/VeltCommentsSidebarFilterButton';
@@ -17,7 +17,7 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
17
17
  Filter: IVeltCommentsSidebarFilter;
18
18
  Header: React.FC<IVeltCommentsSidebarHeaderProps>;
19
19
  List: React.FC<IVeltCommentsSidebarListProps>;
20
- PageMode: React.FC<IVeltCommentsSidebarPageModeProps>;
20
+ PageModeComposer: React.FC<IVeltCommentsSidebarPageModeComposerProps>;
21
21
  Search: React.FC<IVeltCommentsSidebarSearchProps>;
22
22
  Status: React.FC<IVeltCommentsSidebarStatusProps>;
23
23
  FilterButton: React.FC<IVeltCommentsSidebarFilterButtonProps>;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IVeltSidebarButtonCommentsCountProps } from './VeltSidebarButtonCommentsCount/VeltSidebarButtonCommentsCount';
3
3
  export interface IVeltSidebarButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
4
+ variant?: string;
4
5
  }
5
6
  declare const VeltSidebarButtonWireframe: React.FC<IVeltSidebarButtonWireframeProps> & {
6
7
  CommentsCount: React.FC<IVeltSidebarButtonCommentsCountProps>;
@@ -28,6 +28,7 @@ export { default as VeltNotificationsHistoryPanel } from "./VeltNotificationsHis
28
28
  export { default as VeltNivoChartComments } from "./VeltNivoChartComments";
29
29
  export { default as VeltHighChartComments } from "./VeltHighChartComments";
30
30
  export { default as VeltChartComment } from "./VeltChartComment";
31
+ export { default as VeltAutocomplete } from "./VeltAutocomplete";
31
32
  export { default as VeltWireframe } from "./VeltWireframe";
32
33
  export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
33
34
  export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
@@ -37,5 +38,6 @@ export { default as VeltCommentToolWireframe } from "./VeltCommentToolWireframe"
37
38
  export { default as VeltTextCommentToolWireframe } from "./VeltTextCommentToolWireframe";
38
39
  export { default as VeltTextCommentToolbarWireframe } from "./VeltTextCommentToolbarWireframe";
39
40
  export { default as VeltUserSelectorDropdownWireframe } from "./VeltUserSelectorDropdownWireframe";
41
+ export { default as VeltAutocompleteOptionWireframe } from "./VeltAutocompleteOptionWireframe";
40
42
  export { default as VeltCommentBubbleAvatar } from "./VeltCommentBubble/VeltCommentBubbleAvatar";
41
43
  export { default as VeltCommentBubbleCommentsCount } from "./VeltCommentBubble/VeltCommentBubbleCommentsCount";
@@ -0,0 +1,9 @@
1
+ import { AutocompleteElement } from "@veltdev/types";
2
+ /**
3
+ * @beta This hook is in beta
4
+ */
5
+ export declare function useAutocompleteUtils(): AutocompleteElement | undefined;
6
+ /**
7
+ * @beta This hook is in beta
8
+ */
9
+ export declare function useAutocompleteChipClick(): any;
@@ -10,3 +10,4 @@ export { useLiveSelectionUtils, } from './SelectionElement';
10
10
  export { useTagUtils, useTagAnnotations, } from './TagElement';
11
11
  export { useViewsUtils, useUniqueViewsByDate, useUniqueViewsByUser, } from './ViewsElement';
12
12
  export { useNotificationUtils, useNotificationsData, } from './NotificationElement';
13
+ export { useAutocompleteUtils, useAutocompleteChipClick, } from './AutocompleteElement';
package/esm/index.js CHANGED
@@ -220,12 +220,12 @@ var SnippylyProvider = function (props) {
220
220
  };
221
221
 
222
222
  var SnippylyCommentBubble = function (props) {
223
- var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children;
224
- return (React.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));
223
+ var targetCommentElementId = props.targetCommentElementId, avatar = props.avatar, showAvatar = props.showAvatar, commentBubbleTargetPinHover = props.commentBubbleTargetPinHover, children = props.children, shadowDom = props.shadowDom, variant = props.variant;
224
+ return (React.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));
225
225
  };
226
226
 
227
227
  var SnippylyComments = function (props) {
228
- 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;
228
+ 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;
229
229
  var ref = useRef();
230
230
  var onSignInRef = useRef(onSignIn);
231
231
  var onUpgradeRef = useRef(onUpgrade);
@@ -305,7 +305,7 @@ var SnippylyComments = function (props) {
305
305
  });
306
306
  }
307
307
  }, []);
308
- return (React.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));
308
+ return (React.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));
309
309
  };
310
310
 
311
311
  var SnippylyCommentsSidebar = function (props) {
@@ -349,11 +349,11 @@ var SnippylyCommentsSidebar = function (props) {
349
349
  });
350
350
  }
351
351
  }, []);
352
- return (React.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 }));
352
+ return (React.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 }));
353
353
  };
354
354
 
355
355
  var SnippylyCommentTool = function (props) {
356
- var targetCommentElementId = props.targetCommentElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant;
356
+ var targetCommentElementId = props.targetCommentElementId, onCommentModeChange = props.onCommentModeChange, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom;
357
357
  var ref = useRef();
358
358
  var onCommentModeChangeRef = useRef(onCommentModeChange);
359
359
  // Update the ref to always point to the latest callback function
@@ -370,7 +370,7 @@ var SnippylyCommentTool = function (props) {
370
370
  });
371
371
  }
372
372
  }, []);
373
- return (React.createElement("velt-comment-tool", { ref: ref, "target-comment-element-id": targetCommentElementId, variant: variant, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
373
+ return (React.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));
374
374
  };
375
375
 
376
376
  var SnippylyCursor = function (props) {
@@ -509,8 +509,8 @@ var SnippylyRecorderTool = function (props) {
509
509
  };
510
510
 
511
511
  var SnippylySidebarButton = function (props) {
512
- var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode;
513
- return (React.createElement("velt-sidebar-button", { "tooltip-text": tooltipText, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
512
+ var tooltipText = props.tooltipText, children = props.children, darkMode = props.darkMode, shadowDom = props.shadowDom;
513
+ return (React.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));
514
514
  };
515
515
 
516
516
  var SnippylyTags = function (props) {
@@ -1105,6 +1105,11 @@ var VeltHighChartComments = function (_a) {
1105
1105
  React.createElement(VeltChartComment, { ghostComment: true, commentMetadata: point.metadata, dialogMetadataTemplate: dialogMetadataTemplate || point.dialogMetadataTemplate || ['groupId', 'label', 'value'] }))); })));
1106
1106
  };
1107
1107
 
1108
+ var VeltAutocomplete = function (props) {
1109
+ var hotkey = props.hotkey, listData = props.listData;
1110
+ return (React.createElement("velt-autocomplete", { hotkey: hotkey, "list-data": (typeof listData === 'object') ? JSON.stringify(listData) : undefined }));
1111
+ };
1112
+
1108
1113
  var VeltWireframe = function (props) {
1109
1114
  var children = props.children;
1110
1115
  return (React.createElement("velt-wireframe", null, children));
@@ -1158,9 +1163,9 @@ var VeltCommentDialogCommentCategory = function (props) {
1158
1163
  return (React.createElement("velt-comment-dialog-comment-category-wireframe", null, children));
1159
1164
  };
1160
1165
 
1161
- var VeltCommentDialogCommentCount = function (props) {
1166
+ var VeltCommentDialogCommentIndex = function (props) {
1162
1167
  var children = props.children;
1163
- return (React.createElement("velt-comment-dialog-comment-count-wireframe", null, children));
1168
+ return (React.createElement("velt-comment-dialog-comment-index-wireframe", null, children));
1164
1169
  };
1165
1170
 
1166
1171
  var VeltCommentDialogCommentSuggestionStatus = function (props) {
@@ -1367,7 +1372,7 @@ VeltCommentDialogWireframe.AssigneeBanner = VeltCommentDialogAssigneeBanner;
1367
1372
  VeltCommentDialogWireframe.AssignMenu = VeltCommentDialogAssignMenu;
1368
1373
  VeltCommentDialogWireframe.Body = VeltCommentDialogBody;
1369
1374
  VeltCommentDialogWireframe.CommentCategory = VeltCommentDialogCommentCategory;
1370
- VeltCommentDialogWireframe.CommentCount = VeltCommentDialogCommentCount;
1375
+ VeltCommentDialogWireframe.CommentIndex = VeltCommentDialogCommentIndex;
1371
1376
  VeltCommentDialogWireframe.CommentSuggestionStatus = VeltCommentDialogCommentSuggestionStatus;
1372
1377
  VeltCommentDialogWireframe.Composer = VeltCommentDialogComposer;
1373
1378
  VeltCommentDialogWireframe.CopyLink = VeltCommentDialogCopyLink;
@@ -1496,9 +1501,9 @@ var VeltCommentsSidebarList = function (props) {
1496
1501
  return (React.createElement("velt-comments-sidebar-list-wireframe", null, children));
1497
1502
  };
1498
1503
 
1499
- var VeltCommentsSidebarPageMode = function (props) {
1504
+ var VeltCommentsSidebarPageModeComposer = function (props) {
1500
1505
  var children = props.children;
1501
- return (React.createElement("velt-comments-sidebar-page-mode-wireframe", null, children));
1506
+ return (React.createElement("velt-comments-sidebar-page-mode-composer-wireframe", null, children));
1502
1507
  };
1503
1508
 
1504
1509
  var VeltCommentsSidebarSearch = function (props) {
@@ -1525,7 +1530,7 @@ VeltCommentsSidebarWireframe.EmptyPlaceholder = VeltCommentsSidebarEmptyPlacehol
1525
1530
  VeltCommentsSidebarWireframe.Filter = VeltCommentsSidebarFilter;
1526
1531
  VeltCommentsSidebarWireframe.Header = VeltCommentsSidebarHeader;
1527
1532
  VeltCommentsSidebarWireframe.List = VeltCommentsSidebarList;
1528
- VeltCommentsSidebarWireframe.PageMode = VeltCommentsSidebarPageMode;
1533
+ VeltCommentsSidebarWireframe.PageModeComposer = VeltCommentsSidebarPageModeComposer;
1529
1534
  VeltCommentsSidebarWireframe.Search = VeltCommentsSidebarSearch;
1530
1535
  VeltCommentsSidebarWireframe.Status = VeltCommentsSidebarStatus;
1531
1536
  VeltCommentsSidebarWireframe.FilterButton = VeltCommentsSidebarFilterButton;
@@ -1571,8 +1576,8 @@ var VeltSidebarButtonCommentsCount = function (props) {
1571
1576
  };
1572
1577
 
1573
1578
  var VeltSidebarButtonWireframe = function (props) {
1574
- var children = props.children;
1575
- return (React.createElement("velt-sidebar-button-wireframe", null, children));
1579
+ var children = props.children, remainingProp = __rest(props, ["children"]);
1580
+ return (React.createElement("velt-sidebar-button-wireframe", __assign({}, remainingProp), children));
1576
1581
  };
1577
1582
  VeltSidebarButtonWireframe.CommentsCount = VeltSidebarButtonCommentsCount;
1578
1583
 
@@ -1644,6 +1649,35 @@ VeltUserSelectorDropdown.Email = VeltUserSelectorDropdownEmail;
1644
1649
  VeltUserSelectorDropdown.ErrorIcon = VeltUserSelectorDropdownErrorIcon;
1645
1650
  VeltUserSelectorDropdown.Name = VeltUserSelectorDropdownName;
1646
1651
 
1652
+ var VeltAutocompleteOptionIconWireframe = function (props) {
1653
+ var children = props.children;
1654
+ return (React.createElement("velt-autocomplete-option-icon-wireframe", null, children));
1655
+ };
1656
+
1657
+ var VeltAutocompleteOptionNameWireframe = function (props) {
1658
+ var children = props.children;
1659
+ return (React.createElement("velt-autocomplete-option-name-wireframe", null, children));
1660
+ };
1661
+
1662
+ var VeltAutocompleteOptionDescriptionWireframe = function (props) {
1663
+ var children = props.children;
1664
+ return (React.createElement("velt-autocomplete-option-description-wireframe", null, children));
1665
+ };
1666
+
1667
+ var VeltAutocompleteOptionErrorIconWireframe = function (props) {
1668
+ var children = props.children;
1669
+ return (React.createElement("velt-autocomplete-option-error-icon-wireframe", null, children));
1670
+ };
1671
+
1672
+ var VeltAutocompleteOptionWireframe = function (props) {
1673
+ var children = props.children;
1674
+ return (React.createElement("velt-autocomplete-option-wireframe", null, children));
1675
+ };
1676
+ VeltAutocompleteOptionWireframe.Icon = VeltAutocompleteOptionIconWireframe;
1677
+ VeltAutocompleteOptionWireframe.Description = VeltAutocompleteOptionDescriptionWireframe;
1678
+ VeltAutocompleteOptionWireframe.ErrorIcon = VeltAutocompleteOptionErrorIconWireframe;
1679
+ VeltAutocompleteOptionWireframe.Name = VeltAutocompleteOptionNameWireframe;
1680
+
1647
1681
  var VeltCommentBubbleAvatar = function (props) {
1648
1682
  var children = props.children;
1649
1683
  return (React.createElement("velt-comment-bubble-avatar-wireframe", null, children));
@@ -2266,6 +2300,39 @@ function useNotificationsData() {
2266
2300
  return data;
2267
2301
  }
2268
2302
 
2303
+ /**
2304
+ * @beta This hook is in beta
2305
+ */
2306
+ function useAutocompleteUtils() {
2307
+ var _a = React.useState(), autocompleteElement = _a[0], setAutocompleteElement = _a[1];
2308
+ var client = useVeltClient().client;
2309
+ React.useEffect(function () {
2310
+ if (!client || autocompleteElement)
2311
+ return;
2312
+ var loadedAutocompleteElement = client.getAutocompleteElement();
2313
+ setAutocompleteElement(loadedAutocompleteElement);
2314
+ }, [client, setAutocompleteElement, autocompleteElement]);
2315
+ return autocompleteElement;
2316
+ }
2317
+ /**
2318
+ * @beta This hook is in beta
2319
+ */
2320
+ function useAutocompleteChipClick() {
2321
+ var autocompleteElement = useAutocompleteUtils();
2322
+ var _a = React.useState(), data = _a[0], setData = _a[1];
2323
+ useEffect(function () {
2324
+ if (!autocompleteElement)
2325
+ return;
2326
+ var subscription = autocompleteElement.onAutocompleteChipClick().subscribe(function (res) {
2327
+ setData(res);
2328
+ });
2329
+ return function () {
2330
+ subscription.unsubscribe();
2331
+ };
2332
+ }, [autocompleteElement]);
2333
+ return data;
2334
+ }
2335
+
2269
2336
  var sessionId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
2270
2337
  var getSessionId = function () {
2271
2338
  return sessionId;
@@ -2357,5 +2424,5 @@ var logLiveState = function (action, liveStateDataId) {
2357
2424
  }
2358
2425
  };
2359
2426
 
2360
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleAvatar, VeltCommentBubbleCommentsCount, VeltCommentDialogWireframe, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, 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, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useViewsUtils };
2427
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteOptionWireframe, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleAvatar, VeltCommentBubbleCommentsCount, VeltCommentDialogWireframe, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, 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, useAddLocation, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnsetDocumentId, useUserEditorState, useVeltClient, useViewsUtils };
2361
2428
  //# sourceMappingURL=index.js.map