@linzjs/lui 11.2.0 → 11.3.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.
- package/CHANGELOG.md +28 -0
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInput.d.ts +6 -5
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInput.stories.d.ts +1 -1
- package/dist/components/LuiFormElements/{RadioInput → LuiRadioInput}/LuiRadioInputWithFormik.stories.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +4 -0
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.stories.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/lui.cjs.development.js +34 -31
- 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 +3 -2
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +34 -31
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiFormSection/LuiFormSectionHeader.scss +2 -1
- package/dist/scss/Foundation/Variables/FormVars.scss +18 -3
- package/dist/scss/Foundation/Variables/_LuiColors.scss +2 -1
- package/dist/scss/base.scss +3 -2
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
padding: 1rem;
|
|
11
|
+
background-color: luiColors.$white;
|
|
11
12
|
|
|
12
13
|
@include breakpoint(md) {
|
|
13
14
|
flex-direction: row;
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
.LuiFormSectionHeader-details {
|
|
33
34
|
padding: 0;
|
|
34
35
|
width: 100%;
|
|
35
|
-
background-color: white;
|
|
36
|
+
background-color: luiColors.$white;
|
|
36
37
|
flex-grow: 2;
|
|
37
38
|
|
|
38
39
|
@include breakpoint(md) {
|
|
@@ -3,17 +3,32 @@
|
|
|
3
3
|
@use './SpacingVars.scss' as spacing;
|
|
4
4
|
@use './ColorVars.scss' as colors;
|
|
5
5
|
@use './FontVars.scss' as fonts;
|
|
6
|
+
@use '../Utilities/REM.scss' as rem;
|
|
6
7
|
|
|
7
8
|
$label-spacing: spacing.$unit-md; // 24px
|
|
8
9
|
$input-spacing: spacing.$unit-xs; // 8px
|
|
9
10
|
|
|
10
|
-
$label-font-size: 14px;
|
|
11
|
-
$label-line-height:
|
|
11
|
+
$label-font-size: rem.rem(14px);
|
|
12
|
+
$label-line-height: spacing.$unit-md;
|
|
12
13
|
|
|
13
|
-
@mixin
|
|
14
|
+
@mixin formLabel {
|
|
14
15
|
@include fonts.font-semibold();
|
|
16
|
+
margin-bottom: $input-spacing;
|
|
15
17
|
font-size: $label-font-size;
|
|
16
18
|
line-height: $label-line-height;
|
|
19
|
+
color: colors.$charcoal;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin formPlaceholder {
|
|
23
|
+
&::placeholder {
|
|
24
|
+
font-weight: normal;
|
|
25
|
+
color: colors.$input-placeholder;
|
|
26
|
+
opacity: 1; // Because firefox is cool
|
|
27
|
+
|
|
28
|
+
.isDisabled & {
|
|
29
|
+
color: colors.$input-placeholder-when-disabled;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
}
|
|
18
33
|
|
|
19
34
|
$input-width: spacing.$unit-md;
|
|
@@ -123,7 +123,8 @@ $base-type-color: $charcoal;
|
|
|
123
123
|
|
|
124
124
|
// Icons, inputs & radio/checkboxes
|
|
125
125
|
$input-text: $charcoal;
|
|
126
|
-
$input-placeholder: $
|
|
126
|
+
$input-placeholder: $fuscous;
|
|
127
|
+
$input-placeholder-when-disabled: $gray;
|
|
127
128
|
$base-icon-color: $sea;
|
|
128
129
|
$disabled-color: $gray;
|
|
129
130
|
$disabled-color-dark: $gray;
|
package/dist/scss/base.scss
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
/////////////////////////////////////////
|
|
18
18
|
|
|
19
19
|
// Buttons
|
|
20
|
-
@forward "./Elements/Buttons/buttons-linz.scss";
|
|
20
|
+
@forward "./Elements/Buttons/buttons-linz.scss";
|
|
21
|
+
// Load non Lui scss files - these are specific element builds that the UX team have created for their individual needs.
|
|
21
22
|
@forward "./Elements/Buttons/buttons.scss";
|
|
22
23
|
|
|
23
24
|
// Forms
|
|
@@ -67,4 +68,4 @@
|
|
|
67
68
|
@forward "./Components/LuiTabs/LuiTabs.scss";
|
|
68
69
|
|
|
69
70
|
// LuiIcon
|
|
70
|
-
@forward "./Components/LuiIcon/LuiIcons.scss";
|
|
71
|
+
@forward "./Components/LuiIcon/LuiIcons.scss";
|
package/package.json
CHANGED