@cloudtower/eagle 0.0.0-config-rc-3 → 0.0.0-config-rc-7
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/cjs/core/Cascader/index.js +1 -1
- package/dist/cjs/core/Progress/index.js +1 -1
- package/dist/cjs/core/SegmentControl/index.js +1 -1
- package/dist/cjs/core/SidebarMenu/SidebarMenu.js +7 -1
- package/dist/cjs/stats1.html +1 -1
- package/dist/cjs/utils/constants.js +7 -0
- package/dist/components.css +30108 -2044
- package/dist/esm/core/Cascader/index.js +2 -2
- package/dist/esm/core/Progress/index.js +2 -2
- package/dist/esm/core/SegmentControl/index.js +2 -2
- package/dist/esm/core/SidebarMenu/SidebarMenu.js +8 -2
- package/dist/esm/stats1.html +1 -1
- package/dist/esm/utils/constants.js +7 -1
- package/dist/src/utils/constants.d.ts +6 -0
- package/dist/style.css +30879 -2816
- package/package.json +6 -5
|
@@ -4,7 +4,7 @@ export { CascaderDefaultHeader, CascaderDefaultHeaderContainer, CascaderDefaultH
|
|
|
4
4
|
import { PresetCascaderRender, NotDataContent, defaultTagRender } from './cascader.widget.js';
|
|
5
5
|
export { CascaderDoubleRowOption, CascaderOptionWithCount, PresetCascaderHeader } from './cascader.widget.js';
|
|
6
6
|
import Icon from '../Icon/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { Antd5ComponentPrefixCls } from '../../utils/constants.js';
|
|
8
8
|
import { Cascader as Cascader$1 } from 'antd5';
|
|
9
9
|
import cs from 'classnames';
|
|
10
10
|
import React__default from 'react';
|
|
@@ -53,7 +53,7 @@ const Cascader = (props) => {
|
|
|
53
53
|
Cascader$1,
|
|
54
54
|
__spreadValues({
|
|
55
55
|
size,
|
|
56
|
-
prefixCls:
|
|
56
|
+
prefixCls: Antd5ComponentPrefixCls["Cascader"],
|
|
57
57
|
expandIcon: /* @__PURE__ */ React__default.createElement(Icon, { src: HierarchyTriangleRight16PrimaryIcon }),
|
|
58
58
|
popupClassName: cs(
|
|
59
59
|
{
|
|
@@ -7,7 +7,7 @@ export { TitleArea } from './progress.widgets.js';
|
|
|
7
7
|
import { isStringArray } from '../../utils/isStringArr.js';
|
|
8
8
|
import { Progress as Progress$1 } from 'antd5';
|
|
9
9
|
import React__default from 'react';
|
|
10
|
-
import {
|
|
10
|
+
import { Antd5ComponentPrefixCls } from '../../utils/constants.js';
|
|
11
11
|
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
13
13
|
var __defProps = Object.defineProperties;
|
|
@@ -119,7 +119,7 @@ const Progress = _a => {
|
|
|
119
119
|
strokeWidth: storkeWidth,
|
|
120
120
|
showInfo: false
|
|
121
121
|
}, props), {
|
|
122
|
-
prefixCls:
|
|
122
|
+
prefixCls: Antd5ComponentPrefixCls["Progress"],
|
|
123
123
|
status: finalStatus === "active" ? "active" : void 0,
|
|
124
124
|
percent: indeterminate ? 100 : percent,
|
|
125
125
|
strokeColor: StatusColorMap[finalStatus]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Segmented } from 'antd5';
|
|
2
2
|
import cs from 'classnames';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { Antd5ComponentPrefixCls } from '../../utils/constants.js';
|
|
5
5
|
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
7
7
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -35,7 +35,7 @@ const SegmentControl = props => {
|
|
|
35
35
|
[MediumSegment]: size === "middle"
|
|
36
36
|
}, Segment, ColorSegment),
|
|
37
37
|
size,
|
|
38
|
-
prefixCls:
|
|
38
|
+
prefixCls: Antd5ComponentPrefixCls["Segmented"]
|
|
39
39
|
}, props));
|
|
40
40
|
};
|
|
41
41
|
var SegmentControl$1 = SegmentControl;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Menu } from 'antd5';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Antd5ComponentPrefixCls } from '../../utils/constants.js';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __defProps = Object.defineProperties;
|
|
@@ -22,7 +22,13 @@ var __spreadValues = (a, b) => {
|
|
|
22
22
|
};
|
|
23
23
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
24
|
const SidebarMenu = (props) => {
|
|
25
|
-
return /* @__PURE__ */ React__default.createElement(
|
|
25
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
26
|
+
Menu,
|
|
27
|
+
__spreadProps(__spreadValues({}, props), {
|
|
28
|
+
prefixCls: Antd5ComponentPrefixCls["Menu"],
|
|
29
|
+
mode: "inline"
|
|
30
|
+
})
|
|
31
|
+
);
|
|
26
32
|
};
|
|
27
33
|
|
|
28
34
|
export { SidebarMenu };
|