@veltdev/react 1.0.116 → 1.0.118

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.
@@ -51,6 +51,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
51
51
  pinShadowDom?: boolean;
52
52
  dialogShadowDom?: boolean;
53
53
  shadowDom?: boolean;
54
+ changeDetectionInCommentMode?: boolean;
54
55
  allowedElementIds?: string[];
55
56
  allowedElementClassNames?: string[];
56
57
  allowedElementQuerySelectors?: string[];
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { IVeltCommentBubbleAvatarProps } from "./VeltCommentBubbleAvatar/VeltCommentBubbleAvatar";
3
+ import { IVeltCommentBubbleCommentsCountProps } from "./VeltCommentBubbleCommentsCount/VeltCommentBubbleCommentsCount";
4
+ export interface IVeltCommentBubbleWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
5
+ variant?: string;
6
+ }
7
+ export interface IVeltCommentBubbleWireframe extends React.FC<IVeltCommentBubbleWireframeProps> {
8
+ Avatar: React.FC<IVeltCommentBubbleAvatarProps>;
9
+ CommentsCount: React.FC<IVeltCommentBubbleCommentsCountProps>;
10
+ }
11
+ declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
12
+ export default VeltCommentBubbleWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentBubbleWireframe";
@@ -4,9 +4,10 @@ import { IVeltCommentDialogAssigneeBannerUserAvatarProps } from "./VeltCommentDi
4
4
  import { IVeltCommentDialogAssigneeBannerUserNameProps } from "./VeltCommentDialogAssigneeBannerUserName/VeltCommentDialogAssigneeBannerUserName";
5
5
  export interface IVeltCommentDialogAssigneeBannerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  }
7
- declare const VeltCommentDialogAssigneeBanner: React.FC<IVeltCommentDialogAssigneeBannerProps> & {
7
+ export interface IVeltCommentDialogAssigneeBanner extends React.FC<IVeltCommentDialogAssigneeBannerProps> {
8
8
  ResolveButton: React.FC<IVeltCommentDialogAssigneeBannerResolveButtonProps>;
9
9
  UserAvatar: React.FC<IVeltCommentDialogAssigneeBannerUserAvatarProps>;
10
10
  UserName: React.FC<IVeltCommentDialogAssigneeBannerUserNameProps>;
11
- };
11
+ }
12
+ declare const VeltCommentDialogAssigneeBanner: IVeltCommentDialogAssigneeBanner;
12
13
  export default VeltCommentDialogAssigneeBanner;
@@ -3,8 +3,9 @@ import { IVeltCommentDialogSuggestionActionAcceptProps } from "./VeltCommentDial
3
3
  import { IVeltCommentDialogSuggestionActionRejectProps } from "./VeltCommentDialogSuggestionActionReject/VeltCommentDialogSuggestionActionReject";
4
4
  export interface IVeltCommentDialogSuggestionActionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
5
5
  }
6
- declare const VeltCommentDialogSuggestionAction: React.FC<IVeltCommentDialogSuggestionActionProps> & {
6
+ export interface IVeltCommentDialogSuggestionAction extends React.FC<IVeltCommentDialogSuggestionActionProps> {
7
7
  Accept: React.FC<IVeltCommentDialogSuggestionActionAcceptProps>;
8
8
  Reject: React.FC<IVeltCommentDialogSuggestionActionRejectProps>;
9
- };
9
+ }
10
+ declare const VeltCommentDialogSuggestionAction: IVeltCommentDialogSuggestionAction;
10
11
  export default VeltCommentDialogSuggestionAction;
@@ -23,6 +23,7 @@ import { IVeltCommentDialogThreadsProps } from "./VeltCommentDialogThreads/VeltC
23
23
  import { IVeltCommentDialogToggleReplyProps } from "./VeltCommentDialogToggleReply/VeltCommentDialogToggleReply";
24
24
  import { IVeltCommentDialogUpgradeProps } from "./VeltCommentDialogUpgrade/VeltCommentDialogUpgrade";
25
25
  import { IVeltCommentDialogSuggestionActionProps } from "./VeltCommentDialogSuggestionAction/VeltCommentDialogSuggestionAction";
26
+ import { IVeltCommentDialogPrivateBadgeProps } from "./VeltCommentDialogPrivateBadge/VeltCommentDialogPrivateBadge";
26
27
  export interface IVeltCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
27
28
  variant?: string;
28
29
  }
@@ -51,5 +52,6 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
51
52
  Threads: React.FC<IVeltCommentDialogThreadsProps>;
52
53
  ToggleReply: React.FC<IVeltCommentDialogToggleReplyProps>;
53
54
  Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
55
+ PrivateBadge: React.FC<IVeltCommentDialogPrivateBadgeProps>;
54
56
  };
55
57
  export default VeltCommentDialogWireframe;
package/index.d.ts CHANGED
@@ -84,6 +84,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
84
84
  pinShadowDom?: boolean;
85
85
  dialogShadowDom?: boolean;
86
86
  shadowDom?: boolean;
87
+ changeDetectionInCommentMode?: boolean;
87
88
  allowedElementIds?: string[];
88
89
  allowedElementClassNames?: string[];
89
90
  allowedElementQuerySelectors?: string[];
@@ -517,6 +518,9 @@ interface IVeltCommentDialogUpgradeProps extends React.DetailedHTMLProps<React.H
517
518
  interface IVeltCommentDialogSuggestionActionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
518
519
  }
519
520
 
521
+ interface IVeltCommentDialogPrivateBadgeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
522
+ }
523
+
520
524
  interface IVeltCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
521
525
  variant?: string;
522
526
  }
@@ -545,6 +549,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
545
549
  Threads: React.FC<IVeltCommentDialogThreadsProps>;
546
550
  ToggleReply: React.FC<IVeltCommentDialogToggleReplyProps>;
547
551
  Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
552
+ PrivateBadge: React.FC<IVeltCommentDialogPrivateBadgeProps>;
548
553
  };
549
554
 
550
555
  interface IVeltCommentsSidebarCloseButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "1.0.116",
3
+ "version": "1.0.118",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",