@oceanbase/design 0.2.0 → 0.2.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/_util/genComponentStyleHook.d.ts +9 -0
- package/es/alert/index.d.ts +12 -0
- package/es/{Alert → alert}/index.js +3 -1
- package/es/button/index.d.ts +10 -0
- package/es/{Button → button}/index.js +3 -1
- package/es/card/index.d.ts +17 -0
- package/es/{Card → card}/index.js +5 -3
- package/es/card/style/index.d.ts +11 -0
- package/es/{Card → card}/style/index.js +1 -1
- package/es/color-picker/interface.d.ts +1 -0
- package/es/color-picker/interface.js +1 -0
- package/es/config-provider/index.d.ts +13 -0
- package/es/{ConfigProvider → config-provider}/index.js +2 -2
- package/es/descriptions/index.d.ts +11 -0
- package/es/{Descriptions → descriptions}/index.js +3 -1
- package/es/float-button/interface.d.ts +1 -0
- package/es/float-button/interface.js +1 -0
- package/es/form/FormItem.d.ts +16 -0
- package/es/{Form → form}/FormItem.js +1 -1
- package/es/form/index.d.ts +3 -0
- package/es/{Form → form}/index.js +1 -0
- package/es/form/interface.d.ts +1 -0
- package/es/form/interface.js +1 -0
- package/es/index.d.ts +21 -0
- package/es/index.js +11 -14
- package/es/locale/en-US.d.ts +3 -0
- package/es/locale/index.d.ts +5 -0
- package/es/locale/zh-CN.d.ts +3 -0
- package/es/locale/zh-TW.d.ts +3 -0
- package/es/message/interface.d.ts +1 -0
- package/es/message/interface.js +1 -0
- package/es/modal/index.d.ts +31 -0
- package/es/{Modal → modal}/index.js +4 -2
- package/es/modal/interface.d.ts +1 -0
- package/es/modal/interface.js +1 -0
- package/es/notification/interface.d.ts +1 -0
- package/es/notification/interface.js +1 -0
- package/es/qrcode/interface.d.ts +1 -0
- package/es/qrcode/interface.js +1 -0
- package/es/radio/interface.d.ts +1 -0
- package/es/radio/interface.js +1 -0
- package/es/static-function/index.d.ts +10 -0
- package/es/statistic/interface.d.ts +1 -0
- package/es/statistic/interface.js +1 -0
- package/es/table/index.d.ts +35 -0
- package/es/{Table → table}/index.js +11 -1
- package/es/table/interface.d.ts +1 -0
- package/es/table/interface.js +1 -0
- package/es/tabs/hooks/useLegacyItems.d.ts +3 -0
- package/es/tabs/index.d.ts +18 -0
- package/es/{Tabs → tabs}/index.js +4 -2
- package/es/theme/index.d.ts +184 -0
- package/es/theme/index.js +1 -0
- package/es/theme/interface.d.ts +1 -0
- package/es/theme/interface.js +1 -0
- package/es/tooltip/MouseTooltip.d.ts +9 -0
- package/es/{Tooltip → tooltip}/MouseTooltip.js +1 -1
- package/es/tooltip/index.d.ts +19 -0
- package/es/{Tooltip → tooltip}/index.js +2 -1
- package/es/tour/interface.d.ts +1 -0
- package/es/tour/interface.js +1 -0
- package/es/transfer/interface.d.ts +1 -0
- package/es/transfer/interface.js +1 -0
- package/es/upload/interface.d.ts +1 -0
- package/es/upload/interface.js +1 -0
- package/lib/_util/genComponentStyleHook.d.ts +9 -0
- package/lib/alert/index.d.ts +12 -0
- package/lib/{Alert → alert}/index.js +14 -7
- package/lib/{Alert → alert}/style/index.js +1 -1
- package/lib/button/index.d.ts +10 -0
- package/lib/{Button → button}/index.js +14 -7
- package/lib/{Button → button}/style/index.js +1 -1
- package/lib/card/index.d.ts +17 -0
- package/lib/{Card → card}/index.js +15 -8
- package/lib/card/style/index.d.ts +11 -0
- package/lib/{Card → card}/style/index.js +2 -2
- package/lib/color-picker/interface.d.ts +1 -0
- package/lib/color-picker/interface.js +23 -0
- package/lib/config-provider/index.d.ts +13 -0
- package/lib/{ConfigProvider → config-provider}/index.js +11 -11
- package/lib/{Descriptions → descriptions}/Item.js +1 -1
- package/lib/descriptions/index.d.ts +11 -0
- package/lib/{Descriptions → descriptions}/index.js +14 -7
- package/lib/{Descriptions → descriptions}/style/index.js +1 -1
- package/lib/float-button/interface.d.ts +1 -0
- package/lib/float-button/interface.js +23 -0
- package/lib/form/FormItem.d.ts +16 -0
- package/lib/{Form → form}/FormItem.js +3 -3
- package/lib/form/index.d.ts +3 -0
- package/lib/{Form → form}/index.js +12 -6
- package/lib/form/interface.d.ts +1 -0
- package/lib/form/interface.js +23 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.js +24 -24
- package/lib/locale/en-US.d.ts +3 -0
- package/lib/locale/index.d.ts +5 -0
- package/lib/locale/zh-CN.d.ts +3 -0
- package/lib/locale/zh-TW.d.ts +3 -0
- package/lib/message/interface.d.ts +1 -0
- package/lib/message/interface.js +23 -0
- package/lib/modal/index.d.ts +31 -0
- package/lib/{Modal → modal}/index.js +20 -13
- package/lib/modal/interface.d.ts +1 -0
- package/lib/modal/interface.js +23 -0
- package/lib/{Modal → modal}/style/index.js +1 -1
- package/lib/notification/interface.d.ts +1 -0
- package/lib/notification/interface.js +23 -0
- package/lib/qrcode/interface.d.ts +1 -0
- package/lib/qrcode/interface.js +23 -0
- package/lib/radio/interface.d.ts +1 -0
- package/lib/radio/interface.js +23 -0
- package/lib/static-function/index.d.ts +10 -0
- package/lib/{StaticFunction → static-function}/index.js +6 -6
- package/lib/statistic/interface.d.ts +1 -0
- package/lib/statistic/interface.js +23 -0
- package/lib/table/index.d.ts +35 -0
- package/lib/{Table → table}/index.js +22 -7
- package/lib/table/interface.d.ts +1 -0
- package/lib/table/interface.js +23 -0
- package/lib/{Table → table}/style/index.js +1 -1
- package/lib/{Tabs → tabs}/TabPane.js +1 -1
- package/lib/{Tabs → tabs}/hooks/useInkBar.js +1 -1
- package/lib/tabs/hooks/useLegacyItems.d.ts +3 -0
- package/lib/{Tabs → tabs}/hooks/useLegacyItems.js +1 -1
- package/lib/tabs/index.d.ts +18 -0
- package/lib/{Tabs → tabs}/index.js +14 -7
- package/lib/{Tabs → tabs}/style/index.js +1 -1
- package/lib/theme/index.d.ts +184 -0
- package/lib/theme/index.js +6 -0
- package/lib/theme/interface.d.ts +1 -0
- package/lib/theme/interface.js +23 -0
- package/lib/tooltip/MouseTooltip.d.ts +9 -0
- package/lib/{Tooltip → tooltip}/MouseTooltip.js +6 -6
- package/lib/tooltip/index.d.ts +19 -0
- package/lib/{Tooltip → tooltip}/index.js +20 -17
- package/lib/tour/interface.d.ts +1 -0
- package/lib/tour/interface.js +23 -0
- package/lib/transfer/interface.d.ts +1 -0
- package/lib/transfer/interface.js +23 -0
- package/lib/upload/interface.d.ts +1 -0
- package/lib/upload/interface.js +23 -0
- package/package.json +10 -5
- /package/es/{Alert → alert}/style/index.js +0 -0
- /package/es/{Button → button}/style/index.js +0 -0
- /package/es/{Descriptions → descriptions}/Item.js +0 -0
- /package/es/{Descriptions → descriptions}/style/index.js +0 -0
- /package/es/{Modal → modal}/style/index.js +0 -0
- /package/es/{StaticFunction → static-function}/index.js +0 -0
- /package/es/{Table → table}/style/index.js +0 -0
- /package/es/{Tabs → tabs}/TabPane.js +0 -0
- /package/es/{Tabs → tabs}/hooks/useInkBar.js +0 -0
- /package/es/{Tabs → tabs}/hooks/useLegacyItems.js +0 -0
- /package/es/{Tabs → tabs}/style/index.js +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/transfer/interface.ts
|
|
17
|
+
var interface_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(interface_exports);
|
|
19
|
+
__reExport(interface_exports, require("antd/es/transfer/interface"), module.exports);
|
|
20
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
21
|
+
0 && (module.exports = {
|
|
22
|
+
...require("antd/es/transfer/interface")
|
|
23
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'antd/es/upload/interface';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/upload/interface.ts
|
|
17
|
+
var interface_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(interface_exports);
|
|
19
|
+
__reExport(interface_exports, require("antd/es/upload/interface"), module.exports);
|
|
20
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
21
|
+
0 && (module.exports = {
|
|
22
|
+
...require("antd/es/upload/interface")
|
|
23
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "The Design System for OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"OceanBase",
|
|
@@ -10,11 +10,15 @@
|
|
|
10
10
|
"react",
|
|
11
11
|
"component"
|
|
12
12
|
],
|
|
13
|
-
"homepage": "https://github.com/oceanbase/design",
|
|
13
|
+
"homepage": "https://github.com/oceanbase/design/packages/design",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "git@github.com:oceanbase/design.git"
|
|
17
17
|
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"registry": "https://registry.npmjs.org",
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
18
22
|
"main": "lib/index.js",
|
|
19
23
|
"unpkg": "dist/design.min.js",
|
|
20
24
|
"module": "es/index.js",
|
|
@@ -24,7 +28,8 @@
|
|
|
24
28
|
"lib",
|
|
25
29
|
"dist",
|
|
26
30
|
"package.json",
|
|
27
|
-
"README.md"
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
28
33
|
],
|
|
29
34
|
"scripts": {
|
|
30
35
|
"build": "father build"
|
|
@@ -33,7 +38,7 @@
|
|
|
33
38
|
"@ant-design/cssinjs": "^1.9.1",
|
|
34
39
|
"@ant-design/icons": "^4.2.1",
|
|
35
40
|
"@ant-design/pro-components": "^2.4.12",
|
|
36
|
-
"@oceanbase/util": "^0.1
|
|
41
|
+
"@oceanbase/util": "^0.2.1",
|
|
37
42
|
"ahooks": "^2.10.0",
|
|
38
43
|
"antd": "^5.6.0",
|
|
39
44
|
"classnames": "^2.2.6",
|
|
@@ -50,5 +55,5 @@
|
|
|
50
55
|
"react": "^16.9.0",
|
|
51
56
|
"react-dom": "^16.9.0"
|
|
52
57
|
},
|
|
53
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "2bc94e6eb09382e6749a9c1b71e85aa3d4ece7b1"
|
|
54
59
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|