@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.
Files changed (154) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/_util/genComponentStyleHook.d.ts +9 -0
  3. package/es/alert/index.d.ts +12 -0
  4. package/es/{Alert → alert}/index.js +3 -1
  5. package/es/button/index.d.ts +10 -0
  6. package/es/{Button → button}/index.js +3 -1
  7. package/es/card/index.d.ts +17 -0
  8. package/es/{Card → card}/index.js +5 -3
  9. package/es/card/style/index.d.ts +11 -0
  10. package/es/{Card → card}/style/index.js +1 -1
  11. package/es/color-picker/interface.d.ts +1 -0
  12. package/es/color-picker/interface.js +1 -0
  13. package/es/config-provider/index.d.ts +13 -0
  14. package/es/{ConfigProvider → config-provider}/index.js +2 -2
  15. package/es/descriptions/index.d.ts +11 -0
  16. package/es/{Descriptions → descriptions}/index.js +3 -1
  17. package/es/float-button/interface.d.ts +1 -0
  18. package/es/float-button/interface.js +1 -0
  19. package/es/form/FormItem.d.ts +16 -0
  20. package/es/{Form → form}/FormItem.js +1 -1
  21. package/es/form/index.d.ts +3 -0
  22. package/es/{Form → form}/index.js +1 -0
  23. package/es/form/interface.d.ts +1 -0
  24. package/es/form/interface.js +1 -0
  25. package/es/index.d.ts +21 -0
  26. package/es/index.js +11 -14
  27. package/es/locale/en-US.d.ts +3 -0
  28. package/es/locale/index.d.ts +5 -0
  29. package/es/locale/zh-CN.d.ts +3 -0
  30. package/es/locale/zh-TW.d.ts +3 -0
  31. package/es/message/interface.d.ts +1 -0
  32. package/es/message/interface.js +1 -0
  33. package/es/modal/index.d.ts +31 -0
  34. package/es/{Modal → modal}/index.js +4 -2
  35. package/es/modal/interface.d.ts +1 -0
  36. package/es/modal/interface.js +1 -0
  37. package/es/notification/interface.d.ts +1 -0
  38. package/es/notification/interface.js +1 -0
  39. package/es/qrcode/interface.d.ts +1 -0
  40. package/es/qrcode/interface.js +1 -0
  41. package/es/radio/interface.d.ts +1 -0
  42. package/es/radio/interface.js +1 -0
  43. package/es/static-function/index.d.ts +10 -0
  44. package/es/statistic/interface.d.ts +1 -0
  45. package/es/statistic/interface.js +1 -0
  46. package/es/table/index.d.ts +35 -0
  47. package/es/{Table → table}/index.js +11 -1
  48. package/es/table/interface.d.ts +1 -0
  49. package/es/table/interface.js +1 -0
  50. package/es/tabs/hooks/useLegacyItems.d.ts +3 -0
  51. package/es/tabs/index.d.ts +18 -0
  52. package/es/{Tabs → tabs}/index.js +4 -2
  53. package/es/theme/index.d.ts +184 -0
  54. package/es/theme/index.js +1 -0
  55. package/es/theme/interface.d.ts +1 -0
  56. package/es/theme/interface.js +1 -0
  57. package/es/tooltip/MouseTooltip.d.ts +9 -0
  58. package/es/{Tooltip → tooltip}/MouseTooltip.js +1 -1
  59. package/es/tooltip/index.d.ts +19 -0
  60. package/es/{Tooltip → tooltip}/index.js +2 -1
  61. package/es/tour/interface.d.ts +1 -0
  62. package/es/tour/interface.js +1 -0
  63. package/es/transfer/interface.d.ts +1 -0
  64. package/es/transfer/interface.js +1 -0
  65. package/es/upload/interface.d.ts +1 -0
  66. package/es/upload/interface.js +1 -0
  67. package/lib/_util/genComponentStyleHook.d.ts +9 -0
  68. package/lib/alert/index.d.ts +12 -0
  69. package/lib/{Alert → alert}/index.js +14 -7
  70. package/lib/{Alert → alert}/style/index.js +1 -1
  71. package/lib/button/index.d.ts +10 -0
  72. package/lib/{Button → button}/index.js +14 -7
  73. package/lib/{Button → button}/style/index.js +1 -1
  74. package/lib/card/index.d.ts +17 -0
  75. package/lib/{Card → card}/index.js +15 -8
  76. package/lib/card/style/index.d.ts +11 -0
  77. package/lib/{Card → card}/style/index.js +2 -2
  78. package/lib/color-picker/interface.d.ts +1 -0
  79. package/lib/color-picker/interface.js +23 -0
  80. package/lib/config-provider/index.d.ts +13 -0
  81. package/lib/{ConfigProvider → config-provider}/index.js +11 -11
  82. package/lib/{Descriptions → descriptions}/Item.js +1 -1
  83. package/lib/descriptions/index.d.ts +11 -0
  84. package/lib/{Descriptions → descriptions}/index.js +14 -7
  85. package/lib/{Descriptions → descriptions}/style/index.js +1 -1
  86. package/lib/float-button/interface.d.ts +1 -0
  87. package/lib/float-button/interface.js +23 -0
  88. package/lib/form/FormItem.d.ts +16 -0
  89. package/lib/{Form → form}/FormItem.js +3 -3
  90. package/lib/form/index.d.ts +3 -0
  91. package/lib/{Form → form}/index.js +12 -6
  92. package/lib/form/interface.d.ts +1 -0
  93. package/lib/form/interface.js +23 -0
  94. package/lib/index.d.ts +21 -0
  95. package/lib/index.js +24 -24
  96. package/lib/locale/en-US.d.ts +3 -0
  97. package/lib/locale/index.d.ts +5 -0
  98. package/lib/locale/zh-CN.d.ts +3 -0
  99. package/lib/locale/zh-TW.d.ts +3 -0
  100. package/lib/message/interface.d.ts +1 -0
  101. package/lib/message/interface.js +23 -0
  102. package/lib/modal/index.d.ts +31 -0
  103. package/lib/{Modal → modal}/index.js +20 -13
  104. package/lib/modal/interface.d.ts +1 -0
  105. package/lib/modal/interface.js +23 -0
  106. package/lib/{Modal → modal}/style/index.js +1 -1
  107. package/lib/notification/interface.d.ts +1 -0
  108. package/lib/notification/interface.js +23 -0
  109. package/lib/qrcode/interface.d.ts +1 -0
  110. package/lib/qrcode/interface.js +23 -0
  111. package/lib/radio/interface.d.ts +1 -0
  112. package/lib/radio/interface.js +23 -0
  113. package/lib/static-function/index.d.ts +10 -0
  114. package/lib/{StaticFunction → static-function}/index.js +6 -6
  115. package/lib/statistic/interface.d.ts +1 -0
  116. package/lib/statistic/interface.js +23 -0
  117. package/lib/table/index.d.ts +35 -0
  118. package/lib/{Table → table}/index.js +22 -7
  119. package/lib/table/interface.d.ts +1 -0
  120. package/lib/table/interface.js +23 -0
  121. package/lib/{Table → table}/style/index.js +1 -1
  122. package/lib/{Tabs → tabs}/TabPane.js +1 -1
  123. package/lib/{Tabs → tabs}/hooks/useInkBar.js +1 -1
  124. package/lib/tabs/hooks/useLegacyItems.d.ts +3 -0
  125. package/lib/{Tabs → tabs}/hooks/useLegacyItems.js +1 -1
  126. package/lib/tabs/index.d.ts +18 -0
  127. package/lib/{Tabs → tabs}/index.js +14 -7
  128. package/lib/{Tabs → tabs}/style/index.js +1 -1
  129. package/lib/theme/index.d.ts +184 -0
  130. package/lib/theme/index.js +6 -0
  131. package/lib/theme/interface.d.ts +1 -0
  132. package/lib/theme/interface.js +23 -0
  133. package/lib/tooltip/MouseTooltip.d.ts +9 -0
  134. package/lib/{Tooltip → tooltip}/MouseTooltip.js +6 -6
  135. package/lib/tooltip/index.d.ts +19 -0
  136. package/lib/{Tooltip → tooltip}/index.js +20 -17
  137. package/lib/tour/interface.d.ts +1 -0
  138. package/lib/tour/interface.js +23 -0
  139. package/lib/transfer/interface.d.ts +1 -0
  140. package/lib/transfer/interface.js +23 -0
  141. package/lib/upload/interface.d.ts +1 -0
  142. package/lib/upload/interface.js +23 -0
  143. package/package.json +10 -5
  144. /package/es/{Alert → alert}/style/index.js +0 -0
  145. /package/es/{Button → button}/style/index.js +0 -0
  146. /package/es/{Descriptions → descriptions}/Item.js +0 -0
  147. /package/es/{Descriptions → descriptions}/style/index.js +0 -0
  148. /package/es/{Modal → modal}/style/index.js +0 -0
  149. /package/es/{StaticFunction → static-function}/index.js +0 -0
  150. /package/es/{Table → table}/style/index.js +0 -0
  151. /package/es/{Tabs → tabs}/TabPane.js +0 -0
  152. /package/es/{Tabs → tabs}/hooks/useInkBar.js +0 -0
  153. /package/es/{Tabs → tabs}/hooks/useLegacyItems.js +0 -0
  154. /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.0",
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.0",
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": "6e5d7eae3b79becdaaf20de73b726b0dae4a27b6"
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