@lucca-front/scss 20.3.0-rc.3 → 20.3.0-rc.4

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 (128) hide show
  1. package/dist/lucca-front.min.css +1 -1
  2. package/package.json +2 -2
  3. package/src/commons/config.scss +0 -5
  4. package/src/commons/core.scss +3 -3
  5. package/src/commons/exports.scss +1 -0
  6. package/src/commons/index.scss +2 -9
  7. package/src/commons/utils/index.scss +478 -480
  8. package/src/commons/utils/reset.scss +1 -1
  9. package/src/components/_sample/index.scss +6 -14
  10. package/src/components/appLayout/index.scss +7 -11
  11. package/src/components/avatar/index.scss +35 -43
  12. package/src/components/box/index.scss +14 -20
  13. package/src/components/breadcrumbs/index.scss +10 -16
  14. package/src/components/button/index.scss +134 -140
  15. package/src/components/button/mods.scss +0 -17
  16. package/src/components/buttonGroup/index.scss +8 -20
  17. package/src/components/calendar/index.scss +44 -56
  18. package/src/components/callout/index.scss +4 -8
  19. package/src/components/calloutDisclosure/index.scss +9 -15
  20. package/src/components/calloutFeedbackList/index.scss +4 -8
  21. package/src/components/calloutPopover/index.scss +12 -18
  22. package/src/components/card/index.scss +24 -28
  23. package/src/components/checkbox/index.scss +30 -36
  24. package/src/components/checkboxField/index.scss +80 -90
  25. package/src/components/chip/index.scss +17 -23
  26. package/src/components/clear/index.scss +17 -23
  27. package/src/components/code/index.scss +4 -8
  28. package/src/components/collapse/index.scss +7 -11
  29. package/src/components/comment/index.scss +20 -30
  30. package/src/components/container/index.scss +25 -29
  31. package/src/components/contentSection/index.scss +2 -4
  32. package/src/components/dataTable/index.scss +52 -68
  33. package/src/components/dataTableSticked/index.scss +24 -32
  34. package/src/components/dateField/index.scss +20 -24
  35. package/src/components/dateRangeField/index.scss +25 -29
  36. package/src/components/dialog/index.scss +36 -40
  37. package/src/components/divider/index.scss +7 -11
  38. package/src/components/dropdown/index.scss +9 -13
  39. package/src/components/emptyState/index.scss +7 -11
  40. package/src/components/errorPage/index.scss +4 -8
  41. package/src/components/fancyBox/index.scss +4 -8
  42. package/src/components/field/index.scss +76 -96
  43. package/src/components/fieldset/index.scss +12 -18
  44. package/src/components/file/index.scss +30 -38
  45. package/src/components/fileEntry/index.scss +18 -24
  46. package/src/components/fileToolbar/index.scss +6 -10
  47. package/src/components/fileUpload/index.scss +31 -37
  48. package/src/components/filterBar/index.scss +13 -17
  49. package/src/components/filterBarDeprecated/index.scss +4 -8
  50. package/src/components/filterPill/index.scss +48 -56
  51. package/src/components/filters/index.scss +8 -14
  52. package/src/components/footer/index.scss +34 -38
  53. package/src/components/form/index.scss +84 -114
  54. package/src/components/form/mods.scss +5 -7
  55. package/src/components/formLabel/index.scss +13 -19
  56. package/src/components/gauge/index.scss +20 -26
  57. package/src/components/grid/index.scss +21 -25
  58. package/src/components/header/index.scss +12 -18
  59. package/src/components/highlightData/index.scss +24 -28
  60. package/src/components/horizontalNavigation/index.scss +36 -42
  61. package/src/components/index.scss +55 -57
  62. package/src/components/indexTable/index.scss +56 -54
  63. package/src/components/inlineMessage/index.scss +12 -18
  64. package/src/components/inputFramed/index.scss +24 -30
  65. package/src/components/label/index.scss +9 -13
  66. package/src/components/layout/index.scss +45 -51
  67. package/src/components/link/index.scss +8 -14
  68. package/src/components/link/mods.scss +1 -1
  69. package/src/components/list/index.scss +11 -15
  70. package/src/components/listboxOption/index.scss +115 -131
  71. package/src/components/listing/index.scss +18 -22
  72. package/src/components/loading/index.scss +23 -27
  73. package/src/components/main/index.scss +15 -21
  74. package/src/components/mainLayout/index.scss +20 -26
  75. package/src/components/mobileHeader/index.scss +4 -8
  76. package/src/components/mobileNavigation/index.scss +2 -4
  77. package/src/components/mobilePush/index.scss +4 -8
  78. package/src/components/multiSelect/index.scss +34 -58
  79. package/src/components/multiSelect/mods.scss +8 -0
  80. package/src/components/multiSelect/states.scss +0 -8
  81. package/src/components/navside/index.scss +56 -78
  82. package/src/components/newBadge/index.scss +4 -8
  83. package/src/components/notchBox/index.scss +13 -17
  84. package/src/components/notchBox/mods.scss +125 -137
  85. package/src/components/numericBadge/index.scss +16 -22
  86. package/src/components/pageHeader/index.scss +22 -26
  87. package/src/components/pagination/index.scss +6 -12
  88. package/src/components/plgPush/index.scss +2 -4
  89. package/src/components/popover/index.scss +2 -4
  90. package/src/components/progress/index.scss +9 -15
  91. package/src/components/radio/index.scss +12 -18
  92. package/src/components/radioButtons/index.scss +9 -15
  93. package/src/components/radioField/index.scss +40 -46
  94. package/src/components/readMore/index.scss +15 -21
  95. package/src/components/richText/index.scss +14 -20
  96. package/src/components/scrollBox/index.scss +10 -14
  97. package/src/components/section/index.scss +12 -16
  98. package/src/components/segmentedControl/index.scss +15 -25
  99. package/src/components/simpleSelect/index.scss +33 -41
  100. package/src/components/skeleton/index.scss +37 -43
  101. package/src/components/skipLinks/index.scss +2 -4
  102. package/src/components/sortableList/index.scss +6 -12
  103. package/src/components/statusBadge/index.scss +4 -8
  104. package/src/components/switch/index.scss +29 -35
  105. package/src/components/switchField/index.scss +16 -22
  106. package/src/components/table/index.scss +64 -78
  107. package/src/components/tableFixed/index.scss +11 -13
  108. package/src/components/tableFixedDeprecated/index.scss +10 -14
  109. package/src/components/tableOfContent/index.scss +24 -28
  110. package/src/components/tableSortable/index.scss +16 -22
  111. package/src/components/tableSticked/index.scss +24 -28
  112. package/src/components/tableSticked/mods.scss +6 -6
  113. package/src/components/tableStickedDeprecated/index.scss +40 -46
  114. package/src/components/tag/index.scss +23 -29
  115. package/src/components/textField/index.scss +22 -30
  116. package/src/components/textField/mods.scss +1 -1
  117. package/src/components/textFlow/index.scss +2 -4
  118. package/src/components/textfields/index.scss +258 -279
  119. package/src/components/timeline/index.scss +66 -72
  120. package/src/components/timepicker/index.scss +15 -21
  121. package/src/components/title/index.scss +30 -43
  122. package/src/components/title/mods.scss +1 -1
  123. package/src/components/titleSection/index.scss +23 -31
  124. package/src/components/toast/index.scss +4 -8
  125. package/src/components/tooltip/index.scss +21 -25
  126. package/src/components/userPopover/index.scss +2 -4
  127. package/src/components/userTile/index.scss +22 -26
  128. package/src/components/verticalNavigation/index.scss +16 -26
@@ -11,695 +11,693 @@
11
11
 
12
12
  @use '@lucca-front/scss/src/components/title/exports' as title;
13
13
 
14
- @layer utils {
15
- %animatedAll {
16
- animation-duration: var(--commons-animations-duration, var(--commons-animations-durations-standard));
17
- animation-timing-function: var(--commons-animations-function);
14
+ %animatedAll {
15
+ animation-duration: var(--commons-animations-duration, var(--commons-animations-durations-standard));
16
+ animation-timing-function: var(--commons-animations-function);
18
17
 
19
- &.mod-animation-duration-fast {
20
- --commons-animations-duration: var(--commons-animations-durations-fast);
21
- }
18
+ &.mod-animation-duration-fast {
19
+ --commons-animations-duration: var(--commons-animations-durations-fast);
20
+ }
22
21
 
23
- &.mod-animation-duration-slow {
24
- --commons-animations-duration: var(--commons-animations-durations-slow);
25
- }
22
+ &.mod-animation-duration-slow {
23
+ --commons-animations-duration: var(--commons-animations-durations-slow);
26
24
  }
25
+ }
27
26
 
28
- %animated {
29
- &FadeIn,
30
- &FadeOut {
31
- animation-name: fadeIn;
27
+ %animated {
28
+ &FadeIn,
29
+ &FadeOut {
30
+ animation-name: fadeIn;
32
31
 
33
- @include keyframe.fadeIn;
34
- }
32
+ @include keyframe.fadeIn;
33
+ }
35
34
 
36
- &ScaleIn,
37
- &ScaleOut {
38
- animation-name: scaleIn;
35
+ &ScaleIn,
36
+ &ScaleOut {
37
+ animation-name: scaleIn;
39
38
 
40
- @include keyframe.scaleIn;
41
- }
39
+ @include keyframe.scaleIn;
40
+ }
42
41
 
43
- &ScaleInTop,
44
- &ScaleOutTop {
45
- animation-name: scaleInTop;
42
+ &ScaleInTop,
43
+ &ScaleOutTop {
44
+ animation-name: scaleInTop;
46
45
 
47
- @include keyframe.scaleIn;
48
- }
49
-
50
- &ScaleInRight,
51
- &ScaleOutRight {
52
- animation-name: scaleInRight;
46
+ @include keyframe.scaleIn;
47
+ }
53
48
 
54
- @include keyframe.scaleInRight;
55
- }
49
+ &ScaleInRight,
50
+ &ScaleOutRight {
51
+ animation-name: scaleInRight;
56
52
 
57
- &ScaleInBottom,
58
- &ScaleOutBottom {
59
- animation-name: scaleInBottom;
53
+ @include keyframe.scaleInRight;
54
+ }
60
55
 
61
- @include keyframe.scaleInBottom;
62
- }
56
+ &ScaleInBottom,
57
+ &ScaleOutBottom {
58
+ animation-name: scaleInBottom;
63
59
 
64
- &ScaleInLeft,
65
- &ScaleOutLeft {
66
- animation-name: scaleInLeft;
60
+ @include keyframe.scaleInBottom;
61
+ }
67
62
 
68
- @include keyframe.scaleInLeft;
69
- }
63
+ &ScaleInLeft,
64
+ &ScaleOutLeft {
65
+ animation-name: scaleInLeft;
70
66
 
71
- &SlideIn,
72
- &SlideInTop,
73
- &SlideOut,
74
- &SlideOutTop {
75
- animation-name: slideIn;
67
+ @include keyframe.scaleInLeft;
68
+ }
76
69
 
77
- @include keyframe.slideIn;
78
- }
70
+ &SlideIn,
71
+ &SlideInTop,
72
+ &SlideOut,
73
+ &SlideOutTop {
74
+ animation-name: slideIn;
79
75
 
80
- &SlideInRight,
81
- &SlideOutRight {
82
- animation-name: slideInRight;
76
+ @include keyframe.slideIn;
77
+ }
83
78
 
84
- @include keyframe.slideInRight;
85
- }
79
+ &SlideInRight,
80
+ &SlideOutRight {
81
+ animation-name: slideInRight;
86
82
 
87
- &SlideInBottom,
88
- &SlideOutBottom {
89
- animation-name: slideInBottom;
83
+ @include keyframe.slideInRight;
84
+ }
90
85
 
91
- @include keyframe.slideInBottom;
92
- }
86
+ &SlideInBottom,
87
+ &SlideOutBottom {
88
+ animation-name: slideInBottom;
93
89
 
94
- &SlideInLeft,
95
- &SlideOutLeft {
96
- animation-name: slideInLeft;
90
+ @include keyframe.slideInBottom;
91
+ }
97
92
 
98
- @include keyframe.slideInLeft;
99
- }
93
+ &SlideInLeft,
94
+ &SlideOutLeft {
95
+ animation-name: slideInLeft;
100
96
 
101
- &Shake {
102
- animation-name: shake;
97
+ @include keyframe.slideInLeft;
98
+ }
103
99
 
104
- @include keyframe.shake;
105
- }
100
+ &Shake {
101
+ animation-name: shake;
106
102
 
107
- &Pulse {
108
- animation-name: pulse;
109
- animation-direction: alternate;
110
- animation-iteration-count: var(--commons-animations-iteration-count);
103
+ @include keyframe.shake;
104
+ }
111
105
 
112
- @include keyframe.pulse;
113
- }
106
+ &Pulse {
107
+ animation-name: pulse;
108
+ animation-direction: alternate;
109
+ animation-iteration-count: var(--commons-animations-iteration-count);
114
110
 
115
- &FadeOut,
116
- &SlideOut,
117
- &SlideOutTop,
118
- &SlideOutRight,
119
- &SlideOutBottom,
120
- &SlideOutLeft,
121
- &ScaleOut,
122
- &ScaleOutTop,
123
- &ScaleOutRight,
124
- &ScaleOutBottom,
125
- &ScaleOutLeft {
126
- animation-direction: reverse;
127
- }
111
+ @include keyframe.pulse;
128
112
  }
129
113
 
130
- %mask {
131
- @include a11y.mask('!important');
114
+ &FadeOut,
115
+ &SlideOut,
116
+ &SlideOutTop,
117
+ &SlideOutRight,
118
+ &SlideOutBottom,
119
+ &SlideOutLeft,
120
+ &ScaleOut,
121
+ &ScaleOutTop,
122
+ &ScaleOutRight,
123
+ &ScaleOutBottom,
124
+ &ScaleOutLeft {
125
+ animation-direction: reverse;
132
126
  }
127
+ }
133
128
 
134
- %clearfix {
135
- @include reset.clearfix('!important');
136
- }
129
+ %mask {
130
+ @include a11y.mask('!important');
131
+ }
137
132
 
138
- %clearBoth {
139
- @include reset.clear('both', '!important');
140
- }
133
+ %clearfix {
134
+ @include reset.clearfix('!important');
135
+ }
141
136
 
142
- %clearInlineStart {
143
- @include reset.clear('both', '!important');
144
- }
137
+ %clearBoth {
138
+ @include reset.clear('both', '!important');
139
+ }
145
140
 
146
- %clearInlineEnd {
147
- @include reset.clear('inline-end', '!important');
148
- }
141
+ %clearInlineStart {
142
+ @include reset.clear('both', '!important');
143
+ }
149
144
 
150
- %listReset {
151
- @include reset.list('!important');
152
- }
145
+ %clearInlineEnd {
146
+ @include reset.clear('inline-end', '!important');
147
+ }
153
148
 
154
- %descriptionListReset {
155
- @include reset.list($list: 'dl', $suffix: '!important');
156
- }
149
+ %listReset {
150
+ @include reset.list('!important');
151
+ }
157
152
 
158
- %summaryReset {
159
- @include reset.summary('!important');
160
- }
153
+ %descriptionListReset {
154
+ @include reset.list($list: 'dl', $suffix: '!important');
155
+ }
161
156
 
162
- %buttonReset {
163
- @include reset.button('!important');
164
- }
157
+ %summaryReset {
158
+ @include reset.summary('!important');
159
+ }
165
160
 
166
- %ellipsis {
167
- @include text.ellipsis('!important');
168
- }
161
+ %buttonReset {
162
+ @include reset.button('!important');
163
+ }
169
164
 
170
- %h1 {
171
- font: var(--pr-t-font-heading-1);
172
- color: var(--pr-t-color-text-heading);
165
+ %ellipsis {
166
+ @include text.ellipsis('!important');
167
+ }
173
168
 
174
- &.mod-XXXL {
175
- // Deprecated
176
- @include title.XXXL;
177
- }
178
- }
169
+ %h1 {
170
+ font: var(--pr-t-font-heading-1);
171
+ color: var(--pr-t-color-text-heading);
179
172
 
180
- %h2 {
181
- font: var(--pr-t-font-heading-2);
182
- color: var(--pr-t-color-text-heading);
173
+ &.mod-XXXL {
174
+ // Deprecated
175
+ @include title.XXXL;
183
176
  }
177
+ }
184
178
 
185
- %h3 {
186
- font: var(--pr-t-font-heading-3);
187
- color: var(--pr-t-color-text-heading);
188
- }
179
+ %h2 {
180
+ font: var(--pr-t-font-heading-2);
181
+ color: var(--pr-t-color-text-heading);
182
+ }
189
183
 
190
- %h4 {
191
- font: var(--pr-t-font-heading-4);
192
- color: var(--pr-t-color-text-heading);
193
- }
184
+ %h3 {
185
+ font: var(--pr-t-font-heading-3);
186
+ color: var(--pr-t-color-text-heading);
187
+ }
194
188
 
195
- %h5 {
196
- @include title.h5;
197
- }
189
+ %h4 {
190
+ font: var(--pr-t-font-heading-4);
191
+ color: var(--pr-t-color-text-heading);
192
+ }
198
193
 
199
- %h6 {
200
- @include title.h6;
201
- }
194
+ %h5 {
195
+ @include title.h5;
196
+ }
202
197
 
203
- %bodyM {
204
- font: var(--pr-t-font-body-M);
205
- }
198
+ %h6 {
199
+ @include title.h6;
200
+ }
206
201
 
207
- %bodyS {
208
- font: var(--pr-t-font-body-S);
209
- }
202
+ %bodyM {
203
+ font: var(--pr-t-font-body-M);
204
+ }
210
205
 
211
- %bodyXS {
212
- font: var(--pr-t-font-body-XS);
213
- }
206
+ %bodyS {
207
+ font: var(--pr-t-font-body-S);
208
+ }
214
209
 
215
- %textLeft {
216
- text-align: start !important;
217
- }
210
+ %bodyXS {
211
+ font: var(--pr-t-font-body-XS);
212
+ }
218
213
 
219
- %textRight {
220
- text-align: end !important;
221
- }
214
+ %textLeft {
215
+ text-align: start !important;
216
+ }
222
217
 
223
- %textCenter {
224
- text-align: center !important;
225
- }
218
+ %textRight {
219
+ text-align: end !important;
220
+ }
226
221
 
227
- %textLight {
228
- color: var(--palettes-neutral-600) !important;
229
- }
222
+ %textCenter {
223
+ text-align: center !important;
224
+ }
230
225
 
231
- %textPlaceholder {
232
- color: var(--palettes-neutral-400) !important;
233
- }
226
+ %textLight {
227
+ color: var(--palettes-neutral-600) !important;
228
+ }
234
229
 
235
- %textDefault {
236
- color: var(--palettes-neutral-700) !important;
237
- }
230
+ %textPlaceholder {
231
+ color: var(--palettes-neutral-400) !important;
232
+ }
238
233
 
239
- %fontWeightRegular {
240
- font-weight: 400 !important;
241
- }
234
+ %textDefault {
235
+ color: var(--palettes-neutral-700) !important;
236
+ }
242
237
 
243
- %fontWeightSemiBold {
244
- font-weight: 600 !important;
245
- }
238
+ %fontWeightRegular {
239
+ font-weight: 400 !important;
240
+ }
246
241
 
247
- %noSpinButtons {
248
- &::-webkit-outer-spin-button,
249
- &::-webkit-inner-spin-button {
250
- appearance: none !important;
251
- }
242
+ %fontWeightSemiBold {
243
+ font-weight: 600 !important;
244
+ }
252
245
 
253
- &[type='number'] {
254
- appearance: textfield !important;
255
- }
246
+ %noSpinButtons {
247
+ &::-webkit-outer-spin-button,
248
+ &::-webkit-inner-spin-button {
249
+ appearance: none !important;
256
250
  }
257
251
 
258
- %fontFamily {
259
- font-family: var(--pr-t-font-family) !important;
252
+ &[type='number'] {
253
+ appearance: textfield !important;
260
254
  }
255
+ }
261
256
 
262
- %fontFamilyCursive {
263
- font-family: var(--pr-t-font-family-cursive) !important;
257
+ %fontFamily {
258
+ font-family: var(--pr-t-font-family) !important;
259
+ }
260
+
261
+ %fontFamilyCursive {
262
+ font-family: var(--pr-t-font-family-cursive) !important;
263
+ }
264
+
265
+ %fontFamilyBrand {
266
+ font-family: var(--pr-t-font-family-brand) !important;
267
+ }
268
+
269
+ %focusVisible {
270
+ &:focus-visible {
271
+ @include a11y.focusVisible;
264
272
  }
273
+ }
265
274
 
266
- %fontFamilyBrand {
267
- font-family: var(--pr-t-font-family-brand) !important;
275
+
276
+
277
+ [data-content-before] {
278
+ &::before {
279
+ content: attr(data-content-before);
268
280
  }
281
+ }
269
282
 
270
- %focusVisible {
271
- &:focus-visible {
272
- @include a11y.focusVisible;
273
- }
283
+ [data-content-after] {
284
+ &::after {
285
+ content: attr(data-content-after);
274
286
  }
287
+ }
288
+
289
+ [class*='pr-u-animated'] {
290
+ @extend %animatedAll;
291
+ }
292
+
293
+ .pr-u-animated {
294
+ @extend %animated;
295
+ }
296
+
297
+ .pr-u-mask {
298
+ @extend %mask;
299
+ }
300
+
301
+ .pr-u-clearfix {
302
+ @extend %clearfix;
303
+ }
304
+
305
+ // clear is deprecated
306
+ .pr-u-clearBoth,
307
+ .pr-u-clear {
308
+ @extend %clearBoth;
309
+ }
310
+
311
+ // clearLeft is deprecated
312
+ .pr-u-clearInlineStart,
313
+ .pr-u-clearLeft {
314
+ @extend %clearInlineStart;
315
+ }
316
+
317
+ // clearRight is deprecated
318
+ .pr-u-clearInlineEnd,
319
+ .pr-u-clearRight {
320
+ @extend %clearInlineEnd;
321
+ }
322
+
323
+ .pr-u-listReset {
324
+ @extend %listReset;
325
+ }
326
+
327
+ .pr-u-descriptionListReset {
328
+ @extend %descriptionListReset;
329
+ }
330
+
331
+ .pr-u-summaryReset {
332
+ @extend %summaryReset;
333
+ }
275
334
 
335
+ .pr-u-buttonReset {
336
+ @extend %buttonReset;
337
+ }
276
338
 
339
+ .pr-u-ellipsis {
340
+ @extend %ellipsis;
341
+ }
277
342
 
278
- [data-content-before] {
279
- &::before {
280
- content: attr(data-content-before);
343
+ .pr-u-h1 {
344
+ @extend %h1;
345
+ }
346
+
347
+ .pr-u-h2 {
348
+ @extend %h2;
349
+ }
350
+
351
+ .pr-u-h3 {
352
+ @extend %h3;
353
+ }
354
+
355
+ .pr-u-h4 {
356
+ @extend %h4;
357
+ }
358
+
359
+ .pr-u-h5 {
360
+ // Deprecated
361
+ @extend %h5;
362
+ }
363
+
364
+ .pr-u-h6 {
365
+ // Deprecated
366
+ @extend %h6;
367
+ }
368
+
369
+ .pr-u-bodyM {
370
+ @extend %bodyM;
371
+ }
372
+
373
+ .pr-u-bodyS {
374
+ @extend %bodyS;
375
+ }
376
+
377
+ .pr-u-bodyXS {
378
+ @extend %bodyXS;
379
+ }
380
+
381
+ // textLeft is deprecated
382
+ .pr-u-textLeft {
383
+ @extend %textLeft;
384
+ }
385
+
386
+ // textRight is deprecated
387
+ .pr-u-textRight {
388
+ @extend %textRight;
389
+ }
390
+
391
+ // textCenter is deprecated
392
+ .pr-u-textCenter {
393
+ @extend %textCenter;
394
+ }
395
+
396
+ .pr-u-textLight {
397
+ @extend %textLight;
398
+ }
399
+
400
+ .pr-u-textPlaceholder {
401
+ @extend %textPlaceholder;
402
+ }
403
+
404
+ .pr-u-textDefault {
405
+ @extend %textDefault;
406
+ }
407
+
408
+ .pr-u-fontWeightRegular {
409
+ @extend %fontWeightRegular;
410
+ }
411
+
412
+ .pr-u-fontWeightSemiBold {
413
+ @extend %fontWeightSemiBold;
414
+ }
415
+
416
+ .pr-u-noSpinButtons {
417
+ @extend %noSpinButtons;
418
+ }
419
+
420
+ .pr-u-fontFamily {
421
+ @extend %fontFamily;
422
+ }
423
+
424
+ .pr-u-fontFamilyCursive {
425
+ @extend %fontFamilyCursive;
426
+ }
427
+
428
+ .pr-u-fontFamilyBrand {
429
+ @extend %fontFamilyBrand;
430
+ }
431
+
432
+ .pr-u-focusVisible {
433
+ @extend %focusVisible;
434
+ }
435
+
436
+ @include core.classes('float', core.$float);
437
+ @include core.classes('vertical-align', core.$verticalAlign);
438
+ @include core.classes('white-space', core.$whiteSpace);
439
+ @include core.classes('display', core.$displays);
440
+ @include core.classes('flex-direction', core.$direction);
441
+ @include core.classes('flex-wrap', core.$wrap);
442
+ @include core.classes('justify-content', core.$justify);
443
+ @include core.classes('align-items', core.$align);
444
+ @include core.classes('flex-grow', core.$flex);
445
+ @include core.classes('flex-shrink', core.$flex);
446
+ @include core.classes('flex-basis', core.$basis);
447
+ @include core.classes('order', core.$order);
448
+ @include core.classes('align-self', core.$align);
449
+ @include core.classes('position', core.$position);
450
+
451
+ @include core.classes('width', core.$contents);
452
+ @include core.classes('height', core.$contents);
453
+ @include core.classes('min-width', '0');
454
+ @include core.classes('min-height', '0');
455
+
456
+ @include core.classes('inline-size', core.$contents);
457
+ @include core.classes('block-size', core.$contents);
458
+ @include core.classes('min-inline-size', '0');
459
+ @include core.classes('min-block-size', '0');
460
+ @include core.classes('max-inline-size', core.$contents);
461
+
462
+ @include core.classes('visibility', core.$visibility);
463
+ @include core.classes('font-weight', core.$fontWeight);
464
+ @include core.classes('font-style', core.$fontStyle);
465
+ @include core.classes('pointer-events', core.$pointerEvents);
466
+ @include core.classes('cursor', core.$cursor);
467
+ @include core.classes('text-align', core.$textAlign);
468
+ @include core.classes('text-decoration', core.$decoration);
469
+ @include core.classes('overflow', core.$overflow);
470
+
471
+ @media (prefers-reduced-motion: no-preference) {
472
+ @include core.classes('scroll-behavior', core.$scrollBehavior);
473
+ }
474
+
475
+ @media only print {
476
+ @include core.classes('display', core.$displays, $prefix: 'onlyPrint');
477
+ }
478
+
479
+ %displayNone {
480
+ display: none;
481
+ }
482
+
483
+ @each $display in core.$displays {
484
+ @if $display != 'none' {
485
+ .pr-u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
486
+ @extend %displayNone;
281
487
  }
282
488
  }
489
+ }
283
490
 
284
- [data-content-after] {
285
- &::after {
286
- content: attr(data-content-after);
491
+ %inset0 {
492
+ inset: 0 !important;
493
+ }
494
+
495
+ @each $direction in core.$boxDirection {
496
+ @if $direction == '' {
497
+ // insetReset is deprecated
498
+ .pr-u-inset0,
499
+ .pr-u-insetReset {
500
+ @extend %inset0;
501
+ }
502
+ } @else if $direction == 'top' or $direction == 'bottom' or $direction == 'left' or $direction == 'right' {
503
+ // Reset is deprecated
504
+ .pr-u-#{$direction}0,
505
+ .pr-u-#{$direction}Reset {
506
+ #{$direction}: 0 !important;
507
+ }
508
+ } @else {
509
+ @each $boxModel in core.$boxModel {
510
+ @if $boxModel != 'border' {
511
+ .pr-u-#{$boxModel}#{transform.capitalize($direction)}0 {
512
+ #{$boxModel}-#{$direction}: 0 !important;
513
+ }
514
+ }
287
515
  }
288
516
  }
517
+ }
289
518
 
290
- [class*='pr-u-animated'] {
519
+ @include core.spacings;
520
+ @include core.sizes;
521
+ @include core.borderRadius;
522
+ @include core.palettes;
523
+ @include core.borderRadiusTokens;
524
+
525
+ // Deprecated .u- utilities
526
+ // Delete when all utilities are prefixed in .pr-u-
527
+ @if config.$deprecatedUtilityPrefix {
528
+ [class*='u-animated'] {
291
529
  @extend %animatedAll;
292
530
  }
293
531
 
294
- .pr-u-animated {
532
+ .u-animated {
295
533
  @extend %animated;
296
534
  }
297
535
 
298
- .pr-u-mask {
536
+ .u-mask {
299
537
  @extend %mask;
300
538
  }
301
539
 
302
- .pr-u-clearfix {
540
+ .u-clearfix {
303
541
  @extend %clearfix;
304
542
  }
305
543
 
306
544
  // clear is deprecated
307
- .pr-u-clearBoth,
308
- .pr-u-clear {
545
+ .u-clearBoth,
546
+ .u-clear {
309
547
  @extend %clearBoth;
310
548
  }
311
549
 
312
550
  // clearLeft is deprecated
313
- .pr-u-clearInlineStart,
314
- .pr-u-clearLeft {
551
+ .u-clearInlineStart,
552
+ .u-clearLeft {
315
553
  @extend %clearInlineStart;
316
554
  }
317
555
 
318
556
  // clearRight is deprecated
319
- .pr-u-clearInlineEnd,
320
- .pr-u-clearRight {
557
+ .u-clearInlineEnd,
558
+ .u-clearRight {
321
559
  @extend %clearInlineEnd;
322
560
  }
323
561
 
324
- .pr-u-listReset {
562
+ .u-listReset {
325
563
  @extend %listReset;
326
564
  }
327
565
 
328
- .pr-u-descriptionListReset {
566
+ .u-descriptionListReset {
329
567
  @extend %descriptionListReset;
330
568
  }
331
569
 
332
- .pr-u-summaryReset {
570
+ .u-summaryReset {
333
571
  @extend %summaryReset;
334
572
  }
335
573
 
336
- .pr-u-buttonReset {
574
+ .u-buttonReset {
337
575
  @extend %buttonReset;
338
576
  }
339
577
 
340
- .pr-u-ellipsis {
578
+ .u-ellipsis {
341
579
  @extend %ellipsis;
342
580
  }
343
581
 
344
- .pr-u-h1 {
582
+ .u-h1 {
345
583
  @extend %h1;
346
584
  }
347
585
 
348
- .pr-u-h2 {
586
+ .u-h2 {
349
587
  @extend %h2;
350
588
  }
351
589
 
352
- .pr-u-h3 {
590
+ .u-h3 {
353
591
  @extend %h3;
354
592
  }
355
593
 
356
- .pr-u-h4 {
594
+ .u-h4 {
357
595
  @extend %h4;
358
596
  }
359
597
 
360
- .pr-u-h5 {
598
+ .u-h5 {
361
599
  // Deprecated
362
600
  @extend %h5;
363
601
  }
364
602
 
365
- .pr-u-h6 {
603
+ .u-h6 {
366
604
  // Deprecated
367
605
  @extend %h6;
368
606
  }
369
607
 
370
- .pr-u-bodyM {
608
+ .u-bodyM {
371
609
  @extend %bodyM;
372
610
  }
373
611
 
374
- .pr-u-bodyS {
612
+ .u-bodyS {
375
613
  @extend %bodyS;
376
614
  }
377
615
 
378
- .pr-u-bodyXS {
616
+ .u-bodyXS {
379
617
  @extend %bodyXS;
380
618
  }
381
619
 
382
620
  // textLeft is deprecated
383
- .pr-u-textLeft {
621
+ .u-textLeft {
384
622
  @extend %textLeft;
385
623
  }
386
624
 
387
625
  // textRight is deprecated
388
- .pr-u-textRight {
626
+ .u-textRight {
389
627
  @extend %textRight;
390
628
  }
391
629
 
392
630
  // textCenter is deprecated
393
- .pr-u-textCenter {
631
+ .u-textCenter {
394
632
  @extend %textCenter;
395
633
  }
396
634
 
397
- .pr-u-textLight {
635
+ .u-textLight {
398
636
  @extend %textLight;
399
637
  }
400
638
 
401
- .pr-u-textPlaceholder {
639
+ .u-textPlaceholder {
402
640
  @extend %textPlaceholder;
403
641
  }
404
642
 
405
- .pr-u-textDefault {
643
+ .u-textDefault {
406
644
  @extend %textDefault;
407
645
  }
408
646
 
409
- .pr-u-fontWeightRegular {
647
+ .u-fontWeightRegular {
410
648
  @extend %fontWeightRegular;
411
649
  }
412
650
 
413
- .pr-u-fontWeightSemiBold {
651
+ .u-fontWeightSemiBold {
414
652
  @extend %fontWeightSemiBold;
415
653
  }
416
654
 
417
- .pr-u-noSpinButtons {
655
+ .u-noSpinButtons {
418
656
  @extend %noSpinButtons;
419
657
  }
420
658
 
421
- .pr-u-fontFamily {
659
+ .u-fontFamily {
422
660
  @extend %fontFamily;
423
661
  }
424
662
 
425
- .pr-u-fontFamilyCursive {
663
+ .u-fontFamilyCursive {
426
664
  @extend %fontFamilyCursive;
427
665
  }
428
666
 
429
- .pr-u-fontFamilyBrand {
667
+ .u-fontFamilyBrand {
430
668
  @extend %fontFamilyBrand;
431
669
  }
432
670
 
433
- .pr-u-focusVisible {
434
- @extend %focusVisible;
435
- }
436
-
437
- @include core.classes('float', core.$float);
438
- @include core.classes('vertical-align', core.$verticalAlign);
439
- @include core.classes('white-space', core.$whiteSpace);
440
- @include core.classes('display', core.$displays);
441
- @include core.classes('flex-direction', core.$direction);
442
- @include core.classes('flex-wrap', core.$wrap);
443
- @include core.classes('justify-content', core.$justify);
444
- @include core.classes('align-items', core.$align);
445
- @include core.classes('flex-grow', core.$flex);
446
- @include core.classes('flex-shrink', core.$flex);
447
- @include core.classes('flex-basis', core.$basis);
448
- @include core.classes('order', core.$order);
449
- @include core.classes('align-self', core.$align);
450
- @include core.classes('position', core.$position);
451
-
452
- @include core.classes('width', core.$contents);
453
- @include core.classes('height', core.$contents);
454
- @include core.classes('min-width', '0');
455
- @include core.classes('min-height', '0');
456
-
457
- @include core.classes('inline-size', core.$contents);
458
- @include core.classes('block-size', core.$contents);
459
- @include core.classes('min-inline-size', '0');
460
- @include core.classes('min-block-size', '0');
461
- @include core.classes('max-inline-size', core.$contents);
462
-
463
- @include core.classes('visibility', core.$visibility);
464
- @include core.classes('font-weight', core.$fontWeight);
465
- @include core.classes('font-style', core.$fontStyle);
466
- @include core.classes('pointer-events', core.$pointerEvents);
467
- @include core.classes('cursor', core.$cursor);
468
- @include core.classes('text-align', core.$textAlign);
469
- @include core.classes('text-decoration', core.$decoration);
470
- @include core.classes('overflow', core.$overflow);
471
-
472
- @media (prefers-reduced-motion: no-preference) {
473
- @include core.classes('scroll-behavior', core.$scrollBehavior);
474
- }
475
-
476
- @media only print {
477
- @include core.classes('display', core.$displays, $prefix: 'onlyPrint');
478
- }
479
-
480
- %displayNone {
481
- display: none;
482
- }
483
671
 
484
672
  @each $display in core.$displays {
485
673
  @if $display != 'none' {
486
- .pr-u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
674
+ .u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
487
675
  @extend %displayNone;
488
676
  }
489
677
  }
490
678
  }
491
679
 
492
- %inset0 {
493
- inset: 0 !important;
494
- }
495
-
496
680
  @each $direction in core.$boxDirection {
497
681
  @if $direction == '' {
498
682
  // insetReset is deprecated
499
- .pr-u-inset0,
500
- .pr-u-insetReset {
683
+ .u-inset0,
684
+ .u-insetReset {
501
685
  @extend %inset0;
502
686
  }
503
687
  } @else if $direction == 'top' or $direction == 'bottom' or $direction == 'left' or $direction == 'right' {
504
688
  // Reset is deprecated
505
- .pr-u-#{$direction}0,
506
- .pr-u-#{$direction}Reset {
689
+ .u-#{$direction}0,
690
+ .u-#{$direction}Reset {
507
691
  #{$direction}: 0 !important;
508
692
  }
509
693
  } @else {
510
694
  @each $boxModel in core.$boxModel {
511
695
  @if $boxModel != 'border' {
512
- .pr-u-#{$boxModel}#{transform.capitalize($direction)}0 {
696
+ .u-#{$boxModel}#{transform.capitalize($direction)}0 {
513
697
  #{$boxModel}-#{$direction}: 0 !important;
514
698
  }
515
699
  }
516
700
  }
517
701
  }
518
702
  }
519
-
520
- @include core.spacings;
521
- @include core.sizes;
522
- @include core.borderRadius;
523
- @include core.palettes;
524
- @include core.borderRadiusTokens;
525
-
526
- // Deprecated .u- utilities
527
- // Delete when all utilities are prefixed in .pr-u-
528
- @if config.$deprecatedUtilityPrefix {
529
- [class*='u-animated'] {
530
- @extend %animatedAll;
531
- }
532
-
533
- .u-animated {
534
- @extend %animated;
535
- }
536
-
537
- .u-mask {
538
- @extend %mask;
539
- }
540
-
541
- .u-clearfix {
542
- @extend %clearfix;
543
- }
544
-
545
- // clear is deprecated
546
- .u-clearBoth,
547
- .u-clear {
548
- @extend %clearBoth;
549
- }
550
-
551
- // clearLeft is deprecated
552
- .u-clearInlineStart,
553
- .u-clearLeft {
554
- @extend %clearInlineStart;
555
- }
556
-
557
- // clearRight is deprecated
558
- .u-clearInlineEnd,
559
- .u-clearRight {
560
- @extend %clearInlineEnd;
561
- }
562
-
563
- .u-listReset {
564
- @extend %listReset;
565
- }
566
-
567
- .u-descriptionListReset {
568
- @extend %descriptionListReset;
569
- }
570
-
571
- .u-summaryReset {
572
- @extend %summaryReset;
573
- }
574
-
575
- .u-buttonReset {
576
- @extend %buttonReset;
577
- }
578
-
579
- .u-ellipsis {
580
- @extend %ellipsis;
581
- }
582
-
583
- .u-h1 {
584
- @extend %h1;
585
- }
586
-
587
- .u-h2 {
588
- @extend %h2;
589
- }
590
-
591
- .u-h3 {
592
- @extend %h3;
593
- }
594
-
595
- .u-h4 {
596
- @extend %h4;
597
- }
598
-
599
- .u-h5 {
600
- // Deprecated
601
- @extend %h5;
602
- }
603
-
604
- .u-h6 {
605
- // Deprecated
606
- @extend %h6;
607
- }
608
-
609
- .u-bodyM {
610
- @extend %bodyM;
611
- }
612
-
613
- .u-bodyS {
614
- @extend %bodyS;
615
- }
616
-
617
- .u-bodyXS {
618
- @extend %bodyXS;
619
- }
620
-
621
- // textLeft is deprecated
622
- .u-textLeft {
623
- @extend %textLeft;
624
- }
625
-
626
- // textRight is deprecated
627
- .u-textRight {
628
- @extend %textRight;
629
- }
630
-
631
- // textCenter is deprecated
632
- .u-textCenter {
633
- @extend %textCenter;
634
- }
635
-
636
- .u-textLight {
637
- @extend %textLight;
638
- }
639
-
640
- .u-textPlaceholder {
641
- @extend %textPlaceholder;
642
- }
643
-
644
- .u-textDefault {
645
- @extend %textDefault;
646
- }
647
-
648
- .u-fontWeightRegular {
649
- @extend %fontWeightRegular;
650
- }
651
-
652
- .u-fontWeightSemiBold {
653
- @extend %fontWeightSemiBold;
654
- }
655
-
656
- .u-noSpinButtons {
657
- @extend %noSpinButtons;
658
- }
659
-
660
- .u-fontFamily {
661
- @extend %fontFamily;
662
- }
663
-
664
- .u-fontFamilyCursive {
665
- @extend %fontFamilyCursive;
666
- }
667
-
668
- .u-fontFamilyBrand {
669
- @extend %fontFamilyBrand;
670
- }
671
-
672
-
673
- @each $display in core.$displays {
674
- @if $display != 'none' {
675
- .u-onlyPrintDisplay#{transform.capitalize(transform.camelize($display))} {
676
- @extend %displayNone;
677
- }
678
- }
679
- }
680
-
681
- @each $direction in core.$boxDirection {
682
- @if $direction == '' {
683
- // insetReset is deprecated
684
- .u-inset0,
685
- .u-insetReset {
686
- @extend %inset0;
687
- }
688
- } @else if $direction == 'top' or $direction == 'bottom' or $direction == 'left' or $direction == 'right' {
689
- // Reset is deprecated
690
- .u-#{$direction}0,
691
- .u-#{$direction}Reset {
692
- #{$direction}: 0 !important;
693
- }
694
- } @else {
695
- @each $boxModel in core.$boxModel {
696
- @if $boxModel != 'border' {
697
- .u-#{$boxModel}#{transform.capitalize($direction)}0 {
698
- #{$boxModel}-#{$direction}: 0 !important;
699
- }
700
- }
701
- }
702
- }
703
- }
704
- }
705
703
  }