@linzjs/lui 11.6.0 → 11.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/lui.cjs.development.js +1 -1
- package/dist/lui.cjs.development.js.map +1 -1
- package/dist/lui.cjs.production.min.js +1 -1
- package/dist/lui.cjs.production.min.js.map +1 -1
- package/dist/lui.css +13 -1
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +1 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +16 -1
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
@use '../../../Foundation/Variables/FormVars' as luiForms;
|
|
2
2
|
@use '../../../Foundation/Variables/FontVars' as luiFonts;
|
|
3
3
|
@use '../../../Foundation/Variables/LuiColors' as luiColors;
|
|
4
|
+
@use '../../../Foundation/Variables/SpacingVars' as luiSpacing;
|
|
5
|
+
@use '../../../Foundation/Utilities/REM.scss' as rem;
|
|
6
|
+
|
|
7
|
+
$input-spacing: luiSpacing.$unit-xs; // 8px
|
|
8
|
+
|
|
9
|
+
$label-font-size: rem.rem(14px);
|
|
10
|
+
$label-line-height: luiSpacing.$unit-md;
|
|
4
11
|
|
|
5
12
|
.LuiTextInput {
|
|
6
13
|
margin-bottom: 24px;
|
|
@@ -11,6 +18,11 @@
|
|
|
11
18
|
}
|
|
12
19
|
|
|
13
20
|
.LuiTextInput-label {
|
|
21
|
+
margin-bottom: $input-spacing;
|
|
22
|
+
line-height: $label-line-height;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.LuiTextInput-label-text {
|
|
14
26
|
@include luiForms.formLabel;
|
|
15
27
|
}
|
|
16
28
|
|
|
@@ -85,11 +97,12 @@
|
|
|
85
97
|
}
|
|
86
98
|
|
|
87
99
|
.LuiTextInput-error {
|
|
100
|
+
@include luiFonts.font-semibold();
|
|
88
101
|
position: relative;
|
|
89
102
|
color: luiColors.$error;
|
|
90
103
|
text-align: left;
|
|
91
104
|
padding-left: 22px;
|
|
92
|
-
font-size:
|
|
105
|
+
font-size: $label-font-size;
|
|
93
106
|
line-height: 20px;
|
|
94
107
|
margin-top: 2px;
|
|
95
108
|
}
|
|
@@ -102,6 +115,8 @@
|
|
|
102
115
|
|
|
103
116
|
.LuiTextInput-mandatory {
|
|
104
117
|
display: inline-block;
|
|
118
|
+
@include luiFonts.font-semibold();
|
|
119
|
+
font-size: $label-font-size;
|
|
105
120
|
width: 10px;
|
|
106
121
|
margin: 0 0 0 -10px;
|
|
107
122
|
color: luiColors.$error;
|
package/package.json
CHANGED