@veltdev/react 2.1.2 → 3.0.0

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.
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltCommentDialogCloseButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltCommentDialogCloseButton: React.FC<IVeltCommentDialogCloseButtonProps>;
6
+ export default VeltCommentDialogCloseButton;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentDialogCloseButton";
@@ -25,6 +25,7 @@ import { IVeltCommentDialogToggleReplyProps } from "./VeltCommentDialogToggleRep
25
25
  import { IVeltCommentDialogUpgradeProps } from "./VeltCommentDialogUpgrade/VeltCommentDialogUpgrade";
26
26
  import { IVeltCommentDialogCustomAnnotationDropdown } from "./VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdown";
27
27
  import { IVeltCommentDialogDeleteButtonProps } from "./VeltCommentDialogDeleteButton/VeltCommentDialogDeleteButton";
28
+ import { IVeltCommentDialogCloseButtonProps } from "./VeltCommentDialogCloseButton/VeltCommentDialogCloseButton";
28
29
  export interface IVeltCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
29
30
  variant?: string;
30
31
  }
@@ -55,5 +56,6 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
55
56
  Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
56
57
  CustomAnnotationDropdown: IVeltCommentDialogCustomAnnotationDropdown;
57
58
  DeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
59
+ CloseButton: React.FC<IVeltCommentDialogCloseButtonProps>;
58
60
  };
59
61
  export default VeltCommentDialogWireframe;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "2.1.2";
1
+ export declare const VELT_SDK_VERSION = "3.0.0";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/esm/index.js CHANGED
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
132
132
  }
133
133
  };
134
134
 
135
- var VELT_SDK_VERSION = '2.1.2';
135
+ var VELT_SDK_VERSION = '3.0.0';
136
136
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
137
137
  var VELT_TAB_ID = 'veltTabId';
138
138
 
@@ -2004,6 +2004,11 @@ var VeltCommentDialogDeleteButton = function (props) {
2004
2004
  return (React.createElement("velt-comment-dialog-delete-button-wireframe", null, children));
2005
2005
  };
2006
2006
 
2007
+ var VeltCommentDialogCloseButton = function (props) {
2008
+ var children = props.children, remainingProp = __rest(props, ["children"]);
2009
+ return (React.createElement("velt-comment-dialog-close-button-wireframe", __assign({}, remainingProp), children));
2010
+ };
2011
+
2007
2012
  var VeltCommentDialogWireframe = function (props) {
2008
2013
  var children = props.children, remainingProp = __rest(props, ["children"]);
2009
2014
  return (React.createElement("velt-comment-dialog-wireframe", __assign({}, remainingProp), children));
@@ -2034,6 +2039,7 @@ VeltCommentDialogWireframe.ToggleReply = VeltCommentDialogToggleReply;
2034
2039
  VeltCommentDialogWireframe.Upgrade = VeltCommentDialogUpgrade;
2035
2040
  VeltCommentDialogWireframe.CustomAnnotationDropdown = VeltCommentDialogCustomAnnotationDropdown;
2036
2041
  VeltCommentDialogWireframe.DeleteButton = VeltCommentDialogDeleteButton;
2042
+ VeltCommentDialogWireframe.CloseButton = VeltCommentDialogCloseButton;
2037
2043
 
2038
2044
  var VeltCommentsSidebarCloseButton = function (props) {
2039
2045
  props.children; var remainingProps = __rest(props, ["children"]);