@linzjs/lui 21.44.5-1 → 21.45.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/assets/icons/c_report.svg +1 -0
  3. package/dist/assets/svg-content.d.ts +1 -1
  4. package/dist/assets/svg-content.tsx +9 -0
  5. package/dist/index.js +7 -3
  6. package/dist/index.js.map +1 -1
  7. package/dist/lui.css +149 -6
  8. package/dist/lui.css.map +1 -1
  9. package/dist/lui.esm.js +7 -3
  10. package/dist/lui.esm.js.map +1 -1
  11. package/dist/scss/Components/ContextMenu/context-menu.scss +7 -4
  12. package/dist/scss/Components/ExpandingSection/expanding-section.scss +4 -4
  13. package/dist/scss/Components/Footer/footer.scss +6 -2
  14. package/dist/scss/Components/Header/header.scss +5 -5
  15. package/dist/scss/Components/HeaderV2/header-v2.scss +7 -5
  16. package/dist/scss/Components/HelpSection/help-section.scss +8 -6
  17. package/dist/scss/Components/LOLCommonMenu/LOLAuthorisedLink.scss +2 -2
  18. package/dist/scss/Components/LOLCommonMenu/LOLDrawerMenu.scss +3 -3
  19. package/dist/scss/Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss +2 -1
  20. package/dist/scss/Components/LuiErrorPage/LuiErrorPage.scss +1 -1
  21. package/dist/scss/Components/LuiFormElements/LuiRadioInput/LuiRadioInput.scss +3 -3
  22. package/dist/scss/Components/LuiFormElements/LuiSelectInput/LuiSelectInput.scss +2 -2
  23. package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +4 -6
  24. package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +1 -0
  25. package/dist/scss/Components/LuiLoadingSpinner/LuiLoadingSpinner.scss +6 -4
  26. package/dist/scss/Components/LuiMultiSwitch/LuiMultiSwitch.scss +2 -2
  27. package/dist/scss/Components/LuiSearchInput/LuiSearchInput.scss +5 -1
  28. package/dist/scss/Components/LuiShadow/LuiShadow.scss +2 -0
  29. package/dist/scss/Components/LuiSplitButton/LuiSplitButton.scss +7 -6
  30. package/dist/scss/Components/LuiTabs/LuiTab/LuiTab.scss +7 -6
  31. package/dist/scss/Components/Menu/menu.scss +4 -4
  32. package/dist/scss/Components/MenuV2/menu-v2.scss +5 -5
  33. package/dist/scss/Components/Messaging/messaging.scss +6 -5
  34. package/dist/scss/Components/Modal/modal.scss +11 -11
  35. package/dist/scss/Components/Notifications/notifications.scss +4 -4
  36. package/dist/scss/Elements/Buttons/buttons.scss +8 -6
  37. package/dist/scss/Elements/Forms/FormComponents/Inputs.scss +7 -5
  38. package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +7 -6
  39. package/dist/scss/Elements/Tables/tables.scss +6 -5
  40. package/dist/scss/Elements/Tooltips/tippy.scss +3 -3
  41. package/dist/scss/Foundation/Utilities/Placeholder.scss +2 -2
  42. package/dist/scss/Global/GenericElements/Link.scss +1 -0
  43. package/dist/scss/Global/GenericElements/Typography.scss +15 -2
  44. package/dist/scss/Global/helpers.scss +5 -5
  45. package/dist/scss/Vendor/print.scss +2 -2
  46. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- @use '../../../Foundation/Variables/ColorVars.scss' as colors;
2
- @use '../../../Foundation/Variables/FontVars.scss' as fonts;
3
- @use '../../../Foundation/Variables/MiscVars.scss' as misc;
4
- @use '../../../Foundation/Variables/SpacingVars.scss' as spacing;
5
- @use '../../../Foundation/Variables/FormVars.scss' as forms;
6
- @use '../../../Foundation/Utilities/' as *;
1
+ @use "../../../Foundation/Variables/ColorVars.scss" as colors;
2
+ @use "../../../Foundation/Variables/FontVars.scss" as fonts;
3
+ @use "../../../Foundation/Variables/MiscVars.scss" as misc;
4
+ @use "../../../Foundation/Variables/SpacingVars.scss" as spacing;
5
+ @use "../../../Foundation/Variables/FormVars.scss" as forms;
6
+ @use "../../../Foundation/Utilities/" as *;
7
7
 
8
8
  // All this is now legacy, deprecated styling.
9
9
  // In order to access these styles, use a wrapping div with the class LuiDeprecatedForms as close to the desired form/elements as possible
@@ -36,6 +36,7 @@
36
36
  }
37
37
 
38
38
  label {
39
+ @include fonts.font-light();
39
40
  font-size: fonts.$base-font-size;
40
41
  }
41
42
  }
@@ -1,9 +1,9 @@
1
- @use 'sass:math';
1
+ @use "sass:math";
2
2
 
3
- @use '../../Foundation/Variables/MiscVars.scss' as misc;
4
- @use '../../Foundation/Variables/ColorVars.scss' as colors;
5
- @use '../../Foundation/Variables/FontVars.scss' as fonts;
6
- @use '../../Foundation/Variables/SpacingVars.scss' as spacing;
3
+ @use "../../Foundation/Variables/MiscVars.scss" as misc;
4
+ @use "../../Foundation/Variables/ColorVars.scss" as colors;
5
+ @use "../../Foundation/Variables/FontVars.scss" as fonts;
6
+ @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
7
7
 
8
8
  $icon-col-width: math.div(24, 16) * 1rem; // 24px
9
9
 
@@ -96,6 +96,7 @@ table {
96
96
 
97
97
  .lui-table-column-headers {
98
98
  th {
99
+ @include fonts.font-regular;
99
100
  }
100
101
  }
101
102
 
@@ -1,7 +1,7 @@
1
1
  @use '../../../scss/Core' as lui;
2
- @use '../../Foundation/Variables/ColorVars.scss' as colors;
3
- @use '../../Foundation/Variables/FontVars.scss' as fonts;
4
- @use '../../Foundation/Utilities' as *;
2
+ @use "../../Foundation/Variables/ColorVars.scss" as colors;
3
+ @use "../../Foundation/Variables/FontVars.scss" as fonts;
4
+ @use "../../Foundation/Utilities" as *;
5
5
 
6
6
  .tippy-box {
7
7
  @include drop-shadow(sm);
@@ -3,12 +3,12 @@
3
3
  // .Input {
4
4
  // input {
5
5
  // // long way
6
- // @include placeholder {
6
+ // @include placeholder {
7
7
  // color: transparent;
8
8
  // // whatever else you want here
9
9
  // }
10
10
  // // Shorthand for just colour
11
- // @include placeholder(transparent);
11
+ // @include placeholder(transparent);
12
12
  // }
13
13
  // }
14
14
 
@@ -8,6 +8,7 @@
8
8
 
9
9
  a {
10
10
  color: colors.$txt-link;
11
+ @include fonts.font-regular;
11
12
  display: inline-block; // By setting them in inline block they stay together and fixes an issue with REACT adding display block and the borders dropping off.
12
13
  position: relative;
13
14
  transition: all 0.3s ease(expo-in-out);
@@ -1,7 +1,7 @@
1
1
  @use '../../Foundation/Variables/FontVars.scss' as fonts;
2
2
  @use '../../Foundation/Variables/ColorVars.scss' as colors;
3
- @use '../../Foundation/Variables/SpacingVars.scss' as spacing;
4
- @use '../../Foundation/Variables/BreakpointVars.scss' as *;
3
+ @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
4
+ @use "../../Foundation/Variables/BreakpointVars.scss" as *;
5
5
  @use '../../Foundation/Utilities/' as *;
6
6
 
7
7
  ////////////////////////////////////////
@@ -15,6 +15,7 @@
15
15
  ////////////////////////////////////////////
16
16
 
17
17
  html {
18
+ @include fonts.font-light();
18
19
  font-size: fonts.$base-font-size;
19
20
  line-height: fonts.$base-line-height;
20
21
  color: colors.$base-type-color;
@@ -113,6 +114,7 @@ h6,
113
114
 
114
115
  h1,
115
116
  .h1 {
117
+ @include fonts.font-light();
116
118
  font-size: toRem(44px);
117
119
 
118
120
  & + p {
@@ -122,6 +124,7 @@ h1,
122
124
 
123
125
  h2,
124
126
  .h2 {
127
+ @include fonts.font-light();
125
128
  font-size: toRem(32px);
126
129
  margin-top: spacing.$unit-xl; // 96px
127
130
 
@@ -132,6 +135,7 @@ h2,
132
135
 
133
136
  h3,
134
137
  .h3 {
138
+ @include fonts.font-regular();
135
139
  font-size: toRem(26px);
136
140
  margin-top: spacing.$unit-lg; // 64px
137
141
 
@@ -142,6 +146,7 @@ h3,
142
146
 
143
147
  h4,
144
148
  .h4 {
149
+ @include fonts.font-regular();
145
150
  font-size: toRem(22px);
146
151
  margin-top: spacing.$unit-lg; // 64px
147
152
 
@@ -168,11 +173,13 @@ h6,
168
173
 
169
174
  p,
170
175
  .p {
176
+ @include fonts.font-light();
171
177
  font-size: toRem(16px);
172
178
  margin-top: spacing.$unit-lg; //64px
173
179
  }
174
180
 
175
181
  p.lui-small {
182
+ @include fonts.font-light();
176
183
  font-size: toRem(13px);
177
184
  line-height: toRem(20px);
178
185
  margin-top: spacing.$unit-lg; //64px
@@ -187,6 +194,7 @@ p.lui-small {
187
194
  .LuiBeta-fonts220222 {
188
195
  h1,
189
196
  .h1 {
197
+ @include fonts.font-light();
190
198
  @include fluidType--size(34px, 44px, $breakpoint-sm, $breakpoint-xl);
191
199
  @include fluidType--lineHeight(44px, 52px, $breakpoint-sm, $breakpoint-xl);
192
200
 
@@ -197,6 +205,7 @@ p.lui-small {
197
205
 
198
206
  h2,
199
207
  .h2 {
208
+ @include fonts.font-light();
200
209
  @include fluidType--size(28px, 32px, $breakpoint-sm, $breakpoint-xl);
201
210
  @include fluidType--lineHeight(36px, 40px, $breakpoint-sm, $breakpoint-xl);
202
211
  margin-top: spacing.$unit-xl; // 96px
@@ -208,6 +217,7 @@ p.lui-small {
208
217
 
209
218
  h3,
210
219
  .h3 {
220
+ @include fonts.font-regular();
211
221
  @include fluidType--size(24px, 24px, $breakpoint-sm, $breakpoint-xl);
212
222
  @include fluidType--lineHeight(32px, 32px, $breakpoint-sm, $breakpoint-xl);
213
223
  letter-spacing: 0.2px;
@@ -220,6 +230,7 @@ p.lui-small {
220
230
 
221
231
  h4,
222
232
  .h4 {
233
+ @include fonts.font-regular();
223
234
  @include fluidType--size(20px, 20px, $breakpoint-sm, $breakpoint-xl);
224
235
  @include fluidType--lineHeight(24px, 24px, $breakpoint-sm, $breakpoint-xl);
225
236
  letter-spacing: 0.2px;
@@ -251,11 +262,13 @@ p.lui-small {
251
262
 
252
263
  p,
253
264
  .p {
265
+ @include fonts.font-light();
254
266
  font-size: toRem(16px);
255
267
  margin-top: spacing.$unit-lg; //64px
256
268
  }
257
269
 
258
270
  p.lui-small {
271
+ @include fonts.font-light();
259
272
  font-size: toRem(13px);
260
273
  line-height: toRem(20px);
261
274
  margin-top: spacing.$unit-lg; //64px
@@ -164,27 +164,27 @@ $lui-width-xl: 620px;
164
164
  // @include lui-row-divider;
165
165
  // &-xs {
166
166
  // @media only screen and (max-width: $screen-xs) {
167
- // @include lui-row-divider;
167
+ // @include lui-row-divider;
168
168
  // }
169
169
  // }
170
170
  // &-sm {
171
171
  // @media only screen and (min-width: $screen-xs) and (max-width: $screen-sm) {
172
- // @include lui-row-divider;
172
+ // @include lui-row-divider;
173
173
  // }
174
174
  // }
175
175
  // &-md {
176
176
  // @media only screen and (min-width: $screen-sm) and (max-width: $screen-md) {
177
- // @include lui-row-divider;
177
+ // @include lui-row-divider;
178
178
  // }
179
179
  // }
180
180
  // &-lg {
181
181
  // @media only screen and (min-width: $screen-md) and (max-width: $screen-lg) {
182
- // @include lui-row-divider;
182
+ // @include lui-row-divider;
183
183
  // }
184
184
  // }
185
185
  // &-xl {
186
186
  // @media only screen and (min-width: $screen-lg) and (max-width: $screen-xl) {
187
- // @include lui-row-divider;
187
+ // @include lui-row-divider;
188
188
  // }
189
189
  // }
190
190
  // }
@@ -1,5 +1,5 @@
1
- @use '../Foundation/Variables/ColorVars.scss' as colors;
2
- @use '../Foundation/Variables/FontVars.scss' as fonts;
1
+ @use "../Foundation/Variables/ColorVars.scss" as colors;
2
+ @use "../Foundation/Variables/FontVars.scss" as fonts;
3
3
 
4
4
  @media only screen {
5
5
  // Ensure the lui print only is hidden on the screen
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "21.44.5-1",
2
+ "version": "21.45.0",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",