@linzjs/lui 18.6.1 → 18.7.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/LuiSelectInput/LuiSelectInput.d.ts +1 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/lui.css +20 -5
- 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/LuiSelectInput/LuiSelectInput.scss +35 -12
- package/package.json +1 -1
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
border-color: colors.$error;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
.hasWarning & {
|
|
52
|
+
border-color: colors.$warning;
|
|
53
|
+
}
|
|
54
|
+
|
|
51
55
|
.isDisabled & {
|
|
52
56
|
border-color: colors.$silver;
|
|
53
57
|
background-color: colors.$lily;
|
|
@@ -66,18 +70,28 @@
|
|
|
66
70
|
|
|
67
71
|
.LuiSelect-wrapper {
|
|
68
72
|
position: relative;
|
|
73
|
+
|
|
74
|
+
&:before {
|
|
75
|
+
content: '';
|
|
76
|
+
display: block;
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: spacing.$unit-sm;
|
|
79
|
+
top: 0;
|
|
80
|
+
bottom: 0;
|
|
81
|
+
left: -6px;
|
|
82
|
+
border-radius: MiscVars.$borderRadius 0 0 MiscVars.$borderRadius;
|
|
83
|
+
z-index: -1;
|
|
84
|
+
}
|
|
85
|
+
|
|
69
86
|
.hasError & {
|
|
70
87
|
&:before {
|
|
71
|
-
content: '';
|
|
72
|
-
display: block;
|
|
73
|
-
position: absolute;
|
|
74
|
-
width: spacing.$unit-sm;
|
|
75
|
-
top: 0;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
left: -6px;
|
|
78
88
|
background-color: colors.$error;
|
|
79
|
-
|
|
80
|
-
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.hasWarning & {
|
|
93
|
+
&:before {
|
|
94
|
+
background-color: colors.$warning;
|
|
81
95
|
}
|
|
82
96
|
}
|
|
83
97
|
}
|
|
@@ -90,11 +104,10 @@
|
|
|
90
104
|
pointer-events: none;
|
|
91
105
|
}
|
|
92
106
|
|
|
93
|
-
|
|
107
|
+
%LuiSelect-shared {
|
|
94
108
|
position: relative;
|
|
95
109
|
display: flex;
|
|
96
110
|
@include fonts.font-semibold;
|
|
97
|
-
color: colors.$error;
|
|
98
111
|
text-align: left;
|
|
99
112
|
padding-left: spacing.$unit-md;
|
|
100
113
|
font-size: rem.rem(14px);
|
|
@@ -102,7 +115,17 @@
|
|
|
102
115
|
margin-top: spacing.$unit-xxs;
|
|
103
116
|
}
|
|
104
117
|
|
|
105
|
-
.LuiSelect-error
|
|
118
|
+
.LuiSelect-error {
|
|
119
|
+
@extend %LuiSelect-shared;
|
|
120
|
+
color: colors.$error;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.LuiSelect-warning {
|
|
124
|
+
@extend %LuiSelect-shared;
|
|
125
|
+
color: colors.$charcoal;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.LuiSelect-error-icon, .LuiSelect-warning-icon {
|
|
106
129
|
position: absolute;
|
|
107
130
|
left: 0;
|
|
108
131
|
top: 2px;
|
package/package.json
CHANGED