@lucca-front/scss 18.1.1 → 18.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/scss",
3
- "version": "18.1.1",
3
+ "version": "18.1.2",
4
4
  "description": "A Sass framework for Lucca products.",
5
5
  "main": "src/main.scss",
6
6
  "scripts": {},
@@ -23,6 +23,6 @@
23
23
  "normalize.css": "^8.0.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "@lucca-front/icons": "v18.1.1"
26
+ "@lucca-front/icons": "v18.1.2"
27
27
  }
28
28
  }
@@ -45,7 +45,7 @@ $cleemy: (
45
45
  400: #54bbb2,
46
46
  500: #00ada5,
47
47
  600: #009491,
48
- 700: #00807d,
48
+ 700: #007a78,
49
49
  800: #00545c,
50
50
  900: #00333d,
51
51
  ) !default;
@@ -87,11 +87,25 @@ $poplee: (
87
87
  400: #7bc3ea,
88
88
  500: #62b7e4,
89
89
  600: #3a9ed4,
90
- 700: #0f7db8,
90
+ 700: #0b77b1,
91
91
  800: #005685,
92
92
  900: #003c5c,
93
93
  ) !default;
94
94
 
95
+ $coreHR: (
96
+ text: #ffffff,
97
+ 50: #e6f2fe,
98
+ 100: #cbe3fb,
99
+ 200: #b0d3f7,
100
+ 300: #96c4f3,
101
+ 400: #78b2ed,
102
+ 500: #5ea3e8,
103
+ 600: #3387db,
104
+ 700: #0c63bb,
105
+ 800: #004285,
106
+ 900: #002e5c,
107
+ ) !default;
108
+
95
109
  $cc: (
96
110
  text: #ffffff,
97
111
  50: #feecf4,
@@ -108,6 +122,7 @@ $cc: (
108
122
 
109
123
  $neutral: (
110
124
  text: #ffffff,
125
+ 0: #ffffff,
111
126
  25: #f3f6fc,
112
127
  50: #e7edf9,
113
128
  100: #dbe3f5,
@@ -351,6 +366,7 @@ $prod: map-get(
351
366
  'cleemy': $cleemy,
352
367
  'timmi': $timmi,
353
368
  'poplee': $poplee,
369
+ 'coreHR': $coreHR,
354
370
  'pagga': $pagga,
355
371
  'cc': $cc,
356
372
  ),
@@ -385,6 +401,7 @@ $palettesInterpolation: (
385
401
  'pineapple': $pineapple,
386
402
  'pagga': $pagga,
387
403
  'poplee': $poplee,
404
+ 'coreHR': $coreHR,
388
405
  'timmi': $timmi,
389
406
  'cleemy': $cleemy,
390
407
  'cc': $cc,
@@ -38,8 +38,7 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
38
38
  .pr-u-#{transform.camelize($boxModel)}#{transform.capitalize($boxDirection)}#{transform.capitalize($key)} {
39
39
  #{$boxModel}#{if($boxDirection == '', '', '-')}#{$boxDirection}: var(--pr-t-spacings-#{$key}) #{$suffix};
40
40
  }
41
- }
42
- @else {
41
+ } @else {
43
42
  .u-#{transform.camelize($boxModel)}#{transform.capitalize($boxDirection)}#{transform.capitalize($key)} {
44
43
  #{$boxModel}#{if($boxDirection == '', '', '-')}#{$boxDirection}: var(--spacings-#{$key}) #{$suffix};
45
44
  }
@@ -49,7 +48,7 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
49
48
  @mixin spacings($token: true) {
50
49
  $spacings: config.$spacingsDeprecated;
51
50
  @if $token {
52
- $spacings: config.$spacings;
51
+ $spacings: config.$spacings;
53
52
  }
54
53
  @each $boxModel in $boxModel {
55
54
  @each $boxDirection in $boxDirection {
@@ -122,18 +121,17 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
122
121
  }
123
122
 
124
123
  @mixin rosetta($before, $after, $iterations) {
125
- @if type-of($iterations) == map {
126
- @each $iterationBefore, $iterationAfter in $iterations {
124
+ @if type-of($iterations) == map {
125
+ @each $iterationBefore, $iterationAfter in $iterations {
127
126
  @if type-of($iterationAfter) == string {
128
- #{$before}-#{$iterationBefore}: var(#{$after}-#{$iterationAfter});
127
+ #{$before}-#{$iterationBefore}: var(#{$after}-#{$iterationAfter});
129
128
  } @else {
130
129
  #{$before}-#{$iterationBefore}: #{$iterationAfter};
131
130
  }
132
- }
133
- }
134
- @else {
135
- @each $iteration in $iterations {
136
- #{$before}-#{$iteration}: var(#{$after}-#{$iteration});
137
- }
138
- }
131
+ }
132
+ } @else {
133
+ @each $iteration in $iterations {
134
+ #{$before}-#{$iteration}: var(#{$after}-#{$iteration});
135
+ }
136
+ }
139
137
  }
@@ -143,11 +143,24 @@
143
143
  @include a11y.mask('!important');
144
144
  }
145
145
 
146
- .u-clearfix,
147
- .u-clear {
146
+ .u-clearfix {
148
147
  @include reset.clearfix('!important');
149
148
  }
150
149
 
150
+ // .u-clear is deprecated
151
+ .u-clearBoth,
152
+ .u-clear {
153
+ @include reset.clear('both', '!important');
154
+ }
155
+
156
+ .u-clearLeft {
157
+ @include reset.clear('left', '!important');
158
+ }
159
+
160
+ .u-clearRight {
161
+ @include reset.clear('right', '!important');
162
+ }
163
+
151
164
  .u-listReset {
152
165
  @include reset.list('!important');
153
166
  }
@@ -310,7 +323,7 @@
310
323
 
311
324
  @each $display in core.$displays {
312
325
  @if $display != 'none' {
313
- .u-onlyPrintDisplay#{transform.capitalize($display)} {
326
+ .u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
314
327
  @extend %displayNone;
315
328
  }
316
329
  }
@@ -26,6 +26,10 @@
26
26
  cursor: pointer #{$suffix};
27
27
  }
28
28
 
29
+ @mixin clear($direction, $suffix: '') {
30
+ clear: #{$direction} #{$suffix};
31
+ }
32
+
29
33
  @mixin clearfix($suffix: '') {
30
34
  &::before,
31
35
  &::after {
@@ -41,6 +41,8 @@
41
41
 
42
42
  .card-footer-right {
43
43
  margin-left: auto;
44
+ display: inline-flex;
45
+ gap: var(--pr-t-spacings-200);
44
46
  }
45
47
  }
46
48
  }
@@ -81,6 +81,7 @@
81
81
  padding: var(--components-dialog-insideHeaderTitlePadding);
82
82
  text-align: var(--components-dialog-insideHeaderTitleAlign);
83
83
  margin: 0;
84
+ overflow-wrap: break-word;
84
85
  }
85
86
 
86
87
  .dialog_backdrop {
@@ -26,7 +26,7 @@
26
26
 
27
27
  .emptyState-content-icon {
28
28
  --components-emptyState-icon-background-color: var(--palettes-100, var(--palettes-product-100));
29
- --components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-product-600));
29
+ --components-emptyState-icon-action-color: var(--palettes-600, var(--palettes-brand-600));
30
30
  }
31
31
 
32
32
  .emptyState-content-text {
@@ -20,15 +20,15 @@
20
20
  @include block;
21
21
  @include L;
22
22
 
23
- --components-loading-transform: translateY(calc((100dvh - var(--commons-banner-height)) / 2));
24
- --components-loading-transformFallback: translateY(calc((100vh - var(--commons-banner-height)) / 2));
23
+ --components-loading-transform: translateY(30vh);
24
+ --components-loading-padding: 0;
25
25
  }
26
26
 
27
27
  @mixin invert {
28
28
  --components-loading-color: var(--colors-white-color);
29
29
 
30
30
  &::after {
31
- --commons-loading-frontground: color.transparentize(var(--colors-white-color), 0.66);
31
+ --commons-loading-frontground: #{color.transparentize(var(--colors-white-color), 66%)};
32
32
  }
33
33
  }
34
34
 
@@ -48,4 +48,6 @@
48
48
  @mixin drawer {
49
49
  @include fullPage;
50
50
  @include popin;
51
+
52
+ --components-loading-transform: translateY(35vh);
51
53
  }
@@ -24,6 +24,10 @@
24
24
  flex: 1;
25
25
  }
26
26
 
27
+ .multipleSelect-displayer-chip {
28
+ min-width: 0;
29
+ }
30
+
27
31
  .multipleSelect-displayer-chip-value {
28
32
  max-width: 8rem;
29
33
  white-space: nowrap;
@@ -4,40 +4,41 @@
4
4
  @use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
5
5
 
6
6
  @mixin S {
7
- --components-multiSelect-fontSize: var(--sizes-S-fontSize);
8
- --components-multiSelect-lineHeight: var(--sizes-S-lineHeight);
9
- --components-multiSelect-padding: var(--pr-t-spacings-75);
10
- --components-multiSelect-gap: var(--pr-t-spacings-75);
11
-
12
- .multipleSelect-arrow {
13
- @include icon.S;
14
- }
15
-
16
- .multipleSelect-clear {
17
- @include clear.S;
18
- }
19
-
20
- .multipleSelect-displayer-chip {
21
- @include chip.S;
22
- }
23
-
24
- .multipleSelect-displayer-numericBadge {
25
- @include numericBadge.S;
26
- }
7
+ --components-multiSelect-fontSize: var(--sizes-S-fontSize);
8
+ --components-multiSelect-lineHeight: var(--sizes-S-lineHeight);
9
+ --components-multiSelect-padding: var(--pr-t-spacings-75);
10
+ --components-multiSelect-gap: var(--pr-t-spacings-75);
11
+
12
+ .multipleSelect-arrow {
13
+ @include icon.S;
14
+ }
15
+
16
+ .multipleSelect-clear {
17
+ @include clear.S;
18
+ }
19
+
20
+ .multipleSelect-displayer-chip {
21
+ @include chip.S;
22
+ }
23
+
24
+ .multipleSelect-displayer-numericBadge {
25
+ @include numericBadge.S;
26
+ }
27
27
  }
28
28
 
29
29
  @mixin displayerFilter {
30
- display: grid;
31
-
32
- .multipleSelect-displayer-filter {
33
- grid-column-start: 1;
34
- grid-row-start: 1;
35
- display: flex;
36
- gap: var(--pr-t-spacings-50);
37
- }
38
-
39
- .multipleSelect-displayer-search {
40
- grid-column-start: 1;
41
- grid-row-start: 1;
42
- }
30
+ display: grid;
31
+
32
+ .multipleSelect-displayer-filter {
33
+ grid-column-start: 1;
34
+ grid-row-start: 1;
35
+ display: flex;
36
+ gap: var(--pr-t-spacings-50);
37
+ min-width: 0;
38
+ }
39
+
40
+ .multipleSelect-displayer-search {
41
+ grid-column-start: 1;
42
+ grid-row-start: 1;
43
+ }
43
44
  }