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,67 +0,0 @@
1
-
2
-
3
- $font-family: 'Roboto';
4
-
5
-
6
- $size-elarge: 56px;
7
- $size-large: 42px;
8
- $size-medium: 36px;
9
- $size-small: 30px;
10
- $size-step: 8px;
11
-
12
- $radius: 4px;
13
-
14
- $color-primary: #0D46FF;
15
- $color-primary-dark: #0B3CD9;
16
- $color-primary-light: #0B3CD9;
17
- $color-blue-800: #406DFF;
18
- $color-blue-A100: #D9E2FF;
19
- $color-blue-50: #F2F5FF;
20
-
21
- $color-info: #0D46FF;
22
- $color-info-dark: #0B3CD9;
23
-
24
- $color-secondary: #FF7F00;
25
- $color-secondary-dark: #D96C00;
26
- $color-secondary-light: #FFA140;
27
- $color-orange-800: #FF9426;
28
- $color-orange-400: #FFC68C;
29
- $color-orange-300: #FFD3A6;
30
- $color-orange-100: #FFE6CC;
31
- $color-orange-50: #FFF8F0;
32
-
33
- $color-neutral: #4D5359;
34
- $color-neutral-dark: #40454A;
35
- $color-neutral-light: #9AA4AE;
36
- $color-gray-900: #212529;
37
- $color-gray-800: #40454A;
38
- $color-gray-700: #4D5359;
39
- $color-gray-600: #6C757D;
40
- $color-gray-500: #9AA4AE;
41
- $color-gray-400: #B1BCC6;
42
- $color-gray-300: #D3DAE1;
43
- $color-gray-200: #DFE2E6;
44
- $color-gray-100: #E9ECEF;
45
- $color-gray-50: #F8F9FA;
46
-
47
- $color-greent-50: #F2FFFB;
48
-
49
- $color-success: #0BD998;
50
- $color-success-dark: #08996B;
51
- $color-error: #FF3342;
52
- $color-error-dark: #CC2935;
53
- $color-warning: #FFC61A;
54
- $color-warning-dark: #F7B519;
55
-
56
- $color-red-50: #FFF0F1;
57
-
58
- $box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.1);
59
-
60
- @mixin transition($time: 0.5s, $target: all, $animation: ease) {
61
- transition: $time $target $animation;
62
- }
63
- @mixin flex($justifyContent: flex-start, $alignItems: center) {
64
- display: flex;
65
- align-items: $alignItems;
66
- justify-content: $justifyContent;
67
- }
package/esm/index.js DELETED
@@ -1,15 +0,0 @@
1
- export { default as Button } from './ui/Button/Button';
2
- export { default as ButtonIcon } from './ui/Button/ButtonIcon';
3
- export { default as Alert } from './ui/Alert/Alert';
4
- export { default as Avatar } from './ui/Avatar/Avatar';
5
- export { default as AvatarGroup } from './ui/Avatar/AvatarGroup';
6
- export { default as Badge } from './ui/Badge/Badge';
7
- export { default as Card } from './ui/Card/Card';
8
- export { default as Chip } from './ui/Chip/Chip';
9
- export { default as ListItem } from './ui/List/ListItem';
10
- export { default as Loader } from './ui/Loader/Loader';
11
- export { default as Logo } from './ui/Logo/Logo';
12
- export { default as Slider } from './ui/Slider/Slider';
13
- export { default as Status } from './ui/Status/Status';
14
- export { default as Stepper } from './ui/Stepper/Stepper';
15
- export { default as Tooltip } from './ui/Tooltip/Tooltip';
@@ -1 +0,0 @@
1
- export declare const CSS_PREFIX = "Armtek-";
@@ -1,3 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- declare const useClickOutside: (callback: () => void) => MutableRefObject<any>;
3
- export default useClickOutside;
@@ -1,12 +0,0 @@
1
- declare class DateClass {
2
- date: Date;
3
- constructor(date: Date);
4
- format(form: string): string;
5
- static isValid(dateStr: string, format?: string): boolean;
6
- static parseDate(dateStr: string, format?: string): Date | null;
7
- static toDate(dateStr: string): Date | null;
8
- static getDisplayValue(value: number): string;
9
- private getStrMonth;
10
- }
11
- export declare const DateService: (date: Date) => DateClass;
12
- export default DateClass;
@@ -1,10 +0,0 @@
1
- export type ShapeType = 'square' | 'circle';
2
- export type SizeType = 'small' | 'medium' | 'large' | 'extraLarge';
3
- export type VariantType = 'contained' | 'outlined' | 'transparent';
4
- export type ColorStatusType = 'success' | 'error' | 'warning' | 'info';
5
- export type ColorThemeType = 'black' | 'white';
6
- export type ColorType = 'primary' | 'secondary' | 'neutral';
7
- export type OptionType = {
8
- text: string;
9
- value?: string;
10
- };
@@ -1,7 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- type PropsType = {
3
- position?: 'start' | 'end';
4
- } & HTMLAttributes<HTMLDivElement>;
5
- declare const Adornment: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
6
- export declare const AdornmentContainer: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
7
- export default Adornment;
@@ -1,18 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .adornmentContainer{
4
- display: flex;
5
- }
6
- .adornmentContainer_end{
7
- margin-left: auto;
8
- }
9
- .adornment_end{
10
- & + * {
11
- margin-left: $size-step;
12
- }
13
- }
14
- .adornment_start{
15
- & + * {
16
- margin-left: $size-step;
17
- }
18
- }
@@ -1,10 +0,0 @@
1
- import { ColorStatusType } from '../../types/theme';
2
- import { HTMLAttributes, ReactNode } from 'react';
3
- export type AlertProps = {
4
- status: ColorStatusType;
5
- title: string;
6
- children: ReactNode | string;
7
- onClose?: () => void;
8
- } & HTMLAttributes<HTMLDivElement>;
9
- declare const Alert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
10
- export default Alert;
@@ -1,13 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- import { ColorStatusType, SizeType } from '../../types/theme';
3
- export type AvatarProps = {
4
- photo?: string;
5
- name?: string;
6
- href?: string;
7
- linkProps?: HTMLAttributes<HTMLAnchorElement>;
8
- icon?: string;
9
- size?: Exclude<SizeType, 'extraLarge'>;
10
- status?: Exclude<ColorStatusType, 'info'>;
11
- };
12
- declare const Avatar: (props: AvatarProps) => import("react/jsx-runtime").JSX.Element;
13
- export default Avatar;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { AvatarProps } from './Avatar';
3
- export type AvatarGroupProps = {
4
- limit?: number;
5
- children: ReactNode;
6
- } & Pick<AvatarProps, 'size'>;
7
- declare const AvatarGroup: (props: AvatarGroupProps) => import("react/jsx-runtime").JSX.Element;
8
- export default AvatarGroup;
@@ -1,48 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .avatarGroup{
4
- @include flex(flex-end);
5
- transform: scale(-1, 1);
6
- }
7
- .avatarGroup_medium{
8
- & .avatarGroup__item + .avatarGroup__item{
9
- margin-left: -12px;
10
- }
11
- }
12
- .avatarGroup_small{
13
- & .avatarGroup__item + .avatarGroup__item{
14
- margin-left: -8px;
15
- }
16
- }
17
- .avatarGroup__remains{
18
- width: 60px;
19
- height: 60px;
20
- min-width: 60px;
21
- position: relative;
22
- @include flex(center);
23
- background: $color-neutral-light;
24
- font-size: 24px;
25
- color: #fff;
26
- }
27
- .avatarGroup__remains_medium{
28
- width: 44px;
29
- height: 44px;
30
- min-width: 44px;
31
- font-size: 16px;
32
- }
33
- .avatarGroup__remains_small{
34
- width: 28px;
35
- height: 28px;
36
- min-width: 28px;
37
- font-size: 12px;
38
- }
39
-
40
- .avatarGroup__item{
41
- position: relative;
42
- transform: scale(-1, 1);
43
- border: 2px solid #fff;
44
- border-radius: 50%;
45
- & + .avatarGroup__item{
46
- margin-left: -15px;
47
- }
48
- }
@@ -1,11 +0,0 @@
1
- import { ColorStatusType, ColorType, ShapeType } from '../../types/theme';
2
- import { ReactNode } from 'react';
3
- export type BadgeProps = {
4
- color?: ColorType | ColorStatusType;
5
- children: ReactNode | string;
6
- shape?: ShapeType;
7
- position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
8
- badgeText?: string;
9
- };
10
- declare function Badge(props: BadgeProps): import("react/jsx-runtime").JSX.Element;
11
- export default Badge;
@@ -1,83 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .badge{
4
- display: inline-block;
5
- position: relative;
6
- }
7
-
8
- $vertical_offset: calc(100% - 6px);
9
- $horizontal_offset: calc(100% - 6px);
10
-
11
- .badge__item{
12
- background: $color-error;
13
- color: #fff;
14
- position: absolute;
15
- width: 8px;
16
- height: 8px;
17
- bottom: $vertical_offset;
18
- left: $horizontal_offset;
19
- border-radius: 50%;
20
- &_primary{
21
- background: $color-primary;
22
- }
23
- &_secondary{
24
- background: $color-primary;
25
- }
26
- &_neutral{
27
- background: $color-neutral;
28
- }
29
- &_error{
30
- background: $color-error;
31
- }
32
- &_info{
33
- background: $color-info;
34
- }
35
- &_warning{
36
- background: $color-warning;
37
- }
38
- &_success{
39
- background: $color-success;
40
- color: $color-gray-900;
41
- }
42
- }
43
- .badge__item_content{
44
- width: 20px;
45
- height: 20px;
46
- @include flex(center);
47
- font-size: 12px;
48
- }
49
-
50
- .badge__item_content_circle,
51
- .badge__item_content_square{
52
- width: auto;
53
- height: auto;
54
- border-radius: $radius;
55
- font-size: 12px;
56
- font-weight: 500;
57
- line-height: 20px;
58
- padding:0 6px;
59
- }
60
- .badge__item_content_circle{
61
- border-radius: 10px;
62
- }
63
-
64
- .badge__item_top-right{
65
- bottom: $vertical_offset;
66
- left: $horizontal_offset;
67
- }
68
- .badge__item_top-left{
69
- bottom: $vertical_offset;
70
- right: $horizontal_offset;
71
- left: auto;
72
- }
73
- .badge__item_bottom-right{
74
- top: $vertical_offset;
75
- left: $horizontal_offset;
76
- bottom: auto;
77
- }
78
- .badge__item_bottom-left{
79
- top: $vertical_offset;
80
- right: $horizontal_offset;
81
- left: auto;
82
- bottom: auto;
83
- }
@@ -1,3 +0,0 @@
1
- .button{
2
- background: red;
3
- }
@@ -1,15 +0,0 @@
1
- import { ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode } from 'react';
2
- import { ColorThemeType, ColorType, SizeType, VariantType } from 'types/theme';
3
- type OwnProps<T extends ElementType = ElementType> = {
4
- children: ReactNode;
5
- size?: SizeType;
6
- color?: ColorType | Exclude<ColorThemeType, 'white'>;
7
- variant?: VariantType;
8
- startAdornment?: string | ReactNode;
9
- endAdornment?: string | ReactNode;
10
- group?: 'inline' | 'column';
11
- as?: T;
12
- };
13
- export type ButtonProps<T extends ElementType = ElementType<HTMLAttributes<HTMLButtonElement>>> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps>;
14
- declare const Button: <T extends ElementType>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
15
- export default Button;
@@ -1,298 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .button{
4
- outline: none;
5
- border:1px solid transparent;
6
- border-radius: $radius;
7
- text-transform: uppercase;
8
- padding: $size-step calc(3 * $size-step);
9
- cursor: pointer;
10
- @include transition(0.3s);
11
- font-weight: 500;
12
- font-size: 16px;
13
- height: $size-elarge;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
- &:disabled{
18
- cursor: initial;
19
- }
20
- }
21
- .button_contained {
22
- &.button_primary{
23
- color: #fff;
24
- background: $color-primary;
25
- &:hover{
26
- background: $color-primary-dark;
27
- }
28
- &:active{
29
- background: $color-blue-800;
30
- }
31
- &:disabled{
32
- background: $color-primary-light;
33
- }
34
- }
35
- &.button_secondary {
36
- background: $color-secondary;
37
- color: #fff;
38
- &:hover{
39
- background: $color-secondary-dark;
40
- }
41
- &:active{
42
- background: $color-orange-800;
43
- }
44
- &:disabled{
45
- background: $color-secondary-light;
46
- }
47
- }
48
- &.button_neutral {
49
- background: $color-neutral;
50
- &:hover{
51
- background: $color-neutral-dark;
52
- }
53
- &:active{
54
- background: $color-gray-600;
55
- }
56
- &:disabled{
57
- background: $color-secondary-light;
58
- }
59
- }
60
- &.button_black {
61
- background: $color-gray-900;
62
- &:hover{
63
- background: $color-neutral-dark;
64
- }
65
- &:active{
66
- background: $color-gray-600;
67
- }
68
- &:disabled{
69
- background: $color-secondary-light;
70
- }
71
- }
72
- }
73
- .button_outlined {
74
- background: transparent;
75
- &.button_primary{
76
-
77
- color: $color-primary;
78
- border-color: $color-primary;
79
- background: transparent;
80
- &:hover{
81
- background: rgba($color-primary, 0.1);
82
- }
83
- &:active{
84
- background: $color-blue-A100;
85
- }
86
- &:disabled{
87
- color: $color-primary-light;
88
- border-color: $color-primary-light;
89
- }
90
- }
91
- &.button_secondary {
92
- border-color: $color-secondary;
93
- color: $color-secondary;
94
- &:hover{
95
- background: rgba($color-secondary, 0.1);
96
- }
97
- &:active{
98
- background: $color-orange-100;
99
- }
100
- &:disabled{
101
- color: $color-primary-light;
102
- border-color: $color-primary-light;
103
- }
104
- }
105
- &.button_neutral,
106
- &.button_black {
107
- border-color: $color-gray-900;
108
- color: $color-gray-900;
109
- &:hover{
110
- background: rgba($color-neutral, 0.1);
111
- }
112
- &:active{
113
- background: $color-gray-300;
114
- }
115
- &:disabled{
116
- color: $color-neutral-light;
117
- border-color: $color-neutral-light;
118
- }
119
- }
120
- }
121
- .button_transparent {
122
- background: transparent;
123
- &.button_primary{
124
- color: $color-primary;
125
- background: transparent;
126
- &:hover{
127
- background: rgba($color-primary, 0.1);
128
- }
129
- &:active{
130
- background: $color-blue-A100;
131
- }
132
- &:disabled{
133
- color: $color-primary-light;
134
- background: none;
135
- }
136
- }
137
- &.button_secondary {
138
- color: $color-secondary;
139
- &:hover{
140
- background: rgba($color-secondary, 0.1);
141
- }
142
- &:active{
143
- background: $color-orange-100;
144
- }
145
- &:disabled{
146
- color: $color-primary-light;
147
- background: none;
148
- }
149
- }
150
- &.button_neutral,
151
- &.button_black {
152
- color: $color-gray-900;
153
- &:hover{
154
- background: rgba($color-neutral, 0.1);
155
- }
156
- &:active{
157
- background: $color-gray-300;
158
- }
159
- &:disabled{
160
- color: $color-neutral-light;
161
- background: none;
162
- }
163
- }
164
- }
165
-
166
- .button__adornment{
167
- font-size: inherit;
168
- }
169
- .button__adornment_end{
170
- margin-left: $size-step;
171
- }
172
- .button__adornment_start{
173
- margin-right: $size-step;
174
- }
175
-
176
- .button_large{
177
- height: $size-large;
178
- font-size: 15px;
179
- }
180
- .button_medium{
181
- height: $size-medium;
182
- font-size: 14px;
183
- }
184
- .button_small{
185
- height: $size-small;
186
- font-size: 13px;
187
- }
188
-
189
- .button_icon{
190
- padding: $size-step;
191
- width: $size-elarge;
192
- border-radius: 50%;
193
- display: flex;
194
- align-items: center;
195
- justify-content: center;
196
- font-size: 30px;
197
- &.button_large{
198
- width: $size-large;
199
- font-size: 24px;
200
- }
201
- &.button_medium{
202
- width: $size-medium;
203
- font-size: 20px;
204
- }
205
- &.button_small{
206
- width: $size-small;
207
- padding: calc($size-step / 2);
208
- font-size: 16px;
209
- }
210
- }
211
-
212
- .button_group{
213
- display: flex;
214
- align-items: center;
215
- }
216
- .button_group_inline{
217
- flex-direction: row;
218
- }
219
- .button_group_column{
220
- flex-direction: column;
221
- }
222
-
223
- .button_grouped_inline{
224
- border-radius: 0;
225
- &:first-child{
226
- border-top-left-radius: $radius;
227
- border-bottom-left-radius: $radius;
228
- }
229
- &:last-child{
230
- border-top-right-radius: $radius;
231
- border-bottom-right-radius: $radius;
232
- }
233
- &.button_contained{
234
- &.button_primary + *{
235
- border-left-color: $color-info-dark;
236
- }
237
- &.button_secondary + *{
238
- border-left-color: $color-primary-dark;
239
- }
240
- &.button_neutral + *{
241
- border-left-color: $color-neutral-dark;
242
- }
243
- &.button_black + *{
244
- border-left-color: $color-neutral-dark;
245
- }
246
- }
247
- &.button_outlined{
248
- &.button_primary + *{
249
- border-left-color: $color-info-dark;
250
- }
251
- &.button_primary:not(:last-child){
252
- border-right: 0;
253
- }
254
- &.button_secondary + *{
255
- border-left-color: $color-secondary;
256
- }
257
- &.button_secondary:not(:last-child){
258
- border-right: 0;
259
- }
260
- &.button_neutral + *{
261
- border-left-color: $color-neutral;
262
- }
263
- &.button_neutral:not(:last-child){
264
- border-right: 0;
265
- }
266
- &.button_black + *{
267
- border-left-color: $color-neutral;
268
- }
269
- &.button_black:not(:last-child){
270
- border-right: 0;
271
- }
272
- }
273
- &.button_transparent{
274
- &.button_primary + *{
275
- border-left-color: $color-gray-200;
276
- }
277
- &.button_secondary + *{
278
- border-left-color: $color-gray-200;
279
- }
280
- &.button_neutral + *{
281
- border-left-color: $color-gray-200;
282
- }
283
- &.button_black + *{
284
- border-left-color: $color-gray-200;
285
- }
286
- }
287
- }
288
- .button_grouped_column{
289
- border-radius: 0;
290
- &:first-child{
291
- border-top-left-radius: $radius;
292
- border-top-right-radius: $radius;
293
- }
294
- &:last-child{
295
- border-bottom-left-radius: $radius;
296
- border-bottom-right-radius: $radius;
297
- }
298
- }
@@ -1,3 +0,0 @@
1
- declare const ButtonClassesClean: string[];
2
- declare const ButtonClasses: Record<string, string>;
3
- export { ButtonClasses, ButtonClassesClean };
@@ -1,7 +0,0 @@
1
- import { CSS_PREFIX } from 'lib/const/styles';
2
- const ButtonClassesClean = ['button', 'button_contained', 'button_transparent', 'button_outlined', 'button_primary', 'button_secondary', 'button_neutral', 'button_black', 'button__adornment', 'button__adornment_end', 'button__adornment_start', 'button_large', 'button_medium', 'button_small', 'button_icon', 'button_group', 'button_group_inline', 'button_group_column', 'button_grouped_inline', 'button_grouped_column'];
3
- const ButtonClasses = ButtonClassesClean.reduce((prev, current) => {
4
- prev[current] = CSS_PREFIX + current;
5
- return prev;
6
- }, {});
7
- export { ButtonClasses, ButtonClassesClean };
@@ -1,6 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- type PropsType = {
3
- orientation?: 'column' | 'inline';
4
- } & HTMLAttributes<HTMLDivElement>;
5
- declare const ButtonGroup: (props: PropsType) => import("react/jsx-runtime").JSX.Element;
6
- export default ButtonGroup;
@@ -1,4 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- export type CardProps = HTMLAttributes<HTMLDivElement>;
3
- declare const Card: (props: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
4
- export default Card;
@@ -1,7 +0,0 @@
1
- @import "../../assets/styles";
2
-
3
- .card{
4
- padding: $size-step;
5
- box-shadow: $box-shadow;
6
- border-radius: $radius;
7
- }
@@ -1,13 +0,0 @@
1
- import { ComponentPropsWithoutRef, ElementType, HTMLAttributes } from 'react';
2
- import { ColorType, SizeType, VariantType } from '../../types/theme';
3
- export type ChipProps<T extends ElementType = ElementType<HTMLAttributes<HTMLSpanElement>>> = Omit<ComponentPropsWithoutRef<T>, 'color'> & {
4
- size?: Exclude<SizeType, 'large' | 'extraLarge'>;
5
- color?: ColorType;
6
- text?: string;
7
- onClose?: () => void;
8
- icon?: string;
9
- variant?: Exclude<VariantType, 'transparent'>;
10
- as?: T;
11
- };
12
- declare function Chip<T extends ElementType>(props: ChipProps<T>): import("react/jsx-runtime").JSX.Element;
13
- export default Chip;