@canlooks/can-ui 0.0.188 → 0.0.189
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/cjs/components/dataGrid/dataGrid.style.js +16 -6
- package/dist/cjs/components/table/table.style.js +1 -1
- package/dist/cjs/components/table/tableSticky.style.js +1 -1
- package/dist/esm/components/dataGrid/dataGrid.style.js +16 -6
- package/dist/esm/components/table/table.style.js +1 -1
- package/dist/esm/components/table/tableSticky.style.js +1 -1
- package/package.json +1 -1
|
@@ -103,6 +103,16 @@ exports.style = (0, utils_1.defineCss)(({ spacing, mode, gray, text, colors, eas
|
|
|
103
103
|
.${exports.classes.children} {
|
|
104
104
|
padding: ${spacing[4]}px ${spacing[5]}px;
|
|
105
105
|
border-bottom: 1px solid ${gray(mode === 'light' ? .12 : .32)};
|
|
106
|
+
|
|
107
|
+
thead, tfoot {
|
|
108
|
+
z-index: 3;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
th, td {
|
|
112
|
+
&[data-sticky=left], &[data-sticky=right] {
|
|
113
|
+
z-index: 2;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
106
116
|
}
|
|
107
117
|
}
|
|
108
118
|
}
|
|
@@ -139,12 +149,6 @@ exports.style = (0, utils_1.defineCss)(({ spacing, mode, gray, text, colors, eas
|
|
|
139
149
|
}
|
|
140
150
|
}
|
|
141
151
|
|
|
142
|
-
.${exports.classes.empty} {
|
|
143
|
-
height: auto;
|
|
144
|
-
position: sticky;
|
|
145
|
-
left: 0;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
152
|
.${exports.classes.resizeHandle} {
|
|
149
153
|
width: 8px;
|
|
150
154
|
height: 100%;
|
|
@@ -168,6 +172,12 @@ exports.style = (0, utils_1.defineCss)(({ spacing, mode, gray, text, colors, eas
|
|
|
168
172
|
}
|
|
169
173
|
}
|
|
170
174
|
|
|
175
|
+
.${exports.classes.empty} {
|
|
176
|
+
height: auto;
|
|
177
|
+
position: sticky;
|
|
178
|
+
left: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
171
181
|
&[data-column-resizable=true] .${table_style_1.classes.root} {
|
|
172
182
|
width: max-content;
|
|
173
183
|
table-layout: fixed;
|
|
@@ -100,6 +100,16 @@ export const style = defineCss(({ spacing, mode, gray, text, colors, easing }) =
|
|
|
100
100
|
.${classes.children} {
|
|
101
101
|
padding: ${spacing[4]}px ${spacing[5]}px;
|
|
102
102
|
border-bottom: 1px solid ${gray(mode === 'light' ? .12 : .32)};
|
|
103
|
+
|
|
104
|
+
thead, tfoot {
|
|
105
|
+
z-index: 3;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
th, td {
|
|
109
|
+
&[data-sticky=left], &[data-sticky=right] {
|
|
110
|
+
z-index: 2;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
103
113
|
}
|
|
104
114
|
}
|
|
105
115
|
}
|
|
@@ -136,12 +146,6 @@ export const style = defineCss(({ spacing, mode, gray, text, colors, easing }) =
|
|
|
136
146
|
}
|
|
137
147
|
}
|
|
138
148
|
|
|
139
|
-
.${classes.empty} {
|
|
140
|
-
height: auto;
|
|
141
|
-
position: sticky;
|
|
142
|
-
left: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
149
|
.${classes.resizeHandle} {
|
|
146
150
|
width: 8px;
|
|
147
151
|
height: 100%;
|
|
@@ -165,6 +169,12 @@ export const style = defineCss(({ spacing, mode, gray, text, colors, easing }) =
|
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
171
|
|
|
172
|
+
.${classes.empty} {
|
|
173
|
+
height: auto;
|
|
174
|
+
position: sticky;
|
|
175
|
+
left: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
168
178
|
&[data-column-resizable=true] .${tableClasses.root} {
|
|
169
179
|
width: max-content;
|
|
170
180
|
table-layout: fixed;
|