@oceanbase/ui 0.2.3 → 0.2.5
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/Action/index.d.ts +0 -1
- package/es/BackgroundTaskManager/index.d.ts +2 -2
- package/es/BackgroundTaskManager/index.js +1 -1
- package/es/DocDialog/index.js +1 -1
- package/es/PageContainer/style/index.js +2 -2
- package/es/Ranger/QuickPicker.d.ts +2 -1
- package/es/Ranger/QuickPicker.js +1 -1
- package/es/Ranger/Ranger.js +1 -1
- package/es/SideTip/IconLoading.d.ts +2 -1
- package/es/SideTip/IconLoading.js +1 -0
- package/es/index.less +1 -0
- package/lib/Action/index.d.ts +0 -1
- package/lib/Action/index.js +1 -1
- package/lib/BackgroundTaskManager/index.d.ts +2 -2
- package/lib/BackgroundTaskManager/index.js +12 -2
- package/lib/Boundary/index.js +1 -1
- package/lib/DocDialog/index.js +2 -2
- package/lib/PageContainer/style/index.js +2 -2
- package/lib/Ranger/QuickPicker.d.ts +2 -1
- package/lib/Ranger/QuickPicker.js +9 -9
- package/lib/Ranger/Ranger.js +3 -3
- package/lib/Ranger/index.js +1 -1
- package/lib/SideTip/IconLoading.d.ts +2 -1
- package/lib/SideTip/IconLoading.js +5 -4
- package/lib/index.less +1 -0
- package/package.json +3 -3
package/es/Action/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ActionButton, ActionLink } from './Item';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
Group: ({ size, children, dropDownPlacement, shouldVisible, shouldDisabled, enableLoading, moreText, }: import("./Group").GroupProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { GlobalConfigProps, NotificationInstance } from 'antd/es/notification/interface';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare enum NotificationApi {
|
|
4
4
|
success = "success",
|
|
5
5
|
error = "error",
|
|
@@ -45,5 +45,5 @@ interface IProps {
|
|
|
45
45
|
rollingFrequency?: number;
|
|
46
46
|
prefix: Namespace;
|
|
47
47
|
}
|
|
48
|
-
declare const _default:
|
|
48
|
+
declare const _default: React.ForwardRefExoticComponent<IProps & React.RefAttributes<BackgroundTaskManagerRef>>;
|
|
49
49
|
export default _default;
|
|
@@ -11,7 +11,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
11
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { notification } from '@oceanbase/design';
|
|
14
|
-
import { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
14
|
+
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
15
15
|
import { REFRESH_FREQUENCY } from "./constants";
|
|
16
16
|
import { RefreshMan } from "./RefreshMan";
|
|
17
17
|
|
package/es/DocDialog/index.js
CHANGED
|
@@ -11,7 +11,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
11
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { debounce } from 'lodash';
|
|
14
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
14
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
15
15
|
import { useLocation } from 'react-router-dom';
|
|
16
16
|
import Dialog from "../Dialog";
|
|
17
17
|
import LocaleWrapper from "../locale/LocaleWrapper";
|
|
@@ -43,8 +43,8 @@ export var genPageContainerStyle = function genPageContainerStyle(token) {
|
|
|
43
43
|
}), _$concat)), _defineProperty(_$concat2, "".concat(antCls, "-page-header-footer"), {
|
|
44
44
|
marginBlockStart: 0
|
|
45
45
|
}), _$concat2)), _defineProperty(_$concat3, "".concat(componentCls, "-warp-page-header"), {
|
|
46
|
-
paddingInline: paddingLG,
|
|
47
|
-
paddingBlock: padding
|
|
46
|
+
paddingInline: "".concat(paddingLG, "px !important"),
|
|
47
|
+
paddingBlock: "".concat(padding, "px !important")
|
|
48
48
|
}), _defineProperty(_$concat3, "".concat(componentCls, "-children-container"), {
|
|
49
49
|
paddingInline: paddingLG,
|
|
50
50
|
paddingBlockStart: 0,
|
package/es/Ranger/QuickPicker.js
CHANGED
|
@@ -14,7 +14,7 @@ import classnames from 'classnames';
|
|
|
14
14
|
import dayjs from 'dayjs';
|
|
15
15
|
import { noop } from 'lodash';
|
|
16
16
|
import moment from 'moment';
|
|
17
|
-
import { useEffect, useState } from 'react';
|
|
17
|
+
import React, { useEffect, useState } from 'react';
|
|
18
18
|
import { getPrefix } from "../_util";
|
|
19
19
|
import { CUSTOMIZE } from "./constant";
|
|
20
20
|
var prefix = getPrefix('ranger-quick-picker');
|
package/es/Ranger/Ranger.js
CHANGED
|
@@ -12,7 +12,7 @@ import { DatePicker, Space } from '@oceanbase/design';
|
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import { isNil, noop, omit } from 'lodash';
|
|
14
14
|
import moment from 'moment';
|
|
15
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
15
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
16
16
|
import LocaleWrapper from "../locale/LocaleWrapper";
|
|
17
17
|
import { getPrefix } from "../_util";
|
|
18
18
|
import { CUSTOMIZE, DATE_TIME_FORMAT, NEAR_1_HOURS, NEAR_1_MINUTES, NEAR_30_MINUTES } from "./constant";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import Icon from '@oceanbase/icons';
|
|
3
4
|
var LoadingSvg = function LoadingSvg() {
|
|
4
5
|
return /*#__PURE__*/React.createElement("svg", {
|
package/es/index.less
CHANGED
package/lib/Action/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ActionButton, ActionLink } from './Item';
|
|
3
2
|
declare const _default: {
|
|
4
3
|
Group: ({ size, children, dropDownPlacement, shouldVisible, shouldDisabled, enableLoading, moreText, }: import("./Group").GroupProps) => import("react").JSX.Element;
|
package/lib/Action/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// src/Action/index.
|
|
29
|
+
// src/Action/index.ts
|
|
30
30
|
var Action_exports = {};
|
|
31
31
|
__export(Action_exports, {
|
|
32
32
|
default: () => Action_default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { GlobalConfigProps, NotificationInstance } from 'antd/es/notification/interface';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare enum NotificationApi {
|
|
4
4
|
success = "success",
|
|
5
5
|
error = "error",
|
|
@@ -45,5 +45,5 @@ interface IProps {
|
|
|
45
45
|
rollingFrequency?: number;
|
|
46
46
|
prefix: Namespace;
|
|
47
47
|
}
|
|
48
|
-
declare const _default:
|
|
48
|
+
declare const _default: React.ForwardRefExoticComponent<IProps & React.RefAttributes<BackgroundTaskManagerRef>>;
|
|
49
49
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
|
|
19
29
|
// src/BackgroundTaskManager/index.tsx
|
|
@@ -25,7 +35,7 @@ __export(BackgroundTaskManager_exports, {
|
|
|
25
35
|
});
|
|
26
36
|
module.exports = __toCommonJS(BackgroundTaskManager_exports);
|
|
27
37
|
var import_design = require("@oceanbase/design");
|
|
28
|
-
var import_react = require("react");
|
|
38
|
+
var import_react = __toESM(require("react"));
|
|
29
39
|
var import_constants = require("./constants");
|
|
30
40
|
var import_RefreshMan = require("./RefreshMan");
|
|
31
41
|
var NotificationApi = /* @__PURE__ */ ((NotificationApi2) => {
|
|
@@ -152,7 +162,7 @@ var BackgroundTaskManager_default = (0, import_react.forwardRef)((props, ref) =>
|
|
|
152
162
|
window.removeEventListener("beforeunload", onUnload);
|
|
153
163
|
};
|
|
154
164
|
}, [queue, preset]);
|
|
155
|
-
return /* @__PURE__ */
|
|
165
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !!taskQueue.length && /* @__PURE__ */ import_react.default.createElement(import_RefreshMan.RefreshMan, { run, rollingFrequency }));
|
|
156
166
|
});
|
|
157
167
|
// Annotate the CommonJS export names for ESM import in node:
|
|
158
168
|
0 && (module.exports = {
|
package/lib/Boundary/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
|
-
// src/Boundary/index.
|
|
19
|
+
// src/Boundary/index.ts
|
|
20
20
|
var Boundary_exports = {};
|
|
21
21
|
__export(Boundary_exports, {
|
|
22
22
|
default: () => Boundary_default
|
package/lib/DocDialog/index.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(DocDialog_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(DocDialog_exports);
|
|
35
35
|
var import_lodash = require("lodash");
|
|
36
|
-
var import_react = require("react");
|
|
36
|
+
var import_react = __toESM(require("react"));
|
|
37
37
|
var import_react_router_dom = require("react-router-dom");
|
|
38
38
|
var import_Dialog = __toESM(require("../Dialog"));
|
|
39
39
|
var import_LocaleWrapper = __toESM(require("../locale/LocaleWrapper"));
|
|
@@ -127,7 +127,7 @@ var DocDialogComp = (props) => {
|
|
|
127
127
|
setRootWidth,
|
|
128
128
|
setVisible
|
|
129
129
|
]);
|
|
130
|
-
return /* @__PURE__ */
|
|
130
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_Dialog.default, { ...DialogProps }, /* @__PURE__ */ import_react.default.createElement("iframe", { src: currentLink })));
|
|
131
131
|
};
|
|
132
132
|
var DocDialog_default = (0, import_LocaleWrapper.default)({
|
|
133
133
|
componentName: "DocDialog",
|
|
@@ -79,8 +79,8 @@ var genPageContainerStyle = (token) => {
|
|
|
79
79
|
},
|
|
80
80
|
// 减小内容区左右两侧间距
|
|
81
81
|
[`${componentCls}-warp-page-header`]: {
|
|
82
|
-
paddingInline: paddingLG
|
|
83
|
-
paddingBlock: padding
|
|
82
|
+
paddingInline: `${paddingLG}px !important`,
|
|
83
|
+
paddingBlock: `${padding}px !important`
|
|
84
84
|
},
|
|
85
85
|
[`${componentCls}-children-container`]: {
|
|
86
86
|
paddingInline: paddingLG,
|
|
@@ -38,12 +38,12 @@ var import_classnames = __toESM(require("classnames"));
|
|
|
38
38
|
var import_dayjs = __toESM(require("dayjs"));
|
|
39
39
|
var import_lodash = require("lodash");
|
|
40
40
|
var import_moment = __toESM(require("moment"));
|
|
41
|
-
var import_react = require("react");
|
|
41
|
+
var import_react = __toESM(require("react"));
|
|
42
42
|
var import_util = require("../_util");
|
|
43
43
|
var import_constant = require("./constant");
|
|
44
44
|
var prefix = (0, import_util.getPrefix)("ranger-quick-picker");
|
|
45
45
|
var RangeDropdown = ({ selects, onChange, value, customable, locale = {} }) => {
|
|
46
|
-
const menu = /* @__PURE__ */
|
|
46
|
+
const menu = /* @__PURE__ */ import_react.default.createElement(
|
|
47
47
|
import_design.Menu,
|
|
48
48
|
{
|
|
49
49
|
onClick: (e) => {
|
|
@@ -51,17 +51,17 @@ var RangeDropdown = ({ selects, onChange, value, customable, locale = {} }) => {
|
|
|
51
51
|
},
|
|
52
52
|
style: { minWidth: 120 }
|
|
53
53
|
},
|
|
54
|
-
selects.map((item) => /* @__PURE__ */
|
|
55
|
-
customable && /* @__PURE__ */
|
|
54
|
+
selects.map((item) => /* @__PURE__ */ import_react.default.createElement(import_design.Menu.Item, { key: item.name }, locale[item.name] || item.name)),
|
|
55
|
+
customable && /* @__PURE__ */ import_react.default.createElement(import_design.Menu.Item, { key: import_constant.CUSTOMIZE }, locale.customize)
|
|
56
56
|
);
|
|
57
57
|
const match = selects.find((item) => item.name === value);
|
|
58
|
-
return /* @__PURE__ */
|
|
58
|
+
return /* @__PURE__ */ import_react.default.createElement(import_design.Dropdown, { overlay: menu }, /* @__PURE__ */ import_react.default.createElement(import_design.Space, { style: { cursor: "pointer" }, className: (0, import_classnames.default)(prefix, `${prefix}-dropdown`) }, /* @__PURE__ */ import_react.default.createElement(import_icons.ClockCircleOutlined, null), locale[match == null ? void 0 : match.name] || (match == null ? void 0 : match.name), /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null)));
|
|
59
59
|
};
|
|
60
60
|
var RangeSelect = ({ selects, onChange, value, customable, locale = {}, size }) => {
|
|
61
61
|
const handleChange = (nextValue) => {
|
|
62
62
|
onChange(nextValue);
|
|
63
63
|
};
|
|
64
|
-
return /* @__PURE__ */
|
|
64
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
65
65
|
import_design.Select,
|
|
66
66
|
{
|
|
67
67
|
className: (0, import_classnames.default)(prefix, `${prefix}-select`),
|
|
@@ -71,9 +71,9 @@ var RangeSelect = ({ selects, onChange, value, customable, locale = {}, size })
|
|
|
71
71
|
size
|
|
72
72
|
},
|
|
73
73
|
selects.map((item) => {
|
|
74
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ import_react.default.createElement(import_design.Select.Option, { key: item.name, value: item.name }, locale[item.name] || item.name);
|
|
75
75
|
}),
|
|
76
|
-
customable && /* @__PURE__ */
|
|
76
|
+
customable && /* @__PURE__ */ import_react.default.createElement(import_design.Select.Option, { key: import_constant.CUSTOMIZE, value: import_constant.CUSTOMIZE }, locale.customize)
|
|
77
77
|
);
|
|
78
78
|
};
|
|
79
79
|
var QuickPicker_default = (props) => {
|
|
@@ -102,5 +102,5 @@ var QuickPicker_default = (props) => {
|
|
|
102
102
|
}
|
|
103
103
|
onNameChange(value);
|
|
104
104
|
};
|
|
105
|
-
return type === "select" ? /* @__PURE__ */
|
|
105
|
+
return type === "select" ? /* @__PURE__ */ import_react.default.createElement(RangeSelect, { value: innerName, selects, onChange: handleChange, ...rest }) : /* @__PURE__ */ import_react.default.createElement(RangeDropdown, { value: innerName, selects, onChange: handleChange, ...rest });
|
|
106
106
|
};
|
package/lib/Ranger/Ranger.js
CHANGED
|
@@ -36,7 +36,7 @@ var import_design = require("@oceanbase/design");
|
|
|
36
36
|
var import_dayjs = __toESM(require("dayjs"));
|
|
37
37
|
var import_lodash = require("lodash");
|
|
38
38
|
var import_moment = __toESM(require("moment"));
|
|
39
|
-
var import_react = require("react");
|
|
39
|
+
var import_react = __toESM(require("react"));
|
|
40
40
|
var import_LocaleWrapper = __toESM(require("../locale/LocaleWrapper"));
|
|
41
41
|
var import_util = require("../_util");
|
|
42
42
|
var import_constant = require("./constant");
|
|
@@ -118,7 +118,7 @@ var Ranger = (props) => {
|
|
|
118
118
|
}
|
|
119
119
|
const showRange = mode === "default" || rangeName === import_constant.CUSTOMIZE;
|
|
120
120
|
const showQuickPicker = selects.length !== 0;
|
|
121
|
-
return /* @__PURE__ */
|
|
121
|
+
return /* @__PURE__ */ import_react.default.createElement(import_design.Space, { size: 0, className: prefix, style: rest.style }, showQuickPicker && /* @__PURE__ */ import_react.default.createElement(
|
|
122
122
|
import_QuickPicker.default,
|
|
123
123
|
{
|
|
124
124
|
customable: true,
|
|
@@ -132,7 +132,7 @@ var Ranger = (props) => {
|
|
|
132
132
|
size
|
|
133
133
|
}
|
|
134
134
|
), showRange && // @ts-ignore
|
|
135
|
-
/* @__PURE__ */
|
|
135
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
136
136
|
import_design.DatePicker.RangePicker,
|
|
137
137
|
{
|
|
138
138
|
disabledDate: pastOnly ? disabledFuture : disabledDate,
|
package/lib/Ranger/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// src/Ranger/index.
|
|
29
|
+
// src/Ranger/index.ts
|
|
30
30
|
var Ranger_exports = {};
|
|
31
31
|
__export(Ranger_exports, {
|
|
32
32
|
default: () => Ranger_default
|
|
@@ -32,8 +32,9 @@ __export(IconLoading_exports, {
|
|
|
32
32
|
default: () => IconLoading_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(IconLoading_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
35
36
|
var import_icons = __toESM(require("@oceanbase/icons"));
|
|
36
|
-
var LoadingSvg = () => /* @__PURE__ */
|
|
37
|
+
var LoadingSvg = () => /* @__PURE__ */ import_react.default.createElement(
|
|
37
38
|
"svg",
|
|
38
39
|
{
|
|
39
40
|
version: "1.1",
|
|
@@ -47,7 +48,7 @@ var LoadingSvg = () => /* @__PURE__ */ React.createElement(
|
|
|
47
48
|
viewBox: "3 3 34 34",
|
|
48
49
|
preserveAspectRatio: "xMinYMin meet"
|
|
49
50
|
},
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
51
52
|
"path",
|
|
52
53
|
{
|
|
53
54
|
strokeWidth: "1",
|
|
@@ -55,7 +56,7 @@ var LoadingSvg = () => /* @__PURE__ */ React.createElement(
|
|
|
55
56
|
d: "M5.203,20\n c0-8.159,6.638-14.797,14.797-14.797V5C11.729,5,5,11.729,5,20s6.729,15,15,15v-0.203C11.841,34.797,5.203,28.159,5.203,20z",
|
|
56
57
|
transform: "rotate(278.217 20 20)"
|
|
57
58
|
},
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
59
60
|
"animateTransform",
|
|
60
61
|
{
|
|
61
62
|
attributeName: "transform",
|
|
@@ -71,5 +72,5 @@ var LoadingSvg = () => /* @__PURE__ */ React.createElement(
|
|
|
71
72
|
)
|
|
72
73
|
)
|
|
73
74
|
);
|
|
74
|
-
var iconLoading = (props) => /* @__PURE__ */
|
|
75
|
+
var iconLoading = (props) => /* @__PURE__ */ import_react.default.createElement(import_icons.default, { component: LoadingSvg, ...props });
|
|
75
76
|
var IconLoading_default = iconLoading;
|
package/lib/index.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "The UI library based on OceanBase Design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"OceanBase",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ant-design/cssinjs": "^1.9.1",
|
|
39
39
|
"@ant-design/pro-components": "^2.4.12",
|
|
40
|
-
"@oceanbase/design": "^0.2.
|
|
40
|
+
"@oceanbase/design": "^0.2.5",
|
|
41
41
|
"@oceanbase/icons": "^0.2.1",
|
|
42
42
|
"@oceanbase/util": "^0.2.2",
|
|
43
43
|
"ahooks": "^2.10.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"react-dom": "^16.9.0",
|
|
68
68
|
"react-router-dom": ">=5.2.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "fa3eea6c268ba32858604c74c853147006c20e98"
|
|
71
71
|
}
|