@oceanbase/design 0.2.1 → 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 (164) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/{Alert → alert}/index.d.ts +1 -0
  3. package/es/{Alert → alert}/index.js +3 -1
  4. package/es/{Button → button}/index.d.ts +1 -0
  5. package/es/{Button → button}/index.js +3 -1
  6. package/{lib/Card → es/card}/index.d.ts +1 -0
  7. package/es/{Card → card}/index.js +5 -3
  8. package/es/{Card → card}/style/index.js +1 -1
  9. package/es/color-picker/interface.d.ts +1 -0
  10. package/es/color-picker/interface.js +1 -0
  11. package/{lib/ConfigProvider → es/config-provider}/index.d.ts +1 -1
  12. package/es/{ConfigProvider → config-provider}/index.js +2 -2
  13. package/{lib/Descriptions → es/descriptions}/index.d.ts +1 -0
  14. package/es/{Descriptions → descriptions}/index.js +3 -1
  15. package/es/float-button/interface.d.ts +1 -0
  16. package/es/float-button/interface.js +1 -0
  17. package/{lib/Form → es/form}/FormItem.d.ts +1 -1
  18. package/es/{Form → form}/FormItem.js +1 -1
  19. package/es/{Form → form}/index.d.ts +1 -0
  20. package/es/{Form → form}/index.js +1 -0
  21. package/es/form/interface.d.ts +1 -0
  22. package/es/form/interface.js +1 -0
  23. package/es/index.d.ts +11 -11
  24. package/es/index.js +11 -14
  25. package/es/locale/index.d.ts +1 -1
  26. package/es/message/interface.d.ts +1 -0
  27. package/es/message/interface.js +1 -0
  28. package/{lib/Modal → es/modal}/index.d.ts +1 -0
  29. package/es/{Modal → modal}/index.js +4 -2
  30. package/es/modal/interface.d.ts +1 -0
  31. package/es/modal/interface.js +1 -0
  32. package/es/notification/interface.d.ts +1 -0
  33. package/es/notification/interface.js +1 -0
  34. package/es/qrcode/interface.d.ts +1 -0
  35. package/es/qrcode/interface.js +1 -0
  36. package/es/radio/interface.d.ts +1 -0
  37. package/es/radio/interface.js +1 -0
  38. package/es/statistic/interface.d.ts +1 -0
  39. package/es/statistic/interface.js +1 -0
  40. package/es/{Table → table}/index.d.ts +11 -0
  41. package/es/{Table → table}/index.js +11 -1
  42. package/es/table/interface.d.ts +1 -0
  43. package/es/table/interface.js +1 -0
  44. package/{lib/Tabs → es/tabs}/index.d.ts +1 -0
  45. package/es/{Tabs → tabs}/index.js +4 -2
  46. package/es/theme/index.d.ts +1 -0
  47. package/es/theme/index.js +1 -0
  48. package/es/theme/interface.d.ts +1 -0
  49. package/es/theme/interface.js +1 -0
  50. package/es/{Tooltip → tooltip}/MouseTooltip.js +1 -1
  51. package/es/{Tooltip → tooltip}/index.d.ts +1 -0
  52. package/es/{Tooltip → tooltip}/index.js +2 -1
  53. package/es/tour/interface.d.ts +1 -0
  54. package/es/tour/interface.js +1 -0
  55. package/es/transfer/interface.d.ts +1 -0
  56. package/es/transfer/interface.js +1 -0
  57. package/es/upload/interface.d.ts +1 -0
  58. package/es/upload/interface.js +1 -0
  59. package/lib/{Alert → alert}/index.d.ts +1 -0
  60. package/lib/{Alert → alert}/index.js +14 -7
  61. package/lib/{Alert → alert}/style/index.js +1 -1
  62. package/lib/{Button → button}/index.d.ts +1 -0
  63. package/lib/{Button → button}/index.js +14 -7
  64. package/lib/{Button → button}/style/index.js +1 -1
  65. package/{es/Card → lib/card}/index.d.ts +1 -0
  66. package/lib/{Card → card}/index.js +15 -8
  67. package/lib/{Card → card}/style/index.js +2 -2
  68. package/lib/color-picker/interface.d.ts +1 -0
  69. package/lib/color-picker/interface.js +23 -0
  70. package/{es/ConfigProvider → lib/config-provider}/index.d.ts +1 -1
  71. package/lib/{ConfigProvider → config-provider}/index.js +11 -11
  72. package/lib/{Descriptions → descriptions}/Item.js +1 -1
  73. package/{es/Descriptions → lib/descriptions}/index.d.ts +1 -0
  74. package/lib/{Descriptions → descriptions}/index.js +14 -7
  75. package/lib/{Descriptions → descriptions}/style/index.js +1 -1
  76. package/lib/float-button/interface.d.ts +1 -0
  77. package/lib/float-button/interface.js +23 -0
  78. package/{es/Form → lib/form}/FormItem.d.ts +1 -1
  79. package/lib/{Form → form}/FormItem.js +3 -3
  80. package/lib/{Form → form}/index.d.ts +1 -0
  81. package/lib/{Form → form}/index.js +12 -6
  82. package/lib/form/interface.d.ts +1 -0
  83. package/lib/form/interface.js +23 -0
  84. package/lib/index.d.ts +11 -11
  85. package/lib/index.js +24 -24
  86. package/lib/locale/index.d.ts +1 -1
  87. package/lib/message/interface.d.ts +1 -0
  88. package/lib/message/interface.js +23 -0
  89. package/{es/Modal → lib/modal}/index.d.ts +1 -0
  90. package/lib/{Modal → modal}/index.js +20 -13
  91. package/lib/modal/interface.d.ts +1 -0
  92. package/lib/modal/interface.js +23 -0
  93. package/lib/{Modal → modal}/style/index.js +1 -1
  94. package/lib/notification/interface.d.ts +1 -0
  95. package/lib/notification/interface.js +23 -0
  96. package/lib/qrcode/interface.d.ts +1 -0
  97. package/lib/qrcode/interface.js +23 -0
  98. package/lib/radio/interface.d.ts +1 -0
  99. package/lib/radio/interface.js +23 -0
  100. package/lib/{StaticFunction → static-function}/index.js +6 -6
  101. package/lib/statistic/interface.d.ts +1 -0
  102. package/lib/statistic/interface.js +23 -0
  103. package/lib/{Table → table}/index.d.ts +11 -0
  104. package/lib/{Table → table}/index.js +22 -7
  105. package/lib/table/interface.d.ts +1 -0
  106. package/lib/table/interface.js +23 -0
  107. package/lib/{Table → table}/style/index.js +1 -1
  108. package/lib/{Tabs → tabs}/TabPane.js +1 -1
  109. package/lib/{Tabs → tabs}/hooks/useInkBar.js +1 -1
  110. package/lib/{Tabs → tabs}/hooks/useLegacyItems.js +1 -1
  111. package/{es/Tabs → lib/tabs}/index.d.ts +1 -0
  112. package/lib/{Tabs → tabs}/index.js +14 -7
  113. package/lib/{Tabs → tabs}/style/index.js +1 -1
  114. package/lib/theme/index.d.ts +1 -0
  115. package/lib/theme/index.js +6 -0
  116. package/lib/theme/interface.d.ts +1 -0
  117. package/lib/theme/interface.js +23 -0
  118. package/lib/{Tooltip → tooltip}/MouseTooltip.js +6 -6
  119. package/lib/{Tooltip → tooltip}/index.d.ts +1 -0
  120. package/lib/{Tooltip → tooltip}/index.js +20 -17
  121. package/lib/tour/interface.d.ts +1 -0
  122. package/lib/tour/interface.js +23 -0
  123. package/lib/transfer/interface.d.ts +1 -0
  124. package/lib/transfer/interface.js +23 -0
  125. package/lib/upload/interface.d.ts +1 -0
  126. package/lib/upload/interface.js +23 -0
  127. package/package.json +5 -4
  128. package/es/Alert/style/index.d.ts +0 -8
  129. package/es/Button/style/index.d.ts +0 -8
  130. package/es/Descriptions/Item.d.ts +0 -8
  131. package/es/Descriptions/style/index.d.ts +0 -11
  132. package/es/Modal/style/index.d.ts +0 -8
  133. package/es/Table/style/index.d.ts +0 -8
  134. package/es/Tabs/TabPane.d.ts +0 -7
  135. package/es/Tabs/hooks/useInkBar.d.ts +0 -12
  136. package/es/Tabs/style/index.d.ts +0 -8
  137. package/lib/Alert/style/index.d.ts +0 -8
  138. package/lib/Button/style/index.d.ts +0 -8
  139. package/lib/Descriptions/Item.d.ts +0 -8
  140. package/lib/Descriptions/style/index.d.ts +0 -11
  141. package/lib/Modal/style/index.d.ts +0 -8
  142. package/lib/Table/style/index.d.ts +0 -8
  143. package/lib/Tabs/TabPane.d.ts +0 -7
  144. package/lib/Tabs/hooks/useInkBar.d.ts +0 -12
  145. package/lib/Tabs/style/index.d.ts +0 -8
  146. /package/es/{Alert → alert}/style/index.js +0 -0
  147. /package/es/{Button → button}/style/index.js +0 -0
  148. /package/es/{Card → card}/style/index.d.ts +0 -0
  149. /package/es/{Descriptions → descriptions}/Item.js +0 -0
  150. /package/es/{Descriptions → descriptions}/style/index.js +0 -0
  151. /package/es/{Modal → modal}/style/index.js +0 -0
  152. /package/es/{StaticFunction → static-function}/index.d.ts +0 -0
  153. /package/es/{StaticFunction → static-function}/index.js +0 -0
  154. /package/es/{Table → table}/style/index.js +0 -0
  155. /package/es/{Tabs → tabs}/TabPane.js +0 -0
  156. /package/es/{Tabs → tabs}/hooks/useInkBar.js +0 -0
  157. /package/es/{Tabs → tabs}/hooks/useLegacyItems.d.ts +0 -0
  158. /package/es/{Tabs → tabs}/hooks/useLegacyItems.js +0 -0
  159. /package/es/{Tabs → tabs}/style/index.js +0 -0
  160. /package/es/{Tooltip → tooltip}/MouseTooltip.d.ts +0 -0
  161. /package/lib/{Card → card}/style/index.d.ts +0 -0
  162. /package/lib/{StaticFunction → static-function}/index.d.ts +0 -0
  163. /package/lib/{Tabs → tabs}/hooks/useLegacyItems.d.ts +0 -0
  164. /package/lib/{Tooltip → tooltip}/MouseTooltip.d.ts +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/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.1",
3
+ "version": "0.2.2",
4
4
  "description": "The Design System for OceanBase",
5
5
  "keywords": [
6
6
  "OceanBase",
@@ -28,7 +28,8 @@
28
28
  "lib",
29
29
  "dist",
30
30
  "package.json",
31
- "README.md"
31
+ "README.md",
32
+ "LICENSE"
32
33
  ],
33
34
  "scripts": {
34
35
  "build": "father build"
@@ -37,7 +38,7 @@
37
38
  "@ant-design/cssinjs": "^1.9.1",
38
39
  "@ant-design/icons": "^4.2.1",
39
40
  "@ant-design/pro-components": "^2.4.12",
40
- "@oceanbase/util": "^0.2.0",
41
+ "@oceanbase/util": "^0.2.1",
41
42
  "ahooks": "^2.10.0",
42
43
  "antd": "^5.6.0",
43
44
  "classnames": "^2.2.6",
@@ -54,5 +55,5 @@
54
55
  "react": "^16.9.0",
55
56
  "react-dom": "^16.9.0"
56
57
  },
57
- "gitHead": "d7c5c1d62f48b75337d34c2d7ba03f4bb1b2a068"
58
+ "gitHead": "2bc94e6eb09382e6749a9c1b71e85aa3d4ece7b1"
58
59
  }
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type AlertToken = FullToken<'Alert'>;
3
- export declare const genAlertStyle: GenerateStyle<AlertToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type ButtonToken = FullToken<'Button'>;
3
- export declare const genButtonStyle: GenerateStyle<ButtonToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { DescriptionsItemProps as AntDescriptionsItemProps } from 'antd/es/descriptions/Item';
3
- import type { TextProps } from 'antd/es/typography/Text';
4
- export interface DescriptionsItemProps extends AntDescriptionsItemProps {
5
- contentProps?: TextProps;
6
- }
7
- declare const _default: import("react").FC<AntDescriptionsItemProps>;
8
- export default _default;
@@ -1,11 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type DescriptionsToken = FullToken<'Alert'> & {
3
- typographyPrefixCls: string;
4
- typographyComponentCls: string;
5
- };
6
- export declare const genDescriptionsStyle: GenerateStyle<DescriptionsToken>;
7
- declare const _default: (prefixCls: string, typographyPrefixCls: string) => {
8
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
- hashId: string;
10
- };
11
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type ModalToken = FullToken<'Modal'>;
3
- export declare const genModalStyle: GenerateStyle<ModalToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type TableToken = FullToken<'Table'>;
3
- export declare const genTableStyle: GenerateStyle<TableToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import type { TabPaneProps as AntTabPaneProps } from 'antd/es/tabs/TabPane';
2
- import type React from 'react';
3
- export interface TabPaneProps extends AntTabPaneProps {
4
- tag?: React.ReactNode;
5
- }
6
- declare const _default: React.FC<TabPaneProps>;
7
- export default _default;
@@ -1,12 +0,0 @@
1
- import type { SizeType } from 'antd/es/config-provider/SizeContext';
2
- import type { TabsPosition, TabsType } from 'antd/es/tabs';
3
- import type { MutableRefObject } from 'react';
4
- declare const _default: ({ prefixCls, activeKey, size, type, tabPosition, containerRef, }: {
5
- prefixCls: string;
6
- activeKey: string;
7
- size: SizeType;
8
- type: TabsType;
9
- tabPosition: TabsPosition;
10
- containerRef: MutableRefObject<HTMLDivElement>;
11
- }) => void;
12
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type TabsToken = FullToken<'Tabs'>;
3
- export declare const genTagStyle: GenerateStyle<TabsToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type AlertToken = FullToken<'Alert'>;
3
- export declare const genAlertStyle: GenerateStyle<AlertToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type ButtonToken = FullToken<'Button'>;
3
- export declare const genButtonStyle: GenerateStyle<ButtonToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { DescriptionsItemProps as AntDescriptionsItemProps } from 'antd/es/descriptions/Item';
3
- import type { TextProps } from 'antd/es/typography/Text';
4
- export interface DescriptionsItemProps extends AntDescriptionsItemProps {
5
- contentProps?: TextProps;
6
- }
7
- declare const _default: import("react").FC<AntDescriptionsItemProps>;
8
- export default _default;
@@ -1,11 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type DescriptionsToken = FullToken<'Alert'> & {
3
- typographyPrefixCls: string;
4
- typographyComponentCls: string;
5
- };
6
- export declare const genDescriptionsStyle: GenerateStyle<DescriptionsToken>;
7
- declare const _default: (prefixCls: string, typographyPrefixCls: string) => {
8
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
9
- hashId: string;
10
- };
11
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type ModalToken = FullToken<'Modal'>;
3
- export declare const genModalStyle: GenerateStyle<ModalToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type TableToken = FullToken<'Table'>;
3
- export declare const genTableStyle: GenerateStyle<TableToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import type { TabPaneProps as AntTabPaneProps } from 'antd/es/tabs/TabPane';
2
- import type React from 'react';
3
- export interface TabPaneProps extends AntTabPaneProps {
4
- tag?: React.ReactNode;
5
- }
6
- declare const _default: React.FC<TabPaneProps>;
7
- export default _default;
@@ -1,12 +0,0 @@
1
- import type { SizeType } from 'antd/es/config-provider/SizeContext';
2
- import type { TabsPosition, TabsType } from 'antd/es/tabs';
3
- import type { MutableRefObject } from 'react';
4
- declare const _default: ({ prefixCls, activeKey, size, type, tabPosition, containerRef, }: {
5
- prefixCls: string;
6
- activeKey: string;
7
- size: SizeType;
8
- type: TabsType;
9
- tabPosition: TabsPosition;
10
- containerRef: MutableRefObject<HTMLDivElement>;
11
- }) => void;
12
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
- export declare type TabsToken = FullToken<'Tabs'>;
3
- export declare const genTagStyle: GenerateStyle<TabsToken>;
4
- declare const _default: (prefixCls: string) => {
5
- wrapSSR: (node: import("react").ReactNode) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
6
- hashId: string;
7
- };
8
- export default _default;
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
File without changes
File without changes
File without changes
File without changes
File without changes