@lucca-front/scss 21.1.0-rc.2 → 21.1.0-rc.3
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/appLayout/component.scss +1 -0
- package/src/components/appLayout/index.scss +5 -0
- package/src/components/appLayout/mods.scss +4 -0
- package/src/components/bubbleIcon/vars.scss +1 -1
- package/src/components/callout/component.scss +0 -1
- package/src/components/clear/index.scss +1 -2
- package/src/components/dialog/index.scss +4 -0
- package/src/components/dialog/mods.scss +4 -0
- package/src/components/dialog/vars.scss +1 -1
- package/src/components/errorPage/component.scss +42 -58
- package/src/components/errorPage/index.scss +4 -0
- package/src/components/errorPage/mods.scss +38 -0
- package/src/components/fieldset/component.scss +5 -0
- package/src/components/fieldset/index.scss +7 -0
- package/src/components/fieldset/mods.scss +4 -0
- package/src/components/fieldset/vars.scss +1 -0
- package/src/components/filterPill/component.scss +12 -1
- package/src/components/form/component.scss +1 -1
- package/src/components/form/index.scss +6 -3
- package/src/components/highlightData/component.scss +1 -0
- package/src/components/highlightData/mods.scss +3 -2
- package/src/components/highlightData/vars.scss +3 -2
- package/src/components/index.scss +2 -0
- package/src/components/inputFramed/component.scss +16 -11
- package/src/components/mainLayout/component.scss +2 -2
- package/src/components/multiSelect/mods.scss +1 -1
- package/src/components/navside/component.scss +4 -0
- package/src/components/presentation/component.scss +53 -0
- package/src/components/presentation/exports.scss +4 -0
- package/src/components/presentation/index.scss +12 -0
- package/src/components/presentation/mods.scss +0 -0
- package/src/components/presentation/states.scss +0 -0
- package/src/components/presentation/vars.scss +4 -0
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/softwareIcon/component.scss +18 -0
- package/src/components/softwareIcon/exports.scss +4 -0
- package/src/components/softwareIcon/index.scss +30 -0
- package/src/components/softwareIcon/mods.scss +15 -0
- package/src/components/softwareIcon/states.scss +8 -0
- package/src/components/softwareIcon/vars.scss +3 -0
- package/src/components/timepicker/component.scss +8 -6
- package/src/components/timepicker/mods.scss +4 -3
- package/src/components/timepicker/vars.scss +5 -3
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.3",
|
|
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.0-rc.
|
|
27
|
-
"@lucca/prisme": "21.1.0-rc.
|
|
26
|
+
"@lucca-front/icons": "21.1.0-rc.3",
|
|
27
|
+
"@lucca/prisme": "21.1.0-rc.3"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-bubbleIcon-size: var(--pr-t-spacings-500);
|
|
3
|
-
--components-bubbleIcon-color: var(--palettes-
|
|
3
|
+
--components-bubbleIcon-color: var(--palettes-700, var(--palettes-product-700));
|
|
4
4
|
--components-bubbleIcon-bubble-path-fill: var(--palettes-100, var(--palettes-product-100));
|
|
5
5
|
--components-bubbleIcon-bubble-pathBlock-display: none;
|
|
6
6
|
--components-bubbleIcon-bubble-pathInline-display: inherit;
|
|
@@ -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
|
|
11
|
+
--components-dialog-insideHeaderAreas: 'container 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,66 +1,50 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
2
4
|
background-color: var(--components-errorPage-background);
|
|
3
5
|
block-size: 100vh;
|
|
4
6
|
inline-size: 100vw;
|
|
5
7
|
line-height: 1.2;
|
|
6
8
|
overflow: hidden;
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
@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;
|
|
10
|
+
@at-root ($atRoot) {
|
|
11
|
+
.errorPage-section {
|
|
12
|
+
block-size: 100%;
|
|
13
|
+
max-inline-size: 1200px;
|
|
14
|
+
padding-block: 0;
|
|
15
|
+
padding-inline: var(--pr-t-spacings-400);
|
|
16
|
+
inline-size: 100vw;
|
|
17
|
+
margin-block: 0;
|
|
18
|
+
margin-inline: auto;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.errorPage-section-info {
|
|
25
|
+
margin-block-start: 10vh;
|
|
26
|
+
max-inline-size: 90vw;
|
|
27
|
+
inline-size: 450px;
|
|
28
|
+
padding-inline-end: var(--pr-t-spacings-400);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.errorPage-section-info-title {
|
|
32
|
+
font: var(--pr-t-font-heading-1);
|
|
33
|
+
margin-block-end: var(--pr-t-spacings-50);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.errorPage-section-info-text {
|
|
37
|
+
font-size: var(--pr-t-font-body-1-fontSize);
|
|
38
|
+
line-height: var(--pr-t-font-body-1-lineHeight);
|
|
39
|
+
margin-block-end: var(--pr-t-spacings-150);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.errorPage-section-image {
|
|
43
|
+
margin-block-start: 10vh;
|
|
44
|
+
inline-size: 50%;
|
|
45
|
+
max-inline-size: 580px;
|
|
46
|
+
min-inline-size: 350px;
|
|
47
|
+
block-size: auto;
|
|
48
|
+
}
|
|
65
49
|
}
|
|
66
50
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
}
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
inline-size: 100%;
|
|
18
18
|
min-block-size: var(--pr-t-spacings-300);
|
|
19
19
|
display: contents;
|
|
20
|
+
|
|
21
|
+
&:has(.fieldset-title-content-text:empty) {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
.fieldset-title-content {
|
|
@@ -27,6 +31,7 @@
|
|
|
27
31
|
background-color: transparent;
|
|
28
32
|
text-align: start;
|
|
29
33
|
display: flex;
|
|
34
|
+
flex-wrap: var(--components-fieldset-title-content-flexWrap);
|
|
30
35
|
align-items: flex-start;
|
|
31
36
|
justify-content: space-between;
|
|
32
37
|
gap: var(--components-fieldset-gap);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/media';
|
|
2
|
+
|
|
1
3
|
@use 'exports' as *;
|
|
2
4
|
|
|
3
5
|
.fieldset {
|
|
@@ -26,5 +28,10 @@
|
|
|
26
28
|
&:has(.fieldset-title-content-action:not(:empty)) {
|
|
27
29
|
@include withAction;
|
|
28
30
|
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
@include media.max('XXS') {
|
|
34
|
+
@include narrow;
|
|
35
|
+
}
|
|
29
36
|
}
|
|
30
37
|
}
|
|
@@ -40,7 +40,18 @@
|
|
|
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-
|
|
43
|
+
border-radius: var(--pr-t-border-radius-default);
|
|
44
|
+
position: relative;
|
|
45
|
+
|
|
46
|
+
.formLabel {
|
|
47
|
+
position: static;
|
|
48
|
+
|
|
49
|
+
&::before {
|
|
50
|
+
content: '';
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
44
55
|
|
|
45
56
|
&:hover {
|
|
46
57
|
background-color: var(--palettes-neutral-50);
|
|
@@ -102,9 +102,12 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
// no gap for checkboxes in tables in particular
|
|
106
|
+
&:has(.checkboxField-input) {
|
|
107
|
+
&:has(.formLabel.pr-u-mask) {
|
|
108
|
+
&:not(:has(.inlineMessage)) {
|
|
109
|
+
@include hiddenLabel;
|
|
110
|
+
}
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-highlightData-display: grid;
|
|
3
|
-
--components-highlightData-grid: 'title
|
|
4
|
-
|
|
3
|
+
--components-highlightData-grid: 'title action'
|
|
4
|
+
'value action'
|
|
5
|
+
'subtext action';
|
|
5
6
|
--components-highlightData-alignItem: center;
|
|
6
7
|
--components-highlightData-background: var(--pr-t-elevation-surface-raised);
|
|
7
8
|
--components-highlightData-padding-inline: var(--pr-t-spacings-200);
|
|
@@ -110,9 +110,11 @@
|
|
|
110
110
|
@forward 'listboxOption';
|
|
111
111
|
@forward 'suggestion';
|
|
112
112
|
@forward 'resourceCard';
|
|
113
|
+
@forward 'presentation';
|
|
113
114
|
@forward 'color';
|
|
114
115
|
@forward 'bubbleIllustration';
|
|
115
116
|
@forward 'bubbleIcon';
|
|
117
|
+
@forward 'softwareIcon';
|
|
116
118
|
|
|
117
119
|
@forward 'filterBarDeprecated';
|
|
118
120
|
@forward 'tableFixedDeprecated';
|
|
@@ -13,18 +13,12 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
&::after {
|
|
22
|
-
content: '';
|
|
23
|
-
position: absolute;
|
|
24
|
-
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
16
|
+
.formLabel-info {
|
|
17
|
+
position: relative;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
27
20
|
|
|
21
|
+
@at-root ($atRoot) {
|
|
28
22
|
.inputFramed-header-field {
|
|
29
23
|
flex: 1;
|
|
30
24
|
|
|
@@ -48,6 +42,17 @@
|
|
|
48
42
|
align-content: flex-start;
|
|
49
43
|
gap: var(--pr-t-spacings-100);
|
|
50
44
|
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
|
+
}
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
.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
|
+
&:not(& + &) {
|
|
79
79
|
margin-block-start: var(--components-mainLayout-content-inside-block-firstLastOfType-marginBlock);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
&:
|
|
82
|
+
&:not(:has(+ &)) {
|
|
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-75) 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;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
|
+
@at-root ($atRoot) {
|
|
6
|
+
.presentation-description {
|
|
7
|
+
margin: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.presentation-description-term {
|
|
11
|
+
font: var(--pr-t-font-body-S);
|
|
12
|
+
color: var(--pr-t-color-text-subtle);
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.presentation-description-term-info {
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
.lucca-icon {
|
|
21
|
+
color: inherit;
|
|
22
|
+
font-size: inherit;
|
|
23
|
+
line-height: inherit;
|
|
24
|
+
margin-inline-start: var(--pr-t-spacings-25);
|
|
25
|
+
position: relative;
|
|
26
|
+
inset-block-end: 1px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus-visible {
|
|
30
|
+
outline: none;
|
|
31
|
+
|
|
32
|
+
.lucca-icon {
|
|
33
|
+
&::after {
|
|
34
|
+
content: '';
|
|
35
|
+
position: absolute;
|
|
36
|
+
inline-size: 0.875rem;
|
|
37
|
+
block-size: 0.875rem;
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
inset-block-end: var(--pr-t-spacings-25);
|
|
40
|
+
inset-inline-end: 0;
|
|
41
|
+
|
|
42
|
+
@include a11y.focusVisible($offset: 0);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.presentation-description-definition {
|
|
49
|
+
display: var(--components-presentation-description-definition-display);
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -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-75) calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
|
+
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
inline-size: var(--components-softwareIcon-size);
|
|
7
|
+
block-size: var(--components-softwareIcon-size);
|
|
8
|
+
|
|
9
|
+
svg {
|
|
10
|
+
display: block;
|
|
11
|
+
inline-size: 100%;
|
|
12
|
+
block-size: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@at-root ($atRoot) {
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
|
|
3
|
+
.softwareIcon {
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-XXS {
|
|
11
|
+
@include XXS;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-XS {
|
|
15
|
+
@include XS;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.mod-S {
|
|
19
|
+
@include S;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.mod-L {
|
|
23
|
+
@include L;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-disabled {
|
|
27
|
+
@include disabled;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@mixin XXS {
|
|
2
|
+
--components-softwareIcon-size: var(--pr-t-spacings-200);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@mixin XS {
|
|
6
|
+
--components-softwareIcon-size: var(--pr-t-spacings-300);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin S {
|
|
10
|
+
--components-softwareIcon-size: var(--pr-t-spacings-400);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin L {
|
|
14
|
+
--components-softwareIcon-size: var(--pr-t-spacings-600);
|
|
15
|
+
}
|