@team_yumi/ramen 1.2.3-next.20241001-ad3f834-be07d2c37398576ced0b26ec31e3f0d6 → 1.2.3-next.20250218-f7239e2-3266afaa6ee8bb48ac2422b601729b06
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.css +22 -0
- 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 +33 -0
- package/src/components/mobile/x-card-expand-progress/root.d.ts +1 -0
- package/src/components/mobile/x-float-button/root.d.ts +3 -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,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const locales: readonly ["en-US", "pt-BR", "de-DE", "fr-FR", "es-ES", "it-IT", "ja-JP", "zh-CN", "ar-SA", "ru-RU", "ko-KR", "hi-IN", "en-GB", "fr-CA", "pt-PT", "nl-NL", "sv-SE", "pl-PL", "tr-TR", "en-AU", "en-CA"];
|
|
3
|
+
export interface IProps {
|
|
4
|
+
locale?: (typeof locales)[number];
|
|
5
|
+
barSymbol?: 'R$' | '$' | '%';
|
|
6
|
+
seeBy: string;
|
|
7
|
+
title: string;
|
|
8
|
+
hourMin: string;
|
|
9
|
+
budget: number;
|
|
10
|
+
titleBudget: string;
|
|
11
|
+
projectionDay: number;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
isMonth: boolean;
|
|
14
|
+
chartData: {
|
|
15
|
+
meta: number;
|
|
16
|
+
bars: [
|
|
17
|
+
{
|
|
18
|
+
value: number;
|
|
19
|
+
color: string;
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
value: number;
|
|
23
|
+
color: string;
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: number;
|
|
27
|
+
color: string;
|
|
28
|
+
}
|
|
29
|
+
];
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
declare const XBarGraph: React.FC<IProps>;
|
|
33
|
+
export default XBarGraph;
|
|
@@ -4,6 +4,9 @@ import { IProps as XButtonIconProps } from '../../core/x-button-icon/root';
|
|
|
4
4
|
export interface IProps extends XButtonIconProps {
|
|
5
5
|
placement?: (typeof Collections.IFloatButtonPlacement)[number];
|
|
6
6
|
bottom?: (typeof Collections.IFloatButtonBottom)[number];
|
|
7
|
+
tooltipAutoHide?: boolean;
|
|
8
|
+
showTooltip?: boolean;
|
|
9
|
+
tooltipText?: string;
|
|
7
10
|
}
|
|
8
11
|
declare const XFloatButton: React.FC<IProps>;
|
|
9
12
|
export default XFloatButton;
|
|
@@ -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 IProps = {
|
|
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<IProps>;
|
|
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").IProps>;
|
|
7
|
+
XBarGraph: import("react").FC<import("./components/mobile/x-bar-graph/root").IProps>;
|
|
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").IProps>;
|
|
90
|
+
XBarGraph: import("react").FC<import("./components/mobile/x-bar-graph/root").IProps>;
|
|
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").IProps>;
|
|
71
|
+
XBarGraph: import("react").FC<import("./components/mobile/x-bar-graph/root").IProps>;
|
|
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>;
|