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
@@ -1,29 +1,6 @@
1
- import React, { type Dispatch, type InputHTMLAttributes, type MouseEventHandler, type ReactNode, type SetStateAction } from "react";
1
+ import React from "react";
2
+ import type { CodeFieldProps } from "./index.props";
2
3
  export declare const ONLY_DIGITS_PATTERN = "^\\d+$";
3
4
  export declare const ONLY_CHARS_PATTERN = "^[a-zA-Z]+$";
4
5
  export declare const ONLY_DIGITS_AND_CHARS_PATTERN = "^[a-zA-Z0-9]+$";
5
- export type CodeFieldSize = "m" | "l" | "xl";
6
- export type CodeFieldShape = "default" | "segmented";
7
- export type ItemErrorBehavior = "remove-symbol" | "keep" | "forbid-enter";
8
- export type CodeErrorBehavior = "remove-code" | "keep";
9
- export interface CodeFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "onClick" | "size" | "width" | "value"> {
10
- value?: string;
11
- placeholder?: string;
12
- codeLength?: 4 | 5 | 6;
13
- caption?: ReactNode;
14
- captionAlign?: "left" | "center";
15
- width?: string | number;
16
- view?: string;
17
- shape?: CodeFieldShape;
18
- size?: CodeFieldSize;
19
- disabled?: boolean;
20
- isError?: boolean;
21
- setIsError?: Dispatch<SetStateAction<boolean>>;
22
- allowedSymbols?: string | RegExp;
23
- itemErrorBehavior?: ItemErrorBehavior;
24
- codeErrorBehavior?: CodeErrorBehavior;
25
- onChange?: (value: string) => void;
26
- onFullCodeEnter?: (code: string) => void;
27
- onClick?: MouseEventHandler<HTMLDivElement>;
28
- }
29
6
  export declare const CodeField: React.ForwardRefExoticComponent<CodeFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -4,6 +4,8 @@ import React, { forwardRef, useRef, useState, useMemo, useCallback, useEffect }
4
4
  import styles from './CodeField.module.css';
5
5
 
6
6
  var ONLY_DIGITS_PATTERN = "^\\d+$";
7
+ var ONLY_CHARS_PATTERN = "^[a-zA-Z]+$";
8
+ var ONLY_DIGITS_AND_CHARS_PATTERN = "^[a-zA-Z0-9]+$";
7
9
  var cx = function cx() {
8
10
  for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {
9
11
  classNames[_key] = arguments[_key];
@@ -300,4 +302,4 @@ var CodeField = /*#__PURE__*/forwardRef(function CodeFieldComponent(_a, forwarde
300
302
  }, caption)));
301
303
  });
302
304
 
303
- export { CodeField, ONLY_DIGITS_PATTERN };
305
+ export { CodeField, ONLY_CHARS_PATTERN, ONLY_DIGITS_AND_CHARS_PATTERN, ONLY_DIGITS_PATTERN };
@@ -1,2 +1,2 @@
1
- export { CodeField as default, CodeField, ONLY_DIGITS_PATTERN, ONLY_CHARS_PATTERN, ONLY_DIGITS_AND_CHARS_PATTERN, } from "./CodeField";
2
- export type { CodeFieldProps, CodeFieldShape, CodeFieldSize, ItemErrorBehavior, CodeErrorBehavior, } from "./CodeField";
1
+ export { CodeField, ONLY_DIGITS_PATTERN, ONLY_CHARS_PATTERN, ONLY_DIGITS_AND_CHARS_PATTERN, } from "./CodeField";
2
+ export type { CodeFieldProps, CodeFieldShape, CodeFieldSize, ItemErrorBehavior, CodeErrorBehavior, } from "./index.props";
@@ -0,0 +1,25 @@
1
+ import type { Dispatch, InputHTMLAttributes, MouseEventHandler, ReactNode, SetStateAction } from "react";
2
+ export type CodeFieldSize = "m" | "l" | "xl";
3
+ export type CodeFieldShape = "default" | "segmented";
4
+ export type ItemErrorBehavior = "remove-symbol" | "keep" | "forbid-enter";
5
+ export type CodeErrorBehavior = "remove-code" | "keep";
6
+ export interface CodeFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "onClick" | "size" | "width" | "value"> {
7
+ value?: string;
8
+ placeholder?: string;
9
+ codeLength?: 4 | 5 | 6;
10
+ caption?: ReactNode;
11
+ captionAlign?: "left" | "center";
12
+ width?: string | number;
13
+ view?: string;
14
+ shape?: CodeFieldShape;
15
+ size?: CodeFieldSize;
16
+ disabled?: boolean;
17
+ isError?: boolean;
18
+ setIsError?: Dispatch<SetStateAction<boolean>>;
19
+ allowedSymbols?: string | RegExp;
20
+ itemErrorBehavior?: ItemErrorBehavior;
21
+ codeErrorBehavior?: CodeErrorBehavior;
22
+ onChange?: (value: string) => void;
23
+ onFullCodeEnter?: (code: string) => void;
24
+ onClick?: MouseEventHandler<HTMLDivElement>;
25
+ }
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { CounterProps } from "./index.props";
3
- declare const Counter: React.FC<CounterProps>;
4
- export default Counter;
3
+ export declare const Counter: React.FC<CounterProps>;
@@ -1,9 +1,9 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import React from 'react';
3
3
  import clsx from 'clsx';
4
- import Button from '../Button/index.js';
5
- import MinusIcon from '../Icons/Minus.js';
6
- import PlusIcon from '../Icons/Plus.js';
4
+ import { Button } from '../Button/index.js';
5
+ import { Minus } from '../Icons/Minus.js';
6
+ import { Plus } from '../Icons/Plus.js';
7
7
  import styles from './Counter.module.css';
8
8
 
9
9
  var Counter = function Counter(_ref) {
@@ -29,7 +29,7 @@ var Counter = function Counter(_ref) {
29
29
  }, /*#__PURE__*/React.createElement("div", {
30
30
  className: clsx(styles.control, _defineProperty({}, styles["control_fullWidth"], Boolean(fullWidth)))
31
31
  }, /*#__PURE__*/React.createElement(Button, {
32
- icon: /*#__PURE__*/React.createElement(MinusIcon, {
32
+ icon: /*#__PURE__*/React.createElement(Minus, {
33
33
  width: 16,
34
34
  height: 16
35
35
  }),
@@ -43,7 +43,7 @@ var Counter = function Counter(_ref) {
43
43
  }), /*#__PURE__*/React.createElement("div", {
44
44
  className: styles.value
45
45
  }, value), /*#__PURE__*/React.createElement(Button, {
46
- icon: /*#__PURE__*/React.createElement(PlusIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Plus, {
47
47
  width: 16,
48
48
  height: 16
49
49
  }),
@@ -57,4 +57,4 @@ var Counter = function Counter(_ref) {
57
57
  })));
58
58
  };
59
59
 
60
- export { Counter as default };
60
+ export { Counter };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { DatePickerProps } from "./index.props";
3
- declare const DatePicker: React.FC<DatePickerProps>;
4
- export default DatePicker;
3
+ export declare const DatePicker: React.FC<DatePickerProps>;
@@ -1,12 +1,12 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import { __rest } from 'tslib';
3
3
  import React, { useState, useMemo, useEffect } from 'react';
4
- import Dropdown from '../../../Dropdown/index.js';
5
- import Calendar from '../../../Calendar/Calendar.js';
6
- import Input from '../../../Input/index.js';
7
- import BaseInput from '../../../base/BaseInput/index.js';
8
- import FormField from '../../../base/FormField/index.js';
9
- import InputRoot from '../../../base/InputRoot/index.js';
4
+ import { Dropdown } from '../../../Dropdown/index.js';
5
+ import { Calendar } from '../../../Calendar/Calendar.js';
6
+ import { Input } from '../../../Input/index.js';
7
+ import { BaseInput } from '../../../base/BaseInput/index.js';
8
+ import { FormField } from '../../../base/FormField/index.js';
9
+ import { InputRoot } from '../../../base/InputRoot/index.js';
10
10
  import { parse, toDMYDate, toISODate } from '../../../helpers/date/index.js';
11
11
  import styles from './index.module.css';
12
12
 
@@ -182,4 +182,4 @@ var DatePicker = function DatePicker(_a) {
182
182
  })))));
183
183
  };
184
184
 
185
- export { DatePicker as default };
185
+ export { DatePicker };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const Datepicker: ({ className, endPlaceholder, hasError, hint, label, placeholder, required, selectedDate, selectedRange, selectionMode, size, startPlaceholder, onChangeDate, onChangeRange, ...calendarProps }: Props) => React.JSX.Element;
4
- export default Datepicker;
3
+ export declare const Datepicker: ({ className, endPlaceholder, hasError, hint, label, placeholder, required, selectedDate, selectedRange, selectionMode, size, startPlaceholder, onChangeDate, onChangeRange, ...calendarProps }: Props) => React.JSX.Element;
@@ -2,7 +2,7 @@ import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
  import clsx from 'clsx';
4
4
  import styles from './Datepicker.module.css';
5
- import DatePicker from './components/DatePicker/index.js';
5
+ import { DatePicker } from './components/DatePicker/index.js';
6
6
 
7
7
  var Datepicker = function Datepicker(_a) {
8
8
  var className = _a.className,
@@ -40,4 +40,4 @@ var Datepicker = function Datepicker(_a) {
40
40
  })));
41
41
  };
42
42
 
43
- export { Datepicker as default };
43
+ export { Datepicker };
@@ -1,3 +1,3 @@
1
1
  import type { FC } from "react";
2
- declare const DotsLoader: FC;
3
- export default DotsLoader;
2
+ import type { DotsLoaderProps } from "./index.props";
3
+ export declare const DotsLoader: FC<DotsLoaderProps>;
@@ -17,4 +17,4 @@ var DotsLoader = function DotsLoader() {
17
17
  }));
18
18
  };
19
19
 
20
- export { DotsLoader as default };
20
+ export { DotsLoader };
@@ -0,0 +1 @@
1
+ export type DotsLoaderProps = Record<string, never>;
@@ -1,42 +1,5 @@
1
1
  import React from "react";
2
- import type { HTMLAttributes, MouseEventHandler, ReactNode, RefObject } from "react";
3
- export type DrawerPlacement = "top" | "right" | "bottom" | "left";
4
- export type DrawerClosePlacement = "left" | "right";
5
- export interface DrawerAnimationInfo {
6
- enter?: string;
7
- exit?: string;
8
- }
9
- export interface DrawerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onAnimationStart"> {
10
- opened: boolean;
11
- placement?: DrawerPlacement;
12
- width?: string | number;
13
- height?: string | number;
14
- offset?: [string | number, string | number];
15
- zIndex?: string | number;
16
- asModal?: boolean;
17
- withBlur?: boolean;
18
- closeOnEsc?: boolean;
19
- closeOnOverlayClick?: boolean;
20
- borderRadius?: "none" | "default";
21
- customBackgroundColor?: string;
22
- customContentBackgroundColor?: string;
23
- animationInfo?: DrawerAnimationInfo;
24
- initialFocusRef?: RefObject<HTMLElement | null>;
25
- focusAfterRef?: RefObject<HTMLElement | null>;
26
- portalContainer?: HTMLElement | null;
27
- onClose?: () => void;
28
- onEscKeyDown?: (event: KeyboardEvent) => void;
29
- onOverlayClick?: MouseEventHandler<HTMLDivElement>;
30
- }
31
- export interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
32
- actions?: ReactNode;
33
- hasClose?: boolean;
34
- closePlacement?: DrawerClosePlacement;
35
- closeAriaLabel?: string;
36
- onClose?: () => void;
37
- }
38
- export type DrawerContentProps = HTMLAttributes<HTMLDivElement>;
39
- export type DrawerFooterProps = HTMLAttributes<HTMLDivElement>;
2
+ import type { DrawerContentProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps } from "./index.props";
40
3
  export declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
41
4
  export declare const DrawerHeader: React.ForwardRefExoticComponent<DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
42
5
  export declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,2 @@
1
1
  export { Drawer, DrawerHeader, DrawerContent, DrawerFooter } from "./Drawer";
2
- export type { DrawerProps, DrawerHeaderProps, DrawerContentProps, DrawerFooterProps, DrawerPlacement, DrawerClosePlacement, DrawerAnimationInfo, } from "./Drawer";
2
+ export type { DrawerProps, DrawerHeaderProps, DrawerContentProps, DrawerFooterProps, DrawerPlacement, DrawerClosePlacement, DrawerAnimationInfo, } from "./index.props";
@@ -0,0 +1,38 @@
1
+ import type { HTMLAttributes, MouseEventHandler, ReactNode, RefObject } from "react";
2
+ export type DrawerPlacement = "top" | "right" | "bottom" | "left";
3
+ export type DrawerClosePlacement = "left" | "right";
4
+ export interface DrawerAnimationInfo {
5
+ enter?: string;
6
+ exit?: string;
7
+ }
8
+ export interface DrawerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onAnimationStart"> {
9
+ opened: boolean;
10
+ placement?: DrawerPlacement;
11
+ width?: string | number;
12
+ height?: string | number;
13
+ offset?: [string | number, string | number];
14
+ zIndex?: string | number;
15
+ asModal?: boolean;
16
+ withBlur?: boolean;
17
+ closeOnEsc?: boolean;
18
+ closeOnOverlayClick?: boolean;
19
+ borderRadius?: "none" | "default";
20
+ customBackgroundColor?: string;
21
+ customContentBackgroundColor?: string;
22
+ animationInfo?: DrawerAnimationInfo;
23
+ initialFocusRef?: RefObject<HTMLElement | null>;
24
+ focusAfterRef?: RefObject<HTMLElement | null>;
25
+ portalContainer?: HTMLElement | null;
26
+ onClose?: () => void;
27
+ onEscKeyDown?: (event: KeyboardEvent) => void;
28
+ onOverlayClick?: MouseEventHandler<HTMLDivElement>;
29
+ }
30
+ export interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
31
+ actions?: ReactNode;
32
+ hasClose?: boolean;
33
+ closePlacement?: DrawerClosePlacement;
34
+ closeAriaLabel?: string;
35
+ onClose?: () => void;
36
+ }
37
+ export type DrawerContentProps = HTMLAttributes<HTMLDivElement>;
38
+ export type DrawerFooterProps = HTMLAttributes<HTMLDivElement>;
@@ -1,4 +1,3 @@
1
1
  import { type FC, type PropsWithChildren } from "react";
2
2
  import type { DropdownProps } from "./index.props";
3
- declare const Dropdown: FC<PropsWithChildren<DropdownProps>>;
4
- export default Dropdown;
3
+ export declare const Dropdown: FC<PropsWithChildren<DropdownProps>>;
@@ -3,7 +3,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import React, { useState, useCallback, useMemo, Children, useEffect } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useFloating, autoUpdate, offset, flip, shift, useHover, useClick, useFocus, useDismiss, useRole, useInteractions, FloatingPortal } from '@floating-ui/react';
6
- import ClickOutside from '../ClickOutside/index.js';
6
+ import { ClickOutside } from '../ClickOutside/index.js';
7
7
  import styles from './Dropdown.module.css';
8
8
 
9
9
  var Dropdown = function Dropdown(_ref) {
@@ -114,4 +114,4 @@ var Dropdown = function Dropdown(_ref) {
114
114
  }, overlay))))));
115
115
  };
116
116
 
117
- export { Dropdown as default };
117
+ export { Dropdown };
@@ -1,30 +1,3 @@
1
1
  import React from "react";
2
- import type { ChangeEventHandler, DragEventHandler, InputHTMLAttributes, MouseEventHandler, ReactNode } from "react";
3
- export type DropzoneFileResult = {
4
- acceptedFiles: File[];
5
- rejectedFiles?: File[];
6
- error?: string;
7
- };
8
- export type DropzoneValidator = (files: File[]) => Promise<DropzoneFileResult>;
9
- export type DropzoneFileHandler = (result: DropzoneFileResult) => Promise<void> | void;
10
- export interface DropzoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "title" | "size" | "width" | "height" | "onChange" | "onClick" | "onDrop" | "onDragEnter" | "onDragLeave" | "onDragOver"> {
11
- files?: File[];
12
- title?: ReactNode;
13
- description?: ReactNode;
14
- icon?: ReactNode;
15
- iconPlacement?: "top" | "left";
16
- size?: "m" | string;
17
- view?: "default" | string;
18
- stretch?: boolean;
19
- width?: string | number;
20
- height?: string | number;
21
- validator?: DropzoneValidator;
22
- onDrop?: DropzoneFileHandler;
23
- onChoseFiles?: DropzoneFileHandler;
24
- onChange?: ChangeEventHandler<HTMLInputElement>;
25
- onClick?: MouseEventHandler<HTMLDivElement>;
26
- onDragEnter?: DragEventHandler<HTMLDivElement>;
27
- onDragLeave?: DragEventHandler<HTMLDivElement>;
28
- onDragOver?: DragEventHandler<HTMLDivElement>;
29
- }
2
+ import type { DropzoneProps } from "./index.props";
30
3
  export declare const Dropzone: React.ForwardRefExoticComponent<DropzoneProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,2 +1,2 @@
1
1
  export { Dropzone } from "./Dropzone";
2
- export type { DropzoneProps, DropzoneFileResult, DropzoneValidator, DropzoneFileHandler, } from "./Dropzone";
2
+ export type { DropzoneProps, DropzoneFileResult, DropzoneValidator, DropzoneFileHandler, } from "./index.props";
@@ -0,0 +1,28 @@
1
+ import type { ChangeEventHandler, DragEventHandler, InputHTMLAttributes, MouseEventHandler, ReactNode } from "react";
2
+ export type DropzoneFileResult = {
3
+ acceptedFiles: File[];
4
+ rejectedFiles?: File[];
5
+ error?: string;
6
+ };
7
+ export type DropzoneValidator = (files: File[]) => Promise<DropzoneFileResult>;
8
+ export type DropzoneFileHandler = (result: DropzoneFileResult) => Promise<void> | void;
9
+ export interface DropzoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "title" | "size" | "width" | "height" | "onChange" | "onClick" | "onDrop" | "onDragEnter" | "onDragLeave" | "onDragOver"> {
10
+ files?: File[];
11
+ title?: ReactNode;
12
+ description?: ReactNode;
13
+ icon?: ReactNode;
14
+ iconPlacement?: "top" | "left";
15
+ size?: "m" | string;
16
+ view?: "default" | string;
17
+ stretch?: boolean;
18
+ width?: string | number;
19
+ height?: string | number;
20
+ validator?: DropzoneValidator;
21
+ onDrop?: DropzoneFileHandler;
22
+ onChoseFiles?: DropzoneFileHandler;
23
+ onChange?: ChangeEventHandler<HTMLInputElement>;
24
+ onClick?: MouseEventHandler<HTMLDivElement>;
25
+ onDragEnter?: DragEventHandler<HTMLDivElement>;
26
+ onDragLeave?: DragEventHandler<HTMLDivElement>;
27
+ onDragOver?: DragEventHandler<HTMLDivElement>;
28
+ }
@@ -1,18 +1,3 @@
1
- import React, { type ClipboardEventHandler, type ElementType, type FocusEventHandler, type HTMLAttributes, type ReactNode, type SyntheticEvent } from "react";
2
- export interface EditableProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChange" | "onBlur" | "onPaste"> {
3
- /** Current text. The component also works without this prop. */
4
- value?: string;
5
- /** Element used to render the editable text, for example `span`, `h1` or a typography component. */
6
- textComponent?: ElementType;
7
- /** Icon shown on the right. Pass `null` to hide it. */
8
- icon?: ReactNode;
9
- placeholder?: string;
10
- maxLength?: number;
11
- name?: string;
12
- disabled?: boolean;
13
- spellCheck?: boolean;
14
- onChange?: (event: SyntheticEvent<HTMLDivElement>, value: string) => void;
15
- onBlur?: FocusEventHandler<HTMLDivElement>;
16
- onPaste?: ClipboardEventHandler<HTMLDivElement>;
17
- }
1
+ import React from "react";
2
+ import type { EditableProps } from "./index.props";
18
3
  export declare const Editable: React.ForwardRefExoticComponent<EditableProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import { __rest } from 'tslib';
3
3
  import React, { forwardRef, useRef, useState, useImperativeHandle, useEffect, useCallback } from 'react';
4
- import Edit from '../Icons/Edit.js';
4
+ import { Edit } from '../Icons/Edit.js';
5
5
  import styles from './Editable.module.css';
6
6
 
7
7
  var placeCaretAtEnd = function placeCaretAtEnd(element) {
@@ -1,2 +1,2 @@
1
- export { Editable as default, Editable } from "./Editable";
2
- export type { EditableProps } from "./Editable";
1
+ export { Editable } from "./Editable";
2
+ export type { EditableProps } from "./index.props";
@@ -0,0 +1,17 @@
1
+ import type { ClipboardEventHandler, ElementType, FocusEventHandler, HTMLAttributes, ReactNode, SyntheticEvent } from "react";
2
+ export interface EditableProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChange" | "onBlur" | "onPaste"> {
3
+ /** Current text. The component also works without this prop. */
4
+ value?: string;
5
+ /** Element used to render the editable text, for example `span`, `h1` or a typography component. */
6
+ textComponent?: ElementType;
7
+ /** Icon shown on the right. Pass `null` to hide it. */
8
+ icon?: ReactNode;
9
+ placeholder?: string;
10
+ maxLength?: number;
11
+ name?: string;
12
+ disabled?: boolean;
13
+ spellCheck?: boolean;
14
+ onChange?: (event: SyntheticEvent<HTMLDivElement>, value: string) => void;
15
+ onBlur?: FocusEventHandler<HTMLDivElement>;
16
+ onPaste?: ClipboardEventHandler<HTMLDivElement>;
17
+ }
@@ -1,4 +1,3 @@
1
1
  import type { FC, PropsWithChildren } from "react";
2
2
  import type { GridItemProps } from "./index.props";
3
- declare const GridItem: FC<PropsWithChildren<GridItemProps>>;
4
- export default GridItem;
3
+ export declare const GridItem: FC<PropsWithChildren<GridItemProps>>;
@@ -15,4 +15,4 @@ var GridItem = function GridItem(_ref) {
15
15
  }, children);
16
16
  };
17
17
 
18
- export { GridItem as default };
18
+ export { GridItem };
@@ -1,4 +1,3 @@
1
1
  import type { FC, PropsWithChildren } from "react";
2
2
  import type { GridProps } from "./index.props";
3
- declare const Grid: FC<PropsWithChildren<GridProps>>;
4
- export default Grid;
3
+ export declare const Grid: FC<PropsWithChildren<GridProps>>;
package/esm/Grid/index.js CHANGED
@@ -24,4 +24,4 @@ var Grid = function Grid(_ref) {
24
24
  }, children);
25
25
  };
26
26
 
27
- export { Grid as default };
27
+ export { Grid };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const ArrowNext: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var ArrowNext = (function (_a) {
4
+ var ArrowNext = function ArrowNext(_a) {
5
5
  var _a$fill = _a.fill,
6
6
  fill = _a$fill === void 0 ? "currentColor" : _a$fill,
7
7
  _a$width = _a.width,
@@ -23,6 +23,6 @@ var ArrowNext = (function (_a) {
23
23
  strokeWidth: "2",
24
24
  strokeLinecap: "round"
25
25
  }));
26
- });
26
+ };
27
27
 
28
- export { ArrowNext as default };
28
+ export { ArrowNext };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const Cart: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
package/esm/Icons/Cart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var Cart = (function (_a) {
4
+ var Cart = function Cart(_a) {
5
5
  var _a$fill = _a.fill,
6
6
  fill = _a$fill === void 0 ? "currentColor" : _a$fill,
7
7
  _a$width = _a.width,
@@ -21,6 +21,6 @@ var Cart = (function (_a) {
21
21
  }, props), /*#__PURE__*/React.createElement("path", {
22
22
  d: "M17.677,5.214 C17.6474966,4.87676512 17.3655221,4.61778237 17.027,4.617 L14.47,4.617 C14.47,2.033 12.103,0 9.54,0 C6.976,0 4.768,2.063 4.729,4.617 L2.052,4.617 C1.71273371,4.61587046 1.42966152,4.87586137 1.402,5.214 L0.042,20.519 C0.037,22.32 1.634,23.738 3.601,23.738 L15.478,23.738 C17.444,23.738 19.042,22.32 19.042,20.578 C19.042,20.558 17.677,5.214 17.677,5.214 L17.677,5.214 Z M15.762,22.62 L3.438,22.62 C2.158,22.62 1.12,21.774 1.1,20.731 L2.45,5.5 L4.73,5.5 L4.728,7.566 C4.728,7.944 5.03,8.246 5.408,8.246 C5.786,8.246 6.088,7.944 6.088,7.566 L6.09,5.5 L13.107,5.5 L13.107,7.566 C13.107,7.944 13.409,8.246 13.787,8.246 C13.9678664,8.24679795 14.1415988,8.17550771 14.2697731,8.04789639 C14.3979474,7.92028506 14.4700018,7.7468682 14.47,7.566 L14.47,5.5 L16.745,5.5 L18.1,20.731 C18.08,21.774 17.037,22.621 15.762,22.621 L15.762,22.62 Z M9.595,1.13 C11.482,1.13 13.07,2.716 13.11,4.62 L6.09,4.62 C6.13,2.716 7.708,1.13 9.595,1.13 L9.595,1.13 Z"
23
23
  }));
24
- });
24
+ };
25
25
 
26
- export { Cart as default };
26
+ export { Cart };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const Check: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var Check = (function (_a) {
4
+ var Check = function Check(_a) {
5
5
  var _a$fill = _a.fill,
6
6
  fill = _a$fill === void 0 ? "currentColor" : _a$fill,
7
7
  _a$width = _a.width,
@@ -29,6 +29,6 @@ var Check = (function (_a) {
29
29
  fill: "currentColor",
30
30
  d: "M0 0h24v24H0z"
31
31
  }))));
32
- });
32
+ };
33
33
 
34
- export { Check as default };
34
+ export { Check };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const Chevron: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var Chevron = (function (_a) {
4
+ var Chevron = function Chevron(_a) {
5
5
  var _a$fill = _a.fill,
6
6
  fill = _a$fill === void 0 ? "currentColor" : _a$fill,
7
7
  _a$width = _a.width,
@@ -24,6 +24,6 @@ var Chevron = (function (_a) {
24
24
  d: "M3.5492 5.50873C3.82061 5.25994 4.24232 5.27827 4.49111 5.54968C5.08905 6.20198 6.07747 7.19075 6.9255 8.02488C7.34221 8.43475 7.72193 8.80427 7.99968 9.07343C8.27742 8.80427 8.65715 8.43475 9.07385 8.02488C9.92189 7.19075 10.9103 6.20198 11.5082 5.54968C11.757 5.27827 12.1787 5.25994 12.4502 5.50873C12.7216 5.75753 12.7399 6.17924 12.4911 6.45065C11.8668 7.13169 10.8552 8.14292 10.0088 8.97545C9.58374 9.39358 9.19708 9.76978 8.91672 10.0414C8.7765 10.1773 8.66281 10.2871 8.58411 10.3629L8.46141 10.481C8.46138 10.4811 8.46137 10.4811 7.99968 10.0002C7.53799 10.4811 7.53797 10.4811 7.53794 10.481L7.41525 10.3629C7.33655 10.2871 7.22285 10.1773 7.08264 10.0414C6.80227 9.76978 6.41562 9.39358 5.99052 8.97545C5.14411 8.14292 4.13253 7.13169 3.50824 6.45065C3.25945 6.17924 3.27778 5.75753 3.5492 5.50873ZM7.99968 10.0002L7.53794 10.481C7.79592 10.7287 8.20344 10.7287 8.46141 10.481L7.99968 10.0002Z",
25
25
  fill: "currentColor"
26
26
  }));
27
- });
27
+ };
28
28
 
29
- export { Chevron as default };
29
+ export { Chevron };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const Close: ({ width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var CloseIcon = (function (_a) {
4
+ var Close = function Close(_a) {
5
5
  var _a$width = _a.width,
6
6
  width = _a$width === void 0 ? 24 : _a$width,
7
7
  _a$height = _a.height,
@@ -22,6 +22,6 @@ var CloseIcon = (function (_a) {
22
22
  d: "M.536.541A1.9 1.9 0 0 0 0 1.848c0 .49.203.959.536 1.306l8.868 8.857-8.868 8.857c-.333.35-.518.815-.518 1.299 0 .486.204.948.555 1.291A1.8 1.8 0 0 0 1.848 24a1.86 1.86 0 0 0 1.311-.52l8.85-8.856 8.85 8.857a1.86 1.86 0 0 0 1.312.519c.48-.006.942-.2 1.275-.541A1.8 1.8 0 0 0 24 22.167c0-.484-.185-.95-.517-1.3l-8.869-8.856 8.869-8.857c.332-.349.517-.815.517-1.299a1.8 1.8 0 0 0-.554-1.291A1.8 1.8 0 0 0 22.17.022a1.86 1.86 0 0 0-1.312.52l-8.85 8.856L3.16.541a1.857 1.857 0 0 0-2.623 0",
23
23
  clipRule: "evenodd"
24
24
  }));
25
- });
25
+ };
26
26
 
27
- export { CloseIcon as default };
27
+ export { Close };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const Cross: ({ width, height, ref, ...props }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import React from 'react';
3
3
 
4
- var Cross = (function (_a) {
4
+ var Cross = function Cross(_a) {
5
5
  var _a$width = _a.width,
6
6
  width = _a$width === void 0 ? 24 : _a$width,
7
7
  _a$height = _a.height,
@@ -21,6 +21,6 @@ var Cross = (function (_a) {
21
21
  d: "M3.14645 3.14645C3.34171 2.95118 3.65829 2.95118 3.85355 3.14645L6 5.29289L8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645C9.04882 3.34171 9.04882 3.65829 8.85355 3.85355L6.70711 6L8.85355 8.14645C9.04882 8.34171 9.04882 8.65829 8.85355 8.85355C8.65829 9.04882 8.34171 9.04882 8.14645 8.85355L6 6.70711L3.85355 8.85355C3.65829 9.04882 3.34171 9.04882 3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645L5.29289 6L3.14645 3.85355C2.95118 3.65829 2.95118 3.34171 3.14645 3.14645Z",
22
22
  fill: "currentColor"
23
23
  }));
24
- });
24
+ };
25
25
 
26
- export { Cross as default };
26
+ export { Cross };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
2
  import type { Props } from "./index.props";
3
- declare const _default: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;
4
- export default _default;
3
+ export declare const CrossFill: ({ fill, width, height, ref, ...props }: Props) => React.JSX.Element;