@veltdev/react 2.0.5 → 2.0.7
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/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/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 = '2.0.
|
|
143
|
+
var VELT_SDK_VERSION = '2.0.7';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -1143,6 +1143,12 @@ var VeltCanvasComment = function (props) {
|
|
|
1143
1143
|
return (React__default["default"].createElement("velt-canvas-comment", { "canvas-id": canvasId, position: JSON.stringify(position) }, children));
|
|
1144
1144
|
};
|
|
1145
1145
|
|
|
1146
|
+
var VeltData = function (props) {
|
|
1147
|
+
var path = props.path;
|
|
1148
|
+
var ref = React.useRef();
|
|
1149
|
+
return (React__default["default"].createElement("velt-data", { ref: ref, path: path }));
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1146
1152
|
var VeltWireframe = function (props) {
|
|
1147
1153
|
var children = props.children;
|
|
1148
1154
|
return (React__default["default"].createElement("velt-wireframe", { style: { display: 'none' } }, children));
|
|
@@ -3147,6 +3153,7 @@ exports.VeltCommentsSidebar = SnippylyCommentsSidebar;
|
|
|
3147
3153
|
exports.VeltCommentsSidebarStatusDropdownWireframe = VeltCommentsSidebarStatusDropdownWireframe;
|
|
3148
3154
|
exports.VeltCommentsSidebarWireframe = VeltCommentsSidebarWireframe;
|
|
3149
3155
|
exports.VeltCursor = SnippylyCursor;
|
|
3156
|
+
exports.VeltData = VeltData;
|
|
3150
3157
|
exports.VeltHighChartComments = VeltHighChartComments;
|
|
3151
3158
|
exports.VeltHuddle = SnippylyHuddle;
|
|
3152
3159
|
exports.VeltHuddleTool = SnippylyHuddleTool;
|