@cloudtower/eagle 0.27.72 → 0.27.73
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/DonutChart/index.js +33 -14
- package/dist/cjs/core/Progress/index.js +2 -0
- package/dist/cjs/core/SegmentControl/index.js +3 -1
- package/dist/cjs/core/SidebarMenu/SidebarMenu.js +2 -1
- package/dist/cjs/coreX/BarChart/index.js +2 -1
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3027 -3025
- package/dist/esm/core/DonutChart/index.js +33 -14
- package/dist/esm/core/Progress/index.js +2 -0
- package/dist/esm/core/SegmentControl/index.js +3 -1
- package/dist/esm/core/SidebarMenu/SidebarMenu.js +2 -1
- package/dist/esm/coreX/BarChart/index.js +2 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/DonutChart/index.d.ts +24 -0
- package/dist/src/coreX/DateRangePicker/common.d.ts +1 -1
- package/dist/stories/docs/core/DonutChart.stories.d.ts +2 -0
- package/dist/style.css +3115 -3113
- package/package.json +4 -4
|
@@ -16,6 +16,22 @@ export type IDonutChartProps = {
|
|
|
16
16
|
* 支持自定义图形外部样式
|
|
17
17
|
*/
|
|
18
18
|
className?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 支持自定义图形宽度
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
/**
|
|
24
|
+
* 支持自定义图形的内半径
|
|
25
|
+
*/
|
|
26
|
+
innerRadius?: number;
|
|
27
|
+
/**
|
|
28
|
+
* 支持自定义图形的外半径
|
|
29
|
+
*/
|
|
30
|
+
outerRadius?: number;
|
|
31
|
+
/**
|
|
32
|
+
* 支持自定义图形高度
|
|
33
|
+
*/
|
|
34
|
+
height?: number;
|
|
19
35
|
/**
|
|
20
36
|
* 支持自定义 tooltip 样式
|
|
21
37
|
*/
|
|
@@ -57,6 +73,14 @@ export type IDonutChartProps = {
|
|
|
57
73
|
* 当 data 数据合并时展示的文案
|
|
58
74
|
*/
|
|
59
75
|
collapseText?: string;
|
|
76
|
+
/**
|
|
77
|
+
* 是否展示间隔, 当组件作为二元组件时传入false
|
|
78
|
+
*/
|
|
79
|
+
widthPadding?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* 是否展示legend
|
|
82
|
+
*/
|
|
83
|
+
showLegend?: boolean;
|
|
60
84
|
};
|
|
61
85
|
export declare const formatCollapse: (collapseData?: {
|
|
62
86
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dayjs } from "dayjs";
|
|
2
2
|
import { TFunction } from "i18next";
|
|
3
|
-
import {
|
|
3
|
+
import { PastTime, PickerDateRange } from "./dateRangePicker.type";
|
|
4
4
|
export declare const BASIC_RELATIVE_TIME_CONFIG: PastTime[];
|
|
5
5
|
export declare function getTime(year: number, month: number, date: number): Dayjs;
|
|
6
6
|
export declare function trimTime(time: Dayjs): Dayjs;
|
|
@@ -16,3 +16,5 @@ export declare const OtherDisplay: StoryObj<IDonutChartStoryProps>;
|
|
|
16
16
|
export declare const centerRender: StoryObj<IDonutChartStoryProps>;
|
|
17
17
|
export declare const Collapse: StoryObj<IDonutChartStoryProps>;
|
|
18
18
|
export declare const TextCollapse: StoryObj<IDonutChartStoryProps>;
|
|
19
|
+
export declare const CustomSize: StoryObj<IDonutChartStoryProps>;
|
|
20
|
+
export declare const Duality: StoryObj<IDonutChartStoryProps>;
|