armtek-uikit-react 1.0.13 → 1.0.14
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/assets/Alert.scss +37 -0
- package/cjs/assets/Avatar.scss +82 -0
- package/cjs/assets/AvatarGroup.scss +48 -0
- package/cjs/assets/Badge.scss +83 -0
- package/cjs/assets/Card.scss +7 -0
- package/cjs/assets/Checkbox.scss +297 -0
- package/cjs/assets/Chip.scss +96 -0
- package/cjs/assets/DatePicker.scss +7 -0
- package/cjs/assets/HelperText.scss +10 -0
- package/cjs/assets/Interval.scss +35 -0
- package/cjs/assets/ListItem.scss +34 -0
- package/cjs/assets/Loader.scss +37 -0
- package/cjs/assets/Logo.scss +29 -0
- package/cjs/assets/Period.scss +10 -0
- package/cjs/assets/Rating.scss +19 -0
- package/cjs/assets/Select.scss +26 -0
- package/cjs/assets/Slider.scss +6 -0
- package/cjs/assets/Status.scss +45 -0
- package/cjs/assets/StepItem.scss +67 -0
- package/cjs/assets/StepItemIcon.scss +47 -0
- package/cjs/assets/Stepper.scss +34 -0
- package/cjs/assets/Switch.scss +69 -0
- package/cjs/assets/TextArea.scss +15 -0
- package/cjs/assets/TextField.scss +160 -0
- package/cjs/assets/Tooltip.scss +18 -0
- package/cjs/assets/styles.scss +26 -1
- package/cjs/lib/helpers/helpers.d.ts +1 -0
- package/cjs/lib/helpers/helpers.js +10 -2
- package/cjs/ui/Adornment/Adornment.js +9 -5
- package/cjs/ui/Adornment/Adornment.module.scss +2 -18
- package/cjs/ui/Alert/Alert.js +5 -1
- package/cjs/ui/Alert/Alert.module.scss +2 -38
- package/cjs/ui/Avatar/Avatar.js +5 -1
- package/cjs/ui/Avatar/Avatar.module.scss +1 -82
- package/cjs/ui/Avatar/AvatarGroup.js +5 -1
- package/cjs/ui/Avatar/AvatarGroup.module.scss +1 -48
- package/cjs/ui/Badge/Badge.js +5 -1
- package/cjs/ui/Badge/Badge.module.scss +1 -83
- package/cjs/ui/Button/Button.d.ts +1 -1
- package/cjs/ui/Button/Button.js +9 -5
- package/cjs/ui/Button/Button.module.scss +2 -298
- package/cjs/ui/Button/ButtonGroup.js +5 -1
- package/cjs/ui/Button/ButtonIcon.js +4 -0
- package/cjs/ui/Card/Card.js +5 -1
- package/cjs/ui/Card/Card.module.scss +1 -7
- package/cjs/ui/Chip/Chip.js +5 -1
- package/cjs/ui/Chip/Chip.module.scss +1 -96
- package/cjs/ui/Form/Checkbox/Checkbox.js +5 -1
- package/cjs/ui/Form/Checkbox/Checkbox.module.scss +1 -297
- package/cjs/ui/Form/Checkbox/Radio.js +6 -2
- package/cjs/ui/Form/DateField/DateField.js +0 -1
- package/cjs/ui/Form/DatePicker/DatePicker.module.scss +1 -7
- package/cjs/ui/Form/Interval/Interval.js +5 -1
- package/cjs/ui/Form/Interval/Interval.module.scss +1 -35
- package/cjs/ui/Form/Interval/IntervalSlide.js +5 -1
- package/cjs/ui/Form/Period/Period.js +5 -1
- package/cjs/ui/Form/Period/Period.module.scss +1 -9
- package/cjs/ui/Form/Rating/Rating.js +5 -1
- package/cjs/ui/Form/Rating/Rating.module.scss +1 -19
- package/cjs/ui/Form/Select/Select.js +5 -1
- package/cjs/ui/Form/Select/Select.module.scss +1 -26
- package/cjs/ui/Form/Switch/Switch.js +5 -1
- package/cjs/ui/Form/Switch/Switch.module.scss +1 -69
- package/cjs/ui/Form/TextArea/TextArea.js +4 -0
- package/cjs/ui/Form/TextArea/TextArea.module.scss +1 -15
- package/cjs/ui/Form/TextField/TextField.js +5 -1
- package/cjs/ui/Form/TextField/TextField.module.scss +1 -160
- package/cjs/ui/HelperText/HelperText.js +5 -1
- package/cjs/ui/HelperText/HelperText.module.scss +1 -10
- package/cjs/ui/List/ListItem.js +5 -1
- package/cjs/ui/List/ListItem.module.scss +1 -34
- package/cjs/ui/Loader/Loader.js +5 -1
- package/cjs/ui/Loader/Loader.module.scss +1 -37
- package/cjs/ui/Logo/Logo.js +5 -1
- package/cjs/ui/Logo/Logo.module.scss +1 -29
- package/cjs/ui/Slider/RcSlider.d.ts +0 -2
- package/cjs/ui/Slider/RcSlider.js +1 -9
- package/cjs/ui/Slider/Slider.d.ts +1 -1
- package/cjs/ui/Slider/Slider.js +4 -1
- package/cjs/ui/Slider/Slider.module.scss +1 -6
- package/cjs/ui/Status/Status.js +5 -1
- package/cjs/ui/Status/Status.module.scss +1 -45
- package/cjs/ui/Stepper/StepItem.js +5 -1
- package/cjs/ui/Stepper/StepItem.module.scss +1 -67
- package/cjs/ui/Stepper/StepItemIcon.js +5 -1
- package/cjs/ui/Stepper/StepItemIcon.module.scss +1 -47
- package/cjs/ui/Stepper/Stepper.js +5 -1
- package/cjs/ui/Stepper/Stepper.module.scss +1 -34
- package/cjs/ui/Tooltip/Tooltip.js +5 -1
- package/cjs/ui/Tooltip/Tooltip.module.scss +1 -18
- package/dist/armtek-uikit-react-main.js +60 -60
- package/dist/armtek-uikit-react-main.min.js +1 -1
- package/dist/css/main.css +19 -0
- package/esm/assets/Alert.scss +37 -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/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/styles.scss +26 -1
- package/esm/index.js +15 -15
- package/esm/lib/helpers/helpers.d.ts +1 -0
- package/esm/lib/helpers/helpers.js +7 -0
- package/esm/ui/Adornment/Adornment.js +10 -5
- package/esm/ui/Adornment/Adornment.module.scss +2 -18
- package/esm/ui/Alert/Alert.js +6 -2
- package/esm/ui/Alert/Alert.module.scss +2 -38
- package/esm/ui/Avatar/Avatar.js +5 -1
- package/esm/ui/Avatar/Avatar.module.scss +1 -82
- package/esm/ui/Avatar/AvatarGroup.js +5 -1
- package/esm/ui/Avatar/AvatarGroup.module.scss +1 -48
- package/esm/ui/Badge/Badge.js +5 -1
- package/esm/ui/Badge/Badge.module.scss +1 -83
- package/esm/ui/Button/Button.d.ts +1 -1
- package/esm/ui/Button/Button.js +5 -1
- package/esm/ui/Button/Button.module.scss +2 -298
- package/esm/ui/Button/ButtonGroup.js +5 -1
- package/esm/ui/Button/ButtonIcon.js +6 -2
- package/esm/ui/Card/Card.js +5 -1
- package/esm/ui/Card/Card.module.scss +1 -7
- package/esm/ui/Chip/Chip.js +5 -1
- package/esm/ui/Chip/Chip.module.scss +1 -96
- package/esm/ui/Form/Checkbox/Checkbox.js +5 -1
- package/esm/ui/Form/Checkbox/Checkbox.module.scss +1 -297
- package/esm/ui/Form/Checkbox/Radio.js +7 -3
- package/esm/ui/Form/DateField/DateField.js +4 -5
- package/esm/ui/Form/DateField/TimeField.js +1 -1
- package/esm/ui/Form/DatePicker/DatePicker.module.scss +1 -7
- package/esm/ui/Form/DatePicker/PeriodSelect.js +1 -1
- package/esm/ui/Form/DatePicker/TimePicker.js +1 -1
- package/esm/ui/Form/Interval/Interval.js +7 -3
- package/esm/ui/Form/Interval/Interval.module.scss +1 -35
- package/esm/ui/Form/Interval/IntervalSlide.js +7 -3
- package/esm/ui/Form/Password/Password.js +2 -2
- package/esm/ui/Form/Period/Period.js +10 -6
- package/esm/ui/Form/Period/Period.module.scss +1 -9
- package/esm/ui/Form/Rating/Rating.js +5 -1
- package/esm/ui/Form/Rating/Rating.module.scss +1 -19
- package/esm/ui/Form/Select/Select.js +9 -5
- package/esm/ui/Form/Select/Select.module.scss +1 -26
- package/esm/ui/Form/Switch/Switch.js +5 -1
- package/esm/ui/Form/Switch/Switch.module.scss +1 -69
- package/esm/ui/Form/TextArea/TextArea.js +6 -2
- package/esm/ui/Form/TextArea/TextArea.module.scss +1 -15
- package/esm/ui/Form/TextField/TextField.js +6 -2
- package/esm/ui/Form/TextField/TextField.module.scss +1 -160
- package/esm/ui/HelperText/HelperText.js +5 -1
- package/esm/ui/HelperText/HelperText.module.scss +1 -10
- package/esm/ui/List/ListItem.js +7 -3
- package/esm/ui/List/ListItem.module.scss +1 -34
- package/esm/ui/Loader/Loader.js +5 -1
- package/esm/ui/Loader/Loader.module.scss +1 -37
- package/esm/ui/Logo/Logo.js +5 -1
- package/esm/ui/Logo/Logo.module.scss +1 -29
- package/esm/ui/Slider/RcSlider.d.ts +0 -2
- package/esm/ui/Slider/RcSlider.js +0 -2
- package/esm/ui/Slider/Slider.d.ts +1 -1
- package/esm/ui/Slider/Slider.js +7 -4
- package/esm/ui/Slider/Slider.module.scss +1 -6
- package/esm/ui/Status/Status.js +5 -1
- package/esm/ui/Status/Status.module.scss +1 -45
- package/esm/ui/Stepper/StepItem.js +7 -3
- package/esm/ui/Stepper/StepItem.module.scss +1 -67
- package/esm/ui/Stepper/StepItemIcon.js +5 -1
- package/esm/ui/Stepper/StepItemIcon.module.scss +1 -47
- package/esm/ui/Stepper/Stepper.js +6 -2
- package/esm/ui/Stepper/Stepper.module.scss +1 -34
- package/esm/ui/Tooltip/Tooltip.js +5 -1
- package/esm/ui/Tooltip/Tooltip.module.scss +1 -18
- package/package.json +1 -1
- package/ButtonClasses/package.json +0 -7
- package/cjs/ui/Button/Button.css +0 -3
- package/cjs/ui/Button/ButtonClasses.d.ts +0 -3
- package/cjs/ui/Button/ButtonClasses.js +0 -12
- package/cjs/ui/Form/Password/Password.module.scss +0 -2
- package/dist/css/main.e207d402.css +0 -18
- package/esm/ui/Button/Button.css +0 -3
- package/esm/ui/Button/ButtonClasses.d.ts +0 -3
- package/esm/ui/Button/ButtonClasses.js +0 -7
- package/esm/ui/Form/Password/Password.module.scss +0 -2
|
@@ -1,297 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.checkbox{
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.checkbox__input{
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
.checkbox__label{
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
text-align: left;
|
|
12
|
-
position: relative;
|
|
13
|
-
display: block;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
line-height: 1.2;
|
|
16
|
-
width:22px;
|
|
17
|
-
height: 22px;
|
|
18
|
-
& .checkbox__text{
|
|
19
|
-
display: block;
|
|
20
|
-
padding-left: 31px;
|
|
21
|
-
}
|
|
22
|
-
&:before{
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
border-radius: $radius;
|
|
26
|
-
border: 1px solid $color-gray-700;
|
|
27
|
-
background: #fff;
|
|
28
|
-
position: absolute;
|
|
29
|
-
content: '';
|
|
30
|
-
left: 0;
|
|
31
|
-
top: -3px;
|
|
32
|
-
}
|
|
33
|
-
&:after{
|
|
34
|
-
content: '';
|
|
35
|
-
position: absolute;
|
|
36
|
-
transform: rotate(45deg);
|
|
37
|
-
left: 9px;
|
|
38
|
-
top: 1px;
|
|
39
|
-
width: 5px;
|
|
40
|
-
height: 10px;
|
|
41
|
-
border-bottom: 2px solid;
|
|
42
|
-
border-right: 2px solid;
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
& span{
|
|
46
|
-
display: inline-block;
|
|
47
|
-
padding-left: 5px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.checkbox_medium{
|
|
52
|
-
width:18px;
|
|
53
|
-
height: 18px;
|
|
54
|
-
& .checkbox__text{
|
|
55
|
-
//padding-left: 27px;
|
|
56
|
-
}
|
|
57
|
-
&:after{
|
|
58
|
-
left: 7px;
|
|
59
|
-
top: 1px;
|
|
60
|
-
}
|
|
61
|
-
&:before{
|
|
62
|
-
top:-1px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
.checkbox_small{
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
width:16px;
|
|
68
|
-
height: 16px;
|
|
69
|
-
& .checkbox__text{
|
|
70
|
-
padding-left: 25px;
|
|
71
|
-
}
|
|
72
|
-
&:after{
|
|
73
|
-
left: 7px;
|
|
74
|
-
top: 1px;
|
|
75
|
-
height: 8px;
|
|
76
|
-
width: 3px;
|
|
77
|
-
}
|
|
78
|
-
&:before{
|
|
79
|
-
top: -2px;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.checkbox__label_intermediate{
|
|
83
|
-
&:after{
|
|
84
|
-
border-left: none;
|
|
85
|
-
width: 16px;
|
|
86
|
-
transform: none;
|
|
87
|
-
top: 7px;
|
|
88
|
-
height: 0;
|
|
89
|
-
left: 4px;
|
|
90
|
-
border-right: none;
|
|
91
|
-
}
|
|
92
|
-
&.checkbox_medium:after{
|
|
93
|
-
width: 12px;
|
|
94
|
-
}
|
|
95
|
-
&.checkbox_small:after{
|
|
96
|
-
width: 10px;
|
|
97
|
-
top: 6px;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.checkbox__label_intermediate,
|
|
102
|
-
.checkbox__label_checked{
|
|
103
|
-
&:before{
|
|
104
|
-
border-color: transparent;
|
|
105
|
-
background: $color-primary;
|
|
106
|
-
}
|
|
107
|
-
&:after{
|
|
108
|
-
border-color: #fff;
|
|
109
|
-
display: block;
|
|
110
|
-
}
|
|
111
|
-
&.checkbox_secondary{
|
|
112
|
-
&:before{
|
|
113
|
-
background: $color-secondary;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.checkbox_contained{
|
|
118
|
-
&.checkbox_secondary{
|
|
119
|
-
&:before{
|
|
120
|
-
background: $color-secondary;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
&.checkbox_neutral{
|
|
124
|
-
&:before{
|
|
125
|
-
background: $color-neutral;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
&.checkbox_success{
|
|
129
|
-
&:before{
|
|
130
|
-
background: $color-success;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
&.checkbox_error{
|
|
134
|
-
color: $color-error-dark;
|
|
135
|
-
&:before{
|
|
136
|
-
background: $color-error-dark;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
&.checkbox_warning{
|
|
140
|
-
&:before{
|
|
141
|
-
background: $color-warning;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
.checkbox_outlined{
|
|
147
|
-
&:before{
|
|
148
|
-
background: transparent;
|
|
149
|
-
border-color: $color-primary;
|
|
150
|
-
}
|
|
151
|
-
&:after{
|
|
152
|
-
border-color: $color-primary;
|
|
153
|
-
}
|
|
154
|
-
&.checkbox_secondary{
|
|
155
|
-
&:before{
|
|
156
|
-
border-color: $color-secondary;
|
|
157
|
-
}
|
|
158
|
-
&:after{
|
|
159
|
-
border-color: $color-secondary;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
&.checkbox_neutral{
|
|
163
|
-
&:before{
|
|
164
|
-
border-color: $color-neutral;
|
|
165
|
-
}
|
|
166
|
-
&:after{
|
|
167
|
-
border-color: $color-neutral;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
&.checkbox_success{
|
|
171
|
-
&:before{
|
|
172
|
-
border-color: $color-success;
|
|
173
|
-
}
|
|
174
|
-
&:after{
|
|
175
|
-
border-color: $color-success;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
&.checkbox_error{
|
|
179
|
-
color: $color-error-dark;
|
|
180
|
-
&:before{
|
|
181
|
-
border-color: $color-error-dark;
|
|
182
|
-
}
|
|
183
|
-
&:after{
|
|
184
|
-
border-color: $color-error-dark;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
&.checkbox_warning{
|
|
188
|
-
&:before{
|
|
189
|
-
border-color: $color-warning;
|
|
190
|
-
}
|
|
191
|
-
&:after{
|
|
192
|
-
border-color: $color-warning;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.checkbox__label_disabled{
|
|
198
|
-
color: $color-gray-500 !important;
|
|
199
|
-
pointer-events: none;
|
|
200
|
-
&:before{
|
|
201
|
-
background-color: $color-gray-400;
|
|
202
|
-
}
|
|
203
|
-
&:after{
|
|
204
|
-
border-color: $color-gray-200;
|
|
205
|
-
}
|
|
206
|
-
&.checkbox_outlined{
|
|
207
|
-
&:before{
|
|
208
|
-
background-color: transparent;
|
|
209
|
-
border-color: $color-gray-200;
|
|
210
|
-
}
|
|
211
|
-
&:after{
|
|
212
|
-
border-color: $color-gray-200;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.radio{
|
|
218
|
-
& .checkbox__label{
|
|
219
|
-
&:before{
|
|
220
|
-
border-radius: 50%;
|
|
221
|
-
}
|
|
222
|
-
&:after{
|
|
223
|
-
border: none;
|
|
224
|
-
border-radius: 50%;
|
|
225
|
-
background: $color-primary;
|
|
226
|
-
width: 12px;
|
|
227
|
-
height: 12px;
|
|
228
|
-
margin-top: -2px;
|
|
229
|
-
margin-left: 1px;
|
|
230
|
-
top:50%;
|
|
231
|
-
left:50%;
|
|
232
|
-
transform: translate(-50%, -50%);
|
|
233
|
-
}
|
|
234
|
-
&.checkbox_medium{
|
|
235
|
-
&:after{
|
|
236
|
-
width: 8px;
|
|
237
|
-
height: 8px;
|
|
238
|
-
margin-top: 0;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
&.checkbox_small{
|
|
242
|
-
&:after{
|
|
243
|
-
width: 6px;
|
|
244
|
-
height: 6px;
|
|
245
|
-
margin-top: -1px;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
&.checkbox_error:before{
|
|
249
|
-
border-color: $color-error-dark;
|
|
250
|
-
}
|
|
251
|
-
&.checkbox_secondary:before{
|
|
252
|
-
border-color: $color-secondary;
|
|
253
|
-
}
|
|
254
|
-
&.checkbox_success:before{
|
|
255
|
-
border-color: $color-success;
|
|
256
|
-
}
|
|
257
|
-
&.checkbox_warning:before{
|
|
258
|
-
border-color: $color-warning;
|
|
259
|
-
}
|
|
260
|
-
&.checkbox_neutral:before{
|
|
261
|
-
border-color: $color-neutral;
|
|
262
|
-
}
|
|
263
|
-
&.checkbox_error:after{
|
|
264
|
-
background: $color-error-dark;
|
|
265
|
-
}
|
|
266
|
-
&.checkbox_secondary:after{
|
|
267
|
-
background: $color-secondary;
|
|
268
|
-
}
|
|
269
|
-
&.checkbox_success:after{
|
|
270
|
-
background: $color-success;
|
|
271
|
-
}
|
|
272
|
-
&.checkbox_warning:after{
|
|
273
|
-
background: $color-warning;
|
|
274
|
-
}
|
|
275
|
-
&.checkbox_neutral:after{
|
|
276
|
-
background: $color-neutral;
|
|
277
|
-
}
|
|
278
|
-
&_disabled:after{
|
|
279
|
-
background: $color-gray-200 !important;
|
|
280
|
-
}
|
|
281
|
-
&.checkbox_contained:after{
|
|
282
|
-
background: #fff;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&.checkbox__label_disabled:before{
|
|
286
|
-
background: transparent !important;
|
|
287
|
-
border-color: $color-gray-400;
|
|
288
|
-
}
|
|
289
|
-
&_checked{
|
|
290
|
-
&.checkbox__label_disabled:before{
|
|
291
|
-
background: #B1BCC6 !important;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
297
|
-
}
|
|
1
|
+
@import "../../../assets/Checkbox";
|
|
@@ -4,14 +4,18 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
6
|
var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
7
|
-
var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
|
|
8
7
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
|
+
var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
const CssClasses = ['radio'];
|
|
11
|
+
|
|
12
|
+
// const css = getCssPrefix(CssClasses)
|
|
13
|
+
|
|
10
14
|
const Radio = props => {
|
|
11
15
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
12
16
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
|
|
13
17
|
...props,
|
|
14
|
-
className: (0, _clsx.default)(props.className, _CheckboxModule.default.radio
|
|
18
|
+
className: (0, _clsx.default)(props.className, _CheckboxModule.default.radio),
|
|
15
19
|
type: 'radio'
|
|
16
20
|
})
|
|
17
21
|
});
|
|
@@ -17,7 +17,6 @@ const DateInput = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
|
17
17
|
...restProps
|
|
18
18
|
} = props;
|
|
19
19
|
let inputIcon = showTime && showTimeOnly ? 'schedule' : 'calendar_today';
|
|
20
|
-
console.log(restProps);
|
|
21
20
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextField.default, {
|
|
22
21
|
ref: ref,
|
|
23
22
|
...restProps,
|
|
@@ -5,10 +5,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var _IntervalModule = _interopRequireDefault(require("./Interval.module.scss"));
|
|
9
8
|
var _TextField = require("../TextField/TextField");
|
|
10
9
|
var _HelperText = _interopRequireDefault(require("../../HelperText/HelperText"));
|
|
10
|
+
var _IntervalModule = _interopRequireDefault(require("./Interval.module.scss"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
const CssClasses = ['interval', 'interval__end', 'interval__item', 'interval__helperText', 'intervalslide__slider'];
|
|
13
|
+
|
|
14
|
+
// const css = getCssPrefix(CssClasses)
|
|
15
|
+
|
|
12
16
|
const Interval = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
13
17
|
let {
|
|
14
18
|
value,
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.interval{
|
|
4
|
-
@include flex();
|
|
5
|
-
width: 100%;
|
|
6
|
-
& input{
|
|
7
|
-
-moz-appearance: textfield;
|
|
8
|
-
&::-webkit-outer-spin-button,
|
|
9
|
-
&::-webkit-inner-spin-button {
|
|
10
|
-
-webkit-appearance: none;
|
|
11
|
-
margin: 0;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
.interval__end{
|
|
16
|
-
text-align: right;
|
|
17
|
-
& + span{
|
|
18
|
-
text-align: right;
|
|
19
|
-
padding-left: 0;
|
|
20
|
-
padding-right: 12px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.interval__item{
|
|
24
|
-
max-width: 50%;
|
|
25
|
-
flex: 0 0 50%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.interval__helperText{
|
|
29
|
-
margin-top: calc($size-step / 2);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.intervalslide__slider{
|
|
33
|
-
padding: 0 calc($size-step * 2);
|
|
34
|
-
margin-top: -7px;
|
|
35
|
-
}
|
|
1
|
+
@import "../../../assets/Interval";
|
|
@@ -5,10 +5,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _Interval = _interopRequireDefault(require("./Interval"));
|
|
8
|
-
var _IntervalModule = _interopRequireDefault(require("./Interval.module.scss"));
|
|
9
8
|
var _react = require("react");
|
|
10
9
|
var _Slider = _interopRequireDefault(require("../../Slider/Slider"));
|
|
10
|
+
var _IntervalModule = _interopRequireDefault(require("./Interval.module.scss"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
const CssClasses = ['intervalslide__slider'];
|
|
13
|
+
|
|
14
|
+
// const css = getCssPrefix(CssClasses)
|
|
15
|
+
|
|
12
16
|
const IntervalSlide = props => {
|
|
13
17
|
let {
|
|
14
18
|
onChange,
|
|
@@ -6,12 +6,16 @@ exports.__esModule = true;
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _TextField = _interopRequireDefault(require("../TextField/TextField"));
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var _PeriodModule = _interopRequireDefault(require("./Period.module.scss"));
|
|
10
9
|
var _ButtonIcon = _interopRequireDefault(require("../../Button/ButtonIcon"));
|
|
11
10
|
var _Card = _interopRequireDefault(require("../../Card/Card"));
|
|
12
11
|
var _DatePicker = _interopRequireDefault(require("../DatePicker/DatePicker"));
|
|
13
12
|
var _DateService = require("../../../lib/services/DateService");
|
|
13
|
+
var _PeriodModule = _interopRequireDefault(require("./Period.module.scss"));
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
const CssClasses = ['dateField', 'dateField__picker'];
|
|
16
|
+
|
|
17
|
+
// const css = getCssPrefix(CssClasses)
|
|
18
|
+
|
|
15
19
|
const Period = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
16
20
|
let {
|
|
17
21
|
onChange,
|
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
exports.__esModule = true;
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _RatingModule = _interopRequireDefault(require("./Rating.module.scss"));
|
|
8
7
|
var _react = require("react");
|
|
9
8
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
9
|
+
var _RatingModule = _interopRequireDefault(require("./Rating.module.scss"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const CssClasses = ['rating', 'rating__item', 'rating_medium', 'rating_small', 'rating__item_disabled'];
|
|
12
|
+
|
|
13
|
+
// const css = getCssPrefix(CssClasses)
|
|
14
|
+
|
|
11
15
|
const Rating = props => {
|
|
12
16
|
let {
|
|
13
17
|
size = 'large',
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.rating{
|
|
4
|
-
@include flex();
|
|
5
|
-
}
|
|
6
|
-
.rating__item{
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
color: #F7B519;
|
|
9
|
-
font-size: 30px;
|
|
10
|
-
}
|
|
11
|
-
.rating_medium{
|
|
12
|
-
font-size: 24px;
|
|
13
|
-
}
|
|
14
|
-
.rating_small{
|
|
15
|
-
font-size: 18px;
|
|
16
|
-
}
|
|
17
|
-
.rating__item_disabled{
|
|
18
|
-
color: $color-gray-400;
|
|
19
|
-
}
|
|
1
|
+
@import "../../../assets/Rating";
|
|
@@ -6,12 +6,16 @@ exports.__esModule = true;
|
|
|
6
6
|
exports.getOptionValue = exports.default = void 0;
|
|
7
7
|
var _TextField = _interopRequireDefault(require("../TextField/TextField"));
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var _SelectModule = _interopRequireDefault(require("./Select.module.scss"));
|
|
10
9
|
var _ButtonIcon = _interopRequireDefault(require("../../Button/ButtonIcon"));
|
|
11
10
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
12
11
|
var _ListItem = _interopRequireDefault(require("../../List/ListItem"));
|
|
13
12
|
var _useClickOutside = _interopRequireDefault(require("../../../lib/hooks/useClickOutside"));
|
|
13
|
+
var _SelectModule = _interopRequireDefault(require("./Select.module.scss"));
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
const CssClasses = ['select', 'select__input_wrapper', 'select__input', 'options', 'options_inline'];
|
|
16
|
+
|
|
17
|
+
// const css = getCssPrefix(CssClasses)
|
|
18
|
+
|
|
15
19
|
const getOptionValue = option => option.value || option.text;
|
|
16
20
|
exports.getOptionValue = getOptionValue;
|
|
17
21
|
function Select(props) {
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.select{
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.select__input_wrapper{
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
.select__input{
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
& * {
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
.options{
|
|
16
|
-
padding: $size-step 0;
|
|
17
|
-
border-radius: $radius;
|
|
18
|
-
box-shadow: $box-shadow;
|
|
19
|
-
position: absolute;
|
|
20
|
-
left:0;
|
|
21
|
-
top:100%;
|
|
22
|
-
width:100%;
|
|
23
|
-
}
|
|
24
|
-
.options_inline{
|
|
25
|
-
position: static;
|
|
26
|
-
}
|
|
1
|
+
@import "../../../assets/Select";
|
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports.default = void 0;
|
|
6
|
-
var _SwitchModule = _interopRequireDefault(require("./Switch.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _SwitchModule = _interopRequireDefault(require("./Switch.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['switch', 'switch__input', 'switch__slider', 'switch_small'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const Switch = props => {
|
|
10
14
|
let {
|
|
11
15
|
onChange,
|
|
@@ -1,69 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.switch {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: inline-block;
|
|
7
|
-
width: 34px;
|
|
8
|
-
height: 14px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.switch__input {
|
|
13
|
-
opacity: 0;
|
|
14
|
-
width: 0;
|
|
15
|
-
height: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* The slider */
|
|
19
|
-
.switch__slider {
|
|
20
|
-
position: absolute;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
top: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
right: 0;
|
|
25
|
-
bottom: 0;
|
|
26
|
-
background-color: $color-neutral-light;
|
|
27
|
-
-webkit-transition: .4s;
|
|
28
|
-
transition: .4s;
|
|
29
|
-
border-radius: 7px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.switch__slider:before {
|
|
33
|
-
position: absolute;
|
|
34
|
-
content: "";
|
|
35
|
-
height: 20px;
|
|
36
|
-
width: 20px;
|
|
37
|
-
left: -3px;
|
|
38
|
-
bottom: -3px;
|
|
39
|
-
background-color: white;
|
|
40
|
-
-webkit-transition: .4s;
|
|
41
|
-
transition: .4s;
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
box-shadow: $box-shadow;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.switch__input:checked + .switch__slider {
|
|
47
|
-
background-color: $color-orange-400;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.switch__input:checked + .switch__slider:before {
|
|
51
|
-
-webkit-transform: translateX(22px);
|
|
52
|
-
-ms-transform: translateX(22px);
|
|
53
|
-
transform: translateX(22px);
|
|
54
|
-
background: $color-secondary;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.switch_small{
|
|
58
|
-
width: 26px;
|
|
59
|
-
height: 10px;
|
|
60
|
-
& .switch__slider:before{
|
|
61
|
-
width: 16px;
|
|
62
|
-
height: 16px;
|
|
63
|
-
}
|
|
64
|
-
& .switch__input:checked + .switch__slider:before {
|
|
65
|
-
-webkit-transform: translateX(20px);
|
|
66
|
-
-ms-transform: translateX(20px);
|
|
67
|
-
transform: translateX(18px);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
1
|
+
@import "../../../assets/Switch";
|
|
@@ -9,6 +9,10 @@ var _react = require("react");
|
|
|
9
9
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
10
10
|
var _TextAreaModule = _interopRequireDefault(require("./TextArea.module.scss"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
const CssClasses = ['textarea', 'size_small'];
|
|
13
|
+
|
|
14
|
+
// const css = getCssPrefix(CssClasses)
|
|
15
|
+
|
|
12
16
|
const TextArea = props => {
|
|
13
17
|
var _textareaRef$current, _textareaRef$current2;
|
|
14
18
|
let {
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
@import "../../../assets/
|
|
2
|
-
|
|
3
|
-
.textarea{
|
|
4
|
-
font-family: $font-family;
|
|
5
|
-
height: auto;
|
|
6
|
-
min-height: $size-elarge;
|
|
7
|
-
&.size_small{
|
|
8
|
-
height: auto;
|
|
9
|
-
min-height: $size-large;
|
|
10
|
-
}
|
|
11
|
-
& textarea{
|
|
12
|
-
resize: none;
|
|
13
|
-
appearance: none;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
@import "../../../assets/TextArea";
|
|
@@ -5,10 +5,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
exports.__esModule = true;
|
|
6
6
|
exports.default = exports.TextFieldInput = exports.TextFieldContainer = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var _TextFieldModule = _interopRequireDefault(require("./TextField.module.scss"));
|
|
9
8
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
10
9
|
var _HelperText = _interopRequireDefault(require("../../HelperText/HelperText"));
|
|
10
|
+
var _TextFieldModule = _interopRequireDefault(require("./TextField.module.scss"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
const CssClasses = ['textfield__container_outlined', 'textfield__container', 'textfield', 'textfield_outlined', '_focused', '_disabled', '_error', '_label', 'textfield__label_focused', 'textfield__label_small', 'textfield__label_error', 'textfield__label', 'textfield__input', 'textfield__input_outlined', 'size_small', 'textfield__adornment', 'textfield__helperText', 'textfield__icon'];
|
|
13
|
+
|
|
14
|
+
// const css = getCssPrefix(CssClasses)
|
|
15
|
+
|
|
12
16
|
const TextField = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
13
17
|
let {
|
|
14
18
|
error,
|