@oceanbase/design 0.2.11 → 0.2.12

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CSSObject } from '@ant-design/cssinjs';
2
3
  import type { ComponentTokenMap } from 'antd/es/theme/interface';
3
4
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type AlertToken = FullToken<'Alert'>;
3
4
  export declare const genAlertStyle: GenerateStyle<AlertToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type CardToken = FullToken<'Card'> & {
3
4
  tabsComponentCls: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type DescriptionsToken = FullToken<'Alert'> & {
3
4
  typographyPrefixCls: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type ModalToken = FullToken<'Modal'>;
3
4
  export declare const genModalStyle: GenerateStyle<ModalToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type TableToken = FullToken<'Table'>;
3
4
  export declare const genTableStyle: GenerateStyle<TableToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type TabsToken = FullToken<'Tabs'>;
3
4
  export declare const genTagStyle: GenerateStyle<TabsToken>;
@@ -96,4 +96,7 @@ var MouseTooltip = function MouseTooltip(_ref) {
96
96
  ref: ref
97
97
  }, title)));
98
98
  };
99
+ if (process.env.NODE_ENV !== 'production') {
100
+ MouseTooltip.displayName = 'MouseTooltip';
101
+ }
99
102
  export default MouseTooltip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CSSObject } from '@ant-design/cssinjs';
2
3
  import type { ComponentTokenMap } from 'antd/es/theme/interface';
3
4
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type AlertToken = FullToken<'Alert'>;
3
4
  export declare const genAlertStyle: GenerateStyle<AlertToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type CardToken = FullToken<'Card'> & {
3
4
  tabsComponentCls: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type DescriptionsToken = FullToken<'Alert'> & {
3
4
  typographyPrefixCls: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type ModalToken = FullToken<'Modal'>;
3
4
  export declare const genModalStyle: GenerateStyle<ModalToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type TableToken = FullToken<'Table'>;
3
4
  export declare const genTableStyle: GenerateStyle<TableToken>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
2
3
  export declare type TabsToken = FullToken<'Tabs'>;
3
4
  export declare const genTagStyle: GenerateStyle<TabsToken>;
@@ -104,4 +104,7 @@ var MouseTooltip = ({
104
104
  /* @__PURE__ */ import_react.default.createElement("div", { ref }, title)
105
105
  ));
106
106
  };
107
+ if (process.env.NODE_ENV !== "production") {
108
+ MouseTooltip.displayName = "MouseTooltip";
109
+ }
107
110
  var MouseTooltip_default = MouseTooltip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/design",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "The Design System of OceanBase",
5
5
  "keywords": [
6
6
  "OceanBase",
@@ -39,7 +39,7 @@
39
39
  "@ant-design/cssinjs": "^1.11.1",
40
40
  "@ant-design/icons": "^4.8.0",
41
41
  "@ant-design/pro-components": "^2.6.4",
42
- "@oceanbase/util": "^0.2.3",
42
+ "@oceanbase/util": "^0.2.4",
43
43
  "ahooks": "^2.10.14",
44
44
  "antd": "^5.6.4",
45
45
  "classnames": "^2.3.2",
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/cli": "^7.22.6",
52
- "@babel/preset-env": "^7.22.6",
52
+ "@babel/preset-env": "^7.22.7",
53
53
  "antd-token-previewer": "^1.1.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^16.9.0",
57
57
  "react-dom": "^16.9.0"
58
58
  },
59
- "gitHead": "7832a50e185575f5f159f08ae0ef79136aab7a22"
59
+ "gitHead": "7d81ac30dec1b962fc77a037023fef0ab0a3db24"
60
60
  }