@lucca-front/scss 20.3.0-rc.1 → 20.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/base.scss +3 -1
- package/src/commons/config.scss +7 -1
- package/src/commons/core.scss +1 -1
- package/src/commons/utils/color.scss +14 -0
- package/src/commons/vars.scss +12 -12
- package/src/components/avatar/component.scss +4 -3
- package/src/components/avatar/index.scss +4 -0
- package/src/components/avatar/mods.scss +17 -2
- package/src/components/avatar/vars.scss +4 -0
- package/src/components/box/component.scss +1 -1
- package/src/components/box/mods.scss +1 -0
- package/src/components/box/vars.scss +1 -0
- package/src/components/button/component.scss +0 -1
- package/src/components/button/index.scss +16 -1
- package/src/components/button/mods.scss +16 -1
- package/src/components/button/states.scss +38 -9
- package/src/components/button/vars.scss +1 -1
- package/src/components/buttonGroup/component.scss +17 -0
- package/src/components/callout/component.scss +13 -4
- package/src/components/callout/index.scss +9 -0
- package/src/components/callout/mods.scss +30 -2
- package/src/components/callout/vars.scss +5 -0
- package/src/components/dataTable/component.scss +2 -0
- package/src/components/dataTable/index.scss +20 -0
- package/src/components/dataTable/mods.scss +5 -6
- package/src/components/dataTable/states.scss +12 -0
- package/src/components/dialog/component.scss +2 -2
- package/src/components/dialog/index.scss +4 -0
- package/src/components/dialog/mods.scss +4 -0
- package/src/components/footer/component.scss +0 -1
- package/src/components/form/component.scss +10 -0
- package/src/components/gauge/component.scss +71 -14
- package/src/components/gauge/index.scss +21 -0
- package/src/components/gauge/mods.scss +21 -7
- package/src/components/gauge/states.scss +8 -0
- package/src/components/gauge/vars.scss +16 -1
- package/src/components/index.scss +1 -0
- package/src/components/inputFramed/component.scss +1 -0
- package/src/components/inputFramed/index.scss +4 -0
- package/src/components/inputFramed/mods.scss +3 -0
- package/src/components/inputFramed/vars.scss +1 -0
- package/src/components/numericBadge/states.scss +5 -0
- package/src/components/readMore/component.scss +21 -5
- package/src/components/readMore/states.scss +2 -0
- package/src/components/richText/component.scss +1 -3
- package/src/components/segmentedControl/component.scss +1 -0
- package/src/components/skeleton/mods.scss +1 -1
- package/src/components/suggestion/component.scss +19 -0
- package/src/components/suggestion/exports.scss +4 -0
- package/src/components/suggestion/index.scss +16 -0
- package/src/components/suggestion/mods.scss +0 -0
- package/src/components/suggestion/states.scss +12 -0
- package/src/components/suggestion/vars.scss +4 -0
- package/src/components/tag/component.scss +4 -1
- package/src/components/tag/index.scss +12 -0
- package/src/components/tag/mods.scss +30 -3
- package/src/components/tag/states.scss +6 -0
- package/src/components/tag/vars.scss +2 -0
- package/src/components/textField/component.scss +1 -0
- package/src/components/textField/index.scss +4 -0
- package/src/components/textField/states.scss +5 -0
- package/src/components/textField/vars.scss +1 -0
- package/src/components/textFlow/component.scss +6 -0
- package/src/components/timeline/mods.scss +3 -3
- package/src/components/title/index.scss +11 -0
- package/src/components/title/mods.scss +6 -0
- package/src/components/userPopover/component.scss +1 -0
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
flex-grow: 1;
|
|
44
44
|
min-block-size: 0;
|
|
45
45
|
|
|
46
|
-
&:has(.dialog-content:focus-visible) {
|
|
46
|
+
&:has(.dialog-inside-content:focus-visible) {
|
|
47
47
|
&::after {
|
|
48
48
|
@include a11y.focusVisible($offset: -4px);
|
|
49
49
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
flex-grow: 1;
|
|
65
65
|
min-block-size: 0;
|
|
66
66
|
|
|
67
|
-
&:has(.dialog-content:focus-visible) {
|
|
67
|
+
&:has(.dialog-inside-content:focus-visible) {
|
|
68
68
|
&::after {
|
|
69
69
|
@include a11y.focusVisible($offset: -4px);
|
|
70
70
|
|
|
@@ -1,24 +1,81 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
2
|
|
|
3
3
|
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
-
border-radius: var(--
|
|
5
|
-
block-size: var(--components-gauge-
|
|
6
|
-
|
|
7
|
-
position: relative;
|
|
4
|
+
border-radius: var(--components-gauge-borderRadius);
|
|
5
|
+
block-size: var(--components-gauge-blockSize);
|
|
6
|
+
inline-size: var(--components-gauge-inlineSize);
|
|
8
7
|
background-color: var(--components-gauge-background);
|
|
8
|
+
display: block;
|
|
9
|
+
color: var(--components-gauge-color);
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
content: '';
|
|
13
|
+
display: block;
|
|
14
|
+
|
|
15
|
+
@extend %gaugeBar;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:has(.gauge-bar) {
|
|
19
|
+
&::before {
|
|
20
|
+
content: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
9
23
|
|
|
10
24
|
@at-root ($atRoot) {
|
|
11
25
|
.gauge-bar {
|
|
12
|
-
|
|
13
|
-
border-block-end-width: var(--components-gauge-height);
|
|
14
|
-
transition-duration: var(--commons-animations-durations-standard);
|
|
15
|
-
transition-property: border-color, width, height;
|
|
16
|
-
inset-block-start: 0;
|
|
17
|
-
inset-inline-start: 0;
|
|
18
|
-
position: absolute;
|
|
19
|
-
border-block-end-style: solid;
|
|
20
|
-
border-color: currentColor;
|
|
21
|
-
border-radius: var(--pr-t-border-radius-full);
|
|
26
|
+
@extend %gaugeBar;
|
|
22
27
|
}
|
|
28
|
+
|
|
29
|
+
.gauge-circleBackground {
|
|
30
|
+
fill: transparent;
|
|
31
|
+
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
32
|
+
stroke: var(--components-gauge-circle-background);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.gauge-circleBar {
|
|
36
|
+
fill: transparent;
|
|
37
|
+
stroke-width: var(--components-gauge-circle-strokeWidth);
|
|
38
|
+
stroke-linecap: round;
|
|
39
|
+
stroke-dashoffset: 0;
|
|
40
|
+
transform: rotate(-1/4 * 1turn);
|
|
41
|
+
transform-origin: 50% 50%;
|
|
42
|
+
stroke-dasharray: calc(var(--components-gauge-circleP) / 100 * var(--components-gauge-value)), 9999;
|
|
43
|
+
stroke: currentColor;
|
|
44
|
+
animation-name: var(--components-gauge-animationName);
|
|
45
|
+
animation-duration: var(--components-gauge-animationDuration);
|
|
46
|
+
animation-timing-function: var(--components-gauge-animationTimingFunction);
|
|
47
|
+
|
|
48
|
+
@media (prefers-reduced-motion: reduce) {
|
|
49
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-fast);
|
|
50
|
+
--components-gauge-animationTimingFunction: ease;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@keyframes gauge-fill {
|
|
55
|
+
from {
|
|
56
|
+
stroke-dasharray: 0, 9999;
|
|
57
|
+
inline-size: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
%gaugeBar {
|
|
64
|
+
color: currentColor;
|
|
65
|
+
transition-duration: var(--commons-animations-durations-standard);
|
|
66
|
+
transition-property: background-color, inline-size, block-size;
|
|
67
|
+
block-size: var(--components-gauge-blockSize);
|
|
68
|
+
inline-size: var(--components-gauge-value);
|
|
69
|
+
background-color: currentColor;
|
|
70
|
+
border-radius: var(--pr-t-border-radius-full);
|
|
71
|
+
min-inline-size: var(--components-gauge-before-minInlineSize);
|
|
72
|
+
min-block-size: var(--components-gauge-before-minInlineSize);
|
|
73
|
+
animation-name: var(--components-gauge-animationName);
|
|
74
|
+
animation-duration: var(--components-gauge-animationDuration);
|
|
75
|
+
animation-timing-function: var(--components-gauge-animationTimingFunction);
|
|
76
|
+
|
|
77
|
+
@media (prefers-reduced-motion: reduce) {
|
|
78
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-fast);
|
|
79
|
+
--components-gauge-animationTimingFunction: ease;
|
|
23
80
|
}
|
|
24
81
|
}
|
|
@@ -11,8 +11,29 @@
|
|
|
11
11
|
@include thin;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
&:has(.gauge-circleBackground) {
|
|
15
|
+
@include circular;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// .mod-vertical is deprecated
|
|
14
19
|
&.mod-vertical {
|
|
15
20
|
@include vertical;
|
|
21
|
+
|
|
22
|
+
&.mod-thin {
|
|
23
|
+
@include verticalThin;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@layer states {
|
|
29
|
+
&.is-zero,
|
|
30
|
+
&:not([style]),
|
|
31
|
+
&[style*='--components-gauge-value: 0%'] {
|
|
32
|
+
@include zero;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.is-animated {
|
|
36
|
+
@include animated;
|
|
16
37
|
}
|
|
17
38
|
}
|
|
18
39
|
}
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
@mixin thin {
|
|
2
|
-
--components-gauge-
|
|
2
|
+
--components-gauge-blockSize: var(--pr-t-spacings-50);
|
|
3
|
+
--components-gauge-circle-strokeWidth: var(--pr-t-spacings-50);
|
|
3
4
|
}
|
|
4
5
|
|
|
6
|
+
// @mixin vertical is deprecated
|
|
5
7
|
@mixin vertical {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
--components-gauge-blockSize: 100%;
|
|
9
|
+
--components-gauge-inlineSize: var(--components-gauge-height, var(--pr-t-spacings-100));
|
|
10
|
+
--components-gauge-before-minInlineSize: var(--components-gauge-inlineSize);
|
|
8
11
|
|
|
9
|
-
.gauge-bar
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
.gauge-bar,
|
|
13
|
+
&::before {
|
|
14
|
+
inline-size: 100%;
|
|
15
|
+
block-size: var(--components-gauge-value);
|
|
13
16
|
}
|
|
14
17
|
}
|
|
18
|
+
|
|
19
|
+
// @mixin verticalThin is deprecated
|
|
20
|
+
@mixin verticalThin {
|
|
21
|
+
--components-gauge-inlineSize: var(--pr-t-spacings-50);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin circular {
|
|
25
|
+
--components-gauge-borderRadius: 0;
|
|
26
|
+
--components-gauge-blockSize: auto;
|
|
27
|
+
--components-gauge-background: transparent;
|
|
28
|
+
}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
+
// --components-gauge-height is deprecated
|
|
1
2
|
@mixin vars {
|
|
2
|
-
--components-gauge-
|
|
3
|
+
--components-gauge-blockSize: var(--components-gauge-height, var(--pr-t-spacings-100));
|
|
4
|
+
--components-gauge-inlineSize: auto;
|
|
3
5
|
--components-gauge-background: var(--palettes-neutral-100);
|
|
6
|
+
--components-gauge-before-minInlineSize: var(--components-gauge-blockSize);
|
|
7
|
+
--components-gauge-value: 0;
|
|
8
|
+
--components-gauge-borderRadius: var(--pr-t-border-radius-full);
|
|
9
|
+
--components-gauge-color: var(--palettes-700, var(--palettes-product-700));
|
|
10
|
+
--components-gauge-animationName: name;
|
|
11
|
+
--components-gauge-animationDuration: var(--commons-animations-durations-slow);
|
|
12
|
+
--components-gauge-animationTimingFunction: cubic-bezier(.9,.9,.9,1.1);
|
|
13
|
+
|
|
14
|
+
--components-gauge-circle-background: var(--palettes-neutral-100);
|
|
15
|
+
--components-gauge-circle-strokeWidth: var(--pr-t-spacings-100);
|
|
16
|
+
--components-gauge-circleR: 76px;
|
|
17
|
+
--components-gauge-circleP: calc(2 * pi * var(--components-gauge-circleR));
|
|
18
|
+
|
|
4
19
|
}
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
content: var(--components-readMore-content-lastChild-content) / '';
|
|
45
45
|
visibility: hidden;
|
|
46
46
|
white-space: nowrap;
|
|
47
|
-
font
|
|
47
|
+
font: var(--pr-t-font-body-M);
|
|
48
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
48
49
|
padding-inline-start: var(--components-readMore-link-paddingInlineStart);
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -56,17 +57,32 @@
|
|
|
56
57
|
padding: var(--pr-t-spacings-50);
|
|
57
58
|
margin: calc(var(--pr-t-spacings-50) * -1);
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
$notPlainText: '> p, > ul, > ol, > h1, > h2, > h3, > h4, > h5, > h6';
|
|
61
|
+
$wrappingElements: 'ol, ul';
|
|
62
|
+
|
|
63
|
+
&:not(:has(#{$notPlainText})) {
|
|
60
64
|
&::after {
|
|
61
65
|
@extend %after;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
|
|
65
|
-
&:has(
|
|
69
|
+
&:has(#{$notPlainText}) {
|
|
66
70
|
> * {
|
|
67
71
|
&:last-child {
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
&:not(#{$wrappingElements}) {
|
|
73
|
+
&::after {
|
|
74
|
+
@extend %after;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:is(#{$wrappingElements}) {
|
|
79
|
+
> * {
|
|
80
|
+
&:last-child {
|
|
81
|
+
&::after {
|
|
82
|
+
@extend %after;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
70
86
|
}
|
|
71
87
|
}
|
|
72
88
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: var(--pr-t-spacings-50);
|
|
7
|
+
|
|
8
|
+
@at-root ($atRoot) {
|
|
9
|
+
.suggestion-form-field {
|
|
10
|
+
z-index: 1;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.suggestion-callout-text {
|
|
15
|
+
text-decoration: var(--components-suggestion-textDecoration);
|
|
16
|
+
color: var(--components-suggestion-color);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'exports' as *;
|
|
2
|
+
|
|
3
|
+
.suggestion {
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
6
|
+
|
|
7
|
+
&:has(.suggestion-callout-accept:hover),
|
|
8
|
+
&:has(.suggestion-callout-accept:focus-visible) {
|
|
9
|
+
@include accept;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:has(.suggestion-callout-reject:hover),
|
|
13
|
+
&:has(.suggestion-callout-reject:focus-visible) {
|
|
14
|
+
@include reject;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/components/textField/exports' as textField;
|
|
2
|
+
|
|
3
|
+
@mixin reject {
|
|
4
|
+
--components-suggestion-textDecoration: line-through;
|
|
5
|
+
--components-suggestion-color: var(--pr-t-color-text-subtle);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin accept {
|
|
9
|
+
.textField {
|
|
10
|
+
@include textField.lineThrough;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
padding-inline: var(--pr-t-spacings-50);
|
|
9
9
|
text-decoration: var(--components-tag-decoration);
|
|
10
10
|
box-shadow: 0 0 0 1px var(--components-tag-shadow);
|
|
11
|
-
gap: var(--
|
|
11
|
+
gap: var(--components-tag-gap);
|
|
12
12
|
cursor: var(--components-tag-cursor);
|
|
13
13
|
display: inline-flex;
|
|
14
14
|
align-items: center;
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
font: var(--components-tag-font);
|
|
20
20
|
font-size: var(--components-tag-fontSize); // Deprecated
|
|
21
21
|
line-height: var(--components-tag-lineHeight); // Deprecated
|
|
22
|
+
max-inline-size: 100%;
|
|
23
|
+
position: relative;
|
|
22
24
|
|
|
23
25
|
&,
|
|
24
26
|
&:is(a, button) {
|
|
@@ -31,6 +33,7 @@
|
|
|
31
33
|
|
|
32
34
|
@at-root ($atRoot) {
|
|
33
35
|
.tag-content {
|
|
36
|
+
outline: none;
|
|
34
37
|
text-decoration: var(--components-tag-decoration);
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
&.mod-L {
|
|
11
15
|
@include L;
|
|
12
16
|
}
|
|
@@ -20,11 +24,19 @@
|
|
|
20
24
|
&.mod-outlined {
|
|
21
25
|
@include outlined;
|
|
22
26
|
}
|
|
27
|
+
|
|
28
|
+
&.mod-AI {
|
|
29
|
+
@include AI;
|
|
30
|
+
}
|
|
23
31
|
}
|
|
24
32
|
|
|
25
33
|
@layer states {
|
|
26
34
|
&.mod-disabled {
|
|
27
35
|
@include disabled;
|
|
28
36
|
}
|
|
37
|
+
|
|
38
|
+
&:has(.tag-content:focus-visible) {
|
|
39
|
+
@include focusVisible;
|
|
40
|
+
}
|
|
29
41
|
}
|
|
30
42
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@use '@lucca-front/icons/src/icon/exports' as
|
|
1
|
+
@use '@lucca-front/icons/src/icon/exports' as icons;
|
|
2
|
+
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
3
|
|
|
3
4
|
@mixin clickable {
|
|
4
5
|
--components-tag-cursor: pointer;
|
|
@@ -20,12 +21,24 @@
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
@mixin S {
|
|
25
|
+
--components-tag-font: var(--pr-t-font-body-XS);
|
|
26
|
+
--components-tag-gap: var(--pr-t-spacings-25);
|
|
27
|
+
|
|
28
|
+
.lucca-icon {
|
|
29
|
+
@include icons.XXS;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Deprecated
|
|
33
|
+
--components-tag-fontSize: var(--pr-t-font-body-XS-fontSize);
|
|
34
|
+
--components-tag-lineHeight: var(--pr-t-font-body-XS-lineHeight);
|
|
35
|
+
}
|
|
36
|
+
|
|
23
37
|
@mixin L {
|
|
24
38
|
--components-tag-font: var(--pr-t-font-body-M);
|
|
25
|
-
--components-tag-iconBottom: 0;
|
|
26
39
|
|
|
27
40
|
.lucca-icon {
|
|
28
|
-
@include
|
|
41
|
+
@include icons.S;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
// Deprecated
|
|
@@ -42,3 +55,17 @@
|
|
|
42
55
|
--components-tag-background: var(--palettes-100, var(--palettes-product-100));
|
|
43
56
|
--components-tag-color: var(--palettes-800, var(--palettes-product-800));
|
|
44
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin AI {
|
|
60
|
+
@include outlined;
|
|
61
|
+
|
|
62
|
+
&:not(:disabled) {
|
|
63
|
+
--components-tag-boxShadow: none;
|
|
64
|
+
|
|
65
|
+
@include color.borderGradient(135deg, var(--palettes-brand-400), var(--palettes-AI-500), var(--pr-t-border-radius-small));
|
|
66
|
+
|
|
67
|
+
.lucca-icon {
|
|
68
|
+
@include icons.AI;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
--components-tag-color: var(--palettes-800, var(--palettes-neutral-800));
|
|
4
4
|
--components-tag-shadow: transparent;
|
|
5
5
|
--components-tag-font: var(--pr-t-font-body-S);
|
|
6
|
+
--components-tag-gap: var(--pr-t-spacings-50);
|
|
6
7
|
--components-tag-decoration: none;
|
|
7
8
|
--components-tag-cursor: inherit;
|
|
9
|
+
--components-tag-boxShadow: 0 0 0 1px var(--components-tag-shadow);
|
|
8
10
|
|
|
9
11
|
// Deprecated
|
|
10
12
|
--components-tag-fontSize: var(--pr-t-font-body-S-fontSize);
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
padding-inline: var(--component-textField-padding) var(--component-textField-affix-padding);
|
|
68
68
|
background-color: transparent;
|
|
69
69
|
color: var(--component-textField-color);
|
|
70
|
+
text-decoration: var(--component-textField-textDecoration);
|
|
70
71
|
text-overflow: ellipsis;
|
|
71
72
|
|
|
72
73
|
&:is(textarea, div) {
|
|
@@ -12,3 +12,8 @@
|
|
|
12
12
|
--component-textField-background: var(--pr-t-color-input-background-disabled);
|
|
13
13
|
--component-textField-color: var(--pr-t-color-input-text-disabled);
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
@mixin lineThrough {
|
|
17
|
+
--component-textField-color: var(--pr-t-color-text-subtle);
|
|
18
|
+
--component-textField-textDecoration: line-through;
|
|
19
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--component-textField-border: var(--pr-t-color-input-border);
|
|
6
6
|
--component-textField-borderHover: var(--pr-t-color-input-border-hover);
|
|
7
7
|
--component-textField-color: var(--pr-t-color-input-text);
|
|
8
|
+
--component-textField-textDecoration: none;
|
|
8
9
|
--component-textField-padding: var(--pr-t-spacings-100);
|
|
9
10
|
--component-textField-affix-padding: var(--component-textField-padding);
|
|
10
11
|
--component-textField-affix-size: 1.75rem;
|