@veltdev/react 3.0.10 → 3.0.12
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 +8 -1
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/cjs/types/components/VeltIf/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +8 -2
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltIf/VeltIf.d.ts +6 -0
- package/esm/types/components/VeltIf/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +6 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
var VELT_SDK_VERSION = '3.0.
|
|
143
|
+
var VELT_SDK_VERSION = '3.0.12';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -1391,6 +1391,12 @@ var VeltData = function (props) {
|
|
|
1391
1391
|
return (React__default["default"].createElement("velt-data", { ref: ref, path: path }));
|
|
1392
1392
|
};
|
|
1393
1393
|
|
|
1394
|
+
var VeltIf = function (props) {
|
|
1395
|
+
var condition = props.condition, children = props.children;
|
|
1396
|
+
var ref = React.useRef();
|
|
1397
|
+
return (React__default["default"].createElement("velt-if", { ref: ref, condition: condition }, children));
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1394
1400
|
var VeltCommentsMinimap = function (props) {
|
|
1395
1401
|
var position = props.position, targetScrollableElementId = props.targetScrollableElementId;
|
|
1396
1402
|
return (React__default["default"].createElement("velt-comments-minimap", { position: position, "target-scrollable-element-id": targetScrollableElementId }));
|
|
@@ -4029,6 +4035,7 @@ exports.VeltData = VeltData;
|
|
|
4029
4035
|
exports.VeltHighChartComments = VeltHighChartComments;
|
|
4030
4036
|
exports.VeltHuddle = SnippylyHuddle;
|
|
4031
4037
|
exports.VeltHuddleTool = SnippylyHuddleTool;
|
|
4038
|
+
exports.VeltIf = VeltIf;
|
|
4032
4039
|
exports.VeltInlineCommentsSection = VeltInlineCommentsSection;
|
|
4033
4040
|
exports.VeltInlineCommentsSectionWireframe = VeltInlineCommentsSectionWireframe;
|
|
4034
4041
|
exports.VeltInlineReactionsSection = VeltInlineReactionsSection;
|