odaptos_design_system 2.0.55 → 2.0.56

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.
@@ -37,11 +37,10 @@ export interface SelfProtocolManagerProps extends HTMLAttributes<HTMLDivElement>
37
37
  isUserSharingScreen?: boolean;
38
38
  isScreenShareMessageDisplayed?: boolean;
39
39
  disabledStopRecording?: boolean;
40
- isExtensionDownloaded?: boolean;
41
- startScreenSharing: () => void;
40
+ startScreenSharing?: () => void;
42
41
  sendTask: (task: any) => void;
43
- stopRecording: () => void;
42
+ stopRecording?: () => void;
44
43
  onClickFinishScenario?: () => void;
45
44
  }
46
- export declare const SelfProtocolManager: ({ texts, className, customScrollingClassname, customContentClassname, tasks, idsTasksAlreadySent, currentTask, disableAllTasks, areAllTasksSend, isLastScenario, isRecordingFinished, isUserSharingScreen, isScreenShareMessageDisplayed, isExtensionDownloaded, disabledStopRecording, startScreenSharing, sendTask, stopRecording, onClickFinishScenario, ...props }: SelfProtocolManagerProps) => React.JSX.Element;
45
+ export declare const SelfProtocolManager: ({ texts, className, customScrollingClassname, customContentClassname, tasks, idsTasksAlreadySent, currentTask, disableAllTasks, areAllTasksSend, isLastScenario, isRecordingFinished, isUserSharingScreen, isScreenShareMessageDisplayed, disabledStopRecording, startScreenSharing, sendTask, stopRecording, onClickFinishScenario, ...props }: SelfProtocolManagerProps) => React.JSX.Element;
47
46
  export {};
@@ -12333,7 +12333,6 @@ const SelfProtocolManager = ({
12333
12333
  isRecordingFinished,
12334
12334
  isUserSharingScreen,
12335
12335
  isScreenShareMessageDisplayed = true,
12336
- isExtensionDownloaded = false,
12337
12336
  disabledStopRecording = false,
12338
12337
  startScreenSharing,
12339
12338
  sendTask,
@@ -12389,7 +12388,7 @@ const SelfProtocolManager = ({
12389
12388
  }, texts.welcomeMessageTitle && texts.welcomeMessageDescription && /*#__PURE__*/React__default.createElement(WelcomeMessage, {
12390
12389
  title: texts.welcomeMessageTitle,
12391
12390
  description: texts.welcomeMessageDescription
12392
- }), isScreenShareMessageDisplayed && /*#__PURE__*/React__default.createElement(SelfProtocolTaskContainer, {
12391
+ }), isScreenShareMessageDisplayed && startScreenSharing && /*#__PURE__*/React__default.createElement(SelfProtocolTaskContainer, {
12393
12392
  mainTitle: texts.screenShareTitle,
12394
12393
  description: texts.screenShareDescription,
12395
12394
  ctaText: texts.screenShareCTA,
@@ -12433,7 +12432,7 @@ const SelfProtocolManager = ({
12433
12432
  onClick: () => onClickFinishScenario(),
12434
12433
  isDisabled: false,
12435
12434
  isDisplay: true
12436
- }), areAllTasksSend && !isRecordingFinished && isLastScenario && /*#__PURE__*/React__default.createElement(EndRecording, {
12435
+ }), areAllTasksSend && !isRecordingFinished && isLastScenario && stopRecording && /*#__PURE__*/React__default.createElement(EndRecording, {
12437
12436
  stopRecTitle: texts.stopRecTitleNM,
12438
12437
  stopRecDescription: texts.stopRecDescriptionNM,
12439
12438
  stopRecCTA: texts.stopRecCTANM,