armtek-uikit-react 1.0.15 → 1.0.16

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 (307) hide show
  1. package/cjs/index.js +35 -0
  2. package/cjs/lib/const/styles.js +6 -0
  3. package/cjs/lib/helpers/helpers.js +56 -0
  4. package/cjs/lib/hooks/useClickOutside.js +22 -0
  5. package/cjs/lib/services/DateService.js +48 -0
  6. package/cjs/types/theme.js +3 -0
  7. package/cjs/ui/Adornment/Adornment.js +51 -0
  8. package/cjs/ui/Alert/Alert.js +50 -0
  9. package/cjs/ui/Avatar/Avatar.js +54 -0
  10. package/cjs/ui/Avatar/AvatarGroup.js +38 -0
  11. package/cjs/ui/Badge/Badge.js +38 -0
  12. package/cjs/ui/Button/index.js +47 -0
  13. package/cjs/ui/ButtonGroup/index.js +30 -0
  14. package/cjs/ui/ButtonIcon/index.js +25 -0
  15. package/cjs/ui/Card/Card.js +23 -0
  16. package/cjs/ui/Chip/Chip.js +45 -0
  17. package/cjs/ui/Form/Checkbox/Checkbox.js +57 -0
  18. package/cjs/ui/Form/Checkbox/Radio.js +25 -0
  19. package/cjs/ui/Form/DateField/DateField.js +70 -0
  20. package/cjs/ui/Form/DateField/TimeField.js +19 -0
  21. package/cjs/ui/Form/DatePicker/DatePicker.js +51 -0
  22. package/cjs/ui/Form/DatePicker/PeriodSelect.js +29 -0
  23. package/cjs/ui/Form/DatePicker/TimePicker.js +28 -0
  24. package/cjs/ui/Form/Interval/Interval.js +102 -0
  25. package/cjs/ui/Form/Interval/IntervalSlide.js +52 -0
  26. package/cjs/ui/Form/Password/Password.js +46 -0
  27. package/cjs/ui/Form/Period/Period.js +73 -0
  28. package/cjs/ui/Form/Rating/Rating.js +58 -0
  29. package/cjs/ui/Form/Select/Select.js +143 -0
  30. package/cjs/ui/Form/Switch/Switch.js +34 -0
  31. package/cjs/ui/Form/TextArea/TextArea.js +50 -0
  32. package/cjs/ui/Form/TextField/TextField.js +156 -0
  33. package/cjs/ui/HelperText/HelperText.js +32 -0
  34. package/cjs/ui/List/ListItem.js +64 -0
  35. package/cjs/ui/Loader/Loader.js +124 -0
  36. package/cjs/ui/Logo/Logo.js +106 -0
  37. package/cjs/ui/Slider/RcSlider.js +1 -0
  38. package/cjs/ui/Slider/Slider.js +39 -0
  39. package/cjs/ui/Status/Status.js +35 -0
  40. package/cjs/ui/Stepper/StepItem.js +60 -0
  41. package/cjs/ui/Stepper/StepItemIcon.js +44 -0
  42. package/cjs/ui/Stepper/Stepper.js +49 -0
  43. package/cjs/ui/Tooltip/Tooltip.js +36 -0
  44. package/dist/armtek-uikit-react-main.js +1357 -0
  45. package/dist/armtek-uikit-react-main.min.js +2 -0
  46. package/dist/armtek-uikit-react-main.min.js.LICENSE.txt +15 -0
  47. package/dist/css/main.css +19 -0
  48. package/esm/assets/Adornment.scss +18 -0
  49. package/esm/assets/Alert.scss +38 -0
  50. package/esm/assets/Avatar.scss +82 -0
  51. package/esm/assets/AvatarGroup.scss +48 -0
  52. package/esm/assets/Badge.scss +83 -0
  53. package/esm/assets/Button.scss +266 -0
  54. package/esm/assets/ButtonGroup.scss +12 -0
  55. package/esm/assets/ButtonIcon.scss +24 -0
  56. package/esm/assets/Card.scss +7 -0
  57. package/esm/assets/Checkbox.scss +297 -0
  58. package/esm/assets/Chip.scss +96 -0
  59. package/esm/assets/DatePicker.scss +7 -0
  60. package/esm/assets/HelperText.scss +10 -0
  61. package/esm/assets/Interval.scss +35 -0
  62. package/esm/assets/ListItem.scss +34 -0
  63. package/esm/assets/Loader.scss +37 -0
  64. package/esm/assets/Logo.scss +29 -0
  65. package/esm/assets/Period.scss +10 -0
  66. package/esm/assets/Rating.scss +19 -0
  67. package/esm/assets/Select.scss +26 -0
  68. package/esm/assets/Slider.scss +6 -0
  69. package/esm/assets/Status.scss +45 -0
  70. package/esm/assets/StepItem.scss +67 -0
  71. package/esm/assets/StepItemIcon.scss +47 -0
  72. package/esm/assets/Stepper.scss +34 -0
  73. package/esm/assets/Switch.scss +69 -0
  74. package/esm/assets/TextArea.scss +15 -0
  75. package/esm/assets/TextField.scss +160 -0
  76. package/esm/assets/Tooltip.scss +18 -0
  77. package/esm/assets/fonts.scss +2 -0
  78. package/esm/assets/global.css +72 -0
  79. package/esm/assets/styles.scss +31 -0
  80. package/esm/assets/variables.scss +67 -0
  81. package/esm/index.d.ts +29 -0
  82. package/esm/lib/const/styles.d.ts +1 -0
  83. package/esm/lib/helpers/helpers.d.ts +6 -0
  84. package/esm/lib/hooks/useClickOutside.d.ts +3 -0
  85. package/esm/lib/services/DateService.d.ts +12 -0
  86. package/esm/types/theme.d.ts +10 -0
  87. package/esm/ui/Adornment/Adornment.d.ts +7 -0
  88. package/esm/ui/Adornment/Adornment.module.scss +2 -0
  89. package/esm/ui/Alert/Alert.d.ts +10 -0
  90. package/esm/ui/Alert/Alert.module.scss +2 -0
  91. package/esm/ui/Avatar/Avatar.d.ts +13 -0
  92. package/esm/ui/Avatar/Avatar.module.scss +1 -0
  93. package/esm/ui/Avatar/AvatarGroup.d.ts +8 -0
  94. package/esm/ui/Avatar/AvatarGroup.module.scss +1 -0
  95. package/esm/ui/Badge/Badge.d.ts +11 -0
  96. package/esm/ui/Badge/Badge.module.scss +1 -0
  97. package/esm/ui/Button/Button.module.scss +1 -0
  98. package/esm/ui/Button/index.d.ts +15 -0
  99. package/esm/ui/ButtonGroup/ButtonGroup.module.scss +2 -0
  100. package/esm/ui/ButtonGroup/index.d.ts +6 -0
  101. package/esm/ui/ButtonIcon/ButtonIcon.module.scss +1 -0
  102. package/esm/ui/ButtonIcon/index.d.ts +3 -0
  103. package/esm/ui/Card/Card.d.ts +4 -0
  104. package/esm/ui/Card/Card.module.scss +1 -0
  105. package/esm/ui/Chip/Chip.d.ts +13 -0
  106. package/esm/ui/Chip/Chip.module.scss +1 -0
  107. package/esm/ui/Form/Checkbox/Checkbox.d.ts +12 -0
  108. package/esm/ui/Form/Checkbox/Checkbox.module.scss +1 -0
  109. package/esm/ui/Form/Checkbox/Radio.d.ts +3 -0
  110. package/esm/ui/Form/DateField/DateField.d.ts +26 -0
  111. package/esm/ui/Form/DateField/DateField.module.scss +1 -0
  112. package/esm/ui/Form/DateField/TimeField.d.ts +3 -0
  113. package/esm/ui/Form/DatePicker/DatePicker.d.ts +7 -0
  114. package/esm/ui/Form/DatePicker/DatePicker.module.scss +1 -0
  115. package/esm/ui/Form/DatePicker/PeriodSelect.d.ts +2 -0
  116. package/esm/ui/Form/DatePicker/TimePicker.d.ts +2 -0
  117. package/esm/ui/Form/DatePicker/styles.css +766 -0
  118. package/esm/ui/Form/Interval/Interval.d.ts +21 -0
  119. package/esm/ui/Form/Interval/Interval.module.scss +1 -0
  120. package/esm/ui/Form/Interval/IntervalSlide.d.ts +4 -0
  121. package/esm/ui/Form/Password/Password.d.ts +12 -0
  122. package/esm/ui/Form/Period/Period.d.ts +15 -0
  123. package/esm/ui/Form/Period/Period.module.scss +2 -0
  124. package/esm/ui/Form/Rating/Rating.d.ts +10 -0
  125. package/esm/ui/Form/Rating/Rating.module.scss +1 -0
  126. package/esm/ui/Form/Select/Select.d.ts +23 -0
  127. package/esm/ui/Form/Select/Select.module.scss +1 -0
  128. package/esm/ui/Form/Switch/Switch.d.ts +7 -0
  129. package/esm/ui/Form/Switch/Switch.module.scss +1 -0
  130. package/esm/ui/Form/TextArea/TextArea.d.ts +4 -0
  131. package/esm/ui/Form/TextArea/TextArea.module.scss +1 -0
  132. package/esm/ui/Form/TextField/TextField.d.ts +40 -0
  133. package/esm/ui/Form/TextField/TextField.module.scss +1 -0
  134. package/esm/ui/HelperText/HelperText.d.ts +6 -0
  135. package/esm/ui/HelperText/HelperText.module.scss +1 -0
  136. package/esm/ui/List/ListItem.d.ts +10 -0
  137. package/esm/ui/List/ListItem.module.scss +1 -0
  138. package/esm/ui/Loader/Loader.d.ts +6 -0
  139. package/esm/ui/Loader/Loader.module.scss +1 -0
  140. package/esm/ui/Logo/Logo.d.ts +12 -0
  141. package/esm/ui/Logo/Logo.module.scss +1 -0
  142. package/esm/ui/Slider/RcSlider.js +0 -0
  143. package/esm/ui/Slider/Slider.d.ts +8 -0
  144. package/esm/ui/Slider/Slider.module.scss +1 -0
  145. package/esm/ui/Slider/style.css +281 -0
  146. package/esm/ui/Status/Status.d.ts +10 -0
  147. package/esm/ui/Status/Status.module.scss +1 -0
  148. package/esm/ui/Stepper/StepItem.d.ts +14 -0
  149. package/esm/ui/Stepper/StepItem.module.scss +1 -0
  150. package/esm/ui/Stepper/StepItemIcon.d.ts +11 -0
  151. package/esm/ui/Stepper/StepItemIcon.module.scss +1 -0
  152. package/esm/ui/Stepper/Stepper.d.ts +11 -0
  153. package/esm/ui/Stepper/Stepper.module.scss +1 -0
  154. package/esm/ui/Tooltip/Tooltip.d.ts +7 -0
  155. package/esm/ui/Tooltip/Tooltip.module.scss +1 -0
  156. package/package.json +1 -25
  157. /package/{assets → cjs/assets}/Adornment.scss +0 -0
  158. /package/{assets → cjs/assets}/Alert.scss +0 -0
  159. /package/{assets → cjs/assets}/Avatar.scss +0 -0
  160. /package/{assets → cjs/assets}/AvatarGroup.scss +0 -0
  161. /package/{assets → cjs/assets}/Badge.scss +0 -0
  162. /package/{assets → cjs/assets}/Button.scss +0 -0
  163. /package/{assets → cjs/assets}/ButtonGroup.scss +0 -0
  164. /package/{assets → cjs/assets}/ButtonIcon.scss +0 -0
  165. /package/{assets → cjs/assets}/Card.scss +0 -0
  166. /package/{assets → cjs/assets}/Checkbox.scss +0 -0
  167. /package/{assets → cjs/assets}/Chip.scss +0 -0
  168. /package/{assets → cjs/assets}/DatePicker.scss +0 -0
  169. /package/{assets → cjs/assets}/HelperText.scss +0 -0
  170. /package/{assets → cjs/assets}/Interval.scss +0 -0
  171. /package/{assets → cjs/assets}/ListItem.scss +0 -0
  172. /package/{assets → cjs/assets}/Loader.scss +0 -0
  173. /package/{assets → cjs/assets}/Logo.scss +0 -0
  174. /package/{assets → cjs/assets}/Period.scss +0 -0
  175. /package/{assets → cjs/assets}/Rating.scss +0 -0
  176. /package/{assets → cjs/assets}/Select.scss +0 -0
  177. /package/{assets → cjs/assets}/Slider.scss +0 -0
  178. /package/{assets → cjs/assets}/Status.scss +0 -0
  179. /package/{assets → cjs/assets}/StepItem.scss +0 -0
  180. /package/{assets → cjs/assets}/StepItemIcon.scss +0 -0
  181. /package/{assets → cjs/assets}/Stepper.scss +0 -0
  182. /package/{assets → cjs/assets}/Switch.scss +0 -0
  183. /package/{assets → cjs/assets}/TextArea.scss +0 -0
  184. /package/{assets → cjs/assets}/TextField.scss +0 -0
  185. /package/{assets → cjs/assets}/Tooltip.scss +0 -0
  186. /package/{assets → cjs/assets}/fonts.scss +0 -0
  187. /package/{assets → cjs/assets}/global.css +0 -0
  188. /package/{assets → cjs/assets}/styles.scss +0 -0
  189. /package/{assets → cjs/assets}/variables.scss +0 -0
  190. /package/{types → cjs}/index.d.ts +0 -0
  191. /package/{types → cjs}/lib/const/styles.d.ts +0 -0
  192. /package/{types → cjs}/lib/helpers/helpers.d.ts +0 -0
  193. /package/{types → cjs}/lib/hooks/useClickOutside.d.ts +0 -0
  194. /package/{types → cjs}/lib/services/DateService.d.ts +0 -0
  195. /package/{types → cjs}/types/theme.d.ts +0 -0
  196. /package/{types → cjs}/ui/Adornment/Adornment.d.ts +0 -0
  197. /package/{ui → cjs/ui}/Adornment/Adornment.module.scss +0 -0
  198. /package/{types → cjs}/ui/Alert/Alert.d.ts +0 -0
  199. /package/{ui → cjs/ui}/Alert/Alert.module.scss +0 -0
  200. /package/{types → cjs}/ui/Avatar/Avatar.d.ts +0 -0
  201. /package/{ui → cjs/ui}/Avatar/Avatar.module.scss +0 -0
  202. /package/{types → cjs}/ui/Avatar/AvatarGroup.d.ts +0 -0
  203. /package/{ui → cjs/ui}/Avatar/AvatarGroup.module.scss +0 -0
  204. /package/{types → cjs}/ui/Badge/Badge.d.ts +0 -0
  205. /package/{ui → cjs/ui}/Badge/Badge.module.scss +0 -0
  206. /package/{ui → cjs/ui}/Button/Button.module.scss +0 -0
  207. /package/{types → cjs}/ui/Button/index.d.ts +0 -0
  208. /package/{ui → cjs/ui}/ButtonGroup/ButtonGroup.module.scss +0 -0
  209. /package/{types → cjs}/ui/ButtonGroup/index.d.ts +0 -0
  210. /package/{ui → cjs/ui}/ButtonIcon/ButtonIcon.module.scss +0 -0
  211. /package/{types → cjs}/ui/ButtonIcon/index.d.ts +0 -0
  212. /package/{types → cjs}/ui/Card/Card.d.ts +0 -0
  213. /package/{ui → cjs/ui}/Card/Card.module.scss +0 -0
  214. /package/{types → cjs}/ui/Chip/Chip.d.ts +0 -0
  215. /package/{ui → cjs/ui}/Chip/Chip.module.scss +0 -0
  216. /package/{types → cjs}/ui/Form/Checkbox/Checkbox.d.ts +0 -0
  217. /package/{ui → cjs/ui}/Form/Checkbox/Checkbox.module.scss +0 -0
  218. /package/{types → cjs}/ui/Form/Checkbox/Radio.d.ts +0 -0
  219. /package/{types → cjs}/ui/Form/DateField/DateField.d.ts +0 -0
  220. /package/{ui → cjs/ui}/Form/DateField/DateField.module.scss +0 -0
  221. /package/{types → cjs}/ui/Form/DateField/TimeField.d.ts +0 -0
  222. /package/{types → cjs}/ui/Form/DatePicker/DatePicker.d.ts +0 -0
  223. /package/{ui → cjs/ui}/Form/DatePicker/DatePicker.module.scss +0 -0
  224. /package/{types → cjs}/ui/Form/DatePicker/PeriodSelect.d.ts +0 -0
  225. /package/{types → cjs}/ui/Form/DatePicker/TimePicker.d.ts +0 -0
  226. /package/{ui → cjs/ui}/Form/DatePicker/styles.css +0 -0
  227. /package/{types → cjs}/ui/Form/Interval/Interval.d.ts +0 -0
  228. /package/{ui → cjs/ui}/Form/Interval/Interval.module.scss +0 -0
  229. /package/{types → cjs}/ui/Form/Interval/IntervalSlide.d.ts +0 -0
  230. /package/{types → cjs}/ui/Form/Password/Password.d.ts +0 -0
  231. /package/{types → cjs}/ui/Form/Period/Period.d.ts +0 -0
  232. /package/{ui → cjs/ui}/Form/Period/Period.module.scss +0 -0
  233. /package/{types → cjs}/ui/Form/Rating/Rating.d.ts +0 -0
  234. /package/{ui → cjs/ui}/Form/Rating/Rating.module.scss +0 -0
  235. /package/{types → cjs}/ui/Form/Select/Select.d.ts +0 -0
  236. /package/{ui → cjs/ui}/Form/Select/Select.module.scss +0 -0
  237. /package/{types → cjs}/ui/Form/Switch/Switch.d.ts +0 -0
  238. /package/{ui → cjs/ui}/Form/Switch/Switch.module.scss +0 -0
  239. /package/{types → cjs}/ui/Form/TextArea/TextArea.d.ts +0 -0
  240. /package/{ui → cjs/ui}/Form/TextArea/TextArea.module.scss +0 -0
  241. /package/{types → cjs}/ui/Form/TextField/TextField.d.ts +0 -0
  242. /package/{ui → cjs/ui}/Form/TextField/TextField.module.scss +0 -0
  243. /package/{types → cjs}/ui/HelperText/HelperText.d.ts +0 -0
  244. /package/{ui → cjs/ui}/HelperText/HelperText.module.scss +0 -0
  245. /package/{types → cjs}/ui/List/ListItem.d.ts +0 -0
  246. /package/{ui → cjs/ui}/List/ListItem.module.scss +0 -0
  247. /package/{types → cjs}/ui/Loader/Loader.d.ts +0 -0
  248. /package/{ui → cjs/ui}/Loader/Loader.module.scss +0 -0
  249. /package/{types → cjs}/ui/Logo/Logo.d.ts +0 -0
  250. /package/{ui → cjs/ui}/Logo/Logo.module.scss +0 -0
  251. /package/{types → cjs}/ui/Slider/RcSlider.d.ts +0 -0
  252. /package/{types → cjs}/ui/Slider/Slider.d.ts +0 -0
  253. /package/{ui → cjs/ui}/Slider/Slider.module.scss +0 -0
  254. /package/{ui → cjs/ui}/Slider/style.css +0 -0
  255. /package/{types → cjs}/ui/Status/Status.d.ts +0 -0
  256. /package/{ui → cjs/ui}/Status/Status.module.scss +0 -0
  257. /package/{types → cjs}/ui/Stepper/StepItem.d.ts +0 -0
  258. /package/{ui → cjs/ui}/Stepper/StepItem.module.scss +0 -0
  259. /package/{types → cjs}/ui/Stepper/StepItemIcon.d.ts +0 -0
  260. /package/{ui → cjs/ui}/Stepper/StepItemIcon.module.scss +0 -0
  261. /package/{types → cjs}/ui/Stepper/Stepper.d.ts +0 -0
  262. /package/{ui → cjs/ui}/Stepper/Stepper.module.scss +0 -0
  263. /package/{types → cjs}/ui/Tooltip/Tooltip.d.ts +0 -0
  264. /package/{ui → cjs/ui}/Tooltip/Tooltip.module.scss +0 -0
  265. /package/{index.js → esm/index.js} +0 -0
  266. /package/{lib → esm/lib}/const/styles.js +0 -0
  267. /package/{lib → esm/lib}/helpers/helpers.js +0 -0
  268. /package/{lib → esm/lib}/hooks/useClickOutside.js +0 -0
  269. /package/{lib → esm/lib}/services/DateService.js +0 -0
  270. /package/{types → esm/types}/theme.js +0 -0
  271. /package/{ui → esm/ui}/Adornment/Adornment.js +0 -0
  272. /package/{ui → esm/ui}/Alert/Alert.js +0 -0
  273. /package/{ui → esm/ui}/Avatar/Avatar.js +0 -0
  274. /package/{ui → esm/ui}/Avatar/AvatarGroup.js +0 -0
  275. /package/{ui → esm/ui}/Badge/Badge.js +0 -0
  276. /package/{ui → esm/ui}/Button/index.js +0 -0
  277. /package/{ui → esm/ui}/ButtonGroup/index.js +0 -0
  278. /package/{ui → esm/ui}/ButtonIcon/index.js +0 -0
  279. /package/{ui → esm/ui}/Card/Card.js +0 -0
  280. /package/{ui → esm/ui}/Chip/Chip.js +0 -0
  281. /package/{ui → esm/ui}/Form/Checkbox/Checkbox.js +0 -0
  282. /package/{ui → esm/ui}/Form/Checkbox/Radio.js +0 -0
  283. /package/{ui → esm/ui}/Form/DateField/DateField.js +0 -0
  284. /package/{ui → esm/ui}/Form/DateField/TimeField.js +0 -0
  285. /package/{ui → esm/ui}/Form/DatePicker/DatePicker.js +0 -0
  286. /package/{ui → esm/ui}/Form/DatePicker/PeriodSelect.js +0 -0
  287. /package/{ui → esm/ui}/Form/DatePicker/TimePicker.js +0 -0
  288. /package/{ui → esm/ui}/Form/Interval/Interval.js +0 -0
  289. /package/{ui → esm/ui}/Form/Interval/IntervalSlide.js +0 -0
  290. /package/{ui → esm/ui}/Form/Password/Password.js +0 -0
  291. /package/{ui → esm/ui}/Form/Period/Period.js +0 -0
  292. /package/{ui → esm/ui}/Form/Rating/Rating.js +0 -0
  293. /package/{ui → esm/ui}/Form/Select/Select.js +0 -0
  294. /package/{ui → esm/ui}/Form/Switch/Switch.js +0 -0
  295. /package/{ui → esm/ui}/Form/TextArea/TextArea.js +0 -0
  296. /package/{ui → esm/ui}/Form/TextField/TextField.js +0 -0
  297. /package/{ui → esm/ui}/HelperText/HelperText.js +0 -0
  298. /package/{ui → esm/ui}/List/ListItem.js +0 -0
  299. /package/{ui → esm/ui}/Loader/Loader.js +0 -0
  300. /package/{ui → esm/ui}/Logo/Logo.js +0 -0
  301. /package/{ui/Slider/RcSlider.js → esm/ui/Slider/RcSlider.d.ts} +0 -0
  302. /package/{ui → esm/ui}/Slider/Slider.js +0 -0
  303. /package/{ui → esm/ui}/Status/Status.js +0 -0
  304. /package/{ui → esm/ui}/Stepper/StepItem.js +0 -0
  305. /package/{ui → esm/ui}/Stepper/StepItemIcon.js +0 -0
  306. /package/{ui → esm/ui}/Stepper/Stepper.js +0 -0
  307. /package/{ui → esm/ui}/Tooltip/Tooltip.js +0 -0
@@ -0,0 +1,266 @@
1
+ @import "./../assets/variables";
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
+
190
+
191
+ .button_grouped_inline{
192
+ border-radius: 0;
193
+ &:first-child{
194
+ border-top-left-radius: $radius;
195
+ border-bottom-left-radius: $radius;
196
+ }
197
+ &:last-child{
198
+ border-top-right-radius: $radius;
199
+ border-bottom-right-radius: $radius;
200
+ }
201
+ &.button_contained{
202
+ &.button_primary + *{
203
+ border-left-color: $color-info-dark;
204
+ }
205
+ &.button_secondary + *{
206
+ border-left-color: $color-primary-dark;
207
+ }
208
+ &.button_neutral + *{
209
+ border-left-color: $color-neutral-dark;
210
+ }
211
+ &.button_black + *{
212
+ border-left-color: $color-neutral-dark;
213
+ }
214
+ }
215
+ &.button_outlined{
216
+ &.button_primary + *{
217
+ border-left-color: $color-info-dark;
218
+ }
219
+ &.button_primary:not(:last-child){
220
+ border-right: 0;
221
+ }
222
+ &.button_secondary + *{
223
+ border-left-color: $color-secondary;
224
+ }
225
+ &.button_secondary:not(:last-child){
226
+ border-right: 0;
227
+ }
228
+ &.button_neutral + *{
229
+ border-left-color: $color-neutral;
230
+ }
231
+ &.button_neutral:not(:last-child){
232
+ border-right: 0;
233
+ }
234
+ &.button_black + *{
235
+ border-left-color: $color-neutral;
236
+ }
237
+ &.button_black:not(:last-child){
238
+ border-right: 0;
239
+ }
240
+ }
241
+ &.button_transparent{
242
+ &.button_primary + *{
243
+ border-left-color: $color-gray-200;
244
+ }
245
+ &.button_secondary + *{
246
+ border-left-color: $color-gray-200;
247
+ }
248
+ &.button_neutral + *{
249
+ border-left-color: $color-gray-200;
250
+ }
251
+ &.button_black + *{
252
+ border-left-color: $color-gray-200;
253
+ }
254
+ }
255
+ }
256
+ .button_grouped_column{
257
+ border-radius: 0;
258
+ &:first-child{
259
+ border-top-left-radius: $radius;
260
+ border-top-right-radius: $radius;
261
+ }
262
+ &:last-child{
263
+ border-bottom-left-radius: $radius;
264
+ border-bottom-right-radius: $radius;
265
+ }
266
+ }
@@ -0,0 +1,12 @@
1
+ @import "./../assets/variables";
2
+
3
+ .button_group{
4
+ display: flex;
5
+ align-items: center;
6
+ }
7
+ .button_group_inline{
8
+ flex-direction: row;
9
+ }
10
+ .button_group_column{
11
+ flex-direction: column;
12
+ }
@@ -0,0 +1,24 @@
1
+ @import "./../assets/variables";
2
+
3
+ .button_icon{
4
+ padding: $size-step;
5
+ width: $size-elarge;
6
+ border-radius: 50%;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ font-size: 30px;
11
+ &.button_large{
12
+ width: $size-large;
13
+ font-size: 24px;
14
+ }
15
+ &.button_medium{
16
+ width: $size-medium;
17
+ font-size: 20px;
18
+ }
19
+ &.button_small{
20
+ width: $size-small;
21
+ padding: calc($size-step / 2);
22
+ font-size: 16px;
23
+ }
24
+ }
@@ -0,0 +1,7 @@
1
+ @import "variables";
2
+
3
+ .card{
4
+ padding: $size-step;
5
+ box-shadow: $box-shadow;
6
+ border-radius: $radius;
7
+ }
@@ -0,0 +1,297 @@
1
+ @import "variables";
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
+ }
@@ -0,0 +1,96 @@
1
+ @import "variables";
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
+ }
@@ -0,0 +1,7 @@
1
+ @import "variables";
2
+
3
+ .datepicker{
4
+ & .react-datepicker{
5
+ border:none;
6
+ }
7
+ }
@@ -0,0 +1,10 @@
1
+ @import "variables";
2
+
3
+ .helperText{
4
+ color: $color-gray-600;
5
+ font-size: 12px;
6
+ display: block;
7
+ }
8
+ .helperText_error{
9
+ color: $color-error-dark;
10
+ }