@eui/styles 16.2.12-snapshot-1708398719797 → 16.2.12
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
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
// TODO: this mixin should not be used an element that is not input.
|
|
1
2
|
// eUI Inputs Layout & states commons
|
|
2
3
|
// Used for: eui-input-text, eui-input-number, eui-select, eui-textarea, eui-datepicker, eui-autocomplete
|
|
3
|
-
@mixin eui-input() {
|
|
4
|
+
@mixin eui-input($element: input) {
|
|
4
5
|
@include eui-font(m, ui);
|
|
5
6
|
appearance: none;
|
|
6
7
|
background-color: v(eui-base-color-white);
|
|
@@ -39,7 +40,11 @@
|
|
|
39
40
|
background-color: v(eui-base-color-grey-5) !important;
|
|
40
41
|
border: 1px solid v(eui-base-color-grey-25) !important;
|
|
41
42
|
color: v(eui-base-color-grey-75);
|
|
42
|
-
|
|
43
|
+
@if $element == textarea {
|
|
44
|
+
pointer-events: auto;
|
|
45
|
+
} @else {
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
}
|
|
43
48
|
}
|
|
44
49
|
|
|
45
50
|
&--invalid,
|