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.
- package/cjs/index.js +35 -0
- package/cjs/lib/const/styles.js +6 -0
- package/cjs/lib/helpers/helpers.js +56 -0
- package/cjs/lib/hooks/useClickOutside.js +22 -0
- package/cjs/lib/services/DateService.js +48 -0
- package/cjs/types/theme.js +3 -0
- package/cjs/ui/Adornment/Adornment.js +51 -0
- package/cjs/ui/Alert/Alert.js +50 -0
- package/cjs/ui/Avatar/Avatar.js +54 -0
- package/cjs/ui/Avatar/AvatarGroup.js +38 -0
- package/cjs/ui/Badge/Badge.js +38 -0
- package/cjs/ui/Button/index.js +47 -0
- package/cjs/ui/ButtonGroup/index.js +30 -0
- package/cjs/ui/ButtonIcon/index.js +25 -0
- package/cjs/ui/Card/Card.js +23 -0
- package/cjs/ui/Chip/Chip.js +45 -0
- package/cjs/ui/Form/Checkbox/Checkbox.js +57 -0
- package/cjs/ui/Form/Checkbox/Radio.js +25 -0
- package/cjs/ui/Form/DateField/DateField.js +70 -0
- package/cjs/ui/Form/DateField/TimeField.js +19 -0
- package/cjs/ui/Form/DatePicker/DatePicker.js +51 -0
- package/cjs/ui/Form/DatePicker/PeriodSelect.js +29 -0
- package/cjs/ui/Form/DatePicker/TimePicker.js +28 -0
- package/cjs/ui/Form/Interval/Interval.js +102 -0
- package/cjs/ui/Form/Interval/IntervalSlide.js +52 -0
- package/cjs/ui/Form/Password/Password.js +46 -0
- package/cjs/ui/Form/Period/Period.js +73 -0
- package/cjs/ui/Form/Rating/Rating.js +58 -0
- package/cjs/ui/Form/Select/Select.js +143 -0
- package/cjs/ui/Form/Switch/Switch.js +34 -0
- package/cjs/ui/Form/TextArea/TextArea.js +50 -0
- package/cjs/ui/Form/TextField/TextField.js +156 -0
- package/cjs/ui/HelperText/HelperText.js +32 -0
- package/cjs/ui/List/ListItem.js +64 -0
- package/cjs/ui/Loader/Loader.js +124 -0
- package/cjs/ui/Logo/Logo.js +106 -0
- package/cjs/ui/Slider/RcSlider.js +1 -0
- package/cjs/ui/Slider/Slider.js +39 -0
- package/cjs/ui/Status/Status.js +35 -0
- package/cjs/ui/Stepper/StepItem.js +60 -0
- package/cjs/ui/Stepper/StepItemIcon.js +44 -0
- package/cjs/ui/Stepper/Stepper.js +49 -0
- package/cjs/ui/Tooltip/Tooltip.js +36 -0
- package/dist/armtek-uikit-react-main.js +1357 -0
- package/dist/armtek-uikit-react-main.min.js +2 -0
- package/dist/armtek-uikit-react-main.min.js.LICENSE.txt +15 -0
- package/dist/css/main.css +19 -0
- package/esm/assets/Adornment.scss +18 -0
- package/esm/assets/Alert.scss +38 -0
- package/esm/assets/Avatar.scss +82 -0
- package/esm/assets/AvatarGroup.scss +48 -0
- package/esm/assets/Badge.scss +83 -0
- package/esm/assets/Button.scss +266 -0
- package/esm/assets/ButtonGroup.scss +12 -0
- package/esm/assets/ButtonIcon.scss +24 -0
- package/esm/assets/Card.scss +7 -0
- package/esm/assets/Checkbox.scss +297 -0
- package/esm/assets/Chip.scss +96 -0
- package/esm/assets/DatePicker.scss +7 -0
- package/esm/assets/HelperText.scss +10 -0
- package/esm/assets/Interval.scss +35 -0
- package/esm/assets/ListItem.scss +34 -0
- package/esm/assets/Loader.scss +37 -0
- package/esm/assets/Logo.scss +29 -0
- package/esm/assets/Period.scss +10 -0
- package/esm/assets/Rating.scss +19 -0
- package/esm/assets/Select.scss +26 -0
- package/esm/assets/Slider.scss +6 -0
- package/esm/assets/Status.scss +45 -0
- package/esm/assets/StepItem.scss +67 -0
- package/esm/assets/StepItemIcon.scss +47 -0
- package/esm/assets/Stepper.scss +34 -0
- package/esm/assets/Switch.scss +69 -0
- package/esm/assets/TextArea.scss +15 -0
- package/esm/assets/TextField.scss +160 -0
- package/esm/assets/Tooltip.scss +18 -0
- package/esm/assets/fonts.scss +2 -0
- package/esm/assets/global.css +72 -0
- package/esm/assets/styles.scss +31 -0
- package/esm/assets/variables.scss +67 -0
- package/esm/index.d.ts +29 -0
- package/esm/lib/const/styles.d.ts +1 -0
- package/esm/lib/helpers/helpers.d.ts +6 -0
- package/esm/lib/hooks/useClickOutside.d.ts +3 -0
- package/esm/lib/services/DateService.d.ts +12 -0
- package/esm/types/theme.d.ts +10 -0
- package/esm/ui/Adornment/Adornment.d.ts +7 -0
- package/esm/ui/Adornment/Adornment.module.scss +2 -0
- package/esm/ui/Alert/Alert.d.ts +10 -0
- package/esm/ui/Alert/Alert.module.scss +2 -0
- package/esm/ui/Avatar/Avatar.d.ts +13 -0
- package/esm/ui/Avatar/Avatar.module.scss +1 -0
- package/esm/ui/Avatar/AvatarGroup.d.ts +8 -0
- package/esm/ui/Avatar/AvatarGroup.module.scss +1 -0
- package/esm/ui/Badge/Badge.d.ts +11 -0
- package/esm/ui/Badge/Badge.module.scss +1 -0
- package/esm/ui/Button/Button.module.scss +1 -0
- package/esm/ui/Button/index.d.ts +15 -0
- package/esm/ui/ButtonGroup/ButtonGroup.module.scss +2 -0
- package/esm/ui/ButtonGroup/index.d.ts +6 -0
- package/esm/ui/ButtonIcon/ButtonIcon.module.scss +1 -0
- package/esm/ui/ButtonIcon/index.d.ts +3 -0
- package/esm/ui/Card/Card.d.ts +4 -0
- package/esm/ui/Card/Card.module.scss +1 -0
- package/esm/ui/Chip/Chip.d.ts +13 -0
- package/esm/ui/Chip/Chip.module.scss +1 -0
- package/esm/ui/Form/Checkbox/Checkbox.d.ts +12 -0
- package/esm/ui/Form/Checkbox/Checkbox.module.scss +1 -0
- package/esm/ui/Form/Checkbox/Radio.d.ts +3 -0
- package/esm/ui/Form/DateField/DateField.d.ts +26 -0
- package/esm/ui/Form/DateField/DateField.module.scss +1 -0
- package/esm/ui/Form/DateField/TimeField.d.ts +3 -0
- package/esm/ui/Form/DatePicker/DatePicker.d.ts +7 -0
- package/esm/ui/Form/DatePicker/DatePicker.module.scss +1 -0
- package/esm/ui/Form/DatePicker/PeriodSelect.d.ts +2 -0
- package/esm/ui/Form/DatePicker/TimePicker.d.ts +2 -0
- package/esm/ui/Form/DatePicker/styles.css +766 -0
- package/esm/ui/Form/Interval/Interval.d.ts +21 -0
- package/esm/ui/Form/Interval/Interval.module.scss +1 -0
- package/esm/ui/Form/Interval/IntervalSlide.d.ts +4 -0
- package/esm/ui/Form/Password/Password.d.ts +12 -0
- package/esm/ui/Form/Period/Period.d.ts +15 -0
- package/esm/ui/Form/Period/Period.module.scss +2 -0
- package/esm/ui/Form/Rating/Rating.d.ts +10 -0
- package/esm/ui/Form/Rating/Rating.module.scss +1 -0
- package/esm/ui/Form/Select/Select.d.ts +23 -0
- package/esm/ui/Form/Select/Select.module.scss +1 -0
- package/esm/ui/Form/Switch/Switch.d.ts +7 -0
- package/esm/ui/Form/Switch/Switch.module.scss +1 -0
- package/esm/ui/Form/TextArea/TextArea.d.ts +4 -0
- package/esm/ui/Form/TextArea/TextArea.module.scss +1 -0
- package/esm/ui/Form/TextField/TextField.d.ts +40 -0
- package/esm/ui/Form/TextField/TextField.module.scss +1 -0
- package/esm/ui/HelperText/HelperText.d.ts +6 -0
- package/esm/ui/HelperText/HelperText.module.scss +1 -0
- package/esm/ui/List/ListItem.d.ts +10 -0
- package/esm/ui/List/ListItem.module.scss +1 -0
- package/esm/ui/Loader/Loader.d.ts +6 -0
- package/esm/ui/Loader/Loader.module.scss +1 -0
- package/esm/ui/Logo/Logo.d.ts +12 -0
- package/esm/ui/Logo/Logo.module.scss +1 -0
- package/esm/ui/Slider/RcSlider.js +0 -0
- package/esm/ui/Slider/Slider.d.ts +8 -0
- package/esm/ui/Slider/Slider.module.scss +1 -0
- package/esm/ui/Slider/style.css +281 -0
- package/esm/ui/Status/Status.d.ts +10 -0
- package/esm/ui/Status/Status.module.scss +1 -0
- package/esm/ui/Stepper/StepItem.d.ts +14 -0
- package/esm/ui/Stepper/StepItem.module.scss +1 -0
- package/esm/ui/Stepper/StepItemIcon.d.ts +11 -0
- package/esm/ui/Stepper/StepItemIcon.module.scss +1 -0
- package/esm/ui/Stepper/Stepper.d.ts +11 -0
- package/esm/ui/Stepper/Stepper.module.scss +1 -0
- package/esm/ui/Tooltip/Tooltip.d.ts +7 -0
- package/esm/ui/Tooltip/Tooltip.module.scss +1 -0
- package/package.json +1 -25
- /package/{assets → cjs/assets}/Adornment.scss +0 -0
- /package/{assets → cjs/assets}/Alert.scss +0 -0
- /package/{assets → cjs/assets}/Avatar.scss +0 -0
- /package/{assets → cjs/assets}/AvatarGroup.scss +0 -0
- /package/{assets → cjs/assets}/Badge.scss +0 -0
- /package/{assets → cjs/assets}/Button.scss +0 -0
- /package/{assets → cjs/assets}/ButtonGroup.scss +0 -0
- /package/{assets → cjs/assets}/ButtonIcon.scss +0 -0
- /package/{assets → cjs/assets}/Card.scss +0 -0
- /package/{assets → cjs/assets}/Checkbox.scss +0 -0
- /package/{assets → cjs/assets}/Chip.scss +0 -0
- /package/{assets → cjs/assets}/DatePicker.scss +0 -0
- /package/{assets → cjs/assets}/HelperText.scss +0 -0
- /package/{assets → cjs/assets}/Interval.scss +0 -0
- /package/{assets → cjs/assets}/ListItem.scss +0 -0
- /package/{assets → cjs/assets}/Loader.scss +0 -0
- /package/{assets → cjs/assets}/Logo.scss +0 -0
- /package/{assets → cjs/assets}/Period.scss +0 -0
- /package/{assets → cjs/assets}/Rating.scss +0 -0
- /package/{assets → cjs/assets}/Select.scss +0 -0
- /package/{assets → cjs/assets}/Slider.scss +0 -0
- /package/{assets → cjs/assets}/Status.scss +0 -0
- /package/{assets → cjs/assets}/StepItem.scss +0 -0
- /package/{assets → cjs/assets}/StepItemIcon.scss +0 -0
- /package/{assets → cjs/assets}/Stepper.scss +0 -0
- /package/{assets → cjs/assets}/Switch.scss +0 -0
- /package/{assets → cjs/assets}/TextArea.scss +0 -0
- /package/{assets → cjs/assets}/TextField.scss +0 -0
- /package/{assets → cjs/assets}/Tooltip.scss +0 -0
- /package/{assets → cjs/assets}/fonts.scss +0 -0
- /package/{assets → cjs/assets}/global.css +0 -0
- /package/{assets → cjs/assets}/styles.scss +0 -0
- /package/{assets → cjs/assets}/variables.scss +0 -0
- /package/{types → cjs}/index.d.ts +0 -0
- /package/{types → cjs}/lib/const/styles.d.ts +0 -0
- /package/{types → cjs}/lib/helpers/helpers.d.ts +0 -0
- /package/{types → cjs}/lib/hooks/useClickOutside.d.ts +0 -0
- /package/{types → cjs}/lib/services/DateService.d.ts +0 -0
- /package/{types → cjs}/types/theme.d.ts +0 -0
- /package/{types → cjs}/ui/Adornment/Adornment.d.ts +0 -0
- /package/{ui → cjs/ui}/Adornment/Adornment.module.scss +0 -0
- /package/{types → cjs}/ui/Alert/Alert.d.ts +0 -0
- /package/{ui → cjs/ui}/Alert/Alert.module.scss +0 -0
- /package/{types → cjs}/ui/Avatar/Avatar.d.ts +0 -0
- /package/{ui → cjs/ui}/Avatar/Avatar.module.scss +0 -0
- /package/{types → cjs}/ui/Avatar/AvatarGroup.d.ts +0 -0
- /package/{ui → cjs/ui}/Avatar/AvatarGroup.module.scss +0 -0
- /package/{types → cjs}/ui/Badge/Badge.d.ts +0 -0
- /package/{ui → cjs/ui}/Badge/Badge.module.scss +0 -0
- /package/{ui → cjs/ui}/Button/Button.module.scss +0 -0
- /package/{types → cjs}/ui/Button/index.d.ts +0 -0
- /package/{ui → cjs/ui}/ButtonGroup/ButtonGroup.module.scss +0 -0
- /package/{types → cjs}/ui/ButtonGroup/index.d.ts +0 -0
- /package/{ui → cjs/ui}/ButtonIcon/ButtonIcon.module.scss +0 -0
- /package/{types → cjs}/ui/ButtonIcon/index.d.ts +0 -0
- /package/{types → cjs}/ui/Card/Card.d.ts +0 -0
- /package/{ui → cjs/ui}/Card/Card.module.scss +0 -0
- /package/{types → cjs}/ui/Chip/Chip.d.ts +0 -0
- /package/{ui → cjs/ui}/Chip/Chip.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Checkbox/Checkbox.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Checkbox/Checkbox.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Checkbox/Radio.d.ts +0 -0
- /package/{types → cjs}/ui/Form/DateField/DateField.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/DateField/DateField.module.scss +0 -0
- /package/{types → cjs}/ui/Form/DateField/TimeField.d.ts +0 -0
- /package/{types → cjs}/ui/Form/DatePicker/DatePicker.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/DatePicker/DatePicker.module.scss +0 -0
- /package/{types → cjs}/ui/Form/DatePicker/PeriodSelect.d.ts +0 -0
- /package/{types → cjs}/ui/Form/DatePicker/TimePicker.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/DatePicker/styles.css +0 -0
- /package/{types → cjs}/ui/Form/Interval/Interval.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Interval/Interval.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Interval/IntervalSlide.d.ts +0 -0
- /package/{types → cjs}/ui/Form/Password/Password.d.ts +0 -0
- /package/{types → cjs}/ui/Form/Period/Period.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Period/Period.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Rating/Rating.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Rating/Rating.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Select/Select.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Select/Select.module.scss +0 -0
- /package/{types → cjs}/ui/Form/Switch/Switch.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/Switch/Switch.module.scss +0 -0
- /package/{types → cjs}/ui/Form/TextArea/TextArea.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/TextArea/TextArea.module.scss +0 -0
- /package/{types → cjs}/ui/Form/TextField/TextField.d.ts +0 -0
- /package/{ui → cjs/ui}/Form/TextField/TextField.module.scss +0 -0
- /package/{types → cjs}/ui/HelperText/HelperText.d.ts +0 -0
- /package/{ui → cjs/ui}/HelperText/HelperText.module.scss +0 -0
- /package/{types → cjs}/ui/List/ListItem.d.ts +0 -0
- /package/{ui → cjs/ui}/List/ListItem.module.scss +0 -0
- /package/{types → cjs}/ui/Loader/Loader.d.ts +0 -0
- /package/{ui → cjs/ui}/Loader/Loader.module.scss +0 -0
- /package/{types → cjs}/ui/Logo/Logo.d.ts +0 -0
- /package/{ui → cjs/ui}/Logo/Logo.module.scss +0 -0
- /package/{types → cjs}/ui/Slider/RcSlider.d.ts +0 -0
- /package/{types → cjs}/ui/Slider/Slider.d.ts +0 -0
- /package/{ui → cjs/ui}/Slider/Slider.module.scss +0 -0
- /package/{ui → cjs/ui}/Slider/style.css +0 -0
- /package/{types → cjs}/ui/Status/Status.d.ts +0 -0
- /package/{ui → cjs/ui}/Status/Status.module.scss +0 -0
- /package/{types → cjs}/ui/Stepper/StepItem.d.ts +0 -0
- /package/{ui → cjs/ui}/Stepper/StepItem.module.scss +0 -0
- /package/{types → cjs}/ui/Stepper/StepItemIcon.d.ts +0 -0
- /package/{ui → cjs/ui}/Stepper/StepItemIcon.module.scss +0 -0
- /package/{types → cjs}/ui/Stepper/Stepper.d.ts +0 -0
- /package/{ui → cjs/ui}/Stepper/Stepper.module.scss +0 -0
- /package/{types → cjs}/ui/Tooltip/Tooltip.d.ts +0 -0
- /package/{ui → cjs/ui}/Tooltip/Tooltip.module.scss +0 -0
- /package/{index.js → esm/index.js} +0 -0
- /package/{lib → esm/lib}/const/styles.js +0 -0
- /package/{lib → esm/lib}/helpers/helpers.js +0 -0
- /package/{lib → esm/lib}/hooks/useClickOutside.js +0 -0
- /package/{lib → esm/lib}/services/DateService.js +0 -0
- /package/{types → esm/types}/theme.js +0 -0
- /package/{ui → esm/ui}/Adornment/Adornment.js +0 -0
- /package/{ui → esm/ui}/Alert/Alert.js +0 -0
- /package/{ui → esm/ui}/Avatar/Avatar.js +0 -0
- /package/{ui → esm/ui}/Avatar/AvatarGroup.js +0 -0
- /package/{ui → esm/ui}/Badge/Badge.js +0 -0
- /package/{ui → esm/ui}/Button/index.js +0 -0
- /package/{ui → esm/ui}/ButtonGroup/index.js +0 -0
- /package/{ui → esm/ui}/ButtonIcon/index.js +0 -0
- /package/{ui → esm/ui}/Card/Card.js +0 -0
- /package/{ui → esm/ui}/Chip/Chip.js +0 -0
- /package/{ui → esm/ui}/Form/Checkbox/Checkbox.js +0 -0
- /package/{ui → esm/ui}/Form/Checkbox/Radio.js +0 -0
- /package/{ui → esm/ui}/Form/DateField/DateField.js +0 -0
- /package/{ui → esm/ui}/Form/DateField/TimeField.js +0 -0
- /package/{ui → esm/ui}/Form/DatePicker/DatePicker.js +0 -0
- /package/{ui → esm/ui}/Form/DatePicker/PeriodSelect.js +0 -0
- /package/{ui → esm/ui}/Form/DatePicker/TimePicker.js +0 -0
- /package/{ui → esm/ui}/Form/Interval/Interval.js +0 -0
- /package/{ui → esm/ui}/Form/Interval/IntervalSlide.js +0 -0
- /package/{ui → esm/ui}/Form/Password/Password.js +0 -0
- /package/{ui → esm/ui}/Form/Period/Period.js +0 -0
- /package/{ui → esm/ui}/Form/Rating/Rating.js +0 -0
- /package/{ui → esm/ui}/Form/Select/Select.js +0 -0
- /package/{ui → esm/ui}/Form/Switch/Switch.js +0 -0
- /package/{ui → esm/ui}/Form/TextArea/TextArea.js +0 -0
- /package/{ui → esm/ui}/Form/TextField/TextField.js +0 -0
- /package/{ui → esm/ui}/HelperText/HelperText.js +0 -0
- /package/{ui → esm/ui}/List/ListItem.js +0 -0
- /package/{ui → esm/ui}/Loader/Loader.js +0 -0
- /package/{ui → esm/ui}/Logo/Logo.js +0 -0
- /package/{ui/Slider/RcSlider.js → esm/ui/Slider/RcSlider.d.ts} +0 -0
- /package/{ui → esm/ui}/Slider/Slider.js +0 -0
- /package/{ui → esm/ui}/Status/Status.js +0 -0
- /package/{ui → esm/ui}/Stepper/StepItem.js +0 -0
- /package/{ui → esm/ui}/Stepper/StepItemIcon.js +0 -0
- /package/{ui → esm/ui}/Stepper/Stepper.js +0 -0
- /package/{ui → esm/ui}/Tooltip/Tooltip.js +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Roboto:wght@400;500;700&display=swap');
|
|
2
|
+
|
|
3
|
+
body{
|
|
4
|
+
font-family: 'Roboto';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
::-webkit-scrollbar {
|
|
8
|
+
width: 4px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
::-webkit-scrollbar-track {
|
|
12
|
+
background: transparent;
|
|
13
|
+
}
|
|
14
|
+
::-webkit-scrollbar-thumb {
|
|
15
|
+
background-color: #DFE2E6;
|
|
16
|
+
border-radius: 0px;
|
|
17
|
+
}
|
|
18
|
+
* {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Material Symbols Outlined';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v133/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* fallback */
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Material Symbols Outlined';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v134/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzazHD_dY43zj-jCxv3fzvRNU22ZXGJpEpjC_1p-p_4MrImHCIJIZrDBIG-ej.woff2) format('woff2');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.text_error{
|
|
38
|
+
color: #CC2935;
|
|
39
|
+
}
|
|
40
|
+
.text_success{
|
|
41
|
+
color: #0BD998;
|
|
42
|
+
}
|
|
43
|
+
.material_icon {
|
|
44
|
+
font-family: 'Material Symbols Outlined';
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-size: 24px;
|
|
48
|
+
line-height: 1;
|
|
49
|
+
letter-spacing: normal;
|
|
50
|
+
text-transform: none;
|
|
51
|
+
display: inline-block;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
word-wrap: normal;
|
|
54
|
+
direction: ltr;
|
|
55
|
+
-webkit-font-feature-settings: 'liga';
|
|
56
|
+
-webkit-font-smoothing: antialiased;
|
|
57
|
+
}
|
|
58
|
+
.material_icon_solid{
|
|
59
|
+
font-family: 'Material Symbols Outlined';
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-size: 24px;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
letter-spacing: normal;
|
|
64
|
+
text-transform: none;
|
|
65
|
+
display: inline-block;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
word-wrap: normal;
|
|
68
|
+
direction: ltr;
|
|
69
|
+
-webkit-font-feature-settings: 'liga';
|
|
70
|
+
-webkit-font-smoothing: antialiased;
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
2
|
+
//@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
|
|
3
|
+
|
|
4
|
+
@import "variables";
|
|
5
|
+
@import "Button";
|
|
6
|
+
@import "Adornment";
|
|
7
|
+
@import "Alert";
|
|
8
|
+
@import "Badge";
|
|
9
|
+
@import "Card";
|
|
10
|
+
@import "Avatar";
|
|
11
|
+
@import "AvatarGroup";
|
|
12
|
+
@import "Chip";
|
|
13
|
+
@import "HelperText";
|
|
14
|
+
@import "ListItem";
|
|
15
|
+
@import "Loader";
|
|
16
|
+
@import "Logo";
|
|
17
|
+
@import "Slider";
|
|
18
|
+
@import "Status";
|
|
19
|
+
@import "StepItem";
|
|
20
|
+
@import "StepItemIcon";
|
|
21
|
+
@import "Stepper";
|
|
22
|
+
@import "Tooltip";
|
|
23
|
+
@import "Checkbox";
|
|
24
|
+
@import "DatePicker";
|
|
25
|
+
@import "Interval";
|
|
26
|
+
@import "Period";
|
|
27
|
+
@import "Rating";
|
|
28
|
+
@import "Select";
|
|
29
|
+
@import "Switch";
|
|
30
|
+
@import "TextArea";
|
|
31
|
+
@import "TextField";
|
|
@@ -0,0 +1,67 @@
|
|
|
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.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { default as Button } from './ui/Button';
|
|
2
|
+
export { default as ButtonIcon } from './ui/ButtonIcon';
|
|
3
|
+
export type { ButtonProps } from './ui/Button';
|
|
4
|
+
export { default as Alert } from './ui/Alert/Alert';
|
|
5
|
+
export type { AlertProps } from './ui/Alert/Alert';
|
|
6
|
+
export { default as Avatar } from './ui/Avatar/Avatar';
|
|
7
|
+
export type { AvatarProps } from './ui/Avatar/Avatar';
|
|
8
|
+
export { default as AvatarGroup } from './ui/Avatar/AvatarGroup';
|
|
9
|
+
export type { AvatarGroupProps } from './ui/Avatar/AvatarGroup';
|
|
10
|
+
export { default as Badge } from './ui/Badge/Badge';
|
|
11
|
+
export type { BadgeProps } from './ui/Badge/Badge';
|
|
12
|
+
export { default as Card } from './ui/Card/Card';
|
|
13
|
+
export type { CardProps } from './ui/Card/Card';
|
|
14
|
+
export { default as Chip } from './ui/Chip/Chip';
|
|
15
|
+
export type { ChipProps } from './ui/Chip/Chip';
|
|
16
|
+
export { default as ListItem } from './ui/List/ListItem';
|
|
17
|
+
export type { ListItemProps } from './ui/List/ListItem';
|
|
18
|
+
export { default as Loader } from './ui/Loader/Loader';
|
|
19
|
+
export type { LoaderProps } from './ui/Loader/Loader';
|
|
20
|
+
export { default as Logo } from './ui/Logo/Logo';
|
|
21
|
+
export type { LogoProps } from './ui/Logo/Logo';
|
|
22
|
+
export { default as Slider } from './ui/Slider/Slider';
|
|
23
|
+
export type { SliderProps } from './ui/Slider/Slider';
|
|
24
|
+
export { default as Status } from './ui/Status/Status';
|
|
25
|
+
export type { StatusProps } from './ui/Status/Status';
|
|
26
|
+
export { default as Stepper } from './ui/Stepper/Stepper';
|
|
27
|
+
export type { StepperProps } from './ui/Stepper/Stepper';
|
|
28
|
+
export { default as Tooltip } from './ui/Tooltip/Tooltip';
|
|
29
|
+
export type { TooltipProps } from './ui/Tooltip/Tooltip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CSS_PREFIX = "Armtek-";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColorStatusType, ColorType, SizeType, VariantType } from '../../types/theme';
|
|
2
|
+
export declare const getVariants: (except?: string[]) => Record<VariantType, string>;
|
|
3
|
+
export declare const getColors: () => Record<ColorType, string>;
|
|
4
|
+
export declare const getStatusColors: () => Record<ColorStatusType, string>;
|
|
5
|
+
export declare const getSizes: (except?: string[]) => Record<SizeType, string>;
|
|
6
|
+
export declare const getCssPrefix: (classes: string[]) => Record<string, string>;
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/Avatar";
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/AvatarGroup";
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/Badge";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/Button";
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Index: <T extends ElementType>(props: ButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default Index;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/ButtonIcon";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/Card";
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../../assets/Chip";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { ColorType, SizeType, VariantType } from '../../../types/theme';
|
|
3
|
+
type BaseCheckboxPropsType = {
|
|
4
|
+
label?: string | ReactNode;
|
|
5
|
+
size?: Exclude<SizeType, 'extraLarge'>;
|
|
6
|
+
color?: ColorType;
|
|
7
|
+
variant?: Exclude<VariantType, 'transparent'>;
|
|
8
|
+
intermediate?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type CheckboxPropsType = BaseCheckboxPropsType & Omit<InputHTMLAttributes<any>, 'size'>;
|
|
11
|
+
declare const Checkbox: (props: CheckboxPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default Checkbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../../../assets/Checkbox";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TextFieldProps } from '../TextField/TextField';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
3
|
+
export type DateFieldProps = {
|
|
4
|
+
format?: string;
|
|
5
|
+
onInput?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
onChange?: (value: Date | null) => void;
|
|
7
|
+
showTime?: boolean;
|
|
8
|
+
showTimeOnly?: boolean;
|
|
9
|
+
} & TextFieldProps;
|
|
10
|
+
declare const DateField: import("react").ForwardRefExoticComponent<{
|
|
11
|
+
format?: string | undefined;
|
|
12
|
+
onInput?: ((e: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
13
|
+
onChange?: ((value: Date | null) => void) | undefined;
|
|
14
|
+
showTime?: boolean | undefined;
|
|
15
|
+
showTimeOnly?: boolean | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
size?: "large" | "small" | undefined;
|
|
19
|
+
variant?: import("../../../types/theme").VariantType | undefined;
|
|
20
|
+
error?: boolean | undefined;
|
|
21
|
+
success?: boolean | undefined;
|
|
22
|
+
helperText?: string | undefined;
|
|
23
|
+
endAdornment?: import("react").ReactNode;
|
|
24
|
+
multiline?: boolean | undefined;
|
|
25
|
+
} & Omit<import("react").InputHTMLAttributes<any>, "size"> & import("react").RefAttributes<unknown>>;
|
|
26
|
+
export default DateField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../../../assets/styles";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactDatePickerProps } from 'react-datepicker';
|
|
3
|
+
import '!style-loader!css-loader!./styles.css';
|
|
4
|
+
declare const DatePicker: import("react").ForwardRefExoticComponent<{
|
|
5
|
+
selectsRange?: boolean | undefined;
|
|
6
|
+
} & Omit<ReactDatePickerProps<never, boolean | undefined>, "selectsRange"> & import("react").RefAttributes<unknown>>;
|
|
7
|
+
export default DatePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../../../assets/DatePicker";
|