@linzjs/lui 11.7.0 → 11.10.1

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.
@@ -0,0 +1,51 @@
1
+ @use '../../Foundation/Variables/FormVars' as luiForms;
2
+ @use "../../Foundation/Variables/MiscVars.scss" as misc;
3
+ @use "../../Foundation/Variables/ColorVars.scss" as colors;
4
+ @use '../../Foundation/Variables/FontVars.scss' as fonts;
5
+ @use '../../Foundation/Variables/SpacingVars.scss' as spacing;
6
+ @use "../../Foundation/Utilities" as *;
7
+
8
+ .LuiBadge {
9
+ @include fonts.font-semibold();
10
+ color: colors.$fuscous;
11
+ background: transparent;
12
+ border: 1px solid colors.$fuscous;
13
+ border-radius: 4px;
14
+ display: inline-flex;
15
+ font-size: rem(12px);
16
+ line-height: rem(16px);
17
+ margin-top: 0;
18
+ padding: {
19
+ top: spacing.$unit-xxs * 0.5; // 2px
20
+ right: spacing.$unit-xxs; // 4px
21
+ bottom: spacing.$unit-xxs * 0.5; //2px
22
+ left: spacing.$unit-xxs; // 4px
23
+ }
24
+ }
25
+
26
+ .LuiBadge--sm {
27
+ font-size: rem(10px);
28
+ line-height: rem(14px);
29
+ padding: {
30
+ right: spacing.$unit-xxs; // 4px
31
+ left: spacing.$unit-xxs; // 4px
32
+ }
33
+ }
34
+
35
+ .LuiBadge--lg {
36
+ font-size: rem(14px);
37
+ line-height: rem(20px);
38
+ padding: {
39
+ right: spacing.$unit-xs; // 8px
40
+ left: spacing.$unit-xs; // 8px
41
+ }
42
+ }
43
+
44
+ .LuiBadge--fill {
45
+ background: colors.$snow;
46
+ }
47
+
48
+ .LuiBadge--warning {
49
+ border-color: colors.$warning;
50
+ color: colors.$warning;
51
+ }
@@ -86,4 +86,11 @@
86
86
  position: absolute;
87
87
  left: 0;
88
88
  top: 2px;
89
+ }
90
+
91
+ .LuiSelect-mandatory {
92
+ display: inline-block;
93
+ width: 10px;
94
+ margin: 0 0 0 -10px;
95
+ color: luiColors.$error;
89
96
  }
@@ -2,6 +2,7 @@
2
2
  @use '../../../Foundation/Variables/FontVars' as luiFonts;
3
3
  @use '../../../Foundation/Utilities/FluidType' as luiFluidType;
4
4
  @use '../../../Foundation/Variables/BreakpointVars' as luiBreakpoints;
5
+ @use '../../../Foundation/Variables/LuiColors' as luiColors;
5
6
 
6
7
  // =============================
7
8
  // TextArea
@@ -80,4 +81,11 @@
80
81
  position: absolute;
81
82
  left: 0;
82
83
  top: 2px;
84
+ }
85
+
86
+ .LuiTextAreaInput-mandatory {
87
+ display: inline-block;
88
+ width: 10px;
89
+ margin: 0 0 0 -10px;
90
+ color: luiColors.$error;
83
91
  }
@@ -64,7 +64,10 @@
64
64
  heading-color--secondary: LuiColors.$charcoal;
65
65
  base-type-color: LuiColors.$charcoal;
66
66
 
67
- // Icons & radio/checkboxes
67
+ // Icons, inputs & radio/checkboxes
68
+ input-text: LuiColors.$input-text;
69
+ input-placeholder: LuiColors.$input-placeholder;
70
+ input-placeholder-when-disabled: LuiColors.$input-placeholder-when-disabled;
68
71
  base-icon-color: LuiColors.$sea;
69
72
  disabled-color: LuiColors.$gray;
70
73
  disabled-color-dark: LuiColors.$fuscous;
@@ -69,10 +69,11 @@
69
69
  @forward "./Components/LuiFormSection/LuiFormSectionHeader.scss";
70
70
  @forward "./Components/LuiFormSection/LuiHelpInfo/LuiHelpInfo.scss";
71
71
  @forward "./Components/LuiShadow/LuiShadow.scss";
72
+ @forward "./Components/LuiBadge/LuiBadge.scss";
72
73
 
73
74
  // The following have scss next to the component that is yet to be hooked up with the react implementation
74
75
  // LuiTabs
75
76
  @forward "./Components/LuiTabs/LuiTabs.scss";
76
77
 
77
78
  // LuiIcon
78
- @forward "./Components/LuiIcon/LuiIcons.scss";
79
+ @forward "./Components/LuiIcon/LuiIcons.scss";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.7.0",
2
+ "version": "11.10.1",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",