@lucca-front/scss 20.3.3-rc.6 → 21.0.0-rc.1
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/calendar/component.scss +5 -9
- package/src/components/calendar/index.scss +8 -0
- package/src/components/calendar/states.scss +6 -0
- package/src/components/calendar/vars.scss +2 -0
- 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/chip/component.scss +5 -0
- package/src/components/chip/index.scss +4 -0
- package/src/components/chip/mods.scss +4 -0
- package/src/components/clear/component.scss +1 -1
- package/src/components/clear/index.scss +18 -5
- package/src/components/clear/mods.scss +1 -1
- package/src/components/clear/states.scss +10 -1
- package/src/components/clear/vars.scss +1 -0
- package/src/components/dataTable/component.scss +1 -1
- package/src/components/dataTable/index.scss +14 -0
- package/src/components/dataTable/mods.scss +16 -3
- package/src/components/dataTable/vars.scss +0 -1
- package/src/components/dataTableSticked/index.scss +10 -0
- package/src/components/dataTableSticked/mods.scss +4 -8
- package/src/components/dataTableSticked/states.scss +7 -0
- package/src/components/dataTableSticked/vars.scss +2 -0
- package/src/components/dialog/component.scss +1 -14
- package/src/components/dialog/index.scss +4 -0
- package/src/components/dialog/mods.scss +15 -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/filterPill/component.scss +0 -1
- package/src/components/filterPill/states.scss +3 -2
- package/src/components/filterPill/vars.scss +0 -1
- package/src/components/form/component.scss +6 -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/index.scss +4 -14
- package/src/components/multiSelect/mods.scss +0 -28
- package/src/components/multiSelect/states.scss +0 -16
- package/src/components/plgPush/component.scss +4 -0
- package/src/components/richText/component.scss +5 -6
- package/src/components/richText/index.scss +4 -0
- package/src/components/richText/states.scss +5 -0
- 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
|
@@ -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 {
|
|
@@ -35,22 +35,6 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
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
38
|
@mixin selected {
|
|
55
39
|
.multipleSelect-displayer-search {
|
|
56
40
|
&[readonly],
|
|
@@ -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 {
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
--components-richTextField-borderColor: var(--pr-t-color-input-border);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
@mixin chipDisabled {
|
|
20
|
+
--components-chip-backgroundColor: var(--palettes-neutral-200);
|
|
21
|
+
--components-chip-color: var(--pr-t-color-text-subtle);
|
|
22
|
+
}
|
|
23
|
+
|
|
19
24
|
@mixin error {
|
|
20
25
|
--components-richTextField-borderColor: var(--pr-t-color-input-border-critical);
|
|
21
26
|
--components-richTextField-backgroundColor: var(--pr-t-color-input-background-critical);
|
|
@@ -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
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
|
+
|
|
1
3
|
@mixin clickable {
|
|
2
4
|
transition-duration: var(--commons-animations-durations-fast);
|
|
3
5
|
transition-property: background-color;
|
|
@@ -18,4 +20,8 @@
|
|
|
18
20
|
// Deprecated
|
|
19
21
|
--components-sortableList-description-fontSize: var(--pr-t-font-body-S-fontSize);
|
|
20
22
|
--components-sortableList-description-lineHeight: var(--pr-t-font-body-S-lineHeight);
|
|
23
|
+
|
|
24
|
+
.lucca-icon {
|
|
25
|
+
@include icon.S;
|
|
26
|
+
}
|
|
21
27
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.table-head-row-cell,
|
|
27
27
|
.table-body-row-cell,
|
|
28
28
|
.table-foot-row-cell {
|
|
29
|
-
@include
|
|
29
|
+
@include cellInlineSize;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
.table-head-row-cell,
|
|
37
37
|
.table-body-row-cell,
|
|
38
38
|
.table-foot-row-cell {
|
|
39
|
-
@include
|
|
39
|
+
@include cellInlineSize;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
@mixin
|
|
46
|
+
@mixin cellInlineSize {
|
|
47
47
|
min-inline-size: var(--cell-width, auto);
|
|
48
48
|
inline-size: var(--cell-width, auto);
|
|
49
49
|
}
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
@include reset.list;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
// Second selector to get rid of tableOfContent-list-item-action on angular component
|
|
16
|
+
.tableOfContent-list-item-action, .tableOfContent-list-item > a {
|
|
16
17
|
@include reset.button;
|
|
17
18
|
|
|
18
19
|
border-radius: var(--pr-t-border-radius-default);
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// Second selector to get rid of tableOfContent-list-item-action on angular component
|
|
11
|
+
.tableOfContent-list-item-action, .tableOfContent-list-item > a {
|
|
11
12
|
@layer mods {
|
|
12
13
|
&:not(.disabled, .is-disabled, [disabled]) {
|
|
13
14
|
&:is(:hover) {
|
|
@@ -391,15 +391,15 @@
|
|
|
391
391
|
|
|
392
392
|
.textfield-input {
|
|
393
393
|
&:is(:hover) {
|
|
394
|
-
@include
|
|
394
|
+
@include inputFramedHover;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
&:is(:focus) {
|
|
398
|
-
@include
|
|
398
|
+
@include inputFramedFocus;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
&:is(:invalid, .is-invalid, .invalid) {
|
|
402
|
-
@include
|
|
402
|
+
@include inputFramedInvalid;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
@mixin
|
|
43
|
+
@mixin inputFramedHover {
|
|
44
44
|
&:not(:disabled, .is-error, .is-success, .is-valid, .is-warning, .is-invalid) {
|
|
45
45
|
position: relative;
|
|
46
46
|
z-index: 1;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@mixin
|
|
52
|
+
@mixin inputFramedFocus {
|
|
53
53
|
&:not(:disabled, .is-error, .is-success, .is-valid, .is-warning, .is-invalid) {
|
|
54
54
|
position: relative;
|
|
55
55
|
z-index: 4;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
@mixin
|
|
63
|
+
@mixin inputFramedInvalid {
|
|
64
64
|
~ .textfield-label {
|
|
65
65
|
color: var(--palettes-error-700);
|
|
66
66
|
}
|