odaptos_design_system 1.2.8 → 1.3.1

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 (300) hide show
  1. package/dist/Accordion/Accordion.d.ts +10 -0
  2. package/dist/Badge/Badge.d.ts +12 -0
  3. package/dist/Buttons/Button.d.ts +11 -0
  4. package/dist/Buttons/IconButton.d.ts +9 -0
  5. package/dist/Cards/Card.d.ts +6 -0
  6. package/dist/Cards/CardButton.d.ts +6 -0
  7. package/dist/Checkbox/Checkbox.d.ts +13 -0
  8. package/dist/ColorGuide/colors.d.ts +6 -0
  9. package/dist/Icons/Arrows/ArrowDoubleLineDownIcon.d.ts +3 -0
  10. package/dist/Icons/Arrows/ArrowDoubleLineLeftIcon.d.ts +3 -0
  11. package/dist/Icons/Arrows/ArrowDoubleLineRightIcon.d.ts +3 -0
  12. package/dist/Icons/Arrows/ArrowDoubleLineUpIcon.d.ts +3 -0
  13. package/dist/Icons/Arrows/ArrowFilledDownIcon.d.ts +3 -0
  14. package/dist/Icons/Arrows/ArrowFilledLeftIcon.d.ts +3 -0
  15. package/dist/Icons/Arrows/ArrowFilledRightIcon.d.ts +3 -0
  16. package/dist/Icons/Arrows/ArrowFilledUpIcon.d.ts +3 -0
  17. package/dist/Icons/Arrows/ArrowLineDownIcon.d.ts +3 -0
  18. package/dist/Icons/Arrows/ArrowLineLeftIcon.d.ts +3 -0
  19. package/dist/Icons/Arrows/ArrowLineRightIcon.d.ts +3 -0
  20. package/dist/Icons/Arrows/ArrowLineUpIcon.d.ts +3 -0
  21. package/dist/Icons/Arrows/ArrowPointerDown.d.ts +3 -0
  22. package/dist/Icons/Arrows/ArrowPointerDownLeft.d.ts +3 -0
  23. package/dist/Icons/Arrows/ArrowPointerDownRight.d.ts +3 -0
  24. package/dist/Icons/Arrows/ArrowPointerLeft.d.ts +3 -0
  25. package/dist/Icons/Arrows/ArrowPointerRight.d.ts +3 -0
  26. package/dist/Icons/Arrows/ArrowPointerUp.d.ts +3 -0
  27. package/dist/Icons/Arrows/ArrowPointerUpLeft.d.ts +3 -0
  28. package/dist/Icons/Arrows/ArrowPointerUpRight.d.ts +3 -0
  29. package/dist/Icons/Circled/AddCircledIcon.d.ts +3 -0
  30. package/dist/Icons/Circled/AlertCircledIcon.d.ts +3 -0
  31. package/dist/Icons/Circled/CheckedCircled.d.ts +3 -0
  32. package/dist/Icons/Circled/InfoCircledIcon.d.ts +3 -0
  33. package/dist/Icons/Circled/MinusCircledIcon.d.ts +3 -0
  34. package/dist/Icons/Circled/NavigationCircledIcon.d.ts +3 -0
  35. package/dist/Icons/Circled/QuestionCircledIcon.d.ts +3 -0
  36. package/dist/Icons/Circled/RemoveCircledIcon.d.ts +3 -0
  37. package/dist/Icons/Circled/SearchCircledIcon.d.ts +3 -0
  38. package/dist/Icons/Circled/SettingsCircledIcon.d.ts +3 -0
  39. package/dist/Icons/Equipment/CameraIcon.d.ts +3 -0
  40. package/dist/Icons/Equipment/LaptopIcon.d.ts +3 -0
  41. package/dist/Icons/Equipment/MicrophonePodcastIcon.d.ts +3 -0
  42. package/dist/Icons/Equipment/MobileIcon.d.ts +3 -0
  43. package/dist/Icons/Equipment/TvFlatScreenIcon.d.ts +3 -0
  44. package/dist/Icons/Equipment/TvIcon.d.ts +3 -0
  45. package/dist/Icons/Interaction/AccountIcon.d.ts +3 -0
  46. package/dist/Icons/Interaction/AddIcon.d.ts +3 -0
  47. package/dist/Icons/Interaction/AgendaIcon.d.ts +3 -0
  48. package/dist/Icons/Interaction/BillingIcon.d.ts +3 -0
  49. package/dist/Icons/Interaction/BinIcon.d.ts +3 -0
  50. package/dist/Icons/Interaction/CheckedIcon.d.ts +3 -0
  51. package/dist/Icons/Interaction/ClockIcon.d.ts +3 -0
  52. package/dist/Icons/Interaction/CopyPasteIcon.d.ts +3 -0
  53. package/dist/Icons/Interaction/DragDropIcon.d.ts +3 -0
  54. package/dist/Icons/Interaction/EditIcon.d.ts +3 -0
  55. package/dist/Icons/Interaction/EditTextIcon.d.ts +3 -0
  56. package/dist/Icons/Interaction/LogoutIcon.d.ts +3 -0
  57. package/dist/Icons/Interaction/MenuHorizontalIcon.d.ts +3 -0
  58. package/dist/Icons/Interaction/MenuVerticalIcon.d.ts +3 -0
  59. package/dist/Icons/Interaction/MinusIcon.d.ts +3 -0
  60. package/dist/Icons/Interaction/SearchIcon.d.ts +3 -0
  61. package/dist/Icons/Interaction/SearchRemoveIcon.d.ts +3 -0
  62. package/dist/Icons/Interaction/ShareIcon.d.ts +3 -0
  63. package/dist/Icons/Interaction/TeamIcon.d.ts +3 -0
  64. package/dist/Icons/Logos/LogoBeta.d.ts +3 -0
  65. package/dist/Icons/Logos/LogoNormal.d.ts +3 -0
  66. package/dist/Icons/Logos/LogoSmall.d.ts +3 -0
  67. package/dist/Icons/Logos/LogoSquare.d.ts +3 -0
  68. package/dist/Icons/Logos/LogoText.d.ts +3 -0
  69. package/dist/Icons/MediaControl/HangUpIcon.d.ts +3 -0
  70. package/dist/Icons/MediaControl/MeetingIcon.d.ts +3 -0
  71. package/dist/Icons/MediaControl/MicrophoneIcon.d.ts +3 -0
  72. package/dist/Icons/MediaControl/MoveInIcon.d.ts +3 -0
  73. package/dist/Icons/MediaControl/MuteIcon.d.ts +3 -0
  74. package/dist/Icons/MediaControl/PauseIcon.d.ts +3 -0
  75. package/dist/Icons/MediaControl/PlayIcon.d.ts +3 -0
  76. package/dist/Icons/MediaControl/PreviousIcon.d.ts +3 -0
  77. package/dist/Icons/MediaControl/RecordingIcon.d.ts +3 -0
  78. package/dist/Icons/MediaControl/VolumeIcon.d.ts +3 -0
  79. package/dist/Icons/Miscellaneous/AddSeatIcon.d.ts +3 -0
  80. package/dist/Icons/Miscellaneous/AddUsersIcon.d.ts +3 -0
  81. package/dist/Icons/Miscellaneous/BillPdfIcon.d.ts +3 -0
  82. package/dist/Icons/Miscellaneous/BinocularIcon.d.ts +3 -0
  83. package/dist/Icons/Miscellaneous/BrainIcon.d.ts +3 -0
  84. package/dist/Icons/Miscellaneous/ChatBubbleIcon.d.ts +3 -0
  85. package/dist/Icons/Miscellaneous/ChatIcon.d.ts +3 -0
  86. package/dist/Icons/Miscellaneous/CheckoutIcon.d.ts +3 -0
  87. package/dist/Icons/Miscellaneous/ClipIcon.d.ts +3 -0
  88. package/dist/Icons/Miscellaneous/CreditCardIcon.d.ts +3 -0
  89. package/dist/Icons/Miscellaneous/DownloadIcon.d.ts +3 -0
  90. package/dist/Icons/Miscellaneous/EarthIcon.d.ts +3 -0
  91. package/dist/Icons/Miscellaneous/FaceCenterIcon.d.ts +3 -0
  92. package/dist/Icons/Miscellaneous/FaceRecognitionIcon.d.ts +3 -0
  93. package/dist/Icons/Miscellaneous/FilesIcon.d.ts +3 -0
  94. package/dist/Icons/Miscellaneous/FillRecordIcon.d.ts +3 -0
  95. package/dist/Icons/Miscellaneous/FolderIcon.d.ts +3 -0
  96. package/dist/Icons/Miscellaneous/GoogleIcon.d.ts +3 -0
  97. package/dist/Icons/Miscellaneous/HardDriveIcon.d.ts +3 -0
  98. package/dist/Icons/Miscellaneous/HelpIcon.d.ts +3 -0
  99. package/dist/Icons/Miscellaneous/LanguageIcon.d.ts +3 -0
  100. package/dist/Icons/Miscellaneous/LinkIcon.d.ts +3 -0
  101. package/dist/Icons/Miscellaneous/MetaAnalyseIcon.d.ts +3 -0
  102. package/dist/Icons/Miscellaneous/ModeratedIcon.d.ts +3 -0
  103. package/dist/Icons/Miscellaneous/NbOfUsersIcon.d.ts +3 -0
  104. package/dist/Icons/Miscellaneous/NeutralBackgroudIcon.d.ts +3 -0
  105. package/dist/Icons/Miscellaneous/ReportIcon.d.ts +3 -0
  106. package/dist/Icons/Miscellaneous/SeatIcon.d.ts +3 -0
  107. package/dist/Icons/Miscellaneous/SendEmailIcon.d.ts +3 -0
  108. package/dist/Icons/Miscellaneous/SendIcon.d.ts +3 -0
  109. package/dist/Icons/Miscellaneous/SmartBrainIcon.d.ts +3 -0
  110. package/dist/Icons/Miscellaneous/TasksIcon.d.ts +3 -0
  111. package/dist/Icons/Miscellaneous/TestDetailsIcon.d.ts +3 -0
  112. package/dist/Icons/Miscellaneous/TestIcon.d.ts +3 -0
  113. package/dist/Icons/Miscellaneous/UnmoderatedIcon.d.ts +3 -0
  114. package/dist/Icons/Notifications/AlamBellIdleIcon.d.ts +3 -0
  115. package/dist/Icons/Notifications/AlarmBellStatusIcon.d.ts +3 -0
  116. package/dist/Icons/Notifications/NotifAlertIcon.d.ts +3 -0
  117. package/dist/Icons/index.d.ts +108 -0
  118. package/dist/Interviews/Chat.d.ts +30 -0
  119. package/dist/Interviews/ChatInput.d.ts +10 -0
  120. package/dist/Interviews/CircledIconButton.d.ts +8 -0
  121. package/dist/Interviews/ControlsBar.d.ts +17 -0
  122. package/dist/Interviews/GoBack.d.ts +7 -0
  123. package/dist/Interviews/InterviewButton.d.ts +10 -0
  124. package/dist/Interviews/MarkUpBar.d.ts +9 -0
  125. package/dist/Interviews/StartInterview.d.ts +9 -0
  126. package/dist/Interviews/Task.d.ts +19 -0
  127. package/dist/Interviews/WelcomeMessage.d.ts +7 -0
  128. package/dist/LateralMenu/LateralMenu.d.ts +9 -0
  129. package/dist/Modal/Modal.d.ts +19 -0
  130. package/dist/MultiSelect/MultiSelect.d.ts +23 -0
  131. package/dist/Notifications/Banner.d.ts +14 -0
  132. package/dist/Notifications/NotificationIcon.d.ts +8 -0
  133. package/dist/Notifications/Toast.d.ts +14 -0
  134. package/dist/Popover/Popover.d.ts +18 -0
  135. package/dist/Radio/Radio.d.ts +15 -0
  136. package/dist/Search/Search.d.ts +8 -0
  137. package/dist/SingleSelect/SingleSelect.d.ts +23 -0
  138. package/dist/Step/Step.d.ts +11 -0
  139. package/dist/Switch/Switch.d.ts +9 -0
  140. package/dist/Table/header.d.ts +17 -0
  141. package/dist/Table/index.d.ts +24 -0
  142. package/dist/Table/rows.d.ts +30 -0
  143. package/dist/Table/table-cell.d.ts +12 -0
  144. package/dist/Tabs/Tabs.d.ts +10 -0
  145. package/dist/Tabs/TabsUnderLine.d.ts +10 -0
  146. package/dist/Tag/Tag.d.ts +12 -0
  147. package/dist/TextInput/TextInput.d.ts +28 -0
  148. package/dist/Textarea/Textarea.d.ts +22 -0
  149. package/dist/Tooltip/Layout/TooltipCustomLayout.d.ts +20 -0
  150. package/dist/Tooltip/Tooltip.d.ts +25 -0
  151. package/dist/Typography/Caption.d.ts +13 -0
  152. package/dist/Typography/Link.d.ts +14 -0
  153. package/dist/Typography/Text.d.ts +17 -0
  154. package/dist/Typography/TextForButton.d.ts +14 -0
  155. package/dist/Typography/TextForDropDownItem.d.ts +14 -0
  156. package/dist/Typography/TextWithLink.d.ts +16 -0
  157. package/dist/Typography/Title.d.ts +16 -0
  158. package/dist/hooks/useClickOutside.d.ts +8 -0
  159. package/dist/index.d.ts +40 -0
  160. package/dist/odaptos_design_system.cjs.development.css +39 -0
  161. package/dist/odaptos_design_system.cjs.development.js +6562 -0
  162. package/dist/odaptos_design_system.cjs.development.js.map +1 -0
  163. package/dist/odaptos_design_system.cjs.production.min.js +2 -0
  164. package/dist/odaptos_design_system.cjs.production.min.js.map +1 -0
  165. package/dist/odaptos_design_system.esm.js +6514 -0
  166. package/dist/odaptos_design_system.esm.js.map +1 -0
  167. package/package.json +18 -22
  168. package/src/Accordion/Accordion.tsx +5 -1
  169. package/src/Badge/Badge.tsx +2 -2
  170. package/src/Cards/Card.tsx +2 -5
  171. package/src/Checkbox/Checkbox.tsx +1 -1
  172. package/src/Icons/Arrows/ArrowDoubleLineDownIcon.tsx +1 -1
  173. package/src/Icons/Arrows/ArrowDoubleLineLeftIcon.tsx +1 -1
  174. package/src/Icons/Arrows/ArrowDoubleLineRightIcon.tsx +1 -1
  175. package/src/Icons/Arrows/ArrowDoubleLineUpIcon.tsx +1 -1
  176. package/src/Icons/Arrows/ArrowFilledDownIcon.tsx +1 -1
  177. package/src/Icons/Arrows/ArrowFilledLeftIcon.tsx +1 -1
  178. package/src/Icons/Arrows/ArrowFilledRightIcon.tsx +1 -1
  179. package/src/Icons/Arrows/ArrowFilledUpIcon.tsx +1 -1
  180. package/src/Icons/Arrows/ArrowLineDownIcon.tsx +1 -1
  181. package/src/Icons/Arrows/ArrowLineLeftIcon.tsx +1 -1
  182. package/src/Icons/Arrows/ArrowLineRightIcon.tsx +1 -1
  183. package/src/Icons/Arrows/ArrowLineUpIcon.tsx +1 -1
  184. package/src/Icons/Arrows/ArrowPointerDown.tsx +1 -1
  185. package/src/Icons/Arrows/ArrowPointerDownLeft.tsx +1 -1
  186. package/src/Icons/Arrows/ArrowPointerDownRight.tsx +1 -1
  187. package/src/Icons/Arrows/ArrowPointerLeft.tsx +1 -1
  188. package/src/Icons/Arrows/ArrowPointerRight.tsx +1 -1
  189. package/src/Icons/Arrows/ArrowPointerUp.tsx +1 -1
  190. package/src/Icons/Arrows/ArrowPointerUpLeft.tsx +1 -1
  191. package/src/Icons/Arrows/ArrowPointerUpRight.tsx +1 -1
  192. package/src/Icons/Circled/AddCircledIcon.tsx +1 -1
  193. package/src/Icons/Circled/AlertCircledIcon.tsx +1 -1
  194. package/src/Icons/Circled/CheckedCircled.tsx +1 -1
  195. package/src/Icons/Circled/InfoCircledIcon.tsx +1 -1
  196. package/src/Icons/Circled/MinusCircledIcon.tsx +1 -1
  197. package/src/Icons/Circled/NavigationCircledIcon.tsx +1 -1
  198. package/src/Icons/Circled/QuestionCircledIcon.tsx +1 -1
  199. package/src/Icons/Circled/RemoveCircledIcon.tsx +1 -1
  200. package/src/Icons/Circled/SearchCircledIcon.tsx +1 -1
  201. package/src/Icons/Circled/SettingsCircledIcon.tsx +1 -1
  202. package/src/Icons/Equipment/CameraIcon.tsx +1 -1
  203. package/src/Icons/Equipment/LaptopIcon.tsx +1 -1
  204. package/src/Icons/Equipment/MicrophonePodcastIcon.tsx +1 -1
  205. package/src/Icons/Equipment/MobileIcon.tsx +1 -1
  206. package/src/Icons/Equipment/TvFlatScreenIcon.tsx +1 -1
  207. package/src/Icons/Equipment/TvIcon.tsx +1 -1
  208. package/src/Icons/Interaction/AccountIcon.tsx +1 -1
  209. package/src/Icons/Interaction/AddIcon.tsx +1 -1
  210. package/src/Icons/Interaction/AgendaIcon.tsx +1 -1
  211. package/src/Icons/Interaction/BillingIcon.tsx +1 -1
  212. package/src/Icons/Interaction/BinIcon.tsx +1 -1
  213. package/src/Icons/Interaction/CheckedIcon.tsx +1 -1
  214. package/src/Icons/Interaction/ClockIcon.tsx +1 -1
  215. package/src/Icons/Interaction/CopyPasteIcon.tsx +1 -1
  216. package/src/Icons/Interaction/DragDropIcon.tsx +1 -1
  217. package/src/Icons/Interaction/EditIcon.tsx +1 -1
  218. package/src/Icons/Interaction/EditTextIcon.tsx +1 -1
  219. package/src/Icons/Interaction/LogoutIcon.tsx +1 -1
  220. package/src/Icons/Interaction/MenuHorizontalIcon.tsx +1 -1
  221. package/src/Icons/Interaction/MenuVerticalIcon.tsx +1 -1
  222. package/src/Icons/Interaction/MinusIcon.tsx +1 -1
  223. package/src/Icons/Interaction/SearchIcon.tsx +1 -1
  224. package/src/Icons/Interaction/SearchRemoveIcon.tsx +1 -1
  225. package/src/Icons/Interaction/ShareIcon.tsx +1 -1
  226. package/src/Icons/Interaction/TeamIcon.tsx +1 -1
  227. package/src/Icons/Logos/LogoBeta.tsx +1 -1
  228. package/src/Icons/Logos/LogoNormal.tsx +1 -1
  229. package/src/Icons/Logos/LogoSmall.tsx +1 -1
  230. package/src/Icons/Logos/LogoSquare.tsx +1 -1
  231. package/src/Icons/Logos/LogoText.tsx +1 -1
  232. package/src/Icons/MediaControl/HangUpIcon.tsx +1 -1
  233. package/src/Icons/MediaControl/MeetingIcon.tsx +1 -1
  234. package/src/Icons/MediaControl/MicrophoneIcon.tsx +1 -1
  235. package/src/Icons/MediaControl/MoveInIcon.tsx +1 -1
  236. package/src/Icons/MediaControl/MuteIcon.tsx +1 -1
  237. package/src/Icons/MediaControl/PauseIcon.tsx +1 -1
  238. package/src/Icons/MediaControl/PlayIcon.tsx +1 -1
  239. package/src/Icons/MediaControl/PreviousIcon.tsx +1 -1
  240. package/src/Icons/MediaControl/RecordingIcon.tsx +1 -1
  241. package/src/Icons/MediaControl/VolumeIcon.tsx +1 -1
  242. package/src/Icons/Miscellaneous/AddSeatIcon.tsx +1 -1
  243. package/src/Icons/Miscellaneous/AddUsersIcon.tsx +1 -1
  244. package/src/Icons/Miscellaneous/BillPdfIcon.tsx +1 -1
  245. package/src/Icons/Miscellaneous/BinocularIcon.tsx +1 -1
  246. package/src/Icons/Miscellaneous/BrainIcon.tsx +1 -1
  247. package/src/Icons/Miscellaneous/ChatBubbleIcon.tsx +1 -1
  248. package/src/Icons/Miscellaneous/ChatIcon.tsx +1 -1
  249. package/src/Icons/Miscellaneous/CheckoutIcon.tsx +1 -1
  250. package/src/Icons/Miscellaneous/ClipIcon.tsx +1 -1
  251. package/src/Icons/Miscellaneous/CreditCardIcon.tsx +1 -1
  252. package/src/Icons/Miscellaneous/DownloadIcon.tsx +1 -1
  253. package/src/Icons/Miscellaneous/EarthIcon.tsx +1 -1
  254. package/src/Icons/Miscellaneous/FaceCenterIcon.tsx +1 -1
  255. package/src/Icons/Miscellaneous/FaceRecognitionIcon.tsx +1 -1
  256. package/src/Icons/Miscellaneous/FilesIcon.tsx +1 -1
  257. package/src/Icons/Miscellaneous/FillRecordIcon.tsx +1 -1
  258. package/src/Icons/Miscellaneous/FolderIcon.tsx +1 -1
  259. package/src/Icons/Miscellaneous/GoogleIcon.tsx +1 -1
  260. package/src/Icons/Miscellaneous/HardDriveIcon.tsx +1 -1
  261. package/src/Icons/Miscellaneous/HelpIcon.tsx +1 -1
  262. package/src/Icons/Miscellaneous/LanguageIcon.tsx +1 -1
  263. package/src/Icons/Miscellaneous/LinkIcon.tsx +1 -1
  264. package/src/Icons/Miscellaneous/MetaAnalyseIcon.tsx +1 -1
  265. package/src/Icons/Miscellaneous/ModeratedIcon.tsx +1 -1
  266. package/src/Icons/Miscellaneous/NbOfUsersIcon.tsx +1 -1
  267. package/src/Icons/Miscellaneous/NeutralBackgroudIcon.tsx +1 -1
  268. package/src/Icons/Miscellaneous/ReportIcon.tsx +1 -1
  269. package/src/Icons/Miscellaneous/SeatIcon.tsx +1 -1
  270. package/src/Icons/Miscellaneous/SendEmailIcon.tsx +1 -1
  271. package/src/Icons/Miscellaneous/SendIcon.tsx +1 -1
  272. package/src/Icons/Miscellaneous/SmartBrainIcon.tsx +1 -1
  273. package/src/Icons/Miscellaneous/TasksIcon.tsx +1 -1
  274. package/src/Icons/Miscellaneous/TestDetailsIcon.tsx +1 -1
  275. package/src/Icons/Miscellaneous/TestIcon.tsx +1 -1
  276. package/src/Icons/Miscellaneous/UnmoderatedIcon.tsx +1 -1
  277. package/src/Icons/Notifications/AlamBellIdleIcon.tsx +1 -1
  278. package/src/Icons/Notifications/AlarmBellStatusIcon.tsx +1 -1
  279. package/src/Icons/Notifications/NotifAlertIcon.tsx +1 -1
  280. package/src/Interviews/ChatInput.tsx +1 -2
  281. package/src/Interviews/ControlsBar.tsx +3 -3
  282. package/src/Interviews/MarkUpBar.tsx +2 -2
  283. package/src/LateralMenu/LateralMenu.tsx +1 -2
  284. package/src/Modal/Modal.tsx +1 -1
  285. package/src/MultiSelect/{MultiSelect.scss → MultiSelect.modules.scss} +15 -1
  286. package/src/MultiSelect/MultiSelect.tsx +34 -6
  287. package/src/Radio/Radio.tsx +1 -1
  288. package/src/Search/Search.tsx +1 -1
  289. package/src/SingleSelect/{SingleSelect.scss → SingleSelect.modules.scss} +7 -5
  290. package/src/SingleSelect/SingleSelect.tsx +17 -7
  291. package/src/Switch/Switch.tsx +2 -1
  292. package/src/Table/header.tsx +1 -1
  293. package/src/Table/index.tsx +1 -1
  294. package/src/Table/table-cell.tsx +1 -1
  295. package/src/TextInput/{TextInput.scss → TextInput.modules.scss} +6 -1
  296. package/src/TextInput/TextInput.tsx +12 -7
  297. package/src/Textarea/Textarea.tsx +2 -2
  298. package/src/Tooltip/Layout/TooltipCustomLayout.tsx +1 -1
  299. package/src/hooks/useClickOutside.ts +2 -3
  300. package/src/MultiSelect/utils/textInputStyle.ts +0 -78
@@ -4,7 +4,7 @@ import { styled } from '@mui/material/styles';
4
4
  import React, { useEffect, useState } from 'react';
5
5
  import { ArrowLineDownIcon, RemoveCircledIcon } from '../Icons';
6
6
  import { Text } from '../Typography/Text';
7
- import './SingleSelect.scss';
7
+ import styles from './SingleSelect.modules.scss';
8
8
 
9
9
  const CssTextField = styled(TextField)({
10
10
  '& .MuiInputBase-input': {
@@ -145,7 +145,7 @@ export const SingleSelect = ({
145
145
  text={`${topLabel ? topLabel : ''} ${required ? '*' : ''}`}
146
146
  weight="bold"
147
147
  size="base"
148
- className={'input_top_label'}
148
+ className={styles.input_top_label}
149
149
  required={required}
150
150
  />
151
151
  )}
@@ -185,11 +185,16 @@ export const SingleSelect = ({
185
185
  size="small"
186
186
  required={required}
187
187
  name={name}
188
+ error={error}
188
189
  />
189
190
  )}
190
- clearIcon={<RemoveCircledIcon fill="black" />}
191
- popupIcon={<ArrowLineDownIcon fill="black" />}
192
- className={`newAutocomplete ${className}`}
191
+ clearIcon={
192
+ <RemoveCircledIcon fill="black" className={`${styles.icon}`} />
193
+ }
194
+ popupIcon={
195
+ <ArrowLineDownIcon fill="black" className={`${styles.icon}`} />
196
+ }
197
+ className={`${styles.newAutocomplete}`}
193
198
  {...props}
194
199
  />
195
200
  {errorText && (
@@ -198,11 +203,16 @@ export const SingleSelect = ({
198
203
  color="#F54C4C"
199
204
  italic
200
205
  text={errorText}
201
- className="text-below"
206
+ className={styles.text_below}
202
207
  />
203
208
  )}
204
209
  {helperText && (
205
- <Text size="xs" italic text={helperText} className="text-below" />
210
+ <Text
211
+ size="xs"
212
+ italic
213
+ text={helperText}
214
+ className={styles.text_below}
215
+ />
206
216
  )}
207
217
  </div>
208
218
  );
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { Switch as MuiSwitch } from '@mui/material';
2
3
  import { Title } from '../Typography/Title';
3
4
  import styles from './Switch.module.scss';
4
5
  import { alpha, styled } from '@mui/system';
5
- import React from 'react';
6
+
6
7
  interface SwitchProps {
7
8
  label?: string;
8
9
  checked: boolean;
@@ -1,8 +1,8 @@
1
+ import React from 'react';
1
2
  import { Checkbox } from '../Checkbox/Checkbox';
2
3
  import { Tooltip } from '../Tooltip/Tooltip';
3
4
  import { Text } from '../Typography/Text';
4
5
  import styles from './header.modules.scss';
5
- import React from 'react';
6
6
 
7
7
  interface HeaderItem {
8
8
  name: string;
@@ -1,6 +1,6 @@
1
+ import React from 'react';
1
2
  import { TableHeader } from './header';
2
3
  import { TableRows } from './rows';
3
- import React from 'react';
4
4
 
5
5
  interface HeaderItem {
6
6
  name: string;
@@ -1,7 +1,7 @@
1
+ import React from 'react';
1
2
  import { Checkbox } from '../Checkbox/Checkbox';
2
3
  import { Text } from '../Typography/Text';
3
4
  import styles from './table-cell.modules.scss';
4
- import React from 'react';
5
5
 
6
6
  interface TableCellProps {
7
7
  text: string;
@@ -9,6 +9,11 @@
9
9
  letter-spacing: var(--sdLetterSpacingButtons);
10
10
  text-align: left;
11
11
  margin: unset;
12
+
13
+ svg {
14
+ height: 0.75rem;
15
+ width: 0.75rem;
16
+ }
12
17
  }
13
18
 
14
19
  input {
@@ -45,6 +50,6 @@ input.input {
45
50
  padding: 0.375rem 0.75rem;
46
51
  }
47
52
 
48
- .text-below {
53
+ .text_below {
49
54
  margin: 0.25rem 0.5rem 0.25rem 0.75rem;
50
55
  }
@@ -1,8 +1,8 @@
1
+ import React from 'react';
1
2
  import { InputAdornment, TextField } from '@mui/material';
2
3
  import { Text } from '../Typography/Text';
3
- import './TextInput.scss';
4
+ import styles from './TextInput.modules.scss';
4
5
  import { styled } from '@mui/material/styles';
5
- import React from 'react';
6
6
 
7
7
  const CssTextField = styled(TextField)({
8
8
  '& .MuiInputBase-input': {
@@ -151,13 +151,13 @@ export const TextInput = (props: InputProps) => {
151
151
  const InputLabelProps = label === undefined ? { shrink: false } : {};
152
152
 
153
153
  return (
154
- <div className={`${className}`} id={id}>
154
+ <div className={`${className} ${styles.input}`} id={id}>
155
155
  {topLabel && (
156
156
  <Text
157
157
  text={`${topLabel ? topLabel : ''}`}
158
158
  weight="bold"
159
159
  size="base"
160
- className={'input_top_label'}
160
+ className={styles.input_top_label}
161
161
  required={required}
162
162
  />
163
163
  )}
@@ -190,7 +190,7 @@ export const TextInput = (props: InputProps) => {
190
190
  onBlur={onBlur}
191
191
  rows={rows}
192
192
  multiline={multiline}
193
- onKeyPress={(e) => {
193
+ onKeyPress={(e: any) => {
194
194
  if (e.key === 'Enter' && onKeyDown) {
195
195
  onKeyDown();
196
196
  }
@@ -202,11 +202,16 @@ export const TextInput = (props: InputProps) => {
202
202
  color="#F54C4C"
203
203
  italic
204
204
  text={errorText}
205
- className="text-below"
205
+ className={styles.text_below}
206
206
  />
207
207
  )}
208
208
  {helperText && (
209
- <Text size="xs" italic text={helperText} className="text-below" />
209
+ <Text
210
+ size="xs"
211
+ italic
212
+ text={helperText}
213
+ className={styles.text_below}
214
+ />
210
215
  )}
211
216
  </div>
212
217
  );
@@ -1,7 +1,7 @@
1
- import { useState } from 'react';
1
+ import React, { useState } from 'react';
2
2
  import { TextInput } from '../TextInput/TextInput';
3
3
  import { Text } from '../Typography/Text';
4
- import React from 'react';
4
+
5
5
  import styles from './Textarea.module.scss';
6
6
 
7
7
  interface TextareaProps {
@@ -1,8 +1,8 @@
1
+ import React from 'react';
1
2
  import { Button } from '../../Buttons/Button';
2
3
  import { IconButton } from '../../Buttons/IconButton';
3
4
  import { Text } from '../../Typography/Text';
4
5
  import { Title } from '../../Typography/Title';
5
- import React from 'react';
6
6
 
7
7
  import styles from './TooltipCustomLayout.module.scss';
8
8
 
@@ -1,5 +1,4 @@
1
- import { useCallback } from 'react';
2
- import { useEffect } from 'react';
1
+ import React, { useCallback, useEffect } from 'react';
3
2
 
4
3
  interface Props {
5
4
  isOpen: boolean;
@@ -10,7 +9,7 @@ interface Props {
10
9
  export const useOnClickOutside = ({ handler, elementRef, isOpen }: Props) => {
11
10
  const listener = useCallback(
12
11
  (event: any) => {
13
- if (!elementRef?.current?.parentElement?.contains(event.target)) {
12
+ if (elementRef && elementRef.current && elementRef.current.parentElement && !elementRef.current.parentElement.contains(event.target)) {
14
13
  handler(event);
15
14
  }
16
15
  },
@@ -1,78 +0,0 @@
1
- export const getDisabledStyle = (disabled: boolean | undefined) => {
2
- if (disabled) {
3
- return {
4
- '& .MuiInputLabel-root': {
5
- color: 'lightgray',
6
- marginTop: '0.5rem',
7
- },
8
- '& .MuiOutlinedInput-root': {
9
- marginTop: '0.5rem',
10
- '& .MuiAutocomplete-endAdornment': {
11
- height: '99%',
12
- marginTop: '-0.20rem',
13
- '& .MuiButtonBase-root': {
14
- height: '99%',
15
- '&:hover': {
16
- background: 'transparent',
17
- },
18
- },
19
- },
20
- cursor: 'not-allowed',
21
- '& > fieldset': {
22
- borderColor: 'lightgray',
23
- '&:hover': { borderColor: 'lightgray' },
24
- },
25
- '&:hover fieldset': {
26
- borderColor: 'lightgray',
27
- },
28
- 'input:disabled': {
29
- cursor: 'not-allowed',
30
- },
31
- p: {
32
- color: 'gray',
33
- fontFamily: 'OpenSans',
34
- fontSize: '1rem',
35
- },
36
- },
37
- };
38
- } else
39
- return {
40
- '& .MuiInputLabel-root': { marginTop: '0.5rem' },
41
- '& .MuiOutlinedInput-root': {
42
- marginTop: '0.5rem',
43
- '& .MuiAutocomplete-endAdornment': {
44
- height: '99%',
45
- marginTop: '-0.20rem',
46
- '& .MuiButtonBase-root': {
47
- height: '99%',
48
- '&:hover': {
49
- background: 'transparent',
50
- },
51
- },
52
- },
53
- p: {
54
- fontFamily: 'OpenSans',
55
- fontSize: '1rem',
56
- },
57
- },
58
- };
59
- };
60
- export const getRequiredStyle = (
61
- required: boolean | undefined,
62
- topLabel: string | undefined
63
- ) => {
64
- if (required && !topLabel) {
65
- return {
66
- '.MuiFormLabel-asterisk': {
67
- color: '#db3131',
68
- '&$error': {
69
- color: '#db3131',
70
- },
71
- },
72
- };
73
- } else if (required && topLabel)
74
- return {
75
- '.MuiFormLabel-asterisk': { display: 'none' },
76
- };
77
- else return {};
78
- };