@linzjs/lui 17.44.0 → 17.45.0
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/CHANGELOG.md +7 -0
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +1 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/lui.css +20 -8
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +5 -2
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +29 -7
- package/package.json +1 -1
|
@@ -53,10 +53,7 @@
|
|
|
53
53
|
display: block;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
&.hasError {
|
|
57
|
-
textarea {
|
|
58
|
-
border: 1px solid colors.$error;
|
|
59
|
-
}
|
|
56
|
+
&.hasError, &.hasWarning {
|
|
60
57
|
.LuiTextAreaInput-wrapper {
|
|
61
58
|
position: relative;
|
|
62
59
|
|
|
@@ -74,6 +71,28 @@
|
|
|
74
71
|
}
|
|
75
72
|
}
|
|
76
73
|
|
|
74
|
+
&.hasError {
|
|
75
|
+
textarea {
|
|
76
|
+
border: 1px solid colors.$error;
|
|
77
|
+
}
|
|
78
|
+
.LuiTextAreaInput-wrapper {
|
|
79
|
+
&:before {
|
|
80
|
+
background-color: colors.$error;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.hasWarning {
|
|
86
|
+
textarea {
|
|
87
|
+
border: 1px solid colors.$warning;
|
|
88
|
+
}
|
|
89
|
+
.LuiTextAreaInput-wrapper {
|
|
90
|
+
&:before {
|
|
91
|
+
background-color: colors.$warning;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
77
96
|
&.isDisabled {
|
|
78
97
|
textarea {
|
|
79
98
|
border-color: colors.$silver;
|
|
@@ -88,10 +107,9 @@
|
|
|
88
107
|
position: relative;
|
|
89
108
|
}
|
|
90
109
|
|
|
91
|
-
.LuiTextAreaInput-error {
|
|
110
|
+
.LuiTextAreaInput-error, .LuiTextAreaInput-warning {
|
|
92
111
|
position: relative;
|
|
93
112
|
display: flex;
|
|
94
|
-
color: colors.$error;
|
|
95
113
|
@include fonts.font-semibold;
|
|
96
114
|
text-align: left;
|
|
97
115
|
padding-left: spacing.$unit-md;
|
|
@@ -100,7 +118,11 @@
|
|
|
100
118
|
margin-top: spacing.$unit-xxs;
|
|
101
119
|
}
|
|
102
120
|
|
|
103
|
-
.LuiTextAreaInput-error
|
|
121
|
+
.LuiTextAreaInput-error {
|
|
122
|
+
color: colors.$error;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.LuiTextAreaInput-error-icon, .LuiTextAreaInput-warning-icon {
|
|
104
126
|
position: absolute;
|
|
105
127
|
left: 0;
|
|
106
128
|
top: 2px;
|
package/package.json
CHANGED