@brandup/ui-kit 1.0.23 → 1.0.25
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/package.json +2 -2
- package/source/inputs.less +19 -13
package/package.json
CHANGED
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
|
-
"version": "1.0.
|
|
25
|
+
"version": "1.0.25",
|
|
26
26
|
"main": "source/index.ts",
|
|
27
27
|
"types": "source/index.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@brandup/ui-app": "^1.0.
|
|
29
|
+
"@brandup/ui-app": "^1.0.41"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"source",
|
package/source/inputs.less
CHANGED
|
@@ -161,6 +161,12 @@ input[type=file] {
|
|
|
161
161
|
font-weight: var(--font-weight);
|
|
162
162
|
font-size: var(--font-size);
|
|
163
163
|
}
|
|
164
|
+
|
|
165
|
+
// нужно отключить пользовательские события, так как атрибут readonly не влияет на input file
|
|
166
|
+
&[readonly] {
|
|
167
|
+
pointer-events: none;
|
|
168
|
+
touch-action: none;
|
|
169
|
+
}
|
|
164
170
|
}
|
|
165
171
|
|
|
166
172
|
select {
|
|
@@ -250,18 +256,18 @@ input[type=checkbox] {
|
|
|
250
256
|
}
|
|
251
257
|
}
|
|
252
258
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
&.hasvalue {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
// состояние при открытии выпадашки
|
|
259
|
+
.ui-input {
|
|
260
|
+
// состояние для выбранного значения
|
|
261
|
+
&.hasvalue {
|
|
262
|
+
background: var(--hasvalue--input-fill);
|
|
263
|
+
color: var(--hasvalue--input-color);
|
|
264
|
+
border-radius: var(--input-border-radius);
|
|
265
|
+
}
|
|
262
266
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
+
// состояние при открытии выпадашки
|
|
268
|
+
&.expanded {
|
|
269
|
+
background: var(--expanded--input-fill);
|
|
270
|
+
color: var(--expanded--input-color);
|
|
271
|
+
border-radius: var(--input-border-radius);
|
|
272
|
+
}
|
|
267
273
|
}
|