@lucca-front/scss 21.1.0-rc.1 → 21.1.0-rc.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 -2
- package/src/components/appLayout/component.scss +0 -1
- package/src/components/appLayout/index.scss +0 -5
- package/src/components/appLayout/mods.scss +0 -4
- package/src/components/callout/component.scss +1 -0
- package/src/components/clear/index.scss +2 -1
- package/src/components/dialog/index.scss +0 -4
- package/src/components/dialog/mods.scss +0 -4
- package/src/components/dialog/vars.scss +1 -1
- package/src/components/errorPage/component.scss +58 -42
- package/src/components/errorPage/index.scss +0 -4
- package/src/components/errorPage/mods.scss +0 -38
- package/src/components/fieldset/component.scss +0 -4
- package/src/components/filterPill/component.scss +1 -12
- package/src/components/form/component.scss +1 -1
- package/src/components/highlightData/component.scss +0 -1
- package/src/components/highlightData/mods.scss +2 -3
- package/src/components/highlightData/vars.scss +2 -3
- package/src/components/index.scss +0 -1
- package/src/components/inputFramed/component.scss +11 -16
- package/src/components/mainLayout/component.scss +2 -2
- package/src/components/multiSelect/mods.scss +1 -1
- package/src/components/navside/component.scss +0 -4
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/timepicker/component.scss +6 -8
- package/src/components/timepicker/mods.scss +3 -4
- package/src/components/timepicker/vars.scss +3 -5
- package/src/components/presentation/component.scss +0 -20
- package/src/components/presentation/exports.scss +0 -4
- package/src/components/presentation/index.scss +0 -14
- package/src/components/presentation/mods.scss +0 -3
- package/src/components/presentation/states.scss +0 -0
- package/src/components/presentation/vars.scss +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "21.1.0-rc.
|
|
3
|
+
"version": "21.1.0-rc.2",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "21.1.0-rc.
|
|
26
|
+
"@lucca-front/icons": "21.1.0-rc.2",
|
|
27
|
+
"@lucca/prisme": "21.1.0-rc.2"
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
9
9
|
--components-dialog-inset: 0;
|
|
10
10
|
--components-dialog-animationOpening: scaleIn;
|
|
11
|
-
--components-dialog-insideHeaderAreas: 'container close';
|
|
11
|
+
--components-dialog-insideHeaderAreas: 'container action close';
|
|
12
12
|
--components-dialog-insideHeaderTitleAlign: left;
|
|
13
13
|
--components-dialog-insideHeaderTitlePadding: calc(var(--pr-t-spacings-50) / 2) 0;
|
|
14
14
|
--components-dialog-insideHeaderButtonDisplay: flex;
|
|
@@ -1,50 +1,66 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
1
|
+
@mixin component {
|
|
4
2
|
background-color: var(--components-errorPage-background);
|
|
5
3
|
block-size: 100vh;
|
|
6
4
|
inline-size: 100vw;
|
|
7
5
|
line-height: 1.2;
|
|
8
6
|
overflow: hidden;
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
8
|
+
.errorPage-section {
|
|
9
|
+
block-size: 100%;
|
|
10
|
+
max-inline-size: 1200px;
|
|
11
|
+
padding-block: 0;
|
|
12
|
+
padding-inline: var(--pr-t-spacings-400);
|
|
13
|
+
inline-size: 100vw;
|
|
14
|
+
margin-block: 0;
|
|
15
|
+
margin-inline: auto;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.errorPage-section-info {
|
|
22
|
+
margin-block-start: 10vh;
|
|
23
|
+
max-inline-size: 90vw;
|
|
24
|
+
inline-size: 450px;
|
|
25
|
+
padding-inline-end: var(--pr-t-spacings-400);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.errorPage-section-info-title {
|
|
29
|
+
font: var(--pr-t-font-heading-1);
|
|
30
|
+
margin-block-end: var(--pr-t-spacings-50);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.errorPage-section-info-text {
|
|
34
|
+
font-size: var(--pr-t-font-body-1-fontSize);
|
|
35
|
+
line-height: var(--pr-t-font-body-1-lineHeight);
|
|
36
|
+
margin-block-end: var(--pr-t-spacings-150);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.errorPage-section-image {
|
|
40
|
+
margin-block-start: 10vh;
|
|
41
|
+
inline-size: 50%;
|
|
42
|
+
max-inline-size: 580px;
|
|
43
|
+
min-inline-size: 350px;
|
|
44
|
+
block-size: auto;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin compact {
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
|
|
51
|
+
.errorPage-section {
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.errorPage-section-info {
|
|
57
|
+
margin-block: var(--pr-t-spacings-400);
|
|
58
|
+
order: 1;
|
|
59
|
+
padding: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.errorPage-section-image {
|
|
63
|
+
margin-block-start: var(--pr-t-spacings-400);
|
|
64
|
+
order: 0;
|
|
49
65
|
}
|
|
50
66
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
@mixin compact {
|
|
2
|
-
overflow-y: auto;
|
|
3
|
-
|
|
4
|
-
.errorPage-section {
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.errorPage-section-info {
|
|
10
|
-
margin-block: var(--pr-t-spacings-400);
|
|
11
|
-
order: 1;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.errorPage-section-image {
|
|
16
|
-
margin-block-start: var(--pr-t-spacings-400);
|
|
17
|
-
order: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin inAppLayout {
|
|
22
|
-
&,
|
|
23
|
-
.errorPage-section {
|
|
24
|
-
block-size: 100%;
|
|
25
|
-
inline-size: 100%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.errorPage-section {
|
|
29
|
-
gap: var(--pr-t-spacings-400);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.errorPage-section-image,
|
|
33
|
-
.errorPage-section-info {
|
|
34
|
-
margin-block-start: 0;
|
|
35
|
-
padding: 0;
|
|
36
|
-
max-inline-size: 100%;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -40,18 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
.filterPill_popover-content-option {
|
|
42
42
|
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
43
|
-
border-radius: var(--pr-t-border-radius-
|
|
44
|
-
position: relative;
|
|
45
|
-
|
|
46
|
-
.formLabel {
|
|
47
|
-
position: static;
|
|
48
|
-
|
|
49
|
-
&::before {
|
|
50
|
-
content: '';
|
|
51
|
-
position: absolute;
|
|
52
|
-
inset: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
43
|
+
border-radius: var(--pr-t-border-radius-50);
|
|
55
44
|
|
|
56
45
|
&:hover {
|
|
57
46
|
background-color: var(--palettes-neutral-50);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-highlightData-display: grid;
|
|
3
|
-
--components-highlightData-grid: 'title
|
|
4
|
-
|
|
5
|
-
'subtext action';
|
|
3
|
+
--components-highlightData-grid: 'title action'
|
|
4
|
+
'value action';
|
|
6
5
|
--components-highlightData-alignItem: center;
|
|
7
6
|
--components-highlightData-background: var(--pr-t-elevation-surface-raised);
|
|
8
7
|
--components-highlightData-padding-inline: var(--pr-t-spacings-200);
|
|
@@ -13,12 +13,18 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
|
|
16
|
-
.formLabel-info {
|
|
17
|
-
position: relative;
|
|
18
|
-
z-index: 1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
16
|
@at-root ($atRoot) {
|
|
17
|
+
.inputFramed-header-label.formLabel {
|
|
18
|
+
position: static;
|
|
19
|
+
font-weight: var(--components-inputFramed-header-label-fontWeight);
|
|
20
|
+
|
|
21
|
+
&::after {
|
|
22
|
+
content: '';
|
|
23
|
+
position: absolute;
|
|
24
|
+
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
22
28
|
.inputFramed-header-field {
|
|
23
29
|
flex: 1;
|
|
24
30
|
|
|
@@ -42,17 +48,6 @@
|
|
|
42
48
|
align-content: flex-start;
|
|
43
49
|
gap: var(--pr-t-spacings-100);
|
|
44
50
|
align-items: var(--components-inputFramed-header-alignItems);
|
|
45
|
-
|
|
46
|
-
.inputFramed-header-label.formLabel {
|
|
47
|
-
position: static;
|
|
48
|
-
font-weight: var(--components-inputFramed-header-label-fontWeight);
|
|
49
|
-
|
|
50
|
-
&::after {
|
|
51
|
-
content: '';
|
|
52
|
-
position: absolute;
|
|
53
|
-
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
.inputFramed-header-illustration {
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
--components-mainLayout-content-inside-block-firstLastOfType-marginBlock: var(--pr-t-spacings-300);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
&:
|
|
78
|
+
&:first-of-type {
|
|
79
79
|
margin-block-start: var(--components-mainLayout-content-inside-block-firstLastOfType-marginBlock);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
&:
|
|
82
|
+
&:last-of-type {
|
|
83
83
|
margin-block-end: var(--components-mainLayout-content-inside-block-firstLastOfType-marginBlock);
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
border-radius: 0;
|
|
62
62
|
background-color: transparent;
|
|
63
63
|
padding: var(--pr-t-spacings-50);
|
|
64
|
-
margin: var(--pr-t-spacings-
|
|
64
|
+
margin: var(--pr-t-spacings-50) calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1);
|
|
65
65
|
|
|
66
66
|
lu-simple-select-default-option.pr-u-ellipsis {
|
|
67
67
|
white-space: normal !important;
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
border-radius: 0;
|
|
63
63
|
background-color: transparent;
|
|
64
64
|
padding: var(--pr-t-spacings-50);
|
|
65
|
-
margin: var(--pr-t-spacings-
|
|
65
|
+
margin: var(--pr-t-spacings-50) calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
border: 0;
|
|
62
62
|
block-size: var(--components-timepicker-input-height);
|
|
63
|
-
inline-size:
|
|
63
|
+
inline-size: var(--components-timepicker-input-width);
|
|
64
64
|
outline: none;
|
|
65
65
|
color: inherit;
|
|
66
66
|
background-color: transparent;
|
|
67
67
|
text-align: center;
|
|
68
|
-
padding-block: var(--components-timepicker-
|
|
69
|
-
padding-inline: var(--components-timepicker-
|
|
68
|
+
padding-block: var(--components-timepicker-paddingInput-inline);
|
|
69
|
+
padding-inline: var(--components-timepicker-paddingInput-block);
|
|
70
70
|
box-sizing: content-box;
|
|
71
71
|
opacity: 0.0001;
|
|
72
72
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
|
|
84
84
|
.timePicker-fieldset-group-textfield-display {
|
|
85
85
|
position: absolute;
|
|
86
|
-
inset: var(--components-timepicker-
|
|
86
|
+
inset: var(--components-timepicker-paddingInput-inline) var(--components-timepicker-paddingInput-block);
|
|
87
87
|
border-radius: var(--pr-t-border-radius-50);
|
|
88
88
|
pointer-events: none;
|
|
89
89
|
display: grid;
|
|
@@ -133,9 +133,7 @@
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.timePicker-fieldset-meridiem {
|
|
136
|
-
|
|
137
|
-
inline-size: calc(var(--components-timepicker-input-minInlineSize) + 2ch);
|
|
138
|
-
padding-inline: var(--components-timepicker-display-padding-block);
|
|
136
|
+
inline-size: calc(var(--components-timepicker-input-width) + var(--components-timepicker-paddingInput-block) * 2);
|
|
139
137
|
position: relative;
|
|
140
138
|
align-self: stretch;
|
|
141
139
|
margin-inline-start: calc(var(--pr-t-spacings-50) * -1);
|
|
@@ -143,7 +141,7 @@
|
|
|
143
141
|
&::after {
|
|
144
142
|
content: '';
|
|
145
143
|
position: absolute;
|
|
146
|
-
inset: var(--components-timepicker-
|
|
144
|
+
inset: var(--components-timepicker-paddingInput-inline) var(--components-timepicker-paddingInput-block);
|
|
147
145
|
border-radius:var(--pr-t-border-radius-50);
|
|
148
146
|
display: grid;
|
|
149
147
|
place-items: center;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin S {
|
|
4
4
|
--components-timepicker-font: var(--pr-t-font-body-S);
|
|
5
|
-
--components-timepicker-
|
|
6
|
-
--components-timepicker-
|
|
7
|
-
--components-timepicker-input-padding-inline: var(--pr-t-spacings-75);
|
|
8
|
-
--components-timepicker-input-padding-block: var(--pr-t-spacings-25);
|
|
5
|
+
--components-timepicker-paddingInput-inline: var(--pr-t-spacings-25);
|
|
6
|
+
--components-timepicker-paddingInput-block: var(--pr-t-spacings-75);
|
|
9
7
|
--components-timepicker-input-height: 1.75rem;
|
|
8
|
+
--components-timepicker-input-width: 1.25rem;
|
|
10
9
|
--components-timepicker-separator-left: 1.875rem;
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
--components-timepicker-color: var(--pr-t-color-input-text);
|
|
5
5
|
--components-timepicker-font: var(--pr-t-font-body-M);
|
|
6
6
|
--components-timepicker-input-height: 2rem;
|
|
7
|
-
--components-timepicker-input-
|
|
8
|
-
--components-timepicker-input-padding-inline: var(--pr-t-spacings-100);
|
|
9
|
-
--components-timepicker-input-padding-block: var(--pr-t-spacings-50);
|
|
7
|
+
--components-timepicker-input-width: 1.5rem;
|
|
10
8
|
--components-timepicker-padding: 0;
|
|
11
|
-
--components-timepicker-
|
|
12
|
-
--components-timepicker-
|
|
9
|
+
--components-timepicker-paddingInput-inline: var(--pr-t-spacings-50);
|
|
10
|
+
--components-timepicker-paddingInput-block: var(--pr-t-spacings-100);
|
|
13
11
|
--components-timepicker-separator-left: 2.375rem;
|
|
14
12
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
-
|
|
3
|
-
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
-
@at-root ($atRoot) {
|
|
5
|
-
.presentation-description {
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.presentation-description-term {
|
|
10
|
-
font: var(--pr-t-font-body-S);
|
|
11
|
-
color: var(--pr-t-color-text-subtle);
|
|
12
|
-
display: var(--components-presentation-description-term-display);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.presentation-description-definition {
|
|
16
|
-
display: var(--components-presentation-description-definition-display);
|
|
17
|
-
margin: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
File without changes
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
@mixin vars {
|
|
2
|
-
--components-presentation-description-child-display: block;
|
|
3
|
-
--components-presentation-description-term-display: var(--components-presentation-description-child-display);
|
|
4
|
-
--components-presentation-description-definition-display: var(--components-presentation-description-child-display);
|
|
5
|
-
}
|