@true-engineering/true-react-common-ui-kit 3.14.1 → 3.15.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 (645) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +13 -0
  3. package/dist/components/AccountInfo/AccountInfo.d.ts +11 -11
  4. package/dist/components/AccountInfo/AccountInfo.stories.d.ts +6 -6
  5. package/dist/components/AccountInfo/AccountInfo.styles.d.ts +6 -6
  6. package/dist/components/AccountInfo/constants.d.ts +1 -1
  7. package/dist/components/AccountInfo/index.d.ts +2 -2
  8. package/dist/components/AddButton/AddButton.d.ts +14 -14
  9. package/dist/components/AddButton/AddButton.stories.d.ts +6 -6
  10. package/dist/components/AddButton/AddButton.styles.d.ts +3 -3
  11. package/dist/components/AddButton/index.d.ts +2 -2
  12. package/dist/components/Button/Button.d.ts +41 -41
  13. package/dist/components/Button/Button.stories.d.ts +6 -6
  14. package/dist/components/Button/Button.styles.d.ts +8 -8
  15. package/dist/components/Button/constants.d.ts +2 -2
  16. package/dist/components/Button/index.d.ts +3 -3
  17. package/dist/components/Button/types.d.ts +3 -3
  18. package/dist/components/Checkbox/Checkbox.d.ts +24 -24
  19. package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -8
  20. package/dist/components/Checkbox/Checkbox.styles.d.ts +3 -3
  21. package/dist/components/Checkbox/index.d.ts +2 -2
  22. package/dist/components/CloseButton/CloseButton.d.ts +10 -10
  23. package/dist/components/CloseButton/CloseButton.stories.d.ts +5 -5
  24. package/dist/components/CloseButton/CloseButton.styles.d.ts +3 -3
  25. package/dist/components/CloseButton/index.d.ts +2 -2
  26. package/dist/components/Colors/Colors.d.ts +2 -2
  27. package/dist/components/Colors/Colors.stories.d.ts +5 -5
  28. package/dist/components/Colors/Colors.styles.d.ts +1 -1
  29. package/dist/components/Colors/index.d.ts +1 -1
  30. package/dist/components/CssBaseline/CssBaseline.d.ts +5 -5
  31. package/dist/components/CssBaseline/CssBaseline.styles.d.ts +3 -3
  32. package/dist/components/CssBaseline/index.d.ts +2 -2
  33. package/dist/components/DateInput/DateInput.d.ts +17 -17
  34. package/dist/components/DateInput/DateInput.stories.d.ts +7 -7
  35. package/dist/components/DateInput/DateInput.styles.d.ts +6 -6
  36. package/dist/components/DateInput/constants.d.ts +2 -2
  37. package/dist/components/DateInput/index.d.ts +3 -3
  38. package/dist/components/DatePicker/DatePicker.d.ts +26 -26
  39. package/dist/components/DatePicker/DatePicker.stories.d.ts +7 -7
  40. package/dist/components/DatePicker/DatePicker.styles.d.ts +6 -6
  41. package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.d.ts +8 -8
  42. package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +7 -7
  43. package/dist/components/DatePicker/components/DatePickerHeader/index.d.ts +2 -2
  44. package/dist/components/DatePicker/components/PopperContainer/PopperContainer.d.ts +4 -4
  45. package/dist/components/DatePicker/components/PopperContainer/index.d.ts +1 -1
  46. package/dist/components/DatePicker/components/index.d.ts +2 -2
  47. package/dist/components/DatePicker/constants.d.ts +3 -3
  48. package/dist/components/DatePicker/helpers.d.ts +3 -3
  49. package/dist/components/DatePicker/index.d.ts +4 -4
  50. package/dist/components/DatePicker/types.d.ts +4 -4
  51. package/dist/components/Description/Description.d.ts +13 -13
  52. package/dist/components/Description/Description.stories.d.ts +16 -16
  53. package/dist/components/Description/Description.styles.d.ts +3 -3
  54. package/dist/components/Description/constants.d.ts +1 -1
  55. package/dist/components/Description/index.d.ts +2 -2
  56. package/dist/components/FiltersPane/FiltersPane.d.ts +22 -22
  57. package/dist/components/FiltersPane/FiltersPane.stories.d.ts +31 -31
  58. package/dist/components/FiltersPane/FiltersPane.styles.d.ts +9 -9
  59. package/dist/components/FiltersPane/components/Filter/Filter.d.ts +12 -12
  60. package/dist/components/FiltersPane/components/Filter/index.d.ts +1 -1
  61. package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.d.ts +24 -24
  62. package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +15 -15
  63. package/dist/components/FiltersPane/components/FilterInterval/index.d.ts +2 -2
  64. package/dist/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.d.ts +5 -5
  65. package/dist/components/FiltersPane/components/FilterMultiSelect/index.d.ts +1 -1
  66. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.d.ts +29 -29
  67. package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +15 -15
  68. package/dist/components/FiltersPane/components/FilterSelect/index.d.ts +2 -2
  69. package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +5 -5
  70. package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +3 -3
  71. package/dist/components/FiltersPane/components/FilterValueView/index.d.ts +2 -2
  72. package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.d.ts +16 -16
  73. package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +26 -26
  74. package/dist/components/FiltersPane/components/FilterWithDates/index.d.ts +2 -2
  75. package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.d.ts +13 -13
  76. package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +7 -7
  77. package/dist/components/FiltersPane/components/FilterWithPeriod/index.d.ts +2 -2
  78. package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.d.ts +14 -14
  79. package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +6 -6
  80. package/dist/components/FiltersPane/components/FilterWrapper/index.d.ts +2 -2
  81. package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +21 -21
  82. package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +10 -10
  83. package/dist/components/FiltersPane/components/FiltersPaneSearch/index.d.ts +2 -2
  84. package/dist/components/FiltersPane/components/index.d.ts +9 -9
  85. package/dist/components/FiltersPane/constants.d.ts +9 -9
  86. package/dist/components/FiltersPane/helpers.d.ts +5 -5
  87. package/dist/components/FiltersPane/index.d.ts +4 -4
  88. package/dist/components/FiltersPane/types.d.ts +107 -107
  89. package/dist/components/Flag/Flag.d.ts +8 -8
  90. package/dist/components/Flag/Flag.stories.d.ts +12 -12
  91. package/dist/components/Flag/Flag.styles.d.ts +3 -3
  92. package/dist/components/Flag/index.d.ts +2 -2
  93. package/dist/components/FlexibleTable/FlexibleTable.d.ts +22 -22
  94. package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +15 -15
  95. package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +7 -7
  96. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +14 -14
  97. package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts +3 -3
  98. package/dist/components/FlexibleTable/components/FlexibleTableCell/index.d.ts +2 -2
  99. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +28 -28
  100. package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +6 -6
  101. package/dist/components/FlexibleTable/components/FlexibleTableRow/index.d.ts +2 -2
  102. package/dist/components/FlexibleTable/components/index.d.ts +2 -2
  103. package/dist/components/FlexibleTable/constants.d.ts +1 -1
  104. package/dist/components/FlexibleTable/helpers.d.ts +3 -3
  105. package/dist/components/FlexibleTable/index.d.ts +4 -4
  106. package/dist/components/FlexibleTable/types.d.ts +44 -44
  107. package/dist/components/Icon/Icon.d.ts +8 -8
  108. package/dist/components/Icon/Icon.stories.d.ts +6 -6
  109. package/dist/components/Icon/Icon.styles.d.ts +3 -3
  110. package/dist/components/Icon/complexIcons/icons.d.ts +3 -3
  111. package/dist/components/Icon/complexIcons/index.d.ts +1 -1
  112. package/dist/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.d.ts +6 -6
  113. package/dist/components/Icon/components/ComplexIconBoilerplate/index.d.ts +1 -1
  114. package/dist/components/Icon/components/IconBolerplate/IconBoilerplate.d.ts +6 -6
  115. package/dist/components/Icon/components/IconBolerplate/index.d.ts +1 -1
  116. package/dist/components/Icon/components/index.d.ts +2 -2
  117. package/dist/components/Icon/helpers.d.ts +6 -6
  118. package/dist/components/Icon/icons-list.d.ts +1 -1
  119. package/dist/components/Icon/index.d.ts +5 -5
  120. package/dist/components/Icon/snippet.d.ts +3 -3
  121. package/dist/components/Icon/types.d.ts +13 -13
  122. package/dist/components/IconButton/IconButton.d.ts +19 -19
  123. package/dist/components/IconButton/IconButton.stories.d.ts +6 -6
  124. package/dist/components/IconButton/IconButton.styles.d.ts +3 -3
  125. package/dist/components/IconButton/constants.d.ts +2 -2
  126. package/dist/components/IconButton/index.d.ts +3 -3
  127. package/dist/components/IconButton/types.d.ts +5 -5
  128. package/dist/components/IncrementInput/IncrementInput.d.ts +9 -9
  129. package/dist/components/IncrementInput/IncrementInput.stories.d.ts +6 -6
  130. package/dist/components/IncrementInput/IncrementInput.styles.d.ts +9 -9
  131. package/dist/components/IncrementInput/index.d.ts +2 -2
  132. package/dist/components/Input/Input.d.ts +52 -52
  133. package/dist/components/Input/Input.stories.d.ts +34 -34
  134. package/dist/components/Input/Input.styles.d.ts +7 -7
  135. package/dist/components/Input/constants.d.ts +1 -1
  136. package/dist/components/Input/index.d.ts +3 -3
  137. package/dist/components/Input/types.d.ts +4 -4
  138. package/dist/components/List/List.d.ts +9 -9
  139. package/dist/components/List/List.stories.d.ts +5 -5
  140. package/dist/components/List/List.styles.d.ts +3 -3
  141. package/dist/components/List/components/ListItem/ListItem.d.ts +15 -15
  142. package/dist/components/List/components/ListItem/ListItem.styles.d.ts +3 -3
  143. package/dist/components/List/components/ListItem/index.d.ts +2 -2
  144. package/dist/components/List/components/index.d.ts +1 -1
  145. package/dist/components/List/index.d.ts +3 -3
  146. package/dist/components/Modal/Modal.d.ts +34 -34
  147. package/dist/components/Modal/Modal.stories.d.ts +29 -29
  148. package/dist/components/Modal/Modal.styles.d.ts +7 -7
  149. package/dist/components/Modal/index.d.ts +3 -3
  150. package/dist/components/Modal/types.d.ts +3 -3
  151. package/dist/components/MoreMenu/MoreMenu.d.ts +15 -15
  152. package/dist/components/MoreMenu/MoreMenu.stories.d.ts +6 -6
  153. package/dist/components/MoreMenu/MoreMenu.styles.d.ts +6 -6
  154. package/dist/components/MoreMenu/index.d.ts +2 -2
  155. package/dist/components/MultiSelect/MultiSelect.d.ts +23 -23
  156. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +13 -13
  157. package/dist/components/MultiSelect/MultiSelect.styles.d.ts +7 -7
  158. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.d.ts +12 -12
  159. package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +3 -3
  160. package/dist/components/MultiSelect/components/MultiSelectInput/index.d.ts +2 -2
  161. package/dist/components/MultiSelect/components/index.d.ts +1 -1
  162. package/dist/components/MultiSelect/index.d.ts +4 -4
  163. package/dist/components/MultiSelect/types.d.ts +1 -1
  164. package/dist/components/MultiSelectList/MultiSelectList.d.ts +25 -25
  165. package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +13 -13
  166. package/dist/components/MultiSelectList/constants.d.ts +3 -3
  167. package/dist/components/MultiSelectList/helpers.d.ts +3 -3
  168. package/dist/components/MultiSelectList/index.d.ts +3 -3
  169. package/dist/components/MultiSelectList/types.d.ts +12 -12
  170. package/dist/components/NewMoreMenu/NewMoreMenu.d.ts +15 -15
  171. package/dist/components/NewMoreMenu/NewMoreMenu.stories.d.ts +12 -12
  172. package/dist/components/NewMoreMenu/NewMoreMenu.styles.d.ts +8 -8
  173. package/dist/components/NewMoreMenu/index.d.ts +2 -2
  174. package/dist/components/Notification/Notification.d.ts +15 -15
  175. package/dist/components/Notification/Notification.stories.d.ts +8 -8
  176. package/dist/components/Notification/Notification.styles.d.ts +3 -3
  177. package/dist/components/Notification/index.d.ts +3 -3
  178. package/dist/components/Notification/types.d.ts +1 -1
  179. package/dist/components/NumberInput/NumberInput.d.ts +18 -18
  180. package/dist/components/NumberInput/NumberInput.stories.d.ts +7 -7
  181. package/dist/components/NumberInput/helpers.d.ts +4 -4
  182. package/dist/components/NumberInput/index.d.ts +1 -1
  183. package/dist/components/PhoneInput/PhoneInput.d.ts +17 -17
  184. package/dist/components/PhoneInput/PhoneInput.stories.d.ts +28 -28
  185. package/dist/components/PhoneInput/PhoneInput.styles.d.ts +9 -9
  186. package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.d.ts +13 -13
  187. package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.d.ts +5 -5
  188. package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +7 -7
  189. package/dist/components/PhoneInput/components/PhoneInputCountryList/index.d.ts +2 -2
  190. package/dist/components/PhoneInput/components/index.d.ts +1 -1
  191. package/dist/components/PhoneInput/constants.d.ts +2 -2
  192. package/dist/components/PhoneInput/index.d.ts +4 -4
  193. package/dist/components/PhoneInput/types.d.ts +15 -15
  194. package/dist/components/RadioButton/RadioButton.d.ts +15 -15
  195. package/dist/components/RadioButton/RadioButton.stories.d.ts +7 -7
  196. package/dist/components/RadioButton/RadioButton.styles.d.ts +3 -3
  197. package/dist/components/RadioButton/index.d.ts +2 -2
  198. package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +386 -386
  199. package/dist/components/ScrollIntoViewIfNeeded/constants.d.ts +3 -3
  200. package/dist/components/ScrollIntoViewIfNeeded/index.d.ts +1 -1
  201. package/dist/components/SearchInput/SearchInput.d.ts +6 -6
  202. package/dist/components/SearchInput/SearchInput.stories.d.ts +13 -13
  203. package/dist/components/SearchInput/SearchInput.styles.d.ts +7 -7
  204. package/dist/components/SearchInput/index.d.ts +2 -2
  205. package/dist/components/Select/CustomSelect.stories.d.ts +11 -11
  206. package/dist/components/Select/MultiSelect.stories.d.ts +15 -15
  207. package/dist/components/Select/Select.d.ts +47 -47
  208. package/dist/components/Select/Select.stories.d.ts +15 -15
  209. package/dist/components/Select/Select.styles.d.ts +33 -33
  210. package/dist/components/Select/components/SelectList/SelectList.d.ts +22 -22
  211. package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +6 -6
  212. package/dist/components/Select/components/SelectList/index.d.ts +2 -2
  213. package/dist/components/Select/components/SelectListItem/SelectListItem.d.ts +14 -14
  214. package/dist/components/Select/components/SelectListItem/SelectListItem.styles.d.ts +2 -2
  215. package/dist/components/Select/components/SelectListItem/index.d.ts +1 -1
  216. package/dist/components/Select/components/index.d.ts +2 -2
  217. package/dist/components/Select/constants.d.ts +2 -2
  218. package/dist/components/Select/helpers.d.ts +7 -7
  219. package/dist/components/Select/index.d.ts +4 -4
  220. package/dist/components/Select/types.d.ts +1 -1
  221. package/dist/components/Selector/Selector.d.ts +22 -22
  222. package/dist/components/Selector/Selector.stories.d.ts +7 -7
  223. package/dist/components/Selector/Selector.styles.d.ts +9 -9
  224. package/dist/components/Selector/index.d.ts +2 -2
  225. package/dist/components/Selector/types.d.ts +10 -10
  226. package/dist/components/Skeleton/Skeleton.d.ts +7 -7
  227. package/dist/components/Skeleton/Skeleton.stories.d.ts +6 -6
  228. package/dist/components/Skeleton/Skeleton.styles.d.ts +3 -3
  229. package/dist/components/Skeleton/index.d.ts +2 -2
  230. package/dist/components/SmartInput/SmartInput.d.ts +12 -12
  231. package/dist/components/SmartInput/SmartInput.stories.d.ts +18 -18
  232. package/dist/components/SmartInput/constants.d.ts +18 -18
  233. package/dist/components/SmartInput/helpers.d.ts +4 -4
  234. package/dist/components/SmartInput/index.d.ts +2 -2
  235. package/dist/components/SmartInput/types.d.ts +1 -1
  236. package/dist/components/Status/Status.d.ts +16 -16
  237. package/dist/components/Status/Status.stories.d.ts +6 -6
  238. package/dist/components/Status/Status.styles.d.ts +3 -3
  239. package/dist/components/Status/constants.d.ts +2 -2
  240. package/dist/components/Status/index.d.ts +2 -2
  241. package/dist/components/Status/types.d.ts +3 -3
  242. package/dist/components/Switch/Switch.d.ts +20 -20
  243. package/dist/components/Switch/Switch.stories.d.ts +16 -16
  244. package/dist/components/Switch/Switch.styles.d.ts +3 -3
  245. package/dist/components/Switch/index.d.ts +3 -3
  246. package/dist/components/Switch/types.d.ts +4 -4
  247. package/dist/components/TextArea/TextArea.d.ts +36 -36
  248. package/dist/components/TextArea/TextArea.stories.d.ts +17 -16
  249. package/dist/components/TextArea/TextArea.styles.d.ts +3 -3
  250. package/dist/components/TextArea/index.d.ts +3 -2
  251. package/dist/components/TextArea/types.d.ts +2 -0
  252. package/dist/components/TextButton/TextButton.d.ts +31 -31
  253. package/dist/components/TextButton/TextButton.stories.d.ts +6 -6
  254. package/dist/components/TextButton/TextButton.styles.d.ts +7 -7
  255. package/dist/components/TextButton/constants.d.ts +2 -2
  256. package/dist/components/TextButton/index.d.ts +3 -3
  257. package/dist/components/TextButton/types.d.ts +5 -5
  258. package/dist/components/TextWithInfo/TextWithInfo.d.ts +15 -15
  259. package/dist/components/TextWithInfo/TextWithInfo.stories.d.ts +12 -12
  260. package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +3 -3
  261. package/dist/components/TextWithInfo/index.d.ts +2 -2
  262. package/dist/components/TextWithTooltip/TextWithTooltip.d.ts +26 -26
  263. package/dist/components/TextWithTooltip/TextWithTooltip.stories.d.ts +24 -24
  264. package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +6 -6
  265. package/dist/components/TextWithTooltip/index.d.ts +2 -2
  266. package/dist/components/ThemedPreloader/ThemedPreloader.d.ts +11 -11
  267. package/dist/components/ThemedPreloader/ThemedPreloader.stories.d.ts +17 -17
  268. package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +7 -7
  269. package/dist/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.d.ts +2 -2
  270. package/dist/components/ThemedPreloader/components/DefaultPreloader/index.d.ts +1 -1
  271. package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.d.ts +5 -5
  272. package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +3 -3
  273. package/dist/components/ThemedPreloader/components/DotsPreloader/index.d.ts +2 -2
  274. package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.d.ts +8 -8
  275. package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +3 -3
  276. package/dist/components/ThemedPreloader/components/SvgPreloader/index.d.ts +2 -2
  277. package/dist/components/ThemedPreloader/components/index.d.ts +3 -3
  278. package/dist/components/ThemedPreloader/constants.d.ts +1 -1
  279. package/dist/components/ThemedPreloader/index.d.ts +4 -4
  280. package/dist/components/ThemedPreloader/types.d.ts +2 -2
  281. package/dist/components/Toaster/Toaster.d.ts +23 -23
  282. package/dist/components/Toaster/Toaster.stories.d.ts +5 -5
  283. package/dist/components/Toaster/Toaster.styles.d.ts +6 -6
  284. package/dist/components/Toaster/constants.d.ts +1 -1
  285. package/dist/components/Toaster/index.d.ts +3 -3
  286. package/dist/components/Toaster/types.d.ts +1 -1
  287. package/dist/components/Tooltip/Tooltip.d.ts +11 -11
  288. package/dist/components/Tooltip/Tooltip.stories.d.ts +5 -5
  289. package/dist/components/Tooltip/Tooltip.styles.d.ts +3 -3
  290. package/dist/components/Tooltip/index.d.ts +3 -3
  291. package/dist/components/Tooltip/types.d.ts +1 -1
  292. package/dist/components/WithPopup/WithPopup.d.ts +32 -32
  293. package/dist/components/WithPopup/WithPopup.stories.d.ts +16 -16
  294. package/dist/components/WithPopup/WithPopup.styles.d.ts +3 -3
  295. package/dist/components/WithPopup/constants.d.ts +2 -2
  296. package/dist/components/WithPopup/index.d.ts +2 -2
  297. package/dist/components/WithPopup/types.d.ts +2 -2
  298. package/dist/components/index.d.ts +43 -43
  299. package/dist/constants/index.d.ts +1 -1
  300. package/dist/constants/phone-info.d.ts +2 -2
  301. package/dist/helpers/index.d.ts +3 -3
  302. package/dist/helpers/misc.d.ts +19 -19
  303. package/dist/helpers/phone.d.ts +14 -14
  304. package/dist/helpers/popper-helpers.d.ts +2 -2
  305. package/dist/hooks/index.d.ts +7 -7
  306. package/dist/hooks/use-did-mount-effect.d.ts +2 -2
  307. package/dist/hooks/use-dropdown.d.ts +11 -11
  308. package/dist/hooks/use-is-mounted.d.ts +1 -1
  309. package/dist/hooks/use-merged-refs.d.ts +2 -2
  310. package/dist/hooks/use-mixed-styles.d.ts +1 -1
  311. package/dist/hooks/use-on-click-outside.d.ts +5 -5
  312. package/dist/hooks/use-tweak-styles.d.ts +21 -21
  313. package/dist/index.d.ts +6 -6
  314. package/dist/theme/Provider.d.ts +11 -11
  315. package/dist/theme/common.d.ts +100 -100
  316. package/dist/theme/helpers.d.ts +10 -10
  317. package/dist/theme/index.d.ts +4 -4
  318. package/dist/theme/types.d.ts +80 -80
  319. package/dist/true-react-common-ui-kit.js +602 -545
  320. package/dist/true-react-common-ui-kit.js.map +1 -1
  321. package/dist/true-react-common-ui-kit.umd.cjs +602 -545
  322. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  323. package/dist/types.d.ts +19 -19
  324. package/package.json +97 -97
  325. package/src/components/AccountInfo/AccountInfo.stories.tsx +32 -32
  326. package/src/components/AccountInfo/AccountInfo.styles.ts +52 -52
  327. package/src/components/AccountInfo/AccountInfo.tsx +80 -80
  328. package/src/components/AccountInfo/constants.ts +1 -1
  329. package/src/components/AccountInfo/index.ts +2 -2
  330. package/src/components/AddButton/AddButton.stories.tsx +21 -21
  331. package/src/components/AddButton/AddButton.styles.ts +34 -34
  332. package/src/components/AddButton/AddButton.tsx +52 -52
  333. package/src/components/AddButton/index.ts +2 -2
  334. package/src/components/Button/Button.stories.tsx +54 -54
  335. package/src/components/Button/Button.styles.ts +200 -200
  336. package/src/components/Button/Button.tsx +129 -129
  337. package/src/components/Button/constants.ts +11 -11
  338. package/src/components/Button/index.ts +3 -3
  339. package/src/components/Button/types.ts +5 -5
  340. package/src/components/Checkbox/Checkbox.stories.tsx +54 -54
  341. package/src/components/Checkbox/Checkbox.styles.ts +49 -49
  342. package/src/components/Checkbox/Checkbox.tsx +84 -84
  343. package/src/components/Checkbox/index.ts +2 -2
  344. package/src/components/CloseButton/CloseButton.stories.tsx +11 -11
  345. package/src/components/CloseButton/CloseButton.styles.ts +34 -34
  346. package/src/components/CloseButton/CloseButton.tsx +35 -35
  347. package/src/components/CloseButton/index.ts +2 -2
  348. package/src/components/Colors/Colors.stories.tsx +7 -7
  349. package/src/components/Colors/Colors.styles.ts +36 -36
  350. package/src/components/Colors/Colors.tsx +26 -26
  351. package/src/components/Colors/index.ts +1 -1
  352. package/src/components/CssBaseline/CssBaseline.styles.ts +14 -14
  353. package/src/components/CssBaseline/CssBaseline.tsx +13 -13
  354. package/src/components/CssBaseline/index.ts +2 -2
  355. package/src/components/DateInput/DateInput.stories.tsx +61 -61
  356. package/src/components/DateInput/DateInput.styles.ts +18 -18
  357. package/src/components/DateInput/DateInput.tsx +90 -90
  358. package/src/components/DateInput/constants.ts +2 -2
  359. package/src/components/DateInput/index.ts +3 -3
  360. package/src/components/DatePicker/DatePicker.stories.tsx +88 -88
  361. package/src/components/DatePicker/DatePicker.styles.ts +38 -38
  362. package/src/components/DatePicker/DatePicker.tsx +308 -308
  363. package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.ts +88 -88
  364. package/src/components/DatePicker/components/DatePickerHeader/DatePickerHeader.tsx +89 -89
  365. package/src/components/DatePicker/components/DatePickerHeader/index.ts +2 -2
  366. package/src/components/DatePicker/components/PopperContainer/PopperContainer.tsx +6 -6
  367. package/src/components/DatePicker/components/PopperContainer/index.ts +1 -1
  368. package/src/components/DatePicker/components/index.ts +2 -2
  369. package/src/components/DatePicker/constants.ts +6 -6
  370. package/src/components/DatePicker/helpers.ts +23 -23
  371. package/src/components/DatePicker/index.ts +4 -4
  372. package/src/components/DatePicker/types.ts +45 -45
  373. package/src/components/Description/Description.stories.tsx +27 -27
  374. package/src/components/Description/Description.styles.ts +30 -30
  375. package/src/components/Description/Description.tsx +61 -61
  376. package/src/components/Description/constants.ts +1 -1
  377. package/src/components/Description/index.ts +2 -2
  378. package/src/components/FiltersPane/FiltersPane.stories.tsx +287 -287
  379. package/src/components/FiltersPane/FiltersPane.styles.ts +88 -88
  380. package/src/components/FiltersPane/FiltersPane.tsx +158 -158
  381. package/src/components/FiltersPane/components/Filter/Filter.tsx +203 -203
  382. package/src/components/FiltersPane/components/Filter/index.ts +1 -1
  383. package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +61 -61
  384. package/src/components/FiltersPane/components/FilterInterval/FilterInterval.tsx +154 -154
  385. package/src/components/FiltersPane/components/FilterInterval/index.ts +2 -2
  386. package/src/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.tsx +10 -10
  387. package/src/components/FiltersPane/components/FilterMultiSelect/index.ts +1 -1
  388. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +141 -141
  389. package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +354 -354
  390. package/src/components/FiltersPane/components/FilterSelect/index.ts +2 -2
  391. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.styles.tsx +15 -15
  392. package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +166 -166
  393. package/src/components/FiltersPane/components/FilterValueView/index.tsx +2 -2
  394. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +68 -68
  395. package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.tsx +210 -210
  396. package/src/components/FiltersPane/components/FilterWithDates/index.ts +2 -2
  397. package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.ts +21 -21
  398. package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.tsx +177 -177
  399. package/src/components/FiltersPane/components/FilterWithPeriod/index.ts +2 -2
  400. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.ts +115 -115
  401. package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +167 -167
  402. package/src/components/FiltersPane/components/FilterWrapper/index.ts +2 -2
  403. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +123 -123
  404. package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +165 -165
  405. package/src/components/FiltersPane/components/FiltersPaneSearch/index.ts +2 -2
  406. package/src/components/FiltersPane/components/index.ts +9 -9
  407. package/src/components/FiltersPane/constants.ts +137 -137
  408. package/src/components/FiltersPane/helpers.ts +26 -26
  409. package/src/components/FiltersPane/index.ts +5 -5
  410. package/src/components/FiltersPane/types.ts +156 -156
  411. package/src/components/Flag/Flag.stories.tsx +29 -29
  412. package/src/components/Flag/Flag.styles.ts +17 -17
  413. package/src/components/Flag/Flag.tsx +26 -26
  414. package/src/components/Flag/augment.d.ts +1 -1
  415. package/src/components/Flag/index.ts +2 -2
  416. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +267 -267
  417. package/src/components/FlexibleTable/FlexibleTable.styles.ts +111 -111
  418. package/src/components/FlexibleTable/FlexibleTable.tsx +271 -271
  419. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.ts +38 -38
  420. package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +83 -83
  421. package/src/components/FlexibleTable/components/FlexibleTableCell/index.ts +2 -2
  422. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.ts +25 -25
  423. package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +196 -196
  424. package/src/components/FlexibleTable/components/FlexibleTableRow/index.ts +2 -2
  425. package/src/components/FlexibleTable/components/index.ts +2 -2
  426. package/src/components/FlexibleTable/constants.ts +1 -1
  427. package/src/components/FlexibleTable/helpers.ts +13 -13
  428. package/src/components/FlexibleTable/index.ts +4 -4
  429. package/src/components/FlexibleTable/types.ts +52 -52
  430. package/src/components/Icon/Icon.stories.tsx +86 -86
  431. package/src/components/Icon/Icon.styles.ts +10 -10
  432. package/src/components/Icon/Icon.tsx +26 -26
  433. package/src/components/Icon/complexIcons/augment.d.ts +1 -1
  434. package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
  435. package/src/components/Icon/complexIcons/icons.ts +5 -5
  436. package/src/components/Icon/complexIcons/index.ts +1 -1
  437. package/src/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.tsx +16 -16
  438. package/src/components/Icon/components/ComplexIconBoilerplate/index.ts +1 -1
  439. package/src/components/Icon/components/IconBolerplate/IconBoilerplate.tsx +43 -43
  440. package/src/components/Icon/components/IconBolerplate/index.ts +1 -1
  441. package/src/components/Icon/components/index.ts +2 -2
  442. package/src/components/Icon/helpers.tsx +9 -9
  443. package/src/components/Icon/icons-list.ts +848 -848
  444. package/src/components/Icon/index.ts +5 -5
  445. package/src/components/Icon/snippet.tsx +6 -6
  446. package/src/components/Icon/types.ts +18 -18
  447. package/src/components/IconButton/IconButton.stories.tsx +32 -32
  448. package/src/components/IconButton/IconButton.styles.ts +84 -84
  449. package/src/components/IconButton/IconButton.tsx +74 -74
  450. package/src/components/IconButton/constants.ts +3 -3
  451. package/src/components/IconButton/index.ts +3 -3
  452. package/src/components/IconButton/types.ts +11 -11
  453. package/src/components/IncrementInput/IncrementInput.stories.tsx +31 -31
  454. package/src/components/IncrementInput/IncrementInput.styles.ts +78 -78
  455. package/src/components/IncrementInput/IncrementInput.tsx +105 -105
  456. package/src/components/IncrementInput/index.ts +2 -2
  457. package/src/components/Input/Input.stories.tsx +86 -86
  458. package/src/components/Input/Input.styles.ts +308 -308
  459. package/src/components/Input/Input.tsx +297 -297
  460. package/src/components/Input/constants.ts +1 -1
  461. package/src/components/Input/index.ts +3 -3
  462. package/src/components/Input/types.ts +32 -32
  463. package/src/components/List/List.stories.tsx +70 -70
  464. package/src/components/List/List.styles.ts +52 -52
  465. package/src/components/List/List.tsx +33 -33
  466. package/src/components/List/components/ListItem/ListItem.styles.ts +48 -48
  467. package/src/components/List/components/ListItem/ListItem.tsx +57 -57
  468. package/src/components/List/components/ListItem/index.ts +2 -2
  469. package/src/components/List/components/index.ts +1 -1
  470. package/src/components/List/index.ts +3 -3
  471. package/src/components/Modal/Modal.stories.tsx +105 -105
  472. package/src/components/Modal/Modal.styles.ts +318 -318
  473. package/src/components/Modal/Modal.tsx +203 -203
  474. package/src/components/Modal/index.ts +3 -3
  475. package/src/components/Modal/types.ts +17 -17
  476. package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
  477. package/src/components/MoreMenu/MoreMenu.styles.ts +69 -69
  478. package/src/components/MoreMenu/MoreMenu.tsx +93 -93
  479. package/src/components/MoreMenu/index.ts +2 -2
  480. package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
  481. package/src/components/MultiSelect/MultiSelect.styles.ts +59 -59
  482. package/src/components/MultiSelect/MultiSelect.tsx +106 -106
  483. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.ts +73 -73
  484. package/src/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.tsx +53 -53
  485. package/src/components/MultiSelect/components/MultiSelectInput/index.ts +2 -2
  486. package/src/components/MultiSelect/components/index.ts +1 -1
  487. package/src/components/MultiSelect/index.ts +4 -4
  488. package/src/components/MultiSelect/types.ts +1 -1
  489. package/src/components/MultiSelectList/MultiSelectList.styles.ts +136 -136
  490. package/src/components/MultiSelectList/MultiSelectList.tsx +464 -464
  491. package/src/components/MultiSelectList/constants.ts +21 -21
  492. package/src/components/MultiSelectList/helpers.ts +11 -11
  493. package/src/components/MultiSelectList/index.ts +3 -3
  494. package/src/components/MultiSelectList/types.ts +15 -15
  495. package/src/components/NewMoreMenu/NewMoreMenu.stories.tsx +74 -74
  496. package/src/components/NewMoreMenu/NewMoreMenu.styles.ts +39 -39
  497. package/src/components/NewMoreMenu/NewMoreMenu.tsx +85 -85
  498. package/src/components/NewMoreMenu/index.ts +2 -2
  499. package/src/components/Notification/Notification.stories.tsx +46 -46
  500. package/src/components/Notification/Notification.styles.ts +55 -55
  501. package/src/components/Notification/Notification.tsx +69 -69
  502. package/src/components/Notification/index.ts +3 -3
  503. package/src/components/Notification/types.ts +1 -1
  504. package/src/components/NumberInput/NumberInput.stories.tsx +35 -35
  505. package/src/components/NumberInput/NumberInput.tsx +137 -137
  506. package/src/components/NumberInput/helpers.ts +86 -86
  507. package/src/components/NumberInput/index.ts +1 -1
  508. package/src/components/PhoneInput/PhoneInput.stories.tsx +70 -70
  509. package/src/components/PhoneInput/PhoneInput.styles.ts +89 -89
  510. package/src/components/PhoneInput/PhoneInput.tsx +214 -214
  511. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +21 -21
  512. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.ts +103 -103
  513. package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +155 -155
  514. package/src/components/PhoneInput/components/PhoneInputCountryList/index.ts +2 -2
  515. package/src/components/PhoneInput/components/index.ts +1 -1
  516. package/src/components/PhoneInput/constants.ts +3 -3
  517. package/src/components/PhoneInput/index.ts +4 -4
  518. package/src/components/PhoneInput/types.ts +16 -16
  519. package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
  520. package/src/components/RadioButton/RadioButton.styles.ts +37 -37
  521. package/src/components/RadioButton/RadioButton.tsx +57 -57
  522. package/src/components/RadioButton/index.ts +2 -2
  523. package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +54 -54
  524. package/src/components/ScrollIntoViewIfNeeded/constants.ts +12 -12
  525. package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
  526. package/src/components/SearchInput/SearchInput.stories.tsx +23 -23
  527. package/src/components/SearchInput/SearchInput.styles.ts +50 -50
  528. package/src/components/SearchInput/SearchInput.tsx +56 -56
  529. package/src/components/SearchInput/index.ts +2 -2
  530. package/src/components/Select/CustomSelect.stories.tsx +217 -217
  531. package/src/components/Select/MultiSelect.stories.tsx +240 -240
  532. package/src/components/Select/Select.stories.tsx +235 -235
  533. package/src/components/Select/Select.styles.ts +146 -146
  534. package/src/components/Select/Select.tsx +609 -609
  535. package/src/components/Select/components/SelectList/SelectList.styles.ts +71 -71
  536. package/src/components/Select/components/SelectList/SelectList.tsx +156 -156
  537. package/src/components/Select/components/SelectList/index.ts +2 -2
  538. package/src/components/Select/components/SelectListItem/SelectListItem.styles.ts +14 -14
  539. package/src/components/Select/components/SelectListItem/SelectListItem.tsx +72 -72
  540. package/src/components/Select/components/SelectListItem/index.ts +1 -1
  541. package/src/components/Select/components/index.ts +2 -2
  542. package/src/components/Select/constants.ts +2 -2
  543. package/src/components/Select/helpers.ts +27 -27
  544. package/src/components/Select/index.ts +4 -4
  545. package/src/components/Select/types.ts +1 -1
  546. package/src/components/Selector/Selector.stories.tsx +62 -62
  547. package/src/components/Selector/Selector.styles.ts +165 -165
  548. package/src/components/Selector/Selector.tsx +115 -115
  549. package/src/components/Selector/index.ts +2 -2
  550. package/src/components/Selector/types.ts +12 -12
  551. package/src/components/Skeleton/Skeleton.stories.tsx +19 -19
  552. package/src/components/Skeleton/Skeleton.styles.ts +46 -46
  553. package/src/components/Skeleton/Skeleton.tsx +12 -12
  554. package/src/components/Skeleton/index.ts +2 -2
  555. package/src/components/SmartInput/SmartInput.stories.tsx +51 -51
  556. package/src/components/SmartInput/SmartInput.tsx +134 -134
  557. package/src/components/SmartInput/constants.ts +84 -84
  558. package/src/components/SmartInput/helpers.ts +13 -13
  559. package/src/components/SmartInput/index.ts +2 -2
  560. package/src/components/SmartInput/types.ts +11 -11
  561. package/src/components/Status/Status.stories.tsx +73 -73
  562. package/src/components/Status/Status.styles.ts +143 -143
  563. package/src/components/Status/Status.tsx +49 -49
  564. package/src/components/Status/constants.ts +11 -11
  565. package/src/components/Status/index.ts +3 -3
  566. package/src/components/Status/types.ts +5 -5
  567. package/src/components/Switch/Switch.stories.tsx +40 -40
  568. package/src/components/Switch/Switch.styles.ts +75 -75
  569. package/src/components/Switch/Switch.tsx +75 -75
  570. package/src/components/Switch/index.ts +3 -3
  571. package/src/components/Switch/types.ts +4 -4
  572. package/src/components/TextArea/TextArea.stories.tsx +36 -35
  573. package/src/components/TextArea/TextArea.styles.ts +177 -157
  574. package/src/components/TextArea/TextArea.tsx +179 -180
  575. package/src/components/TextArea/index.ts +3 -2
  576. package/src/components/TextArea/types.ts +6 -0
  577. package/src/components/TextButton/TextButton.stories.tsx +47 -47
  578. package/src/components/TextButton/TextButton.styles.ts +130 -130
  579. package/src/components/TextButton/TextButton.tsx +110 -110
  580. package/src/components/TextButton/constants.ts +3 -3
  581. package/src/components/TextButton/index.ts +3 -3
  582. package/src/components/TextButton/types.ts +11 -11
  583. package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
  584. package/src/components/TextWithInfo/TextWithInfo.styles.ts +59 -59
  585. package/src/components/TextWithInfo/TextWithInfo.tsx +62 -62
  586. package/src/components/TextWithInfo/index.ts +2 -2
  587. package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
  588. package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +21 -21
  589. package/src/components/TextWithTooltip/TextWithTooltip.tsx +156 -156
  590. package/src/components/TextWithTooltip/index.ts +2 -2
  591. package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
  592. package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +26 -26
  593. package/src/components/ThemedPreloader/ThemedPreloader.tsx +54 -54
  594. package/src/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.tsx +29 -29
  595. package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
  596. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +54 -54
  597. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +15 -15
  598. package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
  599. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
  600. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +24 -24
  601. package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
  602. package/src/components/ThemedPreloader/components/index.ts +3 -3
  603. package/src/components/ThemedPreloader/constants.ts +1 -1
  604. package/src/components/ThemedPreloader/index.ts +4 -4
  605. package/src/components/ThemedPreloader/types.ts +3 -3
  606. package/src/components/Toaster/Toaster.stories.tsx +30 -30
  607. package/src/components/Toaster/Toaster.styles.ts +60 -60
  608. package/src/components/Toaster/Toaster.tsx +109 -109
  609. package/src/components/Toaster/constants.ts +1 -1
  610. package/src/components/Toaster/index.ts +3 -3
  611. package/src/components/Toaster/types.ts +1 -1
  612. package/src/components/Tooltip/Tooltip.stories.tsx +19 -19
  613. package/src/components/Tooltip/Tooltip.styles.ts +49 -49
  614. package/src/components/Tooltip/Tooltip.tsx +35 -35
  615. package/src/components/Tooltip/index.ts +3 -3
  616. package/src/components/Tooltip/types.ts +1 -1
  617. package/src/components/WithPopup/WithPopup.stories.tsx +78 -78
  618. package/src/components/WithPopup/WithPopup.styles.ts +21 -21
  619. package/src/components/WithPopup/WithPopup.tsx +138 -138
  620. package/src/components/WithPopup/constants.ts +3 -3
  621. package/src/components/WithPopup/index.ts +2 -2
  622. package/src/components/WithPopup/types.ts +3 -3
  623. package/src/components/index.ts +43 -43
  624. package/src/constants/index.ts +1 -1
  625. package/src/constants/phone-info.ts +2147 -2147
  626. package/src/helpers/index.ts +3 -3
  627. package/src/helpers/misc.ts +158 -158
  628. package/src/helpers/phone.ts +91 -91
  629. package/src/helpers/popper-helpers.ts +17 -17
  630. package/src/hooks/index.ts +7 -7
  631. package/src/hooks/use-did-mount-effect.ts +18 -18
  632. package/src/hooks/use-dropdown.ts +84 -84
  633. package/src/hooks/use-is-mounted.ts +15 -15
  634. package/src/hooks/use-merged-refs.ts +4 -4
  635. package/src/hooks/use-mixed-styles.ts +14 -14
  636. package/src/hooks/use-on-click-outside.ts +77 -77
  637. package/src/hooks/use-tweak-styles.ts +57 -57
  638. package/src/index.ts +6 -6
  639. package/src/theme/Provider.tsx +21 -21
  640. package/src/theme/common.ts +163 -163
  641. package/src/theme/helpers.ts +76 -76
  642. package/src/theme/index.ts +4 -4
  643. package/src/theme/types.ts +153 -153
  644. package/src/types.ts +26 -26
  645. package/src/vite-env.d.ts +1 -1
package/LICENSE CHANGED
@@ -1,201 +1,201 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2023 ООО «Тру Инжиниринг»
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2023 ООО «Тру Инжиниринг»
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -7,9 +7,22 @@
7
7
  1. Слить Pull Request с увеличением версии пакета в файле `package.json` в ветке `master`
8
8
  2. `yarn build` локально из ветки `master`
9
9
  3. `npm publish` локально из ветки `master`
10
+ 4. Добавить тег с версией в гите
10
11
 
11
12
  # Release Notes
12
13
 
14
+ ## v3.15.0
15
+
16
+ ### Changes
17
+
18
+ - **TextArea**: рефакторинг ресайза и добавление свойства isAutoSizeable
19
+
20
+ ## v3.14.2
21
+
22
+ ### Changes
23
+
24
+ - **Selector**: исправлены стили задизейбленной опции
25
+
13
26
  ## v3.14.1
14
27
 
15
28
  ### Changes
@@ -1,11 +1,11 @@
1
- import { FC, ReactNode } from 'react';
2
- import { ICommonProps } from '../../types';
3
- import { IListProps } from '../List';
4
- import { IAccountInfoStyles } from './AccountInfo.styles';
5
- export interface IAccountInfoProps extends ICommonProps<IAccountInfoStyles> {
6
- /** @default `<Icon type='avatar' />` */
7
- avatar?: ReactNode;
8
- accountName: ReactNode;
9
- options: IListProps['items'];
10
- }
11
- export declare const AccountInfo: FC<IAccountInfoProps>;
1
+ import { FC, ReactNode } from 'react';
2
+ import { ICommonProps } from '../../types';
3
+ import { IListProps } from '../List';
4
+ import { IAccountInfoStyles } from './AccountInfo.styles';
5
+ export interface IAccountInfoProps extends ICommonProps<IAccountInfoStyles> {
6
+ /** @default `<Icon type='avatar' />` */
7
+ avatar?: ReactNode;
8
+ accountName: ReactNode;
9
+ options: IListProps['items'];
10
+ }
11
+ export declare const AccountInfo: FC<IAccountInfoProps>;
@@ -1,6 +1,6 @@
1
- declare const _default: {
2
- title: string;
3
- component: import("react").FC<import("./AccountInfo").IAccountInfoProps>;
4
- };
5
- export default _default;
6
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./AccountInfo").IAccountInfoProps>;
1
+ declare const _default: {
2
+ title: string;
3
+ component: import("react").FC<import("./AccountInfo").IAccountInfoProps>;
4
+ };
5
+ export default _default;
6
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./AccountInfo").IAccountInfoProps>;
@@ -1,6 +1,6 @@
1
- import { ITweakStyles } from '../../theme';
2
- import { IListStyles } from '../List';
3
- export declare const useStyles: import("../../theme").IUseStyles<"root" | "account" | "accountName" | "accountNameOpened" | "accountChevron" | "accountChevronOpened" | "accountMenu" | "avatarIcon" | "slide-up-enter" | "slide-up-enter-active" | "slide-up-exit-active" | "slide-up-exit", unknown>;
4
- export type IAccountInfoStyles = ITweakStyles<typeof useStyles, {
5
- tweakList: IListStyles;
6
- }>;
1
+ import { ITweakStyles } from '../../theme';
2
+ import { IListStyles } from '../List';
3
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "account" | "accountName" | "accountNameOpened" | "accountChevron" | "accountChevronOpened" | "accountMenu" | "avatarIcon" | "slide-up-enter" | "slide-up-enter-active" | "slide-up-exit-active" | "slide-up-exit", unknown>;
4
+ export type IAccountInfoStyles = ITweakStyles<typeof useStyles, {
5
+ tweakList: IListStyles;
6
+ }>;
@@ -1 +1 @@
1
- export declare const ANIMATION_TIMEOUT = 150;
1
+ export declare const ANIMATION_TIMEOUT = 150;
@@ -1,2 +1,2 @@
1
- export * from './AccountInfo';
2
- export type { IAccountInfoStyles } from './AccountInfo.styles';
1
+ export * from './AccountInfo';
2
+ export type { IAccountInfoStyles } from './AccountInfo.styles';
@@ -1,14 +1,14 @@
1
- import { FC } from 'react';
2
- import { ICommonProps } from '../../types';
3
- import { IAddButtonStyles } from './AddButton.styles';
4
- export interface IAddButtonProps extends ICommonProps<IAddButtonStyles> {
5
- text: string;
6
- /** @default 'button' */
7
- type?: 'submit' | 'button';
8
- /** @default false */
9
- isDisabled?: boolean;
10
- /** @default false */
11
- isFullWidth?: boolean;
12
- onClick?: () => void | Promise<void>;
13
- }
14
- export declare const AddButton: FC<IAddButtonProps>;
1
+ import { FC } from 'react';
2
+ import { ICommonProps } from '../../types';
3
+ import { IAddButtonStyles } from './AddButton.styles';
4
+ export interface IAddButtonProps extends ICommonProps<IAddButtonStyles> {
5
+ text: string;
6
+ /** @default 'button' */
7
+ type?: 'submit' | 'button';
8
+ /** @default false */
9
+ isDisabled?: boolean;
10
+ /** @default false */
11
+ isFullWidth?: boolean;
12
+ onClick?: () => void | Promise<void>;
13
+ }
14
+ export declare const AddButton: FC<IAddButtonProps>;
@@ -1,6 +1,6 @@
1
- declare const _default: {
2
- title: string;
3
- component: import("react").FC<import("./AddButton").IAddButtonProps>;
4
- };
5
- export default _default;
6
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./AddButton").IAddButtonProps>;
1
+ declare const _default: {
2
+ title: string;
3
+ component: import("react").FC<import("./AddButton").IAddButtonProps>;
4
+ };
5
+ export default _default;
6
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./AddButton").IAddButtonProps>;
@@ -1,3 +1,3 @@
1
- import { ITweakStyles } from '../../theme';
2
- export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon" | "disabled" | "fullWidth", unknown>;
3
- export type IAddButtonStyles = ITweakStyles<typeof useStyles>;
1
+ import { ITweakStyles } from '../../theme';
2
+ export declare const useStyles: import("../../theme").IUseStyles<"root" | "icon" | "disabled" | "fullWidth", unknown>;
3
+ export type IAddButtonStyles = ITweakStyles<typeof useStyles>;
@@ -1,2 +1,2 @@
1
- export * from './AddButton';
2
- export type { IAddButtonStyles } from './AddButton.styles';
1
+ export * from './AddButton';
2
+ export type { IAddButtonStyles } from './AddButton.styles';
@@ -1,41 +1,41 @@
1
- import { ReactNode, ButtonHTMLAttributes, MouseEvent } from 'react';
2
- import { ICommonProps } from '../../types';
3
- import { IIcon } from '../Icon';
4
- import { IThemedPreloaderProps } from '../ThemedPreloader';
5
- import { IButtonSize, IButtonView } from './types';
6
- import { IButtonStyles } from './Button.styles';
7
- export interface IButtonProps extends ICommonProps<IButtonStyles> {
8
- children?: ReactNode;
9
- /** @default 'button' */
10
- type?: ButtonHTMLAttributes<unknown>['type'];
11
- /** @default 'l' */
12
- size?: IButtonSize;
13
- /** @default 'primary' */
14
- view?: IButtonView;
15
- /** @default false */
16
- shouldSkipTabNavigation?: boolean;
17
- /** @default false */
18
- isDisabled?: boolean;
19
- /** @default false */
20
- isFullWidth?: boolean;
21
- /**
22
- * Нужно ли убирать скругление у кнопки слева
23
- * @default false
24
- */
25
- isInline?: boolean;
26
- /**
27
- * Нужно ли показать лоадер и заблокировать кнопку
28
- * @default false
29
- */
30
- isLoading?: boolean;
31
- /** @default false */
32
- isActive?: boolean;
33
- icon?: IIcon;
34
- /** @default 'left' */
35
- iconPosition?: 'left' | 'right';
36
- /** @default 'dots' */
37
- preloaderType?: IThemedPreloaderProps['type'];
38
- onClick?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
39
- onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
40
- }
41
- export declare const Button: import("react").ForwardRefExoticComponent<IButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
1
+ import { ReactNode, ButtonHTMLAttributes, MouseEvent } from 'react';
2
+ import { ICommonProps } from '../../types';
3
+ import { IIcon } from '../Icon';
4
+ import { IThemedPreloaderProps } from '../ThemedPreloader';
5
+ import { IButtonSize, IButtonView } from './types';
6
+ import { IButtonStyles } from './Button.styles';
7
+ export interface IButtonProps extends ICommonProps<IButtonStyles> {
8
+ children?: ReactNode;
9
+ /** @default 'button' */
10
+ type?: ButtonHTMLAttributes<unknown>['type'];
11
+ /** @default 'l' */
12
+ size?: IButtonSize;
13
+ /** @default 'primary' */
14
+ view?: IButtonView;
15
+ /** @default false */
16
+ shouldSkipTabNavigation?: boolean;
17
+ /** @default false */
18
+ isDisabled?: boolean;
19
+ /** @default false */
20
+ isFullWidth?: boolean;
21
+ /**
22
+ * Нужно ли убирать скругление у кнопки слева
23
+ * @default false
24
+ */
25
+ isInline?: boolean;
26
+ /**
27
+ * Нужно ли показать лоадер и заблокировать кнопку
28
+ * @default false
29
+ */
30
+ isLoading?: boolean;
31
+ /** @default false */
32
+ isActive?: boolean;
33
+ icon?: IIcon;
34
+ /** @default 'left' */
35
+ iconPosition?: 'left' | 'right';
36
+ /** @default 'dots' */
37
+ preloaderType?: IThemedPreloaderProps['type'];
38
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
39
+ onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
40
+ }
41
+ export declare const Button: import("react").ForwardRefExoticComponent<IButtonProps & import("react").RefAttributes<HTMLButtonElement>>;