@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/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/config.scss +19 -2
- package/src/commons/core.scss +11 -13
- package/src/commons/utils/index.scss +16 -3
- package/src/commons/utils/reset.scss +4 -0
- package/src/components/card/component.scss +2 -0
- package/src/components/dialog/component.scss +1 -0
- package/src/components/emptyState/component.scss +1 -1
- package/src/components/loading/mods.scss +5 -3
- package/src/components/multiSelect/component.scss +4 -0
- package/src/components/multiSelect/mods.scss +34 -33
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "18.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.
|
|
26
|
+
"@lucca-front/icons": "v18.1.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/commons/config.scss
CHANGED
|
@@ -45,7 +45,7 @@ $cleemy: (
|
|
|
45
45
|
400: #54bbb2,
|
|
46
46
|
500: #00ada5,
|
|
47
47
|
600: #009491,
|
|
48
|
-
700: #
|
|
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: #
|
|
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,
|
package/src/commons/core.scss
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
126
|
-
|
|
124
|
+
@if type-of($iterations) == map {
|
|
125
|
+
@each $iterationBefore, $iterationAfter in $iterations {
|
|
127
126
|
@if type-of($iterationAfter) == string {
|
|
128
|
-
|
|
127
|
+
#{$before}-#{$iterationBefore}: var(#{$after}-#{$iterationAfter});
|
|
129
128
|
} @else {
|
|
130
129
|
#{$before}-#{$iterationBefore}: #{$iterationAfter};
|
|
131
130
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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,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-
|
|
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(
|
|
24
|
-
--components-loading-
|
|
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),
|
|
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
|
}
|
|
@@ -4,40 +4,41 @@
|
|
|
4
4
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
5
5
|
|
|
6
6
|
@mixin S {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
}
|