odaptos_design_system 2.0.213 → 2.0.215

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.
@@ -15,6 +15,7 @@ export interface TaskProps extends HTMLAttributes<HTMLDivElement> {
15
15
  className?: string;
16
16
  taskNumber: string;
17
17
  taskTitle: string;
18
+ taskDescription?: string;
18
19
  taskTitleTooltip: string;
19
20
  noteText?: string;
20
21
  actionText?: string;
@@ -35,5 +36,5 @@ export interface TaskProps extends HTMLAttributes<HTMLDivElement> {
35
36
  isInterviewer?: boolean;
36
37
  isObserver?: boolean;
37
38
  }
38
- export declare const Task: ({ taskNumber, taskTitle, taskTitleTooltip, notes, noteText, actionText, url, className, task, sendTask, state, isDone, iconAction1, iconAction2, iconAction3, action1, action2, action3, mainActionText, mainAction, isInterviewer, isObserver, ...props }: TaskProps) => React.JSX.Element;
39
+ export declare const Task: ({ taskNumber, taskTitle, taskDescription, taskTitleTooltip, notes, noteText, actionText, url, className, task, sendTask, state, isDone, iconAction1, iconAction2, iconAction3, action1, action2, action3, mainActionText, mainAction, isInterviewer, isObserver, ...props }: TaskProps) => React.JSX.Element;
39
40
  export {};
@@ -19,7 +19,8 @@ interface PricingCardProps {
19
19
  yourPlanText?: string;
20
20
  className?: string;
21
21
  isYearly?: boolean;
22
+ isFreeTrialDisplayed?: boolean;
22
23
  currency?: '$' | '€';
23
24
  }
24
- export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, }: PricingCardProps) => React.JSX.Element;
25
+ export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, isFreeTrialDisplayed, }: PricingCardProps) => React.JSX.Element;
25
26
  export {};
@@ -49535,6 +49535,7 @@ const Chat = ({
49535
49535
  key: realTask._id,
49536
49536
  taskNumber: `${realTask.type === 'task' ? taskText : realTask.type === 'question' ? questionText : scenarioText} #${realTask.index}`,
49537
49537
  taskTitle: realTask.type === 'scenario' ? idsTasksAlreadySent.includes(realTask._id) && realCurrentTask._id !== realTask._id || disabledTask ? realTask.name ?? realTask.description : realCurrentTask && realCurrentTask._id === realTask._id ? realTask.description : realTask.name ?? realTask.description : realTask.description,
49538
+ taskDescription: realTask.type === 'scenario' && isInterviewer ? realTask.description : '',
49538
49539
  taskTitleTooltip: realTask.description || realTask.name,
49539
49540
  url: realTask.url,
49540
49541
  noteText: noteText,
@@ -50260,6 +50261,7 @@ styleInject(css_248z$E);
50260
50261
  const Task = ({
50261
50262
  taskNumber,
50262
50263
  taskTitle,
50264
+ taskDescription,
50263
50265
  taskTitleTooltip,
50264
50266
  notes,
50265
50267
  noteText,
@@ -50312,6 +50314,9 @@ const Task = ({
50312
50314
  text: taskTitle,
50313
50315
  size: "sm",
50314
50316
  weight: "bold"
50317
+ }), taskDescription && taskDescription !== '' && isInterviewer && /*#__PURE__*/React__default.createElement(Text, {
50318
+ text: taskDescription,
50319
+ size: "sm"
50315
50320
  }), !isObserver && url && /*#__PURE__*/React__default.createElement("button", {
50316
50321
  className: styles$E.urlButton,
50317
50322
  onClick: () => window.open(url.includes('https://') ? url : `https://${url}`, '_blank')
@@ -50720,7 +50725,8 @@ const PricingCard = ({
50720
50725
  yourPlanText,
50721
50726
  className,
50722
50727
  isYearly = false,
50723
- currency = '$'
50728
+ currency = '$',
50729
+ isFreeTrialDisplayed = true
50724
50730
  }) => {
50725
50731
  const buttonText = {
50726
50732
  1: cmsContent.startFree,
@@ -50835,7 +50841,7 @@ const PricingCard = ({
50835
50841
  className: styles$J.button,
50836
50842
  disabled: yourPlanText ? true : false,
50837
50843
  onClick: onClick
50838
- })), /*#__PURE__*/React__default.createElement(Text, {
50844
+ })), isFreeTrialDisplayed && /*#__PURE__*/React__default.createElement(Text, {
50839
50845
  text: cmsContent.freeTrialDays ?? `30-day Free trial`,
50840
50846
  italic: true,
50841
50847
  size: "base",
@@ -51803,6 +51809,17 @@ const DatePicker = ({
51803
51809
  clearable: true,
51804
51810
  label,
51805
51811
  onBlur
51812
+ },
51813
+ textField: {
51814
+ required: required,
51815
+ InputLabelProps: {
51816
+ required: required,
51817
+ sx: {
51818
+ '& .MuiFormLabel-asterisk': {
51819
+ color: '#F54C4C'
51820
+ }
51821
+ }
51822
+ }
51806
51823
  }
51807
51824
  },
51808
51825
  disabled: disabled,