@oceanbase/ui 0.2.19 → 0.2.21

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 (100) hide show
  1. package/dist/ui.min.js +1 -1
  2. package/es/Action/Group.d.ts +1 -1
  3. package/es/Action/Group.js +50 -41
  4. package/es/Action/Item.d.ts +2 -2
  5. package/es/Action/Item.js +32 -26
  6. package/es/Action/index.d.ts +1 -2
  7. package/es/BackgroundTaskManager/RefreshMan.js +8 -3
  8. package/es/BackgroundTaskManager/index.js +8 -4
  9. package/es/BasicLayout/Header.js +193 -140
  10. package/es/BasicLayout/index.js +149 -108
  11. package/es/BatchOperationBar/index.js +46 -29
  12. package/es/Boundary/Components/Code.js +17 -10
  13. package/es/Boundary/Components/Exception.js +46 -31
  14. package/es/Boundary/Components/Function.js +17 -10
  15. package/es/ContentWithIcon/index.js +42 -26
  16. package/es/ContentWithIcon/index.less +0 -1
  17. package/es/Dialog/Anchor.d.ts +1 -1
  18. package/es/Dialog/Anchor.js +9 -6
  19. package/es/Dialog/EventProxy.d.ts +1 -1
  20. package/es/Dialog/EventProxy.js +3 -2
  21. package/es/Dialog/index.js +129 -108
  22. package/es/Dialog/index.less +3 -1
  23. package/es/DocDialog/index.d.ts +1 -1
  24. package/es/DocDialog/index.js +8 -3
  25. package/es/FullscreenBox/index.d.ts +1 -1
  26. package/es/FullscreenBox/index.js +22 -16
  27. package/es/GraphToolbar/index.js +79 -65
  28. package/es/Highlight/DiffView/DiffCells.d.ts +2 -2
  29. package/es/Highlight/DiffView/DiffCells.js +22 -15
  30. package/es/Highlight/DiffView/index.js +49 -40
  31. package/es/Highlight/HighlightCell.d.ts +1 -1
  32. package/es/Highlight/HighlightCell.js +19 -13
  33. package/es/Highlight/JsonView.d.ts +1 -2
  34. package/es/Highlight/JsonView.js +15 -13
  35. package/es/Highlight/index.d.ts +1 -1
  36. package/es/Highlight/index.js +66 -54
  37. package/es/IconFont/index.d.ts +1 -1
  38. package/es/IconFont/index.js +9 -3
  39. package/es/LocaleDropdown/index.js +38 -26
  40. package/es/Login/ActivateForm.js +63 -50
  41. package/es/Login/LoginForm.js +115 -99
  42. package/es/Login/RegisterForm.js +78 -67
  43. package/es/Login/index.js +122 -91
  44. package/es/Lottie/index.js +2 -1
  45. package/es/NavMenu/index.d.ts +2 -2
  46. package/es/NavMenu/index.js +34 -29
  47. package/es/PageContainer/ItemRender.d.ts +1 -2
  48. package/es/PageContainer/ItemRender.js +7 -3
  49. package/es/PageContainer/index.js +13 -10
  50. package/es/Password/Content.js +55 -47
  51. package/es/Password/index.js +62 -45
  52. package/es/Ranger/QuickPicker.d.ts +1 -2
  53. package/es/Ranger/QuickPicker.js +42 -31
  54. package/es/Ranger/Ranger.js +31 -27
  55. package/es/SideTip/Dragger.d.ts +1 -1
  56. package/es/SideTip/Dragger.js +5 -3
  57. package/es/SideTip/IconLoading.d.ts +1 -2
  58. package/es/SideTip/IconLoading.js +28 -20
  59. package/es/SideTip/index.js +43 -30
  60. package/es/SideTip/index.less +4 -1
  61. package/es/TagSelect/Group.d.ts +1 -1
  62. package/es/TagSelect/Group.js +16 -11
  63. package/es/TagSelect/Item.d.ts +1 -1
  64. package/es/TagSelect/Item.js +30 -23
  65. package/es/TagSelect/style/index.d.ts +1 -1
  66. package/es/TaskGraph/Graph.js +39 -31
  67. package/es/TaskGraph/index.js +68 -57
  68. package/es/TreeSearch/index.js +36 -32
  69. package/es/Welcome/index.js +113 -83
  70. package/es/Welcome/step.js +31 -23
  71. package/es/locale/LocaleWrapper.js +3 -3
  72. package/lib/Action/Group.d.ts +1 -1
  73. package/lib/Action/Item.d.ts +2 -2
  74. package/lib/Action/index.d.ts +1 -2
  75. package/lib/ContentWithIcon/index.less +0 -1
  76. package/lib/Dialog/Anchor.d.ts +1 -1
  77. package/lib/Dialog/EventProxy.d.ts +1 -1
  78. package/lib/Dialog/EventProxy.js +12 -2
  79. package/lib/Dialog/index.less +3 -1
  80. package/lib/DocDialog/index.d.ts +1 -1
  81. package/lib/FullscreenBox/index.d.ts +1 -1
  82. package/lib/FullscreenBox/index.js +76 -74
  83. package/lib/Highlight/DiffView/DiffCells.d.ts +2 -2
  84. package/lib/Highlight/DiffView/index.js +1 -1
  85. package/lib/Highlight/HighlightCell.d.ts +1 -1
  86. package/lib/Highlight/JsonView.d.ts +1 -2
  87. package/lib/Highlight/JsonView.js +3 -3
  88. package/lib/Highlight/index.d.ts +1 -1
  89. package/lib/IconFont/index.d.ts +1 -1
  90. package/lib/NavMenu/index.d.ts +2 -2
  91. package/lib/PageContainer/ItemRender.d.ts +1 -2
  92. package/lib/Ranger/QuickPicker.d.ts +1 -2
  93. package/lib/SideTip/Dragger.d.ts +1 -1
  94. package/lib/SideTip/IconLoading.d.ts +1 -2
  95. package/lib/SideTip/index.less +4 -1
  96. package/lib/TagSelect/Group.d.ts +1 -1
  97. package/lib/TagSelect/Group.js +4 -6
  98. package/lib/TagSelect/Item.d.ts +1 -1
  99. package/lib/TagSelect/style/index.d.ts +1 -1
  100. package/package.json +10 -9
@@ -41,85 +41,87 @@ var import_util = require("../_util");
41
41
  var import_zh_CN = __toESM(require("./locale/zh-CN"));
42
42
  var import_index = require("./index.less");
43
43
  var prefix = (0, import_util.getPrefix)("fullscreen-box");
44
- var FullscreenBox = import_react.default.forwardRef(({ style, header, className, defaultMode, children, onChange }, ref) => {
45
- const [innerFullscreen, setInnerFullscreen] = (0, import_react.useState)(false);
46
- const containerRef = (0, import_react.useRef)();
47
- const fullscreenMode = defaultMode || "viewport";
48
- (0, import_react.useEffect)(() => {
49
- import_screenfull.default.on("change", handleFullscreenChange);
50
- return () => {
51
- import_screenfull.default.off("change", handleFullscreenChange);
44
+ var FullscreenBox = import_react.default.forwardRef(
45
+ ({ style, header, className, defaultMode, children, onChange }, ref) => {
46
+ const [innerFullscreen, setInnerFullscreen] = (0, import_react.useState)(false);
47
+ const containerRef = (0, import_react.useRef)();
48
+ const fullscreenMode = defaultMode || "viewport";
49
+ (0, import_react.useEffect)(() => {
50
+ import_screenfull.default.on("change", handleFullscreenChange);
51
+ return () => {
52
+ import_screenfull.default.off("change", handleFullscreenChange);
53
+ };
54
+ }, []);
55
+ const handleFullscreenChange = () => {
56
+ const { isFullscreen } = import_screenfull.default;
57
+ setInnerFullscreen(() => {
58
+ return isFullscreen;
59
+ });
60
+ emitChange(isFullscreen);
52
61
  };
53
- }, []);
54
- const handleFullscreenChange = () => {
55
- const { isFullscreen } = import_screenfull.default;
56
- setInnerFullscreen(() => {
57
- return isFullscreen;
58
- });
59
- emitChange(isFullscreen);
60
- };
61
- const toggleFullscreen = () => {
62
- changeFullscreen(!innerFullscreen);
63
- };
64
- const changeFullscreen = (fullscreen) => {
65
- if (!containerRef.current) {
66
- return Promise.reject(new Error("Container element is not ready."));
67
- }
68
- let p;
69
- if (fullscreenMode === "browser") {
70
- const sf = import_screenfull.default;
71
- if (fullscreen) {
72
- p = sf.request(containerRef.current);
73
- } else {
74
- p = sf.exit();
62
+ const toggleFullscreen = () => {
63
+ changeFullscreen(!innerFullscreen);
64
+ };
65
+ const changeFullscreen = (fullscreen) => {
66
+ if (!containerRef.current) {
67
+ return Promise.reject(new Error("Container element is not ready."));
75
68
  }
76
- return p.then(() => sf.isFullscreen);
77
- }
78
- setInnerFullscreen(fullscreen);
79
- emitChange(fullscreen);
80
- return Promise.resolve(fullscreen);
81
- };
82
- const emitChange = (fullscreen) => {
83
- if (onChange) {
84
- onChange(fullscreen);
69
+ let p;
70
+ if (fullscreenMode === "browser") {
71
+ const sf = import_screenfull.default;
72
+ if (fullscreen) {
73
+ p = sf.request(containerRef.current);
74
+ } else {
75
+ p = sf.exit();
76
+ }
77
+ return p.then(() => sf.isFullscreen);
78
+ }
79
+ setInnerFullscreen(fullscreen);
80
+ emitChange(fullscreen);
81
+ return Promise.resolve(fullscreen);
82
+ };
83
+ const emitChange = (fullscreen) => {
84
+ if (onChange) {
85
+ onChange(fullscreen);
86
+ }
87
+ };
88
+ (0, import_react.useImperativeHandle)(ref, () => ({
89
+ changeFullscreen: (fullscreen) => {
90
+ changeFullscreen(fullscreen);
91
+ }
92
+ }));
93
+ const icon = innerFullscreen ? /* @__PURE__ */ import_react.default.createElement(import_icons.FullscreenExitOutlined, { className: `${prefix}-header-icon`, onClick: toggleFullscreen }) : /* @__PURE__ */ import_react.default.createElement(import_icons.FullscreenOutlined, { className: `${prefix}-header-icon`, onClick: toggleFullscreen });
94
+ if (innerFullscreen) {
95
+ document.body.classList.add(`${prefix}-body-overflow-hidden`);
96
+ } else {
97
+ document.body.classList.remove(`${prefix}-body-overflow-hidden`);
85
98
  }
86
- };
87
- (0, import_react.useImperativeHandle)(ref, () => ({
88
- changeFullscreen: (fullscreen) => {
89
- changeFullscreen(fullscreen);
99
+ const isComplexHeader = header && (header.title || header.extra);
100
+ const isStringHeader = typeof header === "string";
101
+ let headerContent;
102
+ if (header === false) {
103
+ headerContent = null;
104
+ } else if (import_react.default.isValidElement(header)) {
105
+ headerContent = header;
106
+ } else {
107
+ const title = isStringHeader ? header : isComplexHeader && header.title;
108
+ const extra = isComplexHeader && header.extra;
109
+ headerContent = /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header`, "data-testid": "header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header-left` }, icon, title && /* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}-header-title ` }, title)), isComplexHeader && extra && /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header-extra` }, extra));
90
110
  }
91
- }));
92
- const icon = innerFullscreen ? /* @__PURE__ */ import_react.default.createElement(import_icons.FullscreenExitOutlined, { className: `${prefix}-header-icon`, onClick: toggleFullscreen }) : /* @__PURE__ */ import_react.default.createElement(import_icons.FullscreenOutlined, { className: `${prefix}-header-icon`, onClick: toggleFullscreen });
93
- if (innerFullscreen) {
94
- document.body.classList.add(`${prefix}-body-overflow-hidden`);
95
- } else {
96
- document.body.classList.remove(`${prefix}-body-overflow-hidden`);
111
+ return /* @__PURE__ */ import_react.default.createElement(
112
+ "div",
113
+ {
114
+ ref: containerRef,
115
+ style,
116
+ className: (0, import_classnames.default)(prefix, className, {
117
+ [`${prefix}-fullscreen`]: innerFullscreen
118
+ })
119
+ },
120
+ headerContent,
121
+ children
122
+ );
97
123
  }
98
- const isComplexHeader = header && (header.title || header.extra);
99
- const isStringHeader = typeof header === "string";
100
- let headerContent;
101
- if (header === false) {
102
- headerContent = null;
103
- } else if (import_react.default.isValidElement(header)) {
104
- headerContent = header;
105
- } else {
106
- const title = isStringHeader ? header : isComplexHeader && header.title;
107
- const extra = isComplexHeader && header.extra;
108
- headerContent = /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header`, "data-testid": "header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header-left` }, icon, title && /* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}-header-title ` }, title)), isComplexHeader && extra && /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-header-extra` }, extra));
109
- }
110
- return /* @__PURE__ */ import_react.default.createElement(
111
- "div",
112
- {
113
- ref: containerRef,
114
- style,
115
- className: (0, import_classnames.default)(prefix, className, {
116
- [`${prefix}-fullscreen`]: innerFullscreen
117
- })
118
- },
119
- headerContent,
120
- children
121
- );
122
- });
124
+ );
123
125
  var FullscreenBox_default = (0, import_LocaleWrapper.default)({
124
126
  componentName: "FullscreenBox",
125
127
  defaultLocale: import_zh_CN.default
@@ -12,6 +12,6 @@ export interface DiffCellsProps {
12
12
  lock?: boolean;
13
13
  rowOffset?: number;
14
14
  onMouseDown?: React.MouseEventHandler;
15
- hashId: string;
15
+ hashId?: string;
16
16
  }
17
- export default function DiffCells({ diffPrefixCls, data, emptyText, width, lock, rowOffset, onMouseDown, hashId, }: DiffCellsProps): React.JSX.Element;
17
+ export default function DiffCells({ diffPrefixCls, data, emptyText, width, lock, rowOffset, onMouseDown, hashId, }: DiffCellsProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -38,7 +38,7 @@ var import_core = __toESM(require("highlight.js/lib/core"));
38
38
  var import_warning = __toESM(require("rc-util/lib/warning"));
39
39
  var import_react = __toESM(require("react"));
40
40
  var import__ = require("..");
41
- var import_util = require("../..//_util");
41
+ var import_util = require("../../_util");
42
42
  var import_useKeyDownCopyEvent = require("../useKeyDownCopyEvent");
43
43
  var import_DiffCells = __toESM(require("./DiffCells"));
44
44
  var import__2 = require("../index.less");
@@ -15,4 +15,4 @@ export interface HighlightCellProps {
15
15
  lineNumber?: boolean;
16
16
  hashId?: string;
17
17
  }
18
- export default function HighlightCell({ prefixCls, theme, data, emptyText, width, lock, lineNumber, onMouseDown, hashId, }: HighlightCellProps): React.JSX.Element;
18
+ export default function HighlightCell({ prefixCls, theme, data, emptyText, width, lock, lineNumber, onMouseDown, hashId, }: HighlightCellProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import type { HighlightProps } from '.';
3
2
  import './index.less';
4
3
  export interface JsonViewProps extends HighlightProps {
5
4
  json: object;
6
5
  }
7
- declare const _default: ({ json, theme, style, className, height, onCopyChange, copyable, }: JsonViewProps) => import("react").JSX.Element;
6
+ declare const _default: ({ json, theme, style, className, height, onCopyChange, copyable, }: JsonViewProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
8
7
  export default _default;
@@ -33,7 +33,7 @@ __export(JsonView_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(JsonView_exports);
35
35
  var import_classnames = __toESM(require("classnames"));
36
- var import_react = require("react");
36
+ var import_react = __toESM(require("react"));
37
37
  var import_react_json_view = __toESM(require("react-json-view"));
38
38
  var import_util = require("../_util");
39
39
  var import__ = require(".");
@@ -53,7 +53,7 @@ var JsonView_default = ({
53
53
  const isDarkTheme = theme === import__.THEME_DARK;
54
54
  const codeRef = (0, import_react.useRef)();
55
55
  (0, import_useKeyDownCopyEvent.useKeyDownCopyEvent)(codeRef);
56
- return /* @__PURE__ */ React.createElement(
56
+ return /* @__PURE__ */ import_react.default.createElement(
57
57
  "div",
58
58
  {
59
59
  style,
@@ -68,7 +68,7 @@ var JsonView_default = ({
68
68
  className
69
69
  )
70
70
  },
71
- /* @__PURE__ */ React.createElement(
71
+ /* @__PURE__ */ import_react.default.createElement(
72
72
  import_react_json_view.default,
73
73
  {
74
74
  enableClipboard: copyable && onCopyChange,
@@ -29,7 +29,7 @@ export declare const THEME_DARK = "dark";
29
29
  export declare const THEME_LIGHT = "light";
30
30
  declare const ThemeTypes: ["dark", "light"];
31
31
  export type ThemeType = (typeof ThemeTypes)[number];
32
- declare const supportedLanguages: ("ruby" | "javascript" | "typescript" | "css" | "groovy" | "java" | "python" | "bash" | "json" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "json" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
@@ -5,5 +5,5 @@ interface IconFontProps {
5
5
  className?: string;
6
6
  style?: React.CSSProperties;
7
7
  }
8
- declare const IconFont: (props: IconFontProps) => React.JSX.Element;
8
+ declare const IconFont: (props: IconFontProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
9
9
  export default IconFont;
@@ -3,7 +3,7 @@ import './index.less';
3
3
  export interface IMenu {
4
4
  key: string;
5
5
  title: string;
6
- link: string;
6
+ link: string | string[];
7
7
  disabled?: boolean;
8
8
  openNewTab?: boolean;
9
9
  href?: boolean;
@@ -15,5 +15,5 @@ interface MenuProps {
15
15
  className?: string;
16
16
  style?: React.CSSProperties;
17
17
  }
18
- declare const _default: (props: MenuProps) => React.JSX.Element;
18
+ declare const _default: (props: MenuProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
19
19
  export default _default;
@@ -1,8 +1,7 @@
1
- import React from 'react';
2
1
  declare const _default: ({ route, params, routes, paths }: {
3
2
  route: any;
4
3
  params: any;
5
4
  routes: any;
6
5
  paths: any;
7
- }) => React.JSX.Element;
6
+ }) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
8
7
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type { LocaleWrapperProps } from '../locale/LocaleWrapper';
3
2
  import type { RangeValue } from './Ranger';
4
3
  import type { RangeOption } from './typing';
@@ -14,5 +13,5 @@ interface IProps extends LocaleWrapperProps {
14
13
  isMoment?: boolean;
15
14
  size?: 'small' | 'large' | 'middle';
16
15
  }
17
- declare const _default: (props: IProps) => React.JSX.Element;
16
+ declare const _default: (props: IProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
18
17
  export default _default;
@@ -40,6 +40,6 @@ declare class Draggable extends React.Component<DraggableProps, DraggableState>
40
40
  handleMouseDown: (e: any) => void;
41
41
  handleMouseMove: (e: any) => void;
42
42
  handleMouseUp: (e: any) => void;
43
- render(): React.JSX.Element;
43
+ render(): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
44
44
  }
45
45
  export default Draggable;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const iconLoading: (props: any) => React.JSX.Element;
1
+ declare const iconLoading: (props: any) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
2
  export default iconLoading;
@@ -71,7 +71,10 @@
71
71
  border-radius: 50%;
72
72
  box-shadow: @boxShadowSecondary;
73
73
  cursor: pointer;
74
- transition: background-color 0.2s ease 0.1s, opacity 0.2s ease 0s, transform 0.2s ease 0.1s;
74
+ transition:
75
+ background-color 0.2s ease 0.1s,
76
+ opacity 0.2s ease 0s,
77
+ transform 0.2s ease 0.1s;
75
78
  user-select: none;
76
79
 
77
80
  &.@{prefix}-button-primary {
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- export type TagSelectValueType = string | number;
2
+ export type TagSelectValueType = string | number | readonly string[];
3
3
  export interface TagSelectOptionType {
4
4
  label: React.ReactNode;
5
5
  value: TagSelectValueType;
@@ -59,7 +59,9 @@ var Group = ({
59
59
  }) => {
60
60
  const prefix = (0, import_util.getPrefix)("tag-select");
61
61
  const { wrapSSR, hashId } = (0, import_style.default)(prefix);
62
- const [value, setValue] = (0, import_react.useState)(toArray(defaultValue || restProps.value));
62
+ const [value, setValue] = (0, import_react.useState)(
63
+ toArray(defaultValue || restProps.value)
64
+ );
63
65
  const [registeredValues, setRegisteredValues] = import_react.default.useState([]);
64
66
  const registerValue = (val) => {
65
67
  setRegisteredValues((prev) => [...prev, val]);
@@ -116,11 +118,7 @@ var Group = ({
116
118
  },
117
119
  option.label
118
120
  )) : children;
119
- const groupCls = (0, import_classnames.default)(
120
- `${prefix}-container`,
121
- hashId,
122
- className
123
- );
121
+ const groupCls = (0, import_classnames.default)(`${prefix}-container`, hashId, className);
124
122
  return wrapSSR(
125
123
  /* @__PURE__ */ import_react.default.createElement(import_TagSelectContext.default.Provider, { value: contextValue }, /* @__PURE__ */ import_react.default.createElement("div", { className: groupCls }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}-title` }, title), childrenNode))
126
124
  );
@@ -3,7 +3,7 @@ import type { TagSelectValueType } from './Group';
3
3
  export interface TagSelectItemProps {
4
4
  children?: React.ReactNode;
5
5
  cover?: React.ReactNode;
6
- value?: string | number;
6
+ value?: TagSelectValueType;
7
7
  defaultChecked?: boolean;
8
8
  checked?: boolean;
9
9
  title?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { FullToken, GenerateStyle } from 'antd/lib/theme/internal';
2
+ import type { FullToken, GenerateStyle } from 'antd/es/theme/internal';
3
3
  export type TagSelectToken = FullToken<any>;
4
4
  export declare const genTagSelectStyle: GenerateStyle<TagSelectToken>;
5
5
  declare const _default: (prefixCls: string) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.2.19",
3
+ "version": "0.2.21",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
6
  "oceanbase",
@@ -35,13 +35,14 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@ant-design/cssinjs": "^1.17.0",
38
- "@ant-design/pro-components": "^2.6.16",
39
- "@oceanbase/design": "^0.2.18",
40
- "@oceanbase/icons": "^0.2.6",
41
- "@oceanbase/util": "^0.2.8",
38
+ "@ant-design/pro-components": "^2.6.28",
39
+ "@ant-design/pro-layout": "^7.17.4",
40
+ "@oceanbase/design": "^0.2.20",
41
+ "@oceanbase/icons": "^0.2.7",
42
+ "@oceanbase/util": "^0.2.9",
42
43
  "ahooks": "^2.10.14",
43
44
  "classnames": "^2.3.2",
44
- "dayjs": "^1.11.9",
45
+ "dayjs": "^1.11.10",
45
46
  "diff": "^5.1.0",
46
47
  "highlight.js": "^11.8.0",
47
48
  "highlightjs-solidity": "^2.0.6",
@@ -62,8 +63,8 @@
62
63
  },
63
64
  "peerDependencies": {
64
65
  "@antv/g6": "3.4.10",
65
- "react": "^16.9.0",
66
- "react-dom": "^16.9.0"
66
+ "react": ">=16.9.0",
67
+ "react-dom": ">=16.9.0"
67
68
  },
68
- "gitHead": "489ec76ca21b3a0448dae92fc001f2b03a4bf053"
69
+ "gitHead": "f1b50fbb012ad65a936b94c23bd64bed3256c1b3"
69
70
  }