@lucca-front/scss 21.0.3 → 21.1.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 +2 -2
- package/src/commons/base.scss +1 -1
- package/src/commons/config.scss +7 -7
- package/src/commons/vars.scss +2 -1
- package/src/components/bubbleIcon/component.scss +54 -0
- package/src/components/bubbleIcon/exports.scss +4 -0
- package/src/components/bubbleIcon/index.scss +48 -0
- package/src/components/bubbleIcon/mods.scss +39 -0
- package/src/components/bubbleIcon/states.scss +13 -0
- package/src/components/bubbleIcon/vars.scss +13 -0
- package/src/components/bubbleIllustration/component.scss +20 -0
- package/src/components/bubbleIllustration/exports.scss +4 -0
- package/src/components/bubbleIllustration/index.scss +34 -0
- package/src/components/bubbleIllustration/mods.scss +11 -0
- package/src/components/bubbleIllustration/states.scss +14 -0
- package/src/components/bubbleIllustration/vars.scss +4 -0
- package/src/components/color/component.scss +82 -0
- package/src/components/color/exports.scss +4 -0
- package/src/components/color/index.scss +74 -0
- package/src/components/color/mods.scss +48 -0
- package/src/components/color/states.scss +15 -0
- package/src/components/color/vars.scss +13 -0
- package/src/components/container/index.scss +1 -0
- package/src/components/container/mods.scss +2 -1
- package/src/components/emptyState/component.scss +1 -6
- package/src/components/emptyState/index.scss +10 -0
- package/src/components/emptyState/mods.scss +9 -0
- package/src/components/emptyState/vars.scss +2 -1
- package/src/components/form/index.scss +6 -0
- package/src/components/form/mods.scss +9 -0
- package/src/components/horizontalNavigation/component.scss +1 -1
- package/src/components/index.scss +4 -0
- package/src/components/mainLayout/component.scss +2 -0
- package/src/components/mainLayout/mods.scss +2 -0
- package/src/components/mainLayout/vars.scss +2 -0
- package/src/components/presentation/component.scss +20 -0
- package/src/components/presentation/exports.scss +4 -0
- package/src/components/presentation/index.scss +14 -0
- package/src/components/presentation/mods.scss +3 -0
- package/src/components/presentation/states.scss +0 -0
- package/src/components/presentation/vars.scss +5 -0
- package/src/components/resourceCard/mods.scss +10 -0
- package/src/components/resourceCard/states.scss +10 -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.0.
|
|
3
|
+
"version": "21.1.0-rc.1",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "21.0.
|
|
26
|
+
"@lucca-front/icons": "21.1.0-rc.1"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/commons/base.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
7
7
|
|
|
8
8
|
@mixin body {
|
|
9
|
-
background-color: var(--
|
|
9
|
+
background-color: var(--commons-background-base);
|
|
10
10
|
color: var(--pr-t-color-text);
|
|
11
11
|
font: var(--pr-t-font-body-M);
|
|
12
12
|
text-rendering: geometricPrecision;
|
package/src/commons/config.scss
CHANGED
|
@@ -523,16 +523,16 @@ $pumpkin: (
|
|
|
523
523
|
) !default;
|
|
524
524
|
|
|
525
525
|
$pineapple: (
|
|
526
|
-
50: #
|
|
527
|
-
100: #
|
|
528
|
-
200: #
|
|
526
|
+
50: #fef7d7,
|
|
527
|
+
100: #fbf1b6,
|
|
528
|
+
200: #fae999,
|
|
529
529
|
300: #f9e16c,
|
|
530
530
|
400: #f8dc4f,
|
|
531
531
|
500: #e7c623,
|
|
532
532
|
600: #d6b300,
|
|
533
|
-
700: #
|
|
534
|
-
800: #
|
|
535
|
-
900: #
|
|
533
|
+
700: #b89600,
|
|
534
|
+
800: #8a7000,
|
|
535
|
+
900: #665400,
|
|
536
536
|
) !default;
|
|
537
537
|
|
|
538
538
|
// https://sass-lang.com/documentation/variables/#advanced-variable-functions
|
|
@@ -613,7 +613,7 @@ $colorInput: (
|
|
|
613
613
|
icon-disabled: var(--palettes-neutral-500),
|
|
614
614
|
background: var(--palettes-neutral-0),
|
|
615
615
|
background-critical: var(--palettes-critical-50),
|
|
616
|
-
background-disabled: var(--palettes-neutral-
|
|
616
|
+
background-disabled: var(--palettes-neutral-50),
|
|
617
617
|
border: var(--palettes-neutral-300),
|
|
618
618
|
border-hover: var(--palettes-neutral-400),
|
|
619
619
|
border-checked: var(--palettes-product-400),
|
package/src/commons/vars.scss
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
--commons-font-family: '#{config.$fontFamily}', Tahoma, sans-serif;
|
|
83
83
|
--commons-font-family-brand: '#{config.$fontFamilyBrand}', sans-serif;
|
|
84
84
|
|
|
85
|
-
--commons-background-base: var(--
|
|
85
|
+
--commons-background-base: var(--pr-t-elevation-surface-default);
|
|
86
86
|
|
|
87
87
|
--commons-divider-color: var(--palettes-neutral-200);
|
|
88
88
|
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
--commons-container-maxWidth: 100rem; // 100 + 0 = 100
|
|
91
91
|
|
|
92
92
|
--commons-navSide-width: 0px;
|
|
93
|
+
|
|
93
94
|
/* stylelint-disable-next-line property-disallowed-list */
|
|
94
95
|
--commons-navSide-compact-width: 7.5rem;
|
|
95
96
|
--commons-navSide-mobile-toggle-height: 3.5rem;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
+
color: var(--components-bubbleIcon-color);
|
|
5
|
+
inline-size: var(--components-bubbleIcon-size);
|
|
6
|
+
block-size: var(--components-bubbleIcon-size);
|
|
7
|
+
display: inline-grid;
|
|
8
|
+
|
|
9
|
+
@at-root ($atRoot) {
|
|
10
|
+
.bubbleIcon-icon,
|
|
11
|
+
.bubbleIcon-bubble {
|
|
12
|
+
grid-column-start: 1;
|
|
13
|
+
grid-row-start: 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.bubbleIcon-bubble {
|
|
17
|
+
scale: var(--components-bubbleIcon-bubble-scale);
|
|
18
|
+
inline-size: 100%;
|
|
19
|
+
block-size: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.bubbleIcon-bubble-pathBlock,
|
|
23
|
+
.bubbleIcon-bubble-pathInline {
|
|
24
|
+
fill: var(--components-bubbleIcon-bubble-path-fill);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.bubbleIcon-bubble-pathBlock {
|
|
28
|
+
display: var(--components-bubbleIcon-bubble-pathBlock-display);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.bubbleIcon-bubble-pathInline {
|
|
32
|
+
display: var(--components-bubbleIcon-bubble-pathInline-display);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.bubbleIcon-icon {
|
|
36
|
+
display: flex;
|
|
37
|
+
isolation: isolate;
|
|
38
|
+
position: relative;
|
|
39
|
+
inset-block-start: var(--components-bubbleIcon-icon-insetBlockStart);
|
|
40
|
+
inset-block-end: var(--components-bubbleIcon-icon-insetBlockEnd);
|
|
41
|
+
inset-inline-start: var(--components-bubbleIcon-icon-insetInlineStart);
|
|
42
|
+
inset-inline-end: var(--components-bubbleIcon-icon-insetInlineEnd);
|
|
43
|
+
|
|
44
|
+
lu-icon,
|
|
45
|
+
.lucca-icon {
|
|
46
|
+
margin: auto;
|
|
47
|
+
|
|
48
|
+
.lucca-icon {
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
@use 'exports' as *;
|
|
4
|
+
|
|
5
|
+
.bubbleIcon {
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
8
|
+
@include component;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@layer mods {
|
|
12
|
+
&.mod-S {
|
|
13
|
+
@include S;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.mod-L {
|
|
17
|
+
@include L;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.is-success {
|
|
21
|
+
@include success;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-critical {
|
|
25
|
+
@include critical;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.is-warning {
|
|
29
|
+
@include warning;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.mod-top {
|
|
33
|
+
@include top ;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.mod-bottom {
|
|
37
|
+
@include bottom;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.mod-left {
|
|
41
|
+
@include left;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.mod-right {
|
|
45
|
+
@include right;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icon;
|
|
2
|
+
|
|
3
|
+
@mixin S {
|
|
4
|
+
--components-bubbleIcon-size: var(--pr-t-spacings-400);
|
|
5
|
+
|
|
6
|
+
.lucca-icon {
|
|
7
|
+
@include icon.XS;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin L {
|
|
12
|
+
--components-bubbleIcon-size: var(--pr-t-spacings-600);
|
|
13
|
+
|
|
14
|
+
.lucca-icon {
|
|
15
|
+
@include icon.L;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin left {
|
|
20
|
+
--components-bubbleIcon-icon-insetInlineStart: var(--components-bubbleIcon-icon-insetOffset);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin right {
|
|
24
|
+
--components-bubbleIcon-icon-insetInlineEnd: var(--components-bubbleIcon-icon-insetOffset);
|
|
25
|
+
--components-bubbleIcon-bubble-scale: -1 -1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@mixin top {
|
|
29
|
+
--components-bubbleIcon-icon-insetBlockStart: var(--components-bubbleIcon-icon-insetOffset);
|
|
30
|
+
--components-bubbleIcon-bubble-pathBlock-display: inherit;
|
|
31
|
+
--components-bubbleIcon-bubble-pathInline-display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin bottom {
|
|
35
|
+
--components-bubbleIcon-icon-insetBlockEnd: var(--components-bubbleIcon-icon-insetOffset);
|
|
36
|
+
--components-bubbleIcon-bubble-pathBlock-display: inherit;
|
|
37
|
+
--components-bubbleIcon-bubble-pathInline-display: none;
|
|
38
|
+
--components-bubbleIcon-bubble-scale: -1 -1;
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@mixin vars {
|
|
2
|
+
--components-bubbleIcon-size: var(--pr-t-spacings-500);
|
|
3
|
+
--components-bubbleIcon-color: var(--palettes-600, var(--palettes-product-600));
|
|
4
|
+
--components-bubbleIcon-bubble-path-fill: var(--palettes-100, var(--palettes-product-100));
|
|
5
|
+
--components-bubbleIcon-bubble-pathBlock-display: none;
|
|
6
|
+
--components-bubbleIcon-bubble-pathInline-display: inherit;
|
|
7
|
+
--components-bubbleIcon-bubble-scale: 1;
|
|
8
|
+
--components-bubbleIcon-icon-insetOffset: 1px;
|
|
9
|
+
--components-bubbleIcon-icon-insetBlockStart: auto;
|
|
10
|
+
--components-bubbleIcon-icon-insetBlockEnd: auto;
|
|
11
|
+
--components-bubbleIcon-icon-insetInlineStart: auto;
|
|
12
|
+
--components-bubbleIcon-icon-insetInlineEnd: auto;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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-bubbleIllustration-size);
|
|
7
|
+
block-size: var(--components-bubbleIllustration-size);
|
|
8
|
+
|
|
9
|
+
svg {
|
|
10
|
+
display: block;
|
|
11
|
+
inline-size: 100%;
|
|
12
|
+
block-size: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@at-root ($atRoot) {
|
|
16
|
+
.bubbleIllustration-action {
|
|
17
|
+
display: var(--components-bubbleIllustration-action-display);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
|
|
3
|
+
.bubbleIllustration {
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-L {
|
|
15
|
+
@include L;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.is-success {
|
|
19
|
+
@include success;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.is-critical {
|
|
23
|
+
@include critical;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-warning {
|
|
27
|
+
@include warning;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:not(.mod-action) {
|
|
31
|
+
@include noAction;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use '@lucca-front/icons/src/commons/utils/icon';
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
3
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
4
|
+
@use '@lucca-front/scss/src/commons/utils/text';
|
|
5
|
+
|
|
6
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: var(--pr-t-spacings-100);
|
|
10
|
+
|
|
11
|
+
.color-value {
|
|
12
|
+
inline-size: var(--components-color-value-inlineSize);
|
|
13
|
+
aspect-ratio: 1;
|
|
14
|
+
background: var(--components-color-value-backgroundColor);
|
|
15
|
+
color: rgb(from var(--components-color-value-backgroundColor) var(--components-color-value-channel) var(--components-color-value-channel) var(--components-color-value-channel));
|
|
16
|
+
border-radius: var(--pr-t-border-radius-small);
|
|
17
|
+
box-shadow: inset 0 0 0 1px var(--components-color-value-boxShadowColor);
|
|
18
|
+
scale: var(--components-color-value-scale);
|
|
19
|
+
transition-property: scale;
|
|
20
|
+
transition-duration: var(--commons-animations-durations-fast);
|
|
21
|
+
flex-shrink: 0;
|
|
22
|
+
|
|
23
|
+
&::before {
|
|
24
|
+
@include icon.generate('sign_confirm');
|
|
25
|
+
|
|
26
|
+
display: var(--components-color-value-before-display);
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
place-items: center;
|
|
30
|
+
font-size: 1.5rem;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@at-root ($atRoot) {
|
|
35
|
+
.color-name {
|
|
36
|
+
@include text.ellipsis;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin componentPicker($atRoot: namespace.$defaultAtRoot) {
|
|
42
|
+
inline-size: var(--components-colorPicker-inlineSize);
|
|
43
|
+
|
|
44
|
+
.simpleSelect-field-value {
|
|
45
|
+
padding: 1px;
|
|
46
|
+
margin: -1px;
|
|
47
|
+
min-inline-size: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.simpleSelect-field-input {
|
|
51
|
+
padding-inline-start: var(--components-colorPicker-input-paddingInlineStart);
|
|
52
|
+
color: transparent;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin componentPanel($atRoot: namespace.$defaultAtRoot) {
|
|
57
|
+
.lu-picker-content {
|
|
58
|
+
.cdk-overlay-pane:has(&) {
|
|
59
|
+
min-inline-size: 0 !important;
|
|
60
|
+
inline-size: 17rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[role="listbox"] {
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-wrap: wrap;
|
|
67
|
+
padding: var(--pr-t-spacings-100);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.color {
|
|
71
|
+
padding: var(--pr-t-spacings-50);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@at-root ($atRoot) {
|
|
75
|
+
.colorPanel-highlighted {
|
|
76
|
+
display: flex;
|
|
77
|
+
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
78
|
+
margin: 0 var(--pr-t-spacings-100) var(--pr-t-spacings-100);
|
|
79
|
+
gap: var(--pr-t-spacings-50);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
|
|
3
|
+
.color {
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-M {
|
|
11
|
+
@include M;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-L {
|
|
15
|
+
@include L;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.mod-XL {
|
|
19
|
+
@include XL;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[aria-selected="true"] & {
|
|
23
|
+
@include selected;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.optionItem.is-highlighted &,
|
|
27
|
+
[role="listbox"] .optionItem:hover & {
|
|
28
|
+
@include highlighted;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.colorPicker {
|
|
34
|
+
@layer components {
|
|
35
|
+
@include varsPicker;
|
|
36
|
+
@include componentPicker;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@layer mods {
|
|
40
|
+
&.mod-compact {
|
|
41
|
+
@include compact;
|
|
42
|
+
|
|
43
|
+
.form-field.mod-S & {
|
|
44
|
+
@include compactS;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.is-clearable {
|
|
48
|
+
@include compactClearable;
|
|
49
|
+
|
|
50
|
+
.form-field.mod-S & {
|
|
51
|
+
@include compactClearableS;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.is-selected:not(.is-searchFilled) {
|
|
57
|
+
@include selectedNotFilled;
|
|
58
|
+
|
|
59
|
+
.form-field.mod-S & {
|
|
60
|
+
@include selectedNotFilledS;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.colorPanel {
|
|
67
|
+
@layer components {
|
|
68
|
+
@include componentPanel;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@layer mods {
|
|
72
|
+
@include childrenReset;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
2
|
+
|
|
3
|
+
@mixin M {
|
|
4
|
+
--components-color-value-inlineSize: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin L {
|
|
8
|
+
--components-color-value-inlineSize: var(--pr-t-spacings-300);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@mixin XL {
|
|
12
|
+
--components-color-value-inlineSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin compact {
|
|
16
|
+
--components-colorPicker-inlineSize: 4.625rem;
|
|
17
|
+
|
|
18
|
+
.color-name {
|
|
19
|
+
@include a11y.mask;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin compactS {
|
|
24
|
+
--components-colorPicker-inlineSize: 3.75rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin compactClearable {
|
|
28
|
+
--components-colorPicker-inlineSize: 6.125rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin compactClearableS {
|
|
32
|
+
--components-colorPicker-inlineSize: 4.875rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin childrenReset {
|
|
36
|
+
.lu-picker-content {
|
|
37
|
+
padding: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.optionItem-value {
|
|
41
|
+
padding: 0;
|
|
42
|
+
background-color: transparent !important;
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@mixin selected {
|
|
2
|
+
--components-color-value-before-display: grid;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@mixin highlighted {
|
|
6
|
+
--components-color-value-scale: calc(7/6);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin selectedNotFilled {
|
|
10
|
+
--components-colorPicker-input-paddingInlineStart: var(--pr-t-spacings-400);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin selectedNotFilledS {
|
|
14
|
+
--components-colorPicker-input-paddingInlineStart: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@mixin vars {
|
|
2
|
+
--components-color-value-before-display: none;
|
|
3
|
+
--components-color-value-scale: 1;
|
|
4
|
+
--components-color-value-inlineSize: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
|
|
5
|
+
--components-color-value-boxShadowColor: transparent;
|
|
6
|
+
--components-color-value-backgroundColor: transparent;
|
|
7
|
+
--components-color-value-channel: clamp(0, (((r * .299) + (g * .587) + (b * .114)) - 128) * -1000, 255);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin varsPicker {
|
|
11
|
+
--components-colorPicker-input-paddingInlineStart: 0;
|
|
12
|
+
--components-colorPicker-inlineSize: auto;
|
|
13
|
+
}
|
|
@@ -18,12 +18,7 @@
|
|
|
18
18
|
inset-inline-start: var(--components-emptyState-container-left);
|
|
19
19
|
padding: 0;
|
|
20
20
|
inline-size: 100%;
|
|
21
|
-
position:
|
|
22
|
-
|
|
23
|
-
.container & {
|
|
24
|
-
--components-emptyState-container-maxWidth: none;
|
|
25
|
-
--components-emptyState-container-left: auto;
|
|
26
|
-
}
|
|
21
|
+
position: var(--components-emptyState-container-position);
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
.emptyState-content {
|
|
@@ -55,3 +55,12 @@
|
|
|
55
55
|
justify-content: center;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin insideTable {
|
|
60
|
+
--components-emptyState-container-position: sticky;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin insideContainer {
|
|
64
|
+
--components-emptyState-container-maxWidth: none;
|
|
65
|
+
--components-emptyState-container-left: auto;
|
|
66
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-emptyState-container-maxWidth: calc(100vw - var(--commons-navSide-width) - 7rem);
|
|
3
|
-
--components-emptyState-container-left: calc(var(--commons-navSide-width) +
|
|
3
|
+
--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));
|
|
4
|
+
--components-emptyState-container-position: static;
|
|
4
5
|
|
|
5
6
|
--components-emptyState-background-color: var(--pr-t-elevation-surface-default);
|
|
6
7
|
--components-emptyState-illustration-top-right-offset-left: min(
|