@veltdev/react 1.0.147 → 1.0.149

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.
Files changed (38) hide show
  1. package/cjs/index.js +49 -1
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
  4. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/VeltCommentDialogComposerAvatar.d.ts +6 -0
  5. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/index.d.ts +1 -0
  6. package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
  7. package/cjs/types/components/VeltInlineCommentsSection/index.d.ts +1 -0
  8. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/VeltInlineCommentsSectionComposerContainerWireframe.d.ts +6 -0
  9. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/VeltInlineCommentsSectionPanelWireframe.d.ts +6 -0
  11. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/VeltInlineCommentsSectionSkeletonWireframe.d.ts +6 -0
  13. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/index.d.ts +1 -0
  14. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +6 -2
  15. package/cjs/types/components/index.d.ts +2 -0
  16. package/cjs/types/constants.d.ts +1 -1
  17. package/esm/index.js +48 -2
  18. package/esm/index.js.map +1 -1
  19. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
  20. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/VeltCommentDialogComposerAvatar.d.ts +6 -0
  21. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAvatar/index.d.ts +1 -0
  22. package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
  23. package/esm/types/components/VeltInlineCommentsSection/index.d.ts +1 -0
  24. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/VeltInlineCommentsSectionComposerContainerWireframe.d.ts +6 -0
  25. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerContainerWireframe/index.d.ts +1 -0
  26. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/VeltInlineCommentsSectionPanelWireframe.d.ts +6 -0
  27. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionPanelWireframe/index.d.ts +1 -0
  28. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/VeltInlineCommentsSectionSkeletonWireframe.d.ts +6 -0
  29. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionSkeletonWireframe/index.d.ts +1 -0
  30. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionWireframe.d.ts +6 -2
  31. package/esm/types/components/index.d.ts +2 -0
  32. package/esm/types/constants.d.ts +1 -1
  33. package/index.d.ts +50 -1
  34. package/package.json +1 -1
  35. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/VeltInlineCommentsSectionComposerWireframe.d.ts +0 -6
  36. package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/index.d.ts +0 -1
  37. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/VeltInlineCommentsSectionComposerWireframe.d.ts +0 -6
  38. package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionComposerWireframe/index.d.ts +0 -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 = '1.0.164';
143
+ var VELT_SDK_VERSION = '1.0.166';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
  var VELT_TAB_ID = 'veltTabId';
146
146
 
@@ -1128,6 +1128,11 @@ var VeltAutocomplete = function (props) {
1128
1128
  return (React__default["default"].createElement("velt-autocomplete", { hotkey: hotkey, "list-data": (typeof listData === 'object') ? JSON.stringify(listData) : undefined }));
1129
1129
  };
1130
1130
 
1131
+ var VeltInlineCommentsSection = function (props) {
1132
+ var config = props.config, children = props.children, darkMode = props.darkMode, variant = props.variant, shadowDom = props.shadowDom, dialogVariant = props.dialogVariant;
1133
+ return (React__default["default"].createElement("velt-inline-comments-section", { config: JSON.stringify(config), variant: variant, "dialog-variant": dialogVariant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
1134
+ };
1135
+
1131
1136
  var VeltWireframe = function (props) {
1132
1137
  var children = props.children;
1133
1138
  return (React__default["default"].createElement("velt-wireframe", { style: { display: 'none' } }, children));
@@ -1317,6 +1322,11 @@ var VeltCommentDialogComposerPrivateBadge = function (props) {
1317
1322
  return (React__default["default"].createElement("velt-comment-dialog-composer-private-badge-wireframe", __assign({}, remainingProp), children));
1318
1323
  };
1319
1324
 
1325
+ var VeltCommentDialogComposerAvatar = function (props) {
1326
+ var children = props.children, remainingProp = __rest(props, ["children"]);
1327
+ return (React__default["default"].createElement("velt-comment-dialog-composer-avatar-wireframe", __assign({}, remainingProp), children));
1328
+ };
1329
+
1320
1330
  var VeltCommentDialogComposer = function (props) {
1321
1331
  var children = props.children, remainingProp = __rest(props, ["children"]);
1322
1332
  return (React__default["default"].createElement("velt-comment-dialog-composer-wireframe", __assign({}, remainingProp), children));
@@ -1327,6 +1337,7 @@ VeltCommentDialogComposer.Attachments = VeltCommentDialogComposerAttachments;
1327
1337
  VeltCommentDialogComposer.Input = VeltCommentDialogComposerInput;
1328
1338
  VeltCommentDialogComposer.Recordings = VeltCommentDialogComposerRecordings;
1329
1339
  VeltCommentDialogComposer.PrivateBadge = VeltCommentDialogComposerPrivateBadge;
1340
+ VeltCommentDialogComposer.Avatar = VeltCommentDialogComposerAvatar;
1330
1341
 
1331
1342
  var VeltCommentDialogCopyLink = function (props) {
1332
1343
  var children = props.children, remainingProp = __rest(props, ["children"]);
@@ -2300,6 +2311,41 @@ var VeltReactionsPanelWireframe = function (props) {
2300
2311
  };
2301
2312
  VeltReactionsPanelWireframe.Items = VeltReactionsPanelItemsWireframe;
2302
2313
 
2314
+ var VeltInlineCommentsSectionCommentCountWireframe = function (props) {
2315
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2316
+ return (React__default["default"].createElement("velt-inline-comments-section-comment-count-wireframe", __assign({}, remainingProps), children));
2317
+ };
2318
+
2319
+ var VeltInlineCommentsSectionComposerContainerWireframe = function (props) {
2320
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2321
+ return (React__default["default"].createElement("velt-inline-comments-section-composer-container-wireframe", __assign({}, remainingProps), children));
2322
+ };
2323
+
2324
+ var VeltInlineCommentsSectionListWireframe = function (props) {
2325
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2326
+ return (React__default["default"].createElement("velt-inline-comments-section-list-wireframe", __assign({}, remainingProps), children));
2327
+ };
2328
+
2329
+ var VeltInlineCommentsSectionPanelWireframe = function (props) {
2330
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2331
+ return (React__default["default"].createElement("velt-inline-comments-section-panel-wireframe", __assign({}, remainingProps), children));
2332
+ };
2333
+
2334
+ var VeltInlineCommentsSectionSkeletonWireframe = function (props) {
2335
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2336
+ return (React__default["default"].createElement("velt-inline-comments-section-skeleton-wireframe", __assign({}, remainingProps), children));
2337
+ };
2338
+
2339
+ var VeltInlineCommentsSectionWireframe = function (props) {
2340
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2341
+ return (React__default["default"].createElement("velt-inline-comments-section-wireframe", __assign({}, remainingProps), children));
2342
+ };
2343
+ VeltInlineCommentsSectionWireframe.CommentCount = VeltInlineCommentsSectionCommentCountWireframe;
2344
+ VeltInlineCommentsSectionWireframe.ComposerContainer = VeltInlineCommentsSectionComposerContainerWireframe;
2345
+ VeltInlineCommentsSectionWireframe.List = VeltInlineCommentsSectionListWireframe;
2346
+ VeltInlineCommentsSectionWireframe.Panel = VeltInlineCommentsSectionPanelWireframe;
2347
+ VeltInlineCommentsSectionWireframe.Skeleton = VeltInlineCommentsSectionSkeletonWireframe;
2348
+
2303
2349
  function useClient() {
2304
2350
  var client = useVeltClient().client;
2305
2351
  var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -2990,6 +3036,8 @@ exports.VeltCursor = SnippylyCursor;
2990
3036
  exports.VeltHighChartComments = VeltHighChartComments;
2991
3037
  exports.VeltHuddle = SnippylyHuddle;
2992
3038
  exports.VeltHuddleTool = SnippylyHuddleTool;
3039
+ exports.VeltInlineCommentsSection = VeltInlineCommentsSection;
3040
+ exports.VeltInlineCommentsSectionWireframe = VeltInlineCommentsSectionWireframe;
2993
3041
  exports.VeltNivoChartComments = VeltNivoChartComments;
2994
3042
  exports.VeltNotificationsHistoryPanel = VeltNotificationsHistoryPanel;
2995
3043
  exports.VeltNotificationsPanel = VeltNotificationsPanel;