@bigbinary/neeto-media-recorder 2.6.3 → 2.6.4

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/index.js CHANGED
@@ -1029,6 +1029,26 @@ var generatePublicUrl = function generatePublicUrl(recordingId) {
1029
1029
  return "".concat(baseURL, "/watch/").concat(recordingId);
1030
1030
  };
1031
1031
 
1032
+ var UseDesktopAppCallout = function UseDesktopAppCallout() {
1033
+ return /*#__PURE__*/jsx(Callout, {
1034
+ className: "mb-3",
1035
+ style: "info",
1036
+ children: /*#__PURE__*/jsx(Typography, {
1037
+ component: "span",
1038
+ style: "body2",
1039
+ children: /*#__PURE__*/jsx(Trans, {
1040
+ i18nKey: "neetoMediaRecorder.useDesktopAppCallOut",
1041
+ components: {
1042
+ Download: /*#__PURE__*/jsx(Button, {
1043
+ href: "https://neeto.com/neetorecord/download",
1044
+ style: "link"
1045
+ })
1046
+ }
1047
+ })
1048
+ })
1049
+ });
1050
+ };
1051
+
1032
1052
  var UploadingInProgress = function UploadingInProgress(_ref) {
1033
1053
  var recording = _ref.recording,
1034
1054
  uploadProgress = _ref.uploadProgress,
@@ -1070,7 +1090,7 @@ var UploadingInProgress = function UploadingInProgress(_ref) {
1070
1090
  className: "flex h-screen w-full flex-col items-center justify-center",
1071
1091
  children: [/*#__PURE__*/jsxs("div", {
1072
1092
  className: "flex h-full w-full flex-col items-center justify-start py-14 lg:py-20 xl:py-28 2xl:py-36",
1073
- children: [/*#__PURE__*/jsxs("div", {
1093
+ children: [/*#__PURE__*/jsx(UseDesktopAppCallout, {}), /*#__PURE__*/jsxs("div", {
1074
1094
  className: "w-full pb-6 text-center",
1075
1095
  children: [/*#__PURE__*/jsx(Typography, {
1076
1096
  className: "select-none pb-6",
@@ -1533,16 +1553,16 @@ var MediaRecorder = function MediaRecorder(_ref, ref) {
1533
1553
  });
1534
1554
  }
1535
1555
  if (isRecorderStatus(SCREEN_RECORDER_STATUS.stopped) && isUploadStatus(UPLOAD_STATUS$1.completed)) {
1536
- return /*#__PURE__*/jsx("div", {
1556
+ return /*#__PURE__*/jsxs("div", {
1537
1557
  className: "h-screen w-full",
1538
- children: /*#__PURE__*/jsx(PageLoader, {})
1558
+ children: [/*#__PURE__*/jsx(UseDesktopAppCallout, {}), /*#__PURE__*/jsx(PageLoader, {})]
1539
1559
  });
1540
1560
  }
1541
1561
  return /*#__PURE__*/jsxs("div", {
1542
1562
  className: "flex h-screen w-full flex-col items-center justify-start py-10 xl:py-14 2xl:py-20",
1543
1563
  children: [/*#__PURE__*/jsxs("div", {
1544
1564
  className: classNames("w-full max-w-3xl"),
1545
- children: [error === SCREEN_RECORDER_ERROR.NotAllowedError && /*#__PURE__*/jsxs("div", {
1565
+ children: [/*#__PURE__*/jsx(UseDesktopAppCallout, {}), error === SCREEN_RECORDER_ERROR.NotAllowedError && /*#__PURE__*/jsxs("div", {
1546
1566
  className: "flex flex-col items-center",
1547
1567
  children: [/*#__PURE__*/jsx(Typography, {
1548
1568
  className: "mb-2",