@team_yumi/ramen 1.2.3-next.20240826-6630003-de6124b1e182bcf52b0971632a93cd8f → 1.2.3-next.20241001-ad3f834-be07d2c37398576ced0b26ec31e3f0d6
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import React, { LegacyRef, MouseEventHandler } from 'react';
|
|
|
2
2
|
import { Collections } from '../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
4
|
inputRef?: LegacyRef<HTMLInputElement>;
|
|
5
|
-
type?: (typeof Collections.IInputType)[number];
|
|
5
|
+
type?: (typeof Collections.IInputType)[number] | 'currency';
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
value?: string | number;
|
|
8
8
|
size?: (typeof Collections.IInputSize)[number];
|
|
@@ -23,6 +23,8 @@ export interface IProps {
|
|
|
23
23
|
type?: (typeof Collections.IType)[number];
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
};
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
maxNumber?: number;
|
|
26
28
|
}
|
|
27
29
|
declare const XInput: React.FC<IProps>;
|
|
28
30
|
export default XInput;
|
|
@@ -25,6 +25,18 @@ export interface IProps {
|
|
|
25
25
|
* Test to be displayed if showProgressNumber is false
|
|
26
26
|
*/
|
|
27
27
|
endText?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Text displayed at the start of the progress bar.
|
|
30
|
+
*/
|
|
31
|
+
startText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* If true, hide the progress bar itself.
|
|
34
|
+
*/
|
|
35
|
+
hideProgressBar?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Additional description of the progress.
|
|
38
|
+
*/
|
|
39
|
+
progressDescription?: string;
|
|
28
40
|
}
|
|
29
41
|
declare const XProgressBar: React.FC<IProps>;
|
|
30
42
|
export default XProgressBar;
|
|
@@ -30,6 +30,10 @@ export interface IProps extends Omit<IInputProps, 'type'> {
|
|
|
30
30
|
* Max digital count
|
|
31
31
|
*/
|
|
32
32
|
maxNumber?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Max length of the input field.
|
|
35
|
+
*/
|
|
36
|
+
maxLength?: number;
|
|
33
37
|
}
|
|
34
38
|
declare const XTextField: React.FC<IProps>;
|
|
35
39
|
export default XTextField;
|
|
@@ -8,10 +8,13 @@ export interface IProps {
|
|
|
8
8
|
onClick?: () => void;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
+
progressDescription?: string;
|
|
11
12
|
progress?: number;
|
|
13
|
+
hideProgressBar?: boolean;
|
|
12
14
|
items?: {
|
|
13
15
|
description: string;
|
|
14
16
|
progress: number;
|
|
17
|
+
progressDescription?: string;
|
|
15
18
|
}[];
|
|
16
19
|
}
|
|
17
20
|
declare const XCardExpandProgress: React.FC<IProps>;
|