@lucca-front/scss 20.3.0-rc.9 → 20.3.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/utils/index.scss +227 -105
- package/src/components/appLayout/component.scss +1 -0
- package/src/components/button/mods.scss +1 -1
- package/src/components/buttonGroup/component.scss +0 -17
- package/src/components/callout/mods.scss +1 -0
- package/src/components/calloutDisclosure/component.scss +2 -3
- package/src/components/calloutDisclosure/mods.scss +5 -0
- package/src/components/calloutDisclosure/vars.scss +3 -0
- package/src/components/container/component.scss +1 -0
- package/src/components/dataTable/component.scss +9 -0
- package/src/components/dataTable/index.scss +20 -5
- package/src/components/dataTable/mods.scss +28 -5
- package/src/components/dataTableSticked/index.scss +5 -1
- package/src/components/dataTableSticked/mods.scss +4 -2
- package/src/components/dataTableSticked/states.scss +5 -0
- package/src/components/dataTableSticked/vars.scss +1 -0
- package/src/components/dialog/component.scss +1 -1
- package/src/components/gauge/component.scss +19 -15
- package/src/components/indexTable/component.scss +10 -0
- package/src/components/mainLayout/component.scss +27 -0
- package/src/components/mainLayout/vars.scss +1 -0
- package/src/components/richText/component.scss +1 -0
- package/src/components/statusBadge/component.scss +9 -2
- package/src/components/statusBadge/index.scss +4 -0
- package/src/components/statusBadge/states.scss +5 -0
- package/src/components/tableSortable/index.scss +9 -1
- package/src/components/tableSortable/mods.scss +7 -2
- package/src/components/tag/component.scss +1 -1
- package/src/components/tag/mods.scss +1 -0
- package/src/components/tag/vars.scss +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.1-rc.1",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "20.3.
|
|
26
|
+
"@lucca-front/icons": "20.3.1-rc.1"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
@use '@lucca-front/scss/src/commons/utils/reset';
|
|
9
9
|
@use '@lucca-front/scss/src/commons/utils/text';
|
|
10
10
|
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
11
|
-
|
|
11
|
+
@use '@lucca-front/scss/src/commons/utils/media';
|
|
12
|
+
@use '@lucca-front/scss/src/commons/utils/container';
|
|
12
13
|
@use '@lucca-front/scss/src/components/title/exports' as title;
|
|
13
14
|
|
|
14
15
|
@layer utils {
|
|
@@ -25,108 +26,6 @@
|
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
%animated {
|
|
29
|
-
&FadeIn,
|
|
30
|
-
&FadeOut {
|
|
31
|
-
animation-name: fadeIn;
|
|
32
|
-
|
|
33
|
-
@include keyframe.fadeIn;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&ScaleIn,
|
|
37
|
-
&ScaleOut {
|
|
38
|
-
animation-name: scaleIn;
|
|
39
|
-
|
|
40
|
-
@include keyframe.scaleIn;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&ScaleInTop,
|
|
44
|
-
&ScaleOutTop {
|
|
45
|
-
animation-name: scaleInTop;
|
|
46
|
-
|
|
47
|
-
@include keyframe.scaleIn;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&ScaleInRight,
|
|
51
|
-
&ScaleOutRight {
|
|
52
|
-
animation-name: scaleInRight;
|
|
53
|
-
|
|
54
|
-
@include keyframe.scaleInRight;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&ScaleInBottom,
|
|
58
|
-
&ScaleOutBottom {
|
|
59
|
-
animation-name: scaleInBottom;
|
|
60
|
-
|
|
61
|
-
@include keyframe.scaleInBottom;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&ScaleInLeft,
|
|
65
|
-
&ScaleOutLeft {
|
|
66
|
-
animation-name: scaleInLeft;
|
|
67
|
-
|
|
68
|
-
@include keyframe.scaleInLeft;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&SlideIn,
|
|
72
|
-
&SlideInTop,
|
|
73
|
-
&SlideOut,
|
|
74
|
-
&SlideOutTop {
|
|
75
|
-
animation-name: slideIn;
|
|
76
|
-
|
|
77
|
-
@include keyframe.slideIn;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&SlideInRight,
|
|
81
|
-
&SlideOutRight {
|
|
82
|
-
animation-name: slideInRight;
|
|
83
|
-
|
|
84
|
-
@include keyframe.slideInRight;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&SlideInBottom,
|
|
88
|
-
&SlideOutBottom {
|
|
89
|
-
animation-name: slideInBottom;
|
|
90
|
-
|
|
91
|
-
@include keyframe.slideInBottom;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&SlideInLeft,
|
|
95
|
-
&SlideOutLeft {
|
|
96
|
-
animation-name: slideInLeft;
|
|
97
|
-
|
|
98
|
-
@include keyframe.slideInLeft;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&Shake {
|
|
102
|
-
animation-name: shake;
|
|
103
|
-
|
|
104
|
-
@include keyframe.shake;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&Pulse {
|
|
108
|
-
animation-name: pulse;
|
|
109
|
-
animation-direction: alternate;
|
|
110
|
-
animation-iteration-count: var(--commons-animations-iteration-count);
|
|
111
|
-
|
|
112
|
-
@include keyframe.pulse;
|
|
113
|
-
}
|
|
114
|
-
|
|
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
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
29
|
%mask {
|
|
131
30
|
@include a11y.mask('!important');
|
|
132
31
|
}
|
|
@@ -292,7 +191,105 @@
|
|
|
292
191
|
}
|
|
293
192
|
|
|
294
193
|
.pr-u-animated {
|
|
295
|
-
|
|
194
|
+
&FadeIn,
|
|
195
|
+
&FadeOut {
|
|
196
|
+
animation-name: fadeIn;
|
|
197
|
+
|
|
198
|
+
@include keyframe.fadeIn;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&ScaleIn,
|
|
202
|
+
&ScaleOut {
|
|
203
|
+
animation-name: scaleIn;
|
|
204
|
+
|
|
205
|
+
@include keyframe.scaleIn;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&ScaleInTop,
|
|
209
|
+
&ScaleOutTop {
|
|
210
|
+
animation-name: scaleInTop;
|
|
211
|
+
|
|
212
|
+
@include keyframe.scaleIn;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&ScaleInRight,
|
|
216
|
+
&ScaleOutRight {
|
|
217
|
+
animation-name: scaleInRight;
|
|
218
|
+
|
|
219
|
+
@include keyframe.scaleInRight;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&ScaleInBottom,
|
|
223
|
+
&ScaleOutBottom {
|
|
224
|
+
animation-name: scaleInBottom;
|
|
225
|
+
|
|
226
|
+
@include keyframe.scaleInBottom;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&ScaleInLeft,
|
|
230
|
+
&ScaleOutLeft {
|
|
231
|
+
animation-name: scaleInLeft;
|
|
232
|
+
|
|
233
|
+
@include keyframe.scaleInLeft;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&SlideIn,
|
|
237
|
+
&SlideInTop,
|
|
238
|
+
&SlideOut,
|
|
239
|
+
&SlideOutTop {
|
|
240
|
+
animation-name: slideIn;
|
|
241
|
+
|
|
242
|
+
@include keyframe.slideIn;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&SlideInRight,
|
|
246
|
+
&SlideOutRight {
|
|
247
|
+
animation-name: slideInRight;
|
|
248
|
+
|
|
249
|
+
@include keyframe.slideInRight;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&SlideInBottom,
|
|
253
|
+
&SlideOutBottom {
|
|
254
|
+
animation-name: slideInBottom;
|
|
255
|
+
|
|
256
|
+
@include keyframe.slideInBottom;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&SlideInLeft,
|
|
260
|
+
&SlideOutLeft {
|
|
261
|
+
animation-name: slideInLeft;
|
|
262
|
+
|
|
263
|
+
@include keyframe.slideInLeft;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&Shake {
|
|
267
|
+
animation-name: shake;
|
|
268
|
+
|
|
269
|
+
@include keyframe.shake;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&Pulse {
|
|
273
|
+
animation-name: pulse;
|
|
274
|
+
animation-direction: alternate;
|
|
275
|
+
animation-iteration-count: var(--commons-animations-iteration-count);
|
|
276
|
+
|
|
277
|
+
@include keyframe.pulse;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&FadeOut,
|
|
281
|
+
&SlideOut,
|
|
282
|
+
&SlideOutTop,
|
|
283
|
+
&SlideOutRight,
|
|
284
|
+
&SlideOutBottom,
|
|
285
|
+
&SlideOutLeft,
|
|
286
|
+
&ScaleOut,
|
|
287
|
+
&ScaleOutTop,
|
|
288
|
+
&ScaleOutRight,
|
|
289
|
+
&ScaleOutBottom,
|
|
290
|
+
&ScaleOutLeft {
|
|
291
|
+
animation-direction: reverse;
|
|
292
|
+
}
|
|
296
293
|
}
|
|
297
294
|
|
|
298
295
|
.pr-u-mask {
|
|
@@ -489,6 +486,32 @@
|
|
|
489
486
|
}
|
|
490
487
|
}
|
|
491
488
|
|
|
489
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
490
|
+
@include media.min($breakpoint) {
|
|
491
|
+
.pr-u-displayNoneAtMediaMin#{$breakpoint} {
|
|
492
|
+
display: none !important;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@include media.max($breakpoint) {
|
|
497
|
+
.pr-u-displayNoneAtMediaMax#{$breakpoint} {
|
|
498
|
+
display: none !important;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@include container.min($breakpoint) {
|
|
503
|
+
.pr-u-displayNoneAtContainerMin#{$breakpoint} {
|
|
504
|
+
display: none !important;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@include container.max($breakpoint) {
|
|
509
|
+
.pr-u-displayNoneAtContainerMax#{$breakpoint} {
|
|
510
|
+
display: none !important;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
492
515
|
%inset0 {
|
|
493
516
|
inset: 0 !important;
|
|
494
517
|
}
|
|
@@ -531,7 +554,106 @@
|
|
|
531
554
|
}
|
|
532
555
|
|
|
533
556
|
.u-animated {
|
|
534
|
-
|
|
557
|
+
&FadeIn,
|
|
558
|
+
&FadeOut {
|
|
559
|
+
animation-name: fadeIn;
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
@include keyframe.fadeIn;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
&ScaleIn,
|
|
566
|
+
&ScaleOut {
|
|
567
|
+
animation-name: scaleIn;
|
|
568
|
+
|
|
569
|
+
@include keyframe.scaleIn;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
&ScaleInTop,
|
|
573
|
+
&ScaleOutTop {
|
|
574
|
+
animation-name: scaleInTop;
|
|
575
|
+
|
|
576
|
+
@include keyframe.scaleIn;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
&ScaleInRight,
|
|
580
|
+
&ScaleOutRight {
|
|
581
|
+
animation-name: scaleInRight;
|
|
582
|
+
|
|
583
|
+
@include keyframe.scaleInRight;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
&ScaleInBottom,
|
|
587
|
+
&ScaleOutBottom {
|
|
588
|
+
animation-name: scaleInBottom;
|
|
589
|
+
|
|
590
|
+
@include keyframe.scaleInBottom;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
&ScaleInLeft,
|
|
594
|
+
&ScaleOutLeft {
|
|
595
|
+
animation-name: scaleInLeft;
|
|
596
|
+
|
|
597
|
+
@include keyframe.scaleInLeft;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&SlideIn,
|
|
601
|
+
&SlideInTop,
|
|
602
|
+
&SlideOut,
|
|
603
|
+
&SlideOutTop {
|
|
604
|
+
animation-name: slideIn;
|
|
605
|
+
|
|
606
|
+
@include keyframe.slideIn;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
&SlideInRight,
|
|
610
|
+
&SlideOutRight {
|
|
611
|
+
animation-name: slideInRight;
|
|
612
|
+
|
|
613
|
+
@include keyframe.slideInRight;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
&SlideInBottom,
|
|
617
|
+
&SlideOutBottom {
|
|
618
|
+
animation-name: slideInBottom;
|
|
619
|
+
|
|
620
|
+
@include keyframe.slideInBottom;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
&SlideInLeft,
|
|
624
|
+
&SlideOutLeft {
|
|
625
|
+
animation-name: slideInLeft;
|
|
626
|
+
|
|
627
|
+
@include keyframe.slideInLeft;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
&Shake {
|
|
631
|
+
animation-name: shake;
|
|
632
|
+
|
|
633
|
+
@include keyframe.shake;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
&Pulse {
|
|
637
|
+
animation-name: pulse;
|
|
638
|
+
animation-direction: alternate;
|
|
639
|
+
animation-iteration-count: var(--commons-animations-iteration-count);
|
|
640
|
+
|
|
641
|
+
@include keyframe.pulse;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
&FadeOut,
|
|
645
|
+
&SlideOut,
|
|
646
|
+
&SlideOutTop,
|
|
647
|
+
&SlideOutRight,
|
|
648
|
+
&SlideOutBottom,
|
|
649
|
+
&SlideOutLeft,
|
|
650
|
+
&ScaleOut,
|
|
651
|
+
&ScaleOutTop,
|
|
652
|
+
&ScaleOutRight,
|
|
653
|
+
&ScaleOutBottom,
|
|
654
|
+
&ScaleOutLeft {
|
|
655
|
+
animation-direction: reverse;
|
|
656
|
+
}
|
|
535
657
|
}
|
|
536
658
|
|
|
537
659
|
.u-mask {
|
|
@@ -66,22 +66,5 @@
|
|
|
66
66
|
|
|
67
67
|
&:is(ul) {
|
|
68
68
|
flex-wrap: wrap;
|
|
69
|
-
|
|
70
|
-
.button.mod-more {
|
|
71
|
-
block-size: 100%;
|
|
72
|
-
min-block-size: 2.25rem;
|
|
73
|
-
|
|
74
|
-
&.mod-S {
|
|
75
|
-
min-block-size: 2rem;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.mod-XS {
|
|
79
|
-
min-block-size: 1.5rem;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&::after {
|
|
83
|
-
content: none;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
69
|
}
|
|
87
70
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
4
4
|
|
|
5
5
|
@mixin S {
|
|
6
|
+
--components-callout-padding: var(--pr-t-spacings-75) var(--pr-t-spacings-100);
|
|
6
7
|
--components-callout-gap: var(--pr-t-spacings-100);
|
|
7
8
|
--components-callout-font: var(--pr-t-font-body-S);
|
|
8
9
|
--components-callout-kill-size: 1.25rem;
|
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
@at-root ($atRoot) {
|
|
19
19
|
.calloutDisclosure-summary {
|
|
20
20
|
display: flex;
|
|
21
|
-
gap: var(--
|
|
22
|
-
padding
|
|
23
|
-
padding-inline: var(--components-calloutDisclosure-paddingHorizontal);
|
|
21
|
+
gap: var(--components-calloutDisclosure-gap);
|
|
22
|
+
padding: var(--components-calloutDisclosure-padding);
|
|
24
23
|
border-radius: var(--pr-t-border-radius-default);
|
|
25
24
|
transition: background-color var(--commons-animations-durations-fast) ease;
|
|
26
25
|
cursor: pointer;
|
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
@use '@lucca-front/scss/src/components/calloutFeedbackList/exports' as calloutFeedbackList;
|
|
3
3
|
|
|
4
4
|
@mixin S {
|
|
5
|
+
--components-calloutDisclosure-paddingHorizontal: var(--pr-t-spacings-100);
|
|
6
|
+
--components-calloutDisclosure-paddingVertical: var(--pr-t-spacings-75);
|
|
7
|
+
--components-calloutDisclosure-gap: var(--pr-t-spacings-100);
|
|
8
|
+
|
|
5
9
|
.calloutDisclosure-summary-title {
|
|
6
10
|
font: var(--pr-t-font-body-S);
|
|
11
|
+
font-weight: var(--pr-t-font-fontWeight-semibold);
|
|
7
12
|
}
|
|
8
13
|
|
|
9
14
|
.calloutDisclosure-summary-icon {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
|
+
--components-calloutDisclosure-padding: var(--components-calloutDisclosure-paddingVertical) var(--components-calloutDisclosure-paddingHorizontal);
|
|
2
3
|
--components-calloutDisclosure-paddingHorizontal: var(--pr-t-spacings-150);
|
|
4
|
+
--components-calloutDisclosure-paddingVertical: var(--pr-t-spacings-100);
|
|
5
|
+
--components-calloutDisclosure-gap: var(--pr-t-spacings-150);
|
|
3
6
|
}
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
overflow: var(--components-dataTable-overflow);
|
|
23
23
|
background-color: var(--components-dataTable-cell-background);
|
|
24
24
|
contain: paint; // Fix overflow on webkit when table has scroll
|
|
25
|
+
display: block;
|
|
25
26
|
|
|
26
27
|
&:focus-visible {
|
|
27
28
|
@include a11y.focusVisible;
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
text-align: var(--components-dataTable-cell-textAlign);
|
|
68
69
|
transition-property: background-color;
|
|
69
70
|
transition-duration: var(--commons-animations-durations-fast);
|
|
71
|
+
font-weight: var(--pr-t-font-fontWeight-regular);
|
|
70
72
|
|
|
71
73
|
&:first-child {
|
|
72
74
|
inline-size: var(--components-dataTable-cellFirst-width);
|
|
@@ -90,6 +92,12 @@
|
|
|
90
92
|
|
|
91
93
|
.dataTable-body-row-cell {
|
|
92
94
|
vertical-align: var(--components-dataTable-cell-verticalAlign);
|
|
95
|
+
|
|
96
|
+
&:first-child {
|
|
97
|
+
&:has(.checkboxField-input) {
|
|
98
|
+
padding-bottom: var(--pr-t-spacings-150);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
.dataTable-foot-row-cell {
|
|
@@ -104,6 +112,7 @@
|
|
|
104
112
|
|
|
105
113
|
.dataTable-body-row-cell-expand-button.button {
|
|
106
114
|
vertical-align: top;
|
|
115
|
+
margin-left: calc(var(--pr-t-spacings-25) * -1);
|
|
107
116
|
|
|
108
117
|
.lucca-icon {
|
|
109
118
|
transform: rotate(var(--components-dataTable-expand-rotation));
|
|
@@ -22,8 +22,17 @@
|
|
|
22
22
|
@include cellBorder;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&.mod-alignTop
|
|
26
|
-
|
|
25
|
+
&.mod-alignTop,
|
|
26
|
+
&.mod-verticalAlignTop {
|
|
27
|
+
@include verticalAlignTop;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.mod-verticalAlignBottom {
|
|
31
|
+
@include verticalAlignBottom;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.mod-verticalAlignMiddle {
|
|
35
|
+
@includeverticalAlignMiddle;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
&.mod-layoutFixed {
|
|
@@ -40,7 +49,7 @@
|
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
&.mod-hover {
|
|
43
|
-
:is(.
|
|
52
|
+
:is(.mod-selectable, .dataTable-body-row:not(.mod-group)) {
|
|
44
53
|
&:hover {
|
|
45
54
|
@include hover;
|
|
46
55
|
}
|
|
@@ -63,6 +72,7 @@
|
|
|
63
72
|
@include group;
|
|
64
73
|
}
|
|
65
74
|
|
|
75
|
+
&:has([selectable]),
|
|
66
76
|
&.mod-selectable {
|
|
67
77
|
@include selectable;
|
|
68
78
|
|
|
@@ -85,8 +95,13 @@
|
|
|
85
95
|
@include alignCenter;
|
|
86
96
|
}
|
|
87
97
|
|
|
88
|
-
&.mod-alignRight
|
|
89
|
-
|
|
98
|
+
&.mod-alignRight,
|
|
99
|
+
&.mod-alignEnd {
|
|
100
|
+
@include alignEnd;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.mod-alignStart {
|
|
104
|
+
@include alignStart;
|
|
90
105
|
}
|
|
91
106
|
|
|
92
107
|
&.mod-editable {
|
|
@@ -14,10 +14,18 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@mixin
|
|
17
|
+
@mixin verticalAlignTop {
|
|
18
18
|
--components-dataTable-cell-verticalAlign: top;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
@mixin verticalAlignBottom {
|
|
22
|
+
--components-dataTable-cell-verticalAlign: bottom;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin verticalAlignMiddle {
|
|
26
|
+
--components-dataTable-cell-verticalAlign: middle;
|
|
27
|
+
}
|
|
28
|
+
|
|
21
29
|
@mixin buttonExpand {
|
|
22
30
|
--components-dataTable-tree-extraPadding: calc(1.5rem + var(--pr-t-spacings-100));
|
|
23
31
|
|
|
@@ -47,7 +55,16 @@
|
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
@mixin selectable {
|
|
50
|
-
--components-dataTable-cellFirst-width: 2.
|
|
58
|
+
--components-dataTable-cellFirst-width: 2.625rem;
|
|
59
|
+
|
|
60
|
+
.dataTable-head-row-cell,
|
|
61
|
+
.dataTable-body-row-cell,
|
|
62
|
+
.dataTable-foot-row-cell {
|
|
63
|
+
&:first-child {
|
|
64
|
+
inline-size: var(--components-dataTable-cellFirst-width);
|
|
65
|
+
max-inline-size: var(--components-dataTable-cellFirst-width);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
51
68
|
}
|
|
52
69
|
|
|
53
70
|
@mixin draggable {
|
|
@@ -73,7 +90,7 @@
|
|
|
73
90
|
|
|
74
91
|
@mixin editable {
|
|
75
92
|
--components-dataTable-cell-padding: var(--pr-t-spacings-100);
|
|
76
|
-
--components-dataTable-cell-paddingInlineStart: var(--
|
|
93
|
+
--components-dataTable-cell-paddingInlineStart: var(--pr-t-spacings-50);
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
@mixin actions {
|
|
@@ -87,6 +104,8 @@
|
|
|
87
104
|
@include button.onlyIcon;
|
|
88
105
|
@include button.onlyIconS;
|
|
89
106
|
@include button.ghost;
|
|
107
|
+
|
|
108
|
+
transition-property: box-shadow, color;
|
|
90
109
|
}
|
|
91
110
|
|
|
92
111
|
&:is(.dataTable-head-row-cell) {
|
|
@@ -101,8 +120,12 @@
|
|
|
101
120
|
--components-dataTable-cell-textAlign: center;
|
|
102
121
|
}
|
|
103
122
|
|
|
104
|
-
@mixin
|
|
105
|
-
--components-dataTable-cell-textAlign:
|
|
123
|
+
@mixin alignEnd {
|
|
124
|
+
--components-dataTable-cell-textAlign: end;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@mixin alignStart {
|
|
128
|
+
--components-dataTable-cell-textAlign: start;
|
|
106
129
|
}
|
|
107
130
|
|
|
108
131
|
@mixin layoutFixed {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@layer mods {
|
|
11
|
-
&:has(.dataTable.mod-stickyHeader) {
|
|
11
|
+
&:has(.dataTable.mod-stickyHeader, .dataTable-head.mod-sticky) {
|
|
12
12
|
@include stickyHeader;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -44,4 +44,8 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
+
|
|
48
|
+
&:has(.dataTable-head.is-firstBodyRowVisible) {
|
|
49
|
+
@include firstBodyRowVisible;
|
|
50
|
+
}
|
|
47
51
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.dataTable-head {
|
|
7
7
|
position: sticky;
|
|
8
8
|
inset-block-start: -1px;
|
|
9
|
-
z-index:
|
|
9
|
+
z-index: 2;
|
|
10
10
|
|
|
11
11
|
&::after {
|
|
12
12
|
content: '';
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
background-image: linear-gradient(#{color.transparentize(var(--palettes-neutral-400), 0.24)}, transparent);
|
|
17
17
|
pointer-events: none;
|
|
18
18
|
box-shadow: 0 1px var(--commons-border-200) inset;
|
|
19
|
+
opacity: var(--components-dataTable-header-shadow-opacity);
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
.dataTable-head-row-cell {
|
|
104
105
|
&.mod-stickyColumn {
|
|
105
106
|
&:first-child {
|
|
106
|
-
z-index:
|
|
107
|
+
z-index: 2;
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
110
|
}
|
|
@@ -124,6 +125,7 @@
|
|
|
124
125
|
|
|
125
126
|
&:has(~ :is(.dataTable-body-row-cell, .dataTable-head-row-cell, .dataTable-foot-row-cell):not(.mod-stickyColumn)) {
|
|
126
127
|
transform: translateX(-1px);
|
|
128
|
+
z-index: 1;
|
|
127
129
|
|
|
128
130
|
&:not(:has(+ :is(.dataTable-head-row-cell, .dataTable-body-row-cell, .dataTable-foot-row-cell).mod-stickyColumn)) {
|
|
129
131
|
&::after {
|