@lucca-front/scss 20.4.0-rc.1 → 21.0.0-rc.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 +3 -3
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/index.scss +2 -1
- package/src/components/breadcrumbs/mods.scss +2 -1
- package/src/components/button/index.scss +0 -6
- package/src/components/button/mods.scss +1 -22
- package/src/components/button/vars.scss +0 -1
- package/src/components/calendar/component.scss +5 -9
- package/src/components/calendar/index.scss +8 -0
- package/src/components/calendar/states.scss +7 -1
- package/src/components/calendar/vars.scss +3 -1
- package/src/components/callout/component.scss +0 -1
- package/src/components/calloutPopover/component.scss +13 -10
- package/src/components/calloutPopover/mods.scss +2 -5
- package/src/components/calloutPopover/vars.scss +0 -1
- package/src/components/checkboxField/component.scss +3 -1
- package/src/components/chip/component.scss +18 -7
- package/src/components/chip/index.scss +4 -6
- package/src/components/chip/mods.scss +6 -20
- package/src/components/chip/states.scss +2 -2
- package/src/components/chip/vars.scss +4 -2
- package/src/components/clear/component.scss +4 -4
- package/src/components/clear/index.scss +15 -12
- package/src/components/clear/mods.scss +7 -20
- package/src/components/clear/states.scss +10 -1
- package/src/components/clear/vars.scss +3 -2
- package/src/components/dataTable/component.scss +12 -1
- package/src/components/dataTable/index.scss +16 -7
- package/src/components/dataTable/mods.scss +16 -3
- package/src/components/dataTable/vars.scss +0 -1
- package/src/components/dataTableSticked/index.scss +15 -0
- package/src/components/dataTableSticked/mods.scss +9 -9
- package/src/components/dataTableSticked/states.scss +7 -0
- package/src/components/dataTableSticked/vars.scss +3 -0
- package/src/components/fancyBox/component.scss +15 -20
- package/src/components/fancyBox/index.scss +4 -0
- package/src/components/fancyBox/mods.scss +11 -0
- package/src/components/fancyBox/vars.scss +10 -0
- package/src/components/fieldset/component.scss +4 -0
- package/src/components/fieldset/index.scss +4 -0
- package/src/components/fieldset/mods.scss +10 -0
- package/src/components/fieldset/vars.scss +1 -1
- package/src/components/filterBar/component.scss +1 -1
- package/src/components/filterBar/mods.scss +6 -2
- package/src/components/filterBar/vars.scss +0 -1
- package/src/components/filterPill/component.scss +3 -2
- package/src/components/filterPill/states.scss +3 -2
- package/src/components/filterPill/vars.scss +0 -1
- package/src/components/form/component.scss +4 -2
- package/src/components/indexTable/component.scss +11 -28
- package/src/components/indexTable/index.scss +34 -3
- package/src/components/indexTable/mods.scss +45 -10
- package/src/components/indexTable/states.scss +5 -1
- package/src/components/indexTable/vars.scss +1 -0
- package/src/components/inputFramed/component.scss +8 -9
- package/src/components/inputFramed/index.scss +13 -3
- package/src/components/inputFramed/mods.scss +14 -0
- package/src/components/inputFramed/vars.scss +9 -2
- package/src/components/link/mods.scss +3 -2
- package/src/components/listing/component.scss +20 -2
- package/src/components/listing/index.scss +10 -0
- package/src/components/listing/mods.scss +49 -0
- package/src/components/listing/vars.scss +16 -2
- package/src/components/multiSelect/component.scss +3 -0
- package/src/components/multiSelect/index.scss +4 -14
- package/src/components/multiSelect/mods.scss +0 -28
- package/src/components/multiSelect/states.scss +5 -16
- package/src/components/plgPush/component.scss +4 -0
- package/src/components/popover/component.scss +1 -0
- package/src/components/popover/vars.scss +1 -0
- package/src/components/richText/component.scss +5 -6
- package/src/components/scrollBox/component.scss +4 -0
- package/src/components/simpleSelect/component.scss +10 -3
- package/src/components/sortableList/component.scss +23 -4
- package/src/components/sortableList/index.scss +13 -0
- package/src/components/sortableList/mods.scss +6 -0
- package/src/components/tableFixed/mods.scss +3 -3
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableOfContent/index.scss +2 -1
- package/src/components/textfields/index.scss +3 -3
- package/src/components/textfields/states.scss +3 -3
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
5
5
|
|
|
6
6
|
@mixin selectable {
|
|
7
|
-
.indexTable-head-row {
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
7
|
.indexTable-body-row {
|
|
12
8
|
&:is(:focus-within, :hover) {
|
|
13
9
|
outline: none;
|
|
@@ -310,7 +306,7 @@
|
|
|
310
306
|
.indexTable-head-row-cell,
|
|
311
307
|
.indexTable-body-row-cell,
|
|
312
308
|
.indexTable-foot-row-cell {
|
|
313
|
-
@include
|
|
309
|
+
@include cellInlineSize;
|
|
314
310
|
}
|
|
315
311
|
}
|
|
316
312
|
|
|
@@ -323,14 +319,14 @@
|
|
|
323
319
|
.indexTable-head-row-cell,
|
|
324
320
|
.indexTable-body-row-cell,
|
|
325
321
|
.indexTable-foot-row-cell {
|
|
326
|
-
@include
|
|
322
|
+
@include cellInlineSize;
|
|
327
323
|
}
|
|
328
324
|
}
|
|
329
325
|
}
|
|
330
326
|
}
|
|
331
327
|
}
|
|
332
328
|
|
|
333
|
-
@mixin
|
|
329
|
+
@mixin cellInlineSize {
|
|
334
330
|
min-inline-size: var(--cell-width, auto);
|
|
335
331
|
max-inline-size: var(--cell-width, auto);
|
|
336
332
|
inline-size: var(--cell-width, auto);
|
|
@@ -359,10 +355,49 @@
|
|
|
359
355
|
}
|
|
360
356
|
}
|
|
361
357
|
|
|
362
|
-
@mixin
|
|
363
|
-
|
|
358
|
+
@mixin alignEnd {
|
|
359
|
+
&,
|
|
360
|
+
.indexTable-body-row-cell-link {
|
|
361
|
+
text-align: end;
|
|
362
|
+
}
|
|
364
363
|
}
|
|
365
364
|
|
|
366
365
|
@mixin alignCenter {
|
|
367
|
-
|
|
366
|
+
&,
|
|
367
|
+
.indexTable-body-row-cell-link {
|
|
368
|
+
text-align: center;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@mixin alignStart {
|
|
373
|
+
&,
|
|
374
|
+
.indexTable-body-row-cell-link {
|
|
375
|
+
text-align: start;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
@mixin tfoot {
|
|
380
|
+
padding-block: var(--pr-t-spacings-50);
|
|
381
|
+
|
|
382
|
+
&::before,
|
|
383
|
+
&::after {
|
|
384
|
+
content: none;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@mixin groupButton {
|
|
389
|
+
@include button.ghost;
|
|
390
|
+
@include button.S;
|
|
391
|
+
@include button.onlyIconS;
|
|
392
|
+
|
|
393
|
+
--components-button-padding: var(--pr-t-spacings-25);
|
|
394
|
+
|
|
395
|
+
// Extend button reactive zone to his whole parent
|
|
396
|
+
position: static;
|
|
397
|
+
|
|
398
|
+
&::before {
|
|
399
|
+
content: '';
|
|
400
|
+
position: absolute;
|
|
401
|
+
inset: 0;
|
|
402
|
+
}
|
|
368
403
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.indexTable-body-row-cellTitle-button[aria-expanded='false'] .
|
|
11
|
+
.indexTable-body-row-cellTitle-button[aria-expanded='false'] .icon-arrowChevronTop {
|
|
12
12
|
transform: rotate(180deg);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -79,3 +79,7 @@
|
|
|
79
79
|
--components-indexTable-cell-z-index: 2;
|
|
80
80
|
--components-indexTable-cell-subAction-opacity: 1;
|
|
81
81
|
}
|
|
82
|
+
|
|
83
|
+
@mixin rowsHidden {
|
|
84
|
+
--components-indexTable-row-display: none;
|
|
85
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
--components-indexTable-border-radius: var(--pr-t-border-radius-structure);
|
|
4
4
|
--components-indexTable-background-color: var(--palettes-neutral-50);
|
|
5
5
|
--components-indexTable-row-spacing: 4px;
|
|
6
|
+
--components-indexTable-row-display: table-row;
|
|
6
7
|
|
|
7
8
|
// on responsive, row spacing is increased
|
|
8
9
|
--components-indexTable-row-spacing-responsive: 8px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
4
|
position: relative;
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
padding: var(--
|
|
6
|
+
padding: var(--components-inputFramed-padding);
|
|
7
7
|
border: solid 1px var(--components-inputFramed-borderColor);
|
|
8
8
|
border-radius: var(--pr-t-border-radius-default);
|
|
9
9
|
background-color: var(--palettes-neutral-0);
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
@at-root ($atRoot) {
|
|
17
17
|
.inputFramed-header-label.formLabel {
|
|
18
18
|
position: static;
|
|
19
|
-
font-weight: var(--
|
|
20
|
-
|
|
19
|
+
font-weight: var(--components-inputFramed-header-label-fontWeight);
|
|
21
20
|
|
|
22
21
|
&::after {
|
|
23
22
|
content: '';
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
.inputFramed-header {
|
|
39
|
-
padding: var(--components-inputFramed-padding);
|
|
38
|
+
padding: var(--components-inputFramed-header-padding);
|
|
40
39
|
border-radius: var(--pr-t-border-radius-50);
|
|
41
40
|
background-color: var(--components-inputFramed-header-backgroundColor);
|
|
42
41
|
transition-property: background-color;
|
|
@@ -60,8 +59,8 @@
|
|
|
60
59
|
.inputFramed-header-info {
|
|
61
60
|
flex-basis: 100%;
|
|
62
61
|
border-block-start: 1px solid var(--components-inputFramed-header-info-borderColor);
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
padding-block-start: var(--components-inputFramed-header-info-paddingBlockStart);
|
|
63
|
+
margin-block-start: var(--components-inputFramed-header-info-marginBlockStart);
|
|
65
64
|
color: var(--components-inputFramed-header-info-color);
|
|
66
65
|
|
|
67
66
|
&:empty {
|
|
@@ -71,8 +70,8 @@
|
|
|
71
70
|
|
|
72
71
|
.inputFramed-content {
|
|
73
72
|
display: var(--components-inputFramed-content-display);
|
|
74
|
-
padding: var(--components-inputFramed-padding);
|
|
75
|
-
margin-block-start: var(--
|
|
73
|
+
padding: var(--components-inputFramed-content-padding);
|
|
74
|
+
margin-block-start: var(--components-inputFramed-content-marginBlockStart);
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
77
|
}
|
|
@@ -80,6 +79,6 @@
|
|
|
80
79
|
@mixin wrapper($atRoot: namespace.$defaultAtRoot) {
|
|
81
80
|
display: flex;
|
|
82
81
|
flex-direction: column;
|
|
83
|
-
gap: var(--
|
|
82
|
+
gap: var(--components-inputFramed-wrapper-gap);
|
|
84
83
|
margin-block: var(--pr-t-spacings-50);
|
|
85
84
|
}
|
|
@@ -40,10 +40,14 @@
|
|
|
40
40
|
@include disabled;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
&.mod-center {
|
|
45
|
+
@include center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.mod-L {
|
|
49
|
+
@include L;
|
|
50
|
+
}
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
|
|
@@ -52,4 +56,10 @@
|
|
|
52
56
|
@include vars;
|
|
53
57
|
@include wrapper;
|
|
54
58
|
}
|
|
59
|
+
|
|
60
|
+
@layer mods {
|
|
61
|
+
&:has(.inputFramed.mod-L) {
|
|
62
|
+
@include wrapperL;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
55
65
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
@mixin center {
|
|
2
2
|
--components-inputFramed-header-alignItems: center;
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
@mixin L {
|
|
6
|
+
--components-inputFramed-header-label-fontWeight: var(--pr-t-font-fontWeight-semibold);
|
|
7
|
+
--components-inputFramed-padding: var(--pr-t-spacings-50);
|
|
8
|
+
--components-inputFramed-header-padding: var(--pr-t-spacings-150);
|
|
9
|
+
--components-inputFramed-content-padding: var(--pr-t-spacings-150);
|
|
10
|
+
--components-inputFramed-content-marginBlockStart: var(--pr-t-spacings-50);
|
|
11
|
+
--components-inputFramed-header-info-marginBlockStart: var(--pr-t-spacings-100);
|
|
12
|
+
--components-inputFramed-header-info-paddingBlockStart: var(--pr-t-spacings-200);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin wrapperL {
|
|
16
|
+
--components-inputFramed-wrapper-gap: var(--pr-t-spacings-150);
|
|
17
|
+
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
+
--components-inputFramed-wrapper-gap: var(--pr-t-spacings-100);
|
|
2
3
|
--components-inputFramed-content-display: none;
|
|
3
4
|
--components-inputFramed-borderColor: var(--palettes-neutral-300);
|
|
4
5
|
--components-inputFramed-header-info-borderColor: var(--palettes-neutral-200);
|
|
5
|
-
--components-inputFramed-padding: var(--pr-t-spacings-
|
|
6
|
+
--components-inputFramed-padding: var(--pr-t-spacings-25);
|
|
7
|
+
--components-inputFramed-header-padding: var(--pr-t-spacings-75);
|
|
8
|
+
--components-inputFramed-content-padding: var(--pr-t-spacings-75);
|
|
9
|
+
--components-inputFramed-content-marginBlockStart: var(--pr-t-spacings-25);
|
|
6
10
|
--components-inputFramed-header-backgroundColor: transparent;
|
|
7
|
-
--components-inputFramed-header-info-color: inherit;
|
|
8
11
|
--components-inputFramed-header-alignItems: normal;
|
|
12
|
+
--components-inputFramed-header-label-fontWeight: var(--pr-t-font-fontWeight-regular);
|
|
13
|
+
--components-inputFramed-header-info-color: inherit;
|
|
14
|
+
--components-inputFramed-header-info-marginBlockStart: 0;
|
|
15
|
+
--components-inputFramed-header-info-paddingBlockStart: var(--pr-t-spacings-100);
|
|
9
16
|
}
|
|
@@ -5,20 +5,32 @@
|
|
|
5
5
|
padding: 0;
|
|
6
6
|
margin: 0;
|
|
7
7
|
padding-inline-start: var(--components-listing-paddingInlineStart);
|
|
8
|
+
margin-inline-start: var(--components-listing-marginInlineStart);
|
|
8
9
|
display: flex;
|
|
9
|
-
flex-direction:
|
|
10
|
-
|
|
10
|
+
flex-direction: var(--components-listing-flexDirection);
|
|
11
|
+
flex-wrap: var(--components-listing-flexWrap);
|
|
12
|
+
row-gap: var(--pr-t-spacings-50);
|
|
13
|
+
column-gap: var(--pr-t-spacings-100);
|
|
11
14
|
list-style-type: var(--components-listing-listStyleType);
|
|
15
|
+
clip-path: var(--components-listing-clipPath);
|
|
12
16
|
|
|
13
17
|
@at-root ($atRoot) {
|
|
14
18
|
.listing-item {
|
|
15
19
|
display: var(--components-listing-item-display);
|
|
16
20
|
align-items: flex-start;
|
|
17
21
|
gap: var(--pr-t-spacings-100);
|
|
22
|
+
margin-inline-start: 0;
|
|
18
23
|
|
|
19
24
|
&::marker {
|
|
20
25
|
line-height: 1;
|
|
21
26
|
}
|
|
27
|
+
|
|
28
|
+
&::before {
|
|
29
|
+
content: var(--components-listing-item-before-content);
|
|
30
|
+
border-inline-start: var(--commons-divider-border);
|
|
31
|
+
height: 0.75lh;
|
|
32
|
+
align-self: center;
|
|
33
|
+
}
|
|
22
34
|
}
|
|
23
35
|
|
|
24
36
|
.listing-item-icon {
|
|
@@ -32,5 +44,11 @@
|
|
|
32
44
|
|
|
33
45
|
@include icon.S;
|
|
34
46
|
}
|
|
47
|
+
|
|
48
|
+
.listing-item-content {
|
|
49
|
+
display: var(--components-listing-item-content-display);
|
|
50
|
+
gap: var(--components-listing-item-content-rowGap) var(--components-listing-item-content-columnGap);
|
|
51
|
+
flex-wrap: var(--components-listing-item-content-flexWrap);
|
|
52
|
+
}
|
|
35
53
|
}
|
|
36
54
|
}
|
|
@@ -48,3 +48,52 @@
|
|
|
48
48
|
--components-listing-listStyleType: lower-roman;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
|
|
52
|
+
@mixin inline {
|
|
53
|
+
--components-listing-paddingInlineStart: 0;
|
|
54
|
+
--components-listing-flexDirection: row;
|
|
55
|
+
--components-listing-item-display: flex;
|
|
56
|
+
--components-listing-flexWrap: wrap;
|
|
57
|
+
--components-listing-item-content-flexWrap: wrap;
|
|
58
|
+
--components-listing-item-content-rowGap: var(--pr-t-spacings-50);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin nestedInline {
|
|
62
|
+
&:has(.listing) {
|
|
63
|
+
.listing {
|
|
64
|
+
--components-listing-clipPath: 0;
|
|
65
|
+
|
|
66
|
+
@include inline;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.listing-item {
|
|
70
|
+
--components-listing-item-content-display: flex;
|
|
71
|
+
--components-listing-item-content-columnGap: var(--pr-t-spacings-100);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.mod-divider:has(.listing) {
|
|
76
|
+
.listing {
|
|
77
|
+
--components-listing-marginInlineStart: calc(var(--components-listing-inlineFirst) * -1);
|
|
78
|
+
|
|
79
|
+
@include divider;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.listing-item-content {
|
|
83
|
+
--components-listing-item-content-columnGap: var(--pr-t-spacings-200);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin hideFirstItems {
|
|
89
|
+
--components-listing-marginInlineStart: calc(var(--components-listing-inlineFirst) * -1);
|
|
90
|
+
--components-listing-clipPath: inset(
|
|
91
|
+
calc(var(--pr-t-spacings-50) * -1) calc(var(--pr-t-spacings-50) * -1) calc(var(--pr-t-spacings-50) * -1)
|
|
92
|
+
calc(var(--components-listing-inlineFirst) - var(--pr-t-spacings-50))
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@mixin divider {
|
|
97
|
+
--components-listing-item-before-content: '';
|
|
98
|
+
--components-listing-inlineFirst: calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25) - var(--commons-divider-width));
|
|
99
|
+
}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
-
--components-listing-
|
|
3
|
-
--components-listing-
|
|
2
|
+
--components-listing-marginInlineStart: 0;
|
|
3
|
+
--components-listing-inlineFirst: 0;
|
|
4
|
+
--components-listing-flexDirection: column;
|
|
5
|
+
--components-listing-flexWrap: nowrap;
|
|
6
|
+
--components-listing-paddingInlineStart: var(--components-listing-inlineStart);
|
|
7
|
+
--components-listing-inlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
8
|
+
|
|
9
|
+
--components-listing-clipPath: none;
|
|
4
10
|
--components-listing-listStyleType: disc;
|
|
11
|
+
|
|
12
|
+
--components-listing-item-display: list-item;
|
|
5
13
|
--components-listing-item-icon-backgroundColor: transparent;
|
|
6
14
|
--components-listing-item-icon-before-content: none;
|
|
15
|
+
--components-listing-item-before-content: unset;
|
|
16
|
+
|
|
17
|
+
--components-listing-item-content-display: block;
|
|
18
|
+
--components-listing-item-content-flexWrap: nowrap;
|
|
19
|
+
--components-listing-item-content-rowGap: 0;
|
|
20
|
+
--components-listing-item-content-columnGap: 0;
|
|
7
21
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/text';
|
|
4
4
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
5
5
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
6
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
6
7
|
|
|
7
8
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
8
9
|
display: flex;
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
|
|
33
34
|
.multipleSelect-displayer-chip {
|
|
34
35
|
min-inline-size: 0;
|
|
36
|
+
|
|
37
|
+
@include color.palette('product');
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
.multipleSelect-displayer-chip-value {
|
|
@@ -59,21 +59,11 @@
|
|
|
59
59
|
@layer components {
|
|
60
60
|
.multipleSelect-displayer-filter {
|
|
61
61
|
min-inline-size: 0;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
@layer mods {
|
|
66
|
-
.multipleSelect-displayer {
|
|
67
|
-
&.mod-filter {
|
|
68
|
-
@include displayerFilter;
|
|
62
|
+
display: flex;
|
|
63
|
+
gap: 0.5ch;
|
|
69
64
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&:has([aria-expanded='true']):not(:has(:placeholder-shown)) {
|
|
75
|
-
@include displayerFilterExpanded;
|
|
76
|
-
}
|
|
65
|
+
&:empty {
|
|
66
|
+
display: none;
|
|
77
67
|
}
|
|
78
68
|
}
|
|
79
69
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
|
-
|
|
3
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
-
|
|
5
3
|
@use '@lucca-front/scss/src/components/clear/exports' as clear;
|
|
6
4
|
@use '@lucca-front/scss/src/components/chip/exports' as chip;
|
|
7
5
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
@@ -36,32 +34,6 @@
|
|
|
36
34
|
@include chip.S;
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
|
-
|
|
40
|
-
.multipleSelect-displayer-numericBadge {
|
|
41
|
-
// :not(.class) is only there to increase specificity when the class isn’t present
|
|
42
|
-
// but the class should be present, and this code is temporary
|
|
43
|
-
&.numericBadge,
|
|
44
|
-
&:not(.numericBadge) {
|
|
45
|
-
@include numericBadge.S;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin displayerFilter {
|
|
51
|
-
display: grid;
|
|
52
|
-
|
|
53
|
-
.multipleSelect-displayer-filter {
|
|
54
|
-
grid-column-start: 1;
|
|
55
|
-
grid-row-start: 1;
|
|
56
|
-
display: flex;
|
|
57
|
-
gap: var(--pr-t-spacings-50);
|
|
58
|
-
min-inline-size: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.multipleSelect-displayer-search {
|
|
62
|
-
grid-column-start: 1;
|
|
63
|
-
grid-row-start: 1;
|
|
64
|
-
}
|
|
65
37
|
}
|
|
66
38
|
|
|
67
39
|
@mixin filterPill {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
@use '@lucca-front/scss/src/components/chip/exports' as chip;
|
|
2
3
|
|
|
3
4
|
@mixin focused {
|
|
4
5
|
@include a11y.focusVisible($offset: 3px);
|
|
@@ -16,6 +17,10 @@
|
|
|
16
17
|
--components-multiSelect-arrow-color: var(--pr-t-color-input-icon-disabled);
|
|
17
18
|
|
|
18
19
|
pointer-events: none;
|
|
20
|
+
|
|
21
|
+
.multipleSelect-displayer-chip {
|
|
22
|
+
@include chip.disabled;
|
|
23
|
+
}
|
|
19
24
|
}
|
|
20
25
|
|
|
21
26
|
@mixin expanded {
|
|
@@ -35,22 +40,6 @@
|
|
|
35
40
|
}
|
|
36
41
|
}
|
|
37
42
|
|
|
38
|
-
@mixin displayerFilterFilled {
|
|
39
|
-
.multipleSelect-displayer-search {
|
|
40
|
-
opacity: 0;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@mixin displayerFilterExpanded {
|
|
45
|
-
.multipleSelect-displayer-filter {
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.multipleSelect-displayer-search {
|
|
50
|
-
opacity: 1;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
43
|
@mixin selected {
|
|
55
44
|
.multipleSelect-displayer-search {
|
|
56
45
|
&[readonly],
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
min-block-size: var(--pr-t-spacings-500);
|
|
12
12
|
min-inline-size: var(--pr-t-spacings-500);
|
|
13
|
+
max-inline-size: var(--components-popover-maxInlineSize);
|
|
13
14
|
animation: popup var(--commons-animations-durations-fast) ease 1 forwards;
|
|
14
15
|
|
|
15
16
|
// need of a higher specificity
|
|
@@ -102,8 +102,12 @@
|
|
|
102
102
|
border-block-start: 0;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.richTextField-toolbar-chips-
|
|
105
|
+
.richTextField-toolbar-chips-chip {
|
|
106
106
|
border: 0;
|
|
107
|
+
|
|
108
|
+
&:focus-visible {
|
|
109
|
+
@include a11y.focusVisible;
|
|
110
|
+
}
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
.richTextField-content {
|
|
@@ -119,11 +123,6 @@
|
|
|
119
123
|
&:focus-visible {
|
|
120
124
|
@include a11y.focusVisible;
|
|
121
125
|
}
|
|
122
|
-
|
|
123
|
-
&.is-disabled {
|
|
124
|
-
--components-chip-backgroundColor: var(--palettes-neutral-200);
|
|
125
|
-
--components-chip-color: var(--pr-t-color-input-text-disabled);
|
|
126
|
-
}
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
.richTextField-content-placeholder {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@at-root ($atRoot) {
|
|
8
8
|
.simpleSelect-field {
|
|
9
9
|
display: grid;
|
|
10
|
-
grid-template-columns: 1fr auto auto;
|
|
10
|
+
grid-template-columns: auto 1fr auto auto;
|
|
11
11
|
align-items: center;
|
|
12
12
|
box-shadow: 0 0 0 1px var(--components-simpleSelect-border-color);
|
|
13
13
|
background-color: var(--components-simpleSelect-background);
|
|
@@ -22,8 +22,15 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
.simpleSelect-field-prefix {
|
|
26
|
+
&:not(:empty) {
|
|
27
|
+
display: flex;
|
|
28
|
+
margin-inline-end: var(--pr-t-spacings-50);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
.simpleSelect-field-input {
|
|
26
|
-
grid-column-start:
|
|
33
|
+
grid-column-start: 2;
|
|
27
34
|
grid-row-start: 1;
|
|
28
35
|
font: var(--components-simpleSelect-font);
|
|
29
36
|
padding: 0;
|
|
@@ -42,7 +49,7 @@
|
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
.simpleSelect-field-value {
|
|
45
|
-
grid-column-start:
|
|
52
|
+
grid-column-start: 2;
|
|
46
53
|
grid-row-start: 1;
|
|
47
54
|
inline-size: 100%;
|
|
48
55
|
font: var(--components-simpleSelect-font);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
4
|
+
|
|
5
|
+
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
3
6
|
|
|
4
7
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
8
|
background-color: var(--pr-t-elevation-surface-raised);
|
|
@@ -7,6 +10,7 @@
|
|
|
7
10
|
border-radius: var(--pr-t-border-radius-default);
|
|
8
11
|
list-style: none;
|
|
9
12
|
padding: 0;
|
|
13
|
+
overflow: hidden;
|
|
10
14
|
|
|
11
15
|
@at-root ($atRoot) {
|
|
12
16
|
.sortableList-item {
|
|
@@ -18,7 +22,9 @@
|
|
|
18
22
|
position: relative;
|
|
19
23
|
text-decoration: none;
|
|
20
24
|
gap: var(--pr-t-spacings-100);
|
|
21
|
-
|
|
25
|
+
|
|
26
|
+
// required to overload the cdk padding reset
|
|
27
|
+
padding: var(--components-sortableList-padding) !important;
|
|
22
28
|
|
|
23
29
|
&:last-child {
|
|
24
30
|
border: 0;
|
|
@@ -51,14 +57,27 @@
|
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
.sortableList-item-handler {
|
|
60
|
+
&.button {
|
|
61
|
+
@include button.S;
|
|
62
|
+
@include button.onlyIcon;
|
|
63
|
+
@include button.ghost;
|
|
64
|
+
|
|
65
|
+
--components-button-padding: var(--pr-t-spacings-50);
|
|
66
|
+
}
|
|
67
|
+
|
|
54
68
|
color: var(--palettes-neutral-600);
|
|
55
69
|
font-size: var(--components-sortableList-handler-size);
|
|
56
70
|
cursor: move;
|
|
71
|
+
inline-size: auto;
|
|
72
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
73
|
+
align-self: center;
|
|
57
74
|
|
|
58
|
-
|
|
59
|
-
|
|
75
|
+
&:not(:has(.lucca-icon)) {
|
|
76
|
+
&::before {
|
|
77
|
+
@include icon.generate('drag');
|
|
60
78
|
|
|
61
|
-
|
|
79
|
+
vertical-align: top;
|
|
80
|
+
}
|
|
62
81
|
}
|
|
63
82
|
}
|
|
64
83
|
|