@oceanbase/ui 0.2.22 → 0.2.24
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/ui.min.css +1 -1
- package/dist/ui.min.js +1 -1
- package/es/BasicLayout/index.js +5 -5
- package/es/BasicLayout/style/index.js +16 -6
- package/es/ContentWithQuestion/index.d.ts +13 -0
- package/es/ContentWithQuestion/index.js +56 -0
- package/es/ContentWithQuestion/index.less +19 -0
- package/es/Highlight/index.d.ts +1 -1
- package/es/PageContainer/index.js +9 -4
- package/es/PageContainer/style/index.js +6 -3
- package/es/Ranger/QuickPicker.d.ts +2 -2
- package/es/Ranger/index.d.ts +2 -0
- package/es/Ranger/index.js +2 -0
- package/es/TreeSearch/index.d.ts +2 -2
- package/es/_util/useNavigate.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/lib/BasicLayout/index.js +5 -4
- package/lib/BasicLayout/style/index.js +19 -8
- package/lib/ContentWithQuestion/index.d.ts +13 -0
- package/lib/ContentWithQuestion/index.js +76 -0
- package/lib/ContentWithQuestion/index.less +19 -0
- package/lib/Highlight/index.d.ts +1 -1
- package/lib/PageContainer/index.js +8 -2
- package/lib/PageContainer/style/index.js +6 -3
- package/lib/Ranger/QuickPicker.d.ts +2 -2
- package/lib/Ranger/index.d.ts +2 -0
- package/lib/Ranger/index.js +8 -0
- package/lib/TreeSearch/index.d.ts +2 -2
- package/lib/_util/useNavigate.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/package.json +11 -11
|
@@ -17,7 +17,7 @@ export interface TreeSearchRef {
|
|
|
17
17
|
checkAll: () => void;
|
|
18
18
|
invertSelect: () => void;
|
|
19
19
|
}
|
|
20
|
-
interface
|
|
20
|
+
interface TreeSearchProps {
|
|
21
21
|
treeData: Node[];
|
|
22
22
|
titleRender?: (nodeData: DataNode) => React.ReactNode;
|
|
23
23
|
checkable?: boolean;
|
|
@@ -34,5 +34,5 @@ interface IProps {
|
|
|
34
34
|
loadData?: (data: unknown) => Promise<void>;
|
|
35
35
|
searchStyle?: {};
|
|
36
36
|
}
|
|
37
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
37
|
+
declare const _default: React.ForwardRefExoticComponent<TreeSearchProps & React.RefAttributes<TreeSearchRef>>;
|
|
38
38
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: () => import("
|
|
1
|
+
declare const _default: () => import("../../../design/src/config-provider").NavigateFunction;
|
|
2
2
|
export default _default;
|
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { default as BasicLayout } from './BasicLayout';
|
|
|
8
8
|
export { default as BatchOperationBar } from './BatchOperationBar';
|
|
9
9
|
export { default as Boundary } from './Boundary';
|
|
10
10
|
export * from './constant';
|
|
11
|
+
export { default as ContentWithQuestion } from './ContentWithQuestion';
|
|
11
12
|
export { default as ContentWithIcon } from './ContentWithIcon';
|
|
12
13
|
export { default as Dialog } from './Dialog';
|
|
13
14
|
export { default as DocDialog } from './DocDialog';
|
package/lib/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __export(src_exports, {
|
|
|
37
37
|
BatchOperationBar: () => import_BatchOperationBar.default,
|
|
38
38
|
Boundary: () => import_Boundary.default,
|
|
39
39
|
ContentWithIcon: () => import_ContentWithIcon.default,
|
|
40
|
+
ContentWithQuestion: () => import_ContentWithQuestion.default,
|
|
40
41
|
Dialog: () => import_Dialog.default,
|
|
41
42
|
DocDialog: () => import_DocDialog.default,
|
|
42
43
|
FullscreenBox: () => import_FullscreenBox.default,
|
|
@@ -66,6 +67,7 @@ var import_BasicLayout = __toESM(require("./BasicLayout"));
|
|
|
66
67
|
var import_BatchOperationBar = __toESM(require("./BatchOperationBar"));
|
|
67
68
|
var import_Boundary = __toESM(require("./Boundary"));
|
|
68
69
|
__reExport(src_exports, require("./constant"), module.exports);
|
|
70
|
+
var import_ContentWithQuestion = __toESM(require("./ContentWithQuestion"));
|
|
69
71
|
var import_ContentWithIcon = __toESM(require("./ContentWithIcon"));
|
|
70
72
|
var import_Dialog = __toESM(require("./Dialog"));
|
|
71
73
|
var import_DocDialog = __toESM(require("./DocDialog"));
|
|
@@ -94,6 +96,7 @@ var import_TagSelect = __toESM(require("./TagSelect"));
|
|
|
94
96
|
BatchOperationBar,
|
|
95
97
|
Boundary,
|
|
96
98
|
ContentWithIcon,
|
|
99
|
+
ContentWithQuestion,
|
|
97
100
|
Dialog,
|
|
98
101
|
DocDialog,
|
|
99
102
|
FullscreenBox,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "The UI library based on OceanBase Design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oceanbase",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "father build"
|
|
34
|
+
"build": "NODE_OPTIONS=--max_old_space_size=4096 father build"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ant-design/cssinjs": "^1.17.
|
|
38
|
-
"@ant-design/pro-components": "^2.6.
|
|
39
|
-
"@ant-design/pro-layout": "^7.17.
|
|
40
|
-
"@oceanbase/design": "^0.2.
|
|
41
|
-
"@oceanbase/icons": "^0.2.
|
|
42
|
-
"@oceanbase/util": "^0.2.
|
|
37
|
+
"@ant-design/cssinjs": "^1.17.2",
|
|
38
|
+
"@ant-design/pro-components": "^2.6.30",
|
|
39
|
+
"@ant-design/pro-layout": "^7.17.8",
|
|
40
|
+
"@oceanbase/design": "^0.2.23",
|
|
41
|
+
"@oceanbase/icons": "^0.2.8",
|
|
42
|
+
"@oceanbase/util": "^0.2.10",
|
|
43
43
|
"ahooks": "^2.10.14",
|
|
44
44
|
"classnames": "^2.3.2",
|
|
45
45
|
"dayjs": "^1.11.10",
|
|
46
46
|
"diff": "^5.1.0",
|
|
47
|
-
"highlight.js": "^11.
|
|
47
|
+
"highlight.js": "^11.9.0",
|
|
48
48
|
"highlightjs-solidity": "^2.0.6",
|
|
49
49
|
"hoist-non-react-statics": "^3.3.2",
|
|
50
50
|
"lodash": "^4.17.21",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"moment": "^2.29.4",
|
|
53
53
|
"path-to-regexp": "^6.2.1",
|
|
54
54
|
"randexp": "^0.5.3",
|
|
55
|
-
"rc-util": "^5.
|
|
55
|
+
"rc-util": "^5.38.0",
|
|
56
56
|
"react-copy-to-clipboard": "^5.1.0",
|
|
57
57
|
"react-json-view": "^1.21.3",
|
|
58
58
|
"react-split-pane": "^0.1.92",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react": ">=16.9.0",
|
|
67
67
|
"react-dom": ">=16.9.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "1138341df7a35d3d4939ccea79225ddf220de2cc"
|
|
70
70
|
}
|