@oceanbase/design 1.0.0-alpha.1 → 1.0.0-alpha.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.
- package/dist/design.min.js +1 -1
- package/es/badge/style/index.js +7 -10
- package/es/card/index.js +5 -1
- package/es/card/style/index.js +8 -2
- package/es/descriptions/style/index.js +4 -2
- package/es/table/style/index.js +1 -3
- package/es/tabs/style/index.js +1 -2
- package/es/theme/default.js +21 -10
- package/es/theme/style/aliyun.less +1 -1
- package/es/theme/style/compact.less +9 -9
- package/es/theme/style/dark.less +5 -5
- package/es/theme/style/default.less +12 -12
- package/lib/badge/style/index.js +6 -7
- package/lib/card/index.js +5 -0
- package/lib/card/style/index.js +10 -0
- package/lib/descriptions/style/index.js +6 -1
- package/lib/table/style/index.js +2 -4
- package/lib/tabs/style/index.js +1 -2
- package/lib/theme/default.js +21 -10
- package/lib/theme/style/aliyun.less +1 -1
- package/lib/theme/style/compact.less +9 -9
- package/lib/theme/style/dark.less +5 -5
- package/lib/theme/style/default.less +12 -12
- package/package.json +7 -7
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
@sizeUnit: 4px;
|
|
39
39
|
@sizeStep: 4px;
|
|
40
40
|
@sizePopupArrow: 16px;
|
|
41
|
-
@controlHeight:
|
|
41
|
+
@controlHeight: 28px;
|
|
42
42
|
@zIndexBase: 0;
|
|
43
43
|
@zIndexPopupBase: 1000;
|
|
44
44
|
@opacityImage: 1;
|
|
@@ -374,13 +374,13 @@
|
|
|
374
374
|
@colorBgMask: rgba(19, 32, 57, 0.45);
|
|
375
375
|
@colorWhite: #fff;
|
|
376
376
|
@fontSizeSM: 12px;
|
|
377
|
-
@fontSizeLG:
|
|
377
|
+
@fontSizeLG: 16px;
|
|
378
378
|
@fontSizeXL: 18px;
|
|
379
|
-
@fontSizeHeading1:
|
|
380
|
-
@fontSizeHeading2:
|
|
381
|
-
@fontSizeHeading3:
|
|
382
|
-
@fontSizeHeading4:
|
|
383
|
-
@fontSizeHeading5:
|
|
379
|
+
@fontSizeHeading1: 24px;
|
|
380
|
+
@fontSizeHeading2: 20px;
|
|
381
|
+
@fontSizeHeading3: 18px;
|
|
382
|
+
@fontSizeHeading4: 16px;
|
|
383
|
+
@fontSizeHeading5: 13px;
|
|
384
384
|
@lineHeight: 1.6153846153846154;
|
|
385
385
|
@lineHeightLG: 1.5714285714285714;
|
|
386
386
|
@lineHeightSM: 1.8;
|
|
@@ -401,16 +401,16 @@
|
|
|
401
401
|
@sizeSM: 12px;
|
|
402
402
|
@sizeXS: 8px;
|
|
403
403
|
@sizeXXS: 4px;
|
|
404
|
-
@controlHeightSM:
|
|
405
|
-
@controlHeightXS:
|
|
406
|
-
@controlHeightLG:
|
|
404
|
+
@controlHeightSM: 21px;
|
|
405
|
+
@controlHeightXS: 14px;
|
|
406
|
+
@controlHeightLG: 35px;
|
|
407
407
|
@motionDurationFast: 0.1s;
|
|
408
408
|
@motionDurationMid: 0.2s;
|
|
409
409
|
@motionDurationSlow: 0.3s;
|
|
410
410
|
@lineWidthBold: 2px;
|
|
411
411
|
@borderRadiusXS: 1px;
|
|
412
412
|
@borderRadiusSM: 2px;
|
|
413
|
-
@borderRadiusLG:
|
|
413
|
+
@borderRadiusLG: 8px;
|
|
414
414
|
@borderRadiusOuter: 4px;
|
|
415
415
|
@colorIcon: #8592ad;
|
|
416
416
|
@boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
@colorWarningOutline: rgba(244,155,11,0.09);
|
|
438
438
|
@fontSizeIcon: 12px;
|
|
439
439
|
@controlOutlineWidth: 2px;
|
|
440
|
-
@controlInteractiveSize:
|
|
440
|
+
@controlInteractiveSize: 14px;
|
|
441
441
|
@controlItemBgHover: #f3f6fc;
|
|
442
442
|
@controlItemBgActive: #e6f4ff;
|
|
443
443
|
@controlItemBgActiveHover: #b0dbff;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "The Design System of OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oceanbase",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@ant-design/cssinjs": "^1.24.0",
|
|
42
|
-
"@ctrl/tinycolor": "^4.
|
|
42
|
+
"@ctrl/tinycolor": "^4.2.0",
|
|
43
43
|
"@inline-svg-unique-id/react": "^1.2.3",
|
|
44
44
|
"@oceanbase/aliyun-theme": "^0.1.6",
|
|
45
45
|
"@oceanbase/icons": "^1.0.0-alpha.0",
|
|
46
|
-
"@oceanbase/util": "^1.0.0-alpha.
|
|
46
|
+
"@oceanbase/util": "^1.0.0-alpha.1",
|
|
47
47
|
"ahooks": "^2.10.14",
|
|
48
|
-
"antd": "^5.27.
|
|
48
|
+
"antd": "^5.27.4",
|
|
49
49
|
"classnames": "^2.5.1",
|
|
50
50
|
"lodash": "^4.17.21",
|
|
51
51
|
"lottie-web": "^5.13.0",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"@babel/preset-env": "^7.28.3",
|
|
58
58
|
"antd-token-previewer": "^2.0.8",
|
|
59
59
|
"rc-select": "^14.16.8",
|
|
60
|
-
"rc-slider": "^11.1.
|
|
61
|
-
"rc-table": "^7.
|
|
60
|
+
"rc-slider": "^11.1.9",
|
|
61
|
+
"rc-table": "^7.54.0",
|
|
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": "72910b1a2b037811f3ed5561ee5e897d7b744135"
|
|
69
69
|
}
|