@oceanbase/design 0.2.7 → 0.2.8
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/es/table/style/index.js
CHANGED
|
@@ -39,11 +39,11 @@ export var genTableStyle = function genTableStyle(token) {
|
|
|
39
39
|
backgroundColor: colorBgBase
|
|
40
40
|
}), _defineProperty(_$concat, "".concat(componentCls, "-cell-scrollbar"), {
|
|
41
41
|
boxShadow: "0 1px 0 1px ".concat(colorBgBase)
|
|
42
|
-
}), _$concat)), _defineProperty(_$concat$concat, "".concat(componentCls, "-tbody"), (_$concat4 = {}, _defineProperty(_$concat4, "tr:nth-child(2n + 1):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected) > td"), {
|
|
42
|
+
}), _$concat)), _defineProperty(_$concat$concat, "".concat(componentCls, "-tbody"), (_$concat4 = {}, _defineProperty(_$concat4, "tr:nth-child(2n + 1):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
43
43
|
backgroundColor: colorBgBase
|
|
44
|
-
}), _defineProperty(_$concat4, "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row) > td"), {
|
|
44
|
+
}), _defineProperty(_$concat4, "tr:nth-child(2n):not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-row-selected):not(").concat(componentCls, "-expanded-row):not(").concat(antCls, "-descriptions-row) > td"), {
|
|
45
45
|
backgroundColor: colorFillQuaternary
|
|
46
|
-
}), _defineProperty(_$concat4, "tr:not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-expanded-row):hover > td"), {
|
|
46
|
+
}), _defineProperty(_$concat4, "tr:not(".concat(componentCls, "-placeholder):not(").concat(componentCls, "-expanded-row):not(").concat(antCls, "-descriptions-row):hover > td"), {
|
|
47
47
|
backgroundColor: "".concat(colorPrimaryBgHover, " !important")
|
|
48
48
|
}), _defineProperty(_$concat4, "tr".concat(componentCls, "-row-selected > td"), {
|
|
49
49
|
backgroundColor: colorPrimaryBg
|
package/lib/table/style/index.js
CHANGED
|
@@ -74,14 +74,14 @@ var genTableStyle = (token) => {
|
|
|
74
74
|
// body 样式
|
|
75
75
|
[`${componentCls}-tbody`]: {
|
|
76
76
|
// 斑马纹样式
|
|
77
|
-
[`tr:nth-child(2n + 1):not(${componentCls}-placeholder):not(${componentCls}-row-selected) > td`]: {
|
|
77
|
+
[`tr:nth-child(2n + 1):not(${componentCls}-placeholder):not(${componentCls}-row-selected):not(${antCls}-descriptions-row) > td`]: {
|
|
78
78
|
backgroundColor: colorBgBase
|
|
79
79
|
},
|
|
80
|
-
[`tr:nth-child(2n):not(${componentCls}-placeholder):not(${componentCls}-row-selected):not(${componentCls}-expanded-row) > td`]: {
|
|
80
|
+
[`tr:nth-child(2n):not(${componentCls}-placeholder):not(${componentCls}-row-selected):not(${componentCls}-expanded-row):not(${antCls}-descriptions-row) > td`]: {
|
|
81
81
|
backgroundColor: colorFillQuaternary
|
|
82
82
|
},
|
|
83
83
|
// hover 行样式
|
|
84
|
-
[`tr:not(${componentCls}-placeholder):not(${componentCls}-expanded-row):hover > td`]: {
|
|
84
|
+
[`tr:not(${componentCls}-placeholder):not(${componentCls}-expanded-row):not(${antCls}-descriptions-row):hover > td`]: {
|
|
85
85
|
backgroundColor: `${colorPrimaryBgHover} !important`
|
|
86
86
|
},
|
|
87
87
|
// 选中行样式
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "The Design System for OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"OceanBase",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"react": "^16.9.0",
|
|
57
57
|
"react-dom": "^16.9.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "9ed8066adde779caed7d3dffbb30afb01ba1255b"
|
|
60
60
|
}
|