@lucca-front/scss 18.2.2 → 18.2.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 +2 -2
- package/src/commons/base.scss +29 -13
- package/src/commons/config.scss +1 -0
- package/src/commons/index.scss +2 -1
- package/src/commons/utils/namespace.scss +20 -0
- package/src/components/_sample/component.scss +2 -1
- package/src/components/avatar/component.scss +2 -1
- package/src/components/box/component.scss +3 -1
- package/src/components/breadcrumbs/component.scss +2 -1
- package/src/components/button/component.scss +1 -1
- package/src/components/callout/component.scss +2 -1
- package/src/components/calloutAccordion/component.scss +2 -1
- package/src/components/calloutDisclosure/component.scss +2 -1
- package/src/components/calloutFeedbackList/component.scss +2 -1
- package/src/components/calloutPopover/component.scss +2 -1
- package/src/components/calloutPopover/vars.scss +5 -3
- package/src/components/card/component.scss +3 -1
- package/src/components/checkbox/component.scss +2 -1
- package/src/components/checkboxField/component.scss +2 -1
- package/src/components/chip/component.scss +2 -1
- package/src/components/collapse/component.scss +2 -1
- package/src/components/comment/component.scss +3 -1
- package/src/components/comment/mods.scss +2 -1
- package/src/components/dialog/component.scss +2 -1
- package/src/components/divider/component.scss +3 -1
- package/src/components/emptyState/component.scss +2 -1
- package/src/components/emptyStateDeprecated/component.scss +3 -1
- package/src/components/field/component.scss +3 -1
- package/src/components/field/index.scss +2 -1
- package/src/components/fieldset/component.scss +2 -1
- package/src/components/file/states.scss +10 -2
- package/src/components/filterBar/component.scss +2 -1
- package/src/components/filters/component.scss +3 -1
- package/src/components/footer/component.scss +3 -1
- package/src/components/form/component.scss +7 -2
- package/src/components/formLabel/component.scss +9 -7
- package/src/components/formLabel/mods.scss +1 -0
- package/src/components/formLabel/vars.scss +1 -0
- package/src/components/gauge/component.scss +4 -1
- package/src/components/grid/component.scss +2 -1
- package/src/components/header/component.scss +2 -1
- package/src/components/indexTable/component.scss +2 -1
- package/src/components/inlineMessage/component.scss +2 -1
- package/src/components/layout/component.scss +2 -1
- package/src/components/link/mods.scss +3 -1
- package/src/components/list/component.scss +3 -1
- package/src/components/loading/component.scss +1 -5
- package/src/components/loading/mods.scss +12 -19
- package/src/components/loading/vars.scss +1 -1
- package/src/components/menu/component.scss +2 -1
- package/src/components/menu/states.scss +1 -1
- package/src/components/mobileHeader/component.scss +3 -1
- package/src/components/mobileNavigation/component.scss +2 -1
- package/src/components/multiSelect/component.scss +8 -1
- package/src/components/multiSelect/index.scss +4 -1
- package/src/components/multiSelect/states.scss +7 -1
- package/src/components/navside/component.scss +2 -1
- package/src/components/navside/vars.scss +3 -1
- package/src/components/numericBadge/mods.scss +3 -3
- package/src/components/pageHeader/component.scss +2 -1
- package/src/components/pagination/component.scss +3 -1
- package/src/components/plgPush/component.scss +8 -7
- package/src/components/popover/component.scss +18 -21
- package/src/components/progress/component.scss +2 -1
- package/src/components/radioButtons/component.scss +3 -2
- package/src/components/radioField/component.scss +2 -1
- package/src/components/scrollBox/component.scss +2 -1
- package/src/components/segmentedControl/component.scss +3 -3
- package/src/components/segmentedControl/states.scss +1 -1
- package/src/components/simpleSelect/component.scss +2 -1
- package/src/components/skeleton/component.scss +3 -1
- package/src/components/sortableList/component.scss +2 -1
- package/src/components/statusBadge/component.scss +3 -1
- package/src/components/switch/component.scss +2 -1
- package/src/components/switchField/component.scss +2 -1
- package/src/components/table/component.scss +2 -1
- package/src/components/table/mods.scss +3 -2
- package/src/components/tableOfContent/component.scss +2 -1
- package/src/components/tableSortable/component.scss +5 -3
- package/src/components/tag/component.scss +2 -1
- package/src/components/textField/component.scss +6 -5
- package/src/components/textField/states.scss +1 -1
- package/src/components/textfields/component.scss +3 -1
- package/src/components/timeline/component.scss +2 -1
- package/src/components/timepicker/component.scss +2 -1
- package/src/components/timepickerDeprecated/component.scss +2 -1
- package/src/components/titleSection/component.scss +2 -1
- package/src/components/toast/component.scss +2 -1
- package/src/components/tooltip/component.scss +2 -1
- package/src/components/userPopover/component.scss +2 -1
- package/src/components/userTile/component.scss +2 -1
- package/src/components/verticalNavigation/component.scss +2 -1
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
@mixin component {
|
|
4
4
|
@include loading.spinner();
|
|
5
5
|
|
|
6
|
-
@supports not (height: 1dvh) {
|
|
7
|
-
--components-loading-transform: var(--components-loading-transformFallback);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
6
|
min-height: var(--components-loading-size);
|
|
11
7
|
padding: var(--components-loading-padding);
|
|
12
8
|
margin: var(--components-loading-margin);
|
|
@@ -14,7 +10,7 @@
|
|
|
14
10
|
transform: var(--components-loading-transform);
|
|
15
11
|
color: var(--components-loading-color);
|
|
16
12
|
position: relative;
|
|
17
|
-
text-align:
|
|
13
|
+
text-align: var(--components-loading-textAlign);
|
|
18
14
|
vertical-align: top;
|
|
19
15
|
|
|
20
16
|
&:not(:empty) {
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin block {
|
|
4
4
|
--components-loading-display: block;
|
|
5
|
-
--components-loading-margin:
|
|
5
|
+
--components-loading-margin: auto;
|
|
6
6
|
--components-loading-spinnerMargin: 0 auto;
|
|
7
|
+
--components-loading-textAlign: center;
|
|
7
8
|
|
|
8
9
|
&:not(:empty) {
|
|
9
|
-
--components-loading-padding: var(--components-loading-size) 0 0;
|
|
10
|
+
--components-loading-padding: calc(var(--components-loading-size) + var(--pr-t-spacings-50)) 0 0;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -16,14 +17,6 @@
|
|
|
16
17
|
--components-loading-size: var(--components-loading-size-big);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
@mixin fullPage {
|
|
20
|
-
@include block;
|
|
21
|
-
@include L;
|
|
22
|
-
|
|
23
|
-
--components-loading-transform: translateY(30vh);
|
|
24
|
-
--components-loading-padding: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
20
|
@mixin invert {
|
|
28
21
|
--components-loading-color: var(--palettes-neutral-0);
|
|
29
22
|
|
|
@@ -35,19 +28,19 @@
|
|
|
35
28
|
@mixin popin {
|
|
36
29
|
@include block;
|
|
37
30
|
@include L;
|
|
38
|
-
|
|
39
|
-
&,
|
|
40
|
-
&:not(:empty) {
|
|
41
|
-
--components-loading-padding: 8rem 0 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
--components-loading-margin: 0 var(--pr-t-spacings-400) var(--pr-t-spacings-400);
|
|
45
|
-
--components-loading-spinnerMargin: auto;
|
|
46
31
|
}
|
|
47
32
|
|
|
48
33
|
@mixin drawer {
|
|
49
|
-
@include fullPage;
|
|
50
34
|
@include popin;
|
|
51
35
|
|
|
36
|
+
// legacy, approximate centering
|
|
37
|
+
--components-loading-transform: translateY(35vh);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin fullPage {
|
|
41
|
+
@include block;
|
|
42
|
+
@include L;
|
|
43
|
+
|
|
44
|
+
// legacy, approximate centering
|
|
52
45
|
--components-loading-transform: translateY(35vh);
|
|
53
46
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
position: relative;
|
|
5
6
|
column-gap: var(--pr-t-spacings-400);
|
|
6
7
|
align-items: center;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
background-color: var(--pr-t-elevation-surface-raised);
|
|
6
7
|
bottom: 0;
|
|
7
8
|
box-shadow: var(--pr-t-elevation-shadow-overflow);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
3
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
4
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
4
5
|
|
|
5
|
-
@mixin component($atRoot:
|
|
6
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
6
7
|
display: flex;
|
|
7
8
|
box-shadow: 0 0 0 1px var(--components-multiSelect-border-color);
|
|
8
9
|
background-color: var(--components-multiSelect-background);
|
|
@@ -12,6 +13,10 @@
|
|
|
12
13
|
gap: var(--components-multiSelect-gap);
|
|
13
14
|
cursor: pointer;
|
|
14
15
|
|
|
16
|
+
&:hover {
|
|
17
|
+
--components-multiSelect-border-color: var(--palettes-neutral-400);
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
&:has(.multipleSelect-displayer-search:focus-visible) {
|
|
16
21
|
@include a11y.focusVisible($offset: 3px);
|
|
17
22
|
}
|
|
@@ -67,6 +72,8 @@
|
|
|
67
72
|
.multipleSelect-arrow {
|
|
68
73
|
@include icon.M;
|
|
69
74
|
color: var(--components-multiSelect-arrow-color);
|
|
75
|
+
transition-property: transform;
|
|
76
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
70
77
|
}
|
|
71
78
|
}
|
|
72
79
|
}
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
@include disabled;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
&:has([aria-expanded="true"]) {
|
|
24
|
+
@include expanded;
|
|
25
|
+
}
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
.multipleSelect-displayer {
|
|
@@ -31,7 +34,7 @@
|
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
&:has([aria-expanded="true"]):not(:has(:placeholder-shown)) {
|
|
34
|
-
@include
|
|
37
|
+
@include displayerFilterExpanded;
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
}
|
|
@@ -18,13 +18,19 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
@mixin expanded {
|
|
22
|
+
.multipleSelect-arrow {
|
|
23
|
+
transform: rotate(-180deg);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
21
27
|
@mixin displayerFilterFilled {
|
|
22
28
|
.multipleSelect-displayer-search {
|
|
23
29
|
opacity: 0;
|
|
24
30
|
}
|
|
25
31
|
}
|
|
26
32
|
|
|
27
|
-
@mixin
|
|
33
|
+
@mixin displayerFilterExpanded {
|
|
28
34
|
.multipleSelect-displayer-filter {
|
|
29
35
|
display: none;
|
|
30
36
|
}
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
4
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
5
5
|
@use '@lucca-front/scss/src/commons/utils/keyframe';
|
|
6
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
6
7
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
7
8
|
|
|
8
|
-
@mixin component($atRoot:
|
|
9
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
9
10
|
bottom: 0;
|
|
10
11
|
left: 0;
|
|
11
12
|
top: 0;
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@mixin
|
|
18
|
-
--components-numericBadge-background: var(--palettes-product-200);
|
|
19
|
-
--components-numericBadge-color: var(--palettes-product-
|
|
17
|
+
@mixin inherit {
|
|
18
|
+
--components-numericBadge-background: var(--palettes-200, var(--palettes-product-200));
|
|
19
|
+
--components-numericBadge-color: var(--palettes-800, var(--palettes-product-700));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@mixin brand {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/media';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
padding: var(--components-pageHeader-padding);
|
|
5
6
|
|
|
6
7
|
.menu {
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
4
|
@use '@lucca-front/scss/src/components/link/exports' as link;
|
|
5
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
5
6
|
|
|
6
|
-
@mixin component($atRoot:
|
|
7
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
8
|
display: flex;
|
|
8
9
|
align-items: flex-start;
|
|
9
10
|
gap: var(--pr-t-spacings-100);
|
|
@@ -14,6 +15,12 @@
|
|
|
14
15
|
border-radius: var(--commons-borderRadius-L);
|
|
15
16
|
background-color: var(--palettes-brand-50);
|
|
16
17
|
|
|
18
|
+
.link {
|
|
19
|
+
@include link.brand;
|
|
20
|
+
|
|
21
|
+
display: inline-block;
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
@at-root ($atRoot) {
|
|
18
25
|
.plgPush-icons {
|
|
19
26
|
position: relative;
|
|
@@ -53,11 +60,5 @@
|
|
|
53
60
|
gap: var(--pr-t-spacings-25);
|
|
54
61
|
padding: var(--pr-t-spacings-0);
|
|
55
62
|
}
|
|
56
|
-
|
|
57
|
-
.link {
|
|
58
|
-
@include link.brand;
|
|
59
|
-
|
|
60
|
-
display: inline-block;
|
|
61
|
-
}
|
|
62
63
|
}
|
|
63
64
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
display: block;
|
|
6
7
|
background-color: var(--pr-t-elevation-surface-raised);
|
|
7
8
|
box-shadow: var(--pr-t-elevation-shadow-overlay);
|
|
@@ -11,31 +12,27 @@
|
|
|
11
12
|
min-width: var(--pr-t-spacings-500);
|
|
12
13
|
animation: popup var(--commons-animations-durations-fast) ease 1 forwards;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&:not(.button) {
|
|
20
|
-
@include button.outlined;
|
|
21
|
-
@include button.XS;
|
|
22
|
-
@include button.onlyIconXS;
|
|
15
|
+
// need of a higher specificity
|
|
16
|
+
.popover-close {
|
|
17
|
+
@include button.outlined;
|
|
18
|
+
@include button.XS;
|
|
19
|
+
@include button.onlyIconXS;
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
--components-button-padding: var(--pr-t-spacings-50);
|
|
25
22
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
padding: 0;
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: calc(var(--pr-t-spacings-100) * -1);
|
|
27
|
+
top: calc(var(--pr-t-spacings-100) * -1);
|
|
28
|
+
z-index: 2;
|
|
32
29
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
}
|
|
30
|
+
&:not(:focus-visible) {
|
|
31
|
+
@include a11y.mask;
|
|
37
32
|
}
|
|
33
|
+
}
|
|
38
34
|
|
|
35
|
+
@at-root ($atRoot) {
|
|
39
36
|
.popover-contentOptional {
|
|
40
37
|
padding: var(--pr-t-spacings-100) var(--pr-t-spacings-150);
|
|
41
38
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/keyframe';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
@keyframes progress {
|
|
5
6
|
0% {
|
|
6
7
|
transform: scale(0, 1);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
display: flex;
|
|
6
7
|
|
|
7
8
|
@at-root ($atRoot) {
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
color: var(--palettes-product-800);
|
|
75
76
|
|
|
76
77
|
.numericBadge {
|
|
77
|
-
@include numericBadge.
|
|
78
|
+
@include numericBadge.inherit;
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
position: relative;
|
|
6
7
|
width: fit-content;
|
|
7
8
|
height: fit-content;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
background-color: var(--components-scrollBox-backgroundColor);
|
|
5
6
|
position: relative;
|
|
6
7
|
display: flex;
|
|
@@ -84,8 +84,9 @@
|
|
|
84
84
|
content: var(--components-segmentedControl-backgroundContent);
|
|
85
85
|
z-index: -1;
|
|
86
86
|
position: absolute;
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
background-color: var(--palettes-neutral-50);
|
|
88
|
+
inset: var(--pr-t-spacings-75);
|
|
89
|
+
bottom: calc(var(--pr-t-spacings-75) - var(--commons-divider-width));
|
|
89
90
|
border-radius: var(--commons-borderRadius-M);
|
|
90
91
|
transition-property: scale, opacity;
|
|
91
92
|
transition-duration: var(--commons-animations-durations-standard);
|
|
@@ -95,7 +96,6 @@
|
|
|
95
96
|
|
|
96
97
|
&:hover {
|
|
97
98
|
&::before {
|
|
98
|
-
background-color: var(--palettes-neutral-50);
|
|
99
99
|
opacity: 1;
|
|
100
100
|
scale: 1;
|
|
101
101
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
display: grid;
|
|
5
6
|
grid-template-columns: 1fr auto auto;
|
|
6
7
|
align-items: center;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
2
4
|
@at-root ($atRoot) {
|
|
3
5
|
.skeleton-item {
|
|
4
6
|
animation: skeletonFade var(--commons-animations-durations-fast) ease-in 1 forwards;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
background-color: var(--pr-t-elevation-surface-raised);
|
|
5
6
|
border: var(--commons-divider-width) solid var(--commons-divider-color);
|
|
6
7
|
border-radius: var(--commons-borderRadius-M);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
2
4
|
align-items: flex-start;
|
|
3
5
|
background-color: var(--palettes-100, var(--palettes-product-100));
|
|
4
6
|
border-radius: var(--commons-borderRadius-L);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
2
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
display: block;
|
|
6
7
|
position: relative;
|
|
7
8
|
line-height: var(--components-switch-lineHeight);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
2
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
position: relative;
|
|
6
7
|
|
|
7
8
|
@at-root ($atRoot) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
font-size: var(--components-table-font-size);
|
|
5
6
|
line-height: var(--components-table-line-height);
|
|
6
7
|
border-spacing: 0;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
4
|
@mixin S {
|
|
4
5
|
font-size: var(--sizes-S-fontSize);
|
|
@@ -207,7 +208,7 @@
|
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
|
|
210
|
-
@mixin draggable($atRoot:
|
|
211
|
+
@mixin draggable($atRoot: namespace.$defaultAtRoot) {
|
|
211
212
|
@at-root ($atRoot) {
|
|
212
213
|
.table-body-row-cell-handler,
|
|
213
214
|
.table-foot-row-cell-handler {
|
|
@@ -272,7 +273,7 @@
|
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
@mixin twoLines($atRoot:
|
|
276
|
+
@mixin twoLines($atRoot: namespace.$defaultAtRoot) {
|
|
276
277
|
@at-root ($atRoot) {
|
|
277
278
|
.table-head-row-cell-secondLine {
|
|
278
279
|
margin-top: var(--pr-t-spacings-50);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
align-items: flex-start;
|
|
5
6
|
display: flex;
|
|
6
7
|
flex-direction: column;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
2
2
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
@include button.text;
|
|
6
7
|
@include button.withIcon;
|
|
7
8
|
|
|
@@ -11,7 +12,8 @@
|
|
|
11
12
|
user-select: none;
|
|
12
13
|
font-weight: var(--components-sortable-fontWeight);
|
|
13
14
|
vertical-align: top;
|
|
14
|
-
align-items: flex-
|
|
15
|
+
align-items: flex-end;
|
|
16
|
+
white-space: wrap;
|
|
15
17
|
left: var(--components-sortable-offset);
|
|
16
18
|
text-align: inherit;
|
|
17
19
|
flex-direction: var(--components-sortable-direction);
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
|
|
22
24
|
@at-root ($atRoot) {
|
|
23
25
|
.tableSortable-arrows {
|
|
24
|
-
margin-
|
|
26
|
+
margin-bottom: var(--components-sortable-arrowsOffset);
|
|
25
27
|
position: relative;
|
|
26
28
|
width: 1rem;
|
|
27
29
|
height: 1rem;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
background-color: var(--components-tag-background);
|
|
5
6
|
border-radius: var(--commons-borderRadius-M);
|
|
6
7
|
font-size: var(--components-tag-fontSize);
|
|
@@ -2,14 +2,19 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/components/inlineMessage/exports' as inlineMessage;
|
|
3
3
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
4
|
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
5
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
5
6
|
|
|
6
|
-
@mixin component($atRoot:
|
|
7
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
8
|
display: flex;
|
|
8
9
|
align-items: stretch;
|
|
9
10
|
border-radius: var(--commons-borderRadius-M);
|
|
10
11
|
background-color: var(--component-textField-background);
|
|
11
12
|
box-shadow: 0 0 0 1px var(--component-textField-border);
|
|
12
13
|
|
|
14
|
+
&:hover {
|
|
15
|
+
--component-textField-border: var(--palettes-neutral-400);
|
|
16
|
+
}
|
|
17
|
+
|
|
13
18
|
&:has(.textField-input-value:focus-visible) {
|
|
14
19
|
@include a11y.focusVisible($offset: 3px);
|
|
15
20
|
}
|
|
@@ -30,10 +35,6 @@
|
|
|
30
35
|
background-color: var(--component-textField-background);
|
|
31
36
|
position: relative;
|
|
32
37
|
|
|
33
|
-
&:hover {
|
|
34
|
-
--component-textField-border: var(--palettes-neutral-400);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
38
|
&:has(.textField-input-affix-icon) {
|
|
38
39
|
--component-textField-affix-padding: 2.5rem;
|
|
39
40
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
list-style-type: none;
|
|
5
6
|
padding: 0;
|
|
6
7
|
margin: var(--pr-t-spacings-200) 0;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
2
|
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
4
|
|
|
4
|
-
@mixin component($atRoot:
|
|
5
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
5
6
|
padding: var(--components-timepicker-padding);
|
|
6
7
|
width: fit-content;
|
|
7
8
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
3
|
|
|
3
|
-
@mixin component($atRoot:
|
|
4
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
5
|
padding: var(--components-timepicker-padding);
|
|
5
6
|
border: 0;
|
|
6
7
|
border-radius: var(--commons-borderRadius-M);
|