@true-engineering/true-react-common-ui-kit 2.5.0 → 3.0.0-alpha.0

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 (387) hide show
  1. package/LICENSE +201 -201
  2. package/dist/components/AccountInfo/AccountInfo.d.ts +2 -3
  3. package/dist/components/AccountInfo/AccountInfo.styles.d.ts +6 -64
  4. package/dist/components/AccountInfo/index.d.ts +1 -1
  5. package/dist/components/AddButton/AddButton.d.ts +2 -3
  6. package/dist/components/AddButton/AddButton.styles.d.ts +3 -28
  7. package/dist/components/AddButton/index.d.ts +1 -1
  8. package/dist/components/Button/Button.d.ts +2 -4
  9. package/dist/components/Button/Button.styles.d.ts +8 -150
  10. package/dist/components/Button/index.d.ts +1 -1
  11. package/dist/components/Checkbox/Checkbox.d.ts +3 -17
  12. package/dist/components/Checkbox/Checkbox.styles.d.ts +3 -50
  13. package/dist/components/Checkbox/index.d.ts +1 -1
  14. package/dist/components/CloseButton/CloseButton.d.ts +3 -5
  15. package/dist/components/CloseButton/CloseButton.styles.d.ts +3 -27
  16. package/dist/components/CloseButton/index.d.ts +1 -1
  17. package/dist/components/Colors/Colors.styles.d.ts +1 -32
  18. package/dist/components/Colors/index.d.ts +0 -1
  19. package/dist/components/CssBaseline/CssBaseline.d.ts +2 -4
  20. package/dist/components/CssBaseline/CssBaseline.styles.d.ts +3 -11
  21. package/dist/components/CssBaseline/index.d.ts +1 -1
  22. package/dist/components/DateInput/DateInput.d.ts +3 -3
  23. package/dist/components/DateInput/DateInput.styles.d.ts +6 -11
  24. package/dist/components/DateInput/index.d.ts +1 -1
  25. package/dist/components/DatePicker/DatePicker.d.ts +5 -7
  26. package/dist/components/DatePicker/DatePicker.styles.d.ts +6 -33
  27. package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.d.ts +3 -3
  28. package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +7 -69
  29. package/dist/components/DatePicker/components/DatePickerHeader/index.d.ts +1 -1
  30. package/dist/components/DatePicker/index.d.ts +2 -2
  31. package/dist/components/Description/Description.d.ts +2 -3
  32. package/dist/components/Description/Description.styles.d.ts +3 -24
  33. package/dist/components/Description/index.d.ts +1 -1
  34. package/dist/components/FiltersPane/FiltersPane.d.ts +6 -8
  35. package/dist/components/FiltersPane/FiltersPane.styles.d.ts +8 -56
  36. package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.d.ts +2 -4
  37. package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +15 -52
  38. package/dist/components/FiltersPane/components/FilterInterval/index.d.ts +1 -1
  39. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.d.ts +2 -4
  40. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +15 -124
  41. package/dist/components/FiltersPane/components/FilterSelect/index.d.ts +1 -1
  42. package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +3 -1
  43. package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +3 -12
  44. package/dist/components/FiltersPane/components/FilterValueView/index.d.ts +1 -1
  45. package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.d.ts +5 -7
  46. package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +26 -47
  47. package/dist/components/FiltersPane/components/FilterWithDates/index.d.ts +1 -1
  48. package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.d.ts +4 -6
  49. package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +7 -12
  50. package/dist/components/FiltersPane/components/FilterWithPeriod/index.d.ts +1 -1
  51. package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.d.ts +5 -6
  52. package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +6 -96
  53. package/dist/components/FiltersPane/components/FilterWrapper/index.d.ts +1 -1
  54. package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +2 -4
  55. package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +10 -91
  56. package/dist/components/FiltersPane/components/FiltersPaneSearch/index.d.ts +1 -1
  57. package/dist/components/FiltersPane/helpers.d.ts +1 -1
  58. package/dist/components/FiltersPane/index.d.ts +1 -1
  59. package/dist/components/FiltersPane/types.d.ts +1 -1
  60. package/dist/components/Flag/Flag.d.ts +2 -3
  61. package/dist/components/Flag/Flag.styles.d.ts +3 -12
  62. package/dist/components/Flag/augment.d.ts +1 -1
  63. package/dist/components/Flag/index.d.ts +1 -1
  64. package/dist/components/FlexibleTable/FlexibleTable.d.ts +2 -4
  65. package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +7 -101
  66. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +17 -0
  67. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts +3 -0
  68. package/dist/components/FlexibleTable/components/FlexibleTableCell/index.d.ts +2 -0
  69. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +19 -0
  70. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +6 -0
  71. package/dist/components/FlexibleTable/components/FlexibleTableRow/index.d.ts +2 -0
  72. package/dist/components/FlexibleTable/components/index.d.ts +2 -2
  73. package/dist/components/FlexibleTable/index.d.ts +2 -1
  74. package/dist/components/Icon/Icon.d.ts +2 -3
  75. package/dist/components/Icon/Icon.styles.d.ts +3 -8
  76. package/dist/components/Icon/complexIcons/augment.d.ts +1 -1
  77. package/dist/components/Icon/icons-list.d.ts +1 -1
  78. package/dist/components/Icon/index.d.ts +1 -1
  79. package/dist/components/IncrementInput/IncrementInput.d.ts +3 -3
  80. package/dist/components/IncrementInput/IncrementInput.styles.d.ts +7 -61
  81. package/dist/components/IncrementInput/index.d.ts +1 -1
  82. package/dist/components/Input/Input.d.ts +4 -6
  83. package/dist/components/Input/Input.styles.d.ts +6 -247
  84. package/dist/components/Input/index.d.ts +1 -1
  85. package/dist/components/List/List.d.ts +2 -4
  86. package/dist/components/List/List.styles.d.ts +3 -39
  87. package/dist/components/List/index.d.ts +1 -1
  88. package/dist/components/Modal/Modal.d.ts +2 -4
  89. package/dist/components/Modal/Modal.styles.d.ts +6 -239
  90. package/dist/components/Modal/index.d.ts +1 -1
  91. package/dist/components/MoreMenu/MoreMenu.d.ts +2 -4
  92. package/dist/components/MoreMenu/MoreMenu.styles.d.ts +6 -54
  93. package/dist/components/MoreMenu/index.d.ts +1 -1
  94. package/dist/components/MultiSelect/MultiSelect.d.ts +8 -8
  95. package/dist/components/MultiSelect/MultiSelect.styles.d.ts +7 -44
  96. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.d.ts +4 -4
  97. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +3 -62
  98. package/dist/components/MultiSelect/components/MultiSelectInput/index.d.ts +1 -1
  99. package/dist/components/MultiSelect/index.d.ts +2 -2
  100. package/dist/components/MultiSelect/types.d.ts +1 -1
  101. package/dist/components/MultiSelectList/MultiSelectList.d.ts +2 -4
  102. package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +13 -105
  103. package/dist/components/MultiSelectList/index.d.ts +1 -1
  104. package/dist/components/Notification/Notification.d.ts +4 -6
  105. package/dist/components/Notification/Notification.styles.d.ts +3 -37
  106. package/dist/components/Notification/index.d.ts +1 -1
  107. package/dist/components/Notification/types.d.ts +1 -1
  108. package/dist/components/PhoneInput/PhoneInput.d.ts +3 -3
  109. package/dist/components/PhoneInput/PhoneInput.styles.d.ts +9 -66
  110. package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.d.ts +2 -3
  111. package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +7 -83
  112. package/dist/components/PhoneInput/components/PhoneInputCountryList/index.d.ts +1 -1
  113. package/dist/components/PhoneInput/index.d.ts +2 -2
  114. package/dist/components/RadioButton/RadioButton.d.ts +3 -4
  115. package/dist/components/RadioButton/RadioButton.styles.d.ts +3 -30
  116. package/dist/components/RadioButton/index.d.ts +1 -1
  117. package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +4 -4
  118. package/dist/components/SearchInput/SearchInput.d.ts +3 -4
  119. package/dist/components/SearchInput/SearchInput.styles.d.ts +7 -39
  120. package/dist/components/SearchInput/index.d.ts +1 -1
  121. package/dist/components/Select/Select.d.ts +3 -4
  122. package/dist/components/Select/Select.styles.d.ts +33 -80
  123. package/dist/components/Select/components/SelectList/SelectList.d.ts +2 -4
  124. package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +3 -57
  125. package/dist/components/Select/components/SelectList/index.d.ts +1 -1
  126. package/dist/components/Select/components/SelectListItem/SelectListItem.styles.d.ts +2 -2
  127. package/dist/components/Select/index.d.ts +2 -2
  128. package/dist/components/SmartInput/SmartInput.d.ts +2 -2
  129. package/dist/components/SmartInput/helpers.d.ts +2 -2
  130. package/dist/components/SmartInput/types.d.ts +1 -1
  131. package/dist/components/Switch/Switch.d.ts +2 -4
  132. package/dist/components/Switch/Switch.styles.d.ts +3 -62
  133. package/dist/components/Switch/index.d.ts +1 -1
  134. package/dist/components/TextArea/TextArea.d.ts +2 -4
  135. package/dist/components/TextArea/TextArea.styles.d.ts +3 -128
  136. package/dist/components/TextArea/index.d.ts +1 -1
  137. package/dist/components/TextWithInfo/TextWithInfo.d.ts +2 -3
  138. package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +3 -48
  139. package/dist/components/TextWithInfo/index.d.ts +1 -1
  140. package/dist/components/TextWithTooltip/TextWithTooltip.d.ts +2 -3
  141. package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +6 -14
  142. package/dist/components/TextWithTooltip/index.d.ts +1 -1
  143. package/dist/components/ThemedPreloader/ThemedPreloader.d.ts +2 -3
  144. package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +7 -14
  145. package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.d.ts +2 -4
  146. package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +3 -43
  147. package/dist/components/ThemedPreloader/components/DotsPreloader/index.d.ts +1 -1
  148. package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.d.ts +2 -3
  149. package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +3 -9
  150. package/dist/components/ThemedPreloader/components/SvgPreloader/index.d.ts +1 -1
  151. package/dist/components/ThemedPreloader/index.d.ts +2 -2
  152. package/dist/components/Toaster/Toaster.d.ts +4 -5
  153. package/dist/components/Toaster/Toaster.styles.d.ts +6 -45
  154. package/dist/components/Toaster/index.d.ts +1 -1
  155. package/dist/components/Toaster/types.d.ts +1 -1
  156. package/dist/components/Tooltip/Tooltip.d.ts +2 -3
  157. package/dist/components/Tooltip/Tooltip.styles.d.ts +3 -35
  158. package/dist/components/Tooltip/index.d.ts +1 -1
  159. package/dist/helpers/index.d.ts +0 -1
  160. package/dist/helpers/phone.d.ts +3 -0
  161. package/dist/hooks/index.d.ts +0 -1
  162. package/dist/hooks/use-tweak-styles.d.ts +21 -2
  163. package/dist/index.d.ts +1 -1
  164. package/dist/theme/Provider.d.ts +11 -0
  165. package/dist/{theme.d.ts → theme/common.d.ts} +6 -10
  166. package/dist/theme/helpers.d.ts +10 -0
  167. package/dist/theme/index.d.ts +4 -0
  168. package/dist/theme/types.d.ts +72 -0
  169. package/dist/true-react-common-ui-kit.js +3038 -2529
  170. package/dist/true-react-common-ui-kit.js.map +1 -1
  171. package/dist/true-react-common-ui-kit.umd.cjs +2970 -2461
  172. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  173. package/dist/types.d.ts +4 -22
  174. package/dist/vite-env.d.ts +1 -1
  175. package/package.json +2 -2
  176. package/src/components/AccountInfo/AccountInfo.styles.ts +51 -55
  177. package/src/components/AccountInfo/AccountInfo.tsx +13 -10
  178. package/src/components/AccountInfo/constants.ts +1 -1
  179. package/src/components/AccountInfo/index.ts +2 -2
  180. package/src/components/AddButton/AddButton.stories.tsx +21 -21
  181. package/src/components/AddButton/AddButton.styles.ts +34 -34
  182. package/src/components/AddButton/AddButton.tsx +7 -6
  183. package/src/components/AddButton/index.ts +2 -2
  184. package/src/components/Button/Button.styles.ts +201 -196
  185. package/src/components/Button/Button.tsx +12 -19
  186. package/src/components/Button/index.ts +1 -1
  187. package/src/components/Checkbox/Checkbox.stories.tsx +5 -9
  188. package/src/components/Checkbox/Checkbox.styles.ts +46 -62
  189. package/src/components/Checkbox/Checkbox.tsx +3 -25
  190. package/src/components/Checkbox/index.ts +2 -2
  191. package/src/components/CloseButton/CloseButton.styles.ts +4 -5
  192. package/src/components/CloseButton/CloseButton.tsx +6 -8
  193. package/src/components/CloseButton/index.ts +2 -2
  194. package/src/components/Colors/Colors.stories.tsx +7 -7
  195. package/src/components/Colors/Colors.styles.ts +36 -38
  196. package/src/components/Colors/Colors.tsx +3 -3
  197. package/src/components/Colors/index.ts +1 -2
  198. package/src/components/CssBaseline/CssBaseline.styles.ts +14 -15
  199. package/src/components/CssBaseline/CssBaseline.tsx +6 -8
  200. package/src/components/CssBaseline/index.ts +2 -2
  201. package/src/components/DateInput/DateInput.styles.ts +18 -14
  202. package/src/components/DateInput/DateInput.tsx +20 -7
  203. package/src/components/DateInput/constants.ts +2 -2
  204. package/src/components/DateInput/index.ts +3 -3
  205. package/src/components/DatePicker/DatePicker.styles.ts +8 -14
  206. package/src/components/DatePicker/DatePicker.tsx +15 -16
  207. package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.ts +30 -26
  208. package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.tsx +17 -7
  209. package/src/components/DatePicker/components/DatePickerHeader/index.ts +1 -1
  210. package/src/components/DatePicker/index.ts +2 -2
  211. package/src/components/Description/Description.styles.ts +30 -31
  212. package/src/components/Description/Description.tsx +6 -6
  213. package/src/components/Description/index.ts +2 -2
  214. package/src/components/FiltersPane/FiltersPane.styles.ts +87 -71
  215. package/src/components/FiltersPane/FiltersPane.tsx +23 -18
  216. package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +23 -27
  217. package/src/components/FiltersPane/components/FilterInterval/FilterInterval.tsx +25 -12
  218. package/src/components/FiltersPane/components/FilterInterval/index.ts +1 -1
  219. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +21 -26
  220. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +27 -14
  221. package/src/components/FiltersPane/components/FilterSelect/index.ts +1 -1
  222. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.styles.tsx +4 -4
  223. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +6 -4
  224. package/src/components/FiltersPane/components/FilterValueView/index.tsx +1 -1
  225. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +33 -26
  226. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.tsx +54 -25
  227. package/src/components/FiltersPane/components/FilterWithDates/index.ts +1 -1
  228. package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.ts +11 -7
  229. package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.tsx +12 -9
  230. package/src/components/FiltersPane/components/FilterWithPeriod/index.ts +1 -1
  231. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.ts +11 -6
  232. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +28 -10
  233. package/src/components/FiltersPane/components/FilterWrapper/index.ts +1 -1
  234. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +31 -24
  235. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +23 -10
  236. package/src/components/FiltersPane/components/FiltersPaneSearch/index.ts +1 -1
  237. package/src/components/FiltersPane/helpers.ts +1 -1
  238. package/src/components/FiltersPane/index.ts +1 -1
  239. package/src/components/FiltersPane/types.ts +1 -1
  240. package/src/components/Flag/Flag.styles.ts +17 -18
  241. package/src/components/Flag/Flag.tsx +3 -5
  242. package/src/components/Flag/augment.d.ts +1 -1
  243. package/src/components/Flag/index.ts +2 -2
  244. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +12 -0
  245. package/src/components/FlexibleTable/FlexibleTable.styles.ts +10 -37
  246. package/src/components/FlexibleTable/FlexibleTable.tsx +19 -28
  247. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +28 -0
  248. package/src/components/FlexibleTable/components/{TableValue/TableValue.tsx → FlexibleTableCell/FlexibleTableCell.tsx} +11 -12
  249. package/src/components/FlexibleTable/components/FlexibleTableCell/index.ts +2 -0
  250. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +19 -0
  251. package/src/components/FlexibleTable/components/{TableRow/TableRow.tsx → FlexibleTableRow/FlexibleTableRow.tsx} +24 -25
  252. package/src/components/FlexibleTable/components/FlexibleTableRow/index.ts +2 -0
  253. package/src/components/FlexibleTable/components/index.ts +2 -2
  254. package/src/components/FlexibleTable/index.ts +4 -3
  255. package/src/components/Icon/Icon.styles.ts +10 -10
  256. package/src/components/Icon/Icon.tsx +6 -7
  257. package/src/components/Icon/complexIcons/augment.d.ts +1 -1
  258. package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
  259. package/src/components/Icon/complexIcons/index.ts +1 -1
  260. package/src/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.tsx +1 -1
  261. package/src/components/Icon/components/IconBolerplate/IconBoilerplate.tsx +1 -1
  262. package/src/components/Icon/helpers.ts +1 -1
  263. package/src/components/Icon/index.ts +1 -1
  264. package/src/components/IncrementInput/IncrementInput.styles.ts +77 -77
  265. package/src/components/IncrementInput/IncrementInput.tsx +59 -35
  266. package/src/components/IncrementInput/index.ts +2 -2
  267. package/src/components/Input/Input.styles.ts +307 -307
  268. package/src/components/Input/Input.tsx +13 -10
  269. package/src/components/Input/index.ts +1 -1
  270. package/src/components/List/List.styles.ts +51 -52
  271. package/src/components/List/List.tsx +3 -6
  272. package/src/components/List/index.ts +1 -1
  273. package/src/components/Modal/Modal.styles.ts +5 -7
  274. package/src/components/Modal/Modal.tsx +10 -8
  275. package/src/components/Modal/index.ts +1 -1
  276. package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
  277. package/src/components/MoreMenu/MoreMenu.styles.ts +5 -7
  278. package/src/components/MoreMenu/MoreMenu.tsx +10 -7
  279. package/src/components/MoreMenu/index.ts +2 -2
  280. package/src/components/MultiSelect/MultiSelect.styles.ts +59 -55
  281. package/src/components/MultiSelect/MultiSelect.tsx +24 -15
  282. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.ts +4 -4
  283. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.tsx +7 -6
  284. package/src/components/MultiSelect/components/MultiSelectInput/index.ts +1 -1
  285. package/src/components/MultiSelect/index.ts +2 -2
  286. package/src/components/MultiSelect/types.ts +1 -1
  287. package/src/components/MultiSelectList/MultiSelectList.styles.ts +37 -29
  288. package/src/components/MultiSelectList/MultiSelectList.tsx +36 -17
  289. package/src/components/MultiSelectList/helpers.ts +1 -1
  290. package/src/components/MultiSelectList/index.ts +1 -1
  291. package/src/components/Notification/Notification.styles.ts +14 -9
  292. package/src/components/Notification/Notification.tsx +6 -9
  293. package/src/components/Notification/index.ts +1 -1
  294. package/src/components/Notification/types.ts +1 -1
  295. package/src/components/NumberInput/index.ts +1 -1
  296. package/src/components/PhoneInput/PhoneInput.styles.ts +89 -84
  297. package/src/components/PhoneInput/PhoneInput.tsx +34 -17
  298. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.ts +18 -15
  299. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +16 -6
  300. package/src/components/PhoneInput/components/PhoneInputCountryList/index.ts +1 -1
  301. package/src/components/PhoneInput/index.ts +2 -2
  302. package/src/components/PhoneInput/types.ts +16 -16
  303. package/src/components/RadioButton/RadioButton.styles.ts +37 -37
  304. package/src/components/RadioButton/RadioButton.tsx +6 -6
  305. package/src/components/RadioButton/index.ts +2 -2
  306. package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
  307. package/src/components/SearchInput/SearchInput.styles.ts +28 -28
  308. package/src/components/SearchInput/SearchInput.tsx +12 -7
  309. package/src/components/SearchInput/index.ts +2 -2
  310. package/src/components/Select/Select.styles.ts +144 -96
  311. package/src/components/Select/Select.tsx +33 -34
  312. package/src/components/Select/components/SelectList/SelectList.styles.ts +4 -5
  313. package/src/components/Select/components/SelectList/SelectList.tsx +6 -7
  314. package/src/components/Select/components/SelectList/index.ts +1 -1
  315. package/src/components/Select/components/SelectListItem/SelectListItem.styles.ts +2 -2
  316. package/src/components/Select/components/SelectListItem/SelectListItem.tsx +1 -1
  317. package/src/components/Select/constants.ts +2 -2
  318. package/src/components/Select/helpers.ts +3 -2
  319. package/src/components/Select/index.ts +2 -2
  320. package/src/components/Select/types.ts +1 -1
  321. package/src/components/SmartInput/SmartInput.stories.tsx +2 -2
  322. package/src/components/SmartInput/SmartInput.tsx +2 -2
  323. package/src/components/SmartInput/helpers.ts +2 -2
  324. package/src/components/SmartInput/types.ts +1 -1
  325. package/src/components/Switch/Switch.styles.ts +75 -75
  326. package/src/components/Switch/Switch.tsx +3 -6
  327. package/src/components/Switch/index.ts +1 -1
  328. package/src/components/TextArea/TextArea.styles.ts +153 -153
  329. package/src/components/TextArea/TextArea.tsx +3 -6
  330. package/src/components/TextArea/index.ts +2 -2
  331. package/src/components/TextWithInfo/TextWithInfo.styles.ts +59 -60
  332. package/src/components/TextWithInfo/TextWithInfo.tsx +6 -5
  333. package/src/components/TextWithInfo/index.ts +2 -2
  334. package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
  335. package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +21 -19
  336. package/src/components/TextWithTooltip/TextWithTooltip.tsx +15 -9
  337. package/src/components/TextWithTooltip/index.ts +2 -2
  338. package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +26 -21
  339. package/src/components/ThemedPreloader/ThemedPreloader.tsx +19 -11
  340. package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
  341. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +54 -54
  342. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +3 -6
  343. package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
  344. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
  345. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +5 -6
  346. package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
  347. package/src/components/ThemedPreloader/index.ts +2 -2
  348. package/src/components/Toaster/Toaster.styles.ts +60 -59
  349. package/src/components/Toaster/Toaster.tsx +15 -9
  350. package/src/components/Toaster/index.ts +1 -1
  351. package/src/components/Toaster/types.ts +1 -1
  352. package/src/components/Tooltip/Tooltip.styles.ts +20 -16
  353. package/src/components/Tooltip/Tooltip.tsx +10 -6
  354. package/src/components/Tooltip/index.ts +1 -1
  355. package/src/components/Tooltip/types.ts +1 -1
  356. package/src/components/index.ts +36 -36
  357. package/src/helpers/index.ts +0 -1
  358. package/src/helpers/misc.ts +1 -1
  359. package/src/helpers/phone.ts +4 -1
  360. package/src/helpers/popper-helpers.ts +17 -17
  361. package/src/hooks/index.ts +5 -6
  362. package/src/hooks/use-is-mounted.ts +15 -15
  363. package/src/hooks/use-tweak-styles.ts +56 -12
  364. package/src/index.ts +6 -6
  365. package/src/theme/Provider.tsx +21 -0
  366. package/src/{theme.ts → theme/common.ts} +6 -6
  367. package/src/theme/helpers.ts +74 -0
  368. package/src/theme/index.ts +4 -0
  369. package/src/theme/types.ts +137 -0
  370. package/src/types.ts +4 -82
  371. package/src/vite-env.d.ts +1 -1
  372. package/dist/components/FlexibleTable/components/TableRow/TableRow.d.ts +0 -28
  373. package/dist/components/FlexibleTable/components/TableRow/index.d.ts +0 -1
  374. package/dist/components/FlexibleTable/components/TableValue/TableValue.d.ts +0 -21
  375. package/dist/components/FlexibleTable/components/TableValue/index.d.ts +0 -1
  376. package/dist/components/IncrementInput/components/ChangeButton/ChangeButton.d.ts +0 -10
  377. package/dist/components/IncrementInput/components/ChangeButton/index.d.ts +0 -1
  378. package/dist/components/IncrementInput/components/index.d.ts +0 -1
  379. package/dist/helpers/deprecated.d.ts +0 -12
  380. package/dist/hooks/use-theme.d.ts +0 -9
  381. package/src/components/FlexibleTable/components/TableRow/index.ts +0 -1
  382. package/src/components/FlexibleTable/components/TableValue/index.ts +0 -1
  383. package/src/components/IncrementInput/components/ChangeButton/ChangeButton.tsx +0 -33
  384. package/src/components/IncrementInput/components/ChangeButton/index.ts +0 -1
  385. package/src/components/IncrementInput/components/index.ts +0 -1
  386. package/src/helpers/deprecated.ts +0 -23
  387. package/src/hooks/use-theme.ts +0 -32
@@ -6,7 +6,7 @@ import {
6
6
  findCountryIndexByCode,
7
7
  sortCountriesByLocale,
8
8
  } from '../../../../helpers';
9
- import { useTheme, useTweakStyles } from '../../../../hooks';
9
+ import { useTweakStyles } from '../../../../hooks';
10
10
  import { ICommonProps } from '../../../../types';
11
11
  import { Flag } from '../../../Flag';
12
12
  import { Icon } from '../../../Icon';
@@ -14,10 +14,14 @@ import { Input } from '../../../Input';
14
14
  import { ScrollIntoViewIfNeeded } from '../../../ScrollIntoViewIfNeeded';
15
15
  import { phoneInfo } from '../../phone-info';
16
16
  import { IPhoneInfo } from '../../types';
17
- import { PhoneInputCountryListStyles, styles } from './PhoneInputCountryList.styles';
17
+ import {
18
+ useStyles,
19
+ IPhoneInputCountryListStyles,
20
+ inputStyles,
21
+ } from './PhoneInputCountryList.styles';
18
22
 
19
- export interface IPhoneInputCountryListProps extends ICommonProps {
20
- tweakStyles?: PhoneInputCountryListStyles;
23
+ export interface IPhoneInputCountryListProps
24
+ extends Pick<ICommonProps<IPhoneInputCountryListStyles>, 'tweakStyles'> {
21
25
  selectedCountryCode?: string;
22
26
  locale: string;
23
27
  placeholder: string;
@@ -35,8 +39,14 @@ export const PhoneInputCountryList: FC<IPhoneInputCountryListProps> = ({
35
39
  onChange,
36
40
  tweakStyles,
37
41
  }) => {
38
- const { classes, componentStyles } = useTheme('PhoneInputCountryList', styles, tweakStyles);
39
- const tweakInputStyles = useTweakStyles(componentStyles, tweakStyles, 'tweakInput');
42
+ const classes = useStyles({ theme: tweakStyles });
43
+
44
+ const tweakInputStyles = useTweakStyles({
45
+ innerStyles: inputStyles,
46
+ tweakStyles,
47
+ className: 'tweakInput',
48
+ currentComponentName: 'PhoneInputCountryList',
49
+ });
40
50
 
41
51
  const sortedCountries = useMemo(
42
52
  () => sortCountriesByLocale(phoneInfo, locale),
@@ -1,2 +1,2 @@
1
1
  export * from './PhoneInputCountryList';
2
- export type { PhoneInputCountryListStyles } from './PhoneInputCountryList.styles';
2
+ export type { IPhoneInputCountryListStyles } from './PhoneInputCountryList.styles';
@@ -1,5 +1,5 @@
1
1
  export * from './PhoneInput';
2
2
  export { phoneInfo } from './phone-info';
3
3
  export * from './types';
4
- export type { PhoneInputStyles } from './PhoneInput.styles';
5
- export type { PhoneInputCountryListStyles } from './components';
4
+ export type { IPhoneInputStyles } from './PhoneInput.styles';
5
+ export type { IPhoneInputCountryListStyles } from './components';
@@ -1,16 +1,16 @@
1
- export interface IPhoneInfo {
2
- countryEn: string;
3
- countryRu: string;
4
- countryCode: string;
5
- dialCode: string;
6
- phoneMask?: string;
7
- dialCodePriority?: number;
8
- areaCodes?: string[];
9
- fullCodes: string[];
10
- }
11
-
12
- export interface IPhoneValue {
13
- phoneNumber?: string;
14
- dialCode?: string;
15
- countryCode?: string;
16
- }
1
+ export interface IPhoneInfo {
2
+ countryEn: string;
3
+ countryRu: string;
4
+ countryCode: string;
5
+ dialCode: string;
6
+ phoneMask?: string;
7
+ dialCodePriority?: number;
8
+ areaCodes?: string[];
9
+ fullCodes: string[];
10
+ }
11
+
12
+ export interface IPhoneValue {
13
+ phoneNumber?: string;
14
+ dialCode?: string;
15
+ countryCode?: string;
16
+ }
@@ -1,37 +1,37 @@
1
- import { ComponentStyles } from '../../types';
2
-
3
- export const styles = {
4
- input: {
5
- appearance: 'none',
6
- cursor: 'pointer',
7
- borderRadius: '50%',
8
- width: 18,
9
- height: 18,
10
- outline: 'none',
11
- transition: '0.1s all ease-in-out',
12
- margin: 0,
13
- border: [1, 'solid', '#000'],
14
-
15
- '&:checked': {
16
- border: [5, 'solid', '#000'],
17
- },
18
- },
19
-
20
- label: {
21
- display: 'flex',
22
- alignItems: 'center',
23
- cursor: 'pointer',
24
- },
25
-
26
- content: {
27
- marginLeft: 8,
28
- },
29
-
30
- isDisabled: {
31
- cursor: 'default',
32
- },
33
-
34
- isInvalid: {},
35
- };
36
-
37
- export type RadioButtonStyles = ComponentStyles<typeof styles>;
1
+ import { ITweakStyles, createThemedStyles } from '../../theme';
2
+
3
+ export const useStyles = createThemedStyles('RadioButton', {
4
+ input: {
5
+ appearance: 'none',
6
+ cursor: 'pointer',
7
+ borderRadius: '50%',
8
+ width: 18,
9
+ height: 18,
10
+ outline: 'none',
11
+ transition: '0.1s all ease-in-out',
12
+ margin: 0,
13
+ border: [1, 'solid', '#000'],
14
+
15
+ '&:checked': {
16
+ border: [5, 'solid', '#000'],
17
+ },
18
+ },
19
+
20
+ label: {
21
+ display: 'flex',
22
+ alignItems: 'center',
23
+ cursor: 'pointer',
24
+ },
25
+
26
+ content: {
27
+ marginLeft: 8,
28
+ },
29
+
30
+ isDisabled: {
31
+ cursor: 'default',
32
+ },
33
+
34
+ isInvalid: {},
35
+ });
36
+
37
+ export type IRadioButtonStyles = ITweakStyles<typeof useStyles>;
@@ -1,13 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
2
  import clsx from 'clsx';
3
- import { isReactNodeNotEmpty } from '@true-engineering/true-react-platform-helpers';
3
+ import { addDataTestId, isReactNodeNotEmpty } from '@true-engineering/true-react-platform-helpers';
4
4
  import { addDataAttributes } from '../../helpers';
5
- import { useTheme } from '../../hooks';
6
5
  import { ICommonProps } from '../../types';
7
- import { RadioButtonStyles, styles } from './RadioButton.styles';
6
+ import { useStyles, IRadioButtonStyles } from './RadioButton.styles';
8
7
 
9
- export interface IRadioButtonProps<Value extends string> extends ICommonProps {
10
- tweakStyles?: RadioButtonStyles;
8
+ export interface IRadioButtonProps<Value extends string> extends ICommonProps<IRadioButtonStyles> {
11
9
  children?: ReactNode;
12
10
  value: Value;
13
11
  groupName: string;
@@ -25,15 +23,17 @@ export function RadioButton<Value extends string>({
25
23
  isDisabled,
26
24
  isInvalid,
27
25
  data,
26
+ testId,
28
27
  tweakStyles,
29
28
  onChange,
30
29
  }: IRadioButtonProps<Value>): JSX.Element {
31
- const { classes } = useTheme('RadioButton', styles, tweakStyles);
30
+ const classes = useStyles({ theme: tweakStyles });
32
31
 
33
32
  return (
34
33
  <label
35
34
  className={clsx(classes.label, isDisabled && classes.isDisabled)}
36
35
  htmlFor={`${groupName}--${value}`}
36
+ {...addDataTestId(testId)}
37
37
  {...addDataAttributes(data)}
38
38
  >
39
39
  <input
@@ -1,2 +1,2 @@
1
- export * from './RadioButton';
2
- export type { RadioButtonStyles } from './RadioButton.styles';
1
+ export * from './RadioButton';
2
+ export type { IRadioButtonStyles } from './RadioButton.styles';
@@ -1 +1 @@
1
- export * from './ScrollIntoViewIfNeeded';
1
+ export * from './ScrollIntoViewIfNeeded';
@@ -1,10 +1,10 @@
1
1
  import { rgba } from '../../helpers';
2
- import { colors } from '../../theme';
3
- import { ComponentStyles } from '../../types';
2
+ import { colors, ITweakStyles, createThemedStyles } from '../../theme';
3
+ import { IInputStyles } from '../Input';
4
4
 
5
5
  const LEFT_PADDING = 44;
6
6
 
7
- export const styles = {
7
+ export const useStyles = createThemedStyles('SearchInput', {
8
8
  root: {
9
9
  position: 'relative',
10
10
  },
@@ -19,32 +19,32 @@ export const styles = {
19
19
  zIndex: 2,
20
20
  color: colors.GREY_ACTIVE,
21
21
  },
22
+ });
23
+
24
+ export const inputStyles: IInputStyles = {
25
+ inputWrapper: {
26
+ height: 35,
27
+ borderColor: 'transparent',
28
+ backgroundColor: rgba(colors.BORDER_MAIN, 0.3),
29
+ borderRadius: 18,
30
+ paddingLeft: LEFT_PADDING,
31
+ transitionProperty: 'background-color, border-color',
32
+ },
33
+
34
+ focused: {
35
+ backgroundColor: colors.CLASSIC_WHITE,
36
+ borderColor: colors.BORDER_MAIN,
37
+ },
38
+
39
+ input: {
40
+ fontSize: 14,
41
+ paddingLeft: 0,
42
+ },
22
43
 
23
- tweakInput: {
24
- inputWrapper: {
25
- height: 35,
26
- borderColor: 'transparent',
27
- backgroundColor: rgba(colors.BORDER_MAIN, 0.3),
28
- borderRadius: 18,
29
- paddingLeft: LEFT_PADDING,
30
- transitionProperty: 'background-color, border-color',
31
- },
32
-
33
- focused: {
34
- backgroundColor: colors.CLASSIC_WHITE,
35
- borderColor: colors.BORDER_MAIN,
36
- },
37
-
38
- input: {
39
- fontSize: 14,
40
- paddingLeft: 0,
41
- },
42
-
43
- label: {
44
- left: LEFT_PADDING,
45
- fontSize: 14,
46
- },
44
+ label: {
45
+ left: LEFT_PADDING,
46
+ fontSize: 14,
47
47
  },
48
48
  };
49
49
 
50
- export type SearchInputStyles = ComponentStyles<typeof styles>;
50
+ export type ISearchInputStyles = ITweakStyles<typeof useStyles, { tweakInput: IInputStyles }>;
@@ -1,10 +1,11 @@
1
1
  import { FC } from 'react';
2
2
  import { addDataTestId, getTestId } from '@true-engineering/true-react-platform-helpers';
3
3
  import { addDataAttributes } from '../../helpers';
4
- import { useTheme, useTweakStyles } from '../../hooks';
4
+ import { useTweakStyles } from '../../hooks';
5
+ import { ICommonProps } from '../../types';
5
6
  import { Icon } from '../Icon';
6
7
  import { IInputProps, Input } from '../Input';
7
- import { SearchInputStyles, styles } from './SearchInput.styles';
8
+ import { useStyles, inputStyles, ISearchInputStyles } from './SearchInput.styles';
8
9
 
9
10
  export type ISearchInputProps = Omit<
10
11
  IInputProps,
@@ -17,9 +18,8 @@ export type ISearchInputProps = Omit<
17
18
  | 'hasFloatingLabel'
18
19
  | 'border'
19
20
  | 'tweakStyles'
20
- > & {
21
- tweakStyles?: SearchInputStyles;
22
- };
21
+ > &
22
+ ICommonProps<ISearchInputStyles>;
23
23
 
24
24
  export const SearchInput: FC<ISearchInputProps> = ({
25
25
  isClearable = true,
@@ -28,9 +28,14 @@ export const SearchInput: FC<ISearchInputProps> = ({
28
28
  data,
29
29
  ...props
30
30
  }) => {
31
- const { classes, componentStyles } = useTheme('SearchInput', styles, tweakStyles);
31
+ const classes = useStyles({ theme: tweakStyles });
32
32
 
33
- const tweakInputStyles = useTweakStyles(componentStyles, tweakStyles, 'tweakInput');
33
+ const tweakInputStyles = useTweakStyles({
34
+ innerStyles: inputStyles,
35
+ tweakStyles,
36
+ className: 'tweakInput',
37
+ currentComponentName: 'SearchInput',
38
+ });
34
39
 
35
40
  return (
36
41
  <div className={classes.root} {...addDataTestId(testId)} {...addDataAttributes(data)}>
@@ -1,2 +1,2 @@
1
- export * from './SearchInput';
2
- export type { SearchInputStyles } from './SearchInput.styles';
1
+ export * from './SearchInput';
2
+ export type { ISearchInputStyles } from './SearchInput.styles';
@@ -1,96 +1,144 @@
1
- import { ComponentStyles } from '../../types';
2
-
3
- export const styles = {
4
- root: {
5
- width: '100%',
6
- position: 'relative',
7
- boxSizing: 'border-box',
8
- },
9
-
10
- inputWrapper: {
11
- width: '100%',
12
- cursor: 'text',
13
- position: 'relative',
14
- },
15
-
16
- listWrapper: {
17
- left: -1,
18
- zIndex: 3,
19
- width: 'fit-content',
20
- minWidth: 'calc(100% + 1px)',
21
- },
22
-
23
- withoutPopper: {
24
- position: 'absolute',
25
- top: 'calc(100% + 6px)',
26
- },
27
-
28
- listWrapperInBody: {
29
- minWidth: 'auto',
30
- width: 'auto',
31
- maxWidth: 'min-content',
32
- },
33
-
34
- arrow: {
35
- position: 'absolute',
36
- right: 12,
37
- top: 14,
38
- width: 20,
39
- height: 20,
40
- cursor: 'pointer',
41
- zIndex: 1,
42
- transition: 'transform 0.1s ease',
43
- },
44
-
45
- activeArrow: {
46
- transform: 'rotate(180deg)',
47
- },
48
-
49
- disabled: {
50
- '& $arrow': {
51
- cursor: 'default',
52
- },
53
- },
54
-
55
- counter: {
56
- '&:not(:last-child)': {
57
- paddingRight: 8,
58
- },
59
- },
60
-
61
- icon: {
62
- width: 16,
63
- height: 16,
64
- },
65
-
66
- tweakInput: {
67
- input: {
68
- paddingRight: 32,
69
- },
70
-
71
- disabled: {
72
- '& $input': {
73
- cursor: 'default',
74
- },
75
- },
76
-
77
- controls: {
78
- paddingRight: 32,
79
- },
80
- },
81
-
82
- tweakSelectList: {},
83
-
84
- tweakSearchInput: {
85
- tweakInput: {
86
- inputWrapper: {
87
- height: 48,
88
- borderRadius: 0,
89
- border: 'none',
90
- backgroundColor: 'transparent',
91
- },
92
- },
93
- },
94
- };
95
-
96
- export type SelectStyles = ComponentStyles<typeof styles>;
1
+ import { mergeStyles } from '@true-engineering/true-react-platform-helpers';
2
+ import { ITweakStyles, createThemedStyles } from '../../theme';
3
+ import { IInputStyles } from '../Input';
4
+ import { ISearchInputStyles } from '../SearchInput';
5
+ import { ISelectListStyles } from './components';
6
+
7
+ export const useStyles = createThemedStyles('Select', {
8
+ root: {
9
+ width: '100%',
10
+ position: 'relative',
11
+ boxSizing: 'border-box',
12
+ },
13
+
14
+ inputWrapper: {
15
+ width: '100%',
16
+ cursor: 'text',
17
+ position: 'relative',
18
+ },
19
+
20
+ listWrapper: {
21
+ left: -1,
22
+ zIndex: 3,
23
+ width: 'fit-content',
24
+ minWidth: 'calc(100% + 1px)',
25
+ },
26
+
27
+ withoutPopper: {
28
+ position: 'absolute',
29
+ top: 'calc(100% + 6px)',
30
+ },
31
+
32
+ listWrapperInBody: {
33
+ minWidth: 'auto',
34
+ width: 'auto',
35
+ maxWidth: 'min-content',
36
+ },
37
+
38
+ arrow: {
39
+ position: 'absolute',
40
+ right: 12,
41
+ top: 14,
42
+ width: 20,
43
+ height: 20,
44
+ cursor: 'pointer',
45
+ zIndex: 1,
46
+ transition: 'transform 0.1s ease',
47
+ },
48
+
49
+ activeArrow: {
50
+ transform: 'rotate(180deg)',
51
+ },
52
+
53
+ disabled: {
54
+ '& $arrow': {
55
+ cursor: 'default',
56
+ },
57
+ },
58
+
59
+ counter: {
60
+ '&:not(:last-child)': {
61
+ paddingRight: 8,
62
+ },
63
+ },
64
+
65
+ icon: {
66
+ width: 16,
67
+ height: 16,
68
+ },
69
+ });
70
+
71
+ const baseInputStyles: IInputStyles = {
72
+ input: {
73
+ paddingRight: 32,
74
+ },
75
+
76
+ disabled: {
77
+ '& $input': {
78
+ cursor: 'default',
79
+ },
80
+ },
81
+
82
+ controls: {
83
+ paddingRight: 32,
84
+ },
85
+ };
86
+
87
+ const readonlyInputBaseStyles: IInputStyles = {
88
+ inputIcon: {
89
+ width: 'auto',
90
+ },
91
+ };
92
+
93
+ const multiSelectInputBaseStyles: IInputStyles = {
94
+ inputIcon: {
95
+ width: 'auto',
96
+ },
97
+ };
98
+
99
+ export const readonlyInputStyles = mergeStyles(baseInputStyles, readonlyInputBaseStyles);
100
+ export const multiSelectInputStyles = mergeStyles(baseInputStyles, multiSelectInputBaseStyles);
101
+ export const readonlyMultiSelectStyles = mergeStyles(
102
+ baseInputStyles,
103
+ readonlyInputBaseStyles,
104
+ multiSelectInputBaseStyles,
105
+ );
106
+
107
+ export const getInputStyles = ({
108
+ hasReadonlyInput,
109
+ isMultiSelect,
110
+ }: {
111
+ hasReadonlyInput: boolean;
112
+ isMultiSelect: boolean;
113
+ }): IInputStyles => {
114
+ if (hasReadonlyInput && isMultiSelect) {
115
+ return readonlyMultiSelectStyles;
116
+ }
117
+ if (hasReadonlyInput && !isMultiSelect) {
118
+ return readonlyInputStyles;
119
+ }
120
+ if (!hasReadonlyInput && isMultiSelect) {
121
+ return multiSelectInputStyles;
122
+ }
123
+ return baseInputStyles;
124
+ };
125
+
126
+ export const searchInputStyles: ISearchInputStyles = {
127
+ tweakInput: {
128
+ inputWrapper: {
129
+ height: 48,
130
+ borderRadius: 0,
131
+ border: 'none',
132
+ backgroundColor: 'transparent',
133
+ },
134
+ },
135
+ };
136
+
137
+ export type ISelectStyles = ITweakStyles<
138
+ typeof useStyles,
139
+ {
140
+ tweakInput: IInputStyles;
141
+ tweakSelectList: ISelectListStyles;
142
+ tweakSearchInput: ISearchInputStyles;
143
+ }
144
+ >;