design-system-silkhaus 0.0.87 → 0.0.88-beta.slider-input.0
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.cjs +138 -33
- package/dist/index.d.ts +15 -0
- package/dist/index.js +4847 -4682
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -261,6 +261,21 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
261
261
|
labelClass?: string | undefined;
|
|
262
262
|
InputDivClass?: string | undefined;
|
|
263
263
|
captionClass?: string | undefined;
|
|
264
|
+
startAdornment?: default_2.ReactNode;
|
|
265
|
+
endAdornment?: default_2.ReactNode;
|
|
266
|
+
min?: number;
|
|
267
|
+
max?: number;
|
|
268
|
+
value?: string | number;
|
|
269
|
+
/**
|
|
270
|
+
* When `true`, only numbers can be entered. Any other input will be ignored
|
|
271
|
+
* When min and max are set, the entered value is set to min when less than min and max when greater than max
|
|
272
|
+
*/
|
|
273
|
+
isNumbersOnly?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* When `isNumbersOnly` is `true`, entered value might be modified depending on min and max.
|
|
276
|
+
* While `onChange` will you give what the user enters, `onNumberUpdate` will give the final modified value
|
|
277
|
+
*/
|
|
278
|
+
onNumberUpdate: (val: string | number | undefined) => void;
|
|
264
279
|
}
|
|
265
280
|
|
|
266
281
|
export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
|