@lucca-front/scss 20.3.0-rc.5 → 20.3.0
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/config.scss +5 -0
- package/src/commons/core.scss +3 -3
- package/src/commons/exports.scss +0 -1
- package/src/commons/index.scss +9 -2
- package/src/commons/utils/index.scss +480 -478
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +13 -7
- package/src/components/appLayout/component.scss +1 -0
- package/src/components/appLayout/index.scss +11 -7
- package/src/components/avatar/index.scss +43 -35
- package/src/components/box/index.scss +20 -14
- package/src/components/breadcrumbs/index.scss +16 -10
- package/src/components/button/index.scss +138 -134
- package/src/components/button/mods.scss +17 -0
- package/src/components/button/states.scss +3 -3
- package/src/components/buttonGroup/component.scss +0 -17
- package/src/components/buttonGroup/index.scss +20 -8
- package/src/components/calendar/index.scss +56 -44
- package/src/components/callout/index.scss +8 -4
- package/src/components/callout/mods.scss +1 -0
- package/src/components/calloutDisclosure/component.scss +2 -3
- package/src/components/calloutDisclosure/index.scss +14 -10
- package/src/components/calloutDisclosure/mods.scss +5 -0
- package/src/components/calloutDisclosure/vars.scss +3 -0
- package/src/components/calloutFeedbackList/index.scss +8 -4
- package/src/components/calloutPopover/index.scss +18 -12
- package/src/components/card/index.scss +28 -24
- package/src/components/checkbox/index.scss +35 -31
- package/src/components/checkboxField/index.scss +88 -82
- package/src/components/chip/index.scss +22 -18
- package/src/components/clear/index.scss +22 -18
- package/src/components/code/index.scss +8 -4
- package/src/components/collapse/index.scss +11 -7
- package/src/components/comment/index.scss +30 -20
- package/src/components/container/component.scss +1 -0
- package/src/components/container/index.scss +29 -25
- package/src/components/contentSection/index.scss +4 -2
- package/src/components/dataTable/component.scss +9 -0
- package/src/components/dataTable/index.scss +94 -69
- package/src/components/dataTable/mods.scss +28 -5
- package/src/components/dataTableSticked/index.scss +34 -26
- 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/dateField/index.scss +24 -20
- package/src/components/dateRangeField/index.scss +29 -25
- package/src/components/dialog/component.scss +5 -5
- package/src/components/dialog/index.scss +40 -36
- package/src/components/divider/index.scss +11 -7
- package/src/components/dropdown/index.scss +13 -9
- package/src/components/emptyState/index.scss +11 -7
- package/src/components/errorPage/index.scss +8 -4
- package/src/components/fancyBox/index.scss +8 -4
- package/src/components/field/index.scss +86 -88
- package/src/components/fieldset/index.scss +17 -13
- package/src/components/file/index.scss +34 -28
- package/src/components/fileEntry/index.scss +23 -19
- package/src/components/fileToolbar/index.scss +10 -6
- package/src/components/fileUpload/index.scss +36 -32
- package/src/components/filterBar/index.scss +17 -13
- package/src/components/filterBarDeprecated/index.scss +8 -4
- package/src/components/filterPill/index.scss +53 -49
- package/src/components/filters/index.scss +14 -8
- package/src/components/footer/index.scss +38 -34
- package/src/components/form/index.scss +121 -109
- package/src/components/form/mods.scss +7 -5
- package/src/components/formLabel/index.scss +18 -14
- package/src/components/gauge/component.scss +20 -16
- package/src/components/gauge/index.scss +25 -21
- package/src/components/grid/index.scss +25 -21
- package/src/components/header/index.scss +17 -13
- package/src/components/highlightData/index.scss +28 -24
- package/src/components/horizontalNavigation/index.scss +42 -36
- package/src/components/index.scss +57 -55
- package/src/components/indexTable/component.scss +10 -0
- package/src/components/indexTable/index.scss +53 -57
- package/src/components/inlineMessage/index.scss +17 -13
- package/src/components/inputFramed/index.scss +30 -24
- package/src/components/label/index.scss +13 -9
- package/src/components/layout/index.scss +51 -45
- package/src/components/link/index.scss +14 -10
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +15 -11
- package/src/components/listboxOption/index.scss +129 -117
- package/src/components/listing/index.scss +22 -18
- package/src/components/loading/index.scss +27 -23
- package/src/components/main/index.scss +21 -15
- package/src/components/mainLayout/component.scss +27 -0
- package/src/components/mainLayout/index.scss +27 -21
- package/src/components/mainLayout/vars.scss +1 -0
- package/src/components/mobileHeader/index.scss +8 -4
- package/src/components/mobileNavigation/index.scss +4 -2
- package/src/components/mobilePush/index.scss +8 -4
- package/src/components/multiSelect/index.scss +57 -39
- package/src/components/multiSelect/mods.scss +0 -8
- package/src/components/multiSelect/states.scss +8 -0
- package/src/components/navside/index.scss +74 -64
- package/src/components/newBadge/index.scss +8 -4
- package/src/components/notchBox/index.scss +17 -13
- package/src/components/notchBox/mods.scss +137 -125
- package/src/components/numericBadge/index.scss +21 -17
- package/src/components/pageHeader/index.scss +26 -22
- package/src/components/pagination/index.scss +12 -6
- package/src/components/plgPush/index.scss +4 -2
- package/src/components/popover/index.scss +4 -2
- package/src/components/progress/index.scss +14 -10
- package/src/components/radio/index.scss +18 -12
- package/src/components/radioButtons/index.scss +16 -10
- package/src/components/radioField/index.scss +46 -40
- package/src/components/readMore/index.scss +20 -16
- package/src/components/richText/component.scss +1 -0
- package/src/components/richText/index.scss +19 -15
- package/src/components/scrollBox/index.scss +14 -10
- package/src/components/section/index.scss +16 -12
- package/src/components/segmentedControl/index.scss +31 -25
- package/src/components/simpleSelect/index.scss +39 -35
- package/src/components/skeleton/index.scss +42 -38
- package/src/components/skipLinks/index.scss +4 -2
- package/src/components/sortableList/index.scss +12 -6
- package/src/components/statusBadge/component.scss +9 -2
- package/src/components/statusBadge/index.scss +12 -4
- package/src/components/statusBadge/states.scss +5 -0
- package/src/components/switch/index.scss +35 -29
- package/src/components/switchField/index.scss +22 -16
- package/src/components/table/index.scss +85 -79
- package/src/components/tableFixed/index.scss +13 -11
- package/src/components/tableFixedDeprecated/index.scss +14 -10
- package/src/components/tableOfContent/index.scss +28 -24
- package/src/components/tableSortable/index.scss +29 -17
- package/src/components/tableSortable/mods.scss +7 -2
- package/src/components/tableSticked/index.scss +28 -24
- package/src/components/tableSticked/mods.scss +6 -6
- package/src/components/tableStickedDeprecated/index.scss +46 -40
- package/src/components/tag/component.scss +1 -1
- package/src/components/tag/index.scss +28 -24
- package/src/components/tag/mods.scss +1 -0
- package/src/components/tag/vars.scss +1 -0
- package/src/components/textField/index.scss +28 -24
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textFlow/index.scss +4 -2
- package/src/components/textfields/index.scss +265 -261
- package/src/components/timeline/index.scss +72 -66
- package/src/components/timepicker/index.scss +20 -16
- package/src/components/title/index.scss +43 -30
- package/src/components/title/mods.scss +1 -1
- package/src/components/titleSection/index.scss +31 -23
- package/src/components/toast/index.scss +8 -4
- package/src/components/tooltip/index.scss +25 -21
- package/src/components/userPopover/index.scss +4 -2
- package/src/components/userTile/index.scss +26 -22
- package/src/components/verticalNavigation/index.scss +26 -20
|
@@ -1,48 +1,54 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.switch {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.mod-inline {
|
|
8
|
-
@include inline;
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-inline {
|
|
11
|
+
@include inline;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.mod-S {
|
|
15
|
+
@include S;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
@layer mods {
|
|
21
|
+
.switch-input {
|
|
22
|
+
&:is(:checked) {
|
|
23
|
+
@include checked;
|
|
19
24
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
&:hover {
|
|
26
|
+
@include checkedHover;
|
|
27
|
+
}
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
&:active {
|
|
30
|
+
@include checkedActive;
|
|
31
|
+
}
|
|
26
32
|
}
|
|
27
|
-
}
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
&:is(:hover) {
|
|
35
|
+
@include hover;
|
|
36
|
+
}
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
&:is(:focus-visible) {
|
|
39
|
+
@include focus;
|
|
40
|
+
}
|
|
36
41
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
42
|
+
&:is(:active) {
|
|
43
|
+
@include active;
|
|
44
|
+
}
|
|
40
45
|
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
&:is([disabled], [readonly]) {
|
|
47
|
+
@include disabled;
|
|
43
48
|
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
&:is(:checked) {
|
|
50
|
+
@include disabledChecked;
|
|
51
|
+
}
|
|
46
52
|
}
|
|
47
53
|
}
|
|
48
54
|
}
|
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.switchField {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
@layer mods {
|
|
10
|
+
&.mod-S {
|
|
11
|
+
@include S;
|
|
12
|
+
}
|
|
9
13
|
}
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
.switchField-input {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
@layer mods {
|
|
18
|
+
&:checked {
|
|
19
|
+
@include checked;
|
|
20
|
+
}
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
&:disabled {
|
|
23
|
+
@include disabled;
|
|
19
24
|
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
&:checked {
|
|
26
|
+
@include checkedDisabled;
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
|
-
}
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
&[aria-invalid='true'] {
|
|
31
|
+
@include invalid;
|
|
27
32
|
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
&:checked {
|
|
34
|
+
@include checkedInvalid;
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
}
|
|
@@ -1,114 +1,120 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.table {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
|
|
8
|
+
button.tableSortable {
|
|
9
|
+
--components-sortable-fontWeight: 600;
|
|
10
|
+
--components-sortable-fontSize: var(--pr-t-font-body-S-fontSize);
|
|
11
|
+
--components-sortable-lineHeight: var(--pr-t-font-body-S-lineHeight);
|
|
12
|
+
--components-sortable-arrowsOffset: var(--pr-t-spacings-25);
|
|
13
|
+
}
|
|
9
14
|
}
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
@layer mods {
|
|
17
|
+
&.mod-zebra {
|
|
18
|
+
@include zebra;
|
|
19
|
+
}
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
&.mod-alignTop {
|
|
22
|
+
@include alignTop;
|
|
23
|
+
}
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
&.mod-clickable {
|
|
26
|
+
@include clickable;
|
|
27
|
+
|
|
28
|
+
.table-head-row,
|
|
29
|
+
.table-body-row,
|
|
30
|
+
.table-foot-row {
|
|
31
|
+
&.mod-selectable {
|
|
32
|
+
@include clickableSelectable;
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.mod-card {
|
|
28
|
-
@include card;
|
|
29
|
-
}
|
|
30
36
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
&.mod-card {
|
|
38
|
+
@include card;
|
|
39
|
+
}
|
|
34
40
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
&.mod-S {
|
|
42
|
+
@include S;
|
|
43
|
+
}
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
&.mod-noOffset {
|
|
46
|
+
@include noOffset;
|
|
47
|
+
}
|
|
42
48
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
--components-sortable-lineHeight: var(--pr-t-font-body-S-lineHeight);
|
|
47
|
-
--components-sortable-arrowsOffset: var(--pr-t-spacings-25);
|
|
49
|
+
&.mod-borderless {
|
|
50
|
+
@include borderless;
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
|
|
52
|
-
.table-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
@layer mods {
|
|
56
|
+
.table-body-row,
|
|
57
|
+
.table-foot-row {
|
|
58
|
+
&.mod-header {
|
|
59
|
+
@include header;
|
|
60
|
+
}
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
&.mod-child {
|
|
63
|
+
@include child;
|
|
64
|
+
}
|
|
60
65
|
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
&.mod-parent {
|
|
67
|
+
@include parent;
|
|
63
68
|
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
&.mod-collapsable {
|
|
70
|
+
@include collapsable;
|
|
71
|
+
}
|
|
66
72
|
}
|
|
67
73
|
}
|
|
68
|
-
}
|
|
69
74
|
|
|
70
|
-
.table-head-row,
|
|
71
|
-
.table-body-row,
|
|
72
|
-
.table-foot-row {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
.table-head-row,
|
|
76
|
+
.table-body-row,
|
|
77
|
+
.table-foot-row {
|
|
78
|
+
&.mod-selectable {
|
|
79
|
+
@include selectable;
|
|
80
|
+
}
|
|
76
81
|
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
&.mod-draggable {
|
|
83
|
+
@include draggable;
|
|
84
|
+
}
|
|
79
85
|
}
|
|
80
|
-
}
|
|
81
86
|
|
|
82
|
-
.table-head-row {
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
.table-head-row {
|
|
88
|
+
&.mod-twoLines {
|
|
89
|
+
@include twoLines;
|
|
90
|
+
}
|
|
85
91
|
}
|
|
86
|
-
}
|
|
87
92
|
|
|
88
|
-
.table-body-row-cell,
|
|
89
|
-
.table-foot-row-cell {
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
.table-body-row-cell,
|
|
94
|
+
.table-foot-row-cell {
|
|
95
|
+
&.mod-avatar {
|
|
96
|
+
@include avatar;
|
|
97
|
+
}
|
|
92
98
|
}
|
|
93
|
-
}
|
|
94
99
|
|
|
95
|
-
.table-head-row-cell,
|
|
96
|
-
.table-body-row-cell,
|
|
97
|
-
.table-foot-row-cell {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
.table-head-row-cell,
|
|
101
|
+
.table-body-row-cell,
|
|
102
|
+
.table-foot-row-cell {
|
|
103
|
+
&.mod-actions {
|
|
104
|
+
@include actions;
|
|
100
105
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
106
|
+
// .mod-actionsHidden is deprecated
|
|
107
|
+
&.mod-actionsHidden {
|
|
108
|
+
@include actionsHidden;
|
|
109
|
+
}
|
|
104
110
|
}
|
|
105
|
-
}
|
|
106
111
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
&.mod-alignCenter {
|
|
113
|
+
@include alignCenter;
|
|
114
|
+
}
|
|
110
115
|
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
&.mod-alignRight {
|
|
117
|
+
@include alignRight;
|
|
118
|
+
}
|
|
113
119
|
}
|
|
114
120
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.table {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
@layer mods {
|
|
5
|
+
// 1 - Layout fixed
|
|
6
|
+
&.mod-layoutFixed {
|
|
7
|
+
@include layoutFixed;
|
|
8
|
+
}
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
// 2 - Layout fixed starting at breakpoint
|
|
11
|
+
&[class*='mod-layoutFixedAtMediaMin'] {
|
|
12
|
+
@include layoutFixedWithBreakpoint;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
// Cells management for 1 & 2
|
|
16
|
+
&[class*='mod-layoutFixed'] {
|
|
17
|
+
@include layoutFixedCells;
|
|
18
|
+
}
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -3,23 +3,27 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.table {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
@layer mods {
|
|
7
|
+
&.mod-layoutFixed {
|
|
8
|
+
@include layoutFixed;
|
|
9
|
+
}
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
.table-head-row-cell,
|
|
12
14
|
.table-body-row-cell,
|
|
13
15
|
.table-foot-row-cell {
|
|
14
|
-
@
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
@layer mods {
|
|
17
|
+
@for $i from 2 through 20 {
|
|
18
|
+
&.mod-layoutFixed-#{$i} {
|
|
19
|
+
@include layoutFixedCell($i);
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
23
|
+
@include media.min($breakpoint) {
|
|
24
|
+
&.mod-layoutFixed-#{$i}\@mediaMin#{$breakpoint} {
|
|
25
|
+
@include layoutFixedCell($i);
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
29
|
}
|
|
@@ -1,42 +1,46 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.tableOfContent {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.tableOfContent-list-item-action {
|
|
9
|
-
|
|
10
|
-
&:is
|
|
11
|
-
@include hover;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:is(:focus) {
|
|
15
|
-
@include focus;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:is(:active) {
|
|
19
|
-
@include active;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.is-active {
|
|
23
|
-
@include isActive;
|
|
24
|
-
|
|
11
|
+
@layer mods {
|
|
12
|
+
&:not(.disabled, .is-disabled, [disabled]) {
|
|
25
13
|
&:is(:hover) {
|
|
26
|
-
@include
|
|
14
|
+
@include hover;
|
|
27
15
|
}
|
|
28
16
|
|
|
29
17
|
&:is(:focus) {
|
|
30
|
-
@include
|
|
18
|
+
@include focus;
|
|
31
19
|
}
|
|
32
20
|
|
|
33
21
|
&:is(:active) {
|
|
34
|
-
@include
|
|
22
|
+
@include active;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-active {
|
|
26
|
+
@include isActive;
|
|
27
|
+
|
|
28
|
+
&:is(:hover) {
|
|
29
|
+
@include isActiveHover;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:is(:focus) {
|
|
33
|
+
@include isActiveFocus;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:is(:active) {
|
|
37
|
+
@include isActiveActive;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
|
-
}
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
&:is(.disabled, .is-disabled, [disabled]) {
|
|
43
|
+
@include disabled;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
}
|
|
@@ -1,34 +1,46 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.tableSortable.button {
|
|
4
|
-
@
|
|
5
|
-
|
|
4
|
+
@layer components {
|
|
5
|
+
@include vars;
|
|
6
|
+
@include component;
|
|
7
|
+
}
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.table-head-row-cell,
|
|
9
11
|
.dataTable-head-row-cell,
|
|
10
12
|
.indexTable-head-row-cell {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
@layer mods {
|
|
14
|
+
&.mod-alignStart,
|
|
15
|
+
&.mod-alignLeft {
|
|
16
|
+
.tableSortable {
|
|
17
|
+
@include sortAlignStart;
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
|
-
}
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
&.mod-alignEnd,
|
|
22
|
+
&.mod-alignRight {
|
|
23
|
+
.tableSortable {
|
|
24
|
+
@include sortAlignEnd;
|
|
25
|
+
}
|
|
20
26
|
}
|
|
21
|
-
}
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
&.mod-alignCenter {
|
|
29
|
+
.tableSortable {
|
|
30
|
+
@include sortAlignCenter;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&[aria-sort='ascending'] {
|
|
35
|
+
.tableSortable{
|
|
36
|
+
@include sortAscending;
|
|
37
|
+
}
|
|
26
38
|
}
|
|
27
|
-
}
|
|
28
39
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
&[aria-sort='descending'] {
|
|
41
|
+
.tableSortable {
|
|
42
|
+
@include sortDescending;
|
|
43
|
+
}
|
|
32
44
|
}
|
|
33
45
|
}
|
|
34
46
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
@mixin
|
|
1
|
+
@mixin sortAlignEnd {
|
|
2
2
|
--components-sortable-direction: row-reverse;
|
|
3
3
|
--components-sortable-offset: var(--pr-t-spacings-50);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
@mixin sortAlignStart {
|
|
7
|
+
--components-sortable-direction: row;
|
|
8
|
+
--components-sortable-offset: calc(var(--pr-t-spacings-50) * -1);
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
@mixin sortAlignCenter {
|
|
7
|
-
--components-sortable-offset:
|
|
12
|
+
--components-sortable-offset: var(--pr-t-spacings-100);
|
|
8
13
|
}
|
|
@@ -3,39 +3,43 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.table {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
// For both mod-stickyColumn + responsive variant
|
|
9
|
-
&[class*='mod-stickyColumn'] {
|
|
10
|
-
@include stickyColumn;
|
|
6
|
+
@layer components {
|
|
7
|
+
@include vars;
|
|
11
8
|
}
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
@layer mods {
|
|
11
|
+
// For both mod-stickyColumn + responsive variant
|
|
12
|
+
&[class*='mod-stickyColumn'] {
|
|
13
|
+
@include stickyColumn;
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
&.mod-stickyColumn {
|
|
17
|
+
@include stickyColumnOffset;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $breakpoint, $value in config.$breakpoints {
|
|
21
|
+
@include media.min($breakpoint) {
|
|
22
|
+
&.mod-stickyColumnAtMediaMin#{$breakpoint} {
|
|
23
|
+
@include stickyColumnOffset;
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
|
-
}
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
// For both stickyHeader + -withBanner variant
|
|
29
|
+
&[class*='mod-stickyHeader'] {
|
|
30
|
+
@include stickyHeaderCommon;
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
.mod-stickyHeader-shadow {
|
|
33
|
+
@include stickyHeaderShadow;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
|
-
}
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
&.mod-stickyHeader {
|
|
38
|
+
@include stickyHeader;
|
|
39
|
+
}
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
&.mod-stickyHeader-withBanner {
|
|
42
|
+
@include stickyHeaderBanner;
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
Sticky header
|
|
109
|
-
|
|
107
|
+
// *****
|
|
108
|
+
// Sticky header
|
|
109
|
+
// ****
|
|
110
110
|
|
|
111
111
|
@mixin stickyHeader {
|
|
112
112
|
.table-head-row-cell {
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
Sticky header drop shadow
|
|
149
|
-
|
|
147
|
+
// *****
|
|
148
|
+
// Sticky header drop shadow
|
|
149
|
+
// ****
|
|
150
150
|
|
|
151
151
|
@mixin stickyHeaderShadow {
|
|
152
152
|
.indexTable-head-row-cell,
|