armtek-uikit-react 1.0.13 → 1.0.15

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 (335) hide show
  1. package/{cjs/assets → assets}/Adornment.scss +2 -0
  2. package/{esm/ui/Alert/Alert.module.scss → assets/Alert.scss} +1 -1
  3. package/{esm/ui/Avatar/Avatar.module.scss → assets/Avatar.scss} +1 -1
  4. package/{cjs/ui/Avatar/AvatarGroup.module.scss → assets/AvatarGroup.scss} +1 -1
  5. package/{cjs/ui/Badge/Badge.module.scss → assets/Badge.scss} +1 -1
  6. package/{cjs/assets → assets}/Button.scss +1 -32
  7. package/assets/ButtonGroup.scss +12 -0
  8. package/assets/ButtonIcon.scss +24 -0
  9. package/{cjs/ui/Card/Card.module.scss → assets/Card.scss} +1 -1
  10. package/{esm/ui/Form/Checkbox/Checkbox.module.scss → assets/Checkbox.scss} +1 -1
  11. package/{esm/ui/Chip/Chip.module.scss → assets/Chip.scss} +1 -1
  12. package/{cjs/ui/Form/DatePicker/DatePicker.module.scss → assets/DatePicker.scss} +1 -1
  13. package/{cjs/ui/HelperText/HelperText.module.scss → assets/HelperText.scss} +1 -1
  14. package/{esm/ui/Form/Interval/Interval.module.scss → assets/Interval.scss} +1 -1
  15. package/{esm/ui/List/ListItem.module.scss → assets/ListItem.scss} +1 -1
  16. package/{esm/ui/Loader/Loader.module.scss → assets/Loader.scss} +1 -1
  17. package/{esm/ui/Logo/Logo.module.scss → assets/Logo.scss} +1 -1
  18. package/{esm/ui/Form/Period/Period.module.scss → assets/Period.scss} +1 -1
  19. package/{esm/ui/Form/Rating/Rating.module.scss → assets/Rating.scss} +1 -1
  20. package/{cjs/ui/Form/Select/Select.module.scss → assets/Select.scss} +1 -1
  21. package/{esm/ui/Slider/Slider.module.scss → assets/Slider.scss} +1 -1
  22. package/{cjs/ui/Status/Status.module.scss → assets/Status.scss} +1 -1
  23. package/{esm/ui/Stepper/StepItem.module.scss → assets/StepItem.scss} +1 -1
  24. package/{cjs/ui/Stepper/StepItemIcon.module.scss → assets/StepItemIcon.scss} +1 -1
  25. package/{cjs/ui/Stepper/Stepper.module.scss → assets/Stepper.scss} +1 -1
  26. package/{esm/ui/Form/Switch/Switch.module.scss → assets/Switch.scss} +1 -1
  27. package/{cjs/ui/Form/TextArea/TextArea.module.scss → assets/TextArea.scss} +1 -1
  28. package/{cjs/ui/Form/TextField/TextField.module.scss → assets/TextField.scss} +1 -1
  29. package/{cjs/ui/Tooltip/Tooltip.module.scss → assets/Tooltip.scss} +1 -1
  30. package/assets/styles.scss +31 -0
  31. package/index.js +15 -0
  32. package/{esm/lib → lib}/helpers/helpers.js +7 -0
  33. package/package.json +25 -1
  34. package/{esm → types}/index.d.ts +3 -3
  35. package/{esm → types}/lib/helpers/helpers.d.ts +1 -0
  36. package/{cjs/ui/Button/Button.d.ts → types/ui/Button/index.d.ts} +3 -3
  37. package/{esm/ui/Button/ButtonIcon.d.ts → types/ui/ButtonIcon/index.d.ts} +1 -1
  38. package/types/ui/Slider/RcSlider.d.ts +0 -0
  39. package/{esm → types}/ui/Slider/Slider.d.ts +1 -1
  40. package/{esm → types}/ui/Stepper/StepItem.d.ts +1 -1
  41. package/{esm/ui → ui}/Adornment/Adornment.js +10 -5
  42. package/ui/Adornment/Adornment.module.scss +2 -0
  43. package/{esm/ui → ui}/Alert/Alert.js +7 -3
  44. package/ui/Alert/Alert.module.scss +2 -0
  45. package/{esm/ui → ui}/Avatar/Avatar.js +5 -1
  46. package/ui/Avatar/Avatar.module.scss +1 -0
  47. package/{esm/ui → ui}/Avatar/AvatarGroup.js +5 -1
  48. package/ui/Avatar/AvatarGroup.module.scss +1 -0
  49. package/{esm/ui → ui}/Badge/Badge.js +5 -1
  50. package/ui/Badge/Badge.module.scss +1 -0
  51. package/ui/Button/Button.module.scss +1 -0
  52. package/{esm/ui/Button/Button.js → ui/Button/index.js} +7 -3
  53. package/ui/ButtonGroup/ButtonGroup.module.scss +2 -0
  54. package/{esm/ui/Button/ButtonGroup.js → ui/ButtonGroup/index.js} +5 -1
  55. package/ui/ButtonIcon/ButtonIcon.module.scss +1 -0
  56. package/{esm/ui/Button/ButtonIcon.js → ui/ButtonIcon/index.js} +6 -2
  57. package/{esm/ui → ui}/Card/Card.js +5 -1
  58. package/ui/Card/Card.module.scss +1 -0
  59. package/{esm/ui → ui}/Chip/Chip.js +5 -1
  60. package/ui/Chip/Chip.module.scss +1 -0
  61. package/{esm/ui → ui}/Form/Checkbox/Checkbox.js +5 -1
  62. package/ui/Form/Checkbox/Checkbox.module.scss +1 -0
  63. package/{esm/ui → ui}/Form/Checkbox/Radio.js +7 -3
  64. package/{esm/ui → ui}/Form/DateField/DateField.js +5 -6
  65. package/{esm/ui → ui}/Form/DateField/TimeField.js +1 -1
  66. package/ui/Form/DatePicker/DatePicker.module.scss +1 -0
  67. package/{esm/ui → ui}/Form/DatePicker/PeriodSelect.js +1 -1
  68. package/{esm/ui → ui}/Form/DatePicker/TimePicker.js +1 -1
  69. package/{esm/ui → ui}/Form/Interval/Interval.js +7 -3
  70. package/ui/Form/Interval/Interval.module.scss +1 -0
  71. package/{esm/ui → ui}/Form/Interval/IntervalSlide.js +7 -3
  72. package/{esm/ui → ui}/Form/Password/Password.js +3 -3
  73. package/{esm/ui → ui}/Form/Period/Period.js +11 -7
  74. package/ui/Form/Period/Period.module.scss +2 -0
  75. package/{esm/ui → ui}/Form/Rating/Rating.js +5 -1
  76. package/ui/Form/Rating/Rating.module.scss +1 -0
  77. package/{esm/ui → ui}/Form/Select/Select.js +10 -6
  78. package/ui/Form/Select/Select.module.scss +1 -0
  79. package/{esm/ui → ui}/Form/Switch/Switch.js +5 -1
  80. package/ui/Form/Switch/Switch.module.scss +1 -0
  81. package/{esm/ui → ui}/Form/TextArea/TextArea.js +6 -2
  82. package/ui/Form/TextArea/TextArea.module.scss +1 -0
  83. package/{esm/ui → ui}/Form/TextField/TextField.js +6 -2
  84. package/ui/Form/TextField/TextField.module.scss +1 -0
  85. package/{esm/ui → ui}/HelperText/HelperText.js +5 -1
  86. package/ui/HelperText/HelperText.module.scss +1 -0
  87. package/{esm/ui → ui}/List/ListItem.js +7 -3
  88. package/ui/List/ListItem.module.scss +1 -0
  89. package/{esm/ui → ui}/Loader/Loader.js +5 -1
  90. package/ui/Loader/Loader.module.scss +1 -0
  91. package/{esm/ui → ui}/Logo/Logo.js +5 -1
  92. package/ui/Logo/Logo.module.scss +1 -0
  93. package/ui/Slider/RcSlider.js +0 -0
  94. package/{esm/ui → ui}/Slider/Slider.js +8 -5
  95. package/ui/Slider/Slider.module.scss +1 -0
  96. package/{esm/ui → ui}/Status/Status.js +5 -1
  97. package/ui/Status/Status.module.scss +1 -0
  98. package/{esm/ui → ui}/Stepper/StepItem.js +8 -4
  99. package/ui/Stepper/StepItem.module.scss +1 -0
  100. package/{esm/ui → ui}/Stepper/StepItemIcon.js +5 -1
  101. package/ui/Stepper/StepItemIcon.module.scss +1 -0
  102. package/{esm/ui → ui}/Stepper/Stepper.js +6 -2
  103. package/ui/Stepper/Stepper.module.scss +1 -0
  104. package/{esm/ui → ui}/Tooltip/Tooltip.js +5 -1
  105. package/ui/Tooltip/Tooltip.module.scss +1 -0
  106. package/Adornment/package.json +0 -7
  107. package/Alert/package.json +0 -7
  108. package/Avatar/package.json +0 -7
  109. package/AvatarGroup/package.json +0 -7
  110. package/Badge/package.json +0 -7
  111. package/Button/package.json +0 -7
  112. package/ButtonClasses/package.json +0 -7
  113. package/ButtonGroup/package.json +0 -7
  114. package/ButtonIcon/package.json +0 -7
  115. package/Card/package.json +0 -7
  116. package/Checkbox/package.json +0 -7
  117. package/Chip/package.json +0 -7
  118. package/DateField/package.json +0 -7
  119. package/DatePicker/package.json +0 -7
  120. package/DateService/package.json +0 -7
  121. package/HelperText/package.json +0 -7
  122. package/Interval/package.json +0 -7
  123. package/IntervalSlide/package.json +0 -7
  124. package/ListItem/package.json +0 -7
  125. package/Loader/package.json +0 -7
  126. package/Logo/package.json +0 -7
  127. package/Password/package.json +0 -7
  128. package/Period/package.json +0 -7
  129. package/PeriodSelect/package.json +0 -7
  130. package/Radio/package.json +0 -7
  131. package/Rating/package.json +0 -7
  132. package/RcSlider/package.json +0 -7
  133. package/Select/package.json +0 -7
  134. package/Slider/package.json +0 -7
  135. package/Status/package.json +0 -7
  136. package/StepItem/package.json +0 -7
  137. package/StepItemIcon/package.json +0 -7
  138. package/Stepper/package.json +0 -7
  139. package/Switch/package.json +0 -7
  140. package/TextArea/package.json +0 -7
  141. package/TextField/package.json +0 -7
  142. package/TimeField/package.json +0 -7
  143. package/TimePicker/package.json +0 -7
  144. package/Tooltip/package.json +0 -7
  145. package/cjs/assets/styles.scss +0 -6
  146. package/cjs/index.d.ts +0 -29
  147. package/cjs/index.js +0 -35
  148. package/cjs/lib/const/styles.js +0 -6
  149. package/cjs/lib/helpers/helpers.d.ts +0 -5
  150. package/cjs/lib/helpers/helpers.js +0 -48
  151. package/cjs/lib/hooks/useClickOutside.js +0 -22
  152. package/cjs/lib/services/DateService.js +0 -48
  153. package/cjs/types/theme.js +0 -3
  154. package/cjs/ui/Adornment/Adornment.js +0 -47
  155. package/cjs/ui/Adornment/Adornment.module.scss +0 -18
  156. package/cjs/ui/Alert/Alert.js +0 -46
  157. package/cjs/ui/Alert/Alert.module.scss +0 -38
  158. package/cjs/ui/Avatar/Avatar.js +0 -50
  159. package/cjs/ui/Avatar/Avatar.module.scss +0 -82
  160. package/cjs/ui/Avatar/AvatarGroup.js +0 -34
  161. package/cjs/ui/Badge/Badge.js +0 -34
  162. package/cjs/ui/Button/Button.css +0 -3
  163. package/cjs/ui/Button/Button.js +0 -43
  164. package/cjs/ui/Button/Button.module.scss +0 -298
  165. package/cjs/ui/Button/ButtonClasses.d.ts +0 -3
  166. package/cjs/ui/Button/ButtonClasses.js +0 -12
  167. package/cjs/ui/Button/ButtonGroup.js +0 -26
  168. package/cjs/ui/Button/ButtonIcon.d.ts +0 -3
  169. package/cjs/ui/Button/ButtonIcon.js +0 -21
  170. package/cjs/ui/Card/Card.js +0 -19
  171. package/cjs/ui/Chip/Chip.js +0 -41
  172. package/cjs/ui/Chip/Chip.module.scss +0 -96
  173. package/cjs/ui/Form/Checkbox/Checkbox.js +0 -53
  174. package/cjs/ui/Form/Checkbox/Checkbox.module.scss +0 -297
  175. package/cjs/ui/Form/Checkbox/Radio.js +0 -21
  176. package/cjs/ui/Form/DateField/DateField.js +0 -71
  177. package/cjs/ui/Form/DateField/TimeField.js +0 -19
  178. package/cjs/ui/Form/DatePicker/DatePicker.js +0 -51
  179. package/cjs/ui/Form/DatePicker/PeriodSelect.js +0 -29
  180. package/cjs/ui/Form/DatePicker/TimePicker.js +0 -28
  181. package/cjs/ui/Form/Interval/Interval.js +0 -98
  182. package/cjs/ui/Form/Interval/Interval.module.scss +0 -35
  183. package/cjs/ui/Form/Interval/IntervalSlide.js +0 -48
  184. package/cjs/ui/Form/Password/Password.js +0 -46
  185. package/cjs/ui/Form/Password/Password.module.scss +0 -2
  186. package/cjs/ui/Form/Period/Period.js +0 -69
  187. package/cjs/ui/Form/Period/Period.module.scss +0 -10
  188. package/cjs/ui/Form/Rating/Rating.js +0 -54
  189. package/cjs/ui/Form/Rating/Rating.module.scss +0 -19
  190. package/cjs/ui/Form/Select/Select.js +0 -139
  191. package/cjs/ui/Form/Switch/Switch.js +0 -30
  192. package/cjs/ui/Form/Switch/Switch.module.scss +0 -69
  193. package/cjs/ui/Form/TextArea/TextArea.js +0 -46
  194. package/cjs/ui/Form/TextField/TextField.js +0 -152
  195. package/cjs/ui/HelperText/HelperText.js +0 -28
  196. package/cjs/ui/List/ListItem.js +0 -60
  197. package/cjs/ui/List/ListItem.module.scss +0 -34
  198. package/cjs/ui/Loader/Loader.js +0 -120
  199. package/cjs/ui/Loader/Loader.module.scss +0 -37
  200. package/cjs/ui/Logo/Logo.js +0 -102
  201. package/cjs/ui/Logo/Logo.module.scss +0 -29
  202. package/cjs/ui/Slider/RcSlider.d.ts +0 -2
  203. package/cjs/ui/Slider/RcSlider.js +0 -9
  204. package/cjs/ui/Slider/Slider.d.ts +0 -8
  205. package/cjs/ui/Slider/Slider.js +0 -36
  206. package/cjs/ui/Slider/Slider.module.scss +0 -6
  207. package/cjs/ui/Status/Status.js +0 -31
  208. package/cjs/ui/Stepper/StepItem.d.ts +0 -14
  209. package/cjs/ui/Stepper/StepItem.js +0 -56
  210. package/cjs/ui/Stepper/StepItem.module.scss +0 -67
  211. package/cjs/ui/Stepper/StepItemIcon.js +0 -40
  212. package/cjs/ui/Stepper/Stepper.js +0 -45
  213. package/cjs/ui/Tooltip/Tooltip.js +0 -32
  214. package/dist/armtek-uikit-react-main.js +0 -1357
  215. package/dist/armtek-uikit-react-main.min.js +0 -2
  216. package/dist/armtek-uikit-react-main.min.js.LICENSE.txt +0 -15
  217. package/dist/css/main.e207d402.css +0 -18
  218. package/esm/assets/Adornment.scss +0 -16
  219. package/esm/assets/Button.scss +0 -297
  220. package/esm/assets/fonts.scss +0 -2
  221. package/esm/assets/global.css +0 -72
  222. package/esm/assets/styles.scss +0 -6
  223. package/esm/assets/variables.scss +0 -67
  224. package/esm/index.js +0 -15
  225. package/esm/lib/const/styles.d.ts +0 -1
  226. package/esm/lib/hooks/useClickOutside.d.ts +0 -3
  227. package/esm/lib/services/DateService.d.ts +0 -12
  228. package/esm/types/theme.d.ts +0 -10
  229. package/esm/ui/Adornment/Adornment.d.ts +0 -7
  230. package/esm/ui/Adornment/Adornment.module.scss +0 -18
  231. package/esm/ui/Alert/Alert.d.ts +0 -10
  232. package/esm/ui/Avatar/Avatar.d.ts +0 -13
  233. package/esm/ui/Avatar/AvatarGroup.d.ts +0 -8
  234. package/esm/ui/Avatar/AvatarGroup.module.scss +0 -48
  235. package/esm/ui/Badge/Badge.d.ts +0 -11
  236. package/esm/ui/Badge/Badge.module.scss +0 -83
  237. package/esm/ui/Button/Button.css +0 -3
  238. package/esm/ui/Button/Button.d.ts +0 -15
  239. package/esm/ui/Button/Button.module.scss +0 -298
  240. package/esm/ui/Button/ButtonClasses.d.ts +0 -3
  241. package/esm/ui/Button/ButtonClasses.js +0 -7
  242. package/esm/ui/Button/ButtonGroup.d.ts +0 -6
  243. package/esm/ui/Card/Card.d.ts +0 -4
  244. package/esm/ui/Card/Card.module.scss +0 -7
  245. package/esm/ui/Chip/Chip.d.ts +0 -13
  246. package/esm/ui/Form/Checkbox/Checkbox.d.ts +0 -12
  247. package/esm/ui/Form/Checkbox/Radio.d.ts +0 -3
  248. package/esm/ui/Form/DateField/DateField.d.ts +0 -26
  249. package/esm/ui/Form/DateField/DateField.module.scss +0 -1
  250. package/esm/ui/Form/DateField/TimeField.d.ts +0 -3
  251. package/esm/ui/Form/DatePicker/DatePicker.d.ts +0 -7
  252. package/esm/ui/Form/DatePicker/DatePicker.module.scss +0 -7
  253. package/esm/ui/Form/DatePicker/PeriodSelect.d.ts +0 -2
  254. package/esm/ui/Form/DatePicker/TimePicker.d.ts +0 -2
  255. package/esm/ui/Form/DatePicker/styles.css +0 -766
  256. package/esm/ui/Form/Interval/Interval.d.ts +0 -21
  257. package/esm/ui/Form/Interval/IntervalSlide.d.ts +0 -4
  258. package/esm/ui/Form/Password/Password.d.ts +0 -12
  259. package/esm/ui/Form/Password/Password.module.scss +0 -2
  260. package/esm/ui/Form/Period/Period.d.ts +0 -15
  261. package/esm/ui/Form/Rating/Rating.d.ts +0 -10
  262. package/esm/ui/Form/Select/Select.d.ts +0 -23
  263. package/esm/ui/Form/Select/Select.module.scss +0 -26
  264. package/esm/ui/Form/Switch/Switch.d.ts +0 -7
  265. package/esm/ui/Form/TextArea/TextArea.d.ts +0 -4
  266. package/esm/ui/Form/TextArea/TextArea.module.scss +0 -15
  267. package/esm/ui/Form/TextField/TextField.d.ts +0 -40
  268. package/esm/ui/Form/TextField/TextField.module.scss +0 -160
  269. package/esm/ui/HelperText/HelperText.d.ts +0 -6
  270. package/esm/ui/HelperText/HelperText.module.scss +0 -10
  271. package/esm/ui/List/ListItem.d.ts +0 -10
  272. package/esm/ui/Loader/Loader.d.ts +0 -6
  273. package/esm/ui/Logo/Logo.d.ts +0 -12
  274. package/esm/ui/Slider/RcSlider.d.ts +0 -2
  275. package/esm/ui/Slider/RcSlider.js +0 -2
  276. package/esm/ui/Slider/style.css +0 -281
  277. package/esm/ui/Status/Status.d.ts +0 -10
  278. package/esm/ui/Status/Status.module.scss +0 -45
  279. package/esm/ui/Stepper/StepItemIcon.d.ts +0 -11
  280. package/esm/ui/Stepper/StepItemIcon.module.scss +0 -47
  281. package/esm/ui/Stepper/Stepper.d.ts +0 -11
  282. package/esm/ui/Stepper/Stepper.module.scss +0 -34
  283. package/esm/ui/Tooltip/Tooltip.d.ts +0 -7
  284. package/esm/ui/Tooltip/Tooltip.module.scss +0 -18
  285. package/helpers/package.json +0 -7
  286. package/styles/package.json +0 -7
  287. package/theme/package.json +0 -7
  288. package/useClickOutside/package.json +0 -7
  289. /package/{cjs/assets → assets}/fonts.scss +0 -0
  290. /package/{cjs/assets → assets}/global.css +0 -0
  291. /package/{cjs/assets → assets}/variables.scss +0 -0
  292. /package/{esm/lib → lib}/const/styles.js +0 -0
  293. /package/{esm/lib → lib}/hooks/useClickOutside.js +0 -0
  294. /package/{esm/lib → lib}/services/DateService.js +0 -0
  295. /package/{cjs → types}/lib/const/styles.d.ts +0 -0
  296. /package/{cjs → types}/lib/hooks/useClickOutside.d.ts +0 -0
  297. /package/{cjs → types}/lib/services/DateService.d.ts +0 -0
  298. /package/{esm/types → types}/theme.js +0 -0
  299. /package/{cjs → types}/types/theme.d.ts +0 -0
  300. /package/{cjs → types}/ui/Adornment/Adornment.d.ts +0 -0
  301. /package/{cjs → types}/ui/Alert/Alert.d.ts +0 -0
  302. /package/{cjs → types}/ui/Avatar/Avatar.d.ts +0 -0
  303. /package/{cjs → types}/ui/Avatar/AvatarGroup.d.ts +0 -0
  304. /package/{cjs → types}/ui/Badge/Badge.d.ts +0 -0
  305. /package/{cjs/ui/Button/ButtonGroup.d.ts → types/ui/ButtonGroup/index.d.ts} +0 -0
  306. /package/{cjs → types}/ui/Card/Card.d.ts +0 -0
  307. /package/{cjs → types}/ui/Chip/Chip.d.ts +0 -0
  308. /package/{cjs → types}/ui/Form/Checkbox/Checkbox.d.ts +0 -0
  309. /package/{cjs → types}/ui/Form/Checkbox/Radio.d.ts +0 -0
  310. /package/{cjs → types}/ui/Form/DateField/DateField.d.ts +0 -0
  311. /package/{cjs → types}/ui/Form/DateField/TimeField.d.ts +0 -0
  312. /package/{cjs → types}/ui/Form/DatePicker/DatePicker.d.ts +0 -0
  313. /package/{cjs → types}/ui/Form/DatePicker/PeriodSelect.d.ts +0 -0
  314. /package/{cjs → types}/ui/Form/DatePicker/TimePicker.d.ts +0 -0
  315. /package/{cjs → types}/ui/Form/Interval/Interval.d.ts +0 -0
  316. /package/{cjs → types}/ui/Form/Interval/IntervalSlide.d.ts +0 -0
  317. /package/{cjs → types}/ui/Form/Password/Password.d.ts +0 -0
  318. /package/{cjs → types}/ui/Form/Period/Period.d.ts +0 -0
  319. /package/{cjs → types}/ui/Form/Rating/Rating.d.ts +0 -0
  320. /package/{cjs → types}/ui/Form/Select/Select.d.ts +0 -0
  321. /package/{cjs → types}/ui/Form/Switch/Switch.d.ts +0 -0
  322. /package/{cjs → types}/ui/Form/TextArea/TextArea.d.ts +0 -0
  323. /package/{cjs → types}/ui/Form/TextField/TextField.d.ts +0 -0
  324. /package/{cjs → types}/ui/HelperText/HelperText.d.ts +0 -0
  325. /package/{cjs → types}/ui/List/ListItem.d.ts +0 -0
  326. /package/{cjs → types}/ui/Loader/Loader.d.ts +0 -0
  327. /package/{cjs → types}/ui/Logo/Logo.d.ts +0 -0
  328. /package/{cjs → types}/ui/Status/Status.d.ts +0 -0
  329. /package/{cjs → types}/ui/Stepper/StepItemIcon.d.ts +0 -0
  330. /package/{cjs → types}/ui/Stepper/Stepper.d.ts +0 -0
  331. /package/{cjs → types}/ui/Tooltip/Tooltip.d.ts +0 -0
  332. /package/{cjs/ui → ui}/Form/DateField/DateField.module.scss +0 -0
  333. /package/{esm/ui → ui}/Form/DatePicker/DatePicker.js +0 -0
  334. /package/{cjs/ui → ui}/Form/DatePicker/styles.css +0 -0
  335. /package/{cjs/ui → ui}/Slider/style.css +0 -0
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports.default = void 0;
6
- var _ChipModule = _interopRequireDefault(require("./Chip.module.scss"));
7
- var _clsx = _interopRequireDefault(require("clsx"));
8
- var _jsxRuntime = require("react/jsx-runtime");
9
- function Chip(props) {
10
- let {
11
- size,
12
- text,
13
- icon,
14
- onClose,
15
- as,
16
- variant,
17
- color,
18
- children
19
- } = props;
20
- let Component = as || 'span';
21
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
22
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
23
- className: (0, _clsx.default)(_ChipModule.default.chip, _ChipModule.default['chip_' + size], _ChipModule.default['chip_' + variant], _ChipModule.default['chip_' + color]),
24
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
25
- className: _ChipModule.default.chip__inner,
26
- children: [icon && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
27
- className: (0, _clsx.default)('material_icon', _ChipModule.default.chip__icon, _ChipModule.default['chip__icon_' + size]),
28
- children: icon
29
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
30
- children: text || children
31
- }), onClose && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
32
- className: (0, _clsx.default)('material_icon_solid', _ChipModule.default['chip__close_' + size], _ChipModule.default['chip__close_' + color], _ChipModule.default.chip__close),
33
- children: "cancel"
34
- })]
35
- })
36
- })
37
- });
38
- }
39
- var _default = Chip;
40
- exports.default = _default;
41
- module.exports = exports.default;
@@ -1,96 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .chip{
4
- background: $color-gray-200;
5
- padding: calc($size-step / 1.5) calc($size-step * 1.5);
6
- border-radius: 20px;
7
- font-size: 13px;
8
- display: inline-block;
9
- }
10
-
11
- .chip__inner{
12
- @include flex(center)
13
- }
14
-
15
- .chip__icon{
16
- display: inline-block;
17
- margin-right: $size-step;
18
- margin-left: -$size-step;
19
- font-size: 22px;
20
- @include flex();
21
- overflow: hidden;
22
- }
23
- .chip__close{
24
- margin-left: $size-step;
25
- margin-right: -$size-step;
26
- padding: 0;
27
- font-size: 20px;
28
- color: $color-gray-500;
29
- cursor: pointer;
30
- &:hover{
31
- @include transition();
32
- color: $color-gray-600;
33
- }
34
- }
35
-
36
- .chip__close_primary,
37
- .chip__close_secondary{
38
- color: #fff;
39
- &:hover{
40
- color: #fff;
41
- opacity: 0.6;
42
- }
43
- }
44
-
45
- .chip_small{
46
- padding: 4px $size-step;
47
- }
48
- .chip__icon_small{
49
- font-size: 18px;
50
- margin-left: 0;
51
- }
52
- .chip__close_small{
53
- font-size: 15px;
54
- margin-right: -2px;
55
- }
56
-
57
- .chip_outlined{
58
- background: transparent;
59
- border: 1px solid $color-gray-400;
60
- }
61
-
62
- a.chip,
63
- button.chip{
64
- &:hover{
65
- background: $color-gray-300;
66
- }
67
- }
68
- a.chip_outlined,
69
- button.chip_outlined{
70
- &:hover{
71
- background: rgba($color-neutral, 0.1);
72
- }
73
- }
74
-
75
- .chip_secondary{
76
- color: #fff;
77
- background-color: $color-secondary;
78
- }
79
- a.chip_secondary,
80
- button.chip_secondary{
81
- &:hover{
82
- background-color: $color-secondary-dark;
83
- }
84
- }
85
-
86
- .chip_primary{
87
- color: #fff;
88
- background-color: $color-primary;
89
- }
90
-
91
- a.chip_primary,
92
- button.chip_primary{
93
- &:hover{
94
- background-color: $color-primary-dark;
95
- }
96
- }
@@ -1,53 +0,0 @@
1
- "use strict";
2
- "use client";
3
-
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
- exports.__esModule = true;
6
- exports.default = void 0;
7
- var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
8
- var _clsx = _interopRequireDefault(require("clsx"));
9
- var _react = require("react");
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- const Checkbox = props => {
12
- let {
13
- label,
14
- intermediate,
15
- color = 'primary',
16
- size = 'large',
17
- variant = 'outlined',
18
- onChange,
19
- className,
20
- ...inputProps
21
- } = props;
22
- let [checked, setChecked] = (0, _react.useState)(!!props.defaultChecked);
23
- const handleClick = e => {
24
- if (!inputProps.disabled) {
25
- if (inputProps.checked === undefined) setChecked(prev => !prev);
26
- if (onChange) onChange(e);
27
- }
28
- };
29
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
30
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
31
- className: (0, _clsx.default)(_CheckboxModule.default.checkbox, className),
32
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
33
- className: _CheckboxModule.default.checkbox__input,
34
- ...inputProps,
35
- type: props.type || 'checkbox'
36
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
37
- onClick: handleClick,
38
- className: (0, _clsx.default)(_CheckboxModule.default.checkbox__label, _CheckboxModule.default['checkbox_' + size], _CheckboxModule.default['checkbox_' + variant], _CheckboxModule.default['checkbox_' + color], {
39
- [_CheckboxModule.default.checkbox__label_checked]: inputProps.checked !== undefined ? inputProps.checked : checked,
40
- [_CheckboxModule.default.checkbox__label_intermediate]: !!intermediate,
41
- [_CheckboxModule.default.checkbox__label_disabled]: !!inputProps.disabled
42
- }),
43
- children: label && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
44
- className: _CheckboxModule.default.checkbox__text,
45
- children: label
46
- })
47
- })]
48
- })
49
- });
50
- };
51
- var _default = Checkbox;
52
- exports.default = _default;
53
- module.exports = exports.default;
@@ -1,297 +0,0 @@
1
- @import "../../../assets/styles";
2
-
3
- .checkbox{
4
- position: relative;
5
- }
6
- .checkbox__input{
7
- display: none;
8
- }
9
- .checkbox__label{
10
- cursor: pointer;
11
- text-align: left;
12
- position: relative;
13
- display: block;
14
- font-size: 16px;
15
- line-height: 1.2;
16
- width:22px;
17
- height: 22px;
18
- & .checkbox__text{
19
- display: block;
20
- padding-left: 31px;
21
- }
22
- &:before{
23
- width: 100%;
24
- height: 100%;
25
- border-radius: $radius;
26
- border: 1px solid $color-gray-700;
27
- background: #fff;
28
- position: absolute;
29
- content: '';
30
- left: 0;
31
- top: -3px;
32
- }
33
- &:after{
34
- content: '';
35
- position: absolute;
36
- transform: rotate(45deg);
37
- left: 9px;
38
- top: 1px;
39
- width: 5px;
40
- height: 10px;
41
- border-bottom: 2px solid;
42
- border-right: 2px solid;
43
- display: none;
44
- }
45
- & span{
46
- display: inline-block;
47
- padding-left: 5px;
48
- }
49
- }
50
-
51
- .checkbox_medium{
52
- width:18px;
53
- height: 18px;
54
- & .checkbox__text{
55
- //padding-left: 27px;
56
- }
57
- &:after{
58
- left: 7px;
59
- top: 1px;
60
- }
61
- &:before{
62
- top:-1px;
63
- }
64
- }
65
- .checkbox_small{
66
- font-size: 14px;
67
- width:16px;
68
- height: 16px;
69
- & .checkbox__text{
70
- padding-left: 25px;
71
- }
72
- &:after{
73
- left: 7px;
74
- top: 1px;
75
- height: 8px;
76
- width: 3px;
77
- }
78
- &:before{
79
- top: -2px;
80
- }
81
- }
82
- .checkbox__label_intermediate{
83
- &:after{
84
- border-left: none;
85
- width: 16px;
86
- transform: none;
87
- top: 7px;
88
- height: 0;
89
- left: 4px;
90
- border-right: none;
91
- }
92
- &.checkbox_medium:after{
93
- width: 12px;
94
- }
95
- &.checkbox_small:after{
96
- width: 10px;
97
- top: 6px;
98
- }
99
- }
100
-
101
- .checkbox__label_intermediate,
102
- .checkbox__label_checked{
103
- &:before{
104
- border-color: transparent;
105
- background: $color-primary;
106
- }
107
- &:after{
108
- border-color: #fff;
109
- display: block;
110
- }
111
- &.checkbox_secondary{
112
- &:before{
113
- background: $color-secondary;
114
- }
115
- }
116
-
117
- &.checkbox_contained{
118
- &.checkbox_secondary{
119
- &:before{
120
- background: $color-secondary;
121
- }
122
- }
123
- &.checkbox_neutral{
124
- &:before{
125
- background: $color-neutral;
126
- }
127
- }
128
- &.checkbox_success{
129
- &:before{
130
- background: $color-success;
131
- }
132
- }
133
- &.checkbox_error{
134
- color: $color-error-dark;
135
- &:before{
136
- background: $color-error-dark;
137
- }
138
- }
139
- &.checkbox_warning{
140
- &:before{
141
- background: $color-warning;
142
- }
143
- }
144
- }
145
- }
146
- .checkbox_outlined{
147
- &:before{
148
- background: transparent;
149
- border-color: $color-primary;
150
- }
151
- &:after{
152
- border-color: $color-primary;
153
- }
154
- &.checkbox_secondary{
155
- &:before{
156
- border-color: $color-secondary;
157
- }
158
- &:after{
159
- border-color: $color-secondary;
160
- }
161
- }
162
- &.checkbox_neutral{
163
- &:before{
164
- border-color: $color-neutral;
165
- }
166
- &:after{
167
- border-color: $color-neutral;
168
- }
169
- }
170
- &.checkbox_success{
171
- &:before{
172
- border-color: $color-success;
173
- }
174
- &:after{
175
- border-color: $color-success;
176
- }
177
- }
178
- &.checkbox_error{
179
- color: $color-error-dark;
180
- &:before{
181
- border-color: $color-error-dark;
182
- }
183
- &:after{
184
- border-color: $color-error-dark;
185
- }
186
- }
187
- &.checkbox_warning{
188
- &:before{
189
- border-color: $color-warning;
190
- }
191
- &:after{
192
- border-color: $color-warning;
193
- }
194
- }
195
- }
196
-
197
- .checkbox__label_disabled{
198
- color: $color-gray-500 !important;
199
- pointer-events: none;
200
- &:before{
201
- background-color: $color-gray-400;
202
- }
203
- &:after{
204
- border-color: $color-gray-200;
205
- }
206
- &.checkbox_outlined{
207
- &:before{
208
- background-color: transparent;
209
- border-color: $color-gray-200;
210
- }
211
- &:after{
212
- border-color: $color-gray-200;
213
- }
214
- }
215
- }
216
-
217
- .radio{
218
- & .checkbox__label{
219
- &:before{
220
- border-radius: 50%;
221
- }
222
- &:after{
223
- border: none;
224
- border-radius: 50%;
225
- background: $color-primary;
226
- width: 12px;
227
- height: 12px;
228
- margin-top: -2px;
229
- margin-left: 1px;
230
- top:50%;
231
- left:50%;
232
- transform: translate(-50%, -50%);
233
- }
234
- &.checkbox_medium{
235
- &:after{
236
- width: 8px;
237
- height: 8px;
238
- margin-top: 0;
239
- }
240
- }
241
- &.checkbox_small{
242
- &:after{
243
- width: 6px;
244
- height: 6px;
245
- margin-top: -1px;
246
- }
247
- }
248
- &.checkbox_error:before{
249
- border-color: $color-error-dark;
250
- }
251
- &.checkbox_secondary:before{
252
- border-color: $color-secondary;
253
- }
254
- &.checkbox_success:before{
255
- border-color: $color-success;
256
- }
257
- &.checkbox_warning:before{
258
- border-color: $color-warning;
259
- }
260
- &.checkbox_neutral:before{
261
- border-color: $color-neutral;
262
- }
263
- &.checkbox_error:after{
264
- background: $color-error-dark;
265
- }
266
- &.checkbox_secondary:after{
267
- background: $color-secondary;
268
- }
269
- &.checkbox_success:after{
270
- background: $color-success;
271
- }
272
- &.checkbox_warning:after{
273
- background: $color-warning;
274
- }
275
- &.checkbox_neutral:after{
276
- background: $color-neutral;
277
- }
278
- &_disabled:after{
279
- background: $color-gray-200 !important;
280
- }
281
- &.checkbox_contained:after{
282
- background: #fff;
283
- }
284
-
285
- &.checkbox__label_disabled:before{
286
- background: transparent !important;
287
- border-color: $color-gray-400;
288
- }
289
- &_checked{
290
- &.checkbox__label_disabled:before{
291
- background: #B1BCC6 !important;
292
- }
293
- }
294
-
295
-
296
- }
297
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports.default = void 0;
6
- var _Checkbox = _interopRequireDefault(require("./Checkbox"));
7
- var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
8
- var _clsx = _interopRequireDefault(require("clsx"));
9
- var _jsxRuntime = require("react/jsx-runtime");
10
- const Radio = props => {
11
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
12
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
13
- ...props,
14
- className: (0, _clsx.default)(props.className, _CheckboxModule.default.radio, _CheckboxModule.default['radio_' + props.size || 'large'], _CheckboxModule.default['radio_' + props.color || 'primary']),
15
- type: 'radio'
16
- })
17
- });
18
- };
19
- var _default = Radio;
20
- exports.default = _default;
21
- module.exports = exports.default;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- "use client";
3
-
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
- exports.__esModule = true;
6
- exports.default = void 0;
7
- var _TextField = _interopRequireDefault(require("../TextField/TextField"));
8
- var _react = require("react");
9
- var _ButtonIcon = _interopRequireDefault(require("../../Button/ButtonIcon"));
10
- var _Card = _interopRequireDefault(require("../../Card/Card"));
11
- var _DatePicker = _interopRequireDefault(require("../DatePicker/DatePicker"));
12
- var _jsxRuntime = require("react/jsx-runtime");
13
- const DateInput = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
14
- let {
15
- showTime,
16
- showTimeOnly,
17
- ...restProps
18
- } = props;
19
- let inputIcon = showTime && showTimeOnly ? 'schedule' : 'calendar_today';
20
- console.log(restProps);
21
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextField.default, {
22
- ref: ref,
23
- ...restProps,
24
- endAdornment: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonIcon.default, {
25
- size: 'medium',
26
- variant: 'transparent',
27
- onClick: props.onClick,
28
- color: 'neutral',
29
- className: 'material_icon',
30
- children: inputIcon
31
- })
32
- });
33
- });
34
- const DateField = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
35
- let {
36
- onChange,
37
- format = 'dd.MM.yyyy',
38
- onInput,
39
- showTime,
40
- showTimeOnly,
41
- ...restProps
42
- } = props;
43
- let [date, setDate] = (0, _react.useState)(null);
44
- if (showTime && !showTimeOnly) format = 'dd.MM.yyyy HH:mm';else if (showTimeOnly) format = 'HH:mm';
45
- const handleChange = d => {
46
- setDate(d);
47
- if (onChange) onChange(d);
48
- };
49
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
50
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
51
- onChange: handleChange,
52
- selected: date,
53
- showTimeSelect: !!showTime,
54
- timeIntervals: 15,
55
- showTimeSelectOnly: !!showTimeOnly && !!showTime,
56
- customInput: /*#__PURE__*/(0, _jsxRuntime.jsx)(DateInput, {
57
- showTime: showTime,
58
- showTimeOnly: showTimeOnly,
59
- ref: ref,
60
- ...restProps
61
- }),
62
- inline: false,
63
- calendarContainer: _Card.default,
64
- popperPlacement: "top-end",
65
- dateFormat: format
66
- })
67
- });
68
- });
69
- var _default = DateField;
70
- exports.default = _default;
71
- module.exports = exports.default;
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports.default = void 0;
6
- var _DateField = _interopRequireDefault(require("./DateField"));
7
- var _jsxRuntime = require("react/jsx-runtime");
8
- const TimeField = props => {
9
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
10
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DateField.default, {
11
- ...props,
12
- showTime: true,
13
- showTimeOnly: true
14
- })
15
- });
16
- };
17
- var _default = TimeField;
18
- exports.default = _default;
19
- module.exports = exports.default;
@@ -1,51 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- exports.__esModule = true;
5
- exports.default = void 0;
6
- var _react = require("react");
7
- var _reactDatepicker = _interopRequireWildcard(require("react-datepicker"));
8
- require("!style-loader!css-loader!./styles.css");
9
- var _ru = _interopRequireDefault(require("date-fns/locale/ru"));
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
- // import './styles.css'
14
-
15
- (0, _reactDatepicker.registerLocale)('ru', _ru.default);
16
- const renderDayContents = day => {
17
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
18
- className: 'customDay',
19
- children: day
20
- });
21
- };
22
- const DatePicker = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
23
- let {
24
- onChange,
25
- selectsRange = false,
26
- ...restProps
27
- } = props;
28
- const handleChange = (date, event) => {
29
- if (onChange) onChange(date, event);
30
- };
31
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
32
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
33
- className: 'ui-datepicker',
34
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactDatepicker.default, {
35
- ref: ref,
36
- locale: 'ru',
37
- onChange: handleChange,
38
- inline: true,
39
- renderDayContents: renderDayContents,
40
- ...restProps,
41
- selectsRange: selectsRange,
42
- onBlur: () => {
43
- console.log(1);
44
- }
45
- })
46
- })
47
- });
48
- });
49
- var _default = DatePicker;
50
- exports.default = _default;
51
- module.exports = exports.default;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- "use client";
3
-
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
- exports.__esModule = true;
6
- exports.default = void 0;
7
- var _DatePicker = _interopRequireDefault(require("./DatePicker"));
8
- var _react = require("react");
9
- var _jsxRuntime = require("react/jsx-runtime");
10
- const PeriodSelect = () => {
11
- const [startDate, setStartDate] = (0, _react.useState)(new Date());
12
- const [endDate, setEndDate] = (0, _react.useState)(null);
13
- const handleChange = date => {
14
- setStartDate(date[0]);
15
- setEndDate(date[1]);
16
- };
17
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
18
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DatePicker.default, {
19
- selected: startDate,
20
- onChange: handleChange,
21
- startDate: startDate,
22
- endDate: endDate,
23
- selectsRange: true
24
- })
25
- });
26
- };
27
- var _default = PeriodSelect;
28
- exports.default = _default;
29
- module.exports = exports.default;