@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
@@ -192,7 +192,7 @@
192
192
 
193
193
  &::before {
194
194
  content: attr(data-label);
195
- font-weight: 600;
195
+ font-weight: var(--pr-t-font-fontWeight-semibold);
196
196
  }
197
197
  }
198
198
 
@@ -10,9 +10,7 @@
10
10
  &.mod-S {
11
11
  @include S;
12
12
  }
13
- }
14
13
 
15
- @layer states {
16
14
  &.is-success {
17
15
  @include success;
18
16
  }
@@ -16,7 +16,7 @@
16
16
  @at-root ($atRoot) {
17
17
  .inputFramed-header-label.formLabel {
18
18
  position: static;
19
- font-weight: 600;
19
+ font-weight: var(--pr-t-font-fontWeight-semibold);
20
20
 
21
21
 
22
22
  &::after {
@@ -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 {
@@ -7,7 +7,7 @@
7
7
  @include component;
8
8
  }
9
9
 
10
- @layer states {
10
+ @layer mods {
11
11
  &:hover {
12
12
  @include hover;
13
13
  }
@@ -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
  }
@@ -9,7 +9,7 @@
9
9
  border-radius: var(--pr-t-border-radius-full);
10
10
  font-size: var(--pr-t-font-body-S-fontSize);
11
11
  line-height: var(--pr-t-font-body-XS-lineHeight);
12
- font-weight: 600;
12
+ font-weight: var(--pr-t-font-fontWeight-semibold);
13
13
  padding-block: var(--pr-t-spacings-50);
14
14
  padding-inline: var(--pr-t-spacings-100);
15
15
 
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  html {
69
- @layer states {
69
+ @layer mods {
70
70
  &:is(.has-overlay, .withOverlay) {
71
71
  @include overlay;
72
72
  }
@@ -14,11 +14,9 @@
14
14
  &.mod-decorationHover {
15
15
  @include decorationHover;
16
16
  }
17
- }
18
17
 
19
- @layer states {
20
18
  &:is(:disabled, .is-disabled) {
21
- @include disabled;
22
- }
19
+ @include disabled;
20
+ }
23
21
  }
24
22
  }
@@ -51,9 +51,7 @@
51
51
  &[aria-hidden="true"] {
52
52
  @include empty;
53
53
  }
54
- }
55
54
 
56
- @layer states {
57
55
  &[aria-selected="true"],
58
56
  &[aria-checked="true"] {
59
57
  > .listboxOption-content {
@@ -94,7 +92,7 @@
94
92
  @include varsContent;
95
93
  }
96
94
 
97
- @layer states {
95
+ @layer mods {
98
96
  &.is-hovered,
99
97
  &:hover {
100
98
  @include hover;
@@ -120,13 +118,11 @@
120
118
  }
121
119
  }
122
120
 
123
- @layer states {
121
+ @layer mods {
124
122
  &[aria-busy="true"] {
125
123
  @include busy;
126
124
  }
127
- }
128
125
 
129
- @layer mods {
130
126
  &.mod-empty {
131
127
  @include empty;
132
128
  }
@@ -1,7 +1,7 @@
1
1
  @use 'exports' as *;
2
2
 
3
3
  .main {
4
- @layer states {
4
+ @layer mods {
5
5
  &:is(.is-notScrollable, .notScrollable) {
6
6
  @include notScrollable;
7
7
  }
@@ -24,8 +24,8 @@
24
24
  }
25
25
  }
26
26
 
27
- .mainLayout-content-inside {
28
- @layer mods {
27
+ @layer mods {
28
+ .mainLayout-content-inside {
29
29
  &:has(.mainLayout-content-inside-block.mod-overflow) {
30
30
  .mainLayout-content-inside-header {
31
31
  @include stickyHeader;
@@ -43,7 +43,7 @@
43
43
 
44
44
  &[aria-current='page'] {
45
45
  color: var(--palettes-product-700);
46
- font-weight: 600;
46
+ font-weight: var(--pr-t-font-fontWeight-semibold);
47
47
  }
48
48
  }
49
49
 
@@ -86,7 +86,7 @@
86
86
  }
87
87
 
88
88
  .multipleSelect-pill-displayer-label {
89
- font-weight: 600;
89
+ font-weight: var(--pr-t-font-fontWeight-semibold);
90
90
  }
91
91
  }
92
92
  }
@@ -13,10 +13,18 @@
13
13
 
14
14
  &.mod-filterPill {
15
15
  @include filterPill;
16
+
17
+ &:has(.multipleSelect-displayer-search:focus-visible) {
18
+ @include filterPillFocused;
19
+ }
20
+
21
+ .multipleSelect-displayer {
22
+ &:has(.multipleSelect-displayer-search:focus-visible) {
23
+ @include filterPillDisplayerFocused;
24
+ }
25
+ }
16
26
  }
17
- }
18
27
 
19
- @layer states {
20
28
  &.is-selected {
21
29
  @include selected;
22
30
  }
@@ -48,14 +56,14 @@
48
56
  }
49
57
  }
50
58
 
51
- .multipleSelect-displayer-filter {
52
- @layer components {
59
+ @layer components {
60
+ .multipleSelect-displayer-filter {
53
61
  min-inline-size: 0;
54
62
  }
55
63
  }
56
64
 
57
- .multipleSelect-displayer {
58
- @layer mods {
65
+ @layer mods {
66
+ .multipleSelect-displayer {
59
67
  &.mod-filter {
60
68
  @include displayerFilter;
61
69
 
@@ -73,20 +73,12 @@
73
73
  inline-size: 21rem;
74
74
  max-inline-size: calc(100vw - 2.5rem);
75
75
 
76
- &:has(.multipleSelect-displayer-search:focus-visible) {
77
- outline: none;
78
- }
79
-
80
76
  .multipleSelect-displayer {
81
77
  box-shadow: 0 0 0 1px var(--components-multiSelect-border-color);
82
78
  border-radius: var(--pr-t-border-radius-input);
83
79
  padding: var(--components-multiSelect-padding);
84
80
  z-index: 1;
85
81
  position: relative;
86
-
87
- &:has(.multipleSelect-displayer-search:focus-visible) {
88
- @include a11y.focusVisible($offset: 3px);
89
- }
90
82
  }
91
83
 
92
84
  .lu-picker-content {
@@ -59,3 +59,11 @@
59
59
  }
60
60
  }
61
61
  }
62
+
63
+ @mixin filterPillFocused {
64
+ outline: none;
65
+ }
66
+
67
+ @mixin filterPillDisplayerFocused {
68
+ @include a11y.focusVisible($offset: 3px);
69
+ }
@@ -123,7 +123,7 @@
123
123
  line-height: var(--pr-t-font-body-S-lineHeight);
124
124
  padding-block: var(--pr-t-spacings-150);
125
125
  padding-inline: var(--pr-t-spacings-200);
126
- font-weight: 600;
126
+ font-weight: var(--pr-t-font-fontWeight-semibold);
127
127
  }
128
128
 
129
129
  .navSide-item-link-badgesOptional {
@@ -157,7 +157,7 @@
157
157
  }
158
158
 
159
159
  .navSide-item-subMenu-link {
160
- font-weight: 400;
160
+ font-weight: var(--pr-t-font-fontWeight-regular);
161
161
  padding-block: var(--pr-t-spacings-100);
162
162
  padding-inline: var(--pr-t-spacings-600) var(--pr-t-spacings-200);
163
163
  font-size: var(--pr-t-font-body-S-fontSize);
@@ -38,15 +38,11 @@
38
38
  }
39
39
  }
40
40
  }
41
- }
42
41
 
43
- @layer mods {
44
42
  @include media.max('S') {
45
43
  @include mobile;
46
44
  }
47
- }
48
45
 
49
- @layer states {
50
46
  @include media.max('S') {
51
47
  &:not(.is-open, .open) {
52
48
  .navSide-item {
@@ -64,9 +60,7 @@
64
60
  }
65
61
  }
66
62
  }
67
- }
68
63
 
69
- @layer mods {
70
64
  @include media.max('S') {
71
65
  &.mod-withBanner {
72
66
  .navSide-item {
@@ -79,14 +73,12 @@
79
73
  }
80
74
  }
81
75
 
82
- .navSide-item {
83
- @layer mods {
76
+ @layer mods {
77
+ .navSide-item {
84
78
  &.mod-mobileToggle {
85
79
  @include mobileToggle;
86
80
  }
87
- }
88
81
 
89
- @layer states {
90
82
  &:not(.is-open) {
91
83
  @include notOpen;
92
84
  }
@@ -105,11 +97,9 @@
105
97
  }
106
98
  }
107
99
  }
108
- }
109
100
 
110
- .navSide-item-subMenu-link,
111
- .navSide-item-link {
112
- @layer states {
101
+ .navSide-item-subMenu-link,
102
+ .navSide-item-link {
113
103
  &:is(.is-active, .active) {
114
104
  @include active;
115
105
  }
@@ -118,10 +108,8 @@
118
108
  @include expanded;
119
109
  }
120
110
  }
121
- }
122
111
 
123
- html {
124
- @layer states {
112
+ html {
125
113
  &:is(.hasMenu, .withMenu) {
126
114
  @include media.max('S') {
127
115
  @include overlay;
@@ -1,7 +1,7 @@
1
1
  @mixin component {
2
2
  display: inline-flex;
3
3
  font: var(--pr-t-font-body-XS);
4
- font-weight: 600;
4
+ font-weight: var(--pr-t-font-fontWeight-semibold);
5
5
  background-color: var(--components-newBadge-backgroundColor);
6
6
  color: var(--components-newBadge-color);
7
7
  padding-block: 0;
@@ -10,7 +10,7 @@
10
10
  font: var(--components-numericBadge-font);
11
11
  font-size: var(--components-numericBadge-fontSize); // Deprecated
12
12
  line-height: var(--components-numericBadge-lineHeight); // Deprecated
13
- font-weight: 600;
13
+ font-weight: var(--pr-t-font-fontWeight-semibold);
14
14
  background-color: var(--components-numericBadge-background);
15
15
  color: var(--components-numericBadge-color);
16
16
  border-radius: var(--components-numericBadge-borderRadius);
@@ -14,9 +14,7 @@
14
14
  &.mod-XS {
15
15
  @include XS;
16
16
  }
17
- }
18
17
 
19
- @layer states {
20
18
  &.is-loading {
21
19
  @include loading;
22
20
 
@@ -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
+ }
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .pagination-navigation-item {
17
- @layer states {
17
+ @layer mods {
18
18
  &:is(.is-ellipsis, .ellipsis) {
19
19
  @include ellipsis;
20
20
  }
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .plgPush-content-title {
53
- font-weight: 600;
53
+ font-weight: var(--pr-t-font-fontWeight-semibold);
54
54
  }
55
55
 
56
56
  .plgPush-content-link {
@@ -36,23 +36,6 @@
36
36
  .popover-contentOptional {
37
37
  padding: var(--components-popover-padding);
38
38
  }
39
-
40
- .popover-close {
41
- @include button.outlined;
42
- @include button.XS;
43
- @include button.onlyIconXS;
44
-
45
- padding: 0;
46
- border-radius: 50%;
47
- position: absolute;
48
- inset-inline-start: calc(var(--pr-t-spacings-100) * -1);
49
- inset-block-start: calc(var(--pr-t-spacings-100) * -1);
50
- z-index: 2;
51
-
52
- &:not(:focus-visible) {
53
- @include a11y.mask;
54
- }
55
- }
56
39
  }
57
40
 
58
41
  @keyframes popup {
@@ -10,9 +10,7 @@
10
10
  &.mod-indeterminate {
11
11
  @include indeterminate;
12
12
  }
13
- }
14
13
 
15
- @layer states {
16
14
  &:is(.is-success, .success, .palette-success) {
17
15
  @include success;
18
16
  }
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  .radio-input {
21
- @layer states {
21
+ @layer mods {
22
22
  &[disabled],
23
23
  &[read-only] {
24
24
  @include disabled;
@@ -17,8 +17,8 @@
17
17
  }
18
18
  }
19
19
 
20
- .radioButtons-item-input {
21
- @layer states {
20
+ @layer mods {
21
+ .radioButtons-item-input {
22
22
  &:is(:disabled, .is-disabled, .disabled) {
23
23
  @include disabled;
24
24
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .radioField-input {
17
- @layer states {
17
+ @layer mods {
18
18
  &:focus-visible {
19
19
  @include focusVisible;
20
20
  }
@@ -20,7 +20,7 @@
20
20
  var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100))
21
21
  );
22
22
  padding-inline-start: var(--components-readMore-link-paddingInlineStart);
23
- font-weight: 600;
23
+ font-weight: var(--pr-t-font-fontWeight-semibold);
24
24
  text-decoration: none;
25
25
 
26
26
  &::before {
@@ -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,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &:has(.readMore-link[aria-expanded='true'], .readMore-content:focus-within) {
11
11
  @include expanded;
12
12
  }
@@ -14,9 +14,7 @@
14
14
  &.is-disabled {
15
15
  @include disabled;
16
16
  }
17
- }
18
17
 
19
- @layer mods {
20
18
  &.mod-openOnly {
21
19
  &:has(.readMore-link[aria-expanded='true']) {
22
20
  @include disabled;
@@ -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 {
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &:hover {
11
11
  @include hover;
12
12
  }
@@ -22,9 +22,7 @@
22
22
  &.is-disabled {
23
23
  @include disabled;
24
24
  }
25
- }
26
25
 
27
- @layer mods {
28
26
  &.mod-autoResize {
29
27
  @include autoResize;
30
28
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &.is-firstVisible {
11
11
  @include firstVisible;
12
12
  }
@@ -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;
@@ -24,28 +24,24 @@
24
24
  }
25
25
  }
26
26
 
27
- // .viewTabs-item-tab is deprecated
28
- .segmentedControl-item-action,
29
- .viewTabs-item-tab {
30
- @layer states {
27
+ @layer mods {
28
+ // .viewTabs-item-tab is deprecated
29
+ .segmentedControl-item-action,
30
+ .viewTabs-item-tab {
31
31
  .segmentedControl-item-input:checked + &,
32
32
  &[aria-selected='true'] {
33
33
  @include selected;
34
34
  }
35
35
  }
36
- }
37
36
 
38
- .segmentedControl-item-action:disabled,
39
- .segmentedControl-item-input:disabled ~ .segmentedControl-item-action {
40
- @layer states {
37
+ .segmentedControl-item-action:disabled,
38
+ .segmentedControl-item-input:disabled ~ .segmentedControl-item-action {
41
39
  @include disabled;
42
40
  }
43
- }
44
41
 
45
- // .viewTabs_panel is deprecated
46
- .segmentedControl_panel,
47
- .viewTabs_panel {
48
- @layer states {
42
+ // .viewTabs_panel is deprecated
43
+ .segmentedControl_panel,
44
+ .viewTabs_panel {
49
45
  &:not(.is-active, .active) {
50
46
  @include panelInactive;
51
47
  }
@@ -6,7 +6,7 @@
6
6
  @include component;
7
7
  }
8
8
 
9
- @layer states {
9
+ @layer mods {
10
10
  &:has(.simpleSelect-field-input:focus-visible) {
11
11
  @include focused;
12
12
 
@@ -31,9 +31,7 @@
31
31
  &:has(.simpleSelect-field-input:disabled) {
32
32
  @include disabled;
33
33
  }
34
- }
35
34
 
36
- @layer mods {
37
35
  &.mod-S {
38
36
  @include S;
39
37
  }
@@ -45,9 +43,7 @@
45
43
  &.mod-filterPill {
46
44
  @include filterPill;
47
45
  }
48
- }
49
46
 
50
- @layer states {
51
47
  &.is-searchFilled {
52
48
  @include searchFilled;
53
49
  }