etudes 11.2.0 → 11.3.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/build/components/RangeSlider.d.ts +1 -0
- package/build/components/Slider.d.ts +4 -0
- package/build/components/StepSlider.d.ts +4 -0
- package/build/etudes.js +2507 -2453
- package/build/etudes.umd.cjs +9 -9
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ type Orientation = 'horizontal' | 'vertical';
|
|
|
3
3
|
type Range = [number, number];
|
|
4
4
|
export type RangeSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-valuemax' | 'aria-valuemin' | 'role'> & {
|
|
5
5
|
decimalPlaces?: number;
|
|
6
|
+
isClipped?: boolean;
|
|
6
7
|
knobHeight?: number;
|
|
7
8
|
knobPadding?: number;
|
|
8
9
|
knobWidth?: number;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
export type SliderOrientation = 'horizontal' | 'vertical';
|
|
3
3
|
export type SliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-orientation' | 'aria-valuenow' | 'role'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies if the knob is clipped to the track.
|
|
6
|
+
*/
|
|
7
|
+
isClipped?: boolean;
|
|
4
8
|
/**
|
|
5
9
|
* By default the position is a value from 0 - 1, 0 being the start of the
|
|
6
10
|
* slider and 1 being the end. Switching on this flag inverts this behavior,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
type Orientation = 'horizontal' | 'vertical';
|
|
3
3
|
export type StepSliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-valuenow' | 'role'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies if the knob is clipped to the track.
|
|
6
|
+
*/
|
|
7
|
+
isClipped?: boolean;
|
|
4
8
|
/**
|
|
5
9
|
* By default the position is a value from 0 - 1, 0 being the start of the
|
|
6
10
|
* slider and 1 being the end. Switching on this flag inverts this behavior,
|