@scmlatam/web-ui 0.2.65 → 0.2.66
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/src/rb-components/ui/primitives/Input.d.ts +2 -0
- package/dist/web-ui.js +3925 -3914
- package/dist/web-ui.umd.cjs +67 -67
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export type InputLabelVariant = "stacked" | "notched";
|
|
|
3
3
|
export type InputFormat = "duration";
|
|
4
4
|
export type BaseInputProps = {
|
|
5
5
|
containerClassName?: string;
|
|
6
|
+
isAlphanumericOnly?: boolean;
|
|
6
7
|
/** Duration input accepts HH:mm or HHmm and normalizes to HH:mm on blur. */
|
|
7
8
|
format?: InputFormat;
|
|
8
9
|
/** Maximum absolute duration in hours. Applies only when format="duration". */
|
|
@@ -26,6 +27,7 @@ type TextareaInputProps = BaseInputProps & Omit<React.TextareaHTMLAttributes<HTM
|
|
|
26
27
|
as: "textarea";
|
|
27
28
|
};
|
|
28
29
|
export type InputProps = TextInputProps | TextareaInputProps;
|
|
30
|
+
export declare function isValidAlphanumericInput(value: string): boolean;
|
|
29
31
|
export declare function isValidNumericInput(value: string): boolean;
|
|
30
32
|
export declare function isValidNumericInputInsertion(value: string, insertedText: string, selectionStart?: number, selectionEnd?: number): boolean;
|
|
31
33
|
export declare function isValidDurationInput(value: string, limit?: number): boolean;
|