@lucca-front/scss 20.2.0 → 20.2.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 +1 -1
- package/src/components/button/states.scss +2 -0
- package/src/components/readMore/component.scss +21 -5
- package/src/components/readMore/states.scss +2 -0
- package/src/components/richText/component.scss +1 -3
- package/src/components/skeleton/mods.scss +1 -1
- package/src/components/textFlow/component.scss +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.1",
|
|
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": "20.2.
|
|
26
|
+
"@lucca-front/icons": "20.2.1"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/commons/config.scss
CHANGED
|
@@ -66,7 +66,7 @@ $fontTokens: (
|
|
|
66
66
|
heading-3-fontWeight: var(--pr-t-font-fontWeight-bold),
|
|
67
67
|
heading-4-fontSize: var(--pr-t-font-fontSize-200),
|
|
68
68
|
heading-4-lineHeight: var(--pr-t-font-lineHeight-300),
|
|
69
|
-
heading-4-fontWeight: var(--pr-t-font-fontWeight-
|
|
69
|
+
heading-4-fontWeight: var(--pr-t-font-fontWeight-bold),
|
|
70
70
|
highlight-XXL-fontSize: var(--pr-t-font-fontSize-350),
|
|
71
71
|
highlight-XXL-lineHeight: var(--pr-t-font-lineHeight-400),
|
|
72
72
|
highlight-XXL-fontWeight: var(--pr-t-font-fontWeight-black),
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
@mixin loadingXS {
|
|
36
36
|
@include loading.spinner(var(--pr-t-font-body-XS-lineHeight));
|
|
37
|
+
|
|
37
38
|
--commons-loading-borderWidth: 2px;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -108,6 +109,7 @@
|
|
|
108
109
|
|
|
109
110
|
@mixin error {
|
|
110
111
|
@include keyframe.shake;
|
|
112
|
+
|
|
111
113
|
animation-name: shake;
|
|
112
114
|
animation-iteration-count: 1;
|
|
113
115
|
animation-duration: var(--commons-animations-durations-standard);
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
content: var(--components-readMore-content-lastChild-content) / '';
|
|
45
45
|
visibility: hidden;
|
|
46
46
|
white-space: nowrap;
|
|
47
|
-
font
|
|
47
|
+
font: var(--pr-t-font-body-M);
|
|
48
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
48
49
|
padding-inline-start: var(--components-readMore-link-paddingInlineStart);
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -56,17 +57,32 @@
|
|
|
56
57
|
padding: var(--pr-t-spacings-50);
|
|
57
58
|
margin: calc(var(--pr-t-spacings-50) * -1);
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
$notPlainText: '> p, > ul, > ol, > h1, > h2, > h3, > h4, > h5, > h6';
|
|
61
|
+
$wrappingElements: 'ol, ul';
|
|
62
|
+
|
|
63
|
+
&:not(:has(#{$notPlainText})) {
|
|
60
64
|
&::after {
|
|
61
65
|
@extend %after;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
|
|
65
|
-
&:has(
|
|
69
|
+
&:has(#{$notPlainText}) {
|
|
66
70
|
> * {
|
|
67
71
|
&:last-child {
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
&:not(#{$wrappingElements}) {
|
|
73
|
+
&::after {
|
|
74
|
+
@extend %after;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:is(#{$wrappingElements}) {
|
|
79
|
+
> * {
|
|
80
|
+
&:last-child {
|
|
81
|
+
&::after {
|
|
82
|
+
@extend %after;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
70
86
|
}
|
|
71
87
|
}
|
|
72
88
|
}
|