@lucca-front/scss 20.3.0-rc.1 → 20.3.0-rc.11

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 (162) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/base.scss +4 -2
  4. package/src/commons/config.scss +8 -2
  5. package/src/commons/core.scss +1 -1
  6. package/src/commons/utils/color.scss +14 -0
  7. package/src/commons/utils/index.scss +2 -2
  8. package/src/commons/vars.scss +12 -12
  9. package/src/components/_sample/index.scss +0 -2
  10. package/src/components/avatar/component.scss +4 -3
  11. package/src/components/avatar/index.scss +4 -0
  12. package/src/components/avatar/mods.scss +18 -3
  13. package/src/components/avatar/vars.scss +4 -0
  14. package/src/components/box/component.scss +1 -1
  15. package/src/components/box/mods.scss +1 -0
  16. package/src/components/box/vars.scss +1 -0
  17. package/src/components/breadcrumbs/index.scss +1 -1
  18. package/src/components/breadcrumbs/states.scss +1 -1
  19. package/src/components/button/component.scss +0 -1
  20. package/src/components/button/index.scss +16 -3
  21. package/src/components/button/mods.scss +17 -2
  22. package/src/components/button/states.scss +41 -12
  23. package/src/components/button/vars.scss +1 -1
  24. package/src/components/calendar/component.scss +1 -1
  25. package/src/components/calendar/index.scss +1 -1
  26. package/src/components/callout/component.scss +14 -5
  27. package/src/components/callout/index.scss +9 -0
  28. package/src/components/callout/mods.scss +30 -2
  29. package/src/components/callout/vars.scss +5 -0
  30. package/src/components/calloutAccordion/component.scss +1 -1
  31. package/src/components/calloutDisclosure/component.scss +1 -1
  32. package/src/components/calloutDisclosure/index.scss +1 -3
  33. package/src/components/card/component.scss +1 -0
  34. package/src/components/card/index.scss +4 -2
  35. package/src/components/card/mods.scss +31 -0
  36. package/src/components/checkbox/index.scss +0 -2
  37. package/src/components/checkboxField/component.scss +1 -1
  38. package/src/components/checkboxField/index.scss +4 -8
  39. package/src/components/chip/index.scss +0 -2
  40. package/src/components/clear/index.scss +0 -2
  41. package/src/components/collapse/index.scss +1 -1
  42. package/src/components/dataTable/component.scss +4 -2
  43. package/src/components/dataTable/index.scss +25 -11
  44. package/src/components/dataTable/mods.scss +5 -6
  45. package/src/components/dataTable/states.scss +12 -0
  46. package/src/components/dataTableSticked/index.scss +0 -4
  47. package/src/components/dialog/component.scss +6 -6
  48. package/src/components/dialog/index.scss +4 -0
  49. package/src/components/dialog/mods.scss +4 -0
  50. package/src/components/dropdown/component.scss +43 -17
  51. package/src/components/dropdown/index.scss +5 -4
  52. package/src/components/dropdown/mods.scss +4 -4
  53. package/src/components/dropdown/states.scss +4 -3
  54. package/src/components/dropdown/vars.scss +8 -6
  55. package/src/components/field/index.scss +8 -30
  56. package/src/components/fieldset/component.scss +1 -1
  57. package/src/components/fieldset/index.scss +0 -2
  58. package/src/components/file/component.scss +1 -1
  59. package/src/components/file/index.scss +2 -4
  60. package/src/components/file/states.scss +1 -1
  61. package/src/components/fileEntry/index.scss +0 -2
  62. package/src/components/fileUpload/component.scss +1 -1
  63. package/src/components/fileUpload/index.scss +0 -2
  64. package/src/components/filterPill/component.scss +1 -1
  65. package/src/components/filterPill/index.scss +1 -5
  66. package/src/components/footer/component.scss +0 -1
  67. package/src/components/form/component.scss +11 -1
  68. package/src/components/form/index.scss +18 -36
  69. package/src/components/form/mods.scss +1 -1
  70. package/src/components/formLabel/component.scss +1 -1
  71. package/src/components/formLabel/index.scss +0 -2
  72. package/src/components/gauge/component.scss +73 -14
  73. package/src/components/gauge/index.scss +19 -0
  74. package/src/components/gauge/mods.scss +21 -7
  75. package/src/components/gauge/states.scss +8 -0
  76. package/src/components/gauge/vars.scss +16 -1
  77. package/src/components/header/index.scss +0 -2
  78. package/src/components/horizontalNavigation/component.scss +1 -1
  79. package/src/components/horizontalNavigation/index.scss +1 -1
  80. package/src/components/index.scss +1 -0
  81. package/src/components/indexTable/component.scss +2 -2
  82. package/src/components/indexTable/index.scss +0 -2
  83. package/src/components/indexTable/mods.scss +1 -1
  84. package/src/components/inlineMessage/index.scss +0 -2
  85. package/src/components/inputFramed/component.scss +2 -1
  86. package/src/components/inputFramed/index.scss +5 -1
  87. package/src/components/inputFramed/mods.scss +3 -0
  88. package/src/components/inputFramed/vars.scss +1 -0
  89. package/src/components/label/component.scss +1 -1
  90. package/src/components/layout/index.scss +1 -1
  91. package/src/components/link/index.scss +2 -4
  92. package/src/components/listboxOption/index.scss +2 -6
  93. package/src/components/main/index.scss +1 -1
  94. package/src/components/mainLayout/index.scss +2 -2
  95. package/src/components/mobileNavigation/component.scss +1 -1
  96. package/src/components/multiSelect/component.scss +1 -1
  97. package/src/components/multiSelect/index.scss +14 -6
  98. package/src/components/multiSelect/mods.scss +0 -8
  99. package/src/components/multiSelect/states.scss +8 -0
  100. package/src/components/navside/component.scss +2 -2
  101. package/src/components/navside/index.scss +5 -17
  102. package/src/components/newBadge/component.scss +1 -1
  103. package/src/components/numericBadge/component.scss +1 -1
  104. package/src/components/numericBadge/index.scss +0 -2
  105. package/src/components/numericBadge/states.scss +5 -0
  106. package/src/components/pagination/index.scss +1 -1
  107. package/src/components/plgPush/component.scss +1 -1
  108. package/src/components/popover/component.scss +0 -17
  109. package/src/components/progress/index.scss +0 -2
  110. package/src/components/radio/index.scss +1 -1
  111. package/src/components/radioButtons/index.scss +2 -2
  112. package/src/components/radioField/index.scss +1 -1
  113. package/src/components/readMore/component.scss +22 -6
  114. package/src/components/readMore/index.scss +1 -3
  115. package/src/components/readMore/states.scss +2 -0
  116. package/src/components/richText/component.scss +1 -3
  117. package/src/components/richText/index.scss +1 -3
  118. package/src/components/scrollBox/index.scss +1 -1
  119. package/src/components/segmentedControl/component.scss +1 -0
  120. package/src/components/segmentedControl/index.scss +9 -13
  121. package/src/components/simpleSelect/index.scss +1 -5
  122. package/src/components/skeleton/index.scss +0 -2
  123. package/src/components/skeleton/mods.scss +1 -1
  124. package/src/components/skipLinks/component.scss +1 -1
  125. package/src/components/statusBadge/component.scss +1 -1
  126. package/src/components/suggestion/component.scss +19 -0
  127. package/src/components/suggestion/exports.scss +4 -0
  128. package/src/components/suggestion/index.scss +16 -0
  129. package/src/components/suggestion/mods.scss +0 -0
  130. package/src/components/suggestion/states.scss +12 -0
  131. package/src/components/suggestion/vars.scss +4 -0
  132. package/src/components/switch/index.scss +1 -1
  133. package/src/components/switchField/index.scss +1 -1
  134. package/src/components/table/component.scss +1 -1
  135. package/src/components/table/index.scss +12 -20
  136. package/src/components/table/mods.scss +4 -4
  137. package/src/components/tableOfContent/index.scss +1 -1
  138. package/src/components/tableSortable/index.scss +0 -2
  139. package/src/components/tag/component.scss +4 -1
  140. package/src/components/tag/index.scss +12 -2
  141. package/src/components/tag/mods.scss +30 -3
  142. package/src/components/tag/states.scss +6 -0
  143. package/src/components/tag/vars.scss +2 -0
  144. package/src/components/textField/component.scss +1 -0
  145. package/src/components/textField/index.scss +4 -4
  146. package/src/components/textField/states.scss +5 -0
  147. package/src/components/textField/vars.scss +1 -0
  148. package/src/components/textFlow/component.scss +6 -0
  149. package/src/components/textfields/index.scss +2 -19
  150. package/src/components/textfields/mods.scss +3 -3
  151. package/src/components/timeline/component.scss +1 -1
  152. package/src/components/timeline/index.scss +1 -1
  153. package/src/components/timeline/mods.scss +3 -3
  154. package/src/components/timepicker/index.scss +0 -2
  155. package/src/components/title/index.scss +11 -0
  156. package/src/components/title/mods.scss +6 -0
  157. package/src/components/titleSection/component.scss +1 -1
  158. package/src/components/tooltip/index.scss +1 -1
  159. package/src/components/userPopover/component.scss +1 -0
  160. package/src/components/verticalNavigation/component.scss +1 -1
  161. package/src/components/verticalNavigation/index.scss +4 -8
  162. package/src/components/verticalNavigation/mods.scss +1 -1
@@ -11,9 +11,7 @@
11
11
  &.mod-dark {
12
12
  @include dark;
13
13
  }
14
- }
15
14
 
16
- @layer states {
17
15
  &.is-loading {
18
16
  @include loading;
19
17
 
@@ -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
  }
@@ -17,7 +17,7 @@
17
17
  margin: 0;
18
18
  border-radius: var(--pr-t-border-radius-default);
19
19
  font: var(--pr-t-font-body-XS);
20
- font-weight: 600;
20
+ font-weight: var(--pr-t-font-fontWeight-semibold);
21
21
  padding-block: var(--pr-t-spacings-50);
22
22
  padding-inline: var(--pr-t-spacings-100);
23
23
  transition: all var(--commons-animations-durations-fast);
@@ -11,7 +11,7 @@
11
11
  padding-block: calc(var(--pr-t-spacings-50) / 2);
12
12
  padding-inline: var(--pr-t-spacings-75) var(--pr-t-spacings-100);
13
13
  white-space: nowrap;
14
- font-weight: normal;
14
+ font-weight: var(--pr-t-font-fontWeight-regular);
15
15
 
16
16
  &::before {
17
17
  background-color: var(--palettes-700, var(--palettes-product-700));
@@ -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
+ }
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
 
20
- @layer states {
20
+ @layer mods {
21
21
  .switch-input {
22
22
  &:is(:checked) {
23
23
  @include checked;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .switchField-input {
17
- @layer states {
17
+ @layer mods {
18
18
  &:checked {
19
19
  @include checked;
20
20
  }
@@ -34,7 +34,7 @@
34
34
  border-block-end-style: solid;
35
35
  display: table-cell;
36
36
  text-align: start;
37
- font-weight: 600;
37
+ font-weight: var(--pr-t-font-fontWeight-semibold);
38
38
  }
39
39
 
40
40
  .table-body {
@@ -52,9 +52,9 @@
52
52
  }
53
53
  }
54
54
 
55
- .table-body-row,
56
- .table-foot-row {
57
- @layer mods {
55
+ @layer mods {
56
+ .table-body-row,
57
+ .table-foot-row {
58
58
  &.mod-header {
59
59
  @include header;
60
60
  }
@@ -71,12 +71,10 @@
71
71
  }
72
72
  }
73
73
  }
74
- }
75
74
 
76
- .table-head-row,
77
- .table-body-row,
78
- .table-foot-row {
79
- @layer mods {
75
+ .table-head-row,
76
+ .table-body-row,
77
+ .table-foot-row {
80
78
  &.mod-selectable {
81
79
  @include selectable;
82
80
  }
@@ -85,29 +83,23 @@
85
83
  @include draggable;
86
84
  }
87
85
  }
88
- }
89
86
 
90
- .table-head-row {
91
- @layer mods {
87
+ .table-head-row {
92
88
  &.mod-twoLines {
93
89
  @include twoLines;
94
90
  }
95
91
  }
96
- }
97
92
 
98
- .table-body-row-cell,
99
- .table-foot-row-cell {
100
- @layer mods {
93
+ .table-body-row-cell,
94
+ .table-foot-row-cell {
101
95
  &.mod-avatar {
102
96
  @include avatar;
103
97
  }
104
98
  }
105
- }
106
99
 
107
- .table-head-row-cell,
108
- .table-body-row-cell,
109
- .table-foot-row-cell {
110
- @layer mods {
100
+ .table-head-row-cell,
101
+ .table-body-row-cell,
102
+ .table-foot-row-cell {
111
103
  &.mod-actions {
112
104
  @include actions;
113
105
 
@@ -147,7 +147,7 @@
147
147
  background-color: var(--palettes-neutral-50);
148
148
  font-size: var(--pr-t-font-body-S-fontSize);
149
149
  line-height: var(--pr-t-font-body-S-lineHeight);
150
- font-weight: 600;
150
+ font-weight: var(--pr-t-font-fontWeight-semibold);
151
151
  }
152
152
  }
153
153
 
@@ -171,7 +171,7 @@
171
171
  @include icon.generate('arrow_chevron_top');
172
172
 
173
173
  font-size: var(--pr-t-font-body-M-lineHeight);
174
- font-weight: 400;
174
+ font-weight: var(--pr-t-font-fontWeight-regular);
175
175
  margin-inline-end: var(--pr-t-spacings-100);
176
176
  transition-duration: var(--commons-animations-durations-fast);
177
177
  transition-property: transform;
@@ -267,7 +267,7 @@
267
267
  .table-head-row-cell-secondLine {
268
268
  margin-block-start: var(--pr-t-spacings-50);
269
269
  display: block;
270
- font-weight: 400;
270
+ font-weight: var(--pr-t-font-fontWeight-regular);
271
271
  }
272
272
  }
273
273
 
@@ -284,7 +284,7 @@
284
284
  .table-head-row-cell-secondLine {
285
285
  margin-block-start: var(--pr-t-spacings-50);
286
286
  display: block;
287
- font-weight: 400;
287
+ font-weight: var(--pr-t-font-fontWeight-regular);
288
288
  }
289
289
  }
290
290
 
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .tableOfContent-list-item-action {
11
- @layer states {
11
+ @layer mods {
12
12
  &:not(.disabled, .is-disabled, [disabled]) {
13
13
  &:is(:hover) {
14
14
  @include hover;
@@ -22,9 +22,7 @@
22
22
  @include sortAlignCenter;
23
23
  }
24
24
  }
25
- }
26
25
 
27
- @layer states {
28
26
  &[aria-sort='ascending'] {
29
27
  .tableSortable{
30
28
  @include sortAscending;
@@ -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,17 @@
20
24
  &.mod-outlined {
21
25
  @include outlined;
22
26
  }
23
- }
24
27
 
25
- @layer states {
28
+ &.mod-AI {
29
+ @include AI;
30
+ }
31
+
26
32
  &.mod-disabled {
27
33
  @include disabled;
28
34
  }
35
+
36
+ &:has(.tag-content:focus-visible) {
37
+ @include focusVisible;
38
+ }
29
39
  }
30
40
  }
@@ -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) {
@@ -18,9 +18,7 @@
18
18
  &.mod-valueAlignRight {
19
19
  @include valueAlignRight;
20
20
  }
21
- }
22
21
 
23
- @layer states {
24
22
  &.is-invalid,
25
23
  &:has(.textField-input-value[aria-invalid='true']) {
26
24
  @include invalid;
@@ -30,9 +28,7 @@
30
28
  &:has(.textField-input-value:disabled) {
31
29
  @include disabled;
32
30
  }
33
- }
34
31
 
35
- @layer mods {
36
32
  &.mod-autoResize {
37
33
  @include autoResize;
38
34
  }
@@ -41,4 +37,8 @@
41
37
  @include filterPill;
42
38
  }
43
39
  }
40
+
41
+ &.is-lineThrough {
42
+ @include lineThrough;
43
+ }
44
44
  }
@@ -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
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  .textfield-input {
11
11
  &:is([disabled], .is-disabled, .disabled, [readonly], .is-readonly, .readonly) {
12
12
  @include inputDisabled;
@@ -17,9 +17,7 @@
17
17
  &:is(.is-open, .open) {
18
18
  @include open;
19
19
  }
20
- }
21
20
 
22
- @layer mods {
23
21
  &.mod-password {
24
22
  @include password;
25
23
 
@@ -190,9 +188,7 @@
190
188
  @include compactSize('longest');
191
189
  }
192
190
  }
193
- }
194
191
 
195
- @layer mods {
196
192
  &.mod-material {
197
193
  @include material;
198
194
 
@@ -224,11 +220,7 @@
224
220
  &.mod-radio {
225
221
  @include materialRadio;
226
222
  }
227
- }
228
- }
229
223
 
230
- @layer states {
231
- &.mod-material {
232
224
  .textfield-input {
233
225
  &:is(:focus, .is-focused, .focused) {
234
226
  @include materialInputFocus;
@@ -266,7 +258,7 @@
266
258
  }
267
259
  }
268
260
 
269
- @layer states {
261
+ @layer mods {
270
262
  .textfield-input {
271
263
  &:is(:hover) {
272
264
  @include inputHover;
@@ -282,17 +274,13 @@
282
274
  @include entryHover;
283
275
  }
284
276
  }
285
- }
286
277
 
287
- @layer mods {
288
278
  .textfield-suffix {
289
279
  &.mod-icon {
290
280
  @include suffixIcon;
291
281
  }
292
282
  }
293
- }
294
283
 
295
- @layer mods {
296
284
  .textfield.mod-framed,
297
285
  .form.mod-framed .textfield {
298
286
  @include framed;
@@ -308,12 +296,7 @@
308
296
  &.mod-search {
309
297
  @include framedSearch;
310
298
  }
311
- }
312
- }
313
299
 
314
- @layer states {
315
- .textfield.mod-framed,
316
- .form.mod-framed .textfield {
317
300
  &:is(.is-error, .error) {
318
301
  @include framedState('error');
319
302
 
@@ -288,7 +288,7 @@
288
288
  color: var(--palettes-neutral-600);
289
289
  inset-inline-start: var(--pr-t-spacings-200);
290
290
  font-size: var(--pr-t-font-body-S-fontSize);
291
- font-weight: 400;
291
+ font-weight: var(--pr-t-font-fontWeight-regular);
292
292
  line-height: var(--pr-t-font-body-S-lineHeight);
293
293
  pointer-events: none;
294
294
  position: absolute;
@@ -308,7 +308,7 @@
308
308
  &::after {
309
309
  inset-block-end: var(--pr-t-spacings-100);
310
310
  color: var(--palettes-neutral-600);
311
- font-weight: 400;
311
+ font-weight: var(--pr-t-font-fontWeight-regular);
312
312
  }
313
313
  }
314
314
  }
@@ -500,7 +500,7 @@
500
500
  font-size: var(--components-textfield-material-label-font-size);
501
501
  position: absolute;
502
502
  pointer-events: none;
503
- font-weight: 400;
503
+ font-weight: var(--pr-t-font-fontWeight-regular);
504
504
  line-height: var(--pr-t-font-body-M-lineHeight);
505
505
  inline-size: 100%;
506
506
  inset-block-start: var(--pr-t-spacings-300);
@@ -35,7 +35,7 @@
35
35
  position: relative;
36
36
  display: block;
37
37
  color: var(--palettes-product-700);
38
- font-weight: 600;
38
+ font-weight: var(--pr-t-font-fontWeight-semibold);
39
39
  margin: 0;
40
40
  font-size: var(--components-timeline-title-fontSize);
41
41
  line-height: var(--components-timeline-title-lineHeight);
@@ -1,7 +1,7 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .timeline-step {
4
- @layer states {
4
+ @layer mods {
5
5
  &:is([aria-current='step']) {
6
6
  @include current;
7
7
  }
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
  .timeline-step-description {
88
- padding-inline-start: var(--pr-t-spacings-400);
88
+ padding-inline-start: calc(var(--pr-t-spacings-300) + var(--pr-t-spacings-50));
89
89
  }
90
90
 
91
91
  .timeline-stepAddBetweenStep {
@@ -117,7 +117,7 @@
117
117
  }
118
118
 
119
119
  .timeline-step-description {
120
- padding-inline-start: var(--pr-t-spacings-300);
120
+ padding-inline-start: calc(var(--pr-t-spacings-200) + var(--pr-t-spacings-50));
121
121
  }
122
122
  }
123
123
 
@@ -137,7 +137,7 @@
137
137
  }
138
138
 
139
139
  .timeline-step-description {
140
- padding-inline-start: 2.5rem;
140
+ padding-inline-start: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
141
141
  min-block-size: var(--pr-t-spacings-400);
142
142
  }
143
143
  }
@@ -19,9 +19,7 @@
19
19
  &.mod-stepperHover {
20
20
  @include stepperHover;
21
21
  }
22
- }
23
22
 
24
- @layer states {
25
23
  &:has([aria-invalid='true']) {
26
24
  @include invalid;
27
25
  }
@@ -42,4 +42,15 @@
42
42
  @include XXXL;
43
43
  }
44
44
  }
45
+
46
+ h1,
47
+ h2,
48
+ h3,
49
+ h4,
50
+ h5,
51
+ h6 {
52
+ &.mod-elementAfterText {
53
+ @include elementAfterText;
54
+ }
55
+ }
45
56
  }
@@ -33,3 +33,9 @@
33
33
  --components-title-font: 600 var(--pr-t-font-fontSize-150)/var(--pr-t-font-lineHeight-200) var(--pr-t-font-family);
34
34
  --sizes-verticalPadding: var(--sizes-XS-verticalPadding);
35
35
  }
36
+
37
+ @mixin elementAfterText {
38
+ display: flex;
39
+ flex-wrap: wrap;
40
+ column-gap: var(--pr-t-spacings-100);
41
+ }
@@ -28,7 +28,7 @@
28
28
  color: var(--palettes-neutral-600);
29
29
  font-size: var(--pr-t-font-body-M-fontSize);
30
30
  line-height: var(--pr-t-font-body-M-lineHeight);
31
- font-weight: 400;
31
+ font-weight: var(--pr-t-font-fontWeight-regular);
32
32
  margin: 0;
33
33
  }
34
34
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &.is-above {
11
11
  @include above;
12
12
  }
@@ -31,6 +31,7 @@
31
31
 
32
32
  .userPopover-details-info {
33
33
  min-inline-size: 0;
34
+ flex-grow: 1;
34
35
  }
35
36
 
36
37
  .userPopover-details-info-name {