@lucca-front/scss 19.2.1 → 19.2.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/components/avatar/component.scss +1 -2
- package/src/components/avatar/index.scss +3 -1
- package/src/components/avatar/mods.scss +2 -0
- package/src/components/avatar/vars.scss +1 -0
- package/src/components/filterPill/component.scss +2 -2
- package/src/components/indexTable/component.scss +7 -0
- package/src/components/indexTable/mods.scss +11 -10
- package/src/components/multiSelect/component.scss +5 -0
- package/src/components/multiSelect/index.scss +4 -0
- package/src/components/multiSelect/mods.scss +1 -1
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/simpleSelect/states.scss +0 -4
- package/src/components/tableSortable/component.scss +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.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": "19.2.
|
|
26
|
+
"@lucca-front/icons": "19.2.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-wrap: wrap;
|
|
44
44
|
align-content: flex-start;
|
|
45
|
+
row-gap: var(--components-avatarWrapper-rowGap);
|
|
45
46
|
|
|
46
47
|
.avatar {
|
|
47
48
|
box-shadow: 0 0 0 var(--components-avatar-border) var(--components-avatar-background);
|
|
@@ -49,8 +50,6 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.avatarWrapper-item {
|
|
52
|
-
margin-block: calc(var(--components-avatarWrapper-overlap) / 2);
|
|
53
|
-
|
|
54
53
|
&:not(:last-child) {
|
|
55
54
|
margin-inline-end: calc(var(--components-avatarWrapper-overlap) * -1);
|
|
56
55
|
}
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
@mixin wrapperS {
|
|
55
55
|
--components-avatarWrapper-overlap: var(--pr-t-spacings-50);
|
|
56
|
+
--components-avatarWrapper-rowGap: var(--pr-t-spacings-25);
|
|
56
57
|
|
|
57
58
|
.avatar,
|
|
58
59
|
.avatarWrapper-item-action {
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
|
|
63
64
|
@mixin wrapperXS {
|
|
64
65
|
--components-avatarWrapper-overlap: var(--pr-t-spacings-50);
|
|
66
|
+
--components-avatarWrapper-rowGap: var(--pr-t-spacings-25);
|
|
65
67
|
|
|
66
68
|
.avatar,
|
|
67
69
|
.avatarWrapper-item-action {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
line-height: var(--sizes-S-lineHeight);
|
|
23
23
|
box-shadow: var(--components-filterPill-shadow);
|
|
24
24
|
position: relative;
|
|
25
|
-
max-
|
|
25
|
+
max-inline-size: 18rem;
|
|
26
26
|
white-space: nowrap;
|
|
27
27
|
transition-property: box-shadow;
|
|
28
28
|
transition-duration: var(--commons-animations-durations-fast);
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
text-overflow: ellipsis;
|
|
72
72
|
outline: none;
|
|
73
73
|
text-align: center;
|
|
74
|
+
flex-shrink: 0;
|
|
74
75
|
|
|
75
76
|
&::before {
|
|
76
77
|
content: '';
|
|
@@ -124,7 +125,6 @@
|
|
|
124
125
|
display: flex;
|
|
125
126
|
align-items: center;
|
|
126
127
|
gap: var(--pr-t-spacings-50);
|
|
127
|
-
flex-shrink: 0;
|
|
128
128
|
|
|
129
129
|
&:focus-visible {
|
|
130
130
|
outline: none;
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
.indexTable-body-row {
|
|
29
29
|
&.mod-stack2,
|
|
30
30
|
&.mod-stack3 {
|
|
31
|
-
--components-indexTable-row-stack-border-
|
|
31
|
+
--components-indexTable-row-stack-border-bottom: var(--components-indexTable-stack2-row-spacing);
|
|
32
32
|
--components-indexTable-row-stack2-background-image: var(--components-indexTable-stack-svg);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.mod-stack3 {
|
|
36
|
-
--components-indexTable-row-stack-border-
|
|
36
|
+
--components-indexTable-row-stack-border-bottom: var(--components-indexTable-stack3-row-spacing);
|
|
37
37
|
--components-indexTable-row-stack3-background-image: var(--components-indexTable-stack-svg);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
// because we can't set an individual spacing for each row, transparent border are used for this
|
|
43
43
|
border-block-end: var(--components-indexTable-row-stack-border-bottom) solid transparent;
|
|
44
44
|
// stack apparence
|
|
45
|
-
background-image:
|
|
46
|
-
var(--components-indexTable-row-stack3-background-image, none);
|
|
47
|
-
background-position:
|
|
48
|
-
var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
45
|
+
background-image:
|
|
46
|
+
var(--components-indexTable-row-stack2-background-image, none), var(--components-indexTable-row-stack3-background-image, none);
|
|
47
|
+
background-position:
|
|
48
|
+
var(--components-indexTable-row-stack2-background-position, 0 0), var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
49
49
|
background-repeat: no-repeat, no-repeat;
|
|
50
50
|
transition-property: background-image, background-position;
|
|
51
51
|
transition-duration: var(--commons-animations-durations-fast);
|
|
@@ -178,6 +178,7 @@
|
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
margin-block-start: var(--pr-t-spacings-50);
|
|
181
|
+
|
|
181
182
|
&::before {
|
|
182
183
|
content: attr(data-label);
|
|
183
184
|
font-weight: 600;
|
|
@@ -229,10 +230,10 @@
|
|
|
229
230
|
position: absolute;
|
|
230
231
|
inset-block-start: 0;
|
|
231
232
|
inset-block-end: calc((var(--components-indexTable-row-spacing-responsive) + var(--components-indexTable-stack3-row-spacing)) * -1);
|
|
232
|
-
background-image:
|
|
233
|
-
var(--components-indexTable-row-stack3-background-image, none);
|
|
234
|
-
background-position:
|
|
235
|
-
var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
233
|
+
background-image:
|
|
234
|
+
var(--components-indexTable-row-stack2-background-image, none), var(--components-indexTable-row-stack3-background-image, none);
|
|
235
|
+
background-position:
|
|
236
|
+
var(--components-indexTable-row-stack2-background-position, 0 0), var(--components-indexTable-row-stack3-background-position, 0 0);
|
|
236
237
|
background-repeat: no-repeat, no-repeat;
|
|
237
238
|
transition-property: background-image, background-position;
|
|
238
239
|
transition-duration: var(--commons-animations-durations-fast);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/text';
|
|
3
4
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
4
5
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
5
6
|
|
|
@@ -81,6 +82,10 @@
|
|
|
81
82
|
display: none;
|
|
82
83
|
}
|
|
83
84
|
|
|
85
|
+
.multipleSelect-pill-displayer-chip {
|
|
86
|
+
@include text.ellipsis;
|
|
87
|
+
}
|
|
88
|
+
|
|
84
89
|
.multipleSelect-pill-displayer-label {
|
|
85
90
|
font-weight: 600;
|
|
86
91
|
}
|
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
4
4
|
|
|
5
5
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
6
|
-
@include button.withIcon;
|
|
7
|
-
|
|
8
|
-
--components-button-padding: 0 var(--pr-t-spacings-50);
|
|
9
|
-
--components-button-gap: var(--pr-t-spacings-25);
|
|
10
|
-
|
|
11
6
|
user-select: none;
|
|
12
7
|
font-weight: var(--components-sortable-fontWeight);
|
|
13
8
|
vertical-align: top;
|
|
14
9
|
align-items: flex-end;
|
|
15
10
|
white-space: wrap;
|
|
16
11
|
inset-inline-start: var(--components-sortable-offset);
|
|
12
|
+
padding: 0 var(--pr-t-spacings-50);
|
|
13
|
+
gap: var(--pr-t-spacings-25);
|
|
17
14
|
text-align: inherit;
|
|
18
15
|
flex-direction: var(--components-sortable-direction);
|
|
19
16
|
font-size: var(--components-sortable-fontSize);
|