@lucca-front/scss 21.1.3 → 21.1.4
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 +3 -3
- package/src/components/button/index.scss +0 -8
- package/src/components/button/mods.scss +37 -2
- package/src/components/button/states.scss +0 -14
- package/src/components/callout/component.scss +0 -7
- package/src/components/callout/index.scss +10 -6
- package/src/components/callout/mods.scss +14 -3
- package/src/components/calloutDisclosure/states.scss +1 -1
- package/src/components/emptyState/mods.scss +0 -1
- package/src/components/fileEntry/index.scss +6 -0
- package/src/components/fileEntry/mods.scss +5 -0
- package/src/components/fileToolbar/component.scss +0 -9
- package/src/components/fileToolbar/index.scss +6 -0
- package/src/components/fileToolbar/mods.scss +8 -0
- package/src/components/filterPill/states.scss +1 -1
- package/src/components/filterPill/vars.scss +1 -1
- package/src/components/gauge/component.scss +1 -1
- package/src/components/indexTable/component.scss +1 -0
- package/src/components/indexTable/mods.scss +1 -0
- package/src/components/multiSelect/states.scss +1 -1
- package/src/components/navside/states.scss +1 -1
- package/src/components/pagination/index.scss +2 -2
- package/src/components/simpleSelect/states.scss +1 -1
- package/src/components/table/mods.scss +1 -1
- package/src/components/textField/component.scss +0 -4
- package/src/components/textField/index.scss +8 -0
- package/src/components/textField/states.scss +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.4",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "21.1.
|
|
27
|
-
"@lucca/prisme": "21.1.
|
|
26
|
+
"@lucca-front/icons": "21.1.4",
|
|
27
|
+
"@lucca/prisme": "21.1.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -4,6 +4,29 @@
|
|
|
4
4
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
5
5
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
6
6
|
|
|
7
|
+
@mixin M {
|
|
8
|
+
@include icons.M;
|
|
9
|
+
|
|
10
|
+
--components-button-font: var(--pr-t-font-body-M);
|
|
11
|
+
--components-button-paddingBlock: var(--pr-t-spacings-100);
|
|
12
|
+
--components-button-paddingInline: var(--pr-t-spacings-150);
|
|
13
|
+
--components-button-gap: var(--pr-t-spacings-100);
|
|
14
|
+
|
|
15
|
+
.numericBadge {
|
|
16
|
+
@include numericBadge.M;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Deprecated
|
|
20
|
+
--components-button-font-size: var(--pr-t-font-body-M-fontSize);
|
|
21
|
+
--components-button-line-height: var(--pr-t-font-body-M-lineHeight);
|
|
22
|
+
|
|
23
|
+
// status icon
|
|
24
|
+
&::after {
|
|
25
|
+
font-size: var(--pr-t-font-body-M-lineHeight);
|
|
26
|
+
block-size: var(--pr-t-font-body-M-lineHeight);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
7
30
|
@mixin S {
|
|
8
31
|
@include icons.S;
|
|
9
32
|
|
|
@@ -19,6 +42,12 @@
|
|
|
19
42
|
// Deprecated
|
|
20
43
|
--components-button-font-size: var(--pr-t-font-body-S-fontSize);
|
|
21
44
|
--components-button-line-height: var(--pr-t-font-body-S-lineHeight);
|
|
45
|
+
|
|
46
|
+
// status icon
|
|
47
|
+
&::after {
|
|
48
|
+
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
49
|
+
block-size: var(--pr-t-font-body-S-lineHeight);
|
|
50
|
+
}
|
|
22
51
|
}
|
|
23
52
|
|
|
24
53
|
@mixin XS {
|
|
@@ -37,6 +66,12 @@
|
|
|
37
66
|
// Deprecated
|
|
38
67
|
--components-button-font-size: var(--pr-t-font-body-XS-fontSize);
|
|
39
68
|
--components-button-line-height: var(--pr-t-font-body-XS-lineHeight);
|
|
69
|
+
|
|
70
|
+
// status icon
|
|
71
|
+
&::after {
|
|
72
|
+
font-size: var(--pr-t-font-body-XS-lineHeight);
|
|
73
|
+
block-size: var(--pr-t-font-body-XS-lineHeight);
|
|
74
|
+
}
|
|
40
75
|
}
|
|
41
76
|
|
|
42
77
|
@mixin onlyIcon {
|
|
@@ -231,7 +266,7 @@
|
|
|
231
266
|
}
|
|
232
267
|
|
|
233
268
|
&[aria-expanded='true'] {
|
|
234
|
-
--components-button-arrow-transform: rotate(
|
|
269
|
+
--components-button-arrow-transform: rotate(180deg);
|
|
235
270
|
}
|
|
236
271
|
}
|
|
237
272
|
|
|
@@ -264,7 +299,7 @@
|
|
|
264
299
|
--components-button-color: var(--palettes-neutral-0);
|
|
265
300
|
|
|
266
301
|
background-image: linear-gradient(
|
|
267
|
-
|
|
302
|
+
225deg,
|
|
268
303
|
color-mix(in srgb, var(--palettes-AI-500) var(--components-button-AI-background-opacity), transparent),
|
|
269
304
|
color-mix(in srgb, var(--palettes-brand-400) var(--components-button-AI-background-opacity), transparent)
|
|
270
305
|
);
|
|
@@ -108,20 +108,6 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
@mixin successS {
|
|
112
|
-
&::after {
|
|
113
|
-
font-size: var(--pr-t-font-body-S-lineHeight);
|
|
114
|
-
block-size: var(--pr-t-font-body-S-lineHeight);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@mixin successXS {
|
|
119
|
-
&::after {
|
|
120
|
-
font-size: var(--pr-t-font-body-XS-lineHeight);
|
|
121
|
-
block-size: var(--pr-t-font-body-XS-lineHeight);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
111
|
@mixin successOutlined {
|
|
126
112
|
--components-button-backgroundColor: var(--palettes-neutral-0);
|
|
127
113
|
--components-button-boxShadow: 0 0 0 var(--commons-divider-width) var(--palettes-neutral-100);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
-
@use '@lucca-front/scss/src/commons/utils/color';
|
|
5
|
-
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
6
4
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
7
5
|
|
|
8
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
@@ -53,11 +51,6 @@
|
|
|
53
51
|
margin-block-start: var(--components-callout-content-description-action-marginBlockStart);
|
|
54
52
|
padding-block: var(--components-callout-content-description-action-paddingBlock);
|
|
55
53
|
padding-inline: 0;
|
|
56
|
-
|
|
57
|
-
.button {
|
|
58
|
-
@include color.palette('neutral');
|
|
59
|
-
@include button.S;
|
|
60
|
-
}
|
|
61
54
|
}
|
|
62
55
|
|
|
63
56
|
.callout-icon {
|
|
@@ -10,14 +10,18 @@
|
|
|
10
10
|
&.mod-S {
|
|
11
11
|
@include S;
|
|
12
12
|
}
|
|
13
|
-
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&.mod-AI {
|
|
15
|
+
@include AI;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
&:has(.callout-content-description-actions) {
|
|
19
|
+
@include actions;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:has(.callout-content-description-actions.mod-inline) {
|
|
23
|
+
@include actionsInline;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
|
|
@@ -42,6 +42,17 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
@mixin actions {
|
|
46
|
+
.button {
|
|
47
|
+
@include color.palette('neutral');
|
|
48
|
+
@include button.S;
|
|
49
|
+
|
|
50
|
+
&.mod-onlyIcon {
|
|
51
|
+
@include button.onlyIconS;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
45
56
|
@mixin actionsInline {
|
|
46
57
|
--components-callout-content-description-display: flex;
|
|
47
58
|
--components-callout-content-description-action-marginBlockStart: 0;
|
|
@@ -49,9 +60,9 @@
|
|
|
49
60
|
|
|
50
61
|
.button {
|
|
51
62
|
@include button.XS;
|
|
52
|
-
}
|
|
53
63
|
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
&.mod-onlyIcon {
|
|
65
|
+
@include button.onlyIconXS;
|
|
66
|
+
}
|
|
56
67
|
}
|
|
57
68
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
3
|
|
|
4
|
-
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
5
|
-
|
|
6
4
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
7
5
|
|
|
8
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
@@ -24,12 +22,5 @@
|
|
|
24
22
|
gap: var(--pr-t-spacings-50);
|
|
25
23
|
padding: var(--components-fileToolbar-list-padding);
|
|
26
24
|
}
|
|
27
|
-
|
|
28
|
-
.fileToolbar-list-item-button.button {
|
|
29
|
-
@include button.ghost;
|
|
30
|
-
@include button.S;
|
|
31
|
-
|
|
32
|
-
--components-button-padding: var(--pr-t-spacings-75) !important;
|
|
33
|
-
}
|
|
34
25
|
}
|
|
35
26
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--components-filterPill-checkbox-borderColor: var(--palettes-neutral-700);
|
|
13
13
|
--components-filterPill-checkbox-icon-scale: 0;
|
|
14
14
|
--components-filterPill-checkbox-icon-timingFonction: cubic-bezier(0.5, -0.5, 0.5, 0);
|
|
15
|
-
--components-filterPill-toggle-rotation:
|
|
15
|
+
--components-filterPill-toggle-rotation: 0deg;
|
|
16
16
|
--components-filterPill-toggle-iconColor: var(--palettes-neutral-600);
|
|
17
17
|
--components-filterPill-shadow: 0 0 0 1px var(--components-filterPill-borderColor);
|
|
18
18
|
--components-filterPill-display: flex;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
40
40
|
stroke-linecap: round;
|
|
41
41
|
stroke-dashoffset: 0;
|
|
42
|
-
transform: rotate(
|
|
42
|
+
transform: rotate(270deg);
|
|
43
43
|
transform-origin: 50% 50%;
|
|
44
44
|
stroke-dasharray: calc(var(--components-gauge-circleP) / 100 * var(--components-gauge-value)), 9999;
|
|
45
45
|
stroke: currentColor;
|
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
box-shadow: 0 0 0 1px var(--component-textField-border);
|
|
13
13
|
inline-size: var(--component-textField-width);
|
|
14
14
|
|
|
15
|
-
&:hover {
|
|
16
|
-
box-shadow: 0 0 0 1px var(--component-textField-borderHover);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
15
|
&:has(.textField-input-value:focus-visible) {
|
|
20
16
|
@include a11y.focusVisible($offset: 3px);
|
|
21
17
|
}
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer mods {
|
|
10
|
+
&:hover {
|
|
11
|
+
@include hover;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
&.mod-S {
|
|
11
15
|
@include S;
|
|
12
16
|
}
|
|
@@ -22,6 +26,10 @@
|
|
|
22
26
|
&.is-invalid,
|
|
23
27
|
&:has(.textField-input-value[aria-invalid='true']) {
|
|
24
28
|
@include invalid;
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
@include invalidHover;
|
|
32
|
+
}
|
|
25
33
|
}
|
|
26
34
|
|
|
27
35
|
&.is-disabled,
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
@mixin hover {
|
|
2
|
+
--component-textField-border: var(--component-textField-borderHover);
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
@mixin invalid {
|
|
2
6
|
--component-textField-border: var(--pr-t-color-input-border-critical);
|
|
3
7
|
--component-textField-background: var(--pr-t-color-input-background-critical);
|
|
4
8
|
--component-textField-placeholder: var(--pr-t-color-input-text-placeholder-critical);
|
|
9
|
+
}
|
|
5
10
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
11
|
+
@mixin invalidHover {
|
|
12
|
+
--component-textField-border: var(--pr-t-color-input-border-critical-hover);
|
|
9
13
|
}
|
|
10
14
|
|
|
11
15
|
@mixin disabled {
|