@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 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
- labelProps: T["label"];
247
- rootProps: T["element"];
248
- valueTextProps: T["element"];
249
- trackProps: T["element"];
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
- rangeProps: T["element"];
253
- controlProps: T["element"];
254
- markerGroupProps: T["element"];
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
- labelProps: T["label"];
247
- rootProps: T["element"];
248
- valueTextProps: T["element"];
249
- trackProps: T["element"];
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
- rangeProps: T["element"];
253
- controlProps: T["element"];
254
- markerGroupProps: T["element"];
252
+ getRangeProps(): T["element"];
253
+ getControlProps(): T["element"];
254
+ getMarkerGroupProps(): T["element"];
255
255
  getMarkerProps(props: MarkerProps): T["element"];
256
256
  }
257
257