@veltdev/react 4.4.0-beta.1 → 4.4.0-beta.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.
Files changed (52) hide show
  1. package/cjs/index.js +78 -2
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltLiveStateSyncPanel/VeltLiveStateSyncPanel.d.ts +8 -0
  4. package/cjs/types/components/VeltLiveStateSyncPanel/index.d.ts +1 -0
  5. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe.d.ts +8 -0
  6. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/index.d.ts +1 -0
  7. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/VeltLiveStateSyncPanelCancelRequestWireframe.d.ts +8 -0
  8. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/VeltLiveStateSyncPanelCountdownWireframe.d.ts +8 -0
  10. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/VeltLiveStateSyncPanelEditHereWireframe.d.ts +8 -0
  12. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/VeltLiveStateSyncPanelEditorTextWireframe.d.ts +8 -0
  14. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/VeltLiveStateSyncPanelReaderTextWireframe.d.ts +8 -0
  16. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/VeltLiveStateSyncPanelRejectRequestWireframe.d.ts +8 -0
  18. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/index.d.ts +1 -0
  19. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/VeltLiveStateSyncPanelRequestAccessWireframe.d.ts +8 -0
  20. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/index.d.ts +1 -0
  21. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelWireframe.d.ts +24 -0
  22. package/cjs/types/components/VeltLiveStateSyncPanelWireframe/index.d.ts +1 -0
  23. package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarToggleWireframe/VeltRecorderControlPanelActionBarToggleWireframe.d.ts +2 -1
  24. package/cjs/types/components/index.d.ts +2 -0
  25. package/cjs/types/constants.d.ts +1 -1
  26. package/esm/index.js +77 -3
  27. package/esm/index.js.map +1 -1
  28. package/esm/types/components/VeltLiveStateSyncPanel/VeltLiveStateSyncPanel.d.ts +8 -0
  29. package/esm/types/components/VeltLiveStateSyncPanel/index.d.ts +1 -0
  30. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe.d.ts +8 -0
  31. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelAcceptRequestWireframe/index.d.ts +1 -0
  32. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/VeltLiveStateSyncPanelCancelRequestWireframe.d.ts +8 -0
  33. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCancelRequestWireframe/index.d.ts +1 -0
  34. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/VeltLiveStateSyncPanelCountdownWireframe.d.ts +8 -0
  35. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelCountdownWireframe/index.d.ts +1 -0
  36. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/VeltLiveStateSyncPanelEditHereWireframe.d.ts +8 -0
  37. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditHereWireframe/index.d.ts +1 -0
  38. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/VeltLiveStateSyncPanelEditorTextWireframe.d.ts +8 -0
  39. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelEditorTextWireframe/index.d.ts +1 -0
  40. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/VeltLiveStateSyncPanelReaderTextWireframe.d.ts +8 -0
  41. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelReaderTextWireframe/index.d.ts +1 -0
  42. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/VeltLiveStateSyncPanelRejectRequestWireframe.d.ts +8 -0
  43. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRejectRequestWireframe/index.d.ts +1 -0
  44. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/VeltLiveStateSyncPanelRequestAccessWireframe.d.ts +8 -0
  45. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelRequestAccessWireframe/index.d.ts +1 -0
  46. package/esm/types/components/VeltLiveStateSyncPanelWireframe/VeltLiveStateSyncPanelWireframe.d.ts +24 -0
  47. package/esm/types/components/VeltLiveStateSyncPanelWireframe/index.d.ts +1 -0
  48. package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarToggleWireframe/VeltRecorderControlPanelActionBarToggleWireframe.d.ts +2 -1
  49. package/esm/types/components/index.d.ts +2 -0
  50. package/esm/types/constants.d.ts +1 -1
  51. package/index.d.ts +68 -2
  52. 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 = '4.4.0-beta.1';
143
+ var VELT_SDK_VERSION = '4.4.0-beta.3';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
  var VELT_TAB_ID = 'veltTabId';
146
146
 
@@ -1483,6 +1483,12 @@ var VeltCommentComposer = function (props) {
1483
1483
  return (React__default["default"].createElement("velt-comment-composer", { 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 }));
1484
1484
  };
1485
1485
 
1486
+ var VeltLiveStateSyncPanel = function (props) {
1487
+ var children = props.children, shadowDom = props.shadowDom, variant = props.variant, darkMode = props.darkMode;
1488
+ var ref = React.useRef();
1489
+ return (React__default["default"].createElement("velt-live-state-sync-panel", { ref: ref, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
1490
+ };
1491
+
1486
1492
  var VeltWireframe = function (props) {
1487
1493
  var children = props.children;
1488
1494
  return (React__default["default"].createElement("velt-wireframe", { style: { display: 'none' } }, children));
@@ -4439,12 +4445,18 @@ var VeltRecorderControlPanelActionBarTogglePlayWireframe = function (props) {
4439
4445
  return (React__default["default"].createElement("velt-recorder-control-panel-action-bar-toggle-play-wireframe", __assign({}, transformedProps), children));
4440
4446
  };
4441
4447
 
4448
+ var VeltRecorderControlPanelActionBarTogglePauseWireframe = function (props) {
4449
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4450
+ var transformedProps = transformWireframeProps(remainingProps);
4451
+ return (React__default["default"].createElement("velt-recorder-control-panel-action-bar-toggle-pause-wireframe", __assign({}, transformedProps), children));
4452
+ };
4453
+
4442
4454
  var VeltRecorderControlPanelActionBarToggleWireframe = function (props) {
4443
4455
  var children = props.children, remainingProps = __rest(props, ["children"]);
4444
4456
  var transformedProps = transformWireframeProps(remainingProps);
4445
4457
  return (React__default["default"].createElement("velt-recorder-control-panel-action-bar-toggle-wireframe", __assign({}, transformedProps), children));
4446
4458
  };
4447
- VeltRecorderControlPanelActionBarToggleWireframe.Pause = VeltRecorderControlPanelActionBarTogglePlayWireframe;
4459
+ VeltRecorderControlPanelActionBarToggleWireframe.Pause = VeltRecorderControlPanelActionBarTogglePauseWireframe;
4448
4460
  VeltRecorderControlPanelActionBarToggleWireframe.Play = VeltRecorderControlPanelActionBarTogglePlayWireframe;
4449
4461
 
4450
4462
  var VeltRecorderControlPanelActionBarTypeIconWireframe = function (props) {
@@ -5177,6 +5189,68 @@ var VeltButtonWireframe = function (props) {
5177
5189
  return (React__default["default"].createElement("velt-button-wireframe", __assign({ ref: ref, id: id, disabled: [true, false].includes(disabled) ? (disabled ? 'true' : 'false') : undefined, active: [true, false].includes(active) ? (active ? 'true' : 'false') : undefined, type: type, group: group }, transformedProps), children));
5178
5190
  };
5179
5191
 
5192
+ var VeltLiveStateSyncPanelRequestAccessWireframe = function (props) {
5193
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5194
+ var transformedProps = transformWireframeProps(remainingProps);
5195
+ return (React__default["default"].createElement("velt-live-state-sync-panel-request-access-wireframe", __assign({}, transformedProps), children));
5196
+ };
5197
+
5198
+ var VeltLiveStateSyncPanelRejectRequestWireframe = function (props) {
5199
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5200
+ var transformedProps = transformWireframeProps(remainingProps);
5201
+ return (React__default["default"].createElement("velt-live-state-sync-panel-reject-request-wireframe", __assign({}, transformedProps), children));
5202
+ };
5203
+
5204
+ var VeltLiveStateSyncPanelReaderTextWireframe = function (props) {
5205
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5206
+ var transformedProps = transformWireframeProps(remainingProps);
5207
+ return (React__default["default"].createElement("velt-live-state-sync-panel-reader-text-wireframe", __assign({}, transformedProps), children));
5208
+ };
5209
+
5210
+ var VeltLiveStateSyncPanelEditorTextWireframe = function (props) {
5211
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5212
+ var transformedProps = transformWireframeProps(remainingProps);
5213
+ return (React__default["default"].createElement("velt-live-state-sync-panel-editor-text-wireframe", __assign({}, transformedProps), children));
5214
+ };
5215
+
5216
+ var VeltLiveStateSyncPanelEditHereWireframe = function (props) {
5217
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5218
+ var transformedProps = transformWireframeProps(remainingProps);
5219
+ return (React__default["default"].createElement("velt-live-state-sync-panel-edit-here-wireframe", __assign({}, transformedProps), children));
5220
+ };
5221
+
5222
+ var VeltLiveStateSyncPanelCountdownWireframe = function (props) {
5223
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5224
+ var transformedProps = transformWireframeProps(remainingProps);
5225
+ return (React__default["default"].createElement("velt-live-state-sync-panel-countdown-wireframe", __assign({}, transformedProps), children));
5226
+ };
5227
+
5228
+ var VeltLiveStateSyncPanelCancelRequestWireframe = function (props) {
5229
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5230
+ var transformedProps = transformWireframeProps(remainingProps);
5231
+ return (React__default["default"].createElement("velt-live-state-sync-panel-cancel-request-wireframe", __assign({}, transformedProps), children));
5232
+ };
5233
+
5234
+ var VeltLiveStateSyncPanelAcceptRequestWireframe = function (props) {
5235
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5236
+ var transformedProps = transformWireframeProps(remainingProps);
5237
+ return (React__default["default"].createElement("velt-live-state-sync-panel-accept-request-wireframe", __assign({}, transformedProps), children));
5238
+ };
5239
+
5240
+ var VeltLiveStateSyncPanelWireframe = function (props) {
5241
+ var children = props.children, remainingProps = __rest(props, ["children"]);
5242
+ var transformedProps = transformWireframeProps(remainingProps);
5243
+ return (React__default["default"].createElement("velt-live-state-sync-panel-wireframe", __assign({}, transformedProps), children));
5244
+ };
5245
+ VeltLiveStateSyncPanelWireframe.RequestAccess = VeltLiveStateSyncPanelRequestAccessWireframe;
5246
+ VeltLiveStateSyncPanelWireframe.RejectRequest = VeltLiveStateSyncPanelRejectRequestWireframe;
5247
+ VeltLiveStateSyncPanelWireframe.ReaderText = VeltLiveStateSyncPanelReaderTextWireframe;
5248
+ VeltLiveStateSyncPanelWireframe.EditorText = VeltLiveStateSyncPanelEditorTextWireframe;
5249
+ VeltLiveStateSyncPanelWireframe.EditHere = VeltLiveStateSyncPanelEditHereWireframe;
5250
+ VeltLiveStateSyncPanelWireframe.Countdown = VeltLiveStateSyncPanelCountdownWireframe;
5251
+ VeltLiveStateSyncPanelWireframe.CancelRequest = VeltLiveStateSyncPanelCancelRequestWireframe;
5252
+ VeltLiveStateSyncPanelWireframe.AcceptRequest = VeltLiveStateSyncPanelAcceptRequestWireframe;
5253
+
5180
5254
  function useClient() {
5181
5255
  var client = useVeltClient().client;
5182
5256
  var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -6824,6 +6898,8 @@ exports.VeltInlineCommentsSection = VeltInlineCommentsSection;
6824
6898
  exports.VeltInlineCommentsSectionWireframe = VeltInlineCommentsSectionWireframe;
6825
6899
  exports.VeltInlineReactionsSection = VeltInlineReactionsSection;
6826
6900
  exports.VeltInlineReactionsSectionWireframe = VeltInlineReactionsSectionWireframe;
6901
+ exports.VeltLiveStateSyncPanel = VeltLiveStateSyncPanel;
6902
+ exports.VeltLiveStateSyncPanelWireframe = VeltLiveStateSyncPanelWireframe;
6827
6903
  exports.VeltMediaSourceSettingsWireframe = VeltMediaSourceSettingsWireframe;
6828
6904
  exports.VeltMultiThreadCommentDialogWireframe = VeltMultiThreadCommentDialogWireframe;
6829
6905
  exports.VeltNivoChartComments = VeltNivoChartComments;