odaptos_design_system 1.4.127 → 1.4.130

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.
@@ -2,6 +2,7 @@ import React, { HTMLAttributes } from 'react';
2
2
  export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
3
3
  variant?: 'primary' | 'secondary' | 'tertiary' | 'tertiary-alt' | 'alert' | 'success';
4
4
  size?: 'sm' | 'base' | 'lg';
5
+ customBackground?: string;
5
6
  iconLeft?: JSX.Element;
6
7
  iconRight?: JSX.Element;
7
8
  disabled?: boolean;
@@ -9,4 +10,4 @@ export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
9
10
  className?: string;
10
11
  }
11
12
  /** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=131-253&mode=dev */
12
- export declare const Button: ({ variant, size, iconLeft, iconRight, text, disabled, className, ...props }: ButtonProps) => React.JSX.Element;
13
+ export declare const Button: ({ variant, size, customBackground, iconLeft, iconRight, text, disabled, className, ...props }: ButtonProps) => React.JSX.Element;
@@ -24,7 +24,7 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
24
24
  startInterview?: (task: TaskItem) => void;
25
25
  tasks: TaskItem[];
26
26
  sendTask: (task: TaskItem) => void;
27
- currentTask: TaskItem;
27
+ currentTask?: TaskItem;
28
28
  chatInputPlaceholder?: string;
29
29
  chatInputValue?: string;
30
30
  chatInputonChange?: (message: string) => void;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ interface Feature {
3
+ featureName: string;
4
+ tooltipText: string;
5
+ }
6
+ interface PricingCardProps {
7
+ cardInfo: {
8
+ title: string;
9
+ description: string;
10
+ monthlyPrice: number;
11
+ yearlyPrice: number;
12
+ };
13
+ cmsContent: any;
14
+ isYearlyOrMonthly: 'yearly' | 'monthly';
15
+ interviewsNumber?: number;
16
+ featuresList: Feature[];
17
+ isDark?: boolean;
18
+ isHighlighted: boolean;
19
+ highlightMessage?: string;
20
+ onClick: () => void;
21
+ currency?: string;
22
+ tier: 1 | 2 | 3 | 4;
23
+ }
24
+ declare const PricingCard: React.FC<PricingCardProps>;
25
+ export default PricingCard;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface ToggleTabProps {
3
+ optionOne: string;
4
+ optionTwo: string;
5
+ optionalFirstText?: string;
6
+ optionalSecondText?: string;
7
+ onClickOptionOne: () => void;
8
+ onClickOptionTwo: () => void;
9
+ selectedOption: 1 | 2;
10
+ variant: 'marketing';
11
+ }
12
+ declare const ToggleTab: React.FC<ToggleTabProps>;
13
+ export default ToggleTab;
package/dist/index.d.ts CHANGED
@@ -8,10 +8,10 @@ export * from './Checkbox/Checkbox';
8
8
  export * from './ColorGuide/colors';
9
9
  export * from './DatePicker/DatePicker';
10
10
  export * from './Icons';
11
- export * from './Interviews/ControlsBar';
12
11
  export * from './Interviews/Chat';
13
12
  export * from './Interviews/ChatInput';
14
13
  export * from './Interviews/CircledIconButton';
14
+ export * from './Interviews/ControlsBar';
15
15
  export * from './Interviews/GoBack';
16
16
  export * from './Interviews/InterviewButton';
17
17
  export * from './Interviews/MarkUpBar';
@@ -21,12 +21,13 @@ export * from './Interviews/WelcomeMessage';
21
21
  export * from './LateralMenu/LateralMenu';
22
22
  export * from './Modal/Modal';
23
23
  export * from './MultiSelect/MultiSelect';
24
- export * from './NumbersCode/NumbersCode';
25
24
  export * from './Notifications/Banner';
26
25
  export * from './Notifications/NotificationIcon';
27
26
  export * from './Notifications/Toast';
27
+ export * from './NumbersCode/NumbersCode';
28
28
  export * from './Popover/Popover';
29
29
  export * from './PopoverBeta/PopoverBeta';
30
+ export * from './PricingCard/PricingCard';
30
31
  export * from './Radio/Radio';
31
32
  export * from './RatingScale/RatingScale';
32
33
  export * from './Search/Search';
@@ -44,6 +45,7 @@ export * from './Tag/Tag';
44
45
  export * from './TextInput/TextInput';
45
46
  export * from './Textarea/Textarea';
46
47
  export * from './TimePicker/TimePicker';
48
+ export * from './ToggleTab/ToggleTab';
47
49
  export * from './Tooltip/Tooltip';
48
50
  export * from './Typography/Caption';
49
51
  export * from './Typography/Link';