@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.
@@ -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: 14px;
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.6.0",
2
+ "version": "11.7.0",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",