design-system-silkhaus 0.0.87 → 0.0.88-beta.slider-input.1

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 CHANGED
@@ -256,11 +256,26 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
256
256
  textarea?: true | false | undefined;
257
257
  label?: string | undefined;
258
258
  caption?: string | undefined;
259
- color: 'primary' | 'success' | 'error' | 'primaryRounded' | 'errorRounded' | 'disabled';
259
+ color?: 'primary' | 'success' | 'error' | 'primaryRounded' | 'errorRounded' | 'disabled';
260
260
  required?: boolean;
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>>;