@zag-js/number-input 0.53.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
@@ -258,13 +258,13 @@ interface MachineApi<T extends PropTypes = PropTypes> {
258
258
  * Function to focus the input.
259
259
  */
260
260
  focus(): void;
261
- rootProps: T["element"];
262
- labelProps: T["label"];
263
- controlProps: T["element"];
264
- inputProps: T["input"];
265
- decrementTriggerProps: T["button"];
266
- incrementTriggerProps: T["button"];
267
- scrubberProps: T["element"];
261
+ getRootProps(): T["element"];
262
+ getLabelProps(): T["label"];
263
+ getControlProps(): T["element"];
264
+ getInputProps(): T["input"];
265
+ getDecrementTriggerProps(): T["button"];
266
+ getIncrementTriggerProps(): T["button"];
267
+ getScrubberProps(): T["element"];
268
268
  }
269
269
 
270
270
  declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;
package/dist/index.d.ts CHANGED
@@ -258,13 +258,13 @@ interface MachineApi<T extends PropTypes = PropTypes> {
258
258
  * Function to focus the input.
259
259
  */
260
260
  focus(): void;
261
- rootProps: T["element"];
262
- labelProps: T["label"];
263
- controlProps: T["element"];
264
- inputProps: T["input"];
265
- decrementTriggerProps: T["button"];
266
- incrementTriggerProps: T["button"];
267
- scrubberProps: T["element"];
261
+ getRootProps(): T["element"];
262
+ getLabelProps(): T["label"];
263
+ getControlProps(): T["element"];
264
+ getInputProps(): T["input"];
265
+ getDecrementTriggerProps(): T["button"];
266
+ getIncrementTriggerProps(): T["button"];
267
+ getScrubberProps(): T["element"];
268
268
  }
269
269
 
270
270
  declare function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>): MachineApi<T>;