@veltdev/react 2.0.23 → 2.0.24
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/VeltCommentDialogDeleteButton/VeltCommentDialogDeleteButton.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogDeleteButton/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/VeltCommentDialogDeleteButton/VeltCommentDialogDeleteButton.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogDeleteButton/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 IVeltCommentDialogDeleteButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentDialogDeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
|
|
6
|
+
export default VeltCommentDialogDeleteButton;
|
package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogDeleteButton/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogDeleteButton";
|
|
@@ -24,6 +24,7 @@ import { IVeltCommentDialogThreadsProps } from "./VeltCommentDialogThreads/VeltC
|
|
|
24
24
|
import { IVeltCommentDialogToggleReplyProps } from "./VeltCommentDialogToggleReply/VeltCommentDialogToggleReply";
|
|
25
25
|
import { IVeltCommentDialogUpgradeProps } from "./VeltCommentDialogUpgrade/VeltCommentDialogUpgrade";
|
|
26
26
|
import { IVeltCommentDialogCustomAnnotationDropdown } from "./VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdown";
|
|
27
|
+
import { IVeltCommentDialogDeleteButtonProps } from "./VeltCommentDialogDeleteButton/VeltCommentDialogDeleteButton";
|
|
27
28
|
export interface IVeltCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
28
29
|
variant?: string;
|
|
29
30
|
}
|
|
@@ -53,5 +54,6 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
|
|
|
53
54
|
ToggleReply: React.FC<IVeltCommentDialogToggleReplyProps>;
|
|
54
55
|
Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
|
|
55
56
|
CustomAnnotationDropdown: IVeltCommentDialogCustomAnnotationDropdown;
|
|
57
|
+
DeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
|
|
56
58
|
};
|
|
57
59
|
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.0.
|
|
135
|
+
var VELT_SDK_VERSION = '2.0.24';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
var VELT_TAB_ID = 'veltTabId';
|
|
138
138
|
|
|
@@ -1987,6 +1987,11 @@ var VeltCommentDialogCustomAnnotationDropdown = function (props) {
|
|
|
1987
1987
|
VeltCommentDialogCustomAnnotationDropdown.Content = VeltCommentDialogCustomAnnotationDropdownContent;
|
|
1988
1988
|
VeltCommentDialogCustomAnnotationDropdown.Trigger = VeltCommentDialogCustomAnnotationDropdownTrigger;
|
|
1989
1989
|
|
|
1990
|
+
var VeltCommentDialogDeleteButton = function (props) {
|
|
1991
|
+
var children = props.children;
|
|
1992
|
+
return (React.createElement("velt-comment-dialog-delete-button-wireframe", null, children));
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1990
1995
|
var VeltCommentDialogWireframe = function (props) {
|
|
1991
1996
|
var children = props.children, remainingProp = __rest(props, ["children"]);
|
|
1992
1997
|
return (React.createElement("velt-comment-dialog-wireframe", __assign({}, remainingProp), children));
|
|
@@ -2016,6 +2021,7 @@ VeltCommentDialogWireframe.Threads = VeltCommentDialogThreads;
|
|
|
2016
2021
|
VeltCommentDialogWireframe.ToggleReply = VeltCommentDialogToggleReply;
|
|
2017
2022
|
VeltCommentDialogWireframe.Upgrade = VeltCommentDialogUpgrade;
|
|
2018
2023
|
VeltCommentDialogWireframe.CustomAnnotationDropdown = VeltCommentDialogCustomAnnotationDropdown;
|
|
2024
|
+
VeltCommentDialogWireframe.DeleteButton = VeltCommentDialogDeleteButton;
|
|
2019
2025
|
|
|
2020
2026
|
var VeltCommentsSidebarCloseButton = function (props) {
|
|
2021
2027
|
props.children; var remainingProps = __rest(props, ["children"]);
|