design-system-silkhaus 0.0.88-beta.slider-input.6 → 0.0.88-beta.slider-input.7
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 +39 -39
- package/dist/index.d.ts +10 -1
- package/dist/index.js +5376 -5326
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -370,7 +370,16 @@ export declare interface PriceRangeSliderProps {
|
|
|
370
370
|
min?: number;
|
|
371
371
|
max: number;
|
|
372
372
|
step?: number;
|
|
373
|
-
|
|
373
|
+
/**
|
|
374
|
+
* This is called everytime the input field value changes
|
|
375
|
+
*/
|
|
376
|
+
onInputChange?: (value: [number | string, number | string]) => void;
|
|
377
|
+
/**
|
|
378
|
+
* This is called when the slider value changes either through the slider
|
|
379
|
+
* or the input fields. This is only called after handling internally for any non numeric characters.
|
|
380
|
+
* Which means the value will either contain a number or empty string.
|
|
381
|
+
*/
|
|
382
|
+
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
374
383
|
currency?: string;
|
|
375
384
|
value?: [number | '', number | ''];
|
|
376
385
|
}
|