armtek-uikit-react 1.0.11 → 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/styles/package.json +7 -0
- package/theme/package.json +0 -2
- package/Button.classes/package.json +0 -7
- package/cjs/ui/Button/Button.classes.d.ts +0 -3
- package/cjs/ui/Button/Button.classes.js +0 -12
- package/cjs/ui/Button/Button.css +0 -3
- package/cjs/ui/Form/Password/Password.module.scss +0 -2
- package/dist/css/main.e207d402.css +0 -18
- package/esm/ui/Button/Button.classes.d.ts +0 -3
- package/esm/ui/Button/Button.classes.js +0 -7
- package/esm/ui/Button/Button.css +0 -3
- package/esm/ui/Form/Password/Password.module.scss +0 -2
- /package/cjs/lib/const/{theme.d.ts → styles.d.ts} +0 -0
- /package/cjs/lib/const/{theme.js → styles.js} +0 -0
- /package/esm/lib/const/{theme.d.ts → styles.d.ts} +0 -0
- /package/esm/lib/const/{theme.js → styles.js} +0 -0
|
@@ -1,298 +1,2 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
|
|
3
|
-
.button{
|
|
4
|
-
outline: none;
|
|
5
|
-
border:1px solid transparent;
|
|
6
|
-
border-radius: $radius;
|
|
7
|
-
text-transform: uppercase;
|
|
8
|
-
padding: $size-step calc(3 * $size-step);
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
@include transition(0.3s);
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
height: $size-elarge;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
&:disabled{
|
|
18
|
-
cursor: initial;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.button_contained {
|
|
22
|
-
&.button_primary{
|
|
23
|
-
color: #fff;
|
|
24
|
-
background: $color-primary;
|
|
25
|
-
&:hover{
|
|
26
|
-
background: $color-primary-dark;
|
|
27
|
-
}
|
|
28
|
-
&:active{
|
|
29
|
-
background: $color-blue-800;
|
|
30
|
-
}
|
|
31
|
-
&:disabled{
|
|
32
|
-
background: $color-primary-light;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
&.button_secondary {
|
|
36
|
-
background: $color-secondary;
|
|
37
|
-
color: #fff;
|
|
38
|
-
&:hover{
|
|
39
|
-
background: $color-secondary-dark;
|
|
40
|
-
}
|
|
41
|
-
&:active{
|
|
42
|
-
background: $color-orange-800;
|
|
43
|
-
}
|
|
44
|
-
&:disabled{
|
|
45
|
-
background: $color-secondary-light;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
&.button_neutral {
|
|
49
|
-
background: $color-neutral;
|
|
50
|
-
&:hover{
|
|
51
|
-
background: $color-neutral-dark;
|
|
52
|
-
}
|
|
53
|
-
&:active{
|
|
54
|
-
background: $color-gray-600;
|
|
55
|
-
}
|
|
56
|
-
&:disabled{
|
|
57
|
-
background: $color-secondary-light;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
&.button_black {
|
|
61
|
-
background: $color-gray-900;
|
|
62
|
-
&:hover{
|
|
63
|
-
background: $color-neutral-dark;
|
|
64
|
-
}
|
|
65
|
-
&:active{
|
|
66
|
-
background: $color-gray-600;
|
|
67
|
-
}
|
|
68
|
-
&:disabled{
|
|
69
|
-
background: $color-secondary-light;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.button_outlined {
|
|
74
|
-
background: transparent;
|
|
75
|
-
&.button_primary{
|
|
76
|
-
|
|
77
|
-
color: $color-primary;
|
|
78
|
-
border-color: $color-primary;
|
|
79
|
-
background: transparent;
|
|
80
|
-
&:hover{
|
|
81
|
-
background: rgba($color-primary, 0.1);
|
|
82
|
-
}
|
|
83
|
-
&:active{
|
|
84
|
-
background: $color-blue-A100;
|
|
85
|
-
}
|
|
86
|
-
&:disabled{
|
|
87
|
-
color: $color-primary-light;
|
|
88
|
-
border-color: $color-primary-light;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
&.button_secondary {
|
|
92
|
-
border-color: $color-secondary;
|
|
93
|
-
color: $color-secondary;
|
|
94
|
-
&:hover{
|
|
95
|
-
background: rgba($color-secondary, 0.1);
|
|
96
|
-
}
|
|
97
|
-
&:active{
|
|
98
|
-
background: $color-orange-100;
|
|
99
|
-
}
|
|
100
|
-
&:disabled{
|
|
101
|
-
color: $color-primary-light;
|
|
102
|
-
border-color: $color-primary-light;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
&.button_neutral,
|
|
106
|
-
&.button_black {
|
|
107
|
-
border-color: $color-gray-900;
|
|
108
|
-
color: $color-gray-900;
|
|
109
|
-
&:hover{
|
|
110
|
-
background: rgba($color-neutral, 0.1);
|
|
111
|
-
}
|
|
112
|
-
&:active{
|
|
113
|
-
background: $color-gray-300;
|
|
114
|
-
}
|
|
115
|
-
&:disabled{
|
|
116
|
-
color: $color-neutral-light;
|
|
117
|
-
border-color: $color-neutral-light;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
.button_transparent {
|
|
122
|
-
background: transparent;
|
|
123
|
-
&.button_primary{
|
|
124
|
-
color: $color-primary;
|
|
125
|
-
background: transparent;
|
|
126
|
-
&:hover{
|
|
127
|
-
background: rgba($color-primary, 0.1);
|
|
128
|
-
}
|
|
129
|
-
&:active{
|
|
130
|
-
background: $color-blue-A100;
|
|
131
|
-
}
|
|
132
|
-
&:disabled{
|
|
133
|
-
color: $color-primary-light;
|
|
134
|
-
background: none;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
&.button_secondary {
|
|
138
|
-
color: $color-secondary;
|
|
139
|
-
&:hover{
|
|
140
|
-
background: rgba($color-secondary, 0.1);
|
|
141
|
-
}
|
|
142
|
-
&:active{
|
|
143
|
-
background: $color-orange-100;
|
|
144
|
-
}
|
|
145
|
-
&:disabled{
|
|
146
|
-
color: $color-primary-light;
|
|
147
|
-
background: none;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
&.button_neutral,
|
|
151
|
-
&.button_black {
|
|
152
|
-
color: $color-gray-900;
|
|
153
|
-
&:hover{
|
|
154
|
-
background: rgba($color-neutral, 0.1);
|
|
155
|
-
}
|
|
156
|
-
&:active{
|
|
157
|
-
background: $color-gray-300;
|
|
158
|
-
}
|
|
159
|
-
&:disabled{
|
|
160
|
-
color: $color-neutral-light;
|
|
161
|
-
background: none;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.button__adornment{
|
|
167
|
-
font-size: inherit;
|
|
168
|
-
}
|
|
169
|
-
.button__adornment_end{
|
|
170
|
-
margin-left: $size-step;
|
|
171
|
-
}
|
|
172
|
-
.button__adornment_start{
|
|
173
|
-
margin-right: $size-step;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.button_large{
|
|
177
|
-
height: $size-large;
|
|
178
|
-
font-size: 15px;
|
|
179
|
-
}
|
|
180
|
-
.button_medium{
|
|
181
|
-
height: $size-medium;
|
|
182
|
-
font-size: 14px;
|
|
183
|
-
}
|
|
184
|
-
.button_small{
|
|
185
|
-
height: $size-small;
|
|
186
|
-
font-size: 13px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.button_icon{
|
|
190
|
-
padding: $size-step;
|
|
191
|
-
width: $size-elarge;
|
|
192
|
-
border-radius: 50%;
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
justify-content: center;
|
|
196
|
-
font-size: 30px;
|
|
197
|
-
&.button_large{
|
|
198
|
-
width: $size-large;
|
|
199
|
-
font-size: 24px;
|
|
200
|
-
}
|
|
201
|
-
&.button_medium{
|
|
202
|
-
width: $size-medium;
|
|
203
|
-
font-size: 20px;
|
|
204
|
-
}
|
|
205
|
-
&.button_small{
|
|
206
|
-
width: $size-small;
|
|
207
|
-
padding: calc($size-step / 2);
|
|
208
|
-
font-size: 16px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.button_group{
|
|
213
|
-
display: flex;
|
|
214
|
-
align-items: center;
|
|
215
|
-
}
|
|
216
|
-
.button_group_inline{
|
|
217
|
-
flex-direction: row;
|
|
218
|
-
}
|
|
219
|
-
.button_group_column{
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.button_grouped_inline{
|
|
224
|
-
border-radius: 0;
|
|
225
|
-
&:first-child{
|
|
226
|
-
border-top-left-radius: $radius;
|
|
227
|
-
border-bottom-left-radius: $radius;
|
|
228
|
-
}
|
|
229
|
-
&:last-child{
|
|
230
|
-
border-top-right-radius: $radius;
|
|
231
|
-
border-bottom-right-radius: $radius;
|
|
232
|
-
}
|
|
233
|
-
&.button_contained{
|
|
234
|
-
&.button_primary + *{
|
|
235
|
-
border-left-color: $color-info-dark;
|
|
236
|
-
}
|
|
237
|
-
&.button_secondary + *{
|
|
238
|
-
border-left-color: $color-primary-dark;
|
|
239
|
-
}
|
|
240
|
-
&.button_neutral + *{
|
|
241
|
-
border-left-color: $color-neutral-dark;
|
|
242
|
-
}
|
|
243
|
-
&.button_black + *{
|
|
244
|
-
border-left-color: $color-neutral-dark;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
&.button_outlined{
|
|
248
|
-
&.button_primary + *{
|
|
249
|
-
border-left-color: $color-info-dark;
|
|
250
|
-
}
|
|
251
|
-
&.button_primary:not(:last-child){
|
|
252
|
-
border-right: 0;
|
|
253
|
-
}
|
|
254
|
-
&.button_secondary + *{
|
|
255
|
-
border-left-color: $color-secondary;
|
|
256
|
-
}
|
|
257
|
-
&.button_secondary:not(:last-child){
|
|
258
|
-
border-right: 0;
|
|
259
|
-
}
|
|
260
|
-
&.button_neutral + *{
|
|
261
|
-
border-left-color: $color-neutral;
|
|
262
|
-
}
|
|
263
|
-
&.button_neutral:not(:last-child){
|
|
264
|
-
border-right: 0;
|
|
265
|
-
}
|
|
266
|
-
&.button_black + *{
|
|
267
|
-
border-left-color: $color-neutral;
|
|
268
|
-
}
|
|
269
|
-
&.button_black:not(:last-child){
|
|
270
|
-
border-right: 0;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
&.button_transparent{
|
|
274
|
-
&.button_primary + *{
|
|
275
|
-
border-left-color: $color-gray-200;
|
|
276
|
-
}
|
|
277
|
-
&.button_secondary + *{
|
|
278
|
-
border-left-color: $color-gray-200;
|
|
279
|
-
}
|
|
280
|
-
&.button_neutral + *{
|
|
281
|
-
border-left-color: $color-gray-200;
|
|
282
|
-
}
|
|
283
|
-
&.button_black + *{
|
|
284
|
-
border-left-color: $color-gray-200;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
.button_grouped_column{
|
|
289
|
-
border-radius: 0;
|
|
290
|
-
&:first-child{
|
|
291
|
-
border-top-left-radius: $radius;
|
|
292
|
-
border-top-right-radius: $radius;
|
|
293
|
-
}
|
|
294
|
-
&:last-child{
|
|
295
|
-
border-bottom-left-radius: $radius;
|
|
296
|
-
border-bottom-right-radius: $radius;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
1
|
+
@import "./../../assets/variables";
|
|
2
|
+
@import "./../../assets/Button";
|
|
@@ -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 _ButtonModule = _interopRequireDefault(require("./Button.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _ButtonModule = _interopRequireDefault(require("./Button.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const ButtonGroupClasses = ['button_group', 'button_group_inline', 'button_group_column'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(ButtonGroupClasses)
|
|
12
|
+
|
|
9
13
|
const ButtonGroup = props => {
|
|
10
14
|
let {
|
|
11
15
|
orientation = 'inline',
|
|
@@ -7,6 +7,10 @@ var _Button = _interopRequireDefault(require("./Button"));
|
|
|
7
7
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
8
8
|
var _ButtonModule = _interopRequireDefault(require("./Button.module.scss"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
const ButtonIconClasses = ['button_icon'];
|
|
11
|
+
|
|
12
|
+
// const css = getCssPrefix(ButtonIconClasses)
|
|
13
|
+
|
|
10
14
|
const ButtonIcon = props => {
|
|
11
15
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
12
16
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
package/cjs/ui/Card/Card.js
CHANGED
|
@@ -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 _CardModule = _interopRequireDefault(require("./Card.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _CardModule = _interopRequireDefault(require("./Card.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['card'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
const Card = props => {
|
|
10
14
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
11
15
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
package/cjs/ui/Chip/Chip.js
CHANGED
|
@@ -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 _ChipModule = _interopRequireDefault(require("./Chip.module.scss"));
|
|
7
6
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
7
|
+
var _ChipModule = _interopRequireDefault(require("./Chip.module.scss"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const CssClasses = ['chip', 'chip__inner', 'chip__icon', 'chip__close', 'chip__close_primary', 'chip__close_secondary', 'chip_small', 'chip__icon_small', 'chip__close_small', 'chip_outlined', 'chip_secondary', 'chip_primary'];
|
|
10
|
+
|
|
11
|
+
// const css = getCssPrefix(CssClasses)
|
|
12
|
+
|
|
9
13
|
function Chip(props) {
|
|
10
14
|
let {
|
|
11
15
|
size,
|
|
@@ -1,96 +1 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
|
|
3
|
-
.chip{
|
|
4
|
-
background: $color-gray-200;
|
|
5
|
-
padding: calc($size-step / 1.5) calc($size-step * 1.5);
|
|
6
|
-
border-radius: 20px;
|
|
7
|
-
font-size: 13px;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.chip__inner{
|
|
12
|
-
@include flex(center)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.chip__icon{
|
|
16
|
-
display: inline-block;
|
|
17
|
-
margin-right: $size-step;
|
|
18
|
-
margin-left: -$size-step;
|
|
19
|
-
font-size: 22px;
|
|
20
|
-
@include flex();
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
}
|
|
23
|
-
.chip__close{
|
|
24
|
-
margin-left: $size-step;
|
|
25
|
-
margin-right: -$size-step;
|
|
26
|
-
padding: 0;
|
|
27
|
-
font-size: 20px;
|
|
28
|
-
color: $color-gray-500;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
&:hover{
|
|
31
|
-
@include transition();
|
|
32
|
-
color: $color-gray-600;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.chip__close_primary,
|
|
37
|
-
.chip__close_secondary{
|
|
38
|
-
color: #fff;
|
|
39
|
-
&:hover{
|
|
40
|
-
color: #fff;
|
|
41
|
-
opacity: 0.6;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.chip_small{
|
|
46
|
-
padding: 4px $size-step;
|
|
47
|
-
}
|
|
48
|
-
.chip__icon_small{
|
|
49
|
-
font-size: 18px;
|
|
50
|
-
margin-left: 0;
|
|
51
|
-
}
|
|
52
|
-
.chip__close_small{
|
|
53
|
-
font-size: 15px;
|
|
54
|
-
margin-right: -2px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.chip_outlined{
|
|
58
|
-
background: transparent;
|
|
59
|
-
border: 1px solid $color-gray-400;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
a.chip,
|
|
63
|
-
button.chip{
|
|
64
|
-
&:hover{
|
|
65
|
-
background: $color-gray-300;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
a.chip_outlined,
|
|
69
|
-
button.chip_outlined{
|
|
70
|
-
&:hover{
|
|
71
|
-
background: rgba($color-neutral, 0.1);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.chip_secondary{
|
|
76
|
-
color: #fff;
|
|
77
|
-
background-color: $color-secondary;
|
|
78
|
-
}
|
|
79
|
-
a.chip_secondary,
|
|
80
|
-
button.chip_secondary{
|
|
81
|
-
&:hover{
|
|
82
|
-
background-color: $color-secondary-dark;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.chip_primary{
|
|
87
|
-
color: #fff;
|
|
88
|
-
background-color: $color-primary;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
a.chip_primary,
|
|
92
|
-
button.chip_primary{
|
|
93
|
-
&:hover{
|
|
94
|
-
background-color: $color-primary-dark;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
@import "./../../assets/Chip";
|
|
@@ -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 _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
|
|
8
7
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
9
8
|
var _react = require("react");
|
|
9
|
+
var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.scss"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const CssClasses = ['checkbox', 'checkbox__input', 'checkbox__label', 'checkbox__text', 'checkbox_disabled', 'checkbox_medium', 'checkbox_small', 'checkbox__label_intermediate', 'checkbox__label_checked', 'checkbox__label_disabled', 'checkbox_contained', 'checkbox_outlined', 'checkbox_primary', 'checkbox_secondary', 'checkbox_neutral', 'checkbox_success', 'checkbox_error', 'checkbox_warning', 'radio'];
|
|
12
|
+
|
|
13
|
+
// const css = getCssPrefix(CssClasses)
|
|
14
|
+
|
|
11
15
|
const Checkbox = props => {
|
|
12
16
|
let {
|
|
13
17
|
label,
|