@foxford/ui 2.36.0 → 2.37.0-beta-badf94e-20240808

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 (462) hide show
  1. package/index.js +1 -2
  2. package/package.json +22 -53
  3. package/components/ActionBtn/ActionBtn.js +0 -2
  4. package/components/ActionBtn/ActionBtn.js.map +0 -1
  5. package/components/ActionBtn/style.js +0 -2
  6. package/components/ActionBtn/style.js.map +0 -1
  7. package/components/Alert/Alert.js +0 -2
  8. package/components/Alert/Alert.js.map +0 -1
  9. package/components/Alert/CountdownCircle.js +0 -2
  10. package/components/Alert/CountdownCircle.js.map +0 -1
  11. package/components/Alert/style.js +0 -2
  12. package/components/Alert/style.js.map +0 -1
  13. package/components/Alert/utils.js +0 -2
  14. package/components/Alert/utils.js.map +0 -1
  15. package/components/Amount/Amount.js +0 -2
  16. package/components/Amount/Amount.js.map +0 -1
  17. package/components/Amount/data/index.js +0 -2
  18. package/components/Amount/data/index.js.map +0 -1
  19. package/components/Amount/style.js +0 -2
  20. package/components/Amount/style.js.map +0 -1
  21. package/components/Anchor/Anchor.js +0 -2
  22. package/components/Anchor/Anchor.js.map +0 -1
  23. package/components/Anchor/constants.js +0 -2
  24. package/components/Anchor/constants.js.map +0 -1
  25. package/components/Anchor/style.js +0 -2
  26. package/components/Anchor/style.js.map +0 -1
  27. package/components/Arrow/Arrow.js +0 -2
  28. package/components/Arrow/Arrow.js.map +0 -1
  29. package/components/Arrow/constants.js +0 -2
  30. package/components/Arrow/constants.js.map +0 -1
  31. package/components/Arrow/default-constants.js +0 -2
  32. package/components/Arrow/default-constants.js.map +0 -1
  33. package/components/Arrow/style.js +0 -2
  34. package/components/Arrow/style.js.map +0 -1
  35. package/components/ArrowBadge/ArrowBadge.js +0 -2
  36. package/components/ArrowBadge/ArrowBadge.js.map +0 -1
  37. package/components/ArrowBadge/constants.js +0 -2
  38. package/components/ArrowBadge/constants.js.map +0 -1
  39. package/components/ArrowBadge/images/arrow.module.svg.js +0 -2
  40. package/components/ArrowBadge/images/arrow.module.svg.js.map +0 -1
  41. package/components/ArrowBadge/images/fancy.module.svg.js +0 -2
  42. package/components/ArrowBadge/images/fancy.module.svg.js.map +0 -1
  43. package/components/ArrowBadge/images/rectangle.module.svg.js +0 -2
  44. package/components/ArrowBadge/images/rectangle.module.svg.js.map +0 -1
  45. package/components/ArrowBadge/style.js +0 -2
  46. package/components/ArrowBadge/style.js.map +0 -1
  47. package/components/Avatar/Avatar.js +0 -2
  48. package/components/Avatar/Avatar.js.map +0 -1
  49. package/components/Avatar/constants.js +0 -2
  50. package/components/Avatar/constants.js.map +0 -1
  51. package/components/Avatar/default-constants.js +0 -2
  52. package/components/Avatar/default-constants.js.map +0 -1
  53. package/components/Avatar/style.js +0 -2
  54. package/components/Avatar/style.js.map +0 -1
  55. package/components/Avatar/utils.js +0 -2
  56. package/components/Avatar/utils.js.map +0 -1
  57. package/components/Badge/Badge.js +0 -2
  58. package/components/Badge/Badge.js.map +0 -1
  59. package/components/Badge/constants.js +0 -2
  60. package/components/Badge/constants.js.map +0 -1
  61. package/components/Badge/style.js +0 -2
  62. package/components/Badge/style.js.map +0 -1
  63. package/components/Button/Button.js +0 -2
  64. package/components/Button/Button.js.map +0 -1
  65. package/components/Button/constants.js +0 -2
  66. package/components/Button/constants.js.map +0 -1
  67. package/components/Button/default-constants.js +0 -2
  68. package/components/Button/default-constants.js.map +0 -1
  69. package/components/Button/hooks.js +0 -2
  70. package/components/Button/hooks.js.map +0 -1
  71. package/components/Button/style.js +0 -2
  72. package/components/Button/style.js.map +0 -1
  73. package/components/Checkbox/Checkbox.js +0 -2
  74. package/components/Checkbox/Checkbox.js.map +0 -1
  75. package/components/Checkbox/Group.js +0 -2
  76. package/components/Checkbox/Group.js.map +0 -1
  77. package/components/Checkbox/images/check-default.module.svg.js +0 -2
  78. package/components/Checkbox/images/check-default.module.svg.js.map +0 -1
  79. package/components/Checkbox/images/check.module.svg.js +0 -2
  80. package/components/Checkbox/images/check.module.svg.js.map +0 -1
  81. package/components/Checkbox/style.js +0 -2
  82. package/components/Checkbox/style.js.map +0 -1
  83. package/components/Chip/Chip.js +0 -2
  84. package/components/Chip/Chip.js.map +0 -1
  85. package/components/Chip/constants.js +0 -2
  86. package/components/Chip/constants.js.map +0 -1
  87. package/components/Chip/style.js +0 -2
  88. package/components/Chip/style.js.map +0 -1
  89. package/components/Container/Container.js +0 -2
  90. package/components/Container/Container.js.map +0 -1
  91. package/components/Container/style.js +0 -2
  92. package/components/Container/style.js.map +0 -1
  93. package/components/ContextMenu/ContextMenu.js +0 -2
  94. package/components/ContextMenu/ContextMenu.js.map +0 -1
  95. package/components/ContextMenu/Item.js +0 -2
  96. package/components/ContextMenu/Item.js.map +0 -1
  97. package/components/ContextMenu/style.js +0 -2
  98. package/components/ContextMenu/style.js.map +0 -1
  99. package/components/ContextMenu/tooltip-styles.js +0 -2
  100. package/components/ContextMenu/tooltip-styles.js.map +0 -1
  101. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.js +0 -2
  102. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.js.map +0 -1
  103. package/components/ContextMenu.Multilevel/Controls.js +0 -2
  104. package/components/ContextMenu.Multilevel/Controls.js.map +0 -1
  105. package/components/ContextMenu.Multilevel/Heading.js +0 -2
  106. package/components/ContextMenu.Multilevel/Heading.js.map +0 -1
  107. package/components/ContextMenu.Multilevel/SubHeading.js +0 -2
  108. package/components/ContextMenu.Multilevel/SubHeading.js.map +0 -1
  109. package/components/ContextMenu.Multilevel/style.js +0 -2
  110. package/components/ContextMenu.Multilevel/style.js.map +0 -1
  111. package/components/FormInputLabel/FormInputLabel.js +0 -2
  112. package/components/FormInputLabel/FormInputLabel.js.map +0 -1
  113. package/components/FormInputLabel/constants.js +0 -2
  114. package/components/FormInputLabel/constants.js.map +0 -1
  115. package/components/FormInputLabel/style.js +0 -2
  116. package/components/FormInputLabel/style.js.map +0 -1
  117. package/components/FormLabel/FormLabel.js +0 -2
  118. package/components/FormLabel/FormLabel.js.map +0 -1
  119. package/components/FormLabel/constants.js +0 -2
  120. package/components/FormLabel/constants.js.map +0 -1
  121. package/components/FormLabel/style.js +0 -2
  122. package/components/FormLabel/style.js.map +0 -1
  123. package/components/Icon/Icon.js +0 -2
  124. package/components/Icon/Icon.js.map +0 -1
  125. package/components/Icon/constants.js +0 -2
  126. package/components/Icon/constants.js.map +0 -1
  127. package/components/Icon/icons.js +0 -4
  128. package/components/Icon/icons.js.map +0 -1
  129. package/components/Icon/images/blackBoard.module.svg.js +0 -2
  130. package/components/Icon/images/blackBoard.module.svg.js.map +0 -1
  131. package/components/Icon/images/book.module.svg.js +0 -2
  132. package/components/Icon/images/book.module.svg.js.map +0 -1
  133. package/components/Icon/images/burger.module.svg.js +0 -2
  134. package/components/Icon/images/burger.module.svg.js.map +0 -1
  135. package/components/Icon/images/camps.module.svg.js +0 -2
  136. package/components/Icon/images/camps.module.svg.js.map +0 -1
  137. package/components/Icon/images/cart.module.svg.js +0 -2
  138. package/components/Icon/images/cart.module.svg.js.map +0 -1
  139. package/components/Icon/images/clock.module.svg.js +0 -2
  140. package/components/Icon/images/clock.module.svg.js.map +0 -1
  141. package/components/Icon/images/clockFilled.module.svg.js +0 -2
  142. package/components/Icon/images/clockFilled.module.svg.js.map +0 -1
  143. package/components/Icon/images/coins.module.svg.js +0 -2
  144. package/components/Icon/images/coins.module.svg.js.map +0 -1
  145. package/components/Icon/images/copy.module.svg.js +0 -2
  146. package/components/Icon/images/copy.module.svg.js.map +0 -1
  147. package/components/Icon/images/courses.module.svg.js +0 -2
  148. package/components/Icon/images/courses.module.svg.js.map +0 -1
  149. package/components/Icon/images/diamond.module.svg.js +0 -2
  150. package/components/Icon/images/diamond.module.svg.js.map +0 -1
  151. package/components/Icon/images/diamondFilled.module.svg.js +0 -2
  152. package/components/Icon/images/diamondFilled.module.svg.js.map +0 -1
  153. package/components/Icon/images/diamondSolid.module.svg.js +0 -2
  154. package/components/Icon/images/diamondSolid.module.svg.js.map +0 -1
  155. package/components/Icon/images/discount.module.svg.js +0 -2
  156. package/components/Icon/images/discount.module.svg.js.map +0 -1
  157. package/components/Icon/images/edit.module.svg.js +0 -2
  158. package/components/Icon/images/edit.module.svg.js.map +0 -1
  159. package/components/Icon/images/email.module.svg.js +0 -2
  160. package/components/Icon/images/email.module.svg.js.map +0 -1
  161. package/components/Icon/images/externat.module.svg.js +0 -2
  162. package/components/Icon/images/externat.module.svg.js.map +0 -1
  163. package/components/Icon/images/eye.module.svg.js +0 -2
  164. package/components/Icon/images/eye.module.svg.js.map +0 -1
  165. package/components/Icon/images/fire.module.svg.js +0 -2
  166. package/components/Icon/images/fire.module.svg.js.map +0 -1
  167. package/components/Icon/images/headphones.module.svg.js +0 -2
  168. package/components/Icon/images/headphones.module.svg.js.map +0 -1
  169. package/components/Icon/images/infoInverse.module.svg.js +0 -2
  170. package/components/Icon/images/infoInverse.module.svg.js.map +0 -1
  171. package/components/Icon/images/list.module.svg.js +0 -2
  172. package/components/Icon/images/list.module.svg.js.map +0 -1
  173. package/components/Icon/images/login.module.svg.js +0 -2
  174. package/components/Icon/images/login.module.svg.js.map +0 -1
  175. package/components/Icon/images/logout.module.svg.js +0 -2
  176. package/components/Icon/images/logout.module.svg.js.map +0 -1
  177. package/components/Icon/images/message.module.svg.js +0 -2
  178. package/components/Icon/images/message.module.svg.js.map +0 -1
  179. package/components/Icon/images/objective.module.svg.js +0 -2
  180. package/components/Icon/images/objective.module.svg.js.map +0 -1
  181. package/components/Icon/images/page.module.svg.js +0 -2
  182. package/components/Icon/images/page.module.svg.js.map +0 -1
  183. package/components/Icon/images/person.module.svg.js +0 -2
  184. package/components/Icon/images/person.module.svg.js.map +0 -1
  185. package/components/Icon/images/phone.module.svg.js +0 -2
  186. package/components/Icon/images/phone.module.svg.js.map +0 -1
  187. package/components/Icon/images/present.module.svg.js +0 -2
  188. package/components/Icon/images/present.module.svg.js.map +0 -1
  189. package/components/Icon/images/priceTag.module.svg.js +0 -2
  190. package/components/Icon/images/priceTag.module.svg.js.map +0 -1
  191. package/components/Icon/images/print.module.svg.js +0 -2
  192. package/components/Icon/images/print.module.svg.js.map +0 -1
  193. package/components/Icon/images/prof.module.svg.js +0 -2
  194. package/components/Icon/images/prof.module.svg.js.map +0 -1
  195. package/components/Icon/images/settings.module.svg.js +0 -2
  196. package/components/Icon/images/settings.module.svg.js.map +0 -1
  197. package/components/Icon/images/sort.module.svg.js +0 -2
  198. package/components/Icon/images/sort.module.svg.js.map +0 -1
  199. package/components/Icon/images/star.module.svg.js +0 -2
  200. package/components/Icon/images/star.module.svg.js.map +0 -1
  201. package/components/Icon/images/student.module.svg.js +0 -2
  202. package/components/Icon/images/student.module.svg.js.map +0 -1
  203. package/components/Icon/images/target.module.svg.js +0 -2
  204. package/components/Icon/images/target.module.svg.js.map +0 -1
  205. package/components/Icon/images/textbook.module.svg.js +0 -2
  206. package/components/Icon/images/textbook.module.svg.js.map +0 -1
  207. package/components/Icon/images/trophy.module.svg.js +0 -2
  208. package/components/Icon/images/trophy.module.svg.js.map +0 -1
  209. package/components/Icon/images/unsort.module.svg.js +0 -2
  210. package/components/Icon/images/unsort.module.svg.js.map +0 -1
  211. package/components/Icon/images/wallet.module.svg.js +0 -2
  212. package/components/Icon/images/wallet.module.svg.js.map +0 -1
  213. package/components/Icon/style.js +0 -2
  214. package/components/Icon/style.js.map +0 -1
  215. package/components/IconButton/IconButton.js +0 -2
  216. package/components/IconButton/IconButton.js.map +0 -1
  217. package/components/IconButton/constants.js +0 -2
  218. package/components/IconButton/constants.js.map +0 -1
  219. package/components/IconButton/style.js +0 -2
  220. package/components/IconButton/style.js.map +0 -1
  221. package/components/Indicator/Indicator.js +0 -2
  222. package/components/Indicator/Indicator.js.map +0 -1
  223. package/components/Indicator/constants.js +0 -2
  224. package/components/Indicator/constants.js.map +0 -1
  225. package/components/Indicator/style.js +0 -2
  226. package/components/Indicator/style.js.map +0 -1
  227. package/components/Input/Input.js +0 -2
  228. package/components/Input/Input.js.map +0 -1
  229. package/components/Input/helpers.js +0 -2
  230. package/components/Input/helpers.js.map +0 -1
  231. package/components/Input/style.js +0 -2
  232. package/components/Input/style.js.map +0 -1
  233. package/components/Input.Phone/Input.Phone.js +0 -2
  234. package/components/Input.Phone/Input.Phone.js.map +0 -1
  235. package/components/Input.Phone/constants.js +0 -2
  236. package/components/Input.Phone/constants.js.map +0 -1
  237. package/components/InputCheckbox/InputCheckbox.js +0 -2
  238. package/components/InputCheckbox/InputCheckbox.js.map +0 -1
  239. package/components/InputCheckbox/constants.js +0 -2
  240. package/components/InputCheckbox/constants.js.map +0 -1
  241. package/components/InputCheckbox/images/checked.module.svg.js +0 -2
  242. package/components/InputCheckbox/images/checked.module.svg.js.map +0 -1
  243. package/components/InputCheckbox/images/indeterminate.module.svg.js +0 -2
  244. package/components/InputCheckbox/images/indeterminate.module.svg.js.map +0 -1
  245. package/components/InputCheckbox/style.js +0 -2
  246. package/components/InputCheckbox/style.js.map +0 -1
  247. package/components/InputRadio/InputRadio.js +0 -2
  248. package/components/InputRadio/InputRadio.js.map +0 -1
  249. package/components/InputRadio/constants.js +0 -2
  250. package/components/InputRadio/constants.js.map +0 -1
  251. package/components/InputRadio/style.js +0 -2
  252. package/components/InputRadio/style.js.map +0 -1
  253. package/components/ListItem/ListItem.js +0 -2
  254. package/components/ListItem/ListItem.js.map +0 -1
  255. package/components/ListItem/constants.js +0 -2
  256. package/components/ListItem/constants.js.map +0 -1
  257. package/components/ListItem/style.js +0 -2
  258. package/components/ListItem/style.js.map +0 -1
  259. package/components/Menu/Menu.js +0 -2
  260. package/components/Menu/Menu.js.map +0 -1
  261. package/components/MenuComponent/MenuComponent.js +0 -2
  262. package/components/MenuComponent/MenuComponent.js.map +0 -1
  263. package/components/MenuComponent/constants.js +0 -2
  264. package/components/MenuComponent/constants.js.map +0 -1
  265. package/components/MenuComponent/style.js +0 -2
  266. package/components/MenuComponent/style.js.map +0 -1
  267. package/components/MenuContainer/MenuContainer.js +0 -2
  268. package/components/MenuContainer/MenuContainer.js.map +0 -1
  269. package/components/MenuContainer/style.js +0 -2
  270. package/components/MenuContainer/style.js.map +0 -1
  271. package/components/MenuDivider/MenuDivider.js +0 -2
  272. package/components/MenuDivider/MenuDivider.js.map +0 -1
  273. package/components/MenuDivider/style.js +0 -2
  274. package/components/MenuDivider/style.js.map +0 -1
  275. package/components/MenuList/MenuList.js +0 -2
  276. package/components/MenuList/MenuList.js.map +0 -1
  277. package/components/MenuList/style.js +0 -2
  278. package/components/MenuList/style.js.map +0 -1
  279. package/components/Modal/Close.js +0 -2
  280. package/components/Modal/Close.js.map +0 -1
  281. package/components/Modal/Modal.js +0 -2
  282. package/components/Modal/Modal.js.map +0 -1
  283. package/components/Modal/adapter.js +0 -2
  284. package/components/Modal/adapter.js.map +0 -1
  285. package/components/Modal/style.js +0 -2
  286. package/components/Modal/style.js.map +0 -1
  287. package/components/Paper/Paper.js +0 -2
  288. package/components/Paper/Paper.js.map +0 -1
  289. package/components/Paper/style.js +0 -2
  290. package/components/Paper/style.js.map +0 -1
  291. package/components/Popover/Popover.js +0 -2
  292. package/components/Popover/Popover.js.map +0 -1
  293. package/components/PopoverComponent/PopoverComponent.js +0 -2
  294. package/components/PopoverComponent/PopoverComponent.js.map +0 -1
  295. package/components/PopoverComponent/constants.js +0 -2
  296. package/components/PopoverComponent/constants.js.map +0 -1
  297. package/components/PopoverComponent/style.js +0 -2
  298. package/components/PopoverComponent/style.js.map +0 -1
  299. package/components/Progress/Progress.js +0 -2
  300. package/components/Progress/Progress.js.map +0 -1
  301. package/components/Progress/style.js +0 -2
  302. package/components/Progress/style.js.map +0 -1
  303. package/components/Progress.Circle/Progress.Circle.js +0 -2
  304. package/components/Progress.Circle/Progress.Circle.js.map +0 -1
  305. package/components/Progress.Circle/style.js +0 -2
  306. package/components/Progress.Circle/style.js.map +0 -1
  307. package/components/Progress.Segmented/Progress.Segmented.js +0 -2
  308. package/components/Progress.Segmented/Progress.Segmented.js.map +0 -1
  309. package/components/Progress.Segmented/style.js +0 -2
  310. package/components/Progress.Segmented/style.js.map +0 -1
  311. package/components/Radio/Group.js +0 -2
  312. package/components/Radio/Group.js.map +0 -1
  313. package/components/Radio/Radio.js +0 -2
  314. package/components/Radio/Radio.js.map +0 -1
  315. package/components/Radio/style.js +0 -2
  316. package/components/Radio/style.js.map +0 -1
  317. package/components/Scrollable/Scrollable.js +0 -2
  318. package/components/Scrollable/Scrollable.js.map +0 -1
  319. package/components/Section/Section.js +0 -2
  320. package/components/Section/Section.js.map +0 -1
  321. package/components/Section/style.js +0 -2
  322. package/components/Section/style.js.map +0 -1
  323. package/components/Select/Select.js +0 -2
  324. package/components/Select/Select.js.map +0 -1
  325. package/components/Select/style.js +0 -2
  326. package/components/Select/style.js.map +0 -1
  327. package/components/Separator/Separator.js +0 -2
  328. package/components/Separator/Separator.js.map +0 -1
  329. package/components/Separator/SeparatorText.js +0 -2
  330. package/components/Separator/SeparatorText.js.map +0 -1
  331. package/components/Separator/style.js +0 -2
  332. package/components/Separator/style.js.map +0 -1
  333. package/components/Skeleton/Skeleton.js +0 -2
  334. package/components/Skeleton/Skeleton.js.map +0 -1
  335. package/components/Skeleton/style.js +0 -2
  336. package/components/Skeleton/style.js.map +0 -1
  337. package/components/Spacer/Spacer.js +0 -2
  338. package/components/Spacer/Spacer.js.map +0 -1
  339. package/components/Spacer/style.js +0 -2
  340. package/components/Spacer/style.js.map +0 -1
  341. package/components/Spinner/Spinner.js +0 -2
  342. package/components/Spinner/Spinner.js.map +0 -1
  343. package/components/Spinner/style.js +0 -2
  344. package/components/Spinner/style.js.map +0 -1
  345. package/components/Switcher/Switcher.js +0 -2
  346. package/components/Switcher/Switcher.js.map +0 -1
  347. package/components/Switcher/constants.js +0 -2
  348. package/components/Switcher/constants.js.map +0 -1
  349. package/components/Switcher/style.js +0 -2
  350. package/components/Switcher/style.js.map +0 -1
  351. package/components/Tab/Tab.js +0 -2
  352. package/components/Tab/Tab.js.map +0 -1
  353. package/components/Tab/constants.js +0 -2
  354. package/components/Tab/constants.js.map +0 -1
  355. package/components/Tab/default-constants.js +0 -2
  356. package/components/Tab/default-constants.js.map +0 -1
  357. package/components/Tab/images/arrow.module.svg.js +0 -2
  358. package/components/Tab/images/arrow.module.svg.js.map +0 -1
  359. package/components/Tab/style.js +0 -2
  360. package/components/Tab/style.js.map +0 -1
  361. package/components/Tabs/Tabs.js +0 -2
  362. package/components/Tabs/Tabs.js.map +0 -1
  363. package/components/Tabs/style.js +0 -2
  364. package/components/Tabs/style.js.map +0 -1
  365. package/components/Tag/Tag.js +0 -2
  366. package/components/Tag/Tag.js.map +0 -1
  367. package/components/Tag/style.js +0 -2
  368. package/components/Tag/style.js.map +0 -1
  369. package/components/Text/Text.js +0 -2
  370. package/components/Text/Text.js.map +0 -1
  371. package/components/Text/constants.js +0 -2
  372. package/components/Text/constants.js.map +0 -1
  373. package/components/Text/default-constants.js +0 -2
  374. package/components/Text/default-constants.js.map +0 -1
  375. package/components/Text/style.js +0 -2
  376. package/components/Text/style.js.map +0 -1
  377. package/components/Text.Ellipse/Text.Ellipse.js +0 -2
  378. package/components/Text.Ellipse/Text.Ellipse.js.map +0 -1
  379. package/components/Text.Ellipse/style.js +0 -2
  380. package/components/Text.Ellipse/style.js.map +0 -1
  381. package/components/Text.Heading/Text.Heading.js +0 -2
  382. package/components/Text.Heading/Text.Heading.js.map +0 -1
  383. package/components/Textarea/Textarea.js +0 -2
  384. package/components/Textarea/Textarea.js.map +0 -1
  385. package/components/Textarea/style.js +0 -2
  386. package/components/Textarea/style.js.map +0 -1
  387. package/components/Tooltip/Tooltip.js +0 -2
  388. package/components/Tooltip/Tooltip.js.map +0 -1
  389. package/components/Tooltip/TooltipWrapper.js +0 -2
  390. package/components/Tooltip/TooltipWrapper.js.map +0 -1
  391. package/components/Tooltip/default-constants.js +0 -2
  392. package/components/Tooltip/default-constants.js.map +0 -1
  393. package/components/TooltipComponent/TooltipComponent.js +0 -2
  394. package/components/TooltipComponent/TooltipComponent.js.map +0 -1
  395. package/components/TooltipComponent/constants.js +0 -2
  396. package/components/TooltipComponent/constants.js.map +0 -1
  397. package/components/TooltipComponent/style.js +0 -2
  398. package/components/TooltipComponent/style.js.map +0 -1
  399. package/dts/index.d.ts +0 -4209
  400. package/hocs/withMergedProps.js +0 -2
  401. package/hocs/withMergedProps.js.map +0 -1
  402. package/hooks/use-config-priority.js +0 -2
  403. package/hooks/use-config-priority.js.map +0 -1
  404. package/hooks/useClassname.js +0 -2
  405. package/hooks/useClassname.js.map +0 -1
  406. package/hooks/useKeyboardListener.js +0 -2
  407. package/hooks/useKeyboardListener.js.map +0 -1
  408. package/hooks/useMergedPalette.js +0 -2
  409. package/hooks/useMergedPalette.js.map +0 -1
  410. package/hooks/useMergedProps.js +0 -2
  411. package/hooks/useMergedProps.js.map +0 -1
  412. package/hooks/useMergedSizes.js +0 -2
  413. package/hooks/useMergedSizes.js.map +0 -1
  414. package/index.cjs.js +0 -4
  415. package/index.cjs.js.map +0 -1
  416. package/index.js.map +0 -1
  417. package/mixins/color.js +0 -2
  418. package/mixins/color.js.map +0 -1
  419. package/mixins/create-responsive-props.js +0 -2
  420. package/mixins/create-responsive-props.js.map +0 -1
  421. package/mixins/display.js +0 -2
  422. package/mixins/display.js.map +0 -1
  423. package/mixins/focus.js +0 -2
  424. package/mixins/focus.js.map +0 -1
  425. package/mixins/responsive-margin.js +0 -2
  426. package/mixins/responsive-margin.js.map +0 -1
  427. package/mixins/responsive-property.js +0 -2
  428. package/mixins/responsive-property.js.map +0 -1
  429. package/mixins/responsive-size.js +0 -2
  430. package/mixins/responsive-size.js.map +0 -1
  431. package/mixins/screen.js +0 -2
  432. package/mixins/screen.js.map +0 -1
  433. package/mixins/shared.js +0 -2
  434. package/mixins/shared.js.map +0 -1
  435. package/mixins/vAlign.js +0 -2
  436. package/mixins/vAlign.js.map +0 -1
  437. package/shared/constants.js +0 -2
  438. package/shared/constants.js.map +0 -1
  439. package/shared/enums/sizeInput.js +0 -2
  440. package/shared/enums/sizeInput.js.map +0 -1
  441. package/shared/regexp.js +0 -2
  442. package/shared/regexp.js.map +0 -1
  443. package/shared/utils/colors.js +0 -2
  444. package/shared/utils/colors.js.map +0 -1
  445. package/shared/utils/dom.js +0 -2
  446. package/shared/utils/dom.js.map +0 -1
  447. package/shared/utils/rel-builder.js +0 -2
  448. package/shared/utils/rel-builder.js.map +0 -1
  449. package/shared/utils/style.js +0 -2
  450. package/shared/utils/style.js.map +0 -1
  451. package/theme/colors-dark.js +0 -2
  452. package/theme/colors-dark.js.map +0 -1
  453. package/theme/colors-light.js +0 -2
  454. package/theme/colors-light.js.map +0 -1
  455. package/theme/colors.js +0 -2
  456. package/theme/colors.js.map +0 -1
  457. package/theme/global-styled.js +0 -2
  458. package/theme/global-styled.js.map +0 -1
  459. package/theme/theme-provider.js +0 -2
  460. package/theme/theme-provider.js.map +0 -1
  461. package/theme/themes.js +0 -2
  462. package/theme/themes.js.map +0 -1
package/dts/index.d.ts DELETED
@@ -1,4209 +0,0 @@
1
- /// <reference types="react" />
2
- import * as React$1 from 'react';
3
- import React__default, { CSSProperties, Component, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, PureComponent } from 'react';
4
- import * as styled_components from 'styled-components';
5
- import { DefaultTheme, FlattenSimpleInterpolation, CSSObject, Interpolation, ThemeProps, SimpleInterpolation, css, StyledProps } from 'styled-components';
6
- import { IconName as IconName$1 } from '@foxford/icon-pack';
7
- import { Props, PopperInstance, PlacementOptions, SelectorOrElement, Styles } from 'react-floater/lib/types';
8
- import { Classes } from 'react-modal';
9
- import * as rc_scrollbars_lib_Scrollbars_types from 'rc-scrollbars/lib/Scrollbars/types';
10
- import * as rc_scrollbars from 'rc-scrollbars';
11
- import { ScrollbarsProps } from 'rc-scrollbars';
12
- import { InputState, MaskOptions } from 'react-input-mask';
13
- import { ReactSelectProps } from 'react-select';
14
-
15
- declare enum DefaultColorNames {
16
- white = "white",
17
- black = "black",
18
- tundora = "tundora",
19
- paleSky = "paleSky",
20
- bostonBlue = "bostonBlue",
21
- atlantisBrightly = "atlantisBrightly",
22
- cinnabar = "cinnabar",
23
- sail = "sail",
24
- bittersweet = "bittersweet",
25
- turquoise = "turquoise",
26
- dodgerBlue = "dodgerBlue",
27
- mantis = "mantis",
28
- azure = "azure",
29
- bahamaBlue = "bahamaBlue",
30
- shamrock = "shamrock",
31
- olive = "olive",
32
- copperRose = "copperRose",
33
- cyan = "cyan",
34
- plum = "plum",
35
- hokeyPokey = "hokeyPokey",
36
- monaLisa = "monaLisa",
37
- mariner = "mariner",
38
- heliotrope = "heliotrope",
39
- dandelion = "dandelion",
40
- fruitSalad = "fruitSalad",
41
- fuchsiaBlue = "fuchsiaBlue",
42
- persianGreen = "persianGreen",
43
- watermelon = "watermelon",
44
- tropaz = "tropaz",
45
- lima = "lima",
46
- mintTulip = "mintTulip",
47
- carnationPink = "carnationPink",
48
- paleRose = "paleRose",
49
- deYork = "deYork",
50
- peppermint = "peppermint",
51
- cornflowerBlue = "cornflowerBlue",
52
- colonialWhite = "colonialWhite",
53
- cherokee = "cherokee",
54
- supernova = "supernova",
55
- picasso = "picasso",
56
- bilobaFlower = "bilobaFlower",
57
- linkWater = "linkWater",
58
- mineShaft = "mineShaft",
59
- silver = "silver",
60
- alto = "alto",
61
- mercury = "mercury",
62
- wildSand = "wildSand",
63
- whiteGray = "whiteGray",
64
- alabaster = "alabaster",
65
- whiteLilac = "whiteLilac",
66
- atlantis = "atlantis",
67
- yellowOrange = "yellowOrange",
68
- mystic = "mystic",
69
- pomegranate = "pomegranate",
70
- oliveDrab = "oliveDrab",
71
- curious = "curious",
72
- orangePeel = "orangePeel",
73
- nebula = "nebula",
74
- seaNymph = "seaNymph",
75
- chromeWhite = "chromeWhite",
76
- onahau = "onahau",
77
- citrineWhite = "citrineWhite",
78
- coralReef = "coralReef",
79
- creemBrulee = "creemBrulee",
80
- frangipani = "frangipani",
81
- yourPink = "yourPink",
82
- periwinkleGray = "periwinkleGray",
83
- baliHai = "baliHai",
84
- primary = "primary",
85
- accent = "accent",
86
- transparent = "transparent",
87
- catalinaBlue = "catalinaBlue",
88
- danube = "danube",
89
- midnightDeep = "midnightDeep",
90
- anakiva = "anakiva",
91
- azureRadiance = "azureRadiance",
92
- blueMarguerite = "blueMarguerite",
93
- blueViolet = "blueViolet",
94
- bossanova = "bossanova",
95
- capeCod = "capeCod",
96
- cerulean = "cerulean",
97
- congressBlue = "congressBlue",
98
- congressBlueLight = "congressBlueLight",
99
- creamBrulee = "creamBrulee",
100
- denim = "denim",
101
- earlyDawn = "earlyDawn",
102
- eminence = "eminence",
103
- endeavour = "endeavour",
104
- fern = "fern",
105
- ghost = "ghost",
106
- grape = "grape",
107
- gunsmoke = "gunsmoke",
108
- highland = "highland",
109
- honeyFlower = "honeyFlower",
110
- honeyFlower2 = "honeyFlower2",
111
- honeyFlower3 = "honeyFlower3",
112
- jagger = "jagger",
113
- jordyBlue = "jordyBlue",
114
- jumbo = "jumbo",
115
- mediumPurple = "mediumPurple",
116
- midnightBlue = "midnightBlue",
117
- moodyBlue = "moodyBlue",
118
- nandor = "nandor",
119
- nevada = "nevada",
120
- olivine = "olivine",
121
- parsley = "parsley",
122
- pattensBlue = "pattensBlue",
123
- pattensBlueLight = "pattensBlueLight",
124
- scarletGum = "scarletGum",
125
- scienceBlue = "scienceBlue",
126
- scienceBlue03 = "scienceBlue03",
127
- seance = "seance",
128
- smalt = "smalt",
129
- smaltLight = "smaltLight",
130
- tarawera = "tarawera",
131
- toryBlue = "toryBlue",
132
- toryBlueDark = "toryBlueDark",
133
- dodgerBlueDark = "dodgerBlueDark",
134
- chambray = "chambray",
135
- chambrayDark = "chambrayDark",
136
- pomegranateDark = "pomegranateDark",
137
- azureRadiance2 = "azureRadiance2",
138
- curiousBlue = "curiousBlue",
139
- jungleGreen = "jungleGreen",
140
- violetDeep = "violetDeep",
141
- stormGray = "stormGray",
142
- zeus = "zeus",
143
- athensGray = "athensGray",
144
- marinerLight = "marinerLight",
145
- royalBlue = "royalBlue",
146
- melrose = "melrose",
147
- zircon = "zircon",
148
- veniceBlue = "veniceBlue",
149
- solitude = "solitude",
150
- selago = "selago",
151
- coconutCream = "coconutCream",
152
- cinderella = "cinderella",
153
- royalBlueDark = "royalBlueDark",
154
- persianBlue = "persianBlue",
155
- ultramarine = "ultramarine",
156
- cornflowerBlueDark = "cornflowerBlueDark",
157
- jungleGreenDark = "jungleGreenDark",
158
- mountainMeadow = "mountainMeadow",
159
- dodgerBlueDim = "dodgerBlueDim",
160
- zirconDark = "zirconDark",
161
- pizazz = "pizazz",
162
- madison = "madison",
163
- ebony = "ebony",
164
- mediumRedViolet = "mediumRedViolet",
165
- fruitSaladLight = "fruitSaladLight",
166
- shark = "shark",
167
- azureRadianceLight = "azureRadianceLight",
168
- carnation = "carnation",
169
- limaGreen = "limaGreen",
170
- mysin = "mysin",
171
- studio = "studio",
172
- athsSpecial = "athsSpecial",
173
- thunderbird = "thunderbird",
174
- denimDark = "denimDark",
175
- puertoRico = "puertoRico",
176
- lochmara = "lochmara",
177
- aliceBlue = "aliceBlue",
178
- perano = "perano",
179
- portage = "portage",
180
- royalBlueDim = "royalBlueDim",
181
- sailDim = "sailDim",
182
- solitaire = "solitaire",
183
- capeHoney = "capeHoney",
184
- fairPink = "fairPink",
185
- romantic = "romantic",
186
- polar = "polar",
187
- cruise = "cruise",
188
- selagoLight = "selagoLight",
189
- moonRaker = "moonRaker",
190
- pippin = "pippin",
191
- yourPinkDark = "yourPinkDark",
192
- peppermintLight = "peppermintLight",
193
- fringyFlower = "fringyFlower",
194
- heliotropeDark = "heliotropeDark",
195
- pictonBlue = "pictonBlue",
196
- mediumPurpleRed = "mediumPurpleRed",
197
- scooter = "scooter",
198
- chambrayDim = "chambrayDim",
199
- dodgerBlueLight = "dodgerBlueLight",
200
- selectiveYellow = "selectiveYellow",
201
- scienceBlueDark = "scienceBlueDark",
202
- dodgerBlueDeep = "dodgerBlueDeep",
203
- kashmirBlue = "kashmirBlue",
204
- turbo = "turbo",
205
- denimDim = "denimDim",
206
- orangeRoughy = "orangeRoughy",
207
- selagoDim = "selagoDim",
208
- congressBlueNight = "congressBlueNight",
209
- azureRadianceMedium = "azureRadianceMedium",
210
- honeyFlowerDim = "honeyFlowerDim",
211
- jaguar = "jaguar",
212
- kournikova = "kournikova",
213
- drover = "drover",
214
- flamingo = "flamingo",
215
- mineShaftDim = "mineShaftDim",
216
- periwinkle = "periwinkle",
217
- colonialWhiteDim = "colonialWhiteDim",
218
- pattensBlueDeep = "pattensBlueDeep",
219
- solitudeDim = "solitudeDim",
220
- periwinkleDim = "periwinkleDim",
221
- rioGrande = "rioGrande",
222
- kournikovaDim = "kournikovaDim"
223
- }
224
- declare enum BaseColorNames {
225
- 'content-onmain-primary' = "content-onmain-primary",
226
- 'content-onmain-secondary' = "content-onmain-secondary",
227
- 'content-onmain-tertiary' = "content-onmain-tertiary",
228
- 'content-onmain-inverse' = "content-onmain-inverse",
229
- 'content-oncolor-primary' = "content-oncolor-primary",
230
- 'content-oncolor-secondary' = "content-oncolor-secondary",
231
- 'content-oncolor-tertiary' = "content-oncolor-tertiary",
232
- 'content-oncolor-inverse' = "content-oncolor-inverse",
233
- 'content-oncolor-constant' = "content-oncolor-constant",
234
- 'content-disabled' = "content-disabled",
235
- 'content-oncolor-disabled' = "content-oncolor-disabled",
236
- 'content-oncolor-hover' = "content-oncolor-hover",
237
- 'content-onmain-hover' = "content-onmain-hover",
238
- 'content-discount' = "content-discount",
239
- 'content-link' = "content-link",
240
- 'border-onmain-default-large' = "border-onmain-default-large",
241
- 'border-onmain-default-small' = "border-onmain-default-small",
242
- 'border-onmain-contrast' = "border-onmain-contrast",
243
- 'border-disabled' = "border-disabled",
244
- 'border-focus' = "border-focus",
245
- 'border-oncolor-disabled' = "border-oncolor-disabled",
246
- 'border-oncolor-default' = "border-oncolor-default",
247
- 'border-oncolor-default-large' = "border-oncolor-default-large",
248
- 'bg-onmain-main' = "bg-onmain-main",
249
- 'bg-onmain-primary' = "bg-onmain-primary",
250
- 'bg-onmain-secondary' = "bg-onmain-secondary",
251
- 'bg-onmain-tertiary' = "bg-onmain-tertiary",
252
- 'bg-onmain-divider' = "bg-onmain-divider",
253
- 'bg-onmain-contrast' = "bg-onmain-contrast",
254
- 'bg-onmain-inverse' = "bg-onmain-inverse",
255
- 'bg-oncolor-primary' = "bg-oncolor-primary",
256
- 'bg-oncolor-secondary' = "bg-oncolor-secondary",
257
- 'bg-oncolor-tertiary' = "bg-oncolor-tertiary",
258
- 'bg-oncolor-hover' = "bg-oncolor-hover",
259
- 'bg-disabled-large' = "bg-disabled-large",
260
- 'bg-disabled-small' = "bg-disabled-small",
261
- 'bg-disabled-active' = "bg-disabled-active",
262
- 'bg-oncolor-disabled' = "bg-oncolor-disabled",
263
- 'bg-contrast-active' = "bg-contrast-active",
264
- 'bg-oncontrast-hover' = "bg-oncontrast-hover",
265
- 'alert-bg-success-100' = "alert-bg-success-100",
266
- 'alert-bg-success-200' = "alert-bg-success-200",
267
- 'alert-bg-success-500' = "alert-bg-success-500",
268
- 'alert-bg-warning-100' = "alert-bg-warning-100",
269
- 'alert-bg-warning-200' = "alert-bg-warning-200",
270
- 'alert-bg-warning-500' = "alert-bg-warning-500",
271
- 'alert-bg-error-100' = "alert-bg-error-100",
272
- 'alert-bg-error-200' = "alert-bg-error-200",
273
- 'alert-bg-error-500' = "alert-bg-error-500",
274
- 'alert-success' = "alert-success",
275
- 'alert-warning' = "alert-warning",
276
- 'alert-error' = "alert-error",
277
- 'product-bg-course' = "product-bg-course",
278
- 'product-bg-tutor' = "product-bg-tutor",
279
- 'product-bg-group' = "product-bg-group",
280
- 'product-bg-complect' = "product-bg-complect",
281
- 'skeleton-onmain-primary' = "skeleton-onmain-primary",
282
- 'skeleton-onmain-secondary' = "skeleton-onmain-secondary",
283
- 'skeleton-gradient-from-color-onmain' = "skeleton-gradient-from-color-onmain",
284
- 'skeleton-gradient-to-color-onmain' = "skeleton-gradient-to-color-onmain",
285
- 'skeleton-oncolor-primary' = "skeleton-oncolor-primary",
286
- 'skeleton-oncolor-secondary' = "skeleton-oncolor-secondary",
287
- 'skeleton-gradient-from-color-oncolor' = "skeleton-gradient-from-color-oncolor",
288
- 'skeleton-gradient-to-color-oncolor' = "skeleton-gradient-to-color-oncolor",
289
- 'bg-other-badge' = "bg-other-badge",
290
- 'bg-other-black' = "bg-other-black",
291
- 'alert-bg-info-100' = "alert-bg-info-100",
292
- 'alert-bg-info-200' = "alert-bg-info-200",
293
- 'alert-bg-info-500' = "alert-bg-info-500",
294
- 'alert-info' = "alert-info",
295
- 'product-content-school' = "product-content-school",
296
- 'product-content-group' = "product-content-group",
297
- 'product-content-outclass' = "product-content-outclass",
298
- 'product-content-course' = "product-content-course",
299
- 'product-content-tutor' = "product-content-tutor",
300
- 'product-high-school' = "product-high-school",
301
- 'product-high-group' = "product-high-group",
302
- 'product-high-outclass' = "product-high-outclass",
303
- 'product-high-course' = "product-high-course",
304
- 'product-high-tutor' = "product-high-tutor",
305
- 'product-low-school' = "product-low-school",
306
- 'product-low-group' = "product-low-group",
307
- 'product-low-outclass' = "product-low-outclass",
308
- 'product-low-course' = "product-low-course",
309
- 'product-low-tutor' = "product-low-tutor"
310
- }
311
- declare enum BrandColorNames {
312
- 'content-brand-primary' = "content-brand-primary",
313
- 'content-brand-secondary' = "content-brand-secondary",
314
- 'border-brand-primary' = "border-brand-primary",
315
- 'border-brand-secondary' = "border-brand-secondary",
316
- 'border-brand-primary-hover' = "border-brand-primary-hover",
317
- 'border-brand-primary-active' = "border-brand-primary-active",
318
- 'bg-brand-primary-basic' = "bg-brand-primary-basic",
319
- 'bg-brand-primary-100' = "bg-brand-primary-100",
320
- 'bg-brand-primary-200' = "bg-brand-primary-200",
321
- 'bg-brand-primary-400' = "bg-brand-primary-400",
322
- 'bg-brand-primary-500' = "bg-brand-primary-500",
323
- 'bg-brand-secondary-basic' = "bg-brand-secondary-basic",
324
- 'bg-brand-secondary-100' = "bg-brand-secondary-100",
325
- 'bg-brand-secondary-200' = "bg-brand-secondary-200",
326
- 'bg-brand-secondary-400' = "bg-brand-secondary-400",
327
- 'bg-brand-secondary-500' = "bg-brand-secondary-500",
328
- 'bg-brand-tertiary-100' = "bg-brand-tertiary-100",
329
- 'bg-brand-tertiary-200' = "bg-brand-tertiary-200",
330
- 'bg-brand-quaternary-100' = "bg-brand-quaternary-100",
331
- 'bg-brand-quaternary-200' = "bg-brand-quaternary-200",
332
- 'bg-brand-quaternary-400' = "bg-brand-quaternary-400",
333
- 'bg-brand-quaternary-500' = "bg-brand-quaternary-500",
334
- 'bg-brand-primary-basic-active' = "bg-brand-primary-basic-active",
335
- 'bg-brand-primary-100-active' = "bg-brand-primary-100-active",
336
- 'bg-brand-primary-100-hover' = "bg-brand-primary-100-hover"
337
- }
338
- declare enum SocialColorNames {
339
- facebook = "facebook",
340
- twitter = "twitter",
341
- youtube = "youtube",
342
- instagrammagenta = "instagrammagenta",
343
- instagramblue = "instagramblue",
344
- instagrampurple = "instagrampurple",
345
- instagramorange = "instagramorange",
346
- instagramyellow = "instagramyellow",
347
- pinterest = "pinterest",
348
- googleplus = "googleplus",
349
- linkedin = "linkedin",
350
- vimeoblue = "vimeoblue",
351
- vimeogreen = "vimeogreen",
352
- vimeoorange = "vimeoorange",
353
- vimeopink = "vimeopink",
354
- tumblr = "tumblr",
355
- snapchat = "snapchat",
356
- whatsappgreen = "whatsappgreen",
357
- whatsappteal1 = "whatsappteal1",
358
- whatsappteal2 = "whatsappteal2",
359
- foursquarepink = "foursquarepink",
360
- foursquareblue = "foursquareblue",
361
- swarm = "swarm",
362
- skypeblue = "skypeblue",
363
- skypegreen = "skypegreen",
364
- android = "android",
365
- stumbleupon = "stumbleupon",
366
- flickrpink = "flickrpink",
367
- flickrblue = "flickrblue",
368
- yahoo = "yahoo",
369
- soundcloud = "soundcloud",
370
- spotifygreen = "spotifygreen",
371
- spotifydarkgreen = "spotifydarkgreen",
372
- dribbble = "dribbble",
373
- reddit = "reddit",
374
- deviantart = "deviantart",
375
- pocket = "pocket",
376
- quora = "quora",
377
- quorablue = "quorablue",
378
- slideshareorange = "slideshareorange",
379
- slideshareblue = "slideshareblue",
380
- telegram = "telegram",
381
- fivehundredpx = "fivehundredpx",
382
- listlyorange = "listlyorange",
383
- listlyblue = "listlyblue",
384
- vine = "vine",
385
- vk = "vk",
386
- ok = "ok",
387
- mailru = "mailru"
388
- }
389
- declare enum UnitColorNames {
390
- profession = "profession",
391
- professionDark = "professionDark",
392
- camps = "camps",
393
- campsDark = "campsDark",
394
- courses = "courses",
395
- coursesDark = "coursesDark",
396
- openLesson = "openLesson",
397
- openLessonDark = "openLessonDark",
398
- externat = "externat",
399
- externatDark = "externatDark",
400
- olympiad = "olympiad",
401
- olympiadDark = "olympiadDark",
402
- textbook = "textbook",
403
- textbookDark = "textbookDark",
404
- tutors = "tutors",
405
- tutorsDark = "tutorsDark",
406
- training = "training",
407
- trainingDark = "trainingDark",
408
- mathematics = "mathematics",
409
- physics = "physics",
410
- informatics = "informatics",
411
- chemistry = "chemistry",
412
- biology = "biology",
413
- english = "english",
414
- russian = "russian",
415
- history = "history",
416
- society = "society",
417
- geography = "geography",
418
- developing = "developing",
419
- literature = "literature",
420
- intersubject = "intersubject",
421
- primarySchool = "primarySchool",
422
- recommended = "recommended",
423
- astronomy = "astronomy",
424
- ecology = "ecology",
425
- technology = "technology",
426
- languages = "languages",
427
- art = "art",
428
- physicalCulture = "physicalCulture",
429
- logic = "logic",
430
- businessLogic = "businessLogic",
431
- rap = "rap",
432
- ikt = "ikt",
433
- kids = "kids",
434
- fgos = "fgos",
435
- blue = "blue",
436
- red = "red",
437
- green = "green",
438
- grey = "grey",
439
- darkgrey = "darkgrey",
440
- lightgrey = "lightgrey",
441
- superlightgrey = "superlightgrey"
442
- }
443
- declare const ColorNames: {
444
- 'content-brand-primary': (typeof BrandColorNames)["content-brand-primary"];
445
- 'content-brand-secondary': (typeof BrandColorNames)["content-brand-secondary"];
446
- 'border-brand-primary': (typeof BrandColorNames)["border-brand-primary"];
447
- 'border-brand-secondary': (typeof BrandColorNames)["border-brand-secondary"];
448
- 'border-brand-primary-hover': (typeof BrandColorNames)["border-brand-primary-hover"];
449
- 'border-brand-primary-active': (typeof BrandColorNames)["border-brand-primary-active"];
450
- 'bg-brand-primary-basic': (typeof BrandColorNames)["bg-brand-primary-basic"];
451
- 'bg-brand-primary-100': (typeof BrandColorNames)["bg-brand-primary-100"];
452
- 'bg-brand-primary-200': (typeof BrandColorNames)["bg-brand-primary-200"];
453
- 'bg-brand-primary-400': (typeof BrandColorNames)["bg-brand-primary-400"];
454
- 'bg-brand-primary-500': (typeof BrandColorNames)["bg-brand-primary-500"];
455
- 'bg-brand-secondary-basic': (typeof BrandColorNames)["bg-brand-secondary-basic"];
456
- 'bg-brand-secondary-100': (typeof BrandColorNames)["bg-brand-secondary-100"];
457
- 'bg-brand-secondary-200': (typeof BrandColorNames)["bg-brand-secondary-200"];
458
- 'bg-brand-secondary-400': (typeof BrandColorNames)["bg-brand-secondary-400"];
459
- 'bg-brand-secondary-500': (typeof BrandColorNames)["bg-brand-secondary-500"];
460
- 'bg-brand-tertiary-100': (typeof BrandColorNames)["bg-brand-tertiary-100"];
461
- 'bg-brand-tertiary-200': (typeof BrandColorNames)["bg-brand-tertiary-200"];
462
- 'bg-brand-quaternary-100': (typeof BrandColorNames)["bg-brand-quaternary-100"];
463
- 'bg-brand-quaternary-200': (typeof BrandColorNames)["bg-brand-quaternary-200"];
464
- 'bg-brand-quaternary-400': (typeof BrandColorNames)["bg-brand-quaternary-400"];
465
- 'bg-brand-quaternary-500': (typeof BrandColorNames)["bg-brand-quaternary-500"];
466
- 'bg-brand-primary-basic-active': (typeof BrandColorNames)["bg-brand-primary-basic-active"];
467
- 'bg-brand-primary-100-active': (typeof BrandColorNames)["bg-brand-primary-100-active"];
468
- 'bg-brand-primary-100-hover': (typeof BrandColorNames)["bg-brand-primary-100-hover"];
469
- 'content-onmain-primary': (typeof BaseColorNames)["content-onmain-primary"];
470
- 'content-onmain-secondary': (typeof BaseColorNames)["content-onmain-secondary"];
471
- 'content-onmain-tertiary': (typeof BaseColorNames)["content-onmain-tertiary"];
472
- 'content-onmain-inverse': (typeof BaseColorNames)["content-onmain-inverse"];
473
- 'content-oncolor-primary': (typeof BaseColorNames)["content-oncolor-primary"];
474
- 'content-oncolor-secondary': (typeof BaseColorNames)["content-oncolor-secondary"];
475
- 'content-oncolor-tertiary': (typeof BaseColorNames)["content-oncolor-tertiary"];
476
- 'content-oncolor-inverse': (typeof BaseColorNames)["content-oncolor-inverse"];
477
- 'content-oncolor-constant': (typeof BaseColorNames)["content-oncolor-constant"];
478
- 'content-disabled': (typeof BaseColorNames)["content-disabled"];
479
- 'content-oncolor-disabled': (typeof BaseColorNames)["content-oncolor-disabled"];
480
- 'content-oncolor-hover': (typeof BaseColorNames)["content-oncolor-hover"];
481
- 'content-onmain-hover': (typeof BaseColorNames)["content-onmain-hover"];
482
- 'content-discount': (typeof BaseColorNames)["content-discount"];
483
- 'content-link': (typeof BaseColorNames)["content-link"];
484
- 'border-onmain-default-large': (typeof BaseColorNames)["border-onmain-default-large"];
485
- 'border-onmain-default-small': (typeof BaseColorNames)["border-onmain-default-small"];
486
- 'border-onmain-contrast': (typeof BaseColorNames)["border-onmain-contrast"];
487
- 'border-disabled': (typeof BaseColorNames)["border-disabled"];
488
- 'border-focus': (typeof BaseColorNames)["border-focus"];
489
- 'border-oncolor-disabled': (typeof BaseColorNames)["border-oncolor-disabled"];
490
- 'border-oncolor-default': (typeof BaseColorNames)["border-oncolor-default"];
491
- 'border-oncolor-default-large': (typeof BaseColorNames)["border-oncolor-default-large"];
492
- 'bg-onmain-main': (typeof BaseColorNames)["bg-onmain-main"];
493
- 'bg-onmain-primary': (typeof BaseColorNames)["bg-onmain-primary"];
494
- 'bg-onmain-secondary': (typeof BaseColorNames)["bg-onmain-secondary"];
495
- 'bg-onmain-tertiary': (typeof BaseColorNames)["bg-onmain-tertiary"];
496
- 'bg-onmain-divider': (typeof BaseColorNames)["bg-onmain-divider"];
497
- 'bg-onmain-contrast': (typeof BaseColorNames)["bg-onmain-contrast"];
498
- 'bg-onmain-inverse': (typeof BaseColorNames)["bg-onmain-inverse"];
499
- 'bg-oncolor-primary': (typeof BaseColorNames)["bg-oncolor-primary"];
500
- 'bg-oncolor-secondary': (typeof BaseColorNames)["bg-oncolor-secondary"];
501
- 'bg-oncolor-tertiary': (typeof BaseColorNames)["bg-oncolor-tertiary"];
502
- 'bg-oncolor-hover': (typeof BaseColorNames)["bg-oncolor-hover"];
503
- 'bg-disabled-large': (typeof BaseColorNames)["bg-disabled-large"];
504
- 'bg-disabled-small': (typeof BaseColorNames)["bg-disabled-small"];
505
- 'bg-disabled-active': (typeof BaseColorNames)["bg-disabled-active"];
506
- 'bg-oncolor-disabled': (typeof BaseColorNames)["bg-oncolor-disabled"];
507
- 'bg-contrast-active': (typeof BaseColorNames)["bg-contrast-active"];
508
- 'bg-oncontrast-hover': (typeof BaseColorNames)["bg-oncontrast-hover"];
509
- 'alert-bg-success-100': (typeof BaseColorNames)["alert-bg-success-100"];
510
- 'alert-bg-success-200': (typeof BaseColorNames)["alert-bg-success-200"];
511
- 'alert-bg-success-500': (typeof BaseColorNames)["alert-bg-success-500"];
512
- 'alert-bg-warning-100': (typeof BaseColorNames)["alert-bg-warning-100"];
513
- 'alert-bg-warning-200': (typeof BaseColorNames)["alert-bg-warning-200"];
514
- 'alert-bg-warning-500': (typeof BaseColorNames)["alert-bg-warning-500"];
515
- 'alert-bg-error-100': (typeof BaseColorNames)["alert-bg-error-100"];
516
- 'alert-bg-error-200': (typeof BaseColorNames)["alert-bg-error-200"];
517
- 'alert-bg-error-500': (typeof BaseColorNames)["alert-bg-error-500"];
518
- 'alert-success': (typeof BaseColorNames)["alert-success"];
519
- 'alert-warning': (typeof BaseColorNames)["alert-warning"];
520
- 'alert-error': (typeof BaseColorNames)["alert-error"];
521
- 'product-bg-course': (typeof BaseColorNames)["product-bg-course"];
522
- 'product-bg-tutor': (typeof BaseColorNames)["product-bg-tutor"];
523
- 'product-bg-group': (typeof BaseColorNames)["product-bg-group"];
524
- 'product-bg-complect': (typeof BaseColorNames)["product-bg-complect"];
525
- 'skeleton-onmain-primary': (typeof BaseColorNames)["skeleton-onmain-primary"];
526
- 'skeleton-onmain-secondary': (typeof BaseColorNames)["skeleton-onmain-secondary"];
527
- 'skeleton-gradient-from-color-onmain': (typeof BaseColorNames)["skeleton-gradient-from-color-onmain"];
528
- 'skeleton-gradient-to-color-onmain': (typeof BaseColorNames)["skeleton-gradient-to-color-onmain"];
529
- 'skeleton-oncolor-primary': (typeof BaseColorNames)["skeleton-oncolor-primary"];
530
- 'skeleton-oncolor-secondary': (typeof BaseColorNames)["skeleton-oncolor-secondary"];
531
- 'skeleton-gradient-from-color-oncolor': (typeof BaseColorNames)["skeleton-gradient-from-color-oncolor"];
532
- 'skeleton-gradient-to-color-oncolor': (typeof BaseColorNames)["skeleton-gradient-to-color-oncolor"];
533
- 'bg-other-badge': (typeof BaseColorNames)["bg-other-badge"];
534
- 'bg-other-black': (typeof BaseColorNames)["bg-other-black"];
535
- 'alert-bg-info-100': (typeof BaseColorNames)["alert-bg-info-100"];
536
- 'alert-bg-info-200': (typeof BaseColorNames)["alert-bg-info-200"];
537
- 'alert-bg-info-500': (typeof BaseColorNames)["alert-bg-info-500"];
538
- 'alert-info': (typeof BaseColorNames)["alert-info"];
539
- 'product-content-school': (typeof BaseColorNames)["product-content-school"];
540
- 'product-content-group': (typeof BaseColorNames)["product-content-group"];
541
- 'product-content-outclass': (typeof BaseColorNames)["product-content-outclass"];
542
- 'product-content-course': (typeof BaseColorNames)["product-content-course"];
543
- 'product-content-tutor': (typeof BaseColorNames)["product-content-tutor"];
544
- 'product-high-school': (typeof BaseColorNames)["product-high-school"];
545
- 'product-high-group': (typeof BaseColorNames)["product-high-group"];
546
- 'product-high-outclass': (typeof BaseColorNames)["product-high-outclass"];
547
- 'product-high-course': (typeof BaseColorNames)["product-high-course"];
548
- 'product-high-tutor': (typeof BaseColorNames)["product-high-tutor"];
549
- 'product-low-school': (typeof BaseColorNames)["product-low-school"];
550
- 'product-low-group': (typeof BaseColorNames)["product-low-group"];
551
- 'product-low-outclass': (typeof BaseColorNames)["product-low-outclass"];
552
- 'product-low-course': (typeof BaseColorNames)["product-low-course"];
553
- 'product-low-tutor': (typeof BaseColorNames)["product-low-tutor"];
554
- profession: UnitColorNames.profession;
555
- professionDark: UnitColorNames.professionDark;
556
- camps: UnitColorNames.camps;
557
- campsDark: UnitColorNames.campsDark;
558
- courses: UnitColorNames.courses;
559
- coursesDark: UnitColorNames.coursesDark;
560
- openLesson: UnitColorNames.openLesson;
561
- openLessonDark: UnitColorNames.openLessonDark;
562
- externat: UnitColorNames.externat;
563
- externatDark: UnitColorNames.externatDark;
564
- olympiad: UnitColorNames.olympiad;
565
- olympiadDark: UnitColorNames.olympiadDark;
566
- textbook: UnitColorNames.textbook;
567
- textbookDark: UnitColorNames.textbookDark;
568
- tutors: UnitColorNames.tutors;
569
- tutorsDark: UnitColorNames.tutorsDark;
570
- training: UnitColorNames.training;
571
- trainingDark: UnitColorNames.trainingDark;
572
- mathematics: UnitColorNames.mathematics;
573
- physics: UnitColorNames.physics;
574
- informatics: UnitColorNames.informatics;
575
- chemistry: UnitColorNames.chemistry;
576
- biology: UnitColorNames.biology;
577
- english: UnitColorNames.english;
578
- russian: UnitColorNames.russian;
579
- history: UnitColorNames.history;
580
- society: UnitColorNames.society;
581
- geography: UnitColorNames.geography;
582
- developing: UnitColorNames.developing;
583
- literature: UnitColorNames.literature;
584
- intersubject: UnitColorNames.intersubject;
585
- primarySchool: UnitColorNames.primarySchool;
586
- recommended: UnitColorNames.recommended;
587
- astronomy: UnitColorNames.astronomy;
588
- ecology: UnitColorNames.ecology;
589
- technology: UnitColorNames.technology;
590
- languages: UnitColorNames.languages;
591
- art: UnitColorNames.art;
592
- physicalCulture: UnitColorNames.physicalCulture;
593
- logic: UnitColorNames.logic;
594
- businessLogic: UnitColorNames.businessLogic;
595
- rap: UnitColorNames.rap;
596
- ikt: UnitColorNames.ikt;
597
- kids: UnitColorNames.kids;
598
- fgos: UnitColorNames.fgos;
599
- blue: UnitColorNames.blue;
600
- red: UnitColorNames.red;
601
- green: UnitColorNames.green;
602
- grey: UnitColorNames.grey;
603
- darkgrey: UnitColorNames.darkgrey;
604
- lightgrey: UnitColorNames.lightgrey;
605
- superlightgrey: UnitColorNames.superlightgrey;
606
- facebook: SocialColorNames.facebook;
607
- twitter: SocialColorNames.twitter;
608
- youtube: SocialColorNames.youtube;
609
- instagrammagenta: SocialColorNames.instagrammagenta;
610
- instagramblue: SocialColorNames.instagramblue;
611
- instagrampurple: SocialColorNames.instagrampurple;
612
- instagramorange: SocialColorNames.instagramorange;
613
- instagramyellow: SocialColorNames.instagramyellow;
614
- pinterest: SocialColorNames.pinterest;
615
- googleplus: SocialColorNames.googleplus;
616
- linkedin: SocialColorNames.linkedin;
617
- vimeoblue: SocialColorNames.vimeoblue;
618
- vimeogreen: SocialColorNames.vimeogreen;
619
- vimeoorange: SocialColorNames.vimeoorange;
620
- vimeopink: SocialColorNames.vimeopink;
621
- tumblr: SocialColorNames.tumblr;
622
- snapchat: SocialColorNames.snapchat;
623
- whatsappgreen: SocialColorNames.whatsappgreen;
624
- whatsappteal1: SocialColorNames.whatsappteal1;
625
- whatsappteal2: SocialColorNames.whatsappteal2;
626
- foursquarepink: SocialColorNames.foursquarepink;
627
- foursquareblue: SocialColorNames.foursquareblue;
628
- swarm: SocialColorNames.swarm;
629
- skypeblue: SocialColorNames.skypeblue;
630
- skypegreen: SocialColorNames.skypegreen;
631
- android: SocialColorNames.android;
632
- stumbleupon: SocialColorNames.stumbleupon;
633
- flickrpink: SocialColorNames.flickrpink;
634
- flickrblue: SocialColorNames.flickrblue;
635
- yahoo: SocialColorNames.yahoo;
636
- soundcloud: SocialColorNames.soundcloud;
637
- spotifygreen: SocialColorNames.spotifygreen;
638
- spotifydarkgreen: SocialColorNames.spotifydarkgreen;
639
- dribbble: SocialColorNames.dribbble;
640
- reddit: SocialColorNames.reddit;
641
- deviantart: SocialColorNames.deviantart;
642
- pocket: SocialColorNames.pocket;
643
- quora: SocialColorNames.quora;
644
- quorablue: SocialColorNames.quorablue;
645
- slideshareorange: SocialColorNames.slideshareorange;
646
- slideshareblue: SocialColorNames.slideshareblue;
647
- telegram: SocialColorNames.telegram;
648
- fivehundredpx: SocialColorNames.fivehundredpx;
649
- listlyorange: SocialColorNames.listlyorange;
650
- listlyblue: SocialColorNames.listlyblue;
651
- vine: SocialColorNames.vine;
652
- vk: SocialColorNames.vk;
653
- ok: SocialColorNames.ok;
654
- mailru: SocialColorNames.mailru;
655
- white: DefaultColorNames.white;
656
- black: DefaultColorNames.black;
657
- tundora: DefaultColorNames.tundora;
658
- paleSky: DefaultColorNames.paleSky;
659
- bostonBlue: DefaultColorNames.bostonBlue;
660
- atlantisBrightly: DefaultColorNames.atlantisBrightly;
661
- cinnabar: DefaultColorNames.cinnabar;
662
- sail: DefaultColorNames.sail;
663
- bittersweet: DefaultColorNames.bittersweet;
664
- turquoise: DefaultColorNames.turquoise;
665
- dodgerBlue: DefaultColorNames.dodgerBlue;
666
- mantis: DefaultColorNames.mantis;
667
- azure: DefaultColorNames.azure;
668
- bahamaBlue: DefaultColorNames.bahamaBlue;
669
- shamrock: DefaultColorNames.shamrock;
670
- olive: DefaultColorNames.olive;
671
- copperRose: DefaultColorNames.copperRose;
672
- cyan: DefaultColorNames.cyan;
673
- plum: DefaultColorNames.plum;
674
- hokeyPokey: DefaultColorNames.hokeyPokey;
675
- monaLisa: DefaultColorNames.monaLisa;
676
- mariner: DefaultColorNames.mariner;
677
- heliotrope: DefaultColorNames.heliotrope;
678
- dandelion: DefaultColorNames.dandelion;
679
- fruitSalad: DefaultColorNames.fruitSalad;
680
- fuchsiaBlue: DefaultColorNames.fuchsiaBlue;
681
- persianGreen: DefaultColorNames.persianGreen;
682
- watermelon: DefaultColorNames.watermelon;
683
- tropaz: DefaultColorNames.tropaz;
684
- lima: DefaultColorNames.lima;
685
- mintTulip: DefaultColorNames.mintTulip;
686
- carnationPink: DefaultColorNames.carnationPink;
687
- paleRose: DefaultColorNames.paleRose;
688
- deYork: DefaultColorNames.deYork;
689
- peppermint: DefaultColorNames.peppermint;
690
- cornflowerBlue: DefaultColorNames.cornflowerBlue;
691
- colonialWhite: DefaultColorNames.colonialWhite;
692
- cherokee: DefaultColorNames.cherokee;
693
- supernova: DefaultColorNames.supernova;
694
- picasso: DefaultColorNames.picasso;
695
- bilobaFlower: DefaultColorNames.bilobaFlower;
696
- linkWater: DefaultColorNames.linkWater;
697
- mineShaft: DefaultColorNames.mineShaft;
698
- silver: DefaultColorNames.silver;
699
- alto: DefaultColorNames.alto;
700
- mercury: DefaultColorNames.mercury;
701
- wildSand: DefaultColorNames.wildSand;
702
- whiteGray: DefaultColorNames.whiteGray;
703
- alabaster: DefaultColorNames.alabaster;
704
- whiteLilac: DefaultColorNames.whiteLilac;
705
- atlantis: DefaultColorNames.atlantis;
706
- yellowOrange: DefaultColorNames.yellowOrange;
707
- mystic: DefaultColorNames.mystic;
708
- pomegranate: DefaultColorNames.pomegranate;
709
- oliveDrab: DefaultColorNames.oliveDrab;
710
- curious: DefaultColorNames.curious;
711
- orangePeel: DefaultColorNames.orangePeel;
712
- nebula: DefaultColorNames.nebula;
713
- seaNymph: DefaultColorNames.seaNymph;
714
- chromeWhite: DefaultColorNames.chromeWhite;
715
- onahau: DefaultColorNames.onahau;
716
- citrineWhite: DefaultColorNames.citrineWhite;
717
- coralReef: DefaultColorNames.coralReef;
718
- creemBrulee: DefaultColorNames.creemBrulee;
719
- frangipani: DefaultColorNames.frangipani;
720
- yourPink: DefaultColorNames.yourPink;
721
- periwinkleGray: DefaultColorNames.periwinkleGray;
722
- baliHai: DefaultColorNames.baliHai;
723
- primary: DefaultColorNames.primary;
724
- accent: DefaultColorNames.accent;
725
- transparent: DefaultColorNames.transparent;
726
- catalinaBlue: DefaultColorNames.catalinaBlue;
727
- danube: DefaultColorNames.danube;
728
- midnightDeep: DefaultColorNames.midnightDeep;
729
- anakiva: DefaultColorNames.anakiva;
730
- azureRadiance: DefaultColorNames.azureRadiance;
731
- blueMarguerite: DefaultColorNames.blueMarguerite;
732
- blueViolet: DefaultColorNames.blueViolet;
733
- bossanova: DefaultColorNames.bossanova;
734
- capeCod: DefaultColorNames.capeCod;
735
- cerulean: DefaultColorNames.cerulean;
736
- congressBlue: DefaultColorNames.congressBlue;
737
- congressBlueLight: DefaultColorNames.congressBlueLight;
738
- creamBrulee: DefaultColorNames.creamBrulee;
739
- denim: DefaultColorNames.denim;
740
- earlyDawn: DefaultColorNames.earlyDawn;
741
- eminence: DefaultColorNames.eminence;
742
- endeavour: DefaultColorNames.endeavour;
743
- fern: DefaultColorNames.fern;
744
- ghost: DefaultColorNames.ghost;
745
- grape: DefaultColorNames.grape;
746
- gunsmoke: DefaultColorNames.gunsmoke;
747
- highland: DefaultColorNames.highland;
748
- honeyFlower: DefaultColorNames.honeyFlower;
749
- honeyFlower2: DefaultColorNames.honeyFlower2;
750
- honeyFlower3: DefaultColorNames.honeyFlower3;
751
- jagger: DefaultColorNames.jagger;
752
- jordyBlue: DefaultColorNames.jordyBlue;
753
- jumbo: DefaultColorNames.jumbo;
754
- mediumPurple: DefaultColorNames.mediumPurple;
755
- midnightBlue: DefaultColorNames.midnightBlue;
756
- moodyBlue: DefaultColorNames.moodyBlue;
757
- nandor: DefaultColorNames.nandor;
758
- nevada: DefaultColorNames.nevada;
759
- olivine: DefaultColorNames.olivine;
760
- parsley: DefaultColorNames.parsley;
761
- pattensBlue: DefaultColorNames.pattensBlue;
762
- pattensBlueLight: DefaultColorNames.pattensBlueLight;
763
- scarletGum: DefaultColorNames.scarletGum;
764
- scienceBlue: DefaultColorNames.scienceBlue;
765
- scienceBlue03: DefaultColorNames.scienceBlue03;
766
- seance: DefaultColorNames.seance;
767
- smalt: DefaultColorNames.smalt;
768
- smaltLight: DefaultColorNames.smaltLight;
769
- tarawera: DefaultColorNames.tarawera;
770
- toryBlue: DefaultColorNames.toryBlue;
771
- toryBlueDark: DefaultColorNames.toryBlueDark;
772
- dodgerBlueDark: DefaultColorNames.dodgerBlueDark;
773
- chambray: DefaultColorNames.chambray;
774
- chambrayDark: DefaultColorNames.chambrayDark;
775
- pomegranateDark: DefaultColorNames.pomegranateDark;
776
- azureRadiance2: DefaultColorNames.azureRadiance2;
777
- curiousBlue: DefaultColorNames.curiousBlue;
778
- jungleGreen: DefaultColorNames.jungleGreen;
779
- violetDeep: DefaultColorNames.violetDeep;
780
- stormGray: DefaultColorNames.stormGray;
781
- zeus: DefaultColorNames.zeus;
782
- athensGray: DefaultColorNames.athensGray;
783
- marinerLight: DefaultColorNames.marinerLight;
784
- royalBlue: DefaultColorNames.royalBlue;
785
- melrose: DefaultColorNames.melrose;
786
- zircon: DefaultColorNames.zircon;
787
- veniceBlue: DefaultColorNames.veniceBlue;
788
- solitude: DefaultColorNames.solitude;
789
- selago: DefaultColorNames.selago;
790
- coconutCream: DefaultColorNames.coconutCream;
791
- cinderella: DefaultColorNames.cinderella;
792
- royalBlueDark: DefaultColorNames.royalBlueDark;
793
- persianBlue: DefaultColorNames.persianBlue;
794
- ultramarine: DefaultColorNames.ultramarine;
795
- cornflowerBlueDark: DefaultColorNames.cornflowerBlueDark;
796
- jungleGreenDark: DefaultColorNames.jungleGreenDark;
797
- mountainMeadow: DefaultColorNames.mountainMeadow;
798
- dodgerBlueDim: DefaultColorNames.dodgerBlueDim;
799
- zirconDark: DefaultColorNames.zirconDark;
800
- pizazz: DefaultColorNames.pizazz;
801
- madison: DefaultColorNames.madison;
802
- ebony: DefaultColorNames.ebony;
803
- mediumRedViolet: DefaultColorNames.mediumRedViolet;
804
- fruitSaladLight: DefaultColorNames.fruitSaladLight;
805
- shark: DefaultColorNames.shark;
806
- azureRadianceLight: DefaultColorNames.azureRadianceLight;
807
- carnation: DefaultColorNames.carnation;
808
- limaGreen: DefaultColorNames.limaGreen;
809
- mysin: DefaultColorNames.mysin;
810
- studio: DefaultColorNames.studio;
811
- athsSpecial: DefaultColorNames.athsSpecial;
812
- thunderbird: DefaultColorNames.thunderbird;
813
- denimDark: DefaultColorNames.denimDark;
814
- puertoRico: DefaultColorNames.puertoRico;
815
- lochmara: DefaultColorNames.lochmara;
816
- aliceBlue: DefaultColorNames.aliceBlue;
817
- perano: DefaultColorNames.perano;
818
- portage: DefaultColorNames.portage;
819
- royalBlueDim: DefaultColorNames.royalBlueDim;
820
- sailDim: DefaultColorNames.sailDim;
821
- solitaire: DefaultColorNames.solitaire;
822
- capeHoney: DefaultColorNames.capeHoney;
823
- fairPink: DefaultColorNames.fairPink;
824
- romantic: DefaultColorNames.romantic;
825
- polar: DefaultColorNames.polar;
826
- cruise: DefaultColorNames.cruise;
827
- selagoLight: DefaultColorNames.selagoLight;
828
- moonRaker: DefaultColorNames.moonRaker;
829
- pippin: DefaultColorNames.pippin;
830
- yourPinkDark: DefaultColorNames.yourPinkDark;
831
- peppermintLight: DefaultColorNames.peppermintLight;
832
- fringyFlower: DefaultColorNames.fringyFlower;
833
- heliotropeDark: DefaultColorNames.heliotropeDark;
834
- pictonBlue: DefaultColorNames.pictonBlue;
835
- mediumPurpleRed: DefaultColorNames.mediumPurpleRed;
836
- scooter: DefaultColorNames.scooter;
837
- chambrayDim: DefaultColorNames.chambrayDim;
838
- dodgerBlueLight: DefaultColorNames.dodgerBlueLight;
839
- selectiveYellow: DefaultColorNames.selectiveYellow;
840
- scienceBlueDark: DefaultColorNames.scienceBlueDark;
841
- dodgerBlueDeep: DefaultColorNames.dodgerBlueDeep;
842
- kashmirBlue: DefaultColorNames.kashmirBlue;
843
- turbo: DefaultColorNames.turbo;
844
- denimDim: DefaultColorNames.denimDim;
845
- orangeRoughy: DefaultColorNames.orangeRoughy;
846
- selagoDim: DefaultColorNames.selagoDim;
847
- congressBlueNight: DefaultColorNames.congressBlueNight;
848
- azureRadianceMedium: DefaultColorNames.azureRadianceMedium;
849
- honeyFlowerDim: DefaultColorNames.honeyFlowerDim;
850
- jaguar: DefaultColorNames.jaguar;
851
- kournikova: DefaultColorNames.kournikova;
852
- drover: DefaultColorNames.drover;
853
- flamingo: DefaultColorNames.flamingo;
854
- mineShaftDim: DefaultColorNames.mineShaftDim;
855
- periwinkle: DefaultColorNames.periwinkle;
856
- colonialWhiteDim: DefaultColorNames.colonialWhiteDim;
857
- pattensBlueDeep: DefaultColorNames.pattensBlueDeep;
858
- solitudeDim: DefaultColorNames.solitudeDim;
859
- periwinkleDim: DefaultColorNames.periwinkleDim;
860
- rioGrande: DefaultColorNames.rioGrande;
861
- kournikovaDim: DefaultColorNames.kournikovaDim;
862
- };
863
-
864
- declare type Nullable<T> = T | null | undefined;
865
- declare type HEX = `#${string}`;
866
- declare type RGB = `rgb(${number}, ${number}, ${number})`;
867
- declare type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`;
868
- declare type CSSGlobalValue = 'initial' | 'inherit' | 'unset' | 'revert' | 'revert-layer';
869
- declare type CSSUnit = 'px' | 'rem' | 'em' | '%';
870
- declare type CSSColor = RGB | RGBA | HEX | CSSGlobalValue | 'currentcolor' | 'transparent';
871
- declare type CSSBorderStyle = CSSGlobalValue | 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
872
- declare type CSSVerticalAlign = CSSGlobalValue | 'baseline' | 'sub' | 'super' | 'text-top' | 'text-bottom' | 'middle' | 'top' | 'bottom';
873
- declare type CSSFontWeight = CSSGlobalValue | 'normal' | 'bold' | 'lighter' | 'bolder' | number;
874
- declare type Size = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
875
- declare type Breakpoint = 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
876
- declare type Color = keyof typeof ColorNames | CSSColor;
877
- declare type ColorPaletteKey = 'color' | `color${string}` | `${string}Color` | `${string}Color${string}`;
878
- declare type Sizes = Record<Size, CSSProperties>;
879
- declare type ThemePreset = 'default' | 'brand';
880
- declare type ThemeMode = 'light' | 'dark';
881
- declare type ThemeName = 'mother' | 'baby' | 'teen' | 'adult';
882
-
883
- interface BaseProps {
884
- preset?: ThemePreset;
885
- className?: string;
886
- style?: React.CSSProperties;
887
- }
888
-
889
- /**
890
- * Converts HEX color code to RGB(A) string
891
- *
892
- * @export
893
- * @param {string} HEX color with length of either 3 or 6 (can be with or without '#' sign)
894
- * @param {Number} alpha channel which specifies the opacity of the color
895
- * @returns {String} RGB(A) string
896
- */
897
- declare function hexToRgbA(hex: string, alpha?: number): string;
898
- /**
899
- * Checks if value is HEX color
900
- *
901
- * @export
902
- * @param {string} HEX color with length of either 3 or 6 (can be with or without '#' sign)
903
- * @returns {boolean}
904
- */
905
- declare function isHex(hex: string): boolean;
906
-
907
- interface ThemeProviderProps {
908
- theme: Partial<DefaultTheme> | ((topLevelTheme: DefaultTheme) => DefaultTheme);
909
- children: React.ReactNode;
910
- }
911
- declare function ThemeProvider(props: ThemeProviderProps): JSX.Element;
912
-
913
- declare const defaultTheme: DefaultTheme;
914
- declare const motherLightTheme: DefaultTheme;
915
- declare const motherDarkTheme: DefaultTheme;
916
- declare const babyLightTheme: DefaultTheme;
917
- declare const babyDarkTheme: DefaultTheme;
918
- declare const teenLightTheme: DefaultTheme;
919
- declare const teenDarkTheme: DefaultTheme;
920
- declare const adultLightTheme: DefaultTheme;
921
- declare const adultDarkTheme: DefaultTheme;
922
-
923
- /**
924
- * Value for breakpoint
925
- */
926
- declare type PossibleValues = number | Size | 'auto' | 'initial' | 'inherit' | boolean;
927
- declare type PropsProperties = 'size' | 'fontSize' | 'height' | 'width' | 'top' | 'right' | 'bottom' | 'left' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'fluid';
928
- declare type CalcProperty = (_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null;
929
- declare type CssProperty = string | CalcProperty;
930
- declare type ResponsiveKeys = '' | 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
931
- declare type ResponsiveNamedProperty<T extends PropsProperties, V extends PossibleValues = PossibleValues> = {
932
- [key in `${T}${ResponsiveKeys}`]?: V;
933
- };
934
- declare type ResponsiveProperty<V = number | Size> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
935
- declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size, number>) => () => () => FlattenSimpleInterpolation | null;
936
- interface ResponsiveNamedPropertyPayload<T extends PropsProperties> {
937
- sizes: ResponsiveNamedProperty<T>;
938
- cssProperty: CssProperty;
939
- sizing?: null | string;
940
- customSizeHandler?: (_value: PossibleValues) => PossibleValues;
941
- sort?: (_a: string, _b: string) => number;
942
- predefinedSizes?: Record<Size, number>;
943
- }
944
- /**
945
- * Миксин для генерации media запросов
946
- *
947
- * @param obj.sizes Объект, в качестве ключей брэйкпоинт, в качестве значений - величина
948
- * @param obj.cssProperty CSS свойство, может быть функцией, возвращающей css`` из styled-components
949
- * @param obj.sizing значение величины, по умолчанию `px`
950
- * @param obj.customSizeHandler функция для вычисления кастомных значений величин
951
- * @returns строки медиазапросов
952
- */
953
- declare const responsiveNamedProperty: <T extends PropsProperties>({ sizes, predefinedSizes, cssProperty, sizing, customSizeHandler, sort, }: ResponsiveNamedPropertyPayload<T>) => () => () => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>[];
954
- /**
955
- * Миксин для генерации media запросов
956
- *
957
- * @param propName имя пропсы
958
- * @param cssProperty имя css свойства
959
- * @param sizing значение величины, по умолчанию `px`
960
- * @returns строки медиазапросов
961
- */
962
- declare const responsiveProperty: (propName: string, cssProperty?: string | null, sizing?: null | string) => () => (props: any) => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>> | null;
963
-
964
- declare type H = 'h1' | 'h2' | 'h3' | 'h4';
965
- interface TextHeadingProps extends Omit<TextProps, 'content' | 'as'> {
966
- /** Default set of size, lineHeight and weight props */
967
- h?: H;
968
- /** Children react node */
969
- children?: React.ReactNode;
970
- }
971
-
972
- /**
973
- * @visibleName Text.Heading
974
- */
975
- declare const TextHeading: {
976
- (props: TextHeadingProps): JSX.Element;
977
- displayName: string;
978
- };
979
-
980
- interface TextEllipseProps extends Omit<TextProps, 'content'> {
981
- /** Toggle text for folded state */
982
- moreText?: string;
983
- /** Toggle text for unfolded state */
984
- lessText?: string;
985
- /** Classname */
986
- className?: string;
987
- /** Text content */
988
- content: string | string[];
989
- /** Characters quantity for ellipsed text */
990
- chars?: number;
991
- /** Wrap text in quotes */
992
- quoted?: boolean;
993
- /** Flag to show toggler */
994
- showToggler?: boolean;
995
- }
996
- interface TextEllipseState {
997
- isUnFolded: boolean;
998
- isEllipsed: boolean;
999
- }
1000
- /**
1001
- * Расширен:
1002
- * - [`BaseProps`](#/Миксины)
1003
- * - [`Color`](#/Миксины)
1004
- * - [`Display`](#/Миксины)
1005
- * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
1006
- */
1007
- declare class TextEllipse extends Component<TextEllipseProps, TextEllipseState> {
1008
- static displayName: string;
1009
- constructor(props: TextEllipseProps);
1010
- componentDidUpdate({ content }: TextEllipseProps): void;
1011
- getContent: (props: Omit<TextEllipseProps, 'className' | 'moreText' | 'lessText' | 'showToggler' | 'content'>) => "" | JSX.Element;
1012
- getQuted: (content: string) => string;
1013
- toggle: () => void;
1014
- render(): JSX.Element;
1015
- }
1016
-
1017
- declare type ResponsivePropKey = 'size' | keyof CSSProperties;
1018
- declare type ResponsiveProps<K extends ResponsivePropKey, V> = {
1019
- [key in K]?: V | [DESKTOP: V, TABLET: V, MOBILE: V] | [XL: V, L: V, M: V, S: V, XS: V, XXS: V];
1020
- } & {
1021
- [key in `${K}${Breakpoint}`]?: V;
1022
- };
1023
-
1024
- declare type SizeProperty = 'size';
1025
- declare type SizeValue = Size | CSSGlobalValue | number;
1026
- declare type ResponsiveSizeProps = ResponsiveProps<SizeProperty, SizeValue> & {
1027
- sizeUnits?: CSSUnit;
1028
- sizes?: Partial<Sizes>;
1029
- };
1030
-
1031
- declare type MarginProperty = 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft';
1032
- declare type MarginValue = CSSGlobalValue | (string & {}) | number;
1033
- declare type ResponsiveMarginProps = ResponsiveProps<MarginProperty, MarginValue> & {
1034
- marginUnits?: CSSUnit;
1035
- };
1036
-
1037
- declare type ColorPropertyVariants = 'color' | 'fontColor' | `${string}Color` | `color${string}`;
1038
- declare type ColorCalcProperty = (_color: CSSColor) => FlattenSimpleInterpolation | null;
1039
- declare type ColorCssProperty = string | ColorCalcProperty;
1040
- declare type ColorProperty<T extends ColorPropertyVariants = 'color'> = {
1041
- [key in `${T}`]?: Color;
1042
- };
1043
- declare const color: (color?: Color | string, cssProperty?: ColorCssProperty) => () => (props: {
1044
- theme: DefaultTheme;
1045
- }) => FlattenSimpleInterpolation | null;
1046
-
1047
- declare type Display = 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'table-cell' | 'inherit' | 'none';
1048
- interface DisplayProperty {
1049
- display?: Display;
1050
- }
1051
-
1052
- declare type TypographyAppearance = 'display' | 'heading' | 'subheading' | 'subheading-compact' | 'body' | 'caption';
1053
- interface TextProps extends ResponsiveSizeProps, ResponsiveMarginProps, DisplayProperty, ColorProperty, Omit<React.ComponentPropsWithRef<'div'>, 'color'> {
1054
- /** Root node polymorphic type */
1055
- as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
1056
- /** Predefined styles and sizes */
1057
- appearance?: TypographyAppearance;
1058
- /** Font family */
1059
- fontFamily?: string;
1060
- /** Font weight */
1061
- weight?: CSSFontWeight;
1062
- /** White space */
1063
- whiteSpace?: string;
1064
- /** Font style */
1065
- fontStyle?: 'normal' | 'italic';
1066
- /** Text transform */
1067
- transform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase';
1068
- /** Underline content */
1069
- underline?: CSSBorderStyle | boolean;
1070
- /** Text align */
1071
- textAlign?: 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
1072
- /** Line height */
1073
- lineHeight?: 'l' | 'm' | 's' | 'xs' | number;
1074
- /** React children */
1075
- children?: React.ReactNode;
1076
- /** @ignore @deprecated Use Anchor interface */
1077
- underlineLinks?: boolean;
1078
- /** @ignore @deprecated Use children */
1079
- content?: string;
1080
- }
1081
-
1082
- /**
1083
- *
1084
- * Component accepts all \<div\> attributes.
1085
- *
1086
- * Responsive "size", "margin" props are supported.
1087
- *
1088
- * Exposed "ref" attached to root node.
1089
- *
1090
- * See full [TextProps](https://github.com/foxford/ui/blob/master/src/components/Text/types.ts)
1091
- */
1092
- declare const Text: React.ForwardRefExoticComponent<TextProps> & {
1093
- Heading: typeof TextHeading;
1094
- Ellipse: typeof TextEllipse;
1095
- };
1096
-
1097
- declare type IconNameDefault = 'book' | 'blackBoard' | 'burger' | 'eye' | 'email' | 'sort' | 'unsort' | 'person' | 'diamond' | 'diamondFilled' | 'diamondSolid' | 'infoInverse' | 'list' | 'login' | 'logout' | 'fire' | 'camps' | 'cart' | 'clock' | 'clockFilled' | 'courses' | 'discount' | 'externat' | 'headphones' | 'page' | 'priceTag' | 'phone' | 'prof' | 'star' | 'settings' | 'student' | 'target' | 'textbook' | 'trophy' | 'message' | 'wallet' | 'edit' | 'copy' | 'print' | 'objective' | 'present' | 'coins' | 'calendar' | 'calendar_simple' | 'chevronDown' | 'chevronUp' | 'chevronRight' | 'chevronLeft' | 'cross' | 'dialog' | 'dropDownArrow' | 'externalLink' | 'file' | 'fileBordered' | 'lessons' | 'pencil' | 'phoneNoFill' | 'radioChecked' | 'radioNotChecked' | 'search' | 'tasks' | 'tinyCross' | 'sharpCross' | 'plus' | 'plusThin' | 'play' | 'reload' | 'checkCircle' | 'info' | 'check' | 'home' | 'questionFilled' | 'document' | 'cancel' | 'playPause' | 'video';
1098
- declare type IconName = IconNameDefault | Uncapitalize<IconName$1>;
1099
- interface IconProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'span'>, 'children'> {
1100
- /** UI: brand (v3), or default (v2) */
1101
- preset?: ThemePreset;
1102
- /** Icon color */
1103
- color?: Color;
1104
- /** Built-in icon name */
1105
- name?: IconName;
1106
- /** Custom icon element */
1107
- icon?: JSX.Element;
1108
- /** Value for vertical-align */
1109
- vAlign?: 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom' | 'baseline';
1110
- /** @ignore @deprecated */
1111
- as?: React.ElementType<any>;
1112
- }
1113
-
1114
- /**
1115
- *
1116
- * Component accepts all \<span\> attributes.
1117
- *
1118
- * Responsive "size" props are supported.
1119
- *
1120
- * Exposed "ref" attached to root node.
1121
- *
1122
- * See full [IconProps](https://github.com/foxford/ui/blob/master/src/components/Icon/types.ts)
1123
- */
1124
- declare const Icon: React.ForwardRefExoticComponent<IconProps>;
1125
-
1126
- declare const defaultIcons: Record<IconNameDefault, React__default.FC>;
1127
-
1128
- declare global {
1129
- // Some users of this package are don't use "dom" libs
1130
- interface EventTarget {}
1131
- interface EventListener {}
1132
- interface EventListenerObject {}
1133
- }
1134
-
1135
- // Type definitions for history 4.7.2
1136
-
1137
-
1138
- type Action = 'PUSH' | 'POP' | 'REPLACE';
1139
- type UnregisterCallback = () => void;
1140
-
1141
- interface Location$1<S = LocationState> {
1142
- pathname: Pathname;
1143
- search: Search;
1144
- state: S;
1145
- hash: Hash;
1146
- key?: LocationKey | undefined;
1147
- }
1148
-
1149
- interface LocationDescriptorObject<S = LocationState> {
1150
- pathname?: Pathname | undefined;
1151
- search?: Search | undefined;
1152
- state?: S | undefined;
1153
- hash?: Hash | undefined;
1154
- key?: LocationKey | undefined;
1155
- }
1156
-
1157
- interface History<HistoryLocationState = LocationState> {
1158
- length: number;
1159
- action: Action;
1160
- location: Location$1<HistoryLocationState>;
1161
- push(location: Path | LocationDescriptor<HistoryLocationState>, state?: HistoryLocationState): void;
1162
- replace(location: Path | LocationDescriptor<HistoryLocationState>, state?: HistoryLocationState): void;
1163
- go(n: number): void;
1164
- goBack(): void;
1165
- goForward(): void;
1166
- block(prompt?: boolean | string | TransitionPromptHook<HistoryLocationState>): UnregisterCallback;
1167
- listen(listener: LocationListener<HistoryLocationState>): UnregisterCallback;
1168
- createHref(location: LocationDescriptorObject<HistoryLocationState>): Href;
1169
- }
1170
-
1171
- declare namespace History {
1172
- export type LocationDescriptor<S = LocationState> = Path | LocationDescriptorObject<S>;
1173
- export type LocationKey = string;
1174
- export type LocationListener<S = LocationState> = (location: Location$1<S>, action: Action) => void;
1175
-
1176
- export type LocationState = unknown;
1177
- export type Path = string;
1178
- export type Pathname = string;
1179
- export type Search = string;
1180
- export type TransitionHook<S = LocationState> = (location: Location$1<S>, callback: (result: any) => void) => any;
1181
- export type TransitionPromptHook<S = LocationState> = (
1182
- location: Location$1<S>,
1183
- action: Action,
1184
- ) => string | false | void;
1185
- export type Hash = string;
1186
- export type Href = string;
1187
- }
1188
-
1189
- type LocationDescriptor<S = LocationState> = History.LocationDescriptor<S>;
1190
- type LocationKey = History.LocationKey;
1191
- type LocationListener<S = LocationState> = History.LocationListener<S>;
1192
- type LocationState = History.LocationState;
1193
- type Path = History.Path;
1194
- type Pathname = History.Pathname;
1195
- type Search = History.Search;
1196
- type TransitionPromptHook<S = LocationState> = History.TransitionPromptHook<S>;
1197
- type Hash = History.Hash;
1198
- type Href = History.Href;
1199
-
1200
- declare type AnchorPalette = {
1201
- color: CSSColor;
1202
- colorHover: CSSColor;
1203
- colorDisabled: CSSColor;
1204
- };
1205
- interface AnchorProps extends ResponsiveSizeProps, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'a'>, 'color' | 'children'>,
1206
- /** @deprecated Use palette */
1207
- ColorProperty<'color'>,
1208
- /** @deprecated Use children as function */
1209
- DisplayProperty {
1210
- /** UI: brand (v3), or default (v2) */
1211
- preset?: ThemePreset;
1212
- /** React children */
1213
- children?: React.ReactNode | ((props: {
1214
- baseTextProps: Partial<TextProps>;
1215
- textProps: TextProps;
1216
- iconBaseProps: Partial<IconProps>;
1217
- iconProps: AnchorProps['iconProps'];
1218
- icon: AnchorProps['icon'];
1219
- }) => React.ReactNode);
1220
- /** Custom colors */
1221
- palette?: Partial<Record<keyof AnchorPalette, Color>>;
1222
- /** Props for text component */
1223
- textProps?: TextProps;
1224
- /** Underline text content */
1225
- underline?: CSSBorderStyle | boolean;
1226
- /** Icons before and after content */
1227
- icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
1228
- /** Props for icon components */
1229
- iconProps?: IconProps;
1230
- /** Build rel attribute with relBuilder from context */
1231
- autoRel?: boolean;
1232
- /** Link from react-router-dom will be used.
1233
- * Look up [docs](https://v5.reactrouter.com/web/api/Link) */
1234
- to?: string | Partial<Location$1> | ((location: Location$1) => string | Partial<Location$1>);
1235
- /** Look up react-router-dom [docs](https://v5.reactrouter.com/web/api/Link) */
1236
- replace?: boolean;
1237
- /** Anchor disabled */
1238
- disabled?: boolean;
1239
- /** Appearance variant */
1240
- onColored?: boolean;
1241
- /** Vertical alignment */
1242
- verticalAlign?: CSSVerticalAlign | boolean;
1243
- /** @ignore @deprecated Use anchor or Link interface */
1244
- as?: React.ElementType<any>;
1245
- /** @ignore @deprecated Use children */
1246
- content?: string;
1247
- /** @ignore @deprecated Use underline */
1248
- pseudo?: boolean;
1249
- /** @ignore @deprecated */
1250
- wrapper?: boolean;
1251
- }
1252
-
1253
- /**
1254
- *
1255
- * Component accepts all \<a\> attributes.
1256
- *
1257
- * Responsive "size", "margin" props are supported.
1258
- *
1259
- * Exposed "ref" attached to root node.
1260
- *
1261
- * See full [AnchorProps](https://github.com/foxford/ui/blob/master/src/components/Anchor/types.ts)
1262
- */
1263
- declare const Anchor: React.ForwardRefExoticComponent<AnchorProps>;
1264
-
1265
- declare type ButtonPalette = {
1266
- color: CSSColor;
1267
- backgroundColor: CSSColor;
1268
- borderColor: CSSColor;
1269
- colorHover: CSSColor;
1270
- backgroundColorHover: CSSColor;
1271
- borderColorHover: CSSColor;
1272
- colorActive: CSSColor;
1273
- backgroundColorActive: CSSColor;
1274
- borderColorActive: CSSColor;
1275
- colorDisabled: CSSColor;
1276
- backgroundColorDisabled: CSSColor;
1277
- borderColorDisabled: CSSColor;
1278
- shadowColor: CSSColor;
1279
- };
1280
- interface ButtonProps extends ResponsiveSizeProps, ColorProperty, ColorProperty<'fontColor'>, ResponsiveNamedProperty<'margin'>, ResponsiveNamedProperty<'marginTop'>, ResponsiveNamedProperty<'marginRight'>, ResponsiveNamedProperty<'marginBottom'>, ResponsiveNamedProperty<'marginLeft'>, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>, Omit<React.ComponentPropsWithRef<'button'>, 'color' | 'children'>,
1281
- /** @deprecated Use children as function or inline prop */
1282
- DisplayProperty,
1283
- /** @deprecated */
1284
- ResponsiveNamedProperty<'padding'>,
1285
- /** @deprecated */
1286
- ResponsiveNamedProperty<'paddingTop'>,
1287
- /** @deprecated */
1288
- ResponsiveNamedProperty<'paddingRight'>,
1289
- /** @deprecated */
1290
- ResponsiveNamedProperty<'paddingBottom'>,
1291
- /** @deprecated */
1292
- ResponsiveNamedProperty<'paddingLeft'>,
1293
- /** @deprecated Use textProps */
1294
- ResponsiveNamedProperty<'fontSize'>,
1295
- /** @deprecated Use size props */
1296
- ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
1297
- /** UI: brand (v3), or default (v2) */
1298
- preset?: ThemePreset;
1299
- /** Custom colors */
1300
- palette?: Partial<Record<keyof ButtonPalette, Color>>;
1301
- /** React children */
1302
- children?: React.ReactNode | ((props: {
1303
- baseTextProps: Partial<TextProps>;
1304
- textProps: TextProps;
1305
- iconBaseProps: Partial<IconProps>;
1306
- iconProps: ButtonProps['iconProps'];
1307
- icon: ButtonProps['icon'];
1308
- }) => React.ReactNode);
1309
- /** Props for text component */
1310
- textProps?: TextProps;
1311
- /** Display inline */
1312
- inline?: boolean;
1313
- /** Icons before and after content */
1314
- icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
1315
- /** Props for icon components */
1316
- iconProps?: IconProps;
1317
- /** Border radius 50% */
1318
- round?: boolean;
1319
- /** Appearance variant */
1320
- success?: boolean;
1321
- /** Appearance variant */
1322
- loading?: boolean;
1323
- /** Appearance variant */
1324
- black?: boolean;
1325
- /** Appearance variant */
1326
- danger?: boolean;
1327
- /** Appearance variant */
1328
- onColored?: boolean;
1329
- /** Appearance variant */
1330
- clear?: boolean;
1331
- /** Appearance variant */
1332
- base?: boolean;
1333
- /** Appearance variant */
1334
- outline?: boolean;
1335
- /** Link from react-router-dom will be used.
1336
- * Look up [docs](https://v5.reactrouter.com/web/api/Link) */
1337
- to?: string | Partial<Location$1> | ((location: Location$1) => string | Partial<Location$1>);
1338
- /** Anchor element will be used */
1339
- href?: string;
1340
- /** Anchor attribute */
1341
- target?: string;
1342
- /** Anchor attribute */
1343
- rel?: string;
1344
- /** Build rel attribute with relBuilder from context */
1345
- autoRel?: boolean;
1346
- /** @ignore Appearance variant */
1347
- primary?: boolean;
1348
- /** @ignore Appearance variant */
1349
- secondary?: boolean;
1350
- /** @ignore Appearance variant */
1351
- inverted?: boolean;
1352
- /** @ignore @deprecated */
1353
- noSpacing?: boolean;
1354
- /** @ignore @deprecated Use href or to props */
1355
- as?: React.ElementType<any>;
1356
- /** @ignore @deprecated Use textProps */
1357
- fontWeight?: TextProps['weight'];
1358
- /** @ignore @deprecated */
1359
- rounded?: boolean;
1360
- /** @ignore @deprecated */
1361
- basic?: boolean;
1362
- /** @ignore @deprecated Use children */
1363
- content?: React.ReactNode;
1364
- /** @ignore @deprecated Use ref */
1365
- innerRef?: any;
1366
- }
1367
-
1368
- /**
1369
- *
1370
- * Component accepts all \<button\> attributes.
1371
- *
1372
- * Responsive "size" props are supported.
1373
- *
1374
- * Exposed "ref" attached to root node.
1375
- *
1376
- * See full [ButtonProps](https://github.com/foxford/ui/blob/master/src/components/Button/types.ts)
1377
- */
1378
- declare const Button: React.ForwardRefExoticComponent<ButtonProps>;
1379
-
1380
- declare type AlertType = 'warning' | 'error' | 'info' | 'success';
1381
- declare type AlertSize = 'l' | 's';
1382
- interface AlertProps extends BaseProps {
1383
- /** Text of the timer cancellation button */
1384
- cancelTimerText?: string | React.ReactNode;
1385
- /** Children react node */
1386
- children?: React.ReactNode;
1387
- /** Use a colorless background */
1388
- clear?: boolean;
1389
- /** This method is taken from react-toastify library */
1390
- closeToast?(): void;
1391
- /** Icon name (for inner Icon component) */
1392
- customIcon?: IconName;
1393
- /** Any custom image (e.g.: img, svg, icon from @foxford/icon-pack) */
1394
- image?: React.ReactNode;
1395
- /** Use for tablet and mobile view */
1396
- isCompact?: boolean;
1397
- /** Display a hyperlink */
1398
- link?: {
1399
- content: string | React.ReactNode;
1400
- onClick(): void;
1401
- };
1402
- linkProps?: AnchorProps;
1403
- /** Use alert without icon */
1404
- noIcon?: boolean;
1405
- /** You can cancel the action if the timer has not expired yet */
1406
- onClickCancelTimer?(): void;
1407
- /** Display the action button */
1408
- primaryAction?: {
1409
- content: string | React.ReactNode;
1410
- onClick(): void;
1411
- };
1412
- primaryActionProps?: ButtonProps;
1413
- /** Display the second action button */
1414
- secondaryAction?: {
1415
- content: string | React.ReactNode;
1416
- onClick(): void;
1417
- };
1418
- secondaryActionProps?: ButtonProps;
1419
- /** Use this to change the appearance of the alert */
1420
- size?: AlertSize;
1421
- /** Use it when you need to move text to another line in alerts without a title */
1422
- textProps?: TextProps;
1423
- textWrap?: boolean;
1424
- /** It is used in alerts with a timer. Pass the value in seconds */
1425
- timer?: number;
1426
- /** Display a title */
1427
- title?: string;
1428
- titleProps?: TextProps;
1429
- type?: AlertType;
1430
- width?: ResponsiveProperty<string | number>;
1431
- }
1432
-
1433
- declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
1434
-
1435
- declare type ArrowPalette = {
1436
- color: CSSColor;
1437
- backgroundColor: CSSColor;
1438
- borderColor: CSSColor;
1439
- colorHover: CSSColor;
1440
- backgroundColorHover: CSSColor;
1441
- borderColorHover: CSSColor;
1442
- colorActive: CSSColor;
1443
- backgroundColorActive: CSSColor;
1444
- borderColorActive: CSSColor;
1445
- colorDisabled: CSSColor;
1446
- backgroundColorDisabled: CSSColor;
1447
- borderColorDisabled: CSSColor;
1448
- shadowColor: CSSColor;
1449
- };
1450
- interface ArrowProps extends ResponsiveSizeProps, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
1451
- /** UI: brand (v3), or default (v2) */
1452
- preset?: ThemePreset;
1453
- /** Custom colors */
1454
- palette?: Partial<Record<keyof ArrowPalette, Color>>;
1455
- /** Props for icon component */
1456
- iconProps?: IconProps;
1457
- /** Shape variant */
1458
- square?: boolean;
1459
- /** Arrow direction */
1460
- top?: boolean;
1461
- /** Arrow direction */
1462
- right?: boolean;
1463
- /** Arrow direction */
1464
- bottom?: boolean;
1465
- /** Arrow direction */
1466
- left?: boolean;
1467
- /** Appearance variant */
1468
- onColored?: boolean;
1469
- /** Appearance variant */
1470
- outline?: boolean;
1471
- /** @ignore */
1472
- inverse?: boolean;
1473
- }
1474
-
1475
- /**
1476
- *
1477
- * Component accepts all \<button\> attributes.
1478
- *
1479
- * Responsive "size", "margin" props are supported.
1480
- *
1481
- * Exposed "ref" attached to root node.
1482
- *
1483
- * See full [ArrowProps](https://github.com/foxford/ui/blob/master/src/components/Arrow/types.ts)
1484
- */
1485
- declare const Arrow: React.ForwardRefExoticComponent<ArrowProps>;
1486
-
1487
- declare type InputCheckboxPalette = {
1488
- color: CSSColor;
1489
- backgroundColor: CSSColor;
1490
- borderColor: CSSColor;
1491
- colorHover: CSSColor;
1492
- backgroundColorHover: CSSColor;
1493
- borderColorHover: CSSColor;
1494
- colorChecked: CSSColor;
1495
- backgroundColorChecked: CSSColor;
1496
- borderColorChecked: CSSColor;
1497
- colorDisabled: CSSColor;
1498
- backgroundColorDisabled: CSSColor;
1499
- borderColorDisabled: CSSColor;
1500
- colorDisabledChecked: CSSColor;
1501
- backgroundColorDisabledChecked: CSSColor;
1502
- borderColorDisabledChecked: CSSColor;
1503
- };
1504
- interface InputCheckboxProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'children'> {
1505
- /** Custom colors */
1506
- palette?: Partial<Record<keyof InputCheckboxPalette, Color>>;
1507
- /** Display inline */
1508
- inline?: boolean;
1509
- /** Indeterminate state appearance */
1510
- indeterminate?: boolean;
1511
- /** Appearance variant */
1512
- error?: boolean;
1513
- /** Appearance variant */
1514
- success?: boolean;
1515
- /** Appearance variant */
1516
- onColored?: boolean;
1517
- }
1518
-
1519
- declare type CheckboxStaticSize = 'extraSmall' | 'small' | 'medium' | 'large' | 'extraLarge' | 'xs' | 's' | 'm' | 'l' | 'xl';
1520
- declare type CheckboxSize = CheckboxStaticSize | ResponsiveProperty<`${number}rem` | number>;
1521
- interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'width' | 'value'>, BaseProps {
1522
- /** Checkbox value */
1523
- value?: string | number;
1524
- /** Checkbox size */
1525
- size?: CheckboxSize;
1526
- /** Display inline, default to true */
1527
- inline?: boolean;
1528
- /** Checkbox errored appearance */
1529
- error?: boolean;
1530
- /** Root label width 100% */
1531
- fluid?: boolean;
1532
- /** Root label width */
1533
- width?: ResponsiveProperty<number | string>;
1534
- /** Label content */
1535
- children?: React.ReactNode;
1536
- /** @preset {Brand} Checkbox success appearance */
1537
- success?: boolean;
1538
- /** @preset {Brand} Label with background */
1539
- background?: boolean;
1540
- /** @preset {Brand} Modifies appearance on colored background */
1541
- onColored?: boolean;
1542
- /** @deprecated Use children */
1543
- label?: string;
1544
- }
1545
- interface CheckboxGroupProps extends BaseProps {
1546
- inline?: boolean;
1547
- children: React.ReactNode;
1548
- }
1549
- interface CheckboxComponent extends ForwardRefExoticComponent<PropsWithoutRef<CheckboxProps> & RefAttributes<HTMLLabelElement>> {
1550
- Input: React.ForwardRefExoticComponent<InputCheckboxProps>;
1551
- Group: (props: CheckboxGroupProps) => JSX.Element;
1552
- }
1553
-
1554
- declare const Checkbox: CheckboxComponent;
1555
-
1556
- declare enum SizeInput {
1557
- l = 380,
1558
- m = 300,
1559
- s = 220,
1560
- xs = 140
1561
- }
1562
-
1563
- interface TextareaProps extends ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number>, Omit<React.ComponentPropsWithoutRef<'textarea'>, 'color'> {
1564
- /** UI: brand (v3), or default (v2) */
1565
- preset?: ThemePreset;
1566
- /** Specifies the visible max number of lines in a text area */
1567
- maxRows?: number;
1568
- /** Value */
1569
- value?: string;
1570
- /** Autosize for textarea */
1571
- autosize?: boolean;
1572
- /** Has error */
1573
- error?: boolean;
1574
- /** Take on the size of it's container */
1575
- fluid?: boolean;
1576
- /** Rounded style */
1577
- rounded?: boolean;
1578
- }
1579
-
1580
- declare const Textarea: {
1581
- (props: TextareaProps): JSX.Element;
1582
- displayName: string;
1583
- };
1584
-
1585
- interface SwitcherProps extends ColorProperty<'color'>, ColorProperty<'inactiveColor'> {
1586
- /** UI: brand (v3), or default (v2) */
1587
- preset?: ThemePreset;
1588
- /** Input id */
1589
- id?: string;
1590
- /** Class attribute */
1591
- className?: string;
1592
- /** Input name */
1593
- name?: string;
1594
- /** Input value */
1595
- value?: boolean;
1596
- /** Switcher is disabled */
1597
- disabled?: boolean;
1598
- /** Tab index */
1599
- tabIndex?: number;
1600
- /** Switcher label */
1601
- children?: React.ReactNode;
1602
- /** onChange function */
1603
- onChange?(_checked: boolean, _event: React.ChangeEvent<HTMLInputElement>): void;
1604
- }
1605
-
1606
- declare const Switcher: React$1.ForwardRefExoticComponent<SwitcherProps & React$1.RefAttributes<HTMLDivElement>>;
1607
-
1608
- declare type ArrowBadgePalette = {
1609
- color: CSSColor;
1610
- backgroundColor: CSSColor;
1611
- };
1612
- interface ArrowBadgeProps extends ResponsiveSizeProps, ResponsiveMarginProps,
1613
- /** @deprecated Use palette */
1614
- ColorProperty<'color'>,
1615
- /** @deprecated Use palette */
1616
- ColorProperty<'backgroundColor'>, Omit<React.ComponentPropsWithRef<'div'>, 'color' | 'children'> {
1617
- /** React children */
1618
- children: React.ReactNode | ((props: {
1619
- baseTextProps: Partial<TextProps>;
1620
- textProps: TextProps;
1621
- }) => React.ReactNode);
1622
- /** Custom colors */
1623
- palette?: Partial<Record<keyof ArrowBadgePalette, Color>>;
1624
- /** Props for text component */
1625
- textProps?: TextProps;
1626
- /** Appearance variant */
1627
- primary?: boolean;
1628
- /** Appearance variant */
1629
- secondary?: boolean;
1630
- /** Appearance variant */
1631
- tertiary?: boolean;
1632
- /** Appearance variant */
1633
- quaternary?: boolean;
1634
- /** Pointed left */
1635
- left?: boolean;
1636
- /** Pointed right */
1637
- right?: boolean;
1638
- /** Fancy tail shape */
1639
- fancy?: boolean;
1640
- }
1641
-
1642
- /**
1643
- *
1644
- * Component accepts all \<div\> attributes.
1645
- *
1646
- * Responsive "size", "margin" props are supported.
1647
- *
1648
- * Exposed "ref" attached to root node.
1649
- *
1650
- * See full [ArrowBadgeProps](https://github.com/foxford/ui/blob/master/src/components/ArrowBadge/types.ts)
1651
- */
1652
- declare const ArrowBadge: React.ForwardRefExoticComponent<ArrowBadgeProps>;
1653
-
1654
- declare type TabPalette = {
1655
- color: CSSColor;
1656
- backgroundColor: CSSColor;
1657
- borderColor: CSSColor;
1658
- colorHover: CSSColor;
1659
- backgroundColorHover: CSSColor;
1660
- borderColorHover: CSSColor;
1661
- colorDisabled: CSSColor;
1662
- backgroundColorDisabled: CSSColor;
1663
- borderColorDisabled: CSSColor;
1664
- };
1665
- interface TabProps extends ResponsiveSizeProps, ResponsiveMarginProps,
1666
- /** @deprecated Use palette */
1667
- ColorProperty<'color'>,
1668
- /** @deprecated Use palette */
1669
- ColorProperty<'borderColor'>, Omit<React.ComponentPropsWithRef<'button'>, 'color' | 'children'> {
1670
- /** UI: brand (v3), or default (v2) */
1671
- preset?: ThemePreset;
1672
- /** Custom colors */
1673
- palette?: Partial<Record<keyof TabPalette, Color>>;
1674
- /** React children */
1675
- children: React.ReactNode | ((props: {
1676
- textProps: TextProps;
1677
- baseTextProps: Partial<TextProps>;
1678
- }) => React.ReactNode);
1679
- /** Props for text component */
1680
- textProps?: TextProps;
1681
- /** Active appearance */
1682
- active?: boolean;
1683
- /** Appearance variant */
1684
- outline?: boolean;
1685
- /** Appearance variant */
1686
- onColored?: boolean;
1687
- /** Appearance variant */
1688
- black?: boolean;
1689
- /** Pointed left */
1690
- left?: boolean;
1691
- /** Pointed right */
1692
- right?: boolean;
1693
- /** Border radius applied */
1694
- rounded?: boolean;
1695
- /** @ignore */
1696
- compact?: boolean;
1697
- /** @ignore */
1698
- crispy?: boolean;
1699
- /** @ignore */
1700
- crispyCompact?: boolean;
1701
- /** @ignore @deprecated Use button interface */
1702
- as?: React.ElementType<any>;
1703
- /** @ignore @deprecated Use compact, crispy, crispyCompact */
1704
- theme?: 'compact' | 'crispy' | 'crispyCompact';
1705
- }
1706
-
1707
- /**
1708
- *
1709
- * Component accepts all \<button\> attributes.
1710
- *
1711
- * Responsive "size", "margin" props are supported.
1712
- *
1713
- * Exposed "ref" attached to root node.
1714
- *
1715
- * See full [TabProps](https://github.com/foxford/ui/blob/master/src/components/Tab/types.ts)
1716
- */
1717
- declare const Tab: React.ForwardRefExoticComponent<TabProps>;
1718
-
1719
- declare type BadgePalette = {
1720
- color: CSSColor;
1721
- backgroundColor: CSSColor;
1722
- };
1723
- interface BadgeProps extends ResponsiveSizeProps, ResponsiveMarginProps,
1724
- /** @deprecated Use palette */
1725
- ColorProperty,
1726
- /** @deprecated Use children as function */
1727
- DisplayProperty, Omit<React.ComponentPropsWithRef<'div'>, 'color' | 'children'> {
1728
- /** React children */
1729
- children?: React.ReactNode | ((props: {
1730
- baseTextProps: Partial<TextProps>;
1731
- textProps: TextProps;
1732
- iconBaseProps: Partial<IconProps>;
1733
- iconProps: BadgeProps['iconProps'];
1734
- icon: BadgeProps['icon'];
1735
- }) => React.ReactNode);
1736
- /** Custom colors */
1737
- palette?: Partial<Record<keyof BadgePalette, Color>>;
1738
- /** Props for text component */
1739
- textProps?: TextProps;
1740
- /** Appearance variant */
1741
- primary?: boolean;
1742
- /** Appearance variant */
1743
- secondary?: boolean;
1744
- /** Appearance variant */
1745
- tertiary?: boolean;
1746
- /** Appearance variant */
1747
- quaternary?: boolean;
1748
- /** Appearance variant */
1749
- round?: boolean;
1750
- /** Root border radius */
1751
- borderRadius?: string | number;
1752
- /** Icons before and after content */
1753
- icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
1754
- /** Props for icon components */
1755
- iconProps?: IconProps;
1756
- /** Don't use margin-right: 8px; */
1757
- resetDefaultMargin?: boolean;
1758
- /** @ignore @deprecated Use children */
1759
- content?: string | React.ReactNode;
1760
- }
1761
-
1762
- /**
1763
- *
1764
- * Component accepts all \<div\> attributes.
1765
- *
1766
- * Responsive "size", "margin" props are supported.
1767
- *
1768
- * Exposed "ref" attached to root node.
1769
- *
1770
- * See full [BadgeProps](https://github.com/foxford/ui/blob/master/src/components/Badge/types.ts)
1771
- */
1772
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps>;
1773
-
1774
- declare type SkeletonPalette = {
1775
- color: CSSColor;
1776
- gradientColor: CSSColor;
1777
- gradientHighlightColor: CSSColor;
1778
- };
1779
- interface SkeletonProps extends ResponsiveMarginProps, React.ComponentPropsWithRef<'div'> {
1780
- /** Element to infer sizing */
1781
- children?: React.ReactNode;
1782
- /** Custom colors */
1783
- palette?: Partial<Record<keyof SkeletonPalette, Color>>;
1784
- /** Display 'inline-block' */
1785
- inline?: boolean;
1786
- /** Root border-radius: 50% */
1787
- round?: boolean;
1788
- /** Root border-radius */
1789
- borderRadius?: string | number;
1790
- /** Root width */
1791
- width?: string | number;
1792
- /** Root height */
1793
- height?: string | number;
1794
- /** Value (ms) to control animation speed */
1795
- animationDuration?: number;
1796
- /** Delay to animation start (ms) to avoid flicker at fast connection */
1797
- animationDelay?: number;
1798
- /** Appearance variant */
1799
- primary?: boolean;
1800
- /** Appearance variant */
1801
- secondary?: boolean;
1802
- /** Appearance variant */
1803
- onColored?: boolean;
1804
- /** Root node type */
1805
- as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
1806
- }
1807
-
1808
- /**
1809
- *
1810
- * Component accepts all \<div\> attributes.
1811
- *
1812
- * Responsive "margin" props are supported.
1813
- *
1814
- * Exposed "ref" attached to root node.
1815
- *
1816
- * See full [SkeletonProps](https://github.com/foxford/ui/blob/master/src/components/Skeleton/types.ts)
1817
- */
1818
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps>;
1819
-
1820
- declare type TooltipComponentPalette = {
1821
- color: CSSColor;
1822
- backgroundColor: CSSColor;
1823
- shadowColor: CSSColor;
1824
- closeColor: CSSColor;
1825
- closeColorHover: CSSColor;
1826
- closeColorActive: CSSColor;
1827
- closeColorDisabled: CSSColor;
1828
- };
1829
- interface TooltipComponentProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'div'>, 'children' | 'title'> {
1830
- /** Custom colors */
1831
- palette?: Partial<Record<keyof TooltipComponentPalette, Color>>;
1832
- /** Appearance variant */
1833
- black?: boolean;
1834
- /** Appearance variant */
1835
- contrast?: boolean;
1836
- /** Title text */
1837
- title?: React.ReactNode;
1838
- /** Props for title text component */
1839
- titleProps?: TextProps;
1840
- /** Main content text */
1841
- content?: React.ReactNode;
1842
- /** Props for content text component */
1843
- contentProps?: TextProps;
1844
- /** Footer segment */
1845
- footer?: React.ReactNode;
1846
- /** Show close button */
1847
- showCloseButton?: boolean;
1848
- /** Props for close button */
1849
- closeButtonProps?: React.ComponentPropsWithoutRef<'button'>;
1850
- /** Apply drop shadow filter */
1851
- elevated?: boolean;
1852
- /** @ignore */
1853
- closeFn?: () => void;
1854
- }
1855
-
1856
- /**
1857
- *
1858
- * Component accepts all \<div\> attributes.
1859
- *
1860
- * Responsive "size" props are supported.
1861
- *
1862
- * Exposed "ref" attached to root node.
1863
- *
1864
- * See full [TooltipComponentProps](https://github.com/foxford/ui/blob/master/src/components/TooltipComponent/types.ts)
1865
- */
1866
- declare const TooltipComponent: React.ForwardRefExoticComponent<TooltipComponentProps>;
1867
-
1868
- interface TooltipProps extends ResponsiveSizeProps, React.RefAttributes<HTMLDivElement> {
1869
- /** UI: brand (v3), or default (v2) */
1870
- preset?: ThemePreset;
1871
- /** Custom colors */
1872
- palette?: Partial<Record<keyof TooltipComponentPalette, Color>>;
1873
- /** Appearance variant */
1874
- black?: boolean;
1875
- /** Appearance variant */
1876
- contrast?: boolean;
1877
- /** Open automatically */
1878
- autoOpen?: boolean;
1879
- /** It will be called on state change */
1880
- callback?: (action: 'open' | 'close', props: Props) => void;
1881
- /** Default tooltip target */
1882
- children?: React.ReactNode;
1883
- /** Custom UI for tooltip */
1884
- component?: React.ReactElement | ((props: Pick<TooltipProps, 'size' | 'sizeXXS' | 'sizeXS' | 'sizeS' | 'sizeM' | 'sizeL' | 'sizeXL' | 'black' | 'contrast' | 'showCloseButton' | 'closeButtonProps'> & {
1885
- id?: string;
1886
- role?: string;
1887
- closeFn?: () => void;
1888
- }) => React.ReactElement);
1889
- /** Tooltip content */
1890
- content?: React.ReactNode;
1891
- /** Props for content text component */
1892
- contentProps?: TextProps;
1893
- /** Debugging logs in console */
1894
- debug?: boolean;
1895
- /** Don't adjust tooltip on scroll / resize */
1896
- disableFlip?: boolean;
1897
- /** Don't convert 'hover' to 'click' event on mobile */
1898
- disableHoverToClick?: boolean;
1899
- /** Trigger event for tooltip */
1900
- event?: 'click' | 'hover';
1901
- /** Pause in 'seconds' to wait before close tooltip (valid for 'hover' event) */
1902
- eventDelay?: number;
1903
- /** Tooltip footer */
1904
- footer?: React.ReactNode;
1905
- /** Callback to get popper.js instance */
1906
- getPopper?: (popper: PopperInstance, origin: 'floater' | 'wrapper') => void;
1907
- /** Don't show tooltip arrow */
1908
- hideArrow?: boolean;
1909
- /** Distance in 'px' between tooltip and its target */
1910
- offset?: number;
1911
- /** Switch between normal and controlled modes. It will disable built in tooltip behavior */
1912
- open?: boolean;
1913
- /** Tooltip position relative to its target */
1914
- placement?: PlacementOptions;
1915
- /** CSS selector or element to render tooltips */
1916
- portalElement?: SelectorOrElement;
1917
- /** Custom styles */
1918
- styles?: Partial<Styles>;
1919
- /** Show button to close tooltip */
1920
- showCloseButton?: boolean;
1921
- /** Props for button to close tooltip */
1922
- closeButtonProps?: React.ComponentPropsWithoutRef<'button'>;
1923
- /** Tooltip target. If it's not set, 'children' will be used */
1924
- target?: SelectorOrElement;
1925
- /** Tooltip title */
1926
- title?: React.ReactNode;
1927
- /** Props for title text component */
1928
- titleProps?: TextProps;
1929
- /** Position of tooltip wrapper relative to target */
1930
- wrapperOptions?: {
1931
- offset?: number;
1932
- placement?: Omit<PlacementOptions, 'center'>;
1933
- position?: boolean;
1934
- };
1935
- }
1936
-
1937
- /**
1938
- *
1939
- * Component accepts ["react-floater"](https://www.npmjs.com/package/react-floater/v/0.8.2) v0.8.2 props.
1940
- *
1941
- * Responsive "size" props are supported.
1942
- *
1943
- * Exposed "ref" attached to tooltip component root.
1944
- *
1945
- * See full [TooltipProps](https://github.com/foxford/ui/blob/master/src/components/Tooltip/types.ts)
1946
- */
1947
- declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps> & {
1948
- Component: typeof TooltipComponent;
1949
- };
1950
-
1951
- declare type PopoverComponentPalette = {
1952
- color: CSSColor;
1953
- backgroundColor: CSSColor;
1954
- mediaPlaceholderColor: CSSColor;
1955
- shadowColor: CSSColor;
1956
- closeColor: CSSColor;
1957
- closeBackgroundColor: CSSColor;
1958
- closeColorHover: CSSColor;
1959
- closeBackgroundColorHover: CSSColor;
1960
- closeColorActive: CSSColor;
1961
- closeBackgroundColorActive: CSSColor;
1962
- closeColorDisabled: CSSColor;
1963
- closeBackgroundColorDisabled: CSSColor;
1964
- };
1965
- interface PopoverComponentProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'div'>, 'children' | 'title'> {
1966
- /** Custom colors */
1967
- palette?: Partial<Record<keyof PopoverComponentPalette, Color>>;
1968
- /** Relationship of width to height */
1969
- orientation?: 'portrait' | 'landscape';
1970
- /** Loading appearance */
1971
- loading?: boolean;
1972
- /** Badge in header */
1973
- badge?: {
1974
- text?: React.ReactNode;
1975
- badgeProps?: BadgeProps;
1976
- };
1977
- /** Short text in header */
1978
- caption?: React.ReactNode;
1979
- /** Props for text component in header */
1980
- captionProps?: TextProps;
1981
- /** Title text */
1982
- title?: React.ReactNode;
1983
- /** Props for title text component */
1984
- titleProps?: TextProps;
1985
- /** Main text content */
1986
- content?: React.ReactNode;
1987
- /** Props for main text component */
1988
- contentProps?: TextProps;
1989
- /** Show close button */
1990
- showCloseButton?: boolean;
1991
- /** Props for close button */
1992
- closeButtonProps?: React.ComponentPropsWithoutRef<'button'>;
1993
- /** Flex-direction for footer with buttons */
1994
- controlsDirection?: 'row' | 'column';
1995
- /** Media to display: \<img\> or \<video\> */
1996
- media?: {
1997
- imgProps?: React.ComponentPropsWithoutRef<'img'>;
1998
- videoProps?: React.ComponentPropsWithoutRef<'video'>;
1999
- };
2000
- /** Buttons in footer */
2001
- controls?: {
2002
- secondary?: {
2003
- text?: React.ReactNode;
2004
- buttonProps?: ButtonProps;
2005
- };
2006
- primary?: {
2007
- text?: React.ReactNode;
2008
- buttonProps?: ButtonProps;
2009
- };
2010
- };
2011
- /** Apply drop shadow filter */
2012
- elevated?: boolean;
2013
- /** @ignore */
2014
- black?: boolean;
2015
- /** @ignore */
2016
- contrast?: boolean;
2017
- /** @ignore */
2018
- closeFn?: () => void;
2019
- }
2020
-
2021
- /**
2022
- *
2023
- * Component accepts all \<div\> attributes.
2024
- *
2025
- * Responsive "size" props are supported.
2026
- *
2027
- * Exposed "ref" attached to root node.
2028
- *
2029
- * See full [PopoverComponentProps](https://github.com/foxford/ui/blob/master/src/components/PopoverComponent/types.ts)
2030
- *
2031
- */
2032
- declare const PopoverComponent: React.ForwardRefExoticComponent<PopoverComponentProps>;
2033
-
2034
- interface PopoverProps extends ResponsiveSizeProps, React.RefAttributes<HTMLDivElement> {
2035
- /** Custom colors */
2036
- palette?: Partial<Record<keyof PopoverComponentPalette, Color>>;
2037
- /** Open automatically */
2038
- autoOpen?: boolean;
2039
- /** It will be called on state change */
2040
- callback?: (action: 'open' | 'close', props: Props) => void;
2041
- /** Default tooltip target */
2042
- children?: React.ReactNode;
2043
- /** Debugging logs in console */
2044
- debug?: boolean;
2045
- /** Don't adjust tooltip on scroll / resize */
2046
- disableFlip?: boolean;
2047
- /** Don't convert 'hover' to 'click' event on mobile */
2048
- disableHoverToClick?: boolean;
2049
- /** Trigger event for tooltip */
2050
- event?: 'click' | 'hover';
2051
- /** Pause in 'seconds' to wait before close tooltip (valid for 'hover' event) */
2052
- eventDelay?: number;
2053
- /** Callback to get popper.js instance */
2054
- getPopper?: (popper: PopperInstance, origin: 'floater' | 'wrapper') => void;
2055
- /** Don't show tooltip arrow */
2056
- hideArrow?: boolean;
2057
- /** Distance in 'px' between tooltip and its target */
2058
- offset?: number;
2059
- /** Switch between normal and controlled modes. It will disable built in tooltip behavior */
2060
- open?: boolean;
2061
- /** Tooltip position relative to its target */
2062
- placement?: PlacementOptions;
2063
- /** CSS selector or element to render tooltips */
2064
- portalElement?: SelectorOrElement;
2065
- /** Custom styles */
2066
- styles?: Partial<Styles>;
2067
- /** Show button to close tooltip */
2068
- showCloseButton?: boolean;
2069
- /** Props for close button */
2070
- closeButtonProps?: React.ComponentPropsWithoutRef<'button'>;
2071
- /** Tooltip target. If it's not set, 'children' will be used */
2072
- target?: SelectorOrElement;
2073
- /** Position of tooltip wrapper relative to target */
2074
- wrapperOptions?: {
2075
- offset?: number;
2076
- placement?: Omit<PlacementOptions, 'center'>;
2077
- position?: boolean;
2078
- };
2079
- /** Relationship of width to height */
2080
- orientation?: 'portrait' | 'landscape';
2081
- /** Loading appearance */
2082
- loading?: boolean;
2083
- /** Badge in header */
2084
- badge?: {
2085
- text?: React.ReactNode;
2086
- badgeProps?: BadgeProps;
2087
- };
2088
- /** Short text in header */
2089
- caption?: React.ReactNode;
2090
- /** Props for text component in header */
2091
- captionProps?: TextProps;
2092
- /** Title text */
2093
- title?: React.ReactNode;
2094
- /** Props for title text component */
2095
- titleProps?: TextProps;
2096
- /** Main text content */
2097
- content?: React.ReactNode;
2098
- /** Props for main text component */
2099
- contentProps?: TextProps;
2100
- /** Flex-direction in footer */
2101
- controlsDirection?: 'row' | 'column';
2102
- /** Media to display: \<img\> or \<video\> */
2103
- media?: {
2104
- imgProps?: React.ComponentPropsWithoutRef<'img'>;
2105
- videoProps?: React.ComponentPropsWithoutRef<'video'>;
2106
- };
2107
- /** Buttons in footer */
2108
- controls?: {
2109
- secondary?: {
2110
- text?: React.ReactNode;
2111
- buttonProps?: ButtonProps;
2112
- };
2113
- primary?: {
2114
- text?: React.ReactNode;
2115
- buttonProps?: ButtonProps;
2116
- };
2117
- };
2118
- /** @ignore */
2119
- footer?: React.ReactNode;
2120
- /** @ignore */
2121
- black?: boolean;
2122
- /** @ignore */
2123
- contrast?: boolean;
2124
- }
2125
-
2126
- /**
2127
- *
2128
- * Component accepts ["react-floater"](https://www.npmjs.com/package/react-floater/v/0.8.2) v0.8.2 props.
2129
- *
2130
- * Responsive "size" props are supported.
2131
- *
2132
- * Exposed "ref" attached to popover component root.
2133
- *
2134
- * See full [PopoverProps](https://github.com/foxford/ui/blob/master/src/components/Popover/types.ts)
2135
- */
2136
- declare const Popover: React.ForwardRefExoticComponent<PopoverProps> & {
2137
- Component: typeof PopoverComponent;
2138
- };
2139
-
2140
- declare type ListItemPalette = {
2141
- color: CSSColor;
2142
- backgroundColor: CSSColor;
2143
- colorHover: CSSColor;
2144
- backgroundColorHover: CSSColor;
2145
- mediaPlaceholderColor: CSSColor;
2146
- };
2147
- interface ListItemProps extends ResponsiveSizeProps, ResponsiveMarginProps, Omit<React.HTMLAttributes<HTMLElement>, 'children' | 'title'>, Omit<React.ButtonHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type'>, Omit<React.AnchorHTMLAttributes<HTMLElement>, 'children' | 'title' | 'type' | 'media'> {
2148
- /** Root node type */
2149
- as?: React.ElementType;
2150
- /** Main text content or render function */
2151
- children?: React.ReactNode | ((props: Required<Pick<ListItemProps, 'textProps' | 'captionProps'>>) => React.ReactNode);
2152
- /** Control to render (checkbox, radio, button, etc.) */
2153
- control?: JSX.Element | ((props: Required<Pick<ListItemProps, 'size'>> & Pick<ListItemProps, 'sizeXXS' | 'sizeXS' | 'sizeS' | 'sizeM' | 'sizeL' | 'sizeXL' | 'onColored' | 'disabled'>) => JSX.Element);
2154
- /** Control position on horizontal axis */
2155
- controlPosition?: 'left' | 'right';
2156
- /** Icons before and after content */
2157
- icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
2158
- /** Props for icon components */
2159
- iconProps?: IconProps;
2160
- /** Media to display */
2161
- media?: React.ComponentPropsWithoutRef<'img'> | JSX.Element;
2162
- /** Media border-radius */
2163
- mediaBorderRadius?: string | number;
2164
- /** Main text (alternative to children) */
2165
- text?: React.ReactNode;
2166
- /** Props for main text component */
2167
- textProps?: TextProps;
2168
- /** Additional text */
2169
- caption?: React.ReactNode;
2170
- /** Props for caption text component */
2171
- captionProps?: TextProps;
2172
- /** Caption position relative to main text */
2173
- captionPosition?: 'top' | 'bottom';
2174
- /** Additional components */
2175
- addon?: React.ReactNode;
2176
- /** Custom colors */
2177
- palette?: Partial<Record<keyof ListItemPalette, Color>>;
2178
- /** Root border-radius */
2179
- borderRadius?: string | number;
2180
- /** Apply text-overflow: ellipsis; to text content (default true) */
2181
- ellipsis?: boolean;
2182
- /** Appearance variant */
2183
- primary?: boolean;
2184
- /** Appearance variant */
2185
- secondary?: boolean;
2186
- /** Appearance variant */
2187
- danger?: boolean;
2188
- /** Appearance variant */
2189
- active?: boolean;
2190
- /** Appearance variant */
2191
- onColored?: boolean;
2192
- /** Appearance variant */
2193
- disabled?: boolean;
2194
- /** Appearance variant */
2195
- loading?: boolean;
2196
- /** @ignore */
2197
- to?: string | Partial<Location> | ((location: Location) => string | Partial<Location>);
2198
- /** @ignore */
2199
- replace?: boolean;
2200
- /** @ignore */
2201
- ref?: ((instance: HTMLElement | null) => void) | React.RefObject<HTMLElement> | null | undefined;
2202
- /** @ignore */
2203
- type?: string;
2204
- }
2205
-
2206
- /**
2207
- *
2208
- * Component accepts all root HTML attributes.
2209
- *
2210
- * Responsive "size", "margin" props are supported.
2211
- *
2212
- * Exposed "ref" attached to root node.
2213
- *
2214
- * See full [ListItemProps](https://github.com/foxford/ui/blob/master/src/components/ListItem/types.ts)
2215
- */
2216
- declare const ListItem: React.ForwardRefExoticComponent<ListItemProps>;
2217
-
2218
- declare type IndicatorPalette = {
2219
- color: CSSColor;
2220
- backgroundColor: CSSColor;
2221
- shadowColor: CSSColor;
2222
- };
2223
- interface IndicatorProps extends ResponsiveSizeProps, React.ComponentPropsWithRef<'span'> {
2224
- /** Custom colors */
2225
- palette?: Partial<Record<keyof IndicatorPalette, Color>>;
2226
- /** Text content */
2227
- children?: React.ReactNode;
2228
- /** Text content (alternative to children) */
2229
- text?: React.ReactNode;
2230
- /** Props for text component */
2231
- textProps?: TextProps;
2232
- /** Appearance variant */
2233
- primary?: boolean;
2234
- /** Appearance variant */
2235
- secondary?: boolean;
2236
- /** Appearance variant */
2237
- black?: boolean;
2238
- /** Appearance variant */
2239
- grey?: boolean;
2240
- /** Appearance variant */
2241
- onColored?: boolean;
2242
- /** Enable pulse animation */
2243
- pulse?: boolean;
2244
- /** Pulse animation iteration count */
2245
- pulseIterationCount?: number;
2246
- /** Apply shadow styles */
2247
- frame?: boolean;
2248
- }
2249
-
2250
- /**
2251
- *
2252
- * Component accepts all \<span\> attributes.
2253
- *
2254
- * Responsive "size" props are supported.
2255
- *
2256
- * Exposed "ref" attached to root node.
2257
- *
2258
- * See full [IndicatorProps](https://github.com/foxford/ui/blob/master/src/components/Indicator/types.ts)
2259
- */
2260
- declare const Indicator: React.ForwardRefExoticComponent<IndicatorProps>;
2261
-
2262
- declare type AvatarPalette = {
2263
- color: CSSColor;
2264
- backgroundColor: CSSColor;
2265
- shadowColor: CSSColor;
2266
- };
2267
- interface AvatarProps extends Omit<ResponsiveSizeProps, 'size'>, ResponsiveMarginProps,
2268
- /** @deprecated Use palette */
2269
- ColorProperty<'color'>, Omit<React.ComponentPropsWithRef<'span'>, 'color'> {
2270
- /** UI: brand (v3), or default (v2) */
2271
- preset?: ThemePreset;
2272
- /** @ignore Component size */
2273
- size?: ResponsiveSizeProps['size'] | 'sm';
2274
- /** Custom colors */
2275
- palette?: Partial<Record<keyof AvatarPalette, Color>>;
2276
- /** Text content (alternative to image) */
2277
- text?: string;
2278
- /** Props for text component */
2279
- textProps?: TextProps;
2280
- /** Avatar img url */
2281
- src?: string;
2282
- /** Apply shadow styles */
2283
- shadow?: boolean;
2284
- /** Shape variant */
2285
- square?: boolean;
2286
- /** Loading appearance */
2287
- loading?: boolean;
2288
- }
2289
-
2290
- /**
2291
- *
2292
- * Component accepts all \<span\> attributes.
2293
- *
2294
- * Responsive "size", "margin" props are supported.
2295
- *
2296
- * Exposed "ref" attached to root node.
2297
- *
2298
- * See full [AvatarProps](https://github.com/foxford/ui/blob/master/src/components/Avatar/types.ts)
2299
- */
2300
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps>;
2301
-
2302
- declare type IconButtonPalette = {
2303
- color: CSSColor;
2304
- backgroundColor: CSSColor;
2305
- colorHover: CSSColor;
2306
- backgroundColorHover: CSSColor;
2307
- colorActive: CSSColor;
2308
- backgroundColorActive: CSSColor;
2309
- colorDisabled: CSSColor;
2310
- backgroundColorDisabled: CSSColor;
2311
- };
2312
- interface IconButtonProps extends ResponsiveSizeProps, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'button'>, 'children'> {
2313
- /** Custom colors */
2314
- palette?: Partial<Record<keyof IconButtonPalette, Color>>;
2315
- /** Icon to display */
2316
- icon?: JSX.Element | IconName;
2317
- /** Props for icon component */
2318
- iconProps?: IconProps;
2319
- /** Shape variant */
2320
- square?: boolean;
2321
- /** Appearance variant */
2322
- primary?: boolean;
2323
- /** Appearance variant */
2324
- secondary?: boolean;
2325
- /** Appearance variant */
2326
- contrast?: boolean;
2327
- }
2328
-
2329
- /**
2330
- *
2331
- * Component accepts all \<button\> attributes.
2332
- *
2333
- * Responsive "size", "margin" props are supported.
2334
- *
2335
- * Exposed "ref" attached to root node.
2336
- *
2337
- * See full [IconButtonProps](https://github.com/foxford/ui/blob/master/src/components/IconButton/types.ts)
2338
- */
2339
- declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps>;
2340
-
2341
- declare type ChipPalette = {
2342
- color: CSSColor;
2343
- backgroundColor: CSSColor;
2344
- borderColor: CSSColor;
2345
- colorHover: CSSColor;
2346
- backgroundColorHover: CSSColor;
2347
- borderColorHover: CSSColor;
2348
- colorDisabled: CSSColor;
2349
- backgroundColorDisabled: CSSColor;
2350
- borderColorDisabled: CSSColor;
2351
- };
2352
- interface ChipProps extends ResponsiveSizeProps, ResponsiveMarginProps, React.RefAttributes<HTMLElement>, Omit<React.ButtonHTMLAttributes<HTMLElement>, 'children'> {
2353
- /** Custom colors */
2354
- palette?: Partial<Record<keyof ChipPalette, Color>>;
2355
- /** Main text content or render function */
2356
- children?: React.ReactNode | ((props: {
2357
- textProps: TextProps;
2358
- captionProps: TextProps;
2359
- discardButtonProps: IconButtonProps;
2360
- }) => React.ReactNode);
2361
- /** Main text (alternative to children) */
2362
- text?: React.ReactNode;
2363
- /** Props for main text component */
2364
- textProps?: TextProps;
2365
- /** Additional text */
2366
- caption?: React.ReactNode;
2367
- /** Props for caption text component */
2368
- captionProps?: TextProps;
2369
- /** Icons before and after content */
2370
- icon?: JSX.Element | IconName | [Nullable<JSX.Element | IconName>, Nullable<JSX.Element | IconName>];
2371
- /** Props for icon components */
2372
- iconProps?: IconProps;
2373
- /** Props for avatar component */
2374
- avatarProps?: AvatarProps;
2375
- /** Props for indicator component */
2376
- indicatorProps?: IndicatorProps;
2377
- /** Props for button with 'close' icon */
2378
- discardButtonProps?: IconButtonProps;
2379
- /** Appearance variant */
2380
- primary?: boolean;
2381
- /** Appearance variant */
2382
- secondary?: boolean;
2383
- /** Appearance variant */
2384
- outline?: boolean;
2385
- /** Appearance variant */
2386
- black?: boolean;
2387
- /** Appearance variant */
2388
- contrast?: boolean;
2389
- /** Appearance variant */
2390
- active?: boolean;
2391
- }
2392
-
2393
- /**
2394
- *
2395
- * Component accepts all root HTML attributes.
2396
- *
2397
- * Responsive "size", "margin" props are supported.
2398
- *
2399
- * Exposed "ref" attached to root node.
2400
- *
2401
- * See full [ChipProps](https://github.com/foxford/ui/blob/master/src/components/Chip/types.ts)
2402
- */
2403
- declare const Chip: React.ForwardRefExoticComponent<ChipProps>;
2404
-
2405
- declare type MenuComponentPalette = {
2406
- backgroundColor: CSSColor;
2407
- borderColor: CSSColor;
2408
- shadowColor: CSSColor;
2409
- };
2410
- interface MenuComponentProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'div'>, 'children'> {
2411
- /** Custom colors */
2412
- palette?: Partial<Record<keyof MenuComponentPalette, Color>>;
2413
- /** Appearance variant */
2414
- primary?: boolean;
2415
- /** Appearance variant */
2416
- secondary?: boolean;
2417
- /** Apply drop shadow filter */
2418
- elevated?: boolean;
2419
- /** Value change will set focus on first focusable descendent */
2420
- autoFocus?: unknown;
2421
- /** Disable autoFocus behavior (usage discourage, unless you manage focus by yourself) */
2422
- disableAutoFocus?: boolean;
2423
- /** Root max-height */
2424
- maxHeight?: string | number;
2425
- /** Callback to call on unmount (can be used to restore focus on trigger component) */
2426
- onUnmount?: () => void;
2427
- /** Render menu view (Menu.List, Menu.Container, or custom component) */
2428
- children: React.ReactElement | ((props: Pick<MenuComponentProps, 'size' | 'sizeXXS' | 'sizeXS' | 'sizeS' | 'sizeM' | 'sizeL' | 'sizeXL' | 'showCloseButton' | 'closeButtonProps'> & {
2429
- closeFn: () => void;
2430
- }) => React.ReactElement);
2431
- /** Show button to close menu (forward to children) */
2432
- showCloseButton?: boolean;
2433
- /** Props for close button (forward to children) */
2434
- closeButtonProps?: IconButtonProps;
2435
- /** @ignore Internal callback */
2436
- closeFn?: () => void;
2437
- }
2438
-
2439
- /**
2440
- *
2441
- * Component accepts all \<div\> attributes.
2442
- *
2443
- * Responsive "size" props are supported.
2444
- *
2445
- * Exposed "ref" attached to root node.
2446
- *
2447
- * See full [MenuComponentProps](https://github.com/foxford/ui/blob/master/src/components/MenuComponent/types.ts)
2448
- */
2449
- declare const MenuComponent: React.ForwardRefExoticComponent<MenuComponentProps>;
2450
-
2451
- interface MenuListProps extends ResponsiveSizeProps, React.ComponentPropsWithRef<'ul'> {
2452
- /** Menu items (React elements receive "size" props) */
2453
- children: React.ReactNode;
2454
- /** Space between list items */
2455
- gap?: string | number;
2456
- }
2457
-
2458
- /**
2459
- *
2460
- * Component accepts all \<ul\> attributes.
2461
- *
2462
- * Responsive "size" props are forwarded to children elements.
2463
- *
2464
- * Exposed "ref" attached to root node.
2465
- *
2466
- * See full [MenuListProps](https://github.com/foxford/ui/blob/master/src/components/MenuList/types.ts)
2467
- */
2468
- declare const MenuList: React.ForwardRefExoticComponent<MenuListProps>;
2469
-
2470
- interface MenuContainerProps extends React.ComponentPropsWithRef<'div'> {
2471
- /** Show button with 'close' icon */
2472
- showCloseButton?: boolean;
2473
- /** Props for close button */
2474
- closeButtonProps?: IconButtonProps;
2475
- /** @ignore Internal callback */
2476
- closeFn?: () => void;
2477
- }
2478
-
2479
- /**
2480
- *
2481
- * Component accepts all \<div\> attributes.
2482
- *
2483
- * Exposed "ref" attached to root node.
2484
- *
2485
- * See full [MenuContainerProps](https://github.com/foxford/ui/blob/master/src/components/MenuContainer/types.ts)
2486
- */
2487
- declare const MenuContainer: React.ForwardRefExoticComponent<MenuContainerProps>;
2488
-
2489
- declare type MenuDividerPalette = {
2490
- color: CSSColor;
2491
- lineColor: CSSColor;
2492
- };
2493
- interface MenuDividerProps extends React.ComponentPropsWithRef<'div'> {
2494
- /** Custom colors */
2495
- palette?: Partial<Record<keyof MenuDividerPalette, Color>>;
2496
- /** Text content */
2497
- children?: React.ReactNode;
2498
- /** Text content (alternative to children) */
2499
- text?: React.ReactNode;
2500
- /** Props for text component */
2501
- textProps?: TextProps;
2502
- }
2503
-
2504
- /**
2505
- *
2506
- * Component accepts all \<div\> attributes.
2507
- *
2508
- * Exposed "ref" attached to root node.
2509
- *
2510
- * See full [MenuDividerProps](https://github.com/foxford/ui/blob/master/src/components/MenuDivider/types.ts)
2511
- */
2512
- declare const MenuDivider: React.ForwardRefExoticComponent<MenuDividerProps>;
2513
-
2514
- interface MenuProps extends ResponsiveSizeProps, React.RefAttributes<HTMLDivElement> {
2515
- /** Open automatically */
2516
- autoOpen?: boolean;
2517
- /** It will be called on state change */
2518
- callback?: (action: 'open' | 'close', props: Props) => void;
2519
- /** Menu trigger and its target */
2520
- children?: React.ReactNode;
2521
- /** Debugging logs in console */
2522
- debug?: boolean;
2523
- /** Don't adjust menu on scroll / resize (default true) */
2524
- disableFlip?: boolean;
2525
- /** Callback to get popper.js instance */
2526
- getPopper?: (popper: PopperInstance, origin: 'floater' | 'wrapper') => void;
2527
- /** Distance in px between menu and its target (default 8px) */
2528
- offset?: number;
2529
- /** Switch between normal and controlled modes. It will disable built in menu behavior */
2530
- open?: boolean;
2531
- /** Menu position relative to its target (default bottom-start) */
2532
- placement?: PlacementOptions;
2533
- /** CSS selector or element to render menus */
2534
- portalElement?: SelectorOrElement;
2535
- /** Custom styles */
2536
- styles?: Partial<Styles>;
2537
- /** Render menu view (Menu.List, Menu.Container, or custom component) */
2538
- render: React.ReactElement | ((props: Pick<MenuProps, 'size' | 'sizeXXS' | 'sizeXS' | 'sizeS' | 'sizeM' | 'sizeL' | 'sizeXL' | 'showCloseButton' | 'closeButtonProps'> & {
2539
- closeFn: () => void;
2540
- }) => React.ReactElement);
2541
- /** Appearance variant */
2542
- primary?: boolean;
2543
- /** Appearance variant */
2544
- secondary?: boolean;
2545
- /** Custom colors */
2546
- palette?: Partial<Record<keyof MenuComponentPalette, Color>>;
2547
- /** Value change will set focus on first focusable descendent */
2548
- autoFocus?: unknown;
2549
- /** Disable autoFocus behavior (usage discourage, unless you manage focus by yourself) */
2550
- disableAutoFocus?: boolean;
2551
- /** Show button to close menu (applicable for Menu.Container, or custom component) */
2552
- showCloseButton?: boolean;
2553
- /** Props for close button */
2554
- closeButtonProps?: IconButtonProps;
2555
- /** Menu component max-height */
2556
- maxHeight?: string | number;
2557
- }
2558
-
2559
- /**
2560
- *
2561
- * Component accepts ["react-floater"](https://www.npmjs.com/package/react-floater/v/0.8.2) v0.8.2 props.
2562
- *
2563
- * Responsive "size" props are supported.
2564
- *
2565
- * Exposed "ref" attached to menu component root.
2566
- *
2567
- * See full [MenuProps](https://github.com/foxford/ui/blob/master/src/components/Menu/types.ts)
2568
- */
2569
- declare const Menu: React.ForwardRefExoticComponent<MenuProps> & {
2570
- Component: typeof MenuComponent;
2571
- List: typeof MenuList;
2572
- Container: typeof MenuContainer;
2573
- Divider: typeof MenuDivider;
2574
- };
2575
-
2576
- interface Theme {
2577
- breakpoints: Readonly<Record<Lowercase<Breakpoint>, number>>;
2578
- colors: Record<keyof typeof ColorNames, CSSColor>;
2579
- borderRadius: string;
2580
- textColor?: string;
2581
- fallbackColor?: string;
2582
- zIndex: {
2583
- modal: number;
2584
- tooltip: number;
2585
- };
2586
- classNamePrefix: string;
2587
- defaultInputControlsWidth: number | keyof typeof SizeInput | 'auto';
2588
- domain?: string;
2589
- utils?: {
2590
- relBuilder?: (_link?: string, _target?: string) => undefined | string;
2591
- hexToRgbA?: (hex: string, alpha?: number) => string;
2592
- };
2593
- mode: ThemeMode;
2594
- preset: ThemePreset;
2595
- name: ThemeName;
2596
- components?: {
2597
- Alert?: AlertProps;
2598
- Anchor?: AnchorProps;
2599
- Arrow?: ArrowProps;
2600
- ArrowBadge?: ArrowBadgeProps;
2601
- Avatar?: AvatarProps;
2602
- Badge?: BadgeProps;
2603
- Button?: ButtonProps;
2604
- Checkbox?: CheckboxProps;
2605
- Chip?: ChipProps;
2606
- IconButton?: IconButtonProps;
2607
- Indicator?: IndicatorProps;
2608
- ListItem?: ListItemProps;
2609
- Popover?: PopoverProps;
2610
- PopoverComponent?: PopoverComponentProps;
2611
- Skeleton?: SkeletonProps;
2612
- Switcher?: SwitcherProps;
2613
- Tab?: TabProps;
2614
- Text?: TextProps;
2615
- 'Text.Heading'?: TextHeadingProps;
2616
- Textarea?: TextareaProps;
2617
- Tooltip?: TooltipProps;
2618
- TooltipComponent?: TooltipComponentProps;
2619
- Menu?: MenuProps;
2620
- MenuComponentProps?: MenuComponentProps;
2621
- };
2622
- }
2623
-
2624
- declare type MediaQueryParams = {
2625
- and?: string;
2626
- condition?: (_props: any) => boolean;
2627
- };
2628
- /**
2629
- * @return `@media screen and (min-width: 320px) and (max-width: 374px) { ...args }`
2630
- */
2631
- declare const screenXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2632
- /**
2633
- * @return `@media screen and (min-width: 375px) and (max-width: 767px) { ...args }`
2634
- */
2635
- declare const screenS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2636
- /**
2637
- * @return `@media screen and (min-width: 768) and (max-width: 1023px) { ...args }`
2638
- */
2639
- declare const screenM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2640
- /**
2641
- * @return `@media screen and (min-width: 1024px) and (max-width: 1279px) { ...args }`
2642
- */
2643
- declare const screenL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2644
- /**
2645
- * @return `@media screen and (min-width: 1280px) and (max-width: 1439px) { ...args }`
2646
- */
2647
- declare const screenXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2648
- /**
2649
- * @return `@media screen and (max-width: 319px) { ...args }`
2650
- */
2651
- declare const screenMaxXxs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2652
- /**
2653
- * @return `@media screen and (max-width: 374px) { ...args }`
2654
- */
2655
- declare const screenMaxXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2656
- /**
2657
- * @return `@media screen and (min-width: 375px) { ...args }`
2658
- */
2659
- declare const screenMinXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2660
- /**
2661
- * @return `@media screen and (max-width: 767px) { ...args }`
2662
- */
2663
- declare const screenMaxS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2664
- /**
2665
- * @return `@media screen and (min-width: 768px) { ...args }`
2666
- */
2667
- declare const screenMinS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2668
- /**
2669
- * @return `@media screen and (max-width: 1023px) { ...args }`
2670
- */
2671
- declare const screenMaxM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2672
- /**
2673
- * @return `@media screen and (min-width: 1024px) { ...args }`
2674
- */
2675
- declare const screenMinM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2676
- /**
2677
- * @return `@media screen and (max-width: 1279px) { ...args }`
2678
- */
2679
- declare const screenMaxL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2680
- /**
2681
- * @return `@media screen and (min-width: 1280px) { ...args }`
2682
- */
2683
- declare const screenMinL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2684
- /**
2685
- * @return `@media screen and (max-width: 1439px) { ...args }`
2686
- */
2687
- declare const screenMaxXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2688
- /**
2689
- * @return `@media screen and (min-width: 1440px) { ...args }`
2690
- */
2691
- declare const screenMinXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: ThemeProps<DefaultTheme>) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
2692
- /**
2693
- * @return `@media -webkit-min-device-pixel-ratio: 2 and (min-resolution: 192dpi) { ...args }`
2694
- */
2695
- declare const screenRetina: (args_0: TemplateStringsArray | CSSObject, args_1: SimpleInterpolation) => styled_components.FlattenSimpleInterpolation;
2696
-
2697
- declare const vAlign: (vAlign: 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom' | 'baseline') => styled_components.FlattenSimpleInterpolation;
2698
-
2699
- declare function buildMediaQuery(value: number | Size | 'auto' | 'initial' | 'inherit' | boolean, property: string | ((_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null), screenQueryFunction: typeof screenXs, sizing: null | string, sizes?: Record<Size, number>): ReturnType<typeof css>;
2700
- declare const desktopFirst: (a: string, b: string) => number;
2701
- declare const mobileFirst: (a: string, b: string) => number;
2702
-
2703
- interface ActionBtnProps extends BaseProps, DisplayProperty {
2704
- /** Icon name (for inner Icon component) */
2705
- icon?: IconName;
2706
- disabled?: boolean;
2707
- active?: boolean;
2708
- onClick?(): void;
2709
- /**
2710
- * Children react node
2711
- */
2712
- children?: React.ReactNode;
2713
- }
2714
- /**
2715
- * Расширен:
2716
- * - [`BaseProps`](#/Миксины)
2717
- * - [`Display`](#/Миксины)
2718
- */
2719
- declare function ActionBtn({ icon, disabled, onClick, children, className, active, style }: ActionBtnProps): JSX.Element;
2720
- declare namespace ActionBtn {
2721
- var displayName: string;
2722
- }
2723
-
2724
- declare enum CurrencyCodes {
2725
- ALL = "ALL",
2726
- AFN = "AFN",
2727
- ARS = "ARS",
2728
- AWG = "AWG",
2729
- AUD = "AUD",
2730
- AZN = "AZN",
2731
- BSD = "BSD",
2732
- BBD = "BBD",
2733
- BYR = "BYR",
2734
- BZD = "BZD",
2735
- BMD = "BMD",
2736
- BOB = "BOB",
2737
- BAM = "BAM",
2738
- BWP = "BWP",
2739
- BGN = "BGN",
2740
- BRL = "BRL",
2741
- BND = "BND",
2742
- KHR = "KHR",
2743
- CAD = "CAD",
2744
- KYD = "KYD",
2745
- CLP = "CLP",
2746
- CNY = "CNY",
2747
- COP = "COP",
2748
- CRC = "CRC",
2749
- HRK = "HRK",
2750
- CUP = "CUP",
2751
- CZK = "CZK",
2752
- DKK = "DKK",
2753
- DOP = "DOP",
2754
- XCD = "XCD",
2755
- EGP = "EGP",
2756
- SVC = "SVC",
2757
- EEK = "EEK",
2758
- EUR = "EUR",
2759
- FKP = "FKP",
2760
- FJD = "FJD",
2761
- FRF = "FRF",
2762
- GHC = "GHC",
2763
- GIP = "GIP",
2764
- GTQ = "GTQ",
2765
- GGP = "GGP",
2766
- GYD = "GYD",
2767
- HNL = "HNL",
2768
- HKD = "HKD",
2769
- HUF = "HUF",
2770
- ISK = "ISK",
2771
- INR = "INR",
2772
- IDR = "IDR",
2773
- IRR = "IRR",
2774
- IMP = "IMP",
2775
- ILS = "ILS",
2776
- JMD = "JMD",
2777
- JPY = "JPY",
2778
- JEP = "JEP",
2779
- KZT = "KZT",
2780
- KGS = "KGS",
2781
- LAK = "LAK",
2782
- LVL = "LVL",
2783
- LBP = "LBP",
2784
- LRD = "LRD",
2785
- LTL = "LTL",
2786
- MKD = "MKD",
2787
- MYR = "MYR",
2788
- MUR = "MUR",
2789
- MXN = "MXN",
2790
- MNT = "MNT",
2791
- MZN = "MZN",
2792
- NAD = "NAD",
2793
- NPR = "NPR",
2794
- ANG = "ANG",
2795
- NZD = "NZD",
2796
- NIO = "NIO",
2797
- NGN = "NGN",
2798
- KPW = "KPW",
2799
- NOK = "NOK",
2800
- OMR = "OMR",
2801
- PKR = "PKR",
2802
- PAB = "PAB",
2803
- PYG = "PYG",
2804
- PEN = "PEN",
2805
- PHP = "PHP",
2806
- PLN = "PLN",
2807
- QAR = "QAR",
2808
- RON = "RON",
2809
- RUR = "RUR",
2810
- RUB = "RUB",
2811
- SHP = "SHP",
2812
- SAR = "SAR",
2813
- RSD = "RSD",
2814
- SCR = "SCR",
2815
- SGD = "SGD",
2816
- SBD = "SBD",
2817
- SOS = "SOS",
2818
- ZAR = "ZAR",
2819
- KRW = "KRW",
2820
- LKR = "LKR",
2821
- SEK = "SEK",
2822
- CHF = "CHF",
2823
- SRD = "SRD",
2824
- SYP = "SYP",
2825
- TWD = "TWD",
2826
- THB = "THB",
2827
- TTD = "TTD",
2828
- TRY = "TRY",
2829
- TRL = "TRL",
2830
- TVD = "TVD",
2831
- UAH = "UAH",
2832
- GBP = "GBP",
2833
- USD = "USD",
2834
- UYU = "UYU",
2835
- UZS = "UZS",
2836
- VEF = "VEF",
2837
- VND = "VND",
2838
- YER = "YER",
2839
- ZWD = "ZWD"
2840
- }
2841
- declare const CURRENCY_MAP: Readonly<Record<CurrencyCodes, string>>;
2842
-
2843
- interface AmountProps extends TextProps {
2844
- /**
2845
- * Value for amount
2846
- */
2847
- value?: number;
2848
- /**
2849
- * Digits after point
2850
- */
2851
- digitsAfterPoint?: number;
2852
- /**
2853
- * Show zero minor part
2854
- */
2855
- showZeroMinorPart?: boolean;
2856
- /**
2857
- * Separator of major and minor part of amount
2858
- */
2859
- separator?: string;
2860
- /**
2861
- * International code of currency.
2862
- */
2863
- currency?: keyof typeof CurrencyCodes | string;
2864
- /**
2865
- * Use Header component for display amount
2866
- */
2867
- isHeader?: boolean;
2868
- /**
2869
- * Amount is not valid and will be crossed out with ```text-decoration: line-through```
2870
- */
2871
- crossedOut?: boolean;
2872
- /**
2873
- * If need only currency symbol
2874
- */
2875
- onlyCurrency?: boolean;
2876
- }
2877
- /**
2878
- * Расширен:
2879
- * - [`BaseProps`](#/Миксины)
2880
- * - [`Color`](#/Миксины)
2881
- * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
2882
- */
2883
- declare class Amount extends PureComponent<AmountProps> {
2884
- static displayName: string;
2885
- static defaultProps: {
2886
- isHeader: boolean;
2887
- showZeroMinorPart: boolean;
2888
- crossedOut: boolean;
2889
- digitsAfterPoint: number;
2890
- separator: string;
2891
- onlyCurrency: boolean;
2892
- };
2893
- static getCurrencySymbol(currencyCode: keyof typeof CurrencyCodes | string): any;
2894
- renderMinorPart(minorPart: string): JSX.Element | null;
2895
- renderCurrencySymbol: (currencySymbol: string) => JSX.Element;
2896
- render(): JSX.Element;
2897
- }
2898
-
2899
- interface ContainerProps extends BaseProps, DisplayProperty, ColorProperty {
2900
- /**
2901
- * Primary content
2902
- */
2903
- /**
2904
- * Children react node
2905
- */
2906
- children?: React.ReactNode;
2907
- /**
2908
- * Container has no maximum width.
2909
- */
2910
- fluid?: boolean;
2911
- /**
2912
- * Align container text.
2913
- */
2914
- textAlign?: 'left' | 'center' | 'right' | 'justified';
2915
- }
2916
- /**
2917
- * Расширен:
2918
- * - [`BaseProps`](#/Миксины)
2919
- * - [`Color`](#/Миксины)
2920
- * - [`Display`](#/Миксины)
2921
- */
2922
- declare function Container(props: ContainerProps): JSX.Element;
2923
- declare namespace Container {
2924
- var displayName: string;
2925
- }
2926
-
2927
- interface ModalCloseProps {
2928
- className?: string;
2929
- onClick?: () => void;
2930
- }
2931
- declare function ModalClose({ className, onClick }: ModalCloseProps): JSX.Element;
2932
-
2933
- interface ModalProps extends BaseProps, ResponsiveNamedProperty<'width'> {
2934
- /**
2935
- * Primary content.
2936
- */
2937
- /**
2938
- * Boolean indicating if the overlay background should be blurred
2939
- */
2940
- blurredOverlay?: boolean;
2941
- /**
2942
- * Children react node
2943
- */
2944
- children?: React.ReactNode;
2945
- /**
2946
- * Modal class name
2947
- */
2948
- className?: string;
2949
- /**
2950
- * Number indicating the milliseconds to wait before closing the modal.
2951
- */
2952
- closeTimeoutMS?: number;
2953
- /**
2954
- * String indicating how the content container should be announced to screenreaders
2955
- */
2956
- contentLabel?: string;
2957
- /**
2958
- * Boolean describing if the modal should be shown or not.
2959
- */
2960
- isOpen?: boolean;
2961
- /**
2962
- * Function that will be run after the modal has opened.
2963
- */
2964
- onAfterOpen?(): void;
2965
- /**
2966
- * Function that will be run when the modal is requested to be closed, prior to actually closing.
2967
- */
2968
- onRequestClose?(): void;
2969
- /**
2970
- * Custom overlay CSS class name
2971
- */
2972
- overlayClassName?: string | Classes;
2973
- /**
2974
- * String indicating the role of the modal, allowing the 'dialog' role to be applied if desired.
2975
- */
2976
- role?: string;
2977
- /**
2978
- * Boolean indicating if the overlay should close the modal
2979
- */
2980
- shouldCloseOnOverlayClick?: boolean;
2981
- /**
2982
- * Vertical align
2983
- */
2984
- valign?: 'top' | 'center' | 'bottom';
2985
- /**
2986
- * z-index
2987
- */
2988
- zIndex?: number;
2989
- }
2990
- /**
2991
- * Основан на [react-modal](https://github.com/reactjs/react-modal).
2992
- *
2993
- * Расширен:
2994
- * - [`BaseProps`](#/Миксины)
2995
- * - [`ResponsiveNamedProperty<'width'>`](#/Миксины)
2996
- */
2997
- declare function Modal(props: ModalProps): JSX.Element;
2998
- declare namespace Modal {
2999
- var defaultProps: {
3000
- blurredOverlay: boolean;
3001
- closeTimeoutMS: number;
3002
- zIndex: number;
3003
- contentLabel: string;
3004
- isOpen: boolean;
3005
- role: string;
3006
- shouldCloseOnOverlayClick: boolean;
3007
- width: string;
3008
- valign: string;
3009
- className: string;
3010
- };
3011
- var Close: typeof ModalClose;
3012
- var displayName: string;
3013
- }
3014
-
3015
- interface SpacerProps extends BaseProps, DisplayProperty, ResponsiveNamedProperty<'top'>, ResponsiveNamedProperty<'right'>, ResponsiveNamedProperty<'bottom'>, ResponsiveNamedProperty<'left'>, ResponsiveNamedProperty<'padding'>, ResponsiveNamedProperty<'paddingTop'>, ResponsiveNamedProperty<'paddingRight'>, ResponsiveNamedProperty<'paddingBottom'>, ResponsiveNamedProperty<'paddingLeft'>, ResponsiveNamedProperty<'margin'>, ResponsiveNamedProperty<'marginTop'>, ResponsiveNamedProperty<'marginRight'>, ResponsiveNamedProperty<'marginBottom'>, ResponsiveNamedProperty<'marginLeft'> {
3016
- /**
3017
- * Primary content
3018
- */
3019
- /**
3020
- * Children react node
3021
- */
3022
- children?: React.ReactNode;
3023
- onClick?: (_e: React.MouseEvent<HTMLDivElement>) => void;
3024
- }
3025
- /**
3026
- * Расширен:
3027
- * - [`BaseProps`](#/Миксины)
3028
- * - [`Display`](#/Миксины)
3029
- * - [`ResponsiveNamedProperty<'top'>`](#/Миксины)
3030
- * - [`ResponsiveNamedProperty<'right'>`](#/Миксины)
3031
- * - [`ResponsiveNamedProperty<'bottom'>`](#/Миксины)
3032
- * - [`ResponsiveNamedProperty<'left'>`](#/Миксины)
3033
- * - [`ResponsiveNamedProperty<'padding'>`](#/Миксины)
3034
- * - [`ResponsiveNamedProperty<'paddingTop'>`](#/Миксины)
3035
- * - [`ResponsiveNamedProperty<'paddingRight'>`](#/Миксины)
3036
- * - [`ResponsiveNamedProperty<'paddingBottom'>`](#/Миксины)
3037
- * - [`ResponsiveNamedProperty<'paddingLeft'>`](#/Миксины)
3038
- * - [`ResponsiveNamedProperty<'margin'>`](#/Миксины)
3039
- * - [`ResponsiveNamedProperty<'marginTop'>`](#/Миксины)
3040
- * - [`ResponsiveNamedProperty<'marginRight'>`](#/Миксины)
3041
- * - [`ResponsiveNamedProperty<'marginBottom'>`](#/Миксины)
3042
- * - [`ResponsiveNamedProperty<'marginLeft'>`](#/Миксины)
3043
- */
3044
- declare function Spacer(props: SpacerProps): JSX.Element;
3045
- declare namespace Spacer {
3046
- var displayName: string;
3047
- }
3048
-
3049
- interface PaperProps extends SpacerProps, ColorProperty, ResponsiveNamedProperty<'padding'> {
3050
- /**
3051
- * Set to true to generate a circlular paper container
3052
- */
3053
- circle?: boolean;
3054
- /**
3055
- * Paper with rounded corners
3056
- */
3057
- rounded?: boolean;
3058
- /**
3059
- * Paper with shadow
3060
- */
3061
- shadow?: boolean;
3062
- /**
3063
- * This number represents the zDepth of the paper shadow
3064
- */
3065
- zDepth?: false | 0 | 1 | 2 | 3 | 4;
3066
- /**
3067
- * Text align
3068
- */
3069
- textAlign?: 'left' | 'center' | 'right';
3070
- }
3071
- /**
3072
- * Расширен:
3073
- * - [`SpacerProps`](#/Разметка%20и%20позиционирование/Spacer)
3074
- * - [`Color`](#/Миксины)
3075
- * - [`ResponsiveNamedProperty<'padding'>`](#/Миксины)
3076
- */
3077
- declare function Paper({ padding, rounded, shadow, className, ...props }: PaperProps): JSX.Element;
3078
- declare namespace Paper {
3079
- var displayName: string;
3080
- }
3081
-
3082
- interface ProgressSegmentedProps extends BaseProps, ColorProperty<'separatorColor'>, ColorProperty<'percentColor'> {
3083
- /**
3084
- * Current percent complete
3085
- */
3086
- percent?: number;
3087
- /**
3088
- * segments count
3089
- */
3090
- segments?: number;
3091
- /**
3092
- * custom class
3093
- */
3094
- className?: string;
3095
- /**
3096
- * circle in begin progress
3097
- */
3098
- haveCircle?: boolean;
3099
- /**
3100
- * active state
3101
- */
3102
- isActive?: boolean;
3103
- }
3104
- /**
3105
- * Расширен:
3106
- * - [`BaseProps`](#/Миксины)
3107
- * - [`Color<'separatorColor'>`](#/Миксины)
3108
- * - [`Color<'percentColor'>`](#/Миксины)
3109
- */
3110
- declare function ProgressSegmented(props: typeof ProgressSegmented.defaultProps & ProgressSegmentedProps): JSX.Element;
3111
- declare namespace ProgressSegmented {
3112
- var defaultProps: {
3113
- percent: number;
3114
- percentColor: string;
3115
- separatorColor: string;
3116
- segments: number;
3117
- haveCircle: boolean;
3118
- };
3119
- var displayName: string;
3120
- }
3121
-
3122
- interface ProgressCircleProps extends BaseProps, ColorProperty<'resultColor'>, ColorProperty<'strokeBGColor'> {
3123
- /**
3124
- * status ['fail', 'success', 'started']
3125
- */
3126
- status?: 'fail' | 'success' | 'started';
3127
- /**
3128
- * progress percent
3129
- */
3130
- progress?: number;
3131
- /**
3132
- * width and height
3133
- */
3134
- size?: number;
3135
- /**
3136
- * React children
3137
- */
3138
- children?: React.ReactNode;
3139
- /**
3140
- * width progress line
3141
- */
3142
- strokeLineWidth?: number;
3143
- /**
3144
- * width background line
3145
- */
3146
- strokeBGWidth?: number;
3147
- /**
3148
- * start angle of progress
3149
- */
3150
- progressStartAngle?: number;
3151
- /**
3152
- * @ignore @deprecated Use children
3153
- */
3154
- content?: string | number;
3155
- }
3156
- interface ProgressCircleState {
3157
- bgAngleDiff: number;
3158
- describeArcProgress: string | null;
3159
- describeArcBg: string | null;
3160
- }
3161
- /**
3162
- * Расширен:
3163
- * - [`BaseProps`](#/Миксины)
3164
- * - [`Color<'resultColor'>`](#/Миксины)
3165
- * - [`Color<'strokeBGColor'>`](#/Миксины)
3166
- */
3167
- declare class ProgressCircle extends PureComponent<typeof ProgressCircle.defaultProps & ProgressCircleProps, ProgressCircleState> {
3168
- static displayName: string;
3169
- static defaultProps: {
3170
- size: number;
3171
- progress: number;
3172
- strokeLineWidth: number;
3173
- strokeBGWidth: number;
3174
- resultColor: string;
3175
- progressStartAngle: number;
3176
- };
3177
- constructor(props: typeof ProgressCircle.defaultProps & ProgressCircleProps);
3178
- componentDidMount(): void;
3179
- componentDidUpdate(prevProps: ProgressCircleProps): void;
3180
- renderSvg: () => void;
3181
- render(): JSX.Element;
3182
- }
3183
-
3184
- interface ProgressProps extends BaseProps, ColorProperty, ColorProperty<'backgroundColor'> {
3185
- /**
3186
- * Current percent complete
3187
- */
3188
- percent?: number;
3189
- isLoading?: boolean;
3190
- }
3191
- /**
3192
- * Расширен:
3193
- * - [`BaseProps`](#/Миксины)
3194
- * - [`Color`](#/Миксины)
3195
- * - [`Color<'backgroundColor'>`](#/Миксины)
3196
- */
3197
- declare function Progress(props: ProgressProps): JSX.Element;
3198
- declare namespace Progress {
3199
- var defaultProps: {
3200
- percent: number;
3201
- color: string;
3202
- backgroundColor: string;
3203
- isLoading: boolean;
3204
- };
3205
- var Circle: typeof ProgressCircle;
3206
- var Segmented: typeof ProgressSegmented;
3207
- var displayName: string;
3208
- }
3209
-
3210
- interface ScrollableProps extends Partial<ScrollbarsProps> {
3211
- /**
3212
- * Children react node
3213
- */
3214
- children: React.ReactNode[] | React.ReactNode;
3215
- /**
3216
- * Enable auto-hide mode
3217
- * @see See [github docs](https://github.com/sakhnyuk/rc-scrollbars) for description
3218
- */
3219
- autoHide?: boolean;
3220
- /**
3221
- * Hide delay in ms.
3222
- */
3223
- autoHideTimeout?: number;
3224
- /**
3225
- * Duration for hide animation in ms.
3226
- */
3227
- autoHideDuration?: number;
3228
- /**
3229
- * Enable auto-height mode.
3230
- */
3231
- autoHeight?: boolean;
3232
- /**
3233
- * Set a minimum height for auto-height mode
3234
- */
3235
- autoHeightMin?: number;
3236
- /**
3237
- * Set a maximum height for auto-height mode
3238
- */
3239
- autoHeightMax?: number;
3240
- /**
3241
- * Event handler
3242
- */
3243
- onScroll?(): void;
3244
- /**
3245
- * Runs inside the animation frame.
3246
- */
3247
- onScrollFrame?(): void;
3248
- /**
3249
- * Called when scrolling starts
3250
- */
3251
- onScrollStart?(): void;
3252
- /**
3253
- * Called when scrolling stops
3254
- */
3255
- onScrollStop?(): void;
3256
- /**
3257
- * Height of shadow
3258
- */
3259
- shadowHeight?: number;
3260
- /**
3261
- * Show shadow in scrollable component
3262
- */
3263
- withShadow?: boolean;
3264
- /**
3265
- * Color of shadow from #Colors
3266
- */
3267
- shadowColor?: string;
3268
- /**
3269
- * Opacity of shadow
3270
- */
3271
- shadowOpacity?: number;
3272
- /**
3273
- * Color of thumb
3274
- */
3275
- thumbColor?: string;
3276
- /**
3277
- * Opacity of thumb
3278
- */
3279
- thumbOpacity?: number;
3280
- /**
3281
- * Border radius of thumb (px)
3282
- */
3283
- thumbBorderRadius?: number;
3284
- /**
3285
- /**
3286
- * Border radius of thumb (px)
3287
- */
3288
- thumbWidth?: number;
3289
- /**
3290
- * Color of track (HEX)
3291
- */
3292
- trackColor?: string;
3293
- /**
3294
- * Opacity of track
3295
- */
3296
- trackOpacity?: number;
3297
- /**
3298
- * Border radius of track (px)
3299
- */
3300
- trackBorderRadius?: number;
3301
- /**
3302
- /**
3303
- * Border radius of track (px)
3304
- */
3305
- trackWidth?: number;
3306
- /**
3307
- * Style for scrollable container
3308
- */
3309
- style?: object;
3310
- /**
3311
- * Classname of scrollable container
3312
- */
3313
- className?: string;
3314
- /**
3315
- * Disable scrollbar and return div
3316
- */
3317
- disabled?: boolean;
3318
- /**
3319
- * Prevent body scrolling when start|end touched
3320
- */
3321
- isolate?: boolean;
3322
- theme?: DefaultTheme;
3323
- }
3324
- declare type ScrollableState = {
3325
- scrollTop: number;
3326
- scrollHeight: number;
3327
- clientHeight: number;
3328
- };
3329
- declare class Scrollable extends PureComponent<typeof Scrollable.defaultProps & ScrollableProps, ScrollableState> {
3330
- static displayName: string;
3331
- static defaultProps: {
3332
- autoHide: boolean;
3333
- autoHideTimeout: number;
3334
- autoHideDuration: number;
3335
- autoHeight: boolean;
3336
- withShadow: boolean;
3337
- shadowHeight: number;
3338
- shadowOpacity: number;
3339
- shadowColor: string;
3340
- thumbColor: string;
3341
- thumbOpacity: number;
3342
- thumbBorderRadius: number;
3343
- thumbWidth: number;
3344
- trackColor: string;
3345
- trackOpacity: number;
3346
- trackBorderRadius: number;
3347
- trackWidth: number;
3348
- disabled: boolean;
3349
- isolate: boolean;
3350
- };
3351
- scrollable: HTMLDivElement | null;
3352
- ts: number;
3353
- state: {
3354
- scrollTop: number;
3355
- scrollHeight: number;
3356
- clientHeight: number;
3357
- };
3358
- componentDidMount(): void;
3359
- componentWillUnmount(): void;
3360
- handleTouchStart: (e: TouchEvent) => void;
3361
- handleTouchMove: (e: TouchEvent) => true | undefined;
3362
- handleScroll: (e: WheelEvent) => true | undefined;
3363
- handleUpdate: (values: ScrollableState) => void;
3364
- calculateShadowOffset(): number;
3365
- hexToRgb: (hex: string) => {
3366
- r: number;
3367
- g: number;
3368
- b: number;
3369
- } | null;
3370
- renderTrack: ({ style, ...props }: {
3371
- style: React.CSSProperties;
3372
- }, dir: 'vertical' | 'horizontal') => JSX.Element;
3373
- renderThumb: ({ style, ...scrollableProps }: {
3374
- style: React.CSSProperties;
3375
- }) => JSX.Element;
3376
- render(): JSX.Element;
3377
- }
3378
- /**
3379
- * Scrollable component for create custom scrollable content
3380
- *
3381
- * Based on https://github.com/sakhnyuk/rc-scrollbars
3382
- */
3383
- declare const withThemeScrollable: React$1.ForwardRefExoticComponent<{
3384
- key?: React$1.Key | null | undefined;
3385
- id?: string | undefined;
3386
- style?: object | undefined;
3387
- className?: string | undefined;
3388
- tagName?: string | undefined;
3389
- children: React.ReactNode[] | React.ReactNode;
3390
- disabled?: boolean | undefined;
3391
- isolate?: boolean | undefined;
3392
- ref?: React$1.Ref<Scrollable> | undefined;
3393
- onScroll?: (() => void) | undefined;
3394
- shadowColor?: string | undefined;
3395
- autoHeight?: boolean | undefined;
3396
- autoHeightMax?: number | undefined;
3397
- autoHeightMin?: number | undefined;
3398
- autoHide?: boolean | undefined;
3399
- autoHideDuration?: number | undefined;
3400
- autoHideTimeout?: number | undefined;
3401
- classes?: Partial<rc_scrollbars.StyleClasses> | undefined;
3402
- disableDefaultStyles?: boolean | undefined;
3403
- hideTracksWhenNotNeeded?: boolean | undefined;
3404
- onScrollFrame?: (() => void) | undefined;
3405
- onScrollStart?: (() => void) | undefined;
3406
- onScrollStop?: (() => void) | undefined;
3407
- onUpdate?: ((values: rc_scrollbars.ScrollValues) => void) | undefined;
3408
- renderThumbHorizontal?: rc_scrollbars_lib_Scrollbars_types.CustomRenderer | undefined;
3409
- renderThumbVertical?: rc_scrollbars_lib_Scrollbars_types.CustomRenderer | undefined;
3410
- renderTrackHorizontal?: rc_scrollbars_lib_Scrollbars_types.CustomRenderer | undefined;
3411
- renderTrackVertical?: rc_scrollbars_lib_Scrollbars_types.CustomRenderer | undefined;
3412
- renderView?: rc_scrollbars_lib_Scrollbars_types.CustomRenderer | undefined;
3413
- thumbMinSize?: number | undefined;
3414
- thumbSize?: number | undefined;
3415
- universal?: boolean | undefined;
3416
- shadowHeight?: number | undefined;
3417
- withShadow?: boolean | undefined;
3418
- shadowOpacity?: number | undefined;
3419
- thumbColor?: string | undefined;
3420
- thumbOpacity?: number | undefined;
3421
- thumbBorderRadius?: number | undefined;
3422
- thumbWidth?: number | undefined;
3423
- trackColor?: string | undefined;
3424
- trackOpacity?: number | undefined;
3425
- trackBorderRadius?: number | undefined;
3426
- trackWidth?: number | undefined;
3427
- } & {
3428
- theme?: DefaultTheme | undefined;
3429
- }>;
3430
-
3431
- interface SectionProps extends BaseProps, DisplayProperty, ColorProperty, ResponsiveNamedProperty<'padding'> {
3432
- /**
3433
- * Paper with shadow
3434
- */
3435
- shadow?: boolean;
3436
- /**
3437
- * This number represents the zDepth of the paper shadow
3438
- */
3439
- zDepth?: 1 | 2 | 3 | 4 | 5;
3440
- /**
3441
- * Section content
3442
- */
3443
- /**
3444
- * Children react node
3445
- */
3446
- children?: React.ReactNode;
3447
- /**
3448
- * Text align
3449
- */
3450
- textAlign?: 'left' | 'right' | 'center';
3451
- }
3452
- /**
3453
- * Расширен:
3454
- * - [`BaseProps`](#/Миксины)
3455
- * - [`Color`](#/Миксины)
3456
- * - [`Display`](#/Миксины)
3457
- * - [`ResponsiveNamedProperty<'padding'>`](#/Миксины)
3458
- */
3459
- declare function Section(props: SectionProps): JSX.Element;
3460
- declare namespace Section {
3461
- var displayName: string;
3462
- }
3463
-
3464
- interface SeparatorTextProps extends BaseProps, ColorProperty {
3465
- /**
3466
- * Children react node
3467
- */
3468
- children?: React.ReactNode;
3469
- }
3470
- declare function SeparatorText({ children, className, color, ...restProps }: SeparatorTextProps): JSX.Element;
3471
-
3472
- interface SeparatorProps extends BaseProps, ColorProperty, ResponsiveNamedProperty<'top'>, ResponsiveNamedProperty<'right'>, ResponsiveNamedProperty<'bottom'>, ResponsiveNamedProperty<'left'>, ResponsiveNamedProperty<'padding'>, ResponsiveNamedProperty<'paddingTop'>, ResponsiveNamedProperty<'paddingRight'>, ResponsiveNamedProperty<'paddingBottom'>, ResponsiveNamedProperty<'paddingLeft'>, ResponsiveNamedProperty<'margin'>, ResponsiveNamedProperty<'marginTop'>, ResponsiveNamedProperty<'marginRight'>, ResponsiveNamedProperty<'marginBottom'>, ResponsiveNamedProperty<'marginLeft'> {
3473
- /**
3474
- * Separator weight
3475
- */
3476
- weight?: 1 | 2 | 3 | 4 | 5;
3477
- }
3478
- /**
3479
- * Расширен:
3480
- * - [`BaseProps`](#/Миксины)
3481
- * - [`Color`](#/Миксины)
3482
- * - [`Color<'fontColor'>`](#/Миксины)
3483
- * - [`ResponsiveNamedProperty<'top'>`](#/Миксины)
3484
- * - [`ResponsiveNamedProperty<'right'>`](#/Миксины)
3485
- * - [`ResponsiveNamedProperty<'bottom'>`](#/Миксины)
3486
- * - [`ResponsiveNamedProperty<'left'>`](#/Миксины)
3487
- * - [`ResponsiveNamedProperty<'padding'>`](#/Миксины)
3488
- * - [`ResponsiveNamedProperty<'paddingTop'>`](#/Миксины)
3489
- * - [`ResponsiveNamedProperty<'paddingRight'>`](#/Миксины)
3490
- * - [`ResponsiveNamedProperty<'paddingBottom'>`](#/Миксины)
3491
- * - [`ResponsiveNamedProperty<'paddingLeft'>`](#/Миксины)
3492
- * - [`ResponsiveNamedProperty<'margin'>`](#/Миксины)
3493
- * - [`ResponsiveNamedProperty<'marginTop'>`](#/Миксины)
3494
- * - [`ResponsiveNamedProperty<'marginRight'>`](#/Миксины)
3495
- * - [`ResponsiveNamedProperty<'marginBottom'>`](#/Миксины)
3496
- * - [`ResponsiveNamedProperty<'marginLeft'>`](#/Миксины)
3497
- */
3498
- declare function Separator(props: typeof Separator.defaultProps & SeparatorProps): JSX.Element;
3499
- declare namespace Separator {
3500
- var defaultProps: {
3501
- margin: string;
3502
- color: string;
3503
- weight: number;
3504
- };
3505
- var Text: typeof SeparatorText;
3506
- var displayName: string;
3507
- }
3508
-
3509
- interface SpinnerProps extends BaseProps, ResponsiveNamedProperty<'size'> {
3510
- /**
3511
- * Size of spinner
3512
- */
3513
- size?: 'l' | 's' | 'm' | number;
3514
- /**
3515
- * Vertically center the spinner inside 100vh container
3516
- */
3517
- fullscreen?: boolean;
3518
- /**
3519
- * Inline. Has no top/bottom margins
3520
- */
3521
- inline?: boolean;
3522
- }
3523
- /**
3524
- * Расширен:
3525
- * - [`BaseProps`](#/Миксины)
3526
- * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
3527
- */
3528
- declare function Spinner({ className, ...props }: typeof Spinner.defaultProps & SpinnerProps): JSX.Element;
3529
- declare namespace Spinner {
3530
- var defaultProps: {
3531
- size: string;
3532
- };
3533
- var displayName: string;
3534
- }
3535
-
3536
- interface TabsProps extends BaseProps, ColorProperty, ColorProperty<'borderColor'> {
3537
- /**
3538
- * Primary content.
3539
- */
3540
- /**
3541
- * Children react node
3542
- */
3543
- children?: React.ReactNode;
3544
- className?: string;
3545
- classNameInner?: string;
3546
- classNameContent?: string;
3547
- noBorder?: boolean;
3548
- width?: ResponsiveProperty<number>;
3549
- }
3550
- /**
3551
- *
3552
- * Use only with default preset
3553
- *
3554
- * Расширен:
3555
- * - [`BaseProps`](#/Миксины)
3556
- * - [`Color`](#/Миксины)
3557
- * - [`Color<'borderColor'>`](#/Миксины)
3558
- */
3559
- declare function Tabs(props: TabsProps): JSX.Element;
3560
- declare namespace Tabs {
3561
- var defaultProps: {
3562
- borderColor: string;
3563
- color: string;
3564
- };
3565
- var Tab: React$1.ForwardRefExoticComponent<TabProps>;
3566
- }
3567
-
3568
- interface TagProps extends BaseProps, DisplayProperty, ColorProperty, ResponsiveNamedProperty<'height'>, ResponsiveNamedProperty<'width'> {
3569
- as?: 'button' | 'div' | 'input' | 'label';
3570
- /**
3571
- * Field id
3572
- */
3573
- id?: string;
3574
- /**
3575
- * Field name
3576
- */
3577
- name?: string;
3578
- /**
3579
- * Input type
3580
- */
3581
- inputType?: 'checkbox' | 'radio';
3582
- /**
3583
- * On change handler
3584
- */
3585
- onChange?(_e: React.ChangeEvent<HTMLInputElement>): void;
3586
- /**
3587
- * On click handler
3588
- */
3589
- onClick?(_e: React.MouseEvent<HTMLInputElement>): void;
3590
- /**
3591
- * Whether or not Radio is checked
3592
- */
3593
- defaultChecked?: boolean;
3594
- /**
3595
- * Value
3596
- */
3597
- value?: string | number;
3598
- /** Children are placed before Text */
3599
- /**
3600
- * Children react node
3601
- */
3602
- children?: React.ReactNode;
3603
- /** Inner Text content */
3604
- content?: React.ReactNode;
3605
- /** Inner Text component props */
3606
- textProps?: TextProps;
3607
- /** Checked state */
3608
- checked?: boolean;
3609
- /** Disabled state */
3610
- disabled?: boolean;
3611
- /** Error state */
3612
- error?: boolean;
3613
- /** If as = 'label' could provide for */
3614
- htmlFor?: string;
3615
- /**
3616
- * inverse
3617
- */
3618
- inverse?: boolean;
3619
- /**
3620
- * Size
3621
- */
3622
- size?: 'l' | 'm' | 's' | 'xs';
3623
- }
3624
- declare function TagInput(props: typeof TagInput.defaultProps & TagProps): JSX.Element;
3625
- declare namespace TagInput {
3626
- var defaultProps: {
3627
- display: string;
3628
- height: number;
3629
- };
3630
- }
3631
- /**
3632
- * Расширен:
3633
- * - [`BaseProps`](#/Миксины)
3634
- * - [`Display`](#/Миксины)
3635
- * - [`Color`](#/Миксины)
3636
- * - [`ResponsiveNamedProperty<'width'>`](#/Миксины)
3637
- * - [`ResponsiveNamedProperty<'height'>`](#/Миксины)
3638
- */
3639
- declare function Tag(props: typeof Tag.defaultProps & TagProps): JSX.Element;
3640
- declare namespace Tag {
3641
- var defaultProps: {
3642
- display: string;
3643
- as: string;
3644
- height: number;
3645
- };
3646
- var Input: typeof TagInput;
3647
- var displayName: string;
3648
- }
3649
-
3650
- interface MultiLevelControls {
3651
- cancel?: {
3652
- content?: string;
3653
- onClick?(): void;
3654
- color?: Color;
3655
- };
3656
- confirm?: {
3657
- content?: string;
3658
- onClick?(): void;
3659
- color?: Color;
3660
- };
3661
- }
3662
- interface MultiLevelItem {
3663
- id: string | number;
3664
- heading?: string;
3665
- subheading?: string;
3666
- content?: string;
3667
- preventClosing?: boolean;
3668
- config?: MultiLevelConfig;
3669
- items?: MultiLevelItem[];
3670
- controls?: MultiLevelControls;
3671
- level?: number;
3672
- active?: boolean;
3673
- onClick?(_item: MultiLevelItem): void;
3674
- }
3675
- interface MultiLevelConfig {
3676
- items?: MultiLevelItem[];
3677
- heading?: string;
3678
- subheading?: string;
3679
- controls?: MultiLevelControls;
3680
- }
3681
- interface ContextMenuMultiLevelProps extends ContextMenuProps, BaseProps {
3682
- /** Menu config */
3683
- config?: MultiLevelConfig;
3684
- /** On select item callback */
3685
- onSelectItem?(_item: MultiLevelItem, _level: MultiLevelItem['level']): void;
3686
- }
3687
- interface ContextMenuMultiLevelState {
3688
- selectedItems: (number | string)[];
3689
- }
3690
- /**
3691
- * Расширен:
3692
- * - [`BaseProps`](#/Миксины)
3693
- */
3694
- declare class ContextMenuMultiLevel extends PureComponent<ContextMenuMultiLevelProps, ContextMenuMultiLevelState> {
3695
- resetTimeout?: ReturnType<typeof setTimeout>;
3696
- static displayName: string;
3697
- static defaultProps: {
3698
- config: {};
3699
- };
3700
- constructor(props: ContextMenuMultiLevelProps);
3701
- componentWillUnmount(): void;
3702
- onSelectItem: (selectedItem: MultiLevelItem) => void;
3703
- getCurrentConfig: () => MultiLevelConfig | null;
3704
- reset: () => void;
3705
- itemOnClickHandler: React.MouseEventHandler<HTMLDivElement>;
3706
- render(): JSX.Element;
3707
- }
3708
-
3709
- interface ContextMenuItemProps extends BaseProps {
3710
- /**
3711
- * Children react node
3712
- */
3713
- children?: React.ReactNode;
3714
- content?: string;
3715
- active?: boolean;
3716
- disabled?: boolean;
3717
- onClick?: React.MouseEventHandler<HTMLDivElement>;
3718
- id?: string | number;
3719
- }
3720
- /**
3721
- * Расширен:
3722
- * - [`BaseProps`](#/Миксины)
3723
- */
3724
- declare function ContextMenuItem({ children, id, content, active, disabled, onClick, className, style, }: ContextMenuItemProps): JSX.Element;
3725
- declare namespace ContextMenuItem {
3726
- var displayName: string;
3727
- }
3728
-
3729
- interface ContextMenuProps extends BaseProps {
3730
- /**
3731
- * Children react node
3732
- */
3733
- children: React.ReactNode;
3734
- /** Indicates if button is active (e.g. when context menu is open) */
3735
- onClick?: (_e: React.MouseEvent<HTMLDivElement>) => void;
3736
- /** Manually controled state */
3737
- isOpen?: boolean;
3738
- /** On open menu callback */
3739
- onOpen?: (_e: React.MouseEvent<HTMLDivElement>) => void;
3740
- /** On close menu callback */
3741
- onClose?: (_e: React.MouseEvent<HTMLDivElement>) => void;
3742
- /** Content */
3743
- trigger?: React.ReactNode;
3744
- /** Properties for inner Tooltip component */
3745
- tooltipProps?: Partial<Parameters<typeof Tooltip>[0]>;
3746
- /** Hide overlay for debug */
3747
- hideOverlay?: boolean;
3748
- }
3749
- /**
3750
- * Расширен:
3751
- * - [`BaseProps`](#/Миксины)
3752
- */
3753
- declare class ContextMenu extends PureComponent<ContextMenuProps, {
3754
- isOpen: boolean;
3755
- }> {
3756
- static Item: typeof ContextMenuItem;
3757
- static MultiLevel: typeof ContextMenuMultiLevel;
3758
- static displayName: string;
3759
- static defaultProps: {
3760
- tooltipProps: {
3761
- event: string;
3762
- placement: string;
3763
- offset: number;
3764
- showCloseButton: boolean;
3765
- styles: {
3766
- wrapper: {
3767
- display: string;
3768
- zIndex: number;
3769
- };
3770
- wrapperPosition: {
3771
- left: number;
3772
- position: string;
3773
- top: number;
3774
- visibility: string;
3775
- };
3776
- floater: {
3777
- display: string;
3778
- filter: string;
3779
- WebkitFilter: string;
3780
- maxWidth: number;
3781
- minWidth: number;
3782
- opacity: number;
3783
- position: string;
3784
- transition: string; /** Indicates if button is active (e.g. when context menu is open) */
3785
- visibility: string;
3786
- zIndex: number;
3787
- };
3788
- floaterOpening: {
3789
- opacity: number;
3790
- visibility: string;
3791
- };
3792
- floaterWithAnimation: {
3793
- opacity: number;
3794
- transition: string;
3795
- visibility: string;
3796
- };
3797
- floaterClosing: {
3798
- opacity: number; /** On close menu callback */
3799
- visibility: string;
3800
- };
3801
- floaterCentered: {
3802
- left: string;
3803
- position: string; /** Content */
3804
- top: string;
3805
- transform: string;
3806
- };
3807
- container: {
3808
- boxSizing: string;
3809
- borderRadius: number;
3810
- border: string;
3811
- color: string;
3812
- backgroundColor: string;
3813
- minHeight: number;
3814
- minWidth: number;
3815
- padding: string;
3816
- position: string;
3817
- display: string;
3818
- overflow: string;
3819
- };
3820
- content: {
3821
- display: string;
3822
- };
3823
- arrow: {
3824
- display: string;
3825
- };
3826
- };
3827
- };
3828
- hideOverlay: boolean;
3829
- };
3830
- constructor(props: ContextMenuProps);
3831
- getOpen: () => boolean;
3832
- openMenu: (e: React.MouseEvent<HTMLDivElement>) => void;
3833
- closeMenu: (e: React.MouseEvent<HTMLDivElement>) => void;
3834
- toggleMenu: (e: React.MouseEvent<HTMLDivElement>) => boolean;
3835
- render(): JSX.Element;
3836
- }
3837
-
3838
- interface InputPhoneProps extends InputProps {
3839
- /**
3840
- * Settings for different country codes
3841
- */
3842
- countryData?: string[][];
3843
- /**
3844
- * Default field mask that is set when none of the countryData prop matches
3845
- */
3846
- defaultMask?: string;
3847
- /**
3848
- * The default field mask when the phone field is empty is required to enable autocomplete in
3849
- * the browser
3850
- */
3851
- initialMask?: string;
3852
- /** If event should return stripped phone value (not for redux forms) */
3853
- stripValue?: boolean;
3854
- }
3855
- interface InputPhoneState {
3856
- mask: string;
3857
- regexp?: RegExp | null;
3858
- }
3859
- /**
3860
- * Расширен:
3861
- * - `InputProps`
3862
- */
3863
- declare class InputPhone extends PureComponent<typeof InputPhone.defaultProps & InputPhoneProps, InputPhoneState> {
3864
- static displayName: string;
3865
- static defaultProps: {
3866
- countryData: [string, string, string, RegExp][];
3867
- defaultMask: string;
3868
- initialMask: string;
3869
- placeholder: string;
3870
- rounded: boolean;
3871
- type: string;
3872
- color: string;
3873
- mask: string;
3874
- placeholderColor: string;
3875
- };
3876
- autocorrectOf8: boolean;
3877
- autocorrectOf9: boolean;
3878
- constructor(props: typeof InputPhone.defaultProps & InputPhoneProps);
3879
- componentDidUpdate(nextProps: InputPhoneProps): void;
3880
- getUpdates: (value: InputPhoneProps['value'], prevValue?: InputPhoneProps['value']) => {
3881
- mask: string;
3882
- numbers: string;
3883
- startsFrom8: boolean;
3884
- startsFrom9: boolean;
3885
- regexp: RegExp | null;
3886
- };
3887
- change: (phone: InputPhoneProps['value']) => void;
3888
- handleChange: React.ChangeEventHandler<HTMLInputElement>;
3889
- beforeMaskedValueChange: (newState: InputState, oldState: InputState) => InputState;
3890
- render(): JSX.Element;
3891
- }
3892
-
3893
- declare type InputPalette = {
3894
- color: CSSColor;
3895
- backgroundColor: CSSColor;
3896
- borderColor: CSSColor;
3897
- colorHover: CSSColor;
3898
- backgroundColorHover: CSSColor;
3899
- borderColorHover: CSSColor;
3900
- inputColor: CSSColor;
3901
- inputPlaceholderColor: CSSColor;
3902
- inputColorDisabled: CSSColor;
3903
- inputPlaceholderColorDisabled: CSSColor;
3904
- controlsColor: CSSColor;
3905
- controlsBackgroundColor: CSSColor;
3906
- controlsSeparatorColor: CSSColor;
3907
- controlsColorHover: CSSColor;
3908
- controlsBackgroundColorHover: CSSColor;
3909
- controlsColorActive: CSSColor;
3910
- controlsBackgroundColorActive: CSSColor;
3911
- controlsColorDisabled: CSSColor;
3912
- controlsBackgroundColorDisabled: CSSColor;
3913
- };
3914
- interface InputProps extends ResponsiveSizeProps, ResponsiveMarginProps, Omit<React.ComponentPropsWithRef<'input'>, 'children' | 'size' | 'type' | 'value' | 'defaultValue' | 'color' | 'width'>,
3915
- /** @deprecated Use palette */
3916
- ColorProperty,
3917
- /** @deprecated Use palette */
3918
- ColorProperty<'placeholderColor'>,
3919
- /** @ignore Control width with container */
3920
- ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
3921
- /** UI: brand (v3), or default (v2) */
3922
- preset?: ThemePreset;
3923
- /** Custom colors */
3924
- palette?: Partial<Record<keyof InputPalette, Color>>;
3925
- /** Input mask.
3926
- * Look up [docs v2.0.4](https://www.npmjs.com/package/react-input-mask/v/2.0.4?activeTab=code) */
3927
- mask?: string;
3928
- /** Character to cover unfilled editable parts of mask.
3929
- * Look up [docs v2.0.4](https://www.npmjs.com/package/react-input-mask/v/2.0.4?activeTab=code) */
3930
- maskChar?: string | null;
3931
- /** Defines format characters with characters as keys and corresponding RegExp string as values.
3932
- * Look up [docs v2.0.4](https://www.npmjs.com/package/react-input-mask/v/2.0.4?activeTab=code) */
3933
- formatChars?: Record<string, string>;
3934
- /** Show mask in empty input without focus */
3935
- alwaysShowMask?: boolean;
3936
- /** Callback to change masked value and cursor position before it will be applied to the input.
3937
- * Look up [docs v2.0.4](https://www.npmjs.com/package/react-input-mask/v/2.0.4?activeTab=code) */
3938
- beforeMaskedValueChange?: (newState: InputState, oldState: InputState, userInput: string, maskOptions: MaskOptions) => InputState;
3939
- /** Type attribute */
3940
- type?: 'email' | 'number' | 'password' | 'tel' | 'text' | 'url';
3941
- /** Value for controlled input */
3942
- value?: string;
3943
- /** Default value for uncontrolled input */
3944
- defaultValue?: string;
3945
- /** Label for input */
3946
- label?: React.ReactNode;
3947
- /** Label position */
3948
- labelPosition?: 'dynamic' | 'top' | 'center';
3949
- /** Icon before input */
3950
- icon?: JSX.Element | IconName;
3951
- /** Props for icon component */
3952
- iconProps?: IconProps;
3953
- /** Props for text component */
3954
- textProps?: TextProps;
3955
- /** Input controls */
3956
- controls?: {
3957
- additional?: {
3958
- icon: JSX.Element | IconName;
3959
- iconProps?: IconProps;
3960
- buttonProps?: React.ComponentPropsWithoutRef<'button'>;
3961
- };
3962
- number?: {
3963
- icon?: [JSX.Element | IconName, JSX.Element | IconName];
3964
- iconProps?: IconProps;
3965
- buttonProps?: React.ComponentPropsWithoutRef<'button'> | [Nullable<React.ComponentPropsWithoutRef<'button'>>, Nullable<React.ComponentPropsWithoutRef<'button'>>];
3966
- };
3967
- };
3968
- /** Content after input */
3969
- text?: React.ReactNode;
3970
- /** Appearance variant */
3971
- primary?: boolean;
3972
- /** Appearance variant */
3973
- secondary?: boolean;
3974
- /** Appearance variant */
3975
- onColored?: boolean;
3976
- /** Appearance variant */
3977
- error?: boolean;
3978
- /** Appearance variant */
3979
- success?: boolean;
3980
- /** Display inline */
3981
- inline?: boolean;
3982
- /** @ignore */
3983
- fluid?: boolean;
3984
- /** @ignore */
3985
- rounded?: boolean;
3986
- /** @ignore @deprecated Use ref */
3987
- inputRef?: React.Ref<HTMLInputElement>;
3988
- }
3989
- declare type StyledBaseInputProps = React.ComponentPropsWithoutRef<'input'> & Pick<InputProps, 'color' | 'placeholderColor' | 'width' | 'widthXXS' | 'widthXS' | 'widthS' | 'widthM' | 'widthL' | 'widthXL' | 'mask' | 'maskChar' | 'formatChars' | 'alwaysShowMask' | 'beforeMaskedValueChange' | 'error' | 'fluid' | 'rounded' | 'inputRef'>;
3990
-
3991
- /**
3992
- *
3993
- * Component accepts all \<input\> attributes and "react-input-mask" v2.0.4 props.
3994
- *
3995
- * Responsive "size", "margin" props are supported.
3996
- *
3997
- * Exposed "ref" attached to \<input\>.
3998
- *
3999
- * See full [InputProps](https://github.com/foxford/ui/blob/master/src/components/Input/types.ts)
4000
- */
4001
- declare const Input: React.ForwardRefExoticComponent<InputProps> & {
4002
- Phone: typeof InputPhone;
4003
- };
4004
-
4005
- declare const baseInputStyle: (props: StyledProps<Pick<StyledBaseInputProps, 'color' | 'placeholderColor' | 'disabled' | 'rounded' | 'width' | 'widthXS' | 'widthS' | 'widthM' | 'widthL' | 'widthXL' | 'fluid' | 'error'>>) => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
4006
-
4007
- declare const INITIAL_MASK = "99999999999999999999";
4008
- declare const DEFAULT_MASK: string;
4009
- declare const COUNTRY_DATA: [string, string, string, RegExp][];
4010
-
4011
- declare type InputRadioPalette = {
4012
- color: CSSColor;
4013
- backgroundColor: CSSColor;
4014
- borderColor: CSSColor;
4015
- colorHover: CSSColor;
4016
- backgroundColorHover: CSSColor;
4017
- borderColorHover: CSSColor;
4018
- colorChecked: CSSColor;
4019
- backgroundColorChecked: CSSColor;
4020
- borderColorChecked: CSSColor;
4021
- colorDisabled: CSSColor;
4022
- backgroundColorDisabled: CSSColor;
4023
- borderColorDisabled: CSSColor;
4024
- colorDisabledChecked: CSSColor;
4025
- backgroundColorDisabledChecked: CSSColor;
4026
- borderColorDisabledChecked: CSSColor;
4027
- };
4028
- interface InputRadioProps extends ResponsiveSizeProps, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'children'> {
4029
- /** Custom colors */
4030
- palette?: Partial<Record<keyof InputRadioPalette, Color>>;
4031
- /** Display inline */
4032
- inline?: boolean;
4033
- /** Appearance variant */
4034
- error?: boolean;
4035
- /** Appearance variant */
4036
- success?: boolean;
4037
- /** Appearance variant */
4038
- onColored?: boolean;
4039
- }
4040
-
4041
- interface RadioGroupProps extends BaseProps {
4042
- inline?: boolean;
4043
- children?: React.ReactNode;
4044
- }
4045
- declare function RadioGroup({ children, ...props }: RadioGroupProps): JSX.Element;
4046
-
4047
- declare type RadioInputHtmlAttributes = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'width'>;
4048
- interface RadioProps extends BaseProps, DisplayProperty, RadioInputHtmlAttributes {
4049
- /**
4050
- * Field id
4051
- */
4052
- id?: string;
4053
- /**
4054
- * Field name
4055
- */
4056
- name?: string;
4057
- /**
4058
- * Radio label
4059
- */
4060
- label?: string;
4061
- /**
4062
- * On change handler
4063
- */
4064
- onChange?(_e: React.ChangeEvent<HTMLInputElement>): void;
4065
- /**
4066
- * Children react node
4067
- */
4068
- children?: React.ReactNode;
4069
- /**
4070
- * A Radio can appear disabled and be unable to change states
4071
- */
4072
- disabled?: boolean;
4073
- /**
4074
- * Field can show the data contains errors
4075
- */
4076
- error?: boolean;
4077
- /**
4078
- * Whether or not Radio is checked
4079
- */
4080
- checked?: boolean;
4081
- defaultChecked?: boolean;
4082
- /**
4083
- * Checkbox size
4084
- */
4085
- size?: 'small' | 'medium' | 'large';
4086
- /**
4087
- * Value
4088
- */
4089
- value?: string | number;
4090
- fluid?: boolean;
4091
- /**
4092
- * Width of label. Default is `Theme.defaultInputControlsWidth`
4093
- */
4094
- width?: ResponsiveProperty<'auto' | number | keyof typeof SizeInput>;
4095
- }
4096
- /**
4097
- * Расширен:
4098
- * - [`BaseProps`](#/Миксины)
4099
- * - `React.InputHTMLAttributes<HTMLInputElement>`
4100
- */
4101
- declare function Radio(props: typeof Radio.defaultProps & RadioProps): JSX.Element;
4102
- declare namespace Radio {
4103
- var defaultProps: {
4104
- disabled: boolean;
4105
- size: string;
4106
- display: string;
4107
- onChange: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
4108
- };
4109
- var Input: React$1.ForwardRefExoticComponent<InputRadioProps>;
4110
- var Group: typeof RadioGroup;
4111
- var displayName: string;
4112
- }
4113
-
4114
- interface SelectProps extends BaseProps, ReactSelectProps, DisplayProperty {
4115
- fluid?: boolean;
4116
- error?: boolean;
4117
- /**
4118
- * Width of select. Default is `Theme.defaultInputControlsWidth`
4119
- */
4120
- width?: ResponsiveProperty<'auto' | number | keyof typeof SizeInput>;
4121
- }
4122
- /**
4123
- * Расширен:
4124
- * - [`BaseProps`](#/Миксины)
4125
- * - `ReactSelectProps`
4126
- */
4127
- declare function Select(props: SelectProps): JSX.Element;
4128
- declare namespace Select {
4129
- var defaultProps: {
4130
- allowCreate: boolean;
4131
- searchable: boolean;
4132
- clearable: boolean;
4133
- addLabelText: string;
4134
- backspaceToRemoveMessage: string;
4135
- clearAllText: string;
4136
- clearValueText: string;
4137
- noResultsText: string;
4138
- placeholder: string;
4139
- searchPromptText: string;
4140
- loadingPlaceholder: string;
4141
- autoload: boolean;
4142
- loadOptions: boolean;
4143
- display: string;
4144
- };
4145
- var displayName: string;
4146
- }
4147
-
4148
- declare type FormLabelPalette = {
4149
- color: CSSColor;
4150
- backgroundColor: CSSColor;
4151
- borderColor: CSSColor;
4152
- colorHover: CSSColor;
4153
- backgroundColorHover: CSSColor;
4154
- borderColorHover: CSSColor;
4155
- hintColor: CSSColor;
4156
- hintBackgroundColor: CSSColor;
4157
- hintColorHover: CSSColor;
4158
- hintBackgroundColorHover: CSSColor;
4159
- hintColorActive: CSSColor;
4160
- hintBackgroundColorActive: CSSColor;
4161
- hintColorDisabled: CSSColor;
4162
- hintBackgroundColorDisabled: CSSColor;
4163
- };
4164
- interface FormLabelProps extends ResponsiveSizeProps, ResponsiveMarginProps, React.ComponentPropsWithRef<'label'> {
4165
- /** Custom colors */
4166
- palette?: Partial<Record<keyof FormLabelPalette, Color>>;
4167
- /** Render radio or checkbox input */
4168
- control: JSX.Element | ((props: Required<Pick<FormLabelProps, 'size'>> & Pick<FormLabelProps, 'sizeXXS' | 'sizeXS' | 'sizeS' | 'sizeM' | 'sizeL' | 'sizeXL' | 'disabled' | 'error' | 'success' | 'checked' | 'onColored'>) => JSX.Element);
4169
- /** Props for text component */
4170
- textProps?: TextProps;
4171
- /** Text content */
4172
- label?: React.ReactNode;
4173
- /** Display inline */
4174
- inline?: boolean;
4175
- /** Disable appearance */
4176
- clear?: boolean;
4177
- /** Appearance variant */
4178
- disabled?: boolean;
4179
- /** Appearance variant */
4180
- error?: boolean;
4181
- /** Appearance variant */
4182
- success?: boolean;
4183
- /** Appearance variant */
4184
- checked?: boolean;
4185
- /** Appearance variant */
4186
- onColored?: boolean;
4187
- /** Additional elements */
4188
- hint?: {
4189
- text?: React.ReactNode;
4190
- textProps?: TextProps;
4191
- icon?: JSX.Element | IconName;
4192
- iconProps?: IconProps;
4193
- buttonProps?: React.ComponentPropsWithoutRef<'button'>;
4194
- };
4195
- }
4196
-
4197
- /**
4198
- *
4199
- * Component accepts all \<label\> attributes.
4200
- *
4201
- * Responsive "size", "margin" props are supported.
4202
- *
4203
- * Exposed "ref" attached to root node.
4204
- *
4205
- * See full [FormLabelProps](https://github.com/foxford/ui/blob/master/src/components/FormLabel/types.ts)
4206
- */
4207
- declare const FormLabel: React.ForwardRefExoticComponent<FormLabelProps>;
4208
-
4209
- export { ActionBtn, Alert, Amount, Anchor, Arrow, ArrowBadge, Avatar, Badge, BaseProps, Breakpoint, Button, COUNTRY_DATA, CSSBorderStyle, CSSColor, CSSFontWeight, CSSGlobalValue, CSSUnit, CSSVerticalAlign, CURRENCY_MAP, Checkbox, Chip, Color, ColorNames, ColorPaletteKey, Container, ContextMenu, CurrencyCodes, DEFAULT_MASK, FormLabel, HEX, INITIAL_MASK, Icon, IconButton, Indicator, Input, ListItem, Menu, Modal, Nullable, Paper, Popover, Progress, RGB, RGBA, Radio, withThemeScrollable as Scrollable, Section, Select, Separator, Size, Sizes, Skeleton, Spacer, Spinner, Switcher, Tab, Tabs, Tag, Text, Textarea, Theme, ThemeMode, ThemeName, ThemePreset, ThemeProvider, Tooltip, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, defaultIcons, desktopFirst, hexToRgbA, isHex, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, vAlign };