odaptos_design_system 1.2.4 → 1.2.6

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 (152) hide show
  1. package/dist/index.js +8 -0
  2. package/package.json +1 -1
  3. package/src/Accordion/Accordion.tsx +2 -6
  4. package/src/Badge/Badge.tsx +1 -1
  5. package/src/Buttons/Button.tsx +1 -1
  6. package/src/Buttons/IconButton.tsx +1 -1
  7. package/src/Checkbox/Checkbox.tsx +1 -0
  8. package/src/Icons/Arrows/ArrowDoubleLineDownIcon.tsx +1 -0
  9. package/src/Icons/Arrows/ArrowDoubleLineLeftIcon.tsx +1 -0
  10. package/src/Icons/Arrows/ArrowDoubleLineRightIcon.tsx +1 -0
  11. package/src/Icons/Arrows/ArrowDoubleLineUpIcon.tsx +1 -0
  12. package/src/Icons/Arrows/ArrowFilledDownIcon.tsx +1 -0
  13. package/src/Icons/Arrows/ArrowFilledLeftIcon.tsx +1 -0
  14. package/src/Icons/Arrows/ArrowFilledRightIcon.tsx +1 -0
  15. package/src/Icons/Arrows/ArrowFilledUpIcon.tsx +1 -0
  16. package/src/Icons/Arrows/ArrowLineDownIcon.tsx +1 -0
  17. package/src/Icons/Arrows/ArrowLineLeftIcon.tsx +1 -0
  18. package/src/Icons/Arrows/ArrowLineRightIcon.tsx +1 -0
  19. package/src/Icons/Arrows/ArrowLineUpIcon.tsx +1 -0
  20. package/src/Icons/Arrows/ArrowPointerDown.tsx +1 -0
  21. package/src/Icons/Arrows/ArrowPointerDownLeft.tsx +1 -0
  22. package/src/Icons/Arrows/ArrowPointerDownRight.tsx +1 -0
  23. package/src/Icons/Arrows/ArrowPointerLeft.tsx +1 -0
  24. package/src/Icons/Arrows/ArrowPointerRight.tsx +1 -0
  25. package/src/Icons/Arrows/ArrowPointerUp.tsx +1 -0
  26. package/src/Icons/Arrows/ArrowPointerUpLeft.tsx +1 -0
  27. package/src/Icons/Arrows/ArrowPointerUpRight.tsx +1 -0
  28. package/src/Icons/Circled/AddCircledIcon.tsx +1 -0
  29. package/src/Icons/Circled/AlertCircledIcon.tsx +1 -0
  30. package/src/Icons/Circled/CheckedCircled.tsx +1 -0
  31. package/src/Icons/Circled/InfoCircledIcon.tsx +1 -0
  32. package/src/Icons/Circled/MinusCircledIcon.tsx +1 -0
  33. package/src/Icons/Circled/NavigationCircledIcon.tsx +1 -0
  34. package/src/Icons/Circled/QuestionCircledIcon.tsx +1 -0
  35. package/src/Icons/Circled/RemoveCircledIcon.tsx +1 -0
  36. package/src/Icons/Circled/SearchCircledIcon.tsx +1 -0
  37. package/src/Icons/Circled/SettingsCircledIcon.tsx +1 -0
  38. package/src/Icons/Equipment/CameraIcon.tsx +1 -0
  39. package/src/Icons/Equipment/LaptopIcon.tsx +1 -0
  40. package/src/Icons/Equipment/MicrophonePodcastIcon.tsx +1 -0
  41. package/src/Icons/Equipment/MobileIcon.tsx +1 -0
  42. package/src/Icons/Equipment/TvFlatScreenIcon.tsx +1 -0
  43. package/src/Icons/Equipment/TvIcon.tsx +1 -0
  44. package/src/Icons/Interaction/AccountIcon.tsx +1 -0
  45. package/src/Icons/Interaction/AddIcon.tsx +1 -0
  46. package/src/Icons/Interaction/AgendaIcon.tsx +1 -0
  47. package/src/Icons/Interaction/BillingIcon.tsx +1 -0
  48. package/src/Icons/Interaction/BinIcon.tsx +1 -0
  49. package/src/Icons/Interaction/CheckedIcon.tsx +1 -0
  50. package/src/Icons/Interaction/ClockIcon.tsx +1 -0
  51. package/src/Icons/Interaction/CopyPasteIcon.tsx +1 -0
  52. package/src/Icons/Interaction/DragDropIcon.tsx +1 -0
  53. package/src/Icons/Interaction/EditIcon.tsx +1 -0
  54. package/src/Icons/Interaction/EditTextIcon.tsx +1 -0
  55. package/src/Icons/Interaction/LogoutIcon.tsx +1 -0
  56. package/src/Icons/Interaction/MenuHorizontalIcon.tsx +1 -0
  57. package/src/Icons/Interaction/MenuVerticalIcon.tsx +1 -0
  58. package/src/Icons/Interaction/MinusIcon.tsx +1 -0
  59. package/src/Icons/Interaction/SearchIcon.tsx +1 -0
  60. package/src/Icons/Interaction/SearchRemoveIcon.tsx +1 -0
  61. package/src/Icons/Interaction/ShareIcon.tsx +1 -0
  62. package/src/Icons/Interaction/TeamIcon.tsx +1 -0
  63. package/src/Icons/Logos/LogoBeta.tsx +1 -0
  64. package/src/Icons/Logos/LogoNormal.tsx +1 -0
  65. package/src/Icons/Logos/LogoSmall.tsx +1 -0
  66. package/src/Icons/Logos/LogoSquare.tsx +1 -0
  67. package/src/Icons/Logos/LogoText.tsx +1 -0
  68. package/src/Icons/MediaControl/HangUpIcon.tsx +1 -0
  69. package/src/Icons/MediaControl/MeetingIcon.tsx +1 -0
  70. package/src/Icons/MediaControl/MicrophoneIcon.tsx +1 -0
  71. package/src/Icons/MediaControl/MoveInIcon.tsx +1 -0
  72. package/src/Icons/MediaControl/MuteIcon.tsx +1 -0
  73. package/src/Icons/MediaControl/PauseIcon.tsx +1 -0
  74. package/src/Icons/MediaControl/PlayIcon.tsx +1 -0
  75. package/src/Icons/MediaControl/PreviousIcon.tsx +1 -0
  76. package/src/Icons/MediaControl/RecordingIcon.tsx +1 -0
  77. package/src/Icons/MediaControl/VolumeIcon.tsx +1 -0
  78. package/src/Icons/Miscellaneous/AddSeatIcon.tsx +1 -0
  79. package/src/Icons/Miscellaneous/AddUsersIcon.tsx +1 -0
  80. package/src/Icons/Miscellaneous/BillPdfIcon.tsx +1 -0
  81. package/src/Icons/Miscellaneous/BinocularIcon.tsx +1 -0
  82. package/src/Icons/Miscellaneous/BrainIcon.tsx +1 -0
  83. package/src/Icons/Miscellaneous/ChatBubbleIcon.tsx +1 -0
  84. package/src/Icons/Miscellaneous/ChatIcon.tsx +1 -0
  85. package/src/Icons/Miscellaneous/CheckoutIcon.tsx +1 -0
  86. package/src/Icons/Miscellaneous/ClipIcon.tsx +1 -0
  87. package/src/Icons/Miscellaneous/CreditCardIcon.tsx +1 -0
  88. package/src/Icons/Miscellaneous/DownloadIcon.tsx +1 -0
  89. package/src/Icons/Miscellaneous/EarthIcon.tsx +1 -0
  90. package/src/Icons/Miscellaneous/FaceCenterIcon.tsx +1 -0
  91. package/src/Icons/Miscellaneous/FaceRecognitionIcon.tsx +1 -0
  92. package/src/Icons/Miscellaneous/FilesIcon.tsx +1 -0
  93. package/src/Icons/Miscellaneous/FillRecordIcon.tsx +1 -0
  94. package/src/Icons/Miscellaneous/FolderIcon.tsx +1 -0
  95. package/src/Icons/Miscellaneous/GoogleIcon.tsx +1 -0
  96. package/src/Icons/Miscellaneous/HardDriveIcon.tsx +1 -0
  97. package/src/Icons/Miscellaneous/HelpIcon.tsx +1 -0
  98. package/src/Icons/Miscellaneous/LanguageIcon.tsx +1 -0
  99. package/src/Icons/Miscellaneous/LinkIcon.tsx +1 -0
  100. package/src/Icons/Miscellaneous/MetaAnalyseIcon.tsx +1 -0
  101. package/src/Icons/Miscellaneous/ModeratedIcon.tsx +1 -0
  102. package/src/Icons/Miscellaneous/NbOfUsersIcon.tsx +1 -0
  103. package/src/Icons/Miscellaneous/NeutralBackgroudIcon.tsx +1 -0
  104. package/src/Icons/Miscellaneous/ReportIcon.tsx +1 -0
  105. package/src/Icons/Miscellaneous/SeatIcon.tsx +1 -0
  106. package/src/Icons/Miscellaneous/SendEmailIcon.tsx +1 -0
  107. package/src/Icons/Miscellaneous/SendIcon.tsx +1 -0
  108. package/src/Icons/Miscellaneous/SmartBrainIcon.tsx +1 -0
  109. package/src/Icons/Miscellaneous/TasksIcon.tsx +1 -0
  110. package/src/Icons/Miscellaneous/TestDetailsIcon.tsx +1 -0
  111. package/src/Icons/Miscellaneous/TestIcon.tsx +1 -0
  112. package/src/Icons/Miscellaneous/UnmoderatedIcon.tsx +1 -0
  113. package/src/Icons/Notifications/AlamBellIdleIcon.tsx +1 -0
  114. package/src/Icons/Notifications/AlarmBellStatusIcon.tsx +1 -0
  115. package/src/Icons/Notifications/NotifAlertIcon.tsx +1 -0
  116. package/src/Interviews/Chat.tsx +1 -1
  117. package/src/Interviews/ChatInput.tsx +2 -0
  118. package/src/Interviews/CircledIconButton.tsx +1 -1
  119. package/src/Interviews/ControlsBar.tsx +31 -20
  120. package/src/Interviews/GoBack.tsx +1 -1
  121. package/src/Interviews/InterviewButton.tsx +1 -1
  122. package/src/Interviews/MarkUpBar.tsx +3 -4
  123. package/src/Interviews/StartInterview.tsx +1 -1
  124. package/src/Interviews/Task.tsx +1 -2
  125. package/src/Interviews/WelcomeMessage.tsx +1 -1
  126. package/src/LateralMenu/LateralMenu.tsx +2 -0
  127. package/src/Modal/Modal.tsx +1 -1
  128. package/src/Notifications/Banner.tsx +1 -1
  129. package/src/Notifications/NotificationIcon.tsx +1 -1
  130. package/src/Notifications/Toast.tsx +1 -1
  131. package/src/Radio/Radio.tsx +1 -0
  132. package/src/Search/Search.tsx +1 -0
  133. package/src/Step/Step.tsx +1 -1
  134. package/src/Switch/Switch.tsx +1 -1
  135. package/src/Table/header.tsx +1 -0
  136. package/src/Table/index.tsx +1 -0
  137. package/src/Table/rows.tsx +1 -0
  138. package/src/Table/table-cell.tsx +1 -0
  139. package/src/Tabs/Tabs.tsx +1 -1
  140. package/src/Tabs/TabsUnderLine.tsx +1 -1
  141. package/src/Tag/Tag.tsx +1 -1
  142. package/src/TextInput/TextInput.tsx +1 -0
  143. package/src/Textarea/Textarea.tsx +1 -1
  144. package/src/Tooltip/Layout/TooltipCustomLayout.tsx +1 -0
  145. package/src/Tooltip/Tooltip.tsx +1 -1
  146. package/src/Typography/Caption.tsx +1 -1
  147. package/src/Typography/Link.tsx +1 -1
  148. package/src/Typography/Text.tsx +1 -1
  149. package/src/Typography/TextForButton.tsx +1 -1
  150. package/src/Typography/TextForDropDownItem.tsx +1 -1
  151. package/src/Typography/TextWithLink.tsx +1 -1
  152. package/src/Typography/Title.tsx +1 -1
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function ClipIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function CreditCardIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function DownloadIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function EarthIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function FaceCenterIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function FaceRecognitionIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function FilesIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function FillRecordIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function FolderIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function GoogleIcon({
4
5
  stroke = 'none',
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function HardDriveIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function HelpIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function LanguageIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function LinkIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function MetaAnalyseIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function ModeratedIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function NbOfUsersIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function NeutralBackgroudIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function ReportIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function SeatIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function SendEmailIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function SendIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function SmartBrainIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function TasksIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function TestDetailsIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function TestIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function UnmoderatedIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function CopyPasteIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function AlarmBellStatusIcon({
4
5
  stroke,
@@ -1,4 +1,5 @@
1
1
  import { SvgIcon, SvgIconProps } from '@mui/material';
2
+ import React from 'react';
2
3
 
3
4
  export default function NotifAlertIcon({
4
5
  stroke,
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Chat.modules.scss';
3
3
  import {
4
4
  Text,
@@ -1,5 +1,7 @@
1
1
  import { SendEmailIcon } from '../';
2
2
  import styles from './ChatInput.modules.scss';
3
+ import React from 'react';
4
+
3
5
  interface ChatInputProps {
4
6
  className?: string;
5
7
  value: string;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './CircleIconButton.modules.scss';
3
3
  import { MeetingIcon, NotifAlertIcon } from '../';
4
4
 
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './ControlsBar.modules.scss';
3
3
  import {
4
4
  CircledIconButton,
@@ -36,6 +36,7 @@ export const ControlsBar = ({
36
36
  enableMicrophone,
37
37
  enableCamera,
38
38
  displayTasks,
39
+ displayChat,
39
40
  isChatOpen,
40
41
  areTasksOpen,
41
42
  isNewTask,
@@ -44,16 +45,20 @@ export const ControlsBar = ({
44
45
  }: ControlsBarProps) => {
45
46
  return (
46
47
  <div className={`${styles.control_bar} ${className ?? ''}`} {...props}>
47
- <CircledIconButton
48
- icon={<MicrophoneIcon />}
49
- onClick={() => enableMicrophone()}
50
- />
51
- <CircledIconButton
52
- icon={<MeetingIcon />}
53
- onClick={() => enableCamera()}
54
- />
48
+ {enableMicrophone && (
49
+ <CircledIconButton
50
+ icon={<MicrophoneIcon />}
51
+ onClick={() => enableMicrophone()}
52
+ />
53
+ )}
54
+ {enableCamera && (
55
+ <CircledIconButton
56
+ icon={<MeetingIcon />}
57
+ onClick={() => enableCamera()}
58
+ />
59
+ )}
55
60
  <div className={styles.separator} />
56
- {isInterviewer && (
61
+ {isInterviewer && endInterview && (
57
62
  <InterviewButton
58
63
  text="End Interview"
59
64
  variant="end-interview"
@@ -61,7 +66,7 @@ export const ControlsBar = ({
61
66
  icon={<HangUpIcon />}
62
67
  />
63
68
  )}
64
- {!isInterviewer && !isScreenShare && (
69
+ {!isInterviewer && !isScreenShare && enableScreenSharing && (
65
70
  <InterviewButton
66
71
  text="ScreenShare"
67
72
  variant="screenshare"
@@ -75,7 +80,9 @@ export const ControlsBar = ({
75
80
  text="Protocol"
76
81
  variant="protocol"
77
82
  icon={<TasksIcon />}
78
- onClick={() => displayTasks()}
83
+ onClick={() => {
84
+ if (displayTasks) return displayTasks();
85
+ }}
79
86
  isActive={areTasksOpen}
80
87
  isNotif={isNewTask}
81
88
  />
@@ -84,18 +91,22 @@ export const ControlsBar = ({
84
91
  text="My Tasks"
85
92
  variant="protocol"
86
93
  icon={<TasksIcon />}
87
- onClick={() => displayTasks()}
94
+ onClick={() => {
95
+ if (displayTasks) return displayTasks();
96
+ }}
88
97
  isActive={areTasksOpen}
89
98
  isNotif={isNewTask}
90
99
  />
91
100
  )}
92
- <CircledIconButton
93
- icon={<ChatBubbleIcon />}
94
- className={styles.chatBubbleIcon}
95
- onClick={() => displayChat()}
96
- isActive={isChatOpen}
97
- isNotif={isNewMessage}
98
- />
101
+ {displayChat && (
102
+ <CircledIconButton
103
+ icon={<ChatBubbleIcon />}
104
+ className={styles.chatBubbleIcon}
105
+ onClick={() => displayChat()}
106
+ isActive={isChatOpen}
107
+ isNotif={isNewMessage}
108
+ />
109
+ )}
99
110
  </div>
100
111
  );
101
112
  };
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './GoBack.modules.scss';
3
3
  import { ArrowLineLeftIcon, Text } from '../';
4
4
 
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './InterviewButton.modules.scss';
3
3
  import { MeetingIcon, NotifAlertIcon, Text } from '../';
4
4
 
@@ -1,8 +1,7 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React from 'react';
2
2
  import styles from './MarkUpBar.modules.scss';
3
- import { MeetingIcon } from '../';
4
3
 
5
- export interface MarkUpBarProps extends HTMLAttributes<HTMLButtonElement> {
4
+ export interface MarkUpBarProps {
6
5
  className?: string;
7
6
  onClick: (code: string) => void;
8
7
  }
@@ -10,7 +9,7 @@ export interface MarkUpBarProps extends HTMLAttributes<HTMLButtonElement> {
10
9
  /**
11
10
  * TODO : Be sure that we want to keep the 'QWERTY' selection system
12
11
  */
13
- export const MarkUpBar = ({ className, onClick, ...props }: MarkUpBarProps) => {
12
+ export const MarkUpBar = ({ className, onClick }: MarkUpBarProps) => {
14
13
  return (
15
14
  <div className={`${styles.markup_bar} ${className ?? ''}`}>
16
15
  <div className={styles.smiley_list}>
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './StartInterview.modules.scss';
3
3
  import { Button, Text, SendIcon } from '../';
4
4
 
@@ -1,8 +1,7 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Task.modules.scss';
3
3
  import { Button, CheckedIcon, IconButton, Text, SendIcon } from '../';
4
4
  import Popover from '@mui/material/Popover';
5
- import * as React from 'react';
6
5
  import { styled } from '@mui/material/styles';
7
6
 
8
7
  const CustomPopover = styled(Popover)({
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './WelcomeMessage.modules.scss';
3
3
  import { Text } from '../';
4
4
 
@@ -1,6 +1,8 @@
1
1
  import styles from './LateralMenu.modules.scss';
2
2
  import { LogoNormal as Logo } from '../Icons';
3
3
  import Grid from '@mui/material/Grid';
4
+ import React from 'react';
5
+
4
6
  interface LateralMenuProps {
5
7
  content: JSX.Element;
6
8
  isLogoDisplay?: boolean;
@@ -5,7 +5,7 @@ import { Title } from '../Typography/Title';
5
5
  import { Button } from '../Buttons/Button';
6
6
  import { IconButton } from '../Buttons/IconButton';
7
7
  import styles from './Modal.modules.scss';
8
- import { useEffect } from 'react';
8
+ import React, { useEffect } from 'react';
9
9
 
10
10
  interface ModalProps {
11
11
  className?: string;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { AlertCircledIcon, CheckedCircled, InfoCircledIcon } from '../Icons';
3
3
  import { TextWithLink } from '../Typography/TextWithLink';
4
4
  import { Text } from '../Typography/Text';
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { AlarmBellStatusIcon, AlamBellIdleIcon } from '../Icons';
3
3
 
4
4
  interface TagProps extends HTMLAttributes<HTMLDivElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { AddIcon } from '../Icons';
3
3
  import { Link } from '../Typography/Link';
4
4
  import { Text } from '../Typography/Text';
@@ -2,6 +2,7 @@ import { styled } from '@mui/material/styles';
2
2
  import { Radio as MuiRadio } from '@mui/material';
3
3
  import { Text } from '../Typography/Text';
4
4
  import styles from './Radio.module.scss';
5
+ import React from 'react';
5
6
 
6
7
  const BpIcon = styled('span')(() => ({
7
8
  borderRadius: '50%',
@@ -1,5 +1,6 @@
1
1
  import { SearchCircledIcon } from '../Icons';
2
2
  import { TextInput } from '../TextInput/TextInput';
3
+ import React from 'react';
3
4
 
4
5
  interface RadioProps {
5
6
  searchInput: string | number;
package/src/Step/Step.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Step.module.scss';
3
3
  import { AlertCircledIcon, CheckedCircled } from '../Icons';
4
4
  import { Text } from '../Typography/Text';
@@ -2,7 +2,7 @@ import { Switch as MuiSwitch } from '@mui/material';
2
2
  import { Title } from '../Typography/Title';
3
3
  import styles from './Switch.module.scss';
4
4
  import { alpha, styled } from '@mui/system';
5
-
5
+ import React from 'react';
6
6
  interface SwitchProps {
7
7
  label?: string;
8
8
  checked: boolean;
@@ -2,6 +2,7 @@ import { Checkbox } from '../Checkbox/Checkbox';
2
2
  import { Tooltip } from '../Tooltip/Tooltip';
3
3
  import { Text } from '../Typography/Text';
4
4
  import styles from './header.modules.scss';
5
+ import React from 'react';
5
6
 
6
7
  interface HeaderItem {
7
8
  name: string;
@@ -1,5 +1,6 @@
1
1
  import { TableHeader } from './header';
2
2
  import { TableRows } from './rows';
3
+ import React from 'react';
3
4
 
4
5
  interface HeaderItem {
5
6
  name: string;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { Checkbox } from '../Checkbox/Checkbox';
2
3
  import styles from './rows.modules.scss';
3
4
  import { TableCell } from './table-cell';
@@ -1,6 +1,7 @@
1
1
  import { Checkbox } from '../Checkbox/Checkbox';
2
2
  import { Text } from '../Typography/Text';
3
3
  import styles from './table-cell.modules.scss';
4
+ import React from 'react';
4
5
 
5
6
  interface TableCellProps {
6
7
  text: string;
package/src/Tabs/Tabs.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Tabs as MuiTabs } from '@mui/material';
2
2
  import Tab from '@mui/material/Tab';
3
- import { useState } from 'react';
3
+ import React, { useState } from 'react';
4
4
  import { Text } from '../../src/Typography/Text';
5
5
  import styles from './tabs.modules.scss';
6
6
 
@@ -1,4 +1,4 @@
1
- import { useState } from 'react';
1
+ import React, { useState } from 'react';
2
2
  import Tabs from '@mui/material/Tabs';
3
3
  import Tab from '@mui/material/Tab';
4
4
  import { Text } from '../Typography/Text';
package/src/Tag/Tag.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Tag.modules.scss';
3
3
  import { Text } from '../Typography/Text';
4
4
 
@@ -2,6 +2,7 @@ import { InputAdornment, TextField } from '@mui/material';
2
2
  import { Text } from '../Typography/Text';
3
3
  import './TextInput.scss';
4
4
  import { styled } from '@mui/material/styles';
5
+ import React from 'react';
5
6
 
6
7
  const CssTextField = styled(TextField)({
7
8
  '& .MuiInputBase-input': {
@@ -1,7 +1,7 @@
1
1
  import { useState } from 'react';
2
2
  import { TextInput } from '../TextInput/TextInput';
3
3
  import { Text } from '../Typography/Text';
4
-
4
+ import React from 'react';
5
5
  import styles from './Textarea.module.scss';
6
6
 
7
7
  interface TextareaProps {
@@ -2,6 +2,7 @@ import { Button } from '../../Buttons/Button';
2
2
  import { IconButton } from '../../Buttons/IconButton';
3
3
  import { Text } from '../../Typography/Text';
4
4
  import { Title } from '../../Typography/Title';
5
+ import React from 'react';
5
6
 
6
7
  import styles from './TooltipCustomLayout.module.scss';
7
8
 
@@ -4,7 +4,7 @@ import { styled } from '@mui/material/styles';
4
4
 
5
5
  import { TooltipLayout } from './Layout/TooltipCustomLayout';
6
6
 
7
- import { useState } from 'react';
7
+ import React, { useState } from 'react';
8
8
 
9
9
  const StyledTooltip = styled(MTooltip)({
10
10
  [`& .${tooltipClasses.tooltip}`]: {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Caption.modules.scss';
3
3
 
4
4
  interface CaptionProps extends HTMLAttributes<HTMLParagraphElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Link.modules.scss';
3
3
 
4
4
  interface LinkProps extends HTMLAttributes<HTMLParagraphElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Text.modules.scss';
3
3
 
4
4
  interface TextProps extends HTMLAttributes<HTMLParagraphElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './TextForButton.modules.scss';
3
3
 
4
4
  interface TextForButtonProps extends HTMLAttributes<HTMLParagraphElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './TextForDropDownItem.modules.scss';
3
3
 
4
4
  interface TextForDropDownItemProps
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './TextWithLink.modules.scss';
3
3
 
4
4
  interface TextWithLinkProps extends HTMLAttributes<HTMLParagraphElement> {
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import styles from './Title.modules.scss';
3
3
 
4
4
  interface TitleProps extends HTMLAttributes<HTMLParagraphElement> {