@cloudtower/eagle 0.27.66 → 0.27.69

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 (45) hide show
  1. package/dist/cjs/core/DeprecatedProgress/index.js +29 -0
  2. package/dist/cjs/core/Progress/components.js +111 -0
  3. package/dist/cjs/core/Progress/index.js +125 -13
  4. package/dist/cjs/core/Progress/progress.const.js +12 -0
  5. package/dist/cjs/core/Progress/progress.style.js +11 -0
  6. package/dist/cjs/core/Progress/progress.widgets.js +135 -0
  7. package/dist/cjs/core/antd.js +2 -2
  8. package/dist/cjs/index.js +26 -19
  9. package/dist/cjs/stats1.html +1 -1
  10. package/dist/cjs/styles/token/animation.js +7 -0
  11. package/dist/cjs/styles/token/color.js +3 -0
  12. package/dist/cjs/utils/isStringArr.js +7 -0
  13. package/dist/components.css +2228 -2141
  14. package/dist/esm/core/DeprecatedProgress/index.js +23 -0
  15. package/dist/esm/core/Progress/components.js +102 -0
  16. package/dist/esm/core/Progress/index.js +125 -13
  17. package/dist/esm/core/Progress/progress.const.js +10 -0
  18. package/dist/esm/core/Progress/progress.style.js +6 -0
  19. package/dist/esm/core/Progress/progress.widgets.js +128 -0
  20. package/dist/esm/core/antd.js +2 -2
  21. package/dist/esm/index.js +3 -0
  22. package/dist/esm/stats1.html +1 -1
  23. package/dist/esm/styles/token/animation.js +5 -0
  24. package/dist/esm/styles/token/color.js +3 -0
  25. package/dist/esm/utils/isStringArr.js +5 -0
  26. package/dist/src/core/DeprecatedProgress/index.d.ts +4 -0
  27. package/dist/src/core/Progress/components.d.ts +10 -0
  28. package/dist/src/core/Progress/index.d.ts +3 -3
  29. package/dist/src/core/Progress/progress.const.d.ts +6 -0
  30. package/dist/src/core/Progress/progress.style.d.ts +4 -0
  31. package/dist/src/core/Progress/progress.type.d.ts +84 -0
  32. package/dist/src/core/Progress/progress.widgets.d.ts +4 -0
  33. package/dist/src/index.d.ts +3 -0
  34. package/dist/src/spec/base.d.ts +9 -9
  35. package/dist/src/styles/token/animation.d.ts +3 -0
  36. package/dist/src/styles/token/color.d.ts +3 -0
  37. package/dist/src/styles/token/index.d.ts +1 -0
  38. package/dist/src/utils/index.d.ts +1 -0
  39. package/dist/src/utils/isStringArr.d.ts +1 -0
  40. package/dist/stories/docs/core/Progress/Progress.stories.d.ts +24 -0
  41. package/dist/stories/docs/core/Progress/Progress.widgets.stories.d.ts +24 -0
  42. package/dist/stories/docs/core/Progress/RichProgress.stories.d.ts +37 -0
  43. package/dist/stories/docs/core/Progress/SimpleProgress.stories.d.ts +15 -0
  44. package/dist/style.css +1983 -1901
  45. package/package.json +5 -5
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var antd = require('antd');
4
+ var React = require('react');
5
+
6
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefault(React);
9
+
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
12
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
13
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
14
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
15
+ var __spreadValues = (a, b) => {
16
+ for (var prop in b || (b = {}))
17
+ if (__hasOwnProp.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ if (__getOwnPropSymbols)
20
+ for (var prop of __getOwnPropSymbols(b)) {
21
+ if (__propIsEnum.call(b, prop))
22
+ __defNormalProp(a, prop, b[prop]);
23
+ }
24
+ return a;
25
+ };
26
+ const Progress = (props) => /* @__PURE__ */ React__default.default.createElement(antd.Progress, __spreadValues({}, props));
27
+ var DeprecatedProgress = Progress;
28
+
29
+ module.exports = DeprecatedProgress;
@@ -0,0 +1,111 @@
1
+ 'use strict';
2
+
3
+ var iconsReact = require('@cloudtower/icons-react');
4
+ var core = require('@linaria/core');
5
+ var react = require('@linaria/react');
6
+ var index$2 = require('../Icon/index.js');
7
+ var progress_const = require('./progress.const.js');
8
+ var progress_style = require('./progress.style.js');
9
+ var index$1 = require('../Typo/index.js');
10
+ var index = require('../../coreX/OverflowTooltip/index.js');
11
+ var cs = require('classnames');
12
+ var React = require('react');
13
+
14
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
15
+
16
+ var cs__default = /*#__PURE__*/_interopDefault(cs);
17
+ var React__default = /*#__PURE__*/_interopDefault(React);
18
+
19
+ var __defProp = Object.defineProperty;
20
+ var __defProps = Object.defineProperties;
21
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
22
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
23
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
24
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
25
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
26
+ enumerable: true,
27
+ configurable: true,
28
+ writable: true,
29
+ value
30
+ }) : obj[key] = value;
31
+ var __spreadValues = (a, b) => {
32
+ for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
33
+ if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
34
+ if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
35
+ }
36
+ return a;
37
+ };
38
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
39
+ var __objRest = (source, exclude) => {
40
+ var target = {};
41
+ for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
42
+ if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
43
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
44
+ }
45
+ return target;
46
+ };
47
+ const _exp = () => ({
48
+ color
49
+ }) => color || "";
50
+ const IconFieldText = /*#__PURE__*/react.styled('div')({
51
+ name: "IconFieldText",
52
+ class: "E_i14c7jc8",
53
+ propsAsIs: false,
54
+ vars: {
55
+ "i14c7jc8-0": [_exp()]
56
+ }
57
+ });
58
+ const StatusIconMap = {
59
+ success: /* @__PURE__ */React__default.default.createElement(iconsReact.CheckmarkDoneSuccessCorrect16GreenIcon, null),
60
+ failed: /* @__PURE__ */React__default.default.createElement(iconsReact.XmarkFailed16RedIcon, null),
61
+ paused: /* @__PURE__ */React__default.default.createElement(iconsReact.NoticeTriangleFill16YellowIcon, null),
62
+ active: /* @__PURE__ */React__default.default.createElement(index$2, {
63
+ src: iconsReact.LoadingBlue16Icon,
64
+ isRotate: true
65
+ })
66
+ };
67
+ const IconFieldWrapper = /*#__PURE__*/react.styled('div')({
68
+ name: "IconFieldWrapper",
69
+ class: "E_i1ibuolf",
70
+ propsAsIs: false
71
+ });
72
+ const IconField = _a => {
73
+ var _b = _a,
74
+ {
75
+ src,
76
+ children,
77
+ status,
78
+ className
79
+ } = _b,
80
+ restProps = __objRest(_b, ["src", "children", "status", "className"]);
81
+ const iconNode = status ? StatusIconMap[status] : src ? /* @__PURE__ */React__default.default.createElement(index$2, {
82
+ src
83
+ }) : null;
84
+ const color = status && status !== "active" ? progress_const.StatusColorMap[status] : void 0;
85
+ return /* @__PURE__ */React__default.default.createElement(IconFieldWrapper, __spreadProps(__spreadValues({}, restProps), {
86
+ className: core.cx("progress-status-field", className)
87
+ }), iconNode, /* @__PURE__ */React__default.default.createElement(IconFieldText, {
88
+ color
89
+ }, children));
90
+ };
91
+ const Info = ({
92
+ children,
93
+ type,
94
+ multiLines
95
+ }) => {
96
+ const isTitle = type === "title";
97
+ return /* @__PURE__ */React__default.default.createElement(index, {
98
+ className: cs__default.default({
99
+ "progress-title": isTitle,
100
+ [index$1.Typo.Label.l2_bold]: isTitle,
101
+ "progress-desc": !isTitle,
102
+ [progress_style.DescriptionStyle]: !isTitle
103
+ }),
104
+ multiLines,
105
+ content: children
106
+ });
107
+ };
108
+
109
+ exports.IconField = IconField;
110
+ exports.Info = Info;
111
+ exports.StatusIconMap = StatusIconMap;
@@ -1,6 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var antd = require('antd');
3
+ var core = require('@linaria/core');
4
+ var react = require('@linaria/react');
5
+ var progress_const = require('./progress.const.js');
6
+ var progress_style = require('./progress.style.js');
7
+ var progress_widgets = require('./progress.widgets.js');
8
+ var isStringArr = require('../../utils/isStringArr.js');
9
+ var antd5 = require('antd5');
4
10
  var React = require('react');
5
11
 
6
12
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -8,22 +14,128 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
14
  var React__default = /*#__PURE__*/_interopDefault(React);
9
15
 
10
16
  var __defProp = Object.defineProperty;
17
+ var __defProps = Object.defineProperties;
18
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
11
19
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
12
20
  var __hasOwnProp = Object.prototype.hasOwnProperty;
13
21
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
14
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
22
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
23
+ enumerable: true,
24
+ configurable: true,
25
+ writable: true,
26
+ value
27
+ }) : obj[key] = value;
15
28
  var __spreadValues = (a, b) => {
16
- for (var prop in b || (b = {}))
17
- if (__hasOwnProp.call(b, prop))
18
- __defNormalProp(a, prop, b[prop]);
19
- if (__getOwnPropSymbols)
20
- for (var prop of __getOwnPropSymbols(b)) {
21
- if (__propIsEnum.call(b, prop))
22
- __defNormalProp(a, prop, b[prop]);
23
- }
29
+ for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
30
+ if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
31
+ if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
32
+ }
24
33
  return a;
25
34
  };
26
- const Progress = (props) => /* @__PURE__ */ React__default.default.createElement(antd.Progress, __spreadValues({}, props));
27
- var Progress$1 = Progress;
35
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
36
+ var __objRest = (source, exclude) => {
37
+ var target = {};
38
+ for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
39
+ if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
40
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
41
+ }
42
+ return target;
43
+ };
44
+ const Row = /*#__PURE__*/react.styled('div')({
45
+ name: "Row",
46
+ class: "E_r77hffu",
47
+ propsAsIs: false
48
+ });
49
+ const _exp = () => ({
50
+ type
51
+ }) => type === "rich" ? "6px" : "4px";
52
+ const ProgressContainer = /*#__PURE__*/react.styled('div')({
53
+ name: "ProgressContainer",
54
+ class: "E_p1cmxsf7",
55
+ propsAsIs: false,
56
+ vars: {
57
+ "p1cmxsf7-0": [_exp()]
58
+ }
59
+ });
60
+ const getStatus = (status, percent, indeterminate) => {
61
+ if (indeterminate) return "active";
62
+ if (!status && percent >= 100) return "success";
63
+ return status || "active";
64
+ };
65
+ const createAreaNode = (content, className, type, gap = 6) => {
66
+ return typeof content === "string" ? /* @__PURE__ */React__default.default.createElement(progress_widgets.Area, {
67
+ className,
68
+ items: [{
69
+ type,
70
+ children: content
71
+ }],
72
+ gap
73
+ }) : content;
74
+ };
75
+ const Progress = _a => {
76
+ var _b = _a,
77
+ {
78
+ type = "simple",
79
+ status,
80
+ size = "small",
81
+ leftTop,
82
+ rightTop,
83
+ leftBottom,
84
+ rightBottom,
85
+ percent = 0,
86
+ className,
87
+ indeterminate
88
+ } = _b,
89
+ props = __objRest(_b, ["type", "status", "size", "leftTop", "rightTop", "leftBottom", "rightBottom", "percent", "className", "indeterminate"]);
90
+ const finalStatus = getStatus(status, percent, indeterminate);
91
+ const storkeWidth = size === "small" ? 4 : 8;
92
+ const isBaseProgress = type === "base";
93
+ const isRichProgress = type === "rich";
94
+ let titleNode;
95
+ let actionNode = rightBottom;
96
+ let statusTextNode;
97
+ if (type === "simple") {
98
+ let items;
99
+ if (!rightBottom) {
100
+ items = [`${percent}%`];
101
+ } else if (isStringArr.isStringArray(rightBottom)) {
102
+ items = [...rightBottom, `${percent}%`];
103
+ }
104
+ if (items) {
105
+ actionNode = /* @__PURE__ */React__default.default.createElement(progress_widgets.Area, {
106
+ items: items.map(desc => ({
107
+ type: "description",
108
+ children: desc
109
+ })),
110
+ split: "dot"
111
+ });
112
+ }
113
+ titleNode = createAreaNode(leftTop, core.cx(progress_style.FlexFullContentStyle, "progress-leftTop"), "description");
114
+ } else {
115
+ statusTextNode = createAreaNode(rightTop, "progress-status", "description", 2);
116
+ titleNode = createAreaNode(leftTop, "progress-leftTop", "title");
117
+ }
118
+ return /* @__PURE__ */React__default.default.createElement(ProgressContainer, {
119
+ type,
120
+ className: core.cx(className, progress_style.ProgressStyle)
121
+ }, titleNode ? /* @__PURE__ */React__default.default.createElement(Row, null, titleNode, statusTextNode) : null, /* @__PURE__ */React__default.default.createElement(antd5.Progress, __spreadProps(__spreadValues({
122
+ className: isBaseProgress ? progress_style.BaseProgressStyle : "",
123
+ strokeWidth: storkeWidth,
124
+ showInfo: false
125
+ }, props), {
126
+ status: finalStatus === "active" ? "active" : void 0,
127
+ percent: indeterminate ? 100 : percent,
128
+ strokeColor: progress_const.StatusColorMap[finalStatus]
129
+ })), leftBottom || actionNode ? /* @__PURE__ */React__default.default.createElement(Row, null, isStringArr.isStringArray(leftBottom) ? /* @__PURE__ */React__default.default.createElement(progress_widgets.Area, {
130
+ className: progress_style.FlexFullContentStyle,
131
+ items: leftBottom.map(desc => ({
132
+ type: "description",
133
+ children: desc,
134
+ multiLines: !rightBottom ? 2 : 1
135
+ })),
136
+ gap: isRichProgress ? 2 : 0,
137
+ split: "dot"
138
+ }) : leftBottom, actionNode) : null);
139
+ };
28
140
 
29
- module.exports = Progress$1;
141
+ exports.Progress = Progress;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var color = require('../../styles/token/color.js');
4
+
5
+ const StatusColorMap = {
6
+ success: color.Color.fill.positive.base,
7
+ failed: color.Color.fill.serious.base,
8
+ paused: color.Color.fill.notice.base,
9
+ active: color.Color.blue["blue-50"]
10
+ };
11
+
12
+ exports.StatusColorMap = StatusColorMap;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const DescriptionStyle = "E_d1u4ndxc";
4
+ const FlexFullContentStyle = "E_f6xb0iv";
5
+ const BaseProgressStyle = "E_b1dhu7ov";
6
+ const ProgressStyle = "E_p1as1j2z";
7
+
8
+ exports.BaseProgressStyle = BaseProgressStyle;
9
+ exports.DescriptionStyle = DescriptionStyle;
10
+ exports.FlexFullContentStyle = FlexFullContentStyle;
11
+ exports.ProgressStyle = ProgressStyle;
@@ -0,0 +1,135 @@
1
+ 'use strict';
2
+
3
+ var iconsReact = require('@cloudtower/icons-react');
4
+ var react = require('@linaria/react');
5
+ var index$1 = require('../Link/index.js');
6
+ var components = require('./components.js');
7
+ var index = require('../Tag/index.js');
8
+ var React = require('react');
9
+
10
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
+
12
+ var React__default = /*#__PURE__*/_interopDefault(React);
13
+
14
+ var __defProp = Object.defineProperty;
15
+ var __defProps = Object.defineProperties;
16
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
17
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
18
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
19
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
20
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
21
+ enumerable: true,
22
+ configurable: true,
23
+ writable: true,
24
+ value
25
+ }) : obj[key] = value;
26
+ var __spreadValues = (a, b) => {
27
+ for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
28
+ if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
29
+ if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
30
+ }
31
+ return a;
32
+ };
33
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
34
+ var __objRest = (source, exclude) => {
35
+ var target = {};
36
+ for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
37
+ if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
38
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
39
+ }
40
+ return target;
41
+ };
42
+ const splitMap = {
43
+ dot: /* @__PURE__ */React__default.default.createElement(iconsReact.DotIntervalSeparation16TertiaryIcon, null)
44
+ };
45
+ const titleAreaStyle = "E_t1gvlxt5";
46
+ const _exp = () => props => props.gap;
47
+ const AreaWrapper = /*#__PURE__*/react.styled('div')({
48
+ name: "AreaWrapper",
49
+ class: "E_a1ji6r68",
50
+ propsAsIs: false,
51
+ vars: {
52
+ "a1ji6r68-0": [_exp(), "px"]
53
+ }
54
+ });
55
+ const Area = ({
56
+ items,
57
+ gap = 6,
58
+ split,
59
+ className
60
+ }) => {
61
+ const splitNode = typeof split === "string" ? splitMap[split] || split : split;
62
+ return /* @__PURE__ */React__default.default.createElement(AreaWrapper, {
63
+ className,
64
+ gap
65
+ }, items.map((item, idx) => {
66
+ const _a = item,
67
+ {
68
+ type
69
+ } = _a,
70
+ props = __objRest(_a, ["type"]);
71
+ return /* @__PURE__ */React__default.default.createElement(React__default.default.Fragment, {
72
+ key: idx
73
+ }, getComponent(type, props), split && idx < items.length - 1 && splitNode);
74
+ }));
75
+ };
76
+ const TitleArea = ({
77
+ title,
78
+ tag,
79
+ subtitle
80
+ }) => {
81
+ const items = [];
82
+ if (tag) {
83
+ items.push(__spreadValues({
84
+ type: "tag"
85
+ }, tag));
86
+ }
87
+ items.push({
88
+ type: "title",
89
+ children: title
90
+ });
91
+ if (subtitle) {
92
+ items.push({
93
+ type: "description",
94
+ children: subtitle
95
+ });
96
+ }
97
+ return /* @__PURE__ */React__default.default.createElement(Area, {
98
+ gap: 6,
99
+ className: titleAreaStyle,
100
+ items
101
+ });
102
+ };
103
+ function getComponent(type, props) {
104
+ switch (type) {
105
+ case "description":
106
+ case "title":
107
+ return /* @__PURE__ */React__default.default.createElement(components.Info, __spreadProps(__spreadValues({}, props), {
108
+ type
109
+ }));
110
+ case "iconField":
111
+ return /* @__PURE__ */React__default.default.createElement(components.IconField, __spreadValues({}, props));
112
+ case "link":
113
+ const _a = props,
114
+ {
115
+ linkType
116
+ } = _a,
117
+ restLinkProps = __objRest(_a, ["linkType"]);
118
+ const defaultLinkType = restLinkProps.prefixIcon ? "secondary" : "default";
119
+ return /* @__PURE__ */React__default.default.createElement(index$1, __spreadProps(__spreadValues({}, restLinkProps), {
120
+ type: linkType || defaultLinkType
121
+ }));
122
+ case "tag":
123
+ const _b = props,
124
+ {
125
+ color
126
+ } = _b,
127
+ restTagProps = __objRest(_b, ["color"]);
128
+ return /* @__PURE__ */React__default.default.createElement(index.default, __spreadProps(__spreadValues({}, restTagProps), {
129
+ color: color || "blue"
130
+ }));
131
+ }
132
+ }
133
+
134
+ exports.Area = Area;
135
+ exports.TitleArea = TitleArea;
@@ -38,6 +38,7 @@ var index$d = require('./Byte/index.js');
38
38
  var index$C = require('./Calendar/index.js');
39
39
  var index$D = require('./Card/index.js');
40
40
  var index$a = require('./Checkbox/index.js');
41
+ var index$q = require('./DeprecatedProgress/index.js');
41
42
  var index$l = require('./Empty/index.js');
42
43
  var ExpandableContainer = require('./ExpandableList/ExpandableContainer.js');
43
44
  var ExpandableItem = require('./ExpandableList/ExpandableItem.js');
@@ -52,7 +53,6 @@ var index$r = require('./message/index.js');
52
53
  var index$5 = require('./Modal/index.js');
53
54
  var index$1 = require('./Pagination/index.js');
54
55
  var index$c = require('./Percent/index.js');
55
- var index$q = require('./Progress/index.js');
56
56
  var index$p = require('./Radio/index.js');
57
57
  var index$n = require('./SearchInput/index.js');
58
58
  var index$j = require('./Second/index.js');
@@ -116,7 +116,7 @@ function getAntdKit() {
116
116
  radioGroup: index$p.RadioGroup,
117
117
  radioButton: index$p.RadioButton,
118
118
  tree: antd.Tree,
119
- progress: index$q,
119
+ DeprecatedProgress: index$q,
120
120
  divider: antd.Divider,
121
121
  skeleton: antd.Skeleton,
122
122
  skeletonButton: antd.Skeleton.Button,
package/dist/cjs/index.js CHANGED
@@ -4,10 +4,12 @@ var index$d = require('./core/Cascader/index.js');
4
4
  var cascader_style = require('./core/Cascader/cascader.style.js');
5
5
  var cascader_widget = require('./core/Cascader/cascader.widget.js');
6
6
  var index$e = require('./core/DropdownMenu/index.js');
7
+ var index$f = require('./core/Progress/index.js');
8
+ var progress_widgets = require('./core/Progress/progress.widgets.js');
7
9
  var types = require('./core/TableForm/types.js');
8
10
  var type = require('./spec/type.js');
9
- var index$f = require('./store/index.js');
10
- var index$g = require('./UIKitProvider/index.js');
11
+ var index$g = require('./store/index.js');
12
+ var index$h = require('./UIKitProvider/index.js');
11
13
  var parrot = require('@cloudtower/parrot');
12
14
  var antd$1 = require('antd');
13
15
  var useElementsSize = require('./hooks/useElementsSize.js');
@@ -27,14 +29,15 @@ var metric = require('./core/Metric/metric.js');
27
29
  var index$b = require('./core/Truncate/index.js');
28
30
  var index$c = require('./core/Typo/index.js');
29
31
  var modal = require('./store/modal.js');
30
- var index$h = require('./coreX/BarChart/index.js');
31
- var index$i = require('./coreX/BatchOperation/index.js');
32
- var index$j = require('./coreX/CronPlan/index.js');
33
- var index$k = require('./coreX/DateRangePicker/index.js');
32
+ var index$i = require('./coreX/BarChart/index.js');
33
+ var index$j = require('./coreX/BatchOperation/index.js');
34
+ var index$k = require('./coreX/CronPlan/index.js');
35
+ var index$l = require('./coreX/DateRangePicker/index.js');
34
36
  var AbsoluteDate = require('./coreX/DateRangePicker/AbsoluteDate.js');
35
37
  var Calendar = require('./coreX/DateRangePicker/Calendar.js');
36
38
  var InputTime = require('./coreX/DateRangePicker/InputTime.js');
37
39
  var RelativeTime = require('./coreX/DateRangePicker/RelativeTime.js');
40
+ var animation = require('./styles/token/animation.js');
38
41
  var color = require('./styles/token/color.js');
39
42
  var zIndices = require('./styles/token/zIndices.js');
40
43
 
@@ -59,15 +62,18 @@ exports.PresetCascaderRender = cascader_widget.PresetCascaderRender;
59
62
  exports.defaultTagRender = cascader_widget.defaultTagRender;
60
63
  exports.DropdownMenu = index$e.default;
61
64
  exports.RenderMenuItem = index$e.RenderMenuItem;
65
+ exports.Progress = index$f.Progress;
66
+ exports.Area = progress_widgets.Area;
67
+ exports.TitleArea = progress_widgets.TitleArea;
62
68
  exports.ValidateTriggerType = types.ValidateTriggerType;
63
69
  exports.Architecture = type.Architecture;
64
- exports.UIKitStore = index$f.UIKitStore;
65
- exports.closeModal = index$f.closeModal;
66
- exports.popModal = index$f.popModal;
67
- exports.pushModal = index$f.pushModal;
68
- exports.UIKitProvider = index$g.default;
69
- exports.kitContext = index$g.kitContext;
70
- exports.useUIKit = index$g.useUIKit;
70
+ exports.UIKitStore = index$g.UIKitStore;
71
+ exports.closeModal = index$g.closeModal;
72
+ exports.popModal = index$g.popModal;
73
+ exports.pushModal = index$g.pushModal;
74
+ exports.UIKitProvider = index$h.default;
75
+ exports.kitContext = index$h.kitContext;
76
+ exports.useUIKit = index$h.useUIKit;
71
77
  Object.defineProperty(exports, 'Col', {
72
78
  enumerable: true,
73
79
  get: function () { return antd$1.Col; }
@@ -102,16 +108,17 @@ exports.tickFormatter = metric.tickFormatter;
102
108
  exports.Truncate = index$b;
103
109
  exports.Typo = index$c.Typo;
104
110
  exports.ModalActions = modal.ModalActions;
105
- exports.BarChart = index$h.default;
106
- exports.getWidth = index$h.getWidth;
107
- exports.BatchOperation = index$i.default;
108
- exports.renderBatchOperationMenuItem = index$i.renderBatchOperationMenuItem;
109
- exports.stringifyPlan = index$j.stringifyPlan;
110
- exports.DateRangePicker = index$k.default;
111
+ exports.BarChart = index$i.default;
112
+ exports.getWidth = index$i.getWidth;
113
+ exports.BatchOperation = index$j.default;
114
+ exports.renderBatchOperationMenuItem = index$j.renderBatchOperationMenuItem;
115
+ exports.stringifyPlan = index$k.stringifyPlan;
116
+ exports.DateRangePicker = index$l.default;
111
117
  exports.AbsoluteDate = AbsoluteDate;
112
118
  exports.Calendar = Calendar;
113
119
  exports.InputTime = InputTime;
114
120
  exports.RelativeTime = RelativeTime;
121
+ exports.Animation = animation.Animation;
115
122
  exports.Color = color.Color;
116
123
  exports.zIndices = zIndices.zIndices;
117
124
  Object.keys(parrot).forEach(function (k) {