colibri-ui 0.8.71 → 0.8.73

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 (408) hide show
  1. package/Accordion/index.d.ts +3 -9
  2. package/Accordion/index.js +3 -5
  3. package/Accordion/index.props.d.ts +7 -0
  4. package/Avatar/index.d.ts +1 -2
  5. package/Avatar/index.js +1 -3
  6. package/Badge/index.d.ts +1 -2
  7. package/Badge/index.js +1 -3
  8. package/Button/index.d.ts +1 -2
  9. package/Button/index.js +1 -3
  10. package/Calendar/Calendar.d.ts +2 -42
  11. package/Calendar/Calendar.js +5 -7
  12. package/Calendar/index.d.ts +2 -2
  13. package/Calendar/index.js +1 -4
  14. package/Calendar/index.props.d.ts +40 -0
  15. package/Card/Card.d.ts +1 -18
  16. package/Card/index.d.ts +1 -1
  17. package/Card/index.props.d.ts +18 -0
  18. package/Checkbox/index.d.ts +1 -2
  19. package/Checkbox/index.js +2 -4
  20. package/Chip/index.d.ts +1 -2
  21. package/Chip/index.js +1 -3
  22. package/ClickOutside/index.d.ts +3 -6
  23. package/ClickOutside/index.js +2 -4
  24. package/ClickOutside/index.props.d.ts +4 -0
  25. package/CodeField/CodeField.d.ts +2 -25
  26. package/CodeField/index.d.ts +2 -2
  27. package/CodeField/index.js +0 -3
  28. package/CodeField/index.props.d.ts +25 -0
  29. package/Counter/index.d.ts +1 -2
  30. package/Counter/index.js +5 -7
  31. package/Datepicker/components/DatePicker/index.d.ts +1 -2
  32. package/Datepicker/components/DatePicker/index.js +10 -12
  33. package/Datepicker/index.d.ts +1 -2
  34. package/Datepicker/index.js +2 -4
  35. package/DotsLoader/index.d.ts +2 -2
  36. package/DotsLoader/index.js +1 -3
  37. package/DotsLoader/index.props.d.ts +1 -0
  38. package/Drawer/Drawer.d.ts +1 -38
  39. package/Drawer/index.d.ts +1 -1
  40. package/Drawer/index.props.d.ts +38 -0
  41. package/Dropdown/index.d.ts +1 -2
  42. package/Dropdown/index.js +2 -4
  43. package/Dropzone/Dropzone.d.ts +1 -28
  44. package/Dropzone/index.d.ts +1 -1
  45. package/Dropzone/index.props.d.ts +28 -0
  46. package/Editable/Editable.d.ts +2 -17
  47. package/Editable/Editable.js +1 -1
  48. package/Editable/index.d.ts +2 -2
  49. package/Editable/index.js +0 -3
  50. package/Editable/index.props.d.ts +17 -0
  51. package/Grid/Item/index.d.ts +1 -2
  52. package/Grid/Item/index.js +1 -3
  53. package/Grid/index.d.ts +1 -2
  54. package/Grid/index.js +1 -3
  55. package/Icons/ArrowNext.d.ts +1 -2
  56. package/Icons/ArrowNext.js +3 -5
  57. package/Icons/Cart.d.ts +1 -2
  58. package/Icons/Cart.js +3 -5
  59. package/Icons/Check.d.ts +1 -2
  60. package/Icons/Check.js +3 -5
  61. package/Icons/Chevron.d.ts +1 -2
  62. package/Icons/Chevron.js +3 -5
  63. package/Icons/Close.d.ts +1 -2
  64. package/Icons/Close.js +3 -5
  65. package/Icons/Cross.d.ts +1 -2
  66. package/Icons/Cross.js +3 -5
  67. package/Icons/CrossFill.d.ts +1 -2
  68. package/Icons/CrossFill.js +3 -5
  69. package/Icons/Edit.d.ts +1 -2
  70. package/Icons/Edit.js +3 -5
  71. package/Icons/Exit.d.ts +1 -2
  72. package/Icons/Exit.js +3 -5
  73. package/Icons/EyeClosed.d.ts +1 -2
  74. package/Icons/EyeClosed.js +3 -5
  75. package/Icons/EyeOpen.d.ts +1 -2
  76. package/Icons/EyeOpen.js +3 -5
  77. package/Icons/Help.d.ts +1 -2
  78. package/Icons/Help.js +3 -5
  79. package/Icons/Info.d.ts +1 -2
  80. package/Icons/Info.js +3 -5
  81. package/Icons/Minus.d.ts +1 -2
  82. package/Icons/Minus.js +3 -5
  83. package/Icons/More.d.ts +1 -2
  84. package/Icons/More.js +3 -5
  85. package/Icons/Plus.d.ts +1 -2
  86. package/Icons/Plus.js +3 -5
  87. package/Icons/Setting.d.ts +1 -2
  88. package/Icons/Setting.js +3 -5
  89. package/Icons/Shield.d.ts +1 -2
  90. package/Icons/Shield.js +3 -5
  91. package/Icons/Trash.d.ts +1 -2
  92. package/Icons/Trash.js +3 -5
  93. package/Icons/User.d.ts +1 -2
  94. package/Icons/User.js +3 -5
  95. package/Icons/index.d.ts +20 -19
  96. package/Icons/index.js +21 -19
  97. package/Image/index.d.ts +1 -2
  98. package/Image/index.js +1 -3
  99. package/Input/index.d.ts +1 -2
  100. package/Input/index.js +4 -6
  101. package/InputRadio/index.d.ts +3 -23
  102. package/InputRadio/index.js +2 -4
  103. package/InputRadio/index.props.d.ts +20 -0
  104. package/Menu/components/MenuItem/index.d.ts +1 -2
  105. package/Menu/components/MenuItem/index.js +1 -3
  106. package/Menu/index.d.ts +1 -2
  107. package/Menu/index.js +1 -3
  108. package/Modal/components/Close/index.d.ts +2 -6
  109. package/Modal/components/Close/index.js +2 -4
  110. package/Modal/components/Close/index.props.d.ts +4 -0
  111. package/Modal/components/Content/index.d.ts +3 -3
  112. package/Modal/components/Content/index.js +1 -3
  113. package/Modal/components/Content/index.props.d.ts +2 -0
  114. package/Modal/components/Title/index.d.ts +3 -3
  115. package/Modal/components/Title/index.js +2 -4
  116. package/Modal/components/Title/index.props.d.ts +2 -0
  117. package/Modal/index.d.ts +1 -2
  118. package/Modal/index.js +8 -10
  119. package/MultiSelect/components/MenuOverlay/index.d.ts +2 -18
  120. package/MultiSelect/components/MenuOverlay/index.js +6 -8
  121. package/MultiSelect/components/MenuOverlay/index.props.d.ts +16 -0
  122. package/MultiSelect/components/MenuOverlayItem/index.d.ts +2 -12
  123. package/MultiSelect/components/MenuOverlayItem/index.js +3 -5
  124. package/MultiSelect/components/MenuOverlayItem/index.props.d.ts +11 -0
  125. package/MultiSelect/index.d.ts +1 -2
  126. package/MultiSelect/index.js +8 -10
  127. package/NumberInput/NumberInput.d.ts +3 -0
  128. package/NumberInput/NumberInput.js +188 -0
  129. package/NumberInput/NumberInput.module.css +31 -0
  130. package/NumberInput/index.d.ts +2 -0
  131. package/NumberInput/index.js +7 -0
  132. package/NumberInput/index.props.d.ts +28 -0
  133. package/NumberInput/package.json +9 -0
  134. package/Portal/index.d.ts +3 -5
  135. package/Portal/index.js +1 -3
  136. package/Portal/index.props.d.ts +4 -0
  137. package/Progress/Progress.d.ts +1 -18
  138. package/Progress/index.d.ts +1 -1
  139. package/Progress/index.props.d.ts +18 -0
  140. package/README.md +8 -3
  141. package/RadioGroup/Radio.d.ts +3 -19
  142. package/RadioGroup/Radio.js +2 -4
  143. package/RadioGroup/index.d.ts +2 -25
  144. package/RadioGroup/index.js +2 -4
  145. package/RadioGroup/index.props.d.ts +38 -0
  146. package/Rating/Rating.d.ts +1 -22
  147. package/Rating/Rating.js +0 -3
  148. package/Rating/index.d.ts +2 -2
  149. package/Rating/index.js +0 -3
  150. package/Rating/index.props.d.ts +21 -0
  151. package/Select/components/MenuOverlay/index.d.ts +2 -11
  152. package/Select/components/MenuOverlay/index.js +3 -5
  153. package/Select/components/MenuOverlay/index.props.d.ts +11 -0
  154. package/Select/components/MenuOverlayItem/index.d.ts +2 -15
  155. package/Select/components/MenuOverlayItem/index.js +3 -5
  156. package/Select/components/MenuOverlayItem/index.props.d.ts +14 -0
  157. package/Select/index.d.ts +1 -2
  158. package/Select/index.js +6 -8
  159. package/Separator/index.d.ts +2 -5
  160. package/Separator/index.js +1 -3
  161. package/Separator/index.props.d.ts +3 -0
  162. package/Slider/Slider.d.ts +3 -0
  163. package/Slider/Slider.js +211 -0
  164. package/Slider/Slider.module.css +314 -0
  165. package/Slider/index.d.ts +2 -0
  166. package/Slider/index.js +7 -0
  167. package/Slider/index.props.d.ts +47 -0
  168. package/Slider/package.json +9 -0
  169. package/Status/index.d.ts +1 -2
  170. package/Status/index.js +1 -3
  171. package/Switch/index.d.ts +1 -2
  172. package/Switch/index.js +2 -4
  173. package/TabsMenu/Tab/Tab.d.ts +2 -3
  174. package/TabsMenu/Tab/Tab.js +1 -3
  175. package/TabsMenu/index.d.ts +1 -2
  176. package/TabsMenu/index.js +2 -4
  177. package/TabsMenu/index.props.d.ts +1 -1
  178. package/TabsPanels/index.d.ts +1 -2
  179. package/TabsPanels/index.js +1 -3
  180. package/TextArea/index.d.ts +1 -2
  181. package/TextArea/index.js +3 -5
  182. package/TimeSelect/Label/index.d.ts +2 -7
  183. package/TimeSelect/Label/index.js +1 -3
  184. package/TimeSelect/Label/index.props.d.ts +5 -0
  185. package/TimeSelect/index.d.ts +2 -10
  186. package/TimeSelect/index.js +3 -5
  187. package/TimeSelect/index.props.d.ts +8 -0
  188. package/Tooltip/index.d.ts +1 -2
  189. package/Tooltip/index.js +1 -3
  190. package/Typography/index.d.ts +1 -2
  191. package/Typography/index.js +1 -3
  192. package/base/BaseInput/index.d.ts +1 -2
  193. package/base/BaseInput/index.js +1 -3
  194. package/base/FormField/index.d.ts +1 -2
  195. package/base/FormField/index.js +3 -5
  196. package/base/InputRoot/index.d.ts +1 -2
  197. package/base/InputRoot/index.js +1 -3
  198. package/esm/Accordion/index.d.ts +3 -9
  199. package/esm/Accordion/index.js +3 -3
  200. package/esm/Accordion/index.props.d.ts +7 -0
  201. package/esm/Avatar/index.d.ts +1 -2
  202. package/esm/Avatar/index.js +1 -1
  203. package/esm/Badge/index.d.ts +1 -2
  204. package/esm/Badge/index.js +1 -1
  205. package/esm/Button/index.d.ts +1 -2
  206. package/esm/Button/index.js +1 -1
  207. package/esm/Calendar/Calendar.d.ts +2 -42
  208. package/esm/Calendar/Calendar.js +3 -3
  209. package/esm/Calendar/index.d.ts +2 -2
  210. package/esm/Calendar/index.props.d.ts +40 -0
  211. package/esm/Card/Card.d.ts +1 -18
  212. package/esm/Card/index.d.ts +1 -1
  213. package/esm/Card/index.props.d.ts +18 -0
  214. package/esm/Checkbox/index.d.ts +1 -2
  215. package/esm/Checkbox/index.js +2 -2
  216. package/esm/Chip/index.d.ts +1 -2
  217. package/esm/Chip/index.js +1 -1
  218. package/esm/ClickOutside/index.d.ts +3 -6
  219. package/esm/ClickOutside/index.js +2 -2
  220. package/esm/ClickOutside/index.props.d.ts +4 -0
  221. package/esm/CodeField/CodeField.d.ts +2 -25
  222. package/esm/CodeField/CodeField.js +3 -1
  223. package/esm/CodeField/index.d.ts +2 -2
  224. package/esm/CodeField/index.props.d.ts +25 -0
  225. package/esm/Counter/index.d.ts +1 -2
  226. package/esm/Counter/index.js +6 -6
  227. package/esm/Datepicker/components/DatePicker/index.d.ts +1 -2
  228. package/esm/Datepicker/components/DatePicker/index.js +7 -7
  229. package/esm/Datepicker/index.d.ts +1 -2
  230. package/esm/Datepicker/index.js +2 -2
  231. package/esm/DotsLoader/index.d.ts +2 -2
  232. package/esm/DotsLoader/index.js +1 -1
  233. package/esm/DotsLoader/index.props.d.ts +1 -0
  234. package/esm/Drawer/Drawer.d.ts +1 -38
  235. package/esm/Drawer/index.d.ts +1 -1
  236. package/esm/Drawer/index.props.d.ts +38 -0
  237. package/esm/Dropdown/index.d.ts +1 -2
  238. package/esm/Dropdown/index.js +2 -2
  239. package/esm/Dropzone/Dropzone.d.ts +1 -28
  240. package/esm/Dropzone/index.d.ts +1 -1
  241. package/esm/Dropzone/index.props.d.ts +28 -0
  242. package/esm/Editable/Editable.d.ts +2 -17
  243. package/esm/Editable/Editable.js +1 -1
  244. package/esm/Editable/index.d.ts +2 -2
  245. package/esm/Editable/index.props.d.ts +17 -0
  246. package/esm/Grid/Item/index.d.ts +1 -2
  247. package/esm/Grid/Item/index.js +1 -1
  248. package/esm/Grid/index.d.ts +1 -2
  249. package/esm/Grid/index.js +1 -1
  250. package/esm/Icons/ArrowNext.d.ts +1 -2
  251. package/esm/Icons/ArrowNext.js +3 -3
  252. package/esm/Icons/Cart.d.ts +1 -2
  253. package/esm/Icons/Cart.js +3 -3
  254. package/esm/Icons/Check.d.ts +1 -2
  255. package/esm/Icons/Check.js +3 -3
  256. package/esm/Icons/Chevron.d.ts +1 -2
  257. package/esm/Icons/Chevron.js +3 -3
  258. package/esm/Icons/Close.d.ts +1 -2
  259. package/esm/Icons/Close.js +3 -3
  260. package/esm/Icons/Cross.d.ts +1 -2
  261. package/esm/Icons/Cross.js +3 -3
  262. package/esm/Icons/CrossFill.d.ts +1 -2
  263. package/esm/Icons/CrossFill.js +3 -3
  264. package/esm/Icons/Edit.d.ts +1 -2
  265. package/esm/Icons/Edit.js +3 -3
  266. package/esm/Icons/Exit.d.ts +1 -2
  267. package/esm/Icons/Exit.js +3 -3
  268. package/esm/Icons/EyeClosed.d.ts +1 -2
  269. package/esm/Icons/EyeClosed.js +3 -3
  270. package/esm/Icons/EyeOpen.d.ts +1 -2
  271. package/esm/Icons/EyeOpen.js +3 -3
  272. package/esm/Icons/Help.d.ts +1 -2
  273. package/esm/Icons/Help.js +3 -3
  274. package/esm/Icons/Info.d.ts +1 -2
  275. package/esm/Icons/Info.js +3 -3
  276. package/esm/Icons/Minus.d.ts +1 -2
  277. package/esm/Icons/Minus.js +3 -3
  278. package/esm/Icons/More.d.ts +1 -2
  279. package/esm/Icons/More.js +3 -3
  280. package/esm/Icons/Plus.d.ts +1 -2
  281. package/esm/Icons/Plus.js +3 -3
  282. package/esm/Icons/Setting.d.ts +1 -2
  283. package/esm/Icons/Setting.js +3 -3
  284. package/esm/Icons/Shield.d.ts +1 -2
  285. package/esm/Icons/Shield.js +3 -3
  286. package/esm/Icons/Trash.d.ts +1 -2
  287. package/esm/Icons/Trash.js +3 -3
  288. package/esm/Icons/User.d.ts +1 -2
  289. package/esm/Icons/User.js +3 -3
  290. package/esm/Icons/index.d.ts +20 -19
  291. package/esm/Image/index.d.ts +1 -2
  292. package/esm/Image/index.js +1 -1
  293. package/esm/Input/index.d.ts +1 -2
  294. package/esm/Input/index.js +4 -4
  295. package/esm/InputRadio/index.d.ts +3 -23
  296. package/esm/InputRadio/index.js +2 -2
  297. package/esm/InputRadio/index.props.d.ts +20 -0
  298. package/esm/Menu/components/MenuItem/index.d.ts +1 -2
  299. package/esm/Menu/components/MenuItem/index.js +1 -1
  300. package/esm/Menu/index.d.ts +1 -2
  301. package/esm/Menu/index.js +1 -1
  302. package/esm/Modal/components/Close/index.d.ts +2 -6
  303. package/esm/Modal/components/Close/index.js +3 -3
  304. package/esm/Modal/components/Close/index.props.d.ts +4 -0
  305. package/esm/Modal/components/Content/index.d.ts +3 -3
  306. package/esm/Modal/components/Content/index.js +1 -1
  307. package/esm/Modal/components/Content/index.props.d.ts +2 -0
  308. package/esm/Modal/components/Title/index.d.ts +3 -3
  309. package/esm/Modal/components/Title/index.js +2 -2
  310. package/esm/Modal/components/Title/index.props.d.ts +2 -0
  311. package/esm/Modal/index.d.ts +1 -2
  312. package/esm/Modal/index.js +8 -8
  313. package/esm/MultiSelect/components/MenuOverlay/index.d.ts +2 -18
  314. package/esm/MultiSelect/components/MenuOverlay/index.js +7 -7
  315. package/esm/MultiSelect/components/MenuOverlay/index.props.d.ts +16 -0
  316. package/esm/MultiSelect/components/MenuOverlayItem/index.d.ts +2 -12
  317. package/esm/MultiSelect/components/MenuOverlayItem/index.js +3 -3
  318. package/esm/MultiSelect/components/MenuOverlayItem/index.props.d.ts +11 -0
  319. package/esm/MultiSelect/index.d.ts +1 -2
  320. package/esm/MultiSelect/index.js +8 -8
  321. package/esm/NumberInput/NumberInput.d.ts +3 -0
  322. package/esm/NumberInput/NumberInput.js +179 -0
  323. package/esm/NumberInput/NumberInput.module.css +31 -0
  324. package/esm/NumberInput/index.d.ts +2 -0
  325. package/esm/NumberInput/index.props.d.ts +28 -0
  326. package/esm/Portal/index.d.ts +3 -5
  327. package/esm/Portal/index.js +1 -1
  328. package/esm/Portal/index.props.d.ts +4 -0
  329. package/esm/Progress/Progress.d.ts +1 -18
  330. package/esm/Progress/index.d.ts +1 -1
  331. package/esm/Progress/index.props.d.ts +18 -0
  332. package/esm/RadioGroup/Radio.d.ts +3 -19
  333. package/esm/RadioGroup/Radio.js +2 -2
  334. package/esm/RadioGroup/index.d.ts +2 -25
  335. package/esm/RadioGroup/index.js +2 -2
  336. package/esm/RadioGroup/index.props.d.ts +38 -0
  337. package/esm/Rating/Rating.d.ts +1 -22
  338. package/esm/Rating/Rating.js +1 -1
  339. package/esm/Rating/index.d.ts +2 -2
  340. package/esm/Rating/index.props.d.ts +21 -0
  341. package/esm/Select/components/MenuOverlay/index.d.ts +2 -11
  342. package/esm/Select/components/MenuOverlay/index.js +3 -3
  343. package/esm/Select/components/MenuOverlay/index.props.d.ts +11 -0
  344. package/esm/Select/components/MenuOverlayItem/index.d.ts +2 -15
  345. package/esm/Select/components/MenuOverlayItem/index.js +3 -3
  346. package/esm/Select/components/MenuOverlayItem/index.props.d.ts +14 -0
  347. package/esm/Select/index.d.ts +1 -2
  348. package/esm/Select/index.js +6 -6
  349. package/esm/Separator/index.d.ts +2 -5
  350. package/esm/Separator/index.js +1 -1
  351. package/esm/Separator/index.props.d.ts +3 -0
  352. package/esm/Slider/Slider.d.ts +3 -0
  353. package/esm/Slider/Slider.js +204 -0
  354. package/esm/Slider/Slider.module.css +314 -0
  355. package/esm/Slider/index.d.ts +2 -0
  356. package/esm/Slider/index.props.d.ts +47 -0
  357. package/esm/Status/index.d.ts +1 -2
  358. package/esm/Status/index.js +1 -1
  359. package/esm/Switch/index.d.ts +1 -2
  360. package/esm/Switch/index.js +2 -2
  361. package/esm/TabsMenu/Tab/Tab.d.ts +2 -3
  362. package/esm/TabsMenu/Tab/Tab.js +1 -1
  363. package/esm/TabsMenu/index.d.ts +1 -2
  364. package/esm/TabsMenu/index.js +2 -2
  365. package/esm/TabsMenu/index.props.d.ts +1 -1
  366. package/esm/TabsPanels/index.d.ts +1 -2
  367. package/esm/TabsPanels/index.js +1 -1
  368. package/esm/TextArea/index.d.ts +1 -2
  369. package/esm/TextArea/index.js +3 -3
  370. package/esm/TimeSelect/Label/index.d.ts +2 -7
  371. package/esm/TimeSelect/Label/index.js +1 -1
  372. package/esm/TimeSelect/Label/index.props.d.ts +5 -0
  373. package/esm/TimeSelect/index.d.ts +2 -10
  374. package/esm/TimeSelect/index.js +3 -3
  375. package/esm/TimeSelect/index.props.d.ts +8 -0
  376. package/esm/Tooltip/index.d.ts +1 -2
  377. package/esm/Tooltip/index.js +1 -1
  378. package/esm/Typography/index.d.ts +1 -2
  379. package/esm/Typography/index.js +1 -1
  380. package/esm/base/BaseInput/index.d.ts +1 -2
  381. package/esm/base/BaseInput/index.js +1 -1
  382. package/esm/base/FormField/index.d.ts +1 -2
  383. package/esm/base/FormField/index.js +2 -2
  384. package/esm/base/InputRoot/index.d.ts +1 -2
  385. package/esm/base/InputRoot/index.js +1 -1
  386. package/esm/hooks/useMediaSizes/index.d.ts +2 -2
  387. package/esm/hooks/useMediaSizes/index.js +1 -1
  388. package/esm/hooks/useOnClickOutside/index.d.ts +2 -2
  389. package/esm/hooks/useOnClickOutside/index.js +1 -1
  390. package/esm/hooks/useScrollLock/index.d.ts +1 -2
  391. package/esm/hooks/useScrollLock/index.js +1 -1
  392. package/esm/hooks/useTrapFocus/index.d.ts +1 -2
  393. package/esm/hooks/useTrapFocus/index.js +1 -1
  394. package/esm/index.d.ts +74 -37
  395. package/esm/index.js +56 -53
  396. package/hooks/useMediaSizes/index.d.ts +2 -2
  397. package/hooks/useMediaSizes/index.js +1 -3
  398. package/hooks/useOnClickOutside/index.d.ts +2 -2
  399. package/hooks/useOnClickOutside/index.js +1 -3
  400. package/hooks/useScrollLock/index.d.ts +1 -2
  401. package/hooks/useScrollLock/index.js +1 -3
  402. package/hooks/useTrapFocus/index.d.ts +1 -2
  403. package/hooks/useTrapFocus/index.js +1 -3
  404. package/index.d.ts +74 -37
  405. package/index.js +64 -53
  406. package/package.json +19 -11
  407. /package/TabsMenu/Tab/{Tab.props.d.ts → index.props.d.ts} +0 -0
  408. /package/esm/TabsMenu/Tab/{Tab.props.d.ts → index.props.d.ts} +0 -0
@@ -0,0 +1,28 @@
1
+ import type { InputProps } from "../Input/index.props";
2
+ export type NumberInputGroupStyle = "thousand" | "lakh" | "wan" | "none";
3
+ export type NumberInputSize = "s" | "m" | "l";
4
+ export interface NumberInputValues {
5
+ value: string;
6
+ formattedValue: string;
7
+ floatValue?: number;
8
+ }
9
+ export interface NumberInputProps extends Omit<InputProps, "type" | "inputMode" | "value" | "defaultValue" | "onChange" | "min" | "max" | "prefix"> {
10
+ value?: string;
11
+ defaultValue?: string;
12
+ onValueChange?: (values: NumberInputValues) => void;
13
+ thousandSeparator?: string | false;
14
+ decimalSeparator?: string;
15
+ thousandsGroupStyle?: NumberInputGroupStyle;
16
+ decimalScale?: number;
17
+ fixedDecimalScale?: boolean;
18
+ allowNegative?: boolean;
19
+ allowLeadingZeros?: boolean;
20
+ prefix?: string;
21
+ suffix?: string;
22
+ min?: number;
23
+ max?: number;
24
+ isAllowed?: (values: NumberInputValues) => boolean;
25
+ clearable?: boolean;
26
+ clearLabel?: string;
27
+ size?: NumberInputSize;
28
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "sideEffects": [
3
+ "**/*.css",
4
+ "**/*.scss"
5
+ ],
6
+ "module": "../esm/NumberInput/index.js",
7
+ "main": "./index.js",
8
+ "types": "./index.d.ts"
9
+ }
package/Portal/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import type { FC, PropsWithChildren } from "react";
2
- declare const Portal: FC<PropsWithChildren<{
3
- node?: HTMLElement | null;
4
- }>>;
5
- export default Portal;
1
+ import type { FC } from "react";
2
+ import type { PortalProps } from "./index.props";
3
+ export declare const Portal: FC<PortalProps>;
package/Portal/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
6
4
  var React = require('react');
7
5
  var ReactDOM = require('react-dom');
@@ -24,4 +22,4 @@ var Portal = function Portal(_ref) {
24
22
  return mountNode ? /*#__PURE__*/ReactDOM__default.default.createPortal(children, mountNode) : mountNode;
25
23
  };
26
24
 
27
- exports.default = Portal;
25
+ exports.Portal = Portal;
@@ -0,0 +1,4 @@
1
+ import type { PropsWithChildren } from "react";
2
+ export type PortalProps = PropsWithChildren<{
3
+ node?: HTMLElement | null;
4
+ }>;
@@ -1,20 +1,3 @@
1
1
  import React from "react";
2
- import type { HTMLAttributes, ReactNode } from "react";
3
- export type ProgressSize = "s" | "m" | "l";
4
- export type ProgressBarSize = "2" | "4" | "6" | "8";
5
- export type ProgressView = "default" | "secondary" | "accent" | "accentGradient" | "info" | "positive" | "warning" | "negative";
6
- export interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
7
- value: number;
8
- hasValue?: boolean;
9
- view?: ProgressView | string;
10
- size?: ProgressSize | string;
11
- progressSize?: ProgressBarSize | string;
12
- label?: string;
13
- labelIcon?: ReactNode;
14
- labelTextPlacement?: "left" | "right" | "none";
15
- labelPlacement?: "top" | "left" | "none";
16
- valuePlacement?: "top" | "right" | "none";
17
- valueAlign?: "start" | "center" | "end";
18
- caption?: string;
19
- }
2
+ import type { ProgressProps } from "./index.props";
20
3
  export declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,2 @@
1
1
  export { Progress } from "./Progress";
2
- export type { ProgressProps, ProgressSize, ProgressBarSize, ProgressView, } from "./Progress";
2
+ export type { ProgressProps, ProgressSize, ProgressBarSize, ProgressView, } from "./index.props";
@@ -0,0 +1,18 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export type ProgressSize = "s" | "m" | "l";
3
+ export type ProgressBarSize = "2" | "4" | "6" | "8";
4
+ export type ProgressView = "default" | "secondary" | "accent" | "accentGradient" | "info" | "positive" | "warning" | "negative";
5
+ export interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
6
+ value: number;
7
+ hasValue?: boolean;
8
+ view?: ProgressView | string;
9
+ size?: ProgressSize | string;
10
+ progressSize?: ProgressBarSize | string;
11
+ label?: string;
12
+ labelIcon?: ReactNode;
13
+ labelTextPlacement?: "left" | "right" | "none";
14
+ labelPlacement?: "top" | "left" | "none";
15
+ valuePlacement?: "top" | "right" | "none";
16
+ valueAlign?: "start" | "center" | "end";
17
+ caption?: string;
18
+ }
package/README.md CHANGED
@@ -1,9 +1,16 @@
1
1
  # Colibri UI
2
2
 
3
3
  ![npm version](https://img.shields.io/npm/v/colibri-ui.svg?style=flat)
4
+ ![tests](https://img.shields.io/badge/tests-40%20passed-brightgreen?style=flat)
5
+ ![coverage statements](https://img.shields.io/badge/statements-90.3%25-brightgreen?style=flat)
6
+ ![coverage branches](https://img.shields.io/badge/branches-73.3%25-yellowgreen?style=flat)
7
+ ![coverage functions](https://img.shields.io/badge/functions-98.14%25-brightgreen?style=flat)
8
+ ![coverage lines](https://img.shields.io/badge/lines-95.55%25-brightgreen?style=flat)
4
9
 
5
10
  React UI components library.
6
11
 
12
+ Colibri UI is in active development. Use it at your own risk 😈
13
+
7
14
  ## Demo
8
15
 
9
16
  [Demo](https://godfreyd.github.io/colibri-ui)
@@ -29,9 +36,7 @@ export default function RootLayout({
29
36
  }>) {
30
37
  return (
31
38
  <html lang="en">
32
- <body className={clsx("theme")}>
33
- {children}
34
- </body>
39
+ <body className={clsx("theme")}>{children}</body>
35
40
  </html>
36
41
  );
37
42
  }
@@ -1,19 +1,3 @@
1
- import React from "react";
2
- import type { ChangeEvent, FC, FocusEvent } from "react";
3
- type Props = {
4
- value: string | number;
5
- text: string;
6
- id?: string;
7
- note?: string;
8
- name?: string;
9
- checked?: boolean;
10
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
11
- onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
12
- onClick?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
13
- onMouseEnter?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
14
- className: string;
15
- disabled?: boolean;
16
- testId?: string;
17
- };
18
- declare const Radio: FC<Props>;
19
- export default Radio;
1
+ import type { FC } from "react";
2
+ import type { RadioProps } from "./index.props";
3
+ export declare const Radio: FC<RadioProps>;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var React = require('react');
6
4
  var index = require('../InputRadio/index.js');
7
5
 
@@ -25,7 +23,7 @@ var Radio = function Radio(_ref) {
25
23
  _ref$disabled = _ref.disabled,
26
24
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
27
25
  testId = _ref.testId;
28
- return /*#__PURE__*/React__default.default.createElement(index.default, {
26
+ return /*#__PURE__*/React__default.default.createElement(index.InputRadio, {
29
27
  id: id,
30
28
  value: value,
31
29
  checked: checked,
@@ -42,4 +40,4 @@ var Radio = function Radio(_ref) {
42
40
  });
43
41
  };
44
42
 
45
- exports.default = Radio;
43
+ exports.Radio = Radio;
@@ -1,26 +1,3 @@
1
- import React from "react";
2
1
  import type { FC } from "react";
3
- export interface Option {
4
- id?: string;
5
- val: string | number;
6
- text: string;
7
- note?: string;
8
- name?: string;
9
- tooltipContent?: () => React.ReactElement;
10
- onClick?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
11
- onMouseEnter?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
12
- className?: string;
13
- disabled?: boolean;
14
- }
15
- export interface RadioGroupProps {
16
- val?: string | number;
17
- options: Option[];
18
- onChange: (value: string) => void;
19
- onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
20
- column?: boolean;
21
- wrapped?: boolean;
22
- className?: string;
23
- disabled?: boolean;
24
- }
25
- declare const RadioGroup: FC<RadioGroupProps>;
26
- export default RadioGroup;
2
+ import type { RadioGroupProps } from "./index.props";
3
+ export declare const RadioGroup: FC<RadioGroupProps>;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
4
  var React = require('react');
7
5
  var clsx = require('clsx');
@@ -39,7 +37,7 @@ var RadioGroup = /*#__PURE__*/React.memo(function (_ref) {
39
37
  onMouseEnter = option.onMouseEnter,
40
38
  optionClassName = option.className,
41
39
  optionDisabled = option.disabled;
42
- return /*#__PURE__*/React__default.default.createElement(Radio.default, {
40
+ return /*#__PURE__*/React__default.default.createElement(Radio.Radio, {
43
41
  key: optionVal,
44
42
  id: id,
45
43
  testId: id,
@@ -60,4 +58,4 @@ var RadioGroup = /*#__PURE__*/React.memo(function (_ref) {
60
58
  }));
61
59
  });
62
60
 
63
- exports.default = RadioGroup;
61
+ exports.RadioGroup = RadioGroup;
@@ -0,0 +1,38 @@
1
+ import type { ChangeEvent, FocusEvent, ReactElement } from "react";
2
+ export interface Option {
3
+ id?: string;
4
+ val: string | number;
5
+ text: string;
6
+ note?: string;
7
+ name?: string;
8
+ tooltipContent?: () => ReactElement;
9
+ onClick?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
10
+ onMouseEnter?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
11
+ className?: string;
12
+ disabled?: boolean;
13
+ }
14
+ export interface RadioGroupProps {
15
+ val?: string | number;
16
+ options: Option[];
17
+ onChange: (value: string) => void;
18
+ onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
19
+ column?: boolean;
20
+ wrapped?: boolean;
21
+ className?: string;
22
+ disabled?: boolean;
23
+ }
24
+ export type RadioProps = {
25
+ value: string | number;
26
+ text: string;
27
+ id?: string;
28
+ note?: string;
29
+ name?: string;
30
+ checked?: boolean;
31
+ onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
32
+ onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
33
+ onClick?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
34
+ onMouseEnter?: (event: React.MouseEvent<HTMLLabelElement, MouseEvent>) => void;
35
+ className: string;
36
+ disabled?: boolean;
37
+ testId?: string;
38
+ };
@@ -1,24 +1,3 @@
1
1
  import React from "react";
2
- import type { HTMLAttributes, ReactNode } from "react";
3
- export type RatingSize = "xxs" | "xs" | "s" | "m" | "l" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "displayS" | "displayM" | "displayL";
4
- export type RatingView = "default" | "accent";
5
- export interface RatingProps extends HTMLAttributes<HTMLDivElement> {
6
- value?: number | null;
7
- hasValue?: boolean;
8
- precision?: number;
9
- decimalSeparator?: string;
10
- valuePlacement?: "before" | "after";
11
- iconSlot?: ReactNode;
12
- iconSlotOutline?: ReactNode;
13
- iconSlotHalf?: ReactNode;
14
- hasIcons?: boolean;
15
- iconQuantity?: 1 | 5 | 10;
16
- helperText?: string;
17
- helperTextStretching?: "fixed" | "filled";
18
- size?: RatingSize;
19
- view?: RatingView | string;
20
- fillColor?: string;
21
- outlineColor?: string;
22
- }
2
+ import type { RatingProps } from "./index.props";
23
3
  export declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
24
- export default Rating;
package/Rating/Rating.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var React = require('react');
7
5
  var styles = require('./Rating.module.css');
@@ -128,4 +126,3 @@ var Rating = /*#__PURE__*/React.forwardRef(function RatingBase(_a, ref) {
128
126
  });
129
127
 
130
128
  exports.Rating = Rating;
131
- exports.default = Rating;
package/Rating/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { default, Rating } from "./Rating";
2
- export type { RatingProps, RatingSize, RatingView } from "./Rating";
1
+ export { Rating } from "./Rating";
2
+ export type { RatingProps, RatingSize, RatingView } from "./index.props";
package/Rating/index.js CHANGED
@@ -1,10 +1,7 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var Rating = require('./Rating.js');
6
4
 
7
5
 
8
6
 
9
7
  exports.Rating = Rating.Rating;
10
- exports.default = Rating.Rating;
@@ -0,0 +1,21 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export type RatingSize = "xxs" | "xs" | "s" | "m" | "l" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "displayS" | "displayM" | "displayL";
3
+ export type RatingView = "default" | "accent";
4
+ export interface RatingProps extends HTMLAttributes<HTMLDivElement> {
5
+ value?: number | null;
6
+ hasValue?: boolean;
7
+ precision?: number;
8
+ decimalSeparator?: string;
9
+ valuePlacement?: "before" | "after";
10
+ iconSlot?: ReactNode;
11
+ iconSlotOutline?: ReactNode;
12
+ iconSlotHalf?: ReactNode;
13
+ hasIcons?: boolean;
14
+ iconQuantity?: 1 | 5 | 10;
15
+ helperText?: string;
16
+ helperTextStretching?: "fixed" | "filled";
17
+ size?: RatingSize;
18
+ view?: RatingView | string;
19
+ fillColor?: string;
20
+ outlineColor?: string;
21
+ }
@@ -1,12 +1,3 @@
1
1
  import React from "react";
2
- interface Props<T extends string> {
3
- options: {
4
- value: T;
5
- label: React.ReactNode;
6
- selected: boolean;
7
- disabled?: boolean;
8
- }[];
9
- onChange: (value: T) => void;
10
- }
11
- declare const MenuOverlay: <T extends string>({ options, onChange }: Props<T>) => React.JSX.Element;
12
- export default MenuOverlay;
2
+ import type { MenuOverlayProps } from "./index.props";
3
+ export declare const MenuOverlay: <T extends string>({ options, onChange, }: MenuOverlayProps<T>) => React.JSX.Element;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
6
4
  var React = require('react');
7
5
  var index = require('../../../Menu/index.js');
@@ -48,12 +46,12 @@ var MenuOverlay = function MenuOverlay(_ref) {
48
46
  return /*#__PURE__*/React__default.default.createElement("div", {
49
47
  ref: rootRef,
50
48
  className: styles__default.default.root
51
- }, /*#__PURE__*/React__default.default.createElement(index.default, {
49
+ }, /*#__PURE__*/React__default.default.createElement(index.Menu, {
52
50
  ref: listRef,
53
51
  selected: selected
54
52
  }, options.map(function (option, index) {
55
53
  var _a;
56
- return /*#__PURE__*/React__default.default.createElement(index$1.default, {
54
+ return /*#__PURE__*/React__default.default.createElement(index$1.SelectItem, {
57
55
  setScrollView: setScrollView,
58
56
  option: option,
59
57
  isDisabled: (option === null || option === void 0 ? void 0 : option.disabled) || false,
@@ -66,4 +64,4 @@ var MenuOverlay = function MenuOverlay(_ref) {
66
64
  })));
67
65
  };
68
66
 
69
- exports.default = MenuOverlay;
67
+ exports.MenuOverlay = MenuOverlay;
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from "react";
2
+ export interface MenuOverlayOption<T extends string> {
3
+ value: T;
4
+ label: ReactNode;
5
+ selected: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ export interface MenuOverlayProps<T extends string> {
9
+ options: MenuOverlayOption<T>[];
10
+ onChange: (value: T) => void;
11
+ }
@@ -1,16 +1,3 @@
1
1
  import React from "react";
2
- import type { Coordinates } from "../../index.props";
3
- type SelectItemProps = {
4
- option: {
5
- value: string;
6
- label: React.ReactNode;
7
- selected: boolean;
8
- disabled?: boolean;
9
- };
10
- onClick?: () => void;
11
- setScrollView: (value: Coordinates) => void;
12
- isPrevDisabled?: boolean;
13
- isDisabled?: boolean;
14
- };
15
- declare const SelectItem: ({ option, onClick, setScrollView, isPrevDisabled, isDisabled, }: SelectItemProps) => React.JSX.Element;
16
- export default SelectItem;
2
+ import type { SelectItemProps } from "./index.props";
3
+ export declare const SelectItem: ({ option, onClick, setScrollView, isPrevDisabled, isDisabled, }: SelectItemProps) => React.JSX.Element;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var React = require('react');
6
4
  var index = require('../../../Menu/components/MenuItem/index.js');
7
5
  var Check = require('../../../Icons/Check.js');
@@ -35,15 +33,15 @@ var SelectItem = function SelectItem(_ref) {
35
33
  }
36
34
  // eslint-disable-next-line react-hooks/exhaustive-deps
37
35
  }, []);
38
- return /*#__PURE__*/React__default.default.createElement(index.default, {
36
+ return /*#__PURE__*/React__default.default.createElement(index.MenuItem, {
39
37
  ref: ref,
40
38
  onClick: onClick,
41
39
  isSelected: option.selected,
42
40
  disabled: option.disabled
43
- }, option.label, option.selected && /*#__PURE__*/React__default.default.createElement(Check.default, {
41
+ }, option.label, option.selected && /*#__PURE__*/React__default.default.createElement(Check.Check, {
44
42
  width: 16,
45
43
  height: 16
46
44
  }));
47
45
  };
48
46
 
49
- exports.default = SelectItem;
47
+ exports.SelectItem = SelectItem;
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from "react";
2
+ import type { Coordinates } from "../../index.props";
3
+ export type SelectItemProps = {
4
+ option: {
5
+ value: string;
6
+ label: ReactNode;
7
+ selected: boolean;
8
+ disabled?: boolean;
9
+ };
10
+ onClick?: () => void;
11
+ setScrollView: (value: Coordinates) => void;
12
+ isPrevDisabled?: boolean;
13
+ isDisabled?: boolean;
14
+ };
package/Select/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  import type { JSX } from "react";
2
2
  import type { SelectProps } from "./index.props";
3
- declare const Select: <T extends string>({ options, value, name, zIndex, fontSize, label, hint, hasError, required, placeholder, disabled, size, fullWidth, customInputRoot, className, onChange, }: SelectProps<T>) => JSX.Element;
4
- export default Select;
3
+ export declare const Select: <T extends string>({ options, value, name, zIndex, fontSize, label, hint, hasError, required, placeholder, disabled, size, fullWidth, customInputRoot, className, onChange, }: SelectProps<T>) => JSX.Element;
package/Select/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
4
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
7
5
  var React = require('react');
@@ -65,13 +63,13 @@ var Select = function Select(_ref) {
65
63
  return selected;
66
64
  })) === null || _a === void 0 ? void 0 : _a.label;
67
65
  }, [preparedOptions]);
68
- return /*#__PURE__*/React__default.default.createElement(index.default, {
66
+ return /*#__PURE__*/React__default.default.createElement(index.FormField, {
69
67
  className: clsx__default.default(styles__default.default["form-field"], _defineProperty__default.default({}, styles__default.default["full-width"], Boolean(fullWidth)), className),
70
68
  required: required,
71
69
  label: label,
72
70
  hint: hint,
73
71
  hasError: hasError
74
- }, /*#__PURE__*/React__default.default.createElement(index$1.default, {
72
+ }, /*#__PURE__*/React__default.default.createElement(index$1.Dropdown, {
75
73
  placement: "bottom-start",
76
74
  preventOverflow: true,
77
75
  onVisibleChange: setIsOpen,
@@ -79,7 +77,7 @@ var Select = function Select(_ref) {
79
77
  zIndex: zIndex,
80
78
  fontSize: fontSize,
81
79
  disabled: Boolean(disabled),
82
- overlay: /*#__PURE__*/React__default.default.createElement(index$2.default, {
80
+ overlay: /*#__PURE__*/React__default.default.createElement(index$2.MenuOverlay, {
83
81
  options: preparedOptions,
84
82
  onChange: onChange
85
83
  }),
@@ -90,7 +88,7 @@ var Select = function Select(_ref) {
90
88
  style: {
91
89
  width: fullWidth ? "100%" : "fit-content"
92
90
  }
93
- }, /*#__PURE__*/React__default.default.createElement(index$3.default, {
91
+ }, /*#__PURE__*/React__default.default.createElement(index$3.InputRoot, {
94
92
  hasError: hasError,
95
93
  size: size,
96
94
  active: isOpen && Boolean(!disabled),
@@ -98,7 +96,7 @@ var Select = function Select(_ref) {
98
96
  width: fullWidth ? "100%" : ""
99
97
  },
100
98
  className: styles__default.default.root,
101
- endIcon: /*#__PURE__*/React__default.default.createElement(Chevron.default, {
99
+ endIcon: /*#__PURE__*/React__default.default.createElement(Chevron.Chevron, {
102
100
  className: clsx__default.default(styles__default.default.icon, _defineProperty__default.default({}, styles__default.default["icon_isOpen"], isOpen && Boolean(!disabled)))
103
101
  }),
104
102
  disabled: Boolean(disabled)
@@ -115,4 +113,4 @@ var Select = function Select(_ref) {
115
113
  }))))));
116
114
  };
117
115
 
118
- exports.default = Select;
116
+ exports.Select = Select;
@@ -1,6 +1,3 @@
1
1
  import type { FC } from "react";
2
- type Props = {
3
- className?: string;
4
- };
5
- declare const Separator: FC<Props>;
6
- export default Separator;
2
+ import type { SeparatorProps } from "./index.props";
3
+ export declare const Separator: FC<SeparatorProps>;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var React = require('react');
6
4
  var clsx = require('clsx');
7
5
  var styles = require('./Separator.module.css');
@@ -19,4 +17,4 @@ var Separator = function Separator(_ref) {
19
17
  });
20
18
  };
21
19
 
22
- exports.default = Separator;
20
+ exports.Separator = Separator;
@@ -0,0 +1,3 @@
1
+ export type SeparatorProps = {
2
+ className?: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import type { SliderProps } from "./index.props";
3
+ export declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLDivElement>>;