@lucca-front/scss 21.1.2 → 21.2.0-rc.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 +3 -3
- package/src/commons/base.scss +25 -1
- package/src/commons/config.scss +30 -21
- package/src/commons/index.scss +2 -2
- package/src/commons/utils/a11y.scss +1 -1
- package/src/commons/utils/highlight-prisme.scss +4 -1
- package/src/commons/utils/index.scss +7 -8
- package/src/commons/utils/media.scss +9 -9
- package/src/commons/utils/namespace.scss +1 -0
- package/src/commons/utils/overflow.scss +2 -3
- package/src/commons/utils/reset.scss +0 -1
- package/src/commons/vars.scss +24 -10
- package/src/components/activityFeed/component.scss +76 -0
- package/src/components/activityFeed/exports.scss +4 -0
- package/src/components/activityFeed/index.scss +29 -0
- package/src/components/activityFeed/mods.scss +0 -0
- package/src/components/activityFeed/states.scss +7 -0
- package/src/components/activityFeed/vars.scss +4 -0
- package/src/components/appLayout/component.scss +0 -1
- package/src/components/appLayout/mods.scss +8 -8
- package/src/components/appLayout/vars.scss +5 -5
- package/src/components/avatar/mods.scss +0 -1
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/breadcrumbs/index.scss +3 -2
- package/src/components/breadcrumbs/mods.scss +2 -1
- package/src/components/bubbleIcon/index.scss +0 -2
- package/src/components/bubbleIllustration/component.scss +0 -1
- package/src/components/bubbleIllustration/states.scss +0 -1
- package/src/components/button/index.scss +19 -18
- package/src/components/button/mods.scss +24 -6
- package/src/components/button/states.scss +3 -1
- package/src/components/calendar/component.scss +4 -5
- package/src/components/calendar/index.scss +0 -1
- package/src/components/callout/index.scss +0 -1
- package/src/components/calloutAccordion/states.scss +3 -3
- package/src/components/calloutDisclosure/mods.scss +1 -1
- package/src/components/calloutDisclosure/states.scss +3 -3
- package/src/components/calloutDisclosure/vars.scss +2 -2
- package/src/components/calloutFeedbackList/vars.scss +2 -2
- package/src/components/calloutPopover/component.scss +0 -1
- package/src/components/checkboxField/component.scss +1 -1
- package/src/components/checkboxField/mods.scss +4 -3
- package/src/components/checkboxField/states.scss +0 -1
- package/src/components/color/component.scss +1 -1
- package/src/components/color/index.scss +2 -2
- package/src/components/color/states.scss +1 -1
- package/src/components/color/vars.scss +1 -1
- package/src/components/comment/component.scss +4 -1
- package/src/components/comment/index.scss +4 -2
- package/src/components/comment/mods.scss +4 -1
- package/src/components/dataTable/index.scss +1 -1
- package/src/components/dataTable/mods.scss +6 -4
- package/src/components/dataTableSticked/mods.scss +3 -1
- package/src/components/dialog/component.scss +48 -17
- package/src/components/dialog/index.scss +12 -3
- package/src/components/dialog/mods.scss +46 -7
- package/src/components/dialog/vars.scss +16 -2
- package/src/components/dropdown/component.scss +9 -9
- package/src/components/dropdown/index.scss +6 -6
- package/src/components/emptyState/component.scss +21 -6
- package/src/components/emptyState/index.scss +15 -0
- package/src/components/emptyState/mods.scss +20 -2
- package/src/components/emptyState/vars.scss +16 -16
- package/src/components/fancyBox/vars.scss +3 -3
- package/src/components/field/mods.scss +6 -4
- package/src/components/fieldset/index.scss +0 -1
- package/src/components/filterBarDeprecated/component.scss +1 -0
- package/src/components/filterBarDeprecated/index.scss +1 -0
- package/src/components/filterPill/component.scss +1 -1
- package/src/components/footer/component.scss +4 -3
- package/src/components/footer/mods.scss +8 -0
- package/src/components/footer/vars.scss +4 -0
- package/src/components/form/index.scss +5 -8
- package/src/components/form/mods.scss +10 -11
- package/src/components/gauge/vars.scss +2 -3
- package/src/components/header/component.scss +1 -1
- package/src/components/header/mods.scss +5 -0
- package/src/components/header/vars.scss +1 -0
- package/src/components/highlightData/mods.scss +4 -3
- package/src/components/highlightData/vars.scss +4 -3
- package/src/components/horizontalNavigation/component.scss +14 -16
- package/src/components/horizontalNavigation/index.scss +14 -18
- package/src/components/horizontalNavigation/mods.scss +30 -28
- package/src/components/horizontalNavigation/states.scss +4 -4
- package/src/components/horizontalNavigation/vars.scss +2 -1
- package/src/components/index.scss +1 -1
- package/src/components/indexTable/component.scss +21 -10
- package/src/components/indexTable/mods.scss +21 -13
- package/src/components/indexTable/states.scss +3 -3
- package/src/components/indexTable/vars.scss +4 -3
- package/src/components/inputFramed/index.scss +1 -1
- package/src/components/inputFramed/states.scss +0 -1
- package/src/components/label/index.scss +1 -0
- package/src/components/layout/component.scss +6 -6
- package/src/components/layout/mods.scss +2 -2
- package/src/components/link/component.scss +30 -6
- package/src/components/link/index.scss +16 -4
- package/src/components/link/mods.scss +11 -54
- package/src/components/link/states.scss +10 -2
- package/src/components/link/vars.scss +6 -0
- package/src/components/listboxOption/index.scss +15 -15
- package/src/components/listboxOption/mods.scss +3 -4
- package/src/components/listboxOption/states.scss +12 -13
- package/src/components/listing/component.scss +24 -1
- package/src/components/listing/index.scss +4 -0
- package/src/components/listing/mods.scss +18 -7
- package/src/components/listing/vars.scss +5 -1
- package/src/components/mobilePush/component.scss +1 -1
- package/src/components/navside/index.scss +3 -0
- package/src/components/navside/states.scss +2 -1
- package/src/components/notchBox/component.scss +30 -26
- package/src/components/notchBox/mods.scss +119 -77
- package/src/components/numericBadge/component.scss +0 -1
- package/src/components/numericBadge/mods.scss +10 -0
- package/src/components/pageHeader/mods.scss +4 -4
- package/src/components/pagination/mods.scss +2 -2
- package/src/components/presentation/index.scss +0 -1
- package/src/components/progress/vars.scss +6 -5
- package/src/components/readMore/component.scss +6 -5
- package/src/components/resourceCard/mods.scss +20 -18
- package/src/components/resourceCard/states.scss +2 -3
- package/src/components/resourceCard/vars.scss +4 -3
- package/src/components/richText/index.scss +0 -1
- package/src/components/scrollBox/component.scss +4 -2
- package/src/components/segmentedControl/component.scss +4 -2
- package/src/components/segmentedControl/index.scss +1 -0
- package/src/components/segmentedControl/states.scss +0 -2
- package/src/components/skeleton/mods.scss +15 -8
- package/src/components/skeleton/states.scss +15 -21
- package/src/components/softwareIcon/component.scss +0 -1
- package/src/components/sortableList/index.scss +3 -3
- package/src/components/sortableList/vars.scss +4 -4
- package/src/components/statusBadge/component.scss +0 -1
- package/src/components/switch/states.scss +6 -3
- package/src/components/switchField/vars.scss +4 -4
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableOfContent/index.scss +2 -1
- package/src/components/tableSortable/index.scss +1 -1
- package/src/components/tableSticked/mods.scss +16 -9
- package/src/components/tableStickedDeprecated/mods.scss +12 -6
- package/src/components/tag/component.scss +4 -0
- package/src/components/textField/component.scss +2 -0
- package/src/components/textField/mods.scss +0 -1
- package/src/components/textfields/index.scss +0 -1
- package/src/components/textfields/mods.scss +12 -7
- package/src/components/textfields/states.scss +6 -5
- package/src/components/timeline/mods.scss +35 -31
- package/src/components/timepicker/component.scss +1 -1
- package/src/components/timepickerDeprecated/vars.scss +3 -3
- package/src/components/title/mods.scss +2 -2
- package/src/components/titleSection/component.scss +2 -2
- package/src/components/toast/vars.scss +1 -1
- package/src/components/userTile/mods.scss +25 -25
- package/src/components/userTile/vars.scss +5 -5
- package/src/components/verticalNavigation/vars.scss +3 -3
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
|
-
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
2
|
@use '@lucca-front/scss/src/components/title/exports' as title;
|
|
3
|
+
@use '@lucca-front/scss/src/components/header/exports' as header;
|
|
4
|
+
@use '@lucca-front/scss/src/components/footer/exports' as footer;
|
|
5
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
6
|
@use '@lucca-front/scss/src/commons/utils/keyframe';
|
|
5
7
|
|
|
6
8
|
@mixin XS {
|
|
@@ -32,9 +34,9 @@
|
|
|
32
34
|
--components-dialog-maxHeight: none;
|
|
33
35
|
--components-dialog-maxHeightFallback: var(--components-dialog-maxHeight);
|
|
34
36
|
--components-dialog-height: calc(100% - var(--pr-t-spacings-100) * 2);
|
|
35
|
-
--components-dialog-maxWidth: calc(100vw - var(--pr-t-spacings-200));
|
|
37
|
+
--components-dialog-maxWidth: calc(100vw - var(--pr-t-spacings-200) - var(--commons-pushPanel-width));
|
|
36
38
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
37
|
-
--components-dialog-inset: var(--pr-t-spacings-100) var(--pr-t-spacings-100) var(--pr-t-spacings-100) auto;
|
|
39
|
+
--components-dialog-inset: var(--pr-t-spacings-100) calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-width)) var(--pr-t-spacings-100) auto;
|
|
38
40
|
--components-dialog-translateX: var(--components-dialog-translate);
|
|
39
41
|
--components-dialog-translateY: 0;
|
|
40
42
|
--components-dialog-translate-spacing: calc(var(--pr-t-spacings-500) * 2);
|
|
@@ -47,9 +49,9 @@
|
|
|
47
49
|
--components-dialog-maxHeight: calc(100dvh - var(--pr-t-spacings-200));
|
|
48
50
|
--components-dialog-maxHeightFallback: calc(100vh - var(--pr-t-spacings-200));
|
|
49
51
|
--components-dialog-maxWidth: none;
|
|
50
|
-
--components-dialog-inset: auto var(--pr-t-spacings-100) var(--pr-t-spacings-100) var(--pr-t-spacings-100);
|
|
52
|
+
--components-dialog-inset: auto calc(var(--pr-t-spacings-100) + var(--commons-pushPanel-width)) var(--pr-t-spacings-100) var(--pr-t-spacings-100);
|
|
51
53
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
52
|
-
--components-dialog-width: calc(100% - var(--pr-t-spacings-100) * 2);
|
|
54
|
+
--components-dialog-width: calc(100% - var(--pr-t-spacings-100) * 2 - var(--commons-pushPanel-width));
|
|
53
55
|
--components-dialog-height: fit-content;
|
|
54
56
|
--components-dialog-translateX: 0;
|
|
55
57
|
--components-dialog-translateY: var(--components-dialog-translate);
|
|
@@ -78,7 +80,7 @@
|
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
@mixin withCloseButton {
|
|
81
|
-
.dialog-inside-header-button
|
|
83
|
+
.dialog-inside-header-button {
|
|
82
84
|
@include button.ghost;
|
|
83
85
|
@include button.S;
|
|
84
86
|
@include button.onlyIconS;
|
|
@@ -95,6 +97,43 @@
|
|
|
95
97
|
--components-dialog-insideHeaderColumns: 1fr auto auto;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
|
-
@mixin
|
|
100
|
+
@mixin fancy {
|
|
101
|
+
// padding and minimum height are in pixels because they correspond to the size of the image
|
|
102
|
+
--components-dialog-inside-paddingInlineEnd: 220px;
|
|
103
|
+
--components-dialog-minBlockSize: 304px;
|
|
104
|
+
--components-dialog-inside-gridTemplateRows: auto auto auto;
|
|
105
|
+
--components-dialog-inside-alignContent: center;
|
|
106
|
+
--components-dialog-inside-header-boxShadow: none;
|
|
107
|
+
--components-dialog-inside-header-position: static;
|
|
108
|
+
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200) 0;
|
|
109
|
+
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-50) var(--pr-t-spacings-200);
|
|
110
|
+
--components-dialog-inside-header-button-position: absolute;
|
|
111
|
+
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-100);
|
|
112
|
+
--components-dialog-inside-header-button-insetBlockEnd: var(--pr-t-spacings-100);
|
|
113
|
+
|
|
114
|
+
.dialog-inside-footer {
|
|
115
|
+
@include footer.fancy;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.dialog-inside-header {
|
|
119
|
+
@include header.fancy;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.dialog-inside-header-button.button {
|
|
123
|
+
@include button.outlined;
|
|
124
|
+
@include button.M;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@mixin fancySmall {
|
|
129
|
+
// padding and minimum height are in pixels because they correspond to the size of the image
|
|
130
|
+
--components-dialog-inside-paddingInlineEnd: 140px;
|
|
131
|
+
--components-dialog-minBlockSize: 194px;
|
|
132
|
+
}
|
|
99
133
|
|
|
134
|
+
@mixin fancyNarrow {
|
|
135
|
+
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200);
|
|
136
|
+
--components-dialog-inside-header-paddingInline: var(--pr-t-spacings-300) calc(var(--pr-t-spacings-800) + var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
137
|
+
--components-dialog-inside-paddingInlineEnd: 0px;
|
|
138
|
+
--components-dialog-minBlockSize: 0px;
|
|
100
139
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
--components-dialog-size: 40rem;
|
|
3
3
|
--components-dialog-width: var(--components-dialog-size);
|
|
4
4
|
--components-dialog-height: fit-content;
|
|
5
|
-
--components-dialog-maxWidth: calc(100vw - (var(--pr-t-spacings-200) * 2));
|
|
5
|
+
--components-dialog-maxWidth: calc(100vw - (var(--pr-t-spacings-200) * 2) - var(--commons-pushPanel-width));
|
|
6
6
|
--components-dialog-maxHeight: calc(100dvh - (var(--pr-t-spacings-200) * 2));
|
|
7
7
|
--components-dialog-maxHeightFallback: calc(100vh - (var(--pr-t-spacings-200) * 2));
|
|
8
8
|
--components-dialog-borderRadius: var(--pr-t-border-radius-structure);
|
|
9
|
-
--components-dialog-inset: 0;
|
|
9
|
+
--components-dialog-inset: 0 var(--commons-pushPanel-width) 0 0;
|
|
10
10
|
--components-dialog-animationOpening: scaleIn;
|
|
11
11
|
--components-dialog-insideHeaderAreas: 'container close';
|
|
12
12
|
--components-dialog-insideHeaderTitleAlign: left;
|
|
@@ -21,4 +21,18 @@
|
|
|
21
21
|
--components-dialog-translateX: 0;
|
|
22
22
|
--components-dialog-translateY: var(--components-dialog-translate);
|
|
23
23
|
--components-dialog-scale: calc(1 - (var(--components-dialog-level) * 0.05));
|
|
24
|
+
--components-dialog-inside-header-boxShadow: 0 1px 0 0 var(--palettes-neutral-100);
|
|
25
|
+
--components-dialog-inside-header-position: relative;
|
|
26
|
+
--components-dialog-inside-header-paddingBlock: var(--pr-t-spacings-200);
|
|
27
|
+
--components-dialog-inside-header-paddingInline: var(--pr-t-spacings-300);
|
|
28
|
+
--components-dialog-insideContent-paddingBlock: var(--pr-t-spacings-200);
|
|
29
|
+
--components-dialog-inside-header-button-position: static;
|
|
30
|
+
--components-dialog-inside-backgroundImage: none;
|
|
31
|
+
--components-dialog-minBlockSize: 0px;
|
|
32
|
+
--components-dialog-inside-paddingInlineEnd: 0px;
|
|
33
|
+
--components-dialog-inside-gridTemplateRows: auto 1fr auto;
|
|
34
|
+
--components-dialog-inside-alignContent: normal;
|
|
35
|
+
--components-dialog-inside-fancyIllustrations-inlineSize: var(--components-dialog-inside-paddingInlineEnd);
|
|
36
|
+
--components-dialog-inside-header-button-insetBlockStart: var(--pr-t-spacings-200);
|
|
37
|
+
--components-dialog-inside-header-button-insetBlockEnd: var(--pr-t-spacings-300);
|
|
24
38
|
}
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
overflow-y: auto;
|
|
14
14
|
|
|
15
15
|
@at-root ($atRoot) {
|
|
16
|
-
// .lu-dropdown-options is deprecated
|
|
17
|
-
.dropdown-
|
|
18
|
-
.
|
|
16
|
+
// stylelint-disable-next-line selector-disallowed-list -- .lu-dropdown-options is deprecated
|
|
17
|
+
.lu-dropdown-options,
|
|
18
|
+
.dropdown-list {
|
|
19
19
|
list-style-type: none;
|
|
20
20
|
padding-block: var(--pr-t-spacings-50);
|
|
21
21
|
padding-inline: 0;
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// .lu-dropdown-options-item is deprecated
|
|
33
|
-
.dropdown-
|
|
34
|
-
.
|
|
32
|
+
// stylelint-disable-next-line selector-disallowed-list -- .lu-dropdown-options-item is deprecated
|
|
33
|
+
.lu-dropdown-options-item,
|
|
34
|
+
.dropdown-list-option {
|
|
35
35
|
padding-block: 0;
|
|
36
36
|
|
|
37
37
|
&:not(:has(.divider.dropdown-list-option-divider, .dropdown-list-option), &.mod-divider) {
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
// .lu-dropdown-options-item-action is deprecated
|
|
59
|
-
.dropdown-
|
|
60
|
-
.
|
|
58
|
+
// stylelint-disable-next-line selector-disallowed-list -- .lu-dropdown-options-item-action is deprecated
|
|
59
|
+
.lu-dropdown-options-item-action,
|
|
60
|
+
.dropdown-list-option-action {
|
|
61
61
|
border: 0;
|
|
62
62
|
border-radius: var(--pr-t-border-radius-default);
|
|
63
63
|
background-color: var(--components-dropdown-list-option-action-backgroundColor);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
|
-
// .lu-dropdown-content is deprecated
|
|
4
|
-
.dropdown,
|
|
5
|
-
.
|
|
3
|
+
// stylelint-disable-next-line selector-disallowed-list -- .lu-dropdown-content is deprecated
|
|
4
|
+
.lu-dropdown-content.lu-popover-content,
|
|
5
|
+
.dropdown {
|
|
6
6
|
@layer components {
|
|
7
7
|
@include vars;
|
|
8
8
|
@include component;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
// .lu-dropdown-options-item-action is deprecated
|
|
13
|
-
.dropdown-
|
|
14
|
-
.
|
|
12
|
+
// stylelint-disable-next-line selector-disallowed-list -- .lu-dropdown-options-item-action is deprecated
|
|
13
|
+
.lu-dropdown-options-item-action,
|
|
14
|
+
.dropdown-list-option-action {
|
|
15
15
|
@layer mods {
|
|
16
16
|
&.mod-critical,
|
|
17
17
|
&.mod-delete {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
.emptyState-container {
|
|
13
13
|
align-items: center;
|
|
14
14
|
display: flex;
|
|
15
|
+
flex-direction: var(--components-emptyState-container-flexDirection);
|
|
15
16
|
flex-grow: 1;
|
|
16
17
|
justify-content: center;
|
|
17
18
|
max-inline-size: var(--components-emptyState-container-maxWidth);
|
|
@@ -19,9 +20,26 @@
|
|
|
19
20
|
padding: 0;
|
|
20
21
|
inline-size: 100%;
|
|
21
22
|
position: var(--components-emptyState-container-position);
|
|
23
|
+
gap: var(--pr-t-spacings-700);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.emptyState-illustration {
|
|
27
|
+
max-inline-size: min(360px, 100%);
|
|
28
|
+
place-items: center;
|
|
29
|
+
display: var(--components-emptyState-illustration-display);
|
|
30
|
+
|
|
31
|
+
&:empty {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.emptyState-illustration-img {
|
|
37
|
+
max-inline-size: 100%;
|
|
38
|
+
block-size: auto;
|
|
22
39
|
}
|
|
23
40
|
|
|
24
41
|
.emptyState-content {
|
|
42
|
+
flex-shrink: 0;
|
|
25
43
|
border-radius: var(--pr-t-border-radius-structure);
|
|
26
44
|
max-inline-size: 100%;
|
|
27
45
|
padding: var(--pr-t-spacings-50);
|
|
@@ -38,15 +56,13 @@
|
|
|
38
56
|
|
|
39
57
|
.emptyState-content-text {
|
|
40
58
|
padding-inline: var(--pr-t-spacings-50);
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
gap: var(--pr-t-spacings-150);
|
|
41
62
|
}
|
|
42
63
|
|
|
43
64
|
.emptyState-content-heading {
|
|
44
65
|
font: var(--pr-t-font-heading-3);
|
|
45
|
-
margin-block-end: var(--pr-t-spacings-50);
|
|
46
|
-
|
|
47
|
-
@if config.$deprecatedSpacings {
|
|
48
|
-
margin-block-end: 0;
|
|
49
|
-
}
|
|
50
66
|
}
|
|
51
67
|
|
|
52
68
|
.emptyState-content-description {
|
|
@@ -57,7 +73,6 @@
|
|
|
57
73
|
display: flex;
|
|
58
74
|
flex-wrap: wrap;
|
|
59
75
|
align-items: center;
|
|
60
|
-
margin-block-start: var(--pr-t-spacings-200);
|
|
61
76
|
gap: var(--pr-t-spacings-200);
|
|
62
77
|
|
|
63
78
|
.button {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/media';
|
|
1
2
|
@use 'exports' as *;
|
|
2
3
|
|
|
3
4
|
.emptyState {
|
|
@@ -24,5 +25,19 @@
|
|
|
24
25
|
.container & {
|
|
25
26
|
@include insideContainer;
|
|
26
27
|
}
|
|
28
|
+
|
|
29
|
+
&:has(.emptyState-illustration:not(:empty)) {
|
|
30
|
+
@include hasIllustration;
|
|
31
|
+
|
|
32
|
+
@include media.max('S') {
|
|
33
|
+
@include hasIllustrationNarrow;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:has(.emptyState-illustration-img) {
|
|
38
|
+
@include media.max('S') {
|
|
39
|
+
@include hasIllustrationImgNarrow;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
27
42
|
}
|
|
28
43
|
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
@mixin page {
|
|
4
4
|
--components-emptyState-container-maxWidth: var(--commons-container-maxWidth);
|
|
5
5
|
|
|
6
|
-
background-image:
|
|
7
|
-
var(--components-emptyState-illustration-
|
|
6
|
+
background-image:
|
|
7
|
+
var(--components-emptyState-illustration-foreground-bottom-left),
|
|
8
|
+
var(--components-emptyState-illustration-background-bottom-left),
|
|
9
|
+
var(--components-emptyState-illustration-foreground-top-right),
|
|
8
10
|
var(--components-emptyState-illustration-background-top-right);
|
|
9
11
|
background-repeat: no-repeat;
|
|
10
12
|
background-position:
|
|
@@ -64,3 +66,19 @@
|
|
|
64
66
|
--components-emptyState-container-maxWidth: none;
|
|
65
67
|
--components-emptyState-container-left: auto;
|
|
66
68
|
}
|
|
69
|
+
|
|
70
|
+
@mixin hasIllustration {
|
|
71
|
+
--components-emptyState-background-color: transparent !important;
|
|
72
|
+
--components-emptyState-illustration-background-bottom-left: none !important;
|
|
73
|
+
--components-emptyState-illustration-foreground-bottom-left: none !important;
|
|
74
|
+
--components-emptyState-illustration-background-top-right: none !important;
|
|
75
|
+
--components-emptyState-illustration-foreground-top-right: none !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@mixin hasIllustrationNarrow {
|
|
79
|
+
--components-emptyState-container-flexDirection: column;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin hasIllustrationImgNarrow {
|
|
83
|
+
--components-emptyState-illustration-display: none;
|
|
84
|
+
}
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
--components-emptyState-container-position: static;
|
|
5
5
|
|
|
6
6
|
--components-emptyState-background-color: var(--pr-t-elevation-surface-default);
|
|
7
|
-
--components-emptyState-illustration-top-right-offset-left:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
--
|
|
18
|
-
--
|
|
7
|
+
--components-emptyState-illustration-top-right-offset-left:
|
|
8
|
+
min(
|
|
9
|
+
calc(100% + 5rem),
|
|
10
|
+
calc(var(--components-emptyState-container-maxWidth) - 8.5rem)
|
|
11
|
+
);
|
|
12
|
+
--components-emptyState-illustration-top-right-offset-left-S:
|
|
13
|
+
min(
|
|
14
|
+
calc(100% + 3.5rem),
|
|
15
|
+
calc(var(--components-emptyState-container-maxWidth) - 8.5rem)
|
|
16
|
+
);
|
|
17
|
+
--components-emptyState-container-flexDirection: row;
|
|
18
|
+
--components-emptyState-illustration-display: grid;
|
|
19
19
|
|
|
20
|
-
--components-emptyState-illustration-background-bottom-left:
|
|
21
|
-
--components-emptyState-illustration-foreground-bottom-left:
|
|
22
|
-
--components-emptyState-illustration-background-top-right:
|
|
23
|
-
--components-emptyState-illustration-foreground-top-right:
|
|
20
|
+
--components-emptyState-illustration-background-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-bottom-left-01.svg');
|
|
21
|
+
--components-emptyState-illustration-foreground-bottom-left: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/core-hr-01.svg');
|
|
22
|
+
--components-emptyState-illustration-background-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/poplee/bubbles-top-right-01.svg');
|
|
23
|
+
--components-emptyState-illustration-foreground-top-right: url('https://cdn.lucca.fr/lucca-front/assets/empty-states/generic/coffee-01.svg');
|
|
24
24
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-fancyBox-paddingInline: var(--pr-t-spacings-200);
|
|
3
|
-
|
|
3
|
+
--components-fancyBox-marginInline: auto;
|
|
4
4
|
|
|
5
5
|
// Content
|
|
6
6
|
--components-fancyBox-contentMinBlockSize: 7rem;
|
|
7
7
|
--components-fancyBox-contentMinInlineSize: min(22rem, 100%);
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
--components-fancyBox-contentPaddingBlock: var(--pr-t-spacings-300);
|
|
9
|
+
--components-fancyBox-contentPaddingInline: var(--pr-t-spacings-700);
|
|
10
10
|
|
|
11
11
|
// Visuals
|
|
12
12
|
--components-fancyBox-background-left: none;
|
|
@@ -13,10 +13,12 @@
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
margin-block-end: var(--pr-t-spacings-200);
|
|
16
|
-
inline-size:
|
|
17
|
-
|
|
18
|
-
var(--components-field-
|
|
19
|
-
|
|
16
|
+
inline-size:
|
|
17
|
+
calc(
|
|
18
|
+
var(--components-field-sizes-default)
|
|
19
|
+
+ var(--components-field-compact-label-right-margin)
|
|
20
|
+
+ var(--components-field-compact-label-sizes-default)
|
|
21
|
+
);
|
|
20
22
|
|
|
21
23
|
.textfield-label,
|
|
22
24
|
.radiosfield-label,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/container';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
4
4
|
|
|
5
|
+
// stylelint-disable selector-disallowed-list -- Selectors are all deprecated.
|
|
5
6
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
6
7
|
background-color: var(--components-filterBar-backgroundColor);
|
|
7
8
|
border-radius: var(--pr-t-border-radius-structure);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
|
|
3
3
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
-
background-color: var(--
|
|
5
|
-
padding-block: var(--
|
|
4
|
+
background-color: var(--components-footer-backgroundColor);
|
|
5
|
+
padding-block: var(--components-footer-paddingBlock);
|
|
6
6
|
padding-inline: var(--components-footer-paddingInline);
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
gap: var(--pr-t-spacings-200);
|
|
10
10
|
align-items: var(--components-footer-alignItems);
|
|
11
|
-
box-shadow: var(--
|
|
11
|
+
box-shadow: var(--components-footer-boxShadow);
|
|
12
12
|
inset-block-end: 0;
|
|
13
13
|
position: var(--components-footer-position);
|
|
14
14
|
flex-direction: var(--components-footer-direction);
|
|
15
|
+
overflow: var(--components-footer-overflow);
|
|
15
16
|
|
|
16
17
|
@at-root ($atRoot) {
|
|
17
18
|
.footer-content {
|
|
@@ -8,9 +8,17 @@
|
|
|
8
8
|
--components-footer-actions-margin: 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
@mixin fancy {
|
|
12
|
+
--components-footer-actions-margin: 0;
|
|
13
|
+
--components-footer-boxShadow: none;
|
|
14
|
+
--components-footer-paddingBlock: 0 var(--pr-t-spacings-150);
|
|
15
|
+
--components-footer-overflow: visible;
|
|
16
|
+
}
|
|
17
|
+
|
|
11
18
|
@mixin insideDialog {
|
|
12
19
|
--components-footer-paddingInline: var(--pr-t-spacings-300);
|
|
13
20
|
--commons-container-padding: 0;
|
|
21
|
+
--components-footer-overflow: hidden;
|
|
14
22
|
}
|
|
15
23
|
|
|
16
24
|
@mixin wide {
|
|
@@ -4,4 +4,8 @@
|
|
|
4
4
|
--components-footer-alignItems: center;
|
|
5
5
|
--components-footer-actions-margin: auto;
|
|
6
6
|
--components-footer-paddingInline: var(--pr-t-spacings-200);
|
|
7
|
+
--components-footer-paddingBlock: var(--pr-t-spacings-150);
|
|
8
|
+
--components-footer-boxShadow: var(--pr-t-elevation-shadow-overflow);
|
|
9
|
+
--components-footer-overflow: visible;
|
|
10
|
+
--components-footer-backgroundColor: var(--pr-t-elevation-surface-raised);
|
|
7
11
|
}
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
|
|
70
70
|
&:not(lu-form-field) {
|
|
71
71
|
&:has(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
.textField-input-value[aria-invalid='true'],
|
|
73
|
+
.timePicker-fieldset-group-textfield-input[aria-invalid='true'],
|
|
74
|
+
.simpleSelect-field-input[aria-invalid='true'],
|
|
75
|
+
.multipleSelect-displayer-search[aria-invalid='true']
|
|
76
|
+
) {
|
|
77
77
|
@include invalid;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -114,8 +114,6 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// deprecated
|
|
117
|
-
|
|
118
|
-
// stylelint-disable no-duplicate-selectors -- deprecated
|
|
119
117
|
.form {
|
|
120
118
|
@layer components {
|
|
121
119
|
@include vars;
|
|
@@ -192,4 +190,3 @@
|
|
|
192
190
|
}
|
|
193
191
|
}
|
|
194
192
|
}
|
|
195
|
-
// stylelint-enable
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&:has(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
.checkboxField-input:checked,
|
|
55
|
+
.checkboxField-input.is-checked,
|
|
56
|
+
.checkboxField-input[aria-checked='mixed'],
|
|
57
|
+
.checkboxField-input.is-mixed
|
|
58
|
+
) {
|
|
59
59
|
background-color: var(--palettes-product-50);
|
|
60
60
|
|
|
61
61
|
&:hover {
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:has(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
.checkboxField-input:checked,
|
|
73
|
+
.checkboxField-input.is-checked,
|
|
74
|
+
.checkboxField-input[aria-checked='mixed'],
|
|
75
|
+
.checkboxField-input.is-mixed
|
|
76
|
+
) {
|
|
77
77
|
background-color: var(--palettes-error-50);
|
|
78
78
|
|
|
79
79
|
&:hover {
|
|
@@ -286,7 +286,6 @@
|
|
|
286
286
|
|
|
287
287
|
&::before,
|
|
288
288
|
&::after {
|
|
289
|
-
// stylelint-disable-next-line no-irregular-whitespace
|
|
290
289
|
content: ' ' / '';
|
|
291
290
|
display: table;
|
|
292
291
|
}
|
|
@@ -6,14 +6,13 @@
|
|
|
6
6
|
--components-gauge-before-minInlineSize: var(--components-gauge-blockSize);
|
|
7
7
|
--components-gauge-value: 0;
|
|
8
8
|
--components-gauge-borderRadius: var(--pr-t-border-radius-full);
|
|
9
|
-
--components-gauge-color:
|
|
9
|
+
--components-gauge-color: var(--palettes-700, var(--palettes-product-700));
|
|
10
10
|
--components-gauge-animationName: name;
|
|
11
11
|
--components-gauge-animationDuration: var(--commons-animations-durations-slow);
|
|
12
|
-
--components-gauge-animationTimingFunction: cubic-bezier(.9
|
|
12
|
+
--components-gauge-animationTimingFunction: cubic-bezier(0.9, 0.9, 0.9, 1.1);
|
|
13
13
|
|
|
14
14
|
--components-gauge-circle-background: var(--palettes-neutral-100);
|
|
15
15
|
--components-gauge-circle-strokeWidth: var(--pr-t-spacings-100);
|
|
16
16
|
--components-gauge-circleR: 76px;
|
|
17
17
|
--components-gauge-circleP: calc(2 * pi * var(--components-gauge-circleR));
|
|
18
|
-
|
|
19
18
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
background-color: var(--components-header-background);
|
|
7
7
|
min-block-size: var(--components-header-height);
|
|
8
8
|
padding: var(--components-header-padding);
|
|
9
|
-
position:
|
|
9
|
+
position: var(--components-header-position);
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
z-index: 99;
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@mixin valueFirst {
|
|
10
|
-
--components-highlightData-grid
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
--components-highlightData-grid:
|
|
11
|
+
'value action'
|
|
12
|
+
'title action'
|
|
13
|
+
'subtext action';
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
@mixin valueFirstIllustrations {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-highlightData-display: grid;
|
|
3
|
-
--components-highlightData-grid:
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
--components-highlightData-grid:
|
|
4
|
+
'title action'
|
|
5
|
+
'value action'
|
|
6
|
+
'subtext action';
|
|
6
7
|
--components-highlightData-alignItem: center;
|
|
7
8
|
--components-highlightData-background: var(--pr-t-elevation-surface-raised);
|
|
8
9
|
--components-highlightData-padding-inline: var(--pr-t-spacings-200);
|