@sheinx/shineout-style 3.7.0 → 3.7.1-beta.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAglBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAmlBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -51,10 +51,6 @@ var tableStyle = _objectSpread(_objectSpread({
51
51
  borderBottom: "1px solid ".concat(_theme.default.tableCellBorderColor),
52
52
  boxSizing: 'border-box',
53
53
  lineHeight: _theme.default.lineHeightDynamic,
54
- zIndex: fixedIndex - 1,
55
- '&$cellFixedLeft, &$cellFixedRight': {
56
- zIndex: fixedIndex
57
- },
58
54
  '$bordered&': {
59
55
  '&::after': {
60
56
  content: '""',
@@ -186,6 +182,14 @@ var tableStyle = _objectSpread(_objectSpread({
186
182
  background: _theme.default.tableTheadBackgroundColor,
187
183
  '$sticky > &': {
188
184
  zIndex: headerIndex
185
+ },
186
+ '& table th': {
187
+ zIndex: fixedFixedIndex + 1,
188
+ '&$cellFixedLeft': {
189
+ position: 'sticky',
190
+ top: 'auto',
191
+ zIndex: fixedFixedIndex + 2
192
+ }
189
193
  }
190
194
  },
191
195
  bodyWrapper: {
@@ -203,7 +207,6 @@ var tableStyle = _objectSpread(_objectSpread({
203
207
  }
204
208
  },
205
209
  '& td': {
206
- zIndex: fixedIndex,
207
210
  '&$cellFixedLeft': {
208
211
  position: 'sticky',
209
212
  top: 'auto',
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0";
1
+ declare const _default: "3.7.1-beta.2";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAA8B"}
package/cjs/version.js CHANGED
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '3.7.0';
7
+ var _default = exports.default = '3.7.1-beta.2';
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAglBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAmlBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -44,10 +44,6 @@ var tableStyle = _objectSpread(_objectSpread({
44
44
  borderBottom: "1px solid ".concat(token.tableCellBorderColor),
45
45
  boxSizing: 'border-box',
46
46
  lineHeight: token.lineHeightDynamic,
47
- zIndex: fixedIndex - 1,
48
- '&$cellFixedLeft, &$cellFixedRight': {
49
- zIndex: fixedIndex
50
- },
51
47
  '$bordered&': {
52
48
  '&::after': {
53
49
  content: '""',
@@ -179,6 +175,14 @@ var tableStyle = _objectSpread(_objectSpread({
179
175
  background: token.tableTheadBackgroundColor,
180
176
  '$sticky > &': {
181
177
  zIndex: headerIndex
178
+ },
179
+ '& table th': {
180
+ zIndex: fixedFixedIndex + 1,
181
+ '&$cellFixedLeft': {
182
+ position: 'sticky',
183
+ top: 'auto',
184
+ zIndex: fixedFixedIndex + 2
185
+ }
182
186
  }
183
187
  },
184
188
  bodyWrapper: {
@@ -196,7 +200,6 @@ var tableStyle = _objectSpread(_objectSpread({
196
200
  }
197
201
  },
198
202
  '& td': {
199
- zIndex: fixedIndex,
200
203
  '&$cellFixedLeft': {
201
204
  position: 'sticky',
202
205
  top: 'auto',
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0";
1
+ declare const _default: "3.7.1-beta.2";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAA8B"}
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.7.0';
1
+ export default '3.7.1-beta.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.7.0",
3
+ "version": "3.7.1-beta.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "jss": "10.9.2",
19
19
  "react-jss": "10.9.2",
20
- "@sheinx/theme": "3.7.0",
21
- "@sheinx/base": "3.7.0"
20
+ "@sheinx/theme": "3.7.1-beta.2",
21
+ "@sheinx/base": "3.7.1-beta.2"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"