@zag-js/toast 0.53.0 → 0.55.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
@@ -264,13 +264,13 @@ interface MachineApi<T extends PropTypes = PropTypes, O = any> extends GenericOp
264
264
  * Function to instantly dismiss the toast.
265
265
  */
266
266
  dismiss(): void;
267
- rootProps: T["element"];
268
- titleProps: T["element"];
269
- ghostBeforeProps: T["element"];
270
- ghostAfterProps: T["element"];
271
- descriptionProps: T["element"];
272
- closeTriggerProps: T["button"];
273
- actionTriggerProps: T["button"];
267
+ getRootProps(): T["element"];
268
+ getTitleProps(): T["element"];
269
+ getGhostBeforeProps(): T["element"];
270
+ getGhostAfterProps(): T["element"];
271
+ getDescriptionProps(): T["element"];
272
+ getCloseTriggerProps(): T["button"];
273
+ getActionTriggerProps(): T["button"];
274
274
  }
275
275
 
276
276
  declare function groupConnect<T extends PropTypes, O = any>(serviceOrState: GroupState<O> | GroupService<O>, send: GroupSend, normalize: NormalizeProps<T>): GroupMachineApi<T, O>;
package/dist/index.d.ts CHANGED
@@ -264,13 +264,13 @@ interface MachineApi<T extends PropTypes = PropTypes, O = any> extends GenericOp
264
264
  * Function to instantly dismiss the toast.
265
265
  */
266
266
  dismiss(): void;
267
- rootProps: T["element"];
268
- titleProps: T["element"];
269
- ghostBeforeProps: T["element"];
270
- ghostAfterProps: T["element"];
271
- descriptionProps: T["element"];
272
- closeTriggerProps: T["button"];
273
- actionTriggerProps: T["button"];
267
+ getRootProps(): T["element"];
268
+ getTitleProps(): T["element"];
269
+ getGhostBeforeProps(): T["element"];
270
+ getGhostAfterProps(): T["element"];
271
+ getDescriptionProps(): T["element"];
272
+ getCloseTriggerProps(): T["button"];
273
+ getActionTriggerProps(): T["button"];
274
274
  }
275
275
 
276
276
  declare function groupConnect<T extends PropTypes, O = any>(serviceOrState: GroupState<O> | GroupService<O>, send: GroupSend, normalize: NormalizeProps<T>): GroupMachineApi<T, O>;