@zag-js/slider 0.52.0 → 0.54.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.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +871 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +851 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
- package/src/slider.connect.ts +98 -84
- package/src/slider.types.ts +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -243,15 +243,15 @@ interface MachineApi<T extends PropTypes = PropTypes> {
|
|
|
243
243
|
* Function to focus the slider. This focuses the first thumb.
|
|
244
244
|
*/
|
|
245
245
|
focus(): void;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
getLabelProps(): T["label"];
|
|
247
|
+
getRootProps(): T["element"];
|
|
248
|
+
getValueTextProps(): T["element"];
|
|
249
|
+
getTrackProps(): T["element"];
|
|
250
250
|
getThumbProps(props: ThumbProps): T["element"];
|
|
251
251
|
getHiddenInputProps(props: ThumbProps): T["input"];
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
getRangeProps(): T["element"];
|
|
253
|
+
getControlProps(): T["element"];
|
|
254
|
+
getMarkerGroupProps(): T["element"];
|
|
255
255
|
getMarkerProps(props: MarkerProps): T["element"];
|
|
256
256
|
}
|
|
257
257
|
|
package/dist/index.d.ts
CHANGED
|
@@ -243,15 +243,15 @@ interface MachineApi<T extends PropTypes = PropTypes> {
|
|
|
243
243
|
* Function to focus the slider. This focuses the first thumb.
|
|
244
244
|
*/
|
|
245
245
|
focus(): void;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
getLabelProps(): T["label"];
|
|
247
|
+
getRootProps(): T["element"];
|
|
248
|
+
getValueTextProps(): T["element"];
|
|
249
|
+
getTrackProps(): T["element"];
|
|
250
250
|
getThumbProps(props: ThumbProps): T["element"];
|
|
251
251
|
getHiddenInputProps(props: ThumbProps): T["input"];
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
getRangeProps(): T["element"];
|
|
253
|
+
getControlProps(): T["element"];
|
|
254
|
+
getMarkerGroupProps(): T["element"];
|
|
255
255
|
getMarkerProps(props: MarkerProps): T["element"];
|
|
256
256
|
}
|
|
257
257
|
|