@lucca-front/scss 21.2.4-rc.1 → 21.2.5
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/commons/vars.scss +4 -0
- package/src/components/appLayout/component.scss +4 -1
- package/src/components/bubbleIcon/index.scss +4 -0
- package/src/components/bubbleIcon/mods.scss +9 -1
- package/src/components/checkbox/states.scss +1 -1
- package/src/components/checkboxField/states.scss +1 -1
- package/src/components/dialog/component.scss +2 -0
- package/src/components/dialog/mods.scss +4 -2
- package/src/components/dialog/vars.scss +2 -0
- package/src/components/footer/component.scss +1 -0
- package/src/components/footer/mods.scss +1 -0
- package/src/components/footer/vars.scss +1 -0
- package/src/components/pageHeader/component.scss +3 -2
- package/src/components/pageHeader/mods.scss +2 -0
- package/src/components/pageHeader/vars.scss +2 -0
- package/src/components/radio/states.scss +3 -3
- package/src/components/radioField/states.scss +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.5",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"normalize.css": "^8.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@lucca-front/icons": "21.2.
|
|
28
|
-
"@lucca/prisme": "21.2.
|
|
27
|
+
"@lucca-front/icons": "21.2.5",
|
|
28
|
+
"@lucca/prisme": "21.2.5"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/commons/vars.scss
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
3
|
|
|
4
4
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
|
-
|
|
5
|
+
@media screen {
|
|
6
|
+
block-size: var(--components-appLayout-blockSize);
|
|
7
|
+
}
|
|
8
|
+
|
|
6
9
|
inline-size: var(--components-appLayout-inlineSize);
|
|
7
10
|
grid-template: var(--components-appLayout-gridTemplate);
|
|
8
11
|
display: grid;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
2
|
|
|
3
|
+
@mixin XS {
|
|
4
|
+
--components-bubbleIcon-size: var(--pr-t-spacings-300);
|
|
5
|
+
|
|
6
|
+
.lucca-icon {
|
|
7
|
+
@include icon.XS;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
@mixin S {
|
|
4
12
|
--components-bubbleIcon-size: var(--pr-t-spacings-400);
|
|
5
13
|
|
|
6
14
|
.lucca-icon {
|
|
7
|
-
@include icon.
|
|
15
|
+
@include icon.S;
|
|
8
16
|
}
|
|
9
17
|
}
|
|
10
18
|
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
|
|
118
118
|
.dialog-inside-footer {
|
|
119
119
|
grid-area: footer;
|
|
120
|
+
margin-block: var(--components-dialog-inside-footer-marginBlock);
|
|
120
121
|
|
|
121
122
|
&.footer {
|
|
122
123
|
@include footer.insideDialog;
|
|
@@ -125,6 +126,7 @@
|
|
|
125
126
|
|
|
126
127
|
.dialog-inside-header {
|
|
127
128
|
display: grid;
|
|
129
|
+
margin-block: var(--components-dialog-inside-header-marginBlock);
|
|
128
130
|
padding-block: var(--components-dialog-inside-header-paddingBlock);
|
|
129
131
|
padding-inline: var(--components-dialog-inside-header-paddingInline);
|
|
130
132
|
grid-template-areas: var(--components-dialog-insideHeaderAreas);
|
|
@@ -109,16 +109,18 @@
|
|
|
109
109
|
--components-dialog-inside-header-button-position: absolute;
|
|
110
110
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-100);
|
|
111
111
|
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-100);
|
|
112
|
-
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50)
|
|
112
|
+
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50) 0;
|
|
113
113
|
--components-dialog-inside-header-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
114
114
|
--components-dialog-insideContent-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
115
|
+
--components-dialog-inside-header-marginBlock: var(--pr-t-spacings-500) 0;
|
|
116
|
+
--components-dialog-inside-footer-marginBlock: 0 var(--pr-t-spacings-500);
|
|
115
117
|
|
|
116
118
|
.dialog-inside-footer {
|
|
117
119
|
--components-footer-actions-margin: 0;
|
|
118
120
|
--components-footer-boxShadow: none;
|
|
119
|
-
--components-footer-paddingBlock: 0 var(--pr-t-spacings-150);
|
|
120
121
|
--components-footer-overflow: visible;
|
|
121
122
|
--components-footer-paddingInline: var(--pr-t-spacings-700) var(--pr-t-spacings-400);
|
|
123
|
+
--components-footer-paddingBlock: var(--pr-t-spacings-300) var(--pr-t-spacings-150);
|
|
122
124
|
}
|
|
123
125
|
|
|
124
126
|
.dialog-inside-header {
|
|
@@ -38,4 +38,6 @@
|
|
|
38
38
|
--components-dialog-inside-fancyIllustrations-inlineSize: var(--components-dialog-inside-paddingInlineEnd);
|
|
39
39
|
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-200);
|
|
40
40
|
--components-dialog-inside-header-button-insetInlineEnd: var(--pr-t-spacings-300);
|
|
41
|
+
--components-dialog-inside-header-marginBlock: 0px;
|
|
42
|
+
--components-dialog-inside-footer-marginBlock: 0px;
|
|
41
43
|
}
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
align-items: flex-start;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
gap: var(--pr-t-spacings-100);
|
|
18
|
+
flex-wrap: var(--components-pageHeader-content-flexWrap);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.pageHeader-content-title {
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
align-items: center;
|
|
43
43
|
flex-wrap: wrap;
|
|
44
44
|
row-gap: var(--pr-t-spacings-200);
|
|
45
|
+
flex-shrink: var(--components-pageHeader-content-action-flexShrink);
|
|
45
46
|
|
|
46
47
|
.button {
|
|
47
48
|
margin: 0;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
cursor: default;
|
|
5
5
|
|
|
6
6
|
&::before {
|
|
7
|
-
border-color: var(--palettes-neutral-
|
|
7
|
+
border-color: var(--palettes-neutral-300);
|
|
8
8
|
border-width: 2px;
|
|
9
9
|
border-style: solid;
|
|
10
10
|
}
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
@mixin disabledChecked {
|
|
19
19
|
~ .radio-label {
|
|
20
20
|
&::before {
|
|
21
|
-
border-color: var(--palettes-neutral-
|
|
21
|
+
border-color: var(--palettes-neutral-300); // disabled token candidate
|
|
22
22
|
border-width: 2px;
|
|
23
23
|
border-style: solid;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&::after {
|
|
27
|
-
background-color: var(--palettes-neutral-
|
|
27
|
+
background-color: var(--palettes-neutral-300); // disabled token candidate
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|
|
29
29
|
@mixin checkedDisabled {
|
|
30
30
|
~ .radioField-icon {
|
|
31
|
-
background-color: var(--palettes-neutral-
|
|
32
|
-
border-color: var(--palettes-neutral-
|
|
31
|
+
background-color: var(--palettes-neutral-300); // disabled token candidate
|
|
32
|
+
border-color: var(--palettes-neutral-300); // disabled token candidate
|
|
33
33
|
color: var(--palettes-neutral-500); // disabled token candidate
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
cursor: default;
|
|
59
59
|
|
|
60
60
|
~ .radioField-icon {
|
|
61
|
-
border-color: var(--palettes-neutral-
|
|
61
|
+
border-color: var(--palettes-neutral-300); // disabled token candidate
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|