@lucca-front/scss 21.4.0 → 21.4.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 +3 -3
- package/src/components/comment/component.scss +1 -0
- package/src/components/comment/index.scss +4 -0
- package/src/components/comment/mods.scss +4 -0
- package/src/components/comment/vars.scss +1 -0
- package/src/components/dialog/component.scss +1 -0
- package/src/components/dialog/mods.scss +1 -0
- package/src/components/dialog/vars.scss +1 -0
- package/src/components/errorPage/index.scss +2 -2
- package/src/components/errorPage/mods.scss +1 -1
- package/src/components/filterPill/component.scss +1 -5
- package/src/components/filterPill/index.scss +8 -0
- package/src/components/filterPill/states.scss +4 -1
- package/src/components/filterPill/vars.scss +3 -0
- package/src/components/footer/component.scss +4 -0
- package/src/components/highlightData/component.scss +1 -1
- package/src/components/horizontalNavigation/component.scss +1 -0
- package/src/components/horizontalNavigation/mods.scss +1 -0
- package/src/components/horizontalNavigation/vars.scss +1 -0
- package/src/components/multiSelect/states.scss +1 -1
- package/src/components/readMore/component.scss +2 -0
- package/src/components/readMore/index.scss +4 -0
- package/src/components/readMore/mods.scss +4 -0
- package/src/components/readMore/vars.scss +1 -0
- package/src/components/resourceCard/component.scss +11 -1
- package/src/components/textField/component.scss +1 -0
- package/src/components/tooltip/component.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.2",
|
|
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.4.
|
|
28
|
-
"@lucca/prisme": "21.4.
|
|
27
|
+
"@lucca-front/icons": "21.4.2",
|
|
28
|
+
"@lucca/prisme": "21.4.2"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-comment-max-width: 66ch;
|
|
3
|
+
--components-comment-text-whiteSpace: normal;
|
|
3
4
|
--components-comment-text-font: var(--pr-t-font-body-M);
|
|
4
5
|
--components-comment-margin: 0;
|
|
5
6
|
--components-comment-content-margin: calc(1.5rem + var(--pr-t-spacings-100)); // 1.5rem for the width of the avatar and 0.5rem for the gap
|
|
@@ -158,6 +158,7 @@
|
|
|
158
158
|
padding-inline: var(--components-dialog-insideContent-paddingInline);
|
|
159
159
|
grid-area: overflow;
|
|
160
160
|
overflow: var(--components-dialog-insideContent-overflow);
|
|
161
|
+
flex-grow: var(--components-dialog-insideContent-flexGrow);
|
|
161
162
|
display: block;
|
|
162
163
|
outline: none;
|
|
163
164
|
}
|
|
@@ -155,6 +155,7 @@
|
|
|
155
155
|
|
|
156
156
|
@mixin withHorizontalNavigation {
|
|
157
157
|
--components-dialog-insideContent-overflow: none;
|
|
158
|
+
--components-dialog-insideContent-flexGrow: 1;
|
|
158
159
|
--components-dialog-inside-header-boxShadow: none;
|
|
159
160
|
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200) 0;
|
|
160
161
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--components-dialog-insideContent-paddingInline: var(--pr-t-spacings-300);
|
|
21
21
|
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-200);
|
|
22
22
|
--components-dialog-insideContent-overflow: auto;
|
|
23
|
+
--components-dialog-insideContent-flexGrow: 0;
|
|
23
24
|
--components-dialog-level: 0;
|
|
24
25
|
--components-dialog-translate-spacing: var(--pr-t-spacings-500);
|
|
25
26
|
--components-dialog-translate: calc(var(--components-dialog-translate-spacing) * var(--components-dialog-level) * -1);
|
|
@@ -104,22 +104,18 @@
|
|
|
104
104
|
|
|
105
105
|
display: flex;
|
|
106
106
|
margin-block-start: -1px;
|
|
107
|
-
margin-inline-start: var(--pr-t-spacings-50);
|
|
108
107
|
inline-size: calc(var(--pr-t-spacings-50) + var(--pr-t-spacings-200));
|
|
109
108
|
flex-shrink: 0;
|
|
110
109
|
z-index: 1;
|
|
111
110
|
color: var(--components-filterPill-toggle-iconColor);
|
|
112
111
|
cursor: var(--components-filterPill-label-cursor);
|
|
112
|
+
margin-inline-start: var(--components-filterPill-toggle-marginInlineStart);
|
|
113
113
|
|
|
114
114
|
.icon-arrowChevronBottom {
|
|
115
115
|
transition-property: transform;
|
|
116
116
|
transition-duration: var(--commons-animations-durations-fast);
|
|
117
117
|
transform: rotate(var(--components-filterPill-toggle-rotation));
|
|
118
118
|
}
|
|
119
|
-
|
|
120
|
-
.filterPill-value + & {
|
|
121
|
-
margin-inline-start: var(--components-filterPill-toggle-marginInlineStart);
|
|
122
|
-
}
|
|
123
119
|
}
|
|
124
120
|
|
|
125
121
|
.filterPill-clear.clear {
|
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
&:active {
|
|
39
39
|
@include filledActive;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
&:has(~ .filterPill_clear) {
|
|
43
|
+
@include filledClearable;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
&.mod-checkbox {
|
|
@@ -82,6 +86,10 @@
|
|
|
82
86
|
}
|
|
83
87
|
|
|
84
88
|
.filterPillWrapper {
|
|
89
|
+
@layer components {
|
|
90
|
+
@include varsWrapper;
|
|
91
|
+
}
|
|
92
|
+
|
|
85
93
|
@layer mods {
|
|
86
94
|
&.is-hidden {
|
|
87
95
|
@include hidden;
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
--components-filterPill-backgroundColor: var(--palettes-product-50);
|
|
68
68
|
--components-filterPill-color: var(--palettes-product-800);
|
|
69
69
|
--components-filterPill-toggle-iconColor: var(--palettes-product-700);
|
|
70
|
-
--components-filterPill-toggle-marginInlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
@mixin notFilled {
|
|
@@ -109,3 +108,7 @@
|
|
|
109
108
|
@mixin hidden {
|
|
110
109
|
--components-filterPillWrapper-display: none;
|
|
111
110
|
}
|
|
111
|
+
|
|
112
|
+
@mixin filledClearable {
|
|
113
|
+
--components-filterPill-toggle-marginInlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
114
|
+
}
|
|
@@ -18,5 +18,8 @@
|
|
|
18
18
|
--components-filterPill-arrowColor: var(--palettes-product-700);
|
|
19
19
|
--components-filterPill-label-maxInlineSize: none;
|
|
20
20
|
--components-filterPill-toggle-marginInlineStart: var(--pr-t-spacings-50);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin varsWrapper {
|
|
21
24
|
--components-filterPillWrapper-display: block;
|
|
22
25
|
}
|
|
@@ -149,6 +149,7 @@
|
|
|
149
149
|
.horizontalNavigation_panel {
|
|
150
150
|
display: var(--components-horizontalNavigation-panel-display);
|
|
151
151
|
overflow: var(--components-horizontalNavigation-panel-overflow);
|
|
152
|
+
flex-grow: var(--components-horizontalNavigation-panel-flexGrow);
|
|
152
153
|
min-height: 0;
|
|
153
154
|
flex-direction: column;
|
|
154
155
|
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
@mixin insideDialogPanel {
|
|
116
116
|
--components-horizontalNavigation-panel-display: flex;
|
|
117
117
|
--components-horizontalNavigation-panel-overflow: auto;
|
|
118
|
+
--components-horizontalNavigation-panel-flexGrow: 1;
|
|
118
119
|
|
|
119
120
|
&:focus-visible {
|
|
120
121
|
@include a11y.focusVisible($offset: -4px, $borderRadius: var(--pr-t-border-radius-structure));
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@mixin disabled {
|
|
15
|
-
--components-multiSelect-background: var(--
|
|
15
|
+
--components-multiSelect-background: var(--pr-t-color-input-background-disabled);
|
|
16
16
|
--components-multiSelect-placeholder: var(--commons-disabled-placeholder);
|
|
17
17
|
--components-multiSelect-arrow-color: var(--pr-t-color-input-icon-disabled);
|
|
18
18
|
|
|
@@ -3,4 +3,5 @@
|
|
|
3
3
|
--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);
|
|
4
4
|
--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);
|
|
5
5
|
--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);
|
|
6
|
+
--components-readMore-content-whiteSpace: normal;
|
|
6
7
|
}
|
|
@@ -22,7 +22,17 @@
|
|
|
22
22
|
|
|
23
23
|
@at-root ($atRoot) {
|
|
24
24
|
.resourceCardWrapper {
|
|
25
|
-
grid-template-columns:
|
|
25
|
+
grid-template-columns:
|
|
26
|
+
repeat(
|
|
27
|
+
auto-fill,
|
|
28
|
+
minmax(
|
|
29
|
+
min(
|
|
30
|
+
var(--components-resourceCardWrapper-gridTemplateColumnsMin),
|
|
31
|
+
100%
|
|
32
|
+
),
|
|
33
|
+
1fr
|
|
34
|
+
)
|
|
35
|
+
);
|
|
26
36
|
display: var(--components-resourceCardWrapper-display);
|
|
27
37
|
flex-direction: column;
|
|
28
38
|
gap: var(--pr-t-spacings-100);
|