@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.
Files changed (69) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/base.scss +3 -1
  4. package/src/commons/config.scss +7 -1
  5. package/src/commons/core.scss +1 -1
  6. package/src/commons/utils/color.scss +14 -0
  7. package/src/commons/vars.scss +12 -12
  8. package/src/components/avatar/component.scss +4 -3
  9. package/src/components/avatar/index.scss +4 -0
  10. package/src/components/avatar/mods.scss +17 -2
  11. package/src/components/avatar/vars.scss +4 -0
  12. package/src/components/box/component.scss +1 -1
  13. package/src/components/box/mods.scss +1 -0
  14. package/src/components/box/vars.scss +1 -0
  15. package/src/components/button/component.scss +0 -1
  16. package/src/components/button/index.scss +16 -1
  17. package/src/components/button/mods.scss +16 -1
  18. package/src/components/button/states.scss +38 -9
  19. package/src/components/button/vars.scss +1 -1
  20. package/src/components/buttonGroup/component.scss +17 -0
  21. package/src/components/callout/component.scss +13 -4
  22. package/src/components/callout/index.scss +9 -0
  23. package/src/components/callout/mods.scss +30 -2
  24. package/src/components/callout/vars.scss +5 -0
  25. package/src/components/dataTable/component.scss +2 -0
  26. package/src/components/dataTable/index.scss +20 -0
  27. package/src/components/dataTable/mods.scss +5 -6
  28. package/src/components/dataTable/states.scss +12 -0
  29. package/src/components/dialog/component.scss +2 -2
  30. package/src/components/dialog/index.scss +4 -0
  31. package/src/components/dialog/mods.scss +4 -0
  32. package/src/components/footer/component.scss +0 -1
  33. package/src/components/form/component.scss +10 -0
  34. package/src/components/gauge/component.scss +71 -14
  35. package/src/components/gauge/index.scss +21 -0
  36. package/src/components/gauge/mods.scss +21 -7
  37. package/src/components/gauge/states.scss +8 -0
  38. package/src/components/gauge/vars.scss +16 -1
  39. package/src/components/index.scss +1 -0
  40. package/src/components/inputFramed/component.scss +1 -0
  41. package/src/components/inputFramed/index.scss +4 -0
  42. package/src/components/inputFramed/mods.scss +3 -0
  43. package/src/components/inputFramed/vars.scss +1 -0
  44. package/src/components/numericBadge/states.scss +5 -0
  45. package/src/components/readMore/component.scss +21 -5
  46. package/src/components/readMore/states.scss +2 -0
  47. package/src/components/richText/component.scss +1 -3
  48. package/src/components/segmentedControl/component.scss +1 -0
  49. package/src/components/skeleton/mods.scss +1 -1
  50. package/src/components/suggestion/component.scss +19 -0
  51. package/src/components/suggestion/exports.scss +4 -0
  52. package/src/components/suggestion/index.scss +16 -0
  53. package/src/components/suggestion/mods.scss +0 -0
  54. package/src/components/suggestion/states.scss +12 -0
  55. package/src/components/suggestion/vars.scss +4 -0
  56. package/src/components/tag/component.scss +4 -1
  57. package/src/components/tag/index.scss +12 -0
  58. package/src/components/tag/mods.scss +30 -3
  59. package/src/components/tag/states.scss +6 -0
  60. package/src/components/tag/vars.scss +2 -0
  61. package/src/components/textField/component.scss +1 -0
  62. package/src/components/textField/index.scss +4 -0
  63. package/src/components/textField/states.scss +5 -0
  64. package/src/components/textField/vars.scss +1 -0
  65. package/src/components/textFlow/component.scss +6 -0
  66. package/src/components/timeline/mods.scss +3 -3
  67. package/src/components/title/index.scss +11 -0
  68. package/src/components/title/mods.scss +6 -0
  69. 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
 
@@ -33,6 +33,10 @@
33
33
  @include XL;
34
34
  }
35
35
 
36
+ &.mod-XXL {
37
+ @include XXL;
38
+ }
39
+
36
40
  &.mod-neutralBackground {
37
41
  @include neutralBackground;
38
42
  }
@@ -22,6 +22,10 @@
22
22
  --components-dialog-size: 60rem;
23
23
  }
24
24
 
25
+ @mixin XXL {
26
+ --components-dialog-size: 100rem;
27
+ }
28
+
25
29
  @mixin drawer {
26
30
  --components-dialog-animationOpening: slideFromRight;
27
31
  --components-dialog-maxHeight: none;
@@ -19,7 +19,6 @@
19
19
  }
20
20
 
21
21
  .footer-actions {
22
- flex-shrink: 0;
23
22
  margin-inline-start: var(--components-footer-actions-margin);
24
23
  display: flex;
25
24
  gap: var(--pr-t-spacings-150);
@@ -65,6 +65,16 @@
65
65
  }
66
66
  }
67
67
 
68
+ .form-field-contentOptional {
69
+ display: flex;
70
+ gap: var(--pr-t-spacings-100);
71
+ align-items: center;
72
+
73
+ > :first-child {
74
+ flex-grow: 1;
75
+ }
76
+ }
77
+
68
78
  // deprecated
69
79
 
70
80
  .form-group-label,
@@ -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(--pr-t-border-radius-full);
5
- block-size: var(--components-gauge-height);
6
- overflow: hidden;
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
- color: var(--palettes-700, var(--palettes-product-700));
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-height: var(--pr-t-spacings-50);
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
- inline-size: var(--components-gauge-height);
7
- block-size: 100%;
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
- border-inline-start-width: var(--components-gauge-height);
11
- border-inline-start-style: solid;
12
- border-block-end-width: 0;
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
+ }
@@ -0,0 +1,8 @@
1
+ @mixin zero {
2
+ --components-gauge-before-minInlineSize: 0;
3
+ --components-gauge-color: var(--components-gauge-background);
4
+ }
5
+
6
+ @mixin animated {
7
+ --components-gauge-animationName: gauge-fill;
8
+ }
@@ -1,4 +1,19 @@
1
+ // --components-gauge-height is deprecated
1
2
  @mixin vars {
2
- --components-gauge-height: 0.5rem;
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
  }
@@ -108,6 +108,7 @@
108
108
  @forward 'appLayout';
109
109
  @forward 'mainLayout';
110
110
  @forward 'listboxOption';
111
+ @forward 'suggestion';
111
112
 
112
113
  @forward 'filterBarDeprecated';
113
114
  @forward 'tableFixedDeprecated';
@@ -56,6 +56,7 @@
56
56
  justify-content: space-between;
57
57
  align-content: flex-start;
58
58
  gap: var(--pr-t-spacings-100);
59
+ align-items: var(--components-inputFramed-header-alignItems);
59
60
  }
60
61
 
61
62
  .inputFramed-header-illustration {
@@ -39,6 +39,10 @@
39
39
  }
40
40
  }
41
41
  }
42
+
43
+ &.mod-center {
44
+ @include center;
45
+ }
42
46
  }
43
47
 
44
48
  .inputFramedWrapper {
@@ -0,0 +1,3 @@
1
+ @mixin center {
2
+ --components-inputFramed-header-alignItems: center;
3
+ }
@@ -5,4 +5,5 @@
5
5
  --components-inputFramed-padding: var(--pr-t-spacings-150);
6
6
  --components-inputFramed-header-backgroundColor: transparent;
7
7
  --components-inputFramed-header-info-color: inherit;
8
+ --components-inputFramed-header-alignItems: normal;
8
9
  }
@@ -25,3 +25,8 @@
25
25
  @mixin focusVisible {
26
26
  @include a11y.focusVisible;
27
27
  }
28
+
29
+ @mixin state {
30
+ --components-numericBadge-background: transparent;
31
+ --components-numericBadge-color: transparent;
32
+ }
@@ -44,7 +44,8 @@
44
44
  content: var(--components-readMore-content-lastChild-content) / '';
45
45
  visibility: hidden;
46
46
  white-space: nowrap;
47
- font-weight: 600;
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
- &:not(:has(> p)) {
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(> p) {
69
+ &:has(#{$notPlainText}) {
66
70
  > * {
67
71
  &:last-child {
68
- &::after {
69
- @extend %after;
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
  }
@@ -6,6 +6,8 @@
6
6
  }
7
7
 
8
8
  @mixin disabled {
9
+ --components-readMore-content-lastChild-content: none !important;
10
+
9
11
  .readMore-link.link {
10
12
  @include a11y.mask;
11
13
  }
@@ -131,9 +131,7 @@
131
131
  }
132
132
 
133
133
  .richTextField-toolbar-chips-item {
134
- @include reset.button;
135
-
136
- width: auto;
134
+ border: 0;
137
135
  }
138
136
 
139
137
  .richTextField-content {
@@ -100,6 +100,7 @@
100
100
  .segmentedControl_panel,
101
101
  .viewTabs_panel {
102
102
  display: var(--components-segmentedControl-display, block);
103
+ border-radius: var(--pr-t-border-radius-default);
103
104
 
104
105
  &:focus-visible {
105
106
  @include a11y.focusVisible;
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  @mixin square {
7
- border-radius: var(--pr-t-border-radius-structure);
7
+ border-radius: var(--pr-t-border-radius-small);
8
8
  block-size: var(--components-skeleton-shape-height);
9
9
  inline-size: var(--components-skeleton-shape-width);
10
10
  }
@@ -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,4 @@
1
+ @forward 'vars';
2
+ @forward 'mods';
3
+ @forward 'states';
4
+ @forward 'component';
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ @mixin vars {
2
+ --components-suggestion-textDecoration: none;
3
+ --components-suggestion-color: inherit;
4
+ }
@@ -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(--pr-t-spacings-50);
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 icon;
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 icon.S;
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
+ }
@@ -1,4 +1,10 @@
1
+ @use '@lucca-front/scss/src/commons/utils/a11y';
2
+
1
3
  @mixin disabled {
2
4
  --components-tag-background: var(--commons-disabled-background);
3
5
  --components-tag-color: var(--commons-disabled-color);
4
6
  }
7
+
8
+ @mixin focusVisible {
9
+ @include a11y.focusVisible;
10
+ }
@@ -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) {
@@ -41,4 +41,8 @@
41
41
  @include filterPill;
42
42
  }
43
43
  }
44
+
45
+ &.is-lineThrough {
46
+ @include lineThrough;
47
+ }
44
48
  }
@@ -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;
@@ -36,5 +36,11 @@
36
36
 
37
37
  & > :last-child {
38
38
  margin-block-end: 0;
39
+
40
+ &:is(ul, ol) {
41
+ > :last-child {
42
+ margin-block-end: 0;
43
+ }
44
+ }
39
45
  }
40
46
  }