koval-ui 0.16.6 → 0.16.8
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/index.d.ts +31 -2
- package/dist/index.js +2684 -2476
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1213,11 +1213,11 @@ className?: string | undefined;
|
|
|
1213
1213
|
children: ReactElement;
|
|
1214
1214
|
/** Set text label */
|
|
1215
1215
|
label: string;
|
|
1216
|
-
/** Set hint text to be displayed below input */
|
|
1216
|
+
/** Set hint text to be displayed below the input */
|
|
1217
1217
|
hint?: string | undefined;
|
|
1218
1218
|
/**
|
|
1219
1219
|
* Renders * character after label indicating required input status.
|
|
1220
|
-
* Also set automatically when required input provided.
|
|
1220
|
+
* Also, set automatically when required input is provided.
|
|
1221
1221
|
*/
|
|
1222
1222
|
required?: boolean | undefined;
|
|
1223
1223
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -1419,6 +1419,14 @@ min?: string | undefined;
|
|
|
1419
1419
|
max?: string | undefined;
|
|
1420
1420
|
} & RefAttributes<HTMLInputElement>>;
|
|
1421
1421
|
|
|
1422
|
+
export declare const InputDateTime: ForwardRefExoticComponent<DataAttributes & AriaAttributes & {
|
|
1423
|
+
id?: string | undefined;
|
|
1424
|
+
role?: AriaRole | undefined;
|
|
1425
|
+
className?: string | undefined;
|
|
1426
|
+
} & Omit<NativePropsTextual, "pattern" | "inputMode" | "autoComplete" | "maxLength" | "minLength"> & Omit<CallbackPropsTextual, "defaultValue"> & ValidationProps & {
|
|
1427
|
+
prefix?: FC | undefined;
|
|
1428
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
1429
|
+
|
|
1422
1430
|
export declare const InputFile: ForwardRefExoticComponent<DataAttributes & AriaAttributes & {
|
|
1423
1431
|
id?: string | undefined;
|
|
1424
1432
|
role?: AriaRole | undefined;
|
|
@@ -1460,6 +1468,23 @@ step?: string | number | undefined;
|
|
|
1460
1468
|
size?: InputHTMLAttributes<HTMLInputElement>['size'];
|
|
1461
1469
|
} & RefAttributes<HTMLInputElement>>;
|
|
1462
1470
|
|
|
1471
|
+
export declare const InputNumeric: ForwardRefExoticComponent<DataAttributes & AriaAttributes & {
|
|
1472
|
+
id?: string | undefined;
|
|
1473
|
+
role?: AriaRole | undefined;
|
|
1474
|
+
className?: string | undefined;
|
|
1475
|
+
} & Omit<NativePropsTextual, "pattern" | "inputMode" | "autoComplete"> & CallbackPropsTextual & ValidationProps & {
|
|
1476
|
+
/**
|
|
1477
|
+
* Specify the amount of increment/decrement applied to the value when the user presses arrow keys
|
|
1478
|
+
*/
|
|
1479
|
+
step?: number | undefined;
|
|
1480
|
+
/**
|
|
1481
|
+
* Define the width of the input in characters
|
|
1482
|
+
*/
|
|
1483
|
+
size?: InputHTMLAttributes<HTMLInputElement>['size'];
|
|
1484
|
+
/** Select a mode of numeric input. `scientific` mode disables arrow stepper */
|
|
1485
|
+
mode?: "natural" | "integer" | "floating" | "scientific" | undefined;
|
|
1486
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
1487
|
+
|
|
1463
1488
|
export declare const InputPassword: ForwardRefExoticComponent<DataAttributes & AriaAttributes & {
|
|
1464
1489
|
id?: string | undefined;
|
|
1465
1490
|
role?: AriaRole | undefined;
|
|
@@ -1942,6 +1967,10 @@ declare type NativeProps_2 = {
|
|
|
1942
1967
|
};
|
|
1943
1968
|
|
|
1944
1969
|
declare type NativePropsNumeric = Omit<NativePropsTextual, 'inputMode' | 'pattern' | 'maxLength' | 'minLength'> & {
|
|
1970
|
+
/**
|
|
1971
|
+
* Define the minimum value that is acceptable and valid for the input
|
|
1972
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min
|
|
1973
|
+
*/
|
|
1945
1974
|
min?: InputHTMLAttributes<HTMLInputElement>['min'];
|
|
1946
1975
|
/**
|
|
1947
1976
|
* Define the maximum value that is acceptable and valid for the input
|