@team_yumi/ramen 1.2.3-next.20241001-ad3f834-be07d2c37398576ced0b26ec31e3f0d6 → 1.2.3-next.20241227-3e1f8a8-0bc131539a6e1e7ac6de93c877dd872c
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/index.js +3 -3
- package/package.json +1 -1
- package/src/components/mobile/x-bar-graph/index.d.ts +2 -0
- package/src/components/mobile/x-bar-graph/root.d.ts +3 -0
- package/src/components/mobile/x-card-expand-progress/root.d.ts +1 -0
- package/src/components/mobile/x-gauge-graph/index.d.ts +2 -0
- package/src/components/mobile/x-gauge-graph/root.d.ts +25 -0
- package/src/index.core.d.ts +2 -0
- package/src/index.mobile.d.ts +4 -0
- package/src/index.web.d.ts +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ISeries = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
color: string;
|
|
6
|
+
};
|
|
7
|
+
export type IGaugeChart = {
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
title: string;
|
|
10
|
+
skeleton: boolean;
|
|
11
|
+
series: ISeries[];
|
|
12
|
+
clickToHide?: boolean;
|
|
13
|
+
width?: string;
|
|
14
|
+
lineThickness?: number;
|
|
15
|
+
locale?: string;
|
|
16
|
+
currency?: string;
|
|
17
|
+
format?: (value: number) => string | number;
|
|
18
|
+
titleRows?: {
|
|
19
|
+
col1?: string;
|
|
20
|
+
col2?: string;
|
|
21
|
+
col3?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare const XGaugeGraph: React.FC<IGaugeChart>;
|
|
25
|
+
export default XGaugeGraph;
|
package/src/index.core.d.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
import './index.css';
|
|
4
4
|
import XList from '@yumi/x-list';
|
|
5
5
|
declare const _default: {
|
|
6
|
+
XGaugeGraph: import("react").FC<import("./components/mobile/x-gauge-graph/root").IGaugeChart>;
|
|
7
|
+
XBarGraph: import("react").FC<any>;
|
|
6
8
|
XCardCounter: import("react").FC<import("./components/core/x-card-counter/root").IProps>;
|
|
7
9
|
XBox: import("react").FC<import("./components/core/x-box/root").IProps>;
|
|
8
10
|
XText: import("react").FC<import("./components/core/x-text/root").IProps>;
|
package/src/index.mobile.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ declare const _default: {
|
|
|
86
86
|
XStoreSelector: import("react").FC<import("./components/mobile/x-store-selector/root").IProps>;
|
|
87
87
|
XPullToRefresh: import("react").FC<import("./components/mobile/x-pull-to-refresh/root").IProps>;
|
|
88
88
|
XCardExpandProgress: import("react").FC<import("./components/mobile/x-card-expand-progress/root").IProps>;
|
|
89
|
+
XGaugeGraph: import("react").FC<import("./components/mobile/x-gauge-graph/root").IGaugeChart>;
|
|
90
|
+
XBarGraph: import("react").FC<any>;
|
|
89
91
|
XCardCounter: import("react").FC<import("./components/core/x-card-counter/root").IProps>;
|
|
90
92
|
XBox: import("react").FC<import("./components/core/x-box/root").IProps>;
|
|
91
93
|
XText: import("react").FC<import("./components/core/x-text/root").IProps>;
|
|
@@ -220,6 +222,8 @@ export { default as XGroupCheckBox } from './components/mobile/x-group-checkbox'
|
|
|
220
222
|
export { default as XDatepickerYear } from './components/mobile/x-datepicker-year';
|
|
221
223
|
export { default as XCardProgress } from './components/mobile/x-card-progress';
|
|
222
224
|
export { default as XCardHomeIndicator } from './components/mobile/x-card-home-indicator';
|
|
225
|
+
export { default as XGaugeGraph } from './components/mobile/x-gauge-graph';
|
|
226
|
+
export { default as XBarGraph } from './components/mobile/x-bar-graph';
|
|
223
227
|
export { default as XCardBusiness } from './components/mobile/x-card-business';
|
|
224
228
|
export { default as XStoreSelector } from './components/mobile/x-store-selector';
|
|
225
229
|
export { default as XPullToRefresh } from './components/mobile/x-pull-to-refresh';
|
package/src/index.web.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ declare const _default: {
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
XApp: import("react").FC<import("./components/web/x-app/root").IProps>;
|
|
70
|
+
XGaugeGraph: import("react").FC<import("./components/mobile/x-gauge-graph/root").IGaugeChart>;
|
|
71
|
+
XBarGraph: import("react").FC<any>;
|
|
70
72
|
XCardCounter: import("react").FC<import("./components/core/x-card-counter/root").IProps>;
|
|
71
73
|
XBox: import("react").FC<import("./components/core/x-box/root").IProps>;
|
|
72
74
|
XText: import("react").FC<import("./components/core/x-text/root").IProps>;
|