@lucca-front/scss 18.3.0 → 18.3.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/core.scss +1 -1
- package/src/components/calloutDisclosure/component.scss +5 -0
- package/src/components/checkboxField/index.scss +24 -0
- package/src/components/comment/component.scss +1 -1
- package/src/components/dialog/component.scss +3 -0
- package/src/components/form/index.scss +31 -10
- package/src/components/form/mods.scss +1 -1
- package/src/components/form/states.scss +6 -0
- package/src/components/indexTable/index.scss +1 -0
- package/src/components/loading/mods.scss +1 -0
- package/src/components/tableFixedDeprecated/index.scss +8 -2
- package/src/components/tableFixedDeprecated/mods.scss +5 -1
- package/src/components/textField/component.scss +4 -0
- package/src/components/userTile/component.scss +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.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": "18.3.
|
|
26
|
+
"@lucca-front/icons": "18.3.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/commons/core.scss
CHANGED
|
@@ -115,7 +115,7 @@ $overflow: 'hidden', 'auto', 'visible', 'scroll';
|
|
|
115
115
|
@each $corner in $corners {
|
|
116
116
|
@each $key, $value in config.$borderRadius {
|
|
117
117
|
.u-border#{transform.capitalize(transform.camelize($corner))}Radius#{transform.capitalize($key)} {
|
|
118
|
-
border-#{$corner}radius: $
|
|
118
|
+
border-#{$corner}radius: var(--commons-borderRadius-#{$key}) #{$suffix};
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
box-shadow: none;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
&::-webkit-details-marker {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
.calloutDisclosure-summary-icon {
|
|
@@ -48,6 +52,7 @@
|
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
.calloutDisclosure-summary-chevron {
|
|
55
|
+
align-self: start;
|
|
51
56
|
color: var(--palettes-neutral-700);
|
|
52
57
|
margin-left: auto;
|
|
53
58
|
transition: transform var(--commons-animations-durations-standard) ease;
|
|
@@ -21,25 +21,49 @@
|
|
|
21
21
|
|
|
22
22
|
&:hover {
|
|
23
23
|
@include hover;
|
|
24
|
+
|
|
25
|
+
&[aria-checked='mixed'] {
|
|
26
|
+
@include checkedHover;
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
&:active {
|
|
27
31
|
@include active;
|
|
32
|
+
|
|
33
|
+
&[aria-checked='mixed'] {
|
|
34
|
+
@include checkedActive;
|
|
35
|
+
}
|
|
28
36
|
}
|
|
29
37
|
|
|
30
38
|
&:disabled {
|
|
31
39
|
@include disabled;
|
|
40
|
+
|
|
41
|
+
&[aria-checked='mixed'] {
|
|
42
|
+
@include checkedDisabled;
|
|
43
|
+
}
|
|
32
44
|
}
|
|
33
45
|
|
|
34
46
|
&[aria-invalid='true'] {
|
|
35
47
|
@include invalid;
|
|
36
48
|
|
|
49
|
+
&[aria-checked='mixed'] {
|
|
50
|
+
@include checkedInvalid;
|
|
51
|
+
}
|
|
52
|
+
|
|
37
53
|
&:hover {
|
|
38
54
|
@include invalidHover;
|
|
55
|
+
|
|
56
|
+
&[aria-checked='mixed'] {
|
|
57
|
+
@include checkedInvalidHover;
|
|
58
|
+
}
|
|
39
59
|
}
|
|
40
60
|
|
|
41
61
|
&:active {
|
|
42
62
|
@include invalidActive;
|
|
63
|
+
|
|
64
|
+
&[aria-checked='mixed'] {
|
|
65
|
+
@include checkedInvalidActive;
|
|
66
|
+
}
|
|
43
67
|
}
|
|
44
68
|
}
|
|
45
69
|
|
|
@@ -90,6 +90,8 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.dialog-inside-footer {
|
|
93
|
+
grid-area: footer;
|
|
94
|
+
|
|
93
95
|
&.footer {
|
|
94
96
|
background-color: transparent;
|
|
95
97
|
position: relative;
|
|
@@ -106,6 +108,7 @@
|
|
|
106
108
|
gap: var(--pr-t-spacings-200);
|
|
107
109
|
position: relative;
|
|
108
110
|
z-index: 1;
|
|
111
|
+
grid-area: header;
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
.dialog-inside-content {
|
|
@@ -20,6 +20,23 @@
|
|
|
20
20
|
&.mod-S {
|
|
21
21
|
@include S;
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
&:has(~ .box) {
|
|
25
|
+
.form-field {
|
|
26
|
+
&.mod-withArrow {
|
|
27
|
+
@include withArrow;
|
|
28
|
+
|
|
29
|
+
&.mod-S {
|
|
30
|
+
@include withArrowS;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:has(.radioField-input[aria-invalid='true']),
|
|
37
|
+
&:has(.checkboxField-input[aria-invalid='true']) {
|
|
38
|
+
@include legendInvalid;
|
|
39
|
+
}
|
|
23
40
|
}
|
|
24
41
|
|
|
25
42
|
.form-field {
|
|
@@ -31,14 +48,6 @@
|
|
|
31
48
|
@include XS;
|
|
32
49
|
}
|
|
33
50
|
|
|
34
|
-
&.mod-withArrow {
|
|
35
|
-
@include withArrow;
|
|
36
|
-
|
|
37
|
-
&.mod-S {
|
|
38
|
-
@include withArrowS;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
51
|
&.mod-checkable,
|
|
43
52
|
&:has(.radioField),
|
|
44
53
|
&:has(.checkboxField),
|
|
@@ -46,12 +55,16 @@
|
|
|
46
55
|
@include checkable;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
|
-
&:has(.textField-input-value[aria-invalid='true'],
|
|
58
|
+
&:has(.textField-input-value[aria-invalid='true']),
|
|
59
|
+
&:has(.timePicker-fieldset-group-textfield-input[aria-invalid='true']),
|
|
60
|
+
&:has(.simpleSelect-input[aria-invalid='true']),
|
|
61
|
+
&:has(.multipleSelect-displayer-search[aria-invalid='true']) {
|
|
50
62
|
@include invalid;
|
|
51
63
|
}
|
|
52
64
|
|
|
53
65
|
&:has(.radioField-input:disabled),
|
|
54
|
-
&:has(.checkboxField-input:disabled)
|
|
66
|
+
&:has(.checkboxField-input:disabled),
|
|
67
|
+
&:has(.switchField-input:disabled) {
|
|
55
68
|
.formLabel {
|
|
56
69
|
@include formLabel.disabled;
|
|
57
70
|
}
|
|
@@ -60,6 +73,14 @@
|
|
|
60
73
|
@include inlineMessage.disabled;
|
|
61
74
|
}
|
|
62
75
|
}
|
|
76
|
+
|
|
77
|
+
&.mod-withArrow {
|
|
78
|
+
@include withArrow;
|
|
79
|
+
|
|
80
|
+
&.mod-S {
|
|
81
|
+
@include withArrowS;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
63
84
|
}
|
|
64
85
|
|
|
65
86
|
// deprecated
|
|
@@ -2,18 +2,24 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
|
+
.table {
|
|
6
|
+
&.mod-layoutFixed {
|
|
7
|
+
@include layoutFixed;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
.table-head-row-cell,
|
|
6
12
|
.table-body-row-cell,
|
|
7
13
|
.table-foot-row-cell {
|
|
8
14
|
@for $i from 2 through 20 {
|
|
9
15
|
&.mod-layoutFixed-#{$i} {
|
|
10
|
-
@include
|
|
16
|
+
@include layoutFixedCell($i);
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
@each $breakpoint, $value in config.$breakpoints {
|
|
14
20
|
@include media.min($breakpoint) {
|
|
15
21
|
&.mod-layoutFixed-#{$i}\@mediaMin#{$breakpoint} {
|
|
16
|
-
@include
|
|
22
|
+
@include layoutFixedCell($i);
|
|
17
23
|
}
|
|
18
24
|
}
|
|
19
25
|
}
|
|
@@ -10,10 +10,17 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
align-self: start;
|
|
12
12
|
align-items: center;
|
|
13
|
-
height: calc(var(--components-userTile-title-lineHeight) + var(--components-userTile-info-lineHeight));
|
|
14
13
|
min-height: var(--components-avatar-size);
|
|
15
14
|
}
|
|
16
15
|
|
|
16
|
+
// .user-tile-label is deprecated
|
|
17
|
+
&:has(.userTile-content-info, .user-tile-label) {
|
|
18
|
+
// Apply height to avatar (calculed on title & info height) to avoid img overflow
|
|
19
|
+
.avatar {
|
|
20
|
+
height: calc(var(--components-userTile-title-lineHeight) + var(--components-userTile-info-lineHeight));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
@at-root ($atRoot) {
|
|
18
25
|
// .user-info is deprecated
|
|
19
26
|
.userTile-content,
|