@oceanbase/design 0.4.16 → 1.0.0-alpha.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/design.min.js +1 -1
- package/es/_util/genStyle.d.ts +0 -2
- package/es/_util/genStyle.js +0 -77
- package/es/badge/style/index.js +0 -1
- package/es/button/style/index.js +1 -30
- package/es/card/style/index.js +4 -2
- package/es/config-provider/index.js +1 -5
- package/es/empty/style/index.js +2 -7
- package/es/form/FormItem.d.ts +2 -1
- package/es/form/FormItem.js +1 -0
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -2
- package/es/result/style/index.js +2 -5
- package/es/table/style/index.js +8 -31
- package/es/tabs/index.d.ts +8 -6
- package/es/tabs/index.js +10 -7
- package/es/tabs/style/index.js +2 -3
- package/es/theme/default.js +62 -39
- package/es/theme/style/aliyun.less +125 -125
- package/es/theme/style/compact.less +135 -135
- package/es/theme/style/dark.less +136 -136
- package/es/theme/style/default.less +135 -135
- package/es/typography/style/index.js +2 -6
- package/lib/_util/genStyle.d.ts +0 -2
- package/lib/_util/genStyle.js +2 -118
- package/lib/badge/style/index.js +0 -1
- package/lib/button/style/index.js +1 -37
- package/lib/card/style/index.js +9 -1
- package/lib/config-provider/index.js +1 -8
- package/lib/empty/style/index.js +0 -5
- package/lib/form/FormItem.d.ts +2 -1
- package/lib/form/FormItem.js +6 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -3
- package/lib/result/style/index.js +0 -4
- package/lib/table/style/index.js +1 -58
- package/lib/tabs/index.d.ts +8 -6
- package/lib/tabs/index.js +68 -62
- package/lib/tabs/style/index.js +6 -4
- package/lib/theme/default.js +62 -38
- package/lib/theme/style/aliyun.less +125 -125
- package/lib/theme/style/compact.less +135 -135
- package/lib/theme/style/dark.less +136 -136
- package/lib/theme/style/default.less +135 -135
- package/lib/typography/style/index.js +2 -9
- package/package.json +4 -4
|
@@ -29,17 +29,10 @@ var genTypographyStyle = (token) => {
|
|
|
29
29
|
const marginOffset = (controlHeight - fontSize * lineHeight) / 2;
|
|
30
30
|
return {
|
|
31
31
|
// inherit color and lineHeight from parent instead of fixed colorText
|
|
32
|
-
[
|
|
33
|
-
lineHeight: "inherit",
|
|
34
|
-
color: "inherit",
|
|
35
|
-
fontSize: "inherit"
|
|
36
|
-
},
|
|
37
|
-
[`div${componentCls}`]: {
|
|
32
|
+
[`${componentCls}`]: {
|
|
38
33
|
lineHeight: "inherit",
|
|
39
34
|
color: "inherit",
|
|
40
|
-
fontSize: "inherit"
|
|
41
|
-
},
|
|
42
|
-
[`${componentCls}`]: {
|
|
35
|
+
fontSize: "inherit",
|
|
43
36
|
[`${componentCls}-edit`]: {
|
|
44
37
|
fontSize: token.fontSize
|
|
45
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"description": "The Design System of OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oceanbase",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@oceanbase/icons": "^0.4.7",
|
|
46
46
|
"@oceanbase/util": "^0.4.4",
|
|
47
47
|
"ahooks": "^2.10.14",
|
|
48
|
-
"antd": "^5.27.
|
|
48
|
+
"antd": "^5.27.2",
|
|
49
49
|
"classnames": "^2.5.1",
|
|
50
50
|
"lodash": "^4.17.21",
|
|
51
51
|
"lottie-web": "^5.13.0",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"antd-token-previewer": "^2.0.8",
|
|
59
59
|
"rc-select": "^14.16.8",
|
|
60
60
|
"rc-slider": "^11.1.8",
|
|
61
|
-
"rc-table": "^7.
|
|
61
|
+
"rc-table": "^7.52.5",
|
|
62
62
|
"rc-tree-select": "^5.27.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": ">=16.9.0",
|
|
66
66
|
"react-dom": ">=16.9.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "1aff1c2acc2b9494ff83a86ed597b9f46a08f59c"
|
|
69
69
|
}
|