@x-plat/design-system 0.16.3 → 0.18.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/components/Table/index.cjs +86 -31
- package/dist/components/Table/index.css +173 -146
- package/dist/components/Table/index.d.cts +10 -0
- package/dist/components/Table/index.d.ts +10 -0
- package/dist/components/Table/index.js +90 -35
- package/dist/components/index.cjs +164 -109
- package/dist/components/index.css +173 -146
- package/dist/components/index.js +195 -140
- package/dist/index.cjs +169 -114
- package/dist/index.css +173 -146
- package/dist/index.js +205 -150
- package/guidelines/components/table.md +1 -0
- package/package.json +1 -1
|
@@ -6,12 +6,39 @@
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: 100%;
|
|
8
8
|
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
}
|
|
12
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller {
|
|
13
|
+
flex: 1 1 auto;
|
|
14
|
+
min-height: 0;
|
|
15
|
+
width: 100%;
|
|
9
16
|
overflow: auto;
|
|
10
17
|
scrollbar-width: none;
|
|
11
18
|
}
|
|
12
|
-
.lib-xplat-table-wrapper::-webkit-scrollbar {
|
|
19
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller::-webkit-scrollbar {
|
|
13
20
|
display: none;
|
|
14
21
|
}
|
|
22
|
+
.lib-xplat-table-wrapper {
|
|
23
|
+
}
|
|
24
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scrollbar {
|
|
25
|
+
flex: 0 0 3px;
|
|
26
|
+
position: relative;
|
|
27
|
+
background-color: var(--semantic-border-primary);
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transition: opacity 0.15s ease;
|
|
30
|
+
}
|
|
31
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scrollbar.scrollable {
|
|
32
|
+
opacity: 1;
|
|
33
|
+
}
|
|
34
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scrollbar > .table-scrollbar-thumb {
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
border-radius: var(--spacing-radius-full);
|
|
39
|
+
background-color: var(--semantic-surface-brand-default);
|
|
40
|
+
opacity: 0.55;
|
|
41
|
+
}
|
|
15
42
|
.lib-xplat-table-wrapper.sm > .lib-xplat-table > thead > tr > th,
|
|
16
43
|
.lib-xplat-table-wrapper.sm > .lib-xplat-table > thead > tr > td,
|
|
17
44
|
.lib-xplat-table-wrapper.sm > .lib-xplat-table > tbody > tr > th,
|
|
@@ -45,258 +72,258 @@
|
|
|
45
72
|
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
46
73
|
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
47
74
|
}
|
|
48
|
-
.lib-xplat-table-wrapper > .lib-xplat-table {
|
|
75
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table {
|
|
49
76
|
width: 100%;
|
|
50
|
-
min-width: 600px;
|
|
77
|
+
min-width: var(--table-min-width, 600px);
|
|
51
78
|
}
|
|
52
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead.table-sticky {
|
|
79
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead.table-sticky {
|
|
53
80
|
position: sticky;
|
|
54
81
|
top: 0;
|
|
55
82
|
z-index: 9;
|
|
56
83
|
}
|
|
57
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr,
|
|
58
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr {
|
|
84
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr,
|
|
85
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr {
|
|
59
86
|
transition: background-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
60
87
|
}
|
|
61
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.table-bottom-border,
|
|
62
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.table-bottom-border {
|
|
88
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.table-bottom-border,
|
|
89
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.table-bottom-border {
|
|
63
90
|
border-bottom: 1px solid var(--semantic-border-primary);
|
|
64
91
|
}
|
|
65
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary,
|
|
66
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary {
|
|
92
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary,
|
|
93
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary {
|
|
67
94
|
background-color: var(--semantic-surface-brand-default);
|
|
68
95
|
}
|
|
69
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary > td,
|
|
70
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary > th,
|
|
71
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary > td,
|
|
72
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary > th {
|
|
96
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary > td,
|
|
97
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary > th,
|
|
98
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary > td,
|
|
99
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary > th {
|
|
73
100
|
color: var(--semantic-text-inverse);
|
|
74
101
|
background-color: var(--semantic-surface-brand-default);
|
|
75
102
|
}
|
|
76
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary > td.cell-hover:hover,
|
|
77
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary > th.cell-hover:hover,
|
|
78
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary > td.cell-hover:hover,
|
|
79
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary > th.cell-hover:hover {
|
|
103
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary > td.cell-hover:hover,
|
|
104
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary > th.cell-hover:hover,
|
|
105
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary > td.cell-hover:hover,
|
|
106
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary > th.cell-hover:hover {
|
|
80
107
|
background-color: var(--semantic-surface-brand-strong);
|
|
81
108
|
}
|
|
82
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary.hover:hover > td,
|
|
83
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.primary.hover:hover > th,
|
|
84
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary.hover:hover > td,
|
|
85
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.primary.hover:hover > th {
|
|
109
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary.hover:hover > td,
|
|
110
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.primary.hover:hover > th,
|
|
111
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary.hover:hover > td,
|
|
112
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.primary.hover:hover > th {
|
|
86
113
|
color: var(--semantic-text-inverse);
|
|
87
114
|
background-color: var(--semantic-surface-brand-strong);
|
|
88
115
|
}
|
|
89
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary,
|
|
90
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary {
|
|
116
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary,
|
|
117
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary {
|
|
91
118
|
background-color: var(--semantic-surface-neutral-primary);
|
|
92
119
|
}
|
|
93
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary > td,
|
|
94
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary > th,
|
|
95
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary > td,
|
|
96
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary > th {
|
|
120
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary > td,
|
|
121
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary > th,
|
|
122
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary > td,
|
|
123
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary > th {
|
|
97
124
|
background-color: var(--semantic-surface-neutral-primary);
|
|
98
125
|
color: var(--semantic-text-primary);
|
|
99
126
|
}
|
|
100
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary > td.cell-hover:hover,
|
|
101
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary > th.cell-hover:hover,
|
|
102
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary > td.cell-hover:hover,
|
|
103
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary > th.cell-hover:hover {
|
|
127
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary > td.cell-hover:hover,
|
|
128
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary > th.cell-hover:hover,
|
|
129
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary > td.cell-hover:hover,
|
|
130
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary > th.cell-hover:hover {
|
|
104
131
|
background-color: var(--semantic-surface-neutral-secondary);
|
|
105
132
|
}
|
|
106
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary.hover:hover > td,
|
|
107
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.secondary.hover:hover > th,
|
|
108
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary.hover:hover > td,
|
|
109
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.secondary.hover:hover > th {
|
|
133
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary.hover:hover > td,
|
|
134
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.secondary.hover:hover > th,
|
|
135
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary.hover:hover > td,
|
|
136
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.secondary.hover:hover > th {
|
|
110
137
|
background-color: var(--semantic-surface-neutral-secondary);
|
|
111
138
|
}
|
|
112
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success,
|
|
113
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success {
|
|
139
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success,
|
|
140
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success {
|
|
114
141
|
background-color: var(--semantic-surface-success-default);
|
|
115
142
|
}
|
|
116
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success > td,
|
|
117
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success > th,
|
|
118
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success > td,
|
|
119
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success > th {
|
|
143
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success > td,
|
|
144
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success > th,
|
|
145
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success > td,
|
|
146
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success > th {
|
|
120
147
|
color: var(--semantic-text-inverse);
|
|
121
148
|
background-color: var(--semantic-surface-success-default);
|
|
122
149
|
}
|
|
123
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success > td.cell-hover:hover,
|
|
124
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success > th.cell-hover:hover,
|
|
125
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success > td.cell-hover:hover,
|
|
126
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success > th.cell-hover:hover {
|
|
150
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success > td.cell-hover:hover,
|
|
151
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success > th.cell-hover:hover,
|
|
152
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success > td.cell-hover:hover,
|
|
153
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success > th.cell-hover:hover {
|
|
127
154
|
background-color: var(--semantic-surface-success-strong);
|
|
128
155
|
}
|
|
129
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success.hover:hover > td,
|
|
130
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.success.hover:hover > th,
|
|
131
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success.hover:hover > td,
|
|
132
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.success.hover:hover > th {
|
|
156
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success.hover:hover > td,
|
|
157
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.success.hover:hover > th,
|
|
158
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success.hover:hover > td,
|
|
159
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.success.hover:hover > th {
|
|
133
160
|
color: var(--semantic-text-inverse);
|
|
134
161
|
background-color: var(--semantic-surface-success-strong);
|
|
135
162
|
}
|
|
136
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error,
|
|
137
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error {
|
|
163
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error,
|
|
164
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error {
|
|
138
165
|
background-color: var(--semantic-surface-error-default);
|
|
139
166
|
}
|
|
140
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error > td,
|
|
141
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error > th,
|
|
142
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error > td,
|
|
143
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error > th {
|
|
167
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error > td,
|
|
168
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error > th,
|
|
169
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error > td,
|
|
170
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error > th {
|
|
144
171
|
color: var(--semantic-text-inverse);
|
|
145
172
|
background-color: var(--semantic-surface-error-default);
|
|
146
173
|
}
|
|
147
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error > td.cell-hover:hover,
|
|
148
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error > th.cell-hover:hover,
|
|
149
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error > td.cell-hover:hover,
|
|
150
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error > th.cell-hover:hover {
|
|
174
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error > td.cell-hover:hover,
|
|
175
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error > th.cell-hover:hover,
|
|
176
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error > td.cell-hover:hover,
|
|
177
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error > th.cell-hover:hover {
|
|
151
178
|
background-color: var(--semantic-surface-error-strong);
|
|
152
179
|
}
|
|
153
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error.hover:hover > td,
|
|
154
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.error.hover:hover > th,
|
|
155
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error.hover:hover > td,
|
|
156
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.error.hover:hover > th {
|
|
180
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error.hover:hover > td,
|
|
181
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.error.hover:hover > th,
|
|
182
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error.hover:hover > td,
|
|
183
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.error.hover:hover > th {
|
|
157
184
|
color: var(--semantic-text-inverse);
|
|
158
185
|
background-color: var(--semantic-surface-error-strong);
|
|
159
186
|
}
|
|
160
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning,
|
|
161
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning {
|
|
187
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning,
|
|
188
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning {
|
|
162
189
|
background-color: var(--semantic-surface-warning-default);
|
|
163
190
|
}
|
|
164
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning > td,
|
|
165
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning > th,
|
|
166
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning > td,
|
|
167
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning > th {
|
|
191
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning > td,
|
|
192
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning > th,
|
|
193
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning > td,
|
|
194
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning > th {
|
|
168
195
|
color: var(--semantic-text-primary);
|
|
169
196
|
background-color: var(--semantic-surface-warning-default);
|
|
170
197
|
}
|
|
171
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning > td.cell-hover:hover,
|
|
172
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning > th.cell-hover:hover,
|
|
173
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning > td.cell-hover:hover,
|
|
174
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning > th.cell-hover:hover {
|
|
198
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning > td.cell-hover:hover,
|
|
199
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning > th.cell-hover:hover,
|
|
200
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning > td.cell-hover:hover,
|
|
201
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning > th.cell-hover:hover {
|
|
175
202
|
background-color: var(--semantic-surface-warning-strong);
|
|
176
203
|
}
|
|
177
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning.hover:hover > td,
|
|
178
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.warning.hover:hover > th,
|
|
179
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning.hover:hover > td,
|
|
180
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.warning.hover:hover > th {
|
|
204
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning.hover:hover > td,
|
|
205
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.warning.hover:hover > th,
|
|
206
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning.hover:hover > td,
|
|
207
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.warning.hover:hover > th {
|
|
181
208
|
color: var(--semantic-text-primary);
|
|
182
209
|
background-color: var(--semantic-surface-warning-strong);
|
|
183
210
|
}
|
|
184
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info,
|
|
185
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info {
|
|
211
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info,
|
|
212
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info {
|
|
186
213
|
background-color: var(--semantic-surface-info-default);
|
|
187
214
|
}
|
|
188
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info > td,
|
|
189
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info > th,
|
|
190
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info > td,
|
|
191
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info > th {
|
|
215
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info > td,
|
|
216
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info > th,
|
|
217
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info > td,
|
|
218
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info > th {
|
|
192
219
|
color: var(--semantic-text-inverse);
|
|
193
220
|
background-color: var(--semantic-surface-info-default);
|
|
194
221
|
}
|
|
195
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info > td.cell-hover:hover,
|
|
196
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info > th.cell-hover:hover,
|
|
197
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info > td.cell-hover:hover,
|
|
198
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info > th.cell-hover:hover {
|
|
222
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info > td.cell-hover:hover,
|
|
223
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info > th.cell-hover:hover,
|
|
224
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info > td.cell-hover:hover,
|
|
225
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info > th.cell-hover:hover {
|
|
199
226
|
background-color: var(--semantic-surface-info-strong);
|
|
200
227
|
}
|
|
201
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info.hover:hover > td,
|
|
202
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.info.hover:hover > th,
|
|
203
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info.hover:hover > td,
|
|
204
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.info.hover:hover > th {
|
|
228
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info.hover:hover > td,
|
|
229
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.info.hover:hover > th,
|
|
230
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info.hover:hover > td,
|
|
231
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.info.hover:hover > th {
|
|
205
232
|
color: var(--semantic-text-inverse);
|
|
206
233
|
background-color: var(--semantic-surface-info-strong);
|
|
207
234
|
}
|
|
208
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical,
|
|
209
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical {
|
|
235
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical,
|
|
236
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical {
|
|
210
237
|
background-color: var(--cat-fill);
|
|
211
238
|
}
|
|
212
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical > td,
|
|
213
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical > th,
|
|
214
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical > td,
|
|
215
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical > th {
|
|
239
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical > td,
|
|
240
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical > th,
|
|
241
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical > td,
|
|
242
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical > th {
|
|
216
243
|
color: var(--semantic-text-inverse);
|
|
217
244
|
background-color: var(--cat-fill);
|
|
218
245
|
}
|
|
219
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.hover:hover > td,
|
|
220
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.hover:hover > th,
|
|
221
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.hover:hover > td,
|
|
222
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.hover:hover > th {
|
|
246
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.hover:hover > td,
|
|
247
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.hover:hover > th,
|
|
248
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.hover:hover > td,
|
|
249
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.hover:hover > th {
|
|
223
250
|
background-color: var(--cat-text);
|
|
224
251
|
}
|
|
225
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.cat-neutral,
|
|
226
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.cat-neutral {
|
|
252
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.cat-neutral,
|
|
253
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.cat-neutral {
|
|
227
254
|
background-color: var(--semantic-surface-neutral-tertiary);
|
|
228
255
|
}
|
|
229
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.cat-neutral > td,
|
|
230
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.cat-neutral > th,
|
|
231
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.cat-neutral > td,
|
|
232
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.cat-neutral > th {
|
|
256
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.cat-neutral > td,
|
|
257
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.cat-neutral > th,
|
|
258
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.cat-neutral > td,
|
|
259
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.cat-neutral > th {
|
|
233
260
|
color: var(--semantic-text-inverse);
|
|
234
261
|
background-color: var(--semantic-surface-neutral-tertiary);
|
|
235
262
|
}
|
|
236
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.cat-neutral.hover:hover > td,
|
|
237
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.categorical.cat-neutral.hover:hover > th,
|
|
238
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.cat-neutral.hover:hover > td,
|
|
239
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.categorical.cat-neutral.hover:hover > th {
|
|
263
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.cat-neutral.hover:hover > td,
|
|
264
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.categorical.cat-neutral.hover:hover > th,
|
|
265
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.cat-neutral.hover:hover > td,
|
|
266
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.categorical.cat-neutral.hover:hover > th {
|
|
240
267
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
241
268
|
}
|
|
242
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr.clickable,
|
|
243
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr.clickable {
|
|
269
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr.clickable,
|
|
270
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr.clickable {
|
|
244
271
|
cursor: pointer;
|
|
245
272
|
}
|
|
246
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td,
|
|
247
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th,
|
|
248
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td,
|
|
249
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th {
|
|
273
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td,
|
|
274
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th,
|
|
275
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td,
|
|
276
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th {
|
|
250
277
|
min-width: 80px;
|
|
251
278
|
padding: var(--spacing-space-2);
|
|
252
279
|
vertical-align: middle;
|
|
253
280
|
word-break: keep-all;
|
|
254
281
|
overflow-wrap: anywhere;
|
|
255
282
|
}
|
|
256
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.nowrap,
|
|
257
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.nowrap,
|
|
258
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.nowrap,
|
|
259
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.nowrap {
|
|
283
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.nowrap,
|
|
284
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.nowrap,
|
|
285
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.nowrap,
|
|
286
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.nowrap {
|
|
260
287
|
white-space: nowrap;
|
|
261
288
|
overflow-wrap: normal;
|
|
262
289
|
}
|
|
263
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td,
|
|
264
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th,
|
|
265
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td,
|
|
266
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th {
|
|
290
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td,
|
|
291
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th,
|
|
292
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td,
|
|
293
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th {
|
|
267
294
|
transition: background-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
268
295
|
}
|
|
269
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.clickable,
|
|
270
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.clickable,
|
|
271
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.clickable,
|
|
272
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.clickable {
|
|
296
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.clickable,
|
|
297
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.clickable,
|
|
298
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.clickable,
|
|
299
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.clickable {
|
|
273
300
|
cursor: pointer;
|
|
274
301
|
}
|
|
275
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.align-start,
|
|
276
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.align-start,
|
|
277
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.align-start,
|
|
278
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.align-start {
|
|
302
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.align-start,
|
|
303
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.align-start,
|
|
304
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.align-start,
|
|
305
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.align-start {
|
|
279
306
|
text-align: left;
|
|
280
307
|
justify-items: start;
|
|
281
308
|
}
|
|
282
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.align-center,
|
|
283
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.align-center,
|
|
284
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.align-center,
|
|
285
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.align-center {
|
|
309
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.align-center,
|
|
310
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.align-center,
|
|
311
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.align-center,
|
|
312
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.align-center {
|
|
286
313
|
text-align: center;
|
|
287
314
|
justify-items: center;
|
|
288
315
|
}
|
|
289
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.align-end,
|
|
290
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.align-end,
|
|
291
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.align-end,
|
|
292
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.align-end {
|
|
316
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.align-end,
|
|
317
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.align-end,
|
|
318
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.align-end,
|
|
319
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.align-end {
|
|
293
320
|
text-align: end;
|
|
294
321
|
justify-items: end;
|
|
295
322
|
}
|
|
296
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > td.table-sticky,
|
|
297
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > thead > tr > th.table-sticky,
|
|
298
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > td.table-sticky,
|
|
299
|
-
.lib-xplat-table-wrapper > .lib-xplat-table > tbody > tr > th.table-sticky {
|
|
323
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > td.table-sticky,
|
|
324
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > thead > tr > th.table-sticky,
|
|
325
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > td.table-sticky,
|
|
326
|
+
.lib-xplat-table-wrapper > .lib-xplat-table-scroller > .lib-xplat-table > tbody > tr > th.table-sticky {
|
|
300
327
|
position: sticky;
|
|
301
328
|
top: 0;
|
|
302
329
|
z-index: 1;
|
|
@@ -9,6 +9,16 @@ interface TableProps {
|
|
|
9
9
|
colBorderUse?: boolean;
|
|
10
10
|
headerSticky?: boolean;
|
|
11
11
|
stickyShadow?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* 표가 줄어들 수 있는 **최소 너비**. 숫자면 px. 기본 `600`.
|
|
14
|
+
*
|
|
15
|
+
* 그보다 좁은 자리에 넣으면 표가 쪼그라드는 대신 **가로로 밀린다.** 칸 하나가
|
|
16
|
+
* 최소 80px 이라 600px 은 "칸 일고여덟은 들어가야 표답다" 는 뜻이다.
|
|
17
|
+
*
|
|
18
|
+
* 그런데 칸이 서넛뿐인 표에는 과하다 — 반쪽 카드에 넣으면 밀려서 오른쪽이
|
|
19
|
+
* 안 보인다. 칸 수에 맞춰 낮추면 된다 (칸 3개면 `240` 쯤).
|
|
20
|
+
*/
|
|
21
|
+
minWidth?: number | string;
|
|
12
22
|
}
|
|
13
23
|
declare const Table: {
|
|
14
24
|
(props: TableProps): react_jsx_runtime.JSX.Element;
|
|
@@ -9,6 +9,16 @@ interface TableProps {
|
|
|
9
9
|
colBorderUse?: boolean;
|
|
10
10
|
headerSticky?: boolean;
|
|
11
11
|
stickyShadow?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* 표가 줄어들 수 있는 **최소 너비**. 숫자면 px. 기본 `600`.
|
|
14
|
+
*
|
|
15
|
+
* 그보다 좁은 자리에 넣으면 표가 쪼그라드는 대신 **가로로 밀린다.** 칸 하나가
|
|
16
|
+
* 최소 80px 이라 600px 은 "칸 일고여덟은 들어가야 표답다" 는 뜻이다.
|
|
17
|
+
*
|
|
18
|
+
* 그런데 칸이 서넛뿐인 표에는 과하다 — 반쪽 카드에 넣으면 밀려서 오른쪽이
|
|
19
|
+
* 안 보인다. 칸 수에 맞춰 낮추면 된다 (칸 3개면 `240` 쯤).
|
|
20
|
+
*/
|
|
21
|
+
minWidth?: number | string;
|
|
12
22
|
}
|
|
13
23
|
declare const Table: {
|
|
14
24
|
(props: TableProps): react_jsx_runtime.JSX.Element;
|