@veltdev/react 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +7 -1
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCloseButton/VeltCommentDialogCloseButton.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCloseButton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +7 -1
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCloseButton/VeltCommentDialogCloseButton.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogCloseButton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -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;
|
package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogCloseButton/index.d.ts
ADDED
|
@@ -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;
|
package/cjs/types/constants.d.ts
CHANGED
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.
|
|
135
|
+
var VELT_SDK_VERSION = '2.1.3';
|
|
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"]);
|