UNPKG

@zag-js/toast

Version:

Core logic for the toast widget implemented as a state machine

19 lines (16 loc) 1.02 kB
import * as _zag_js_core from '@zag-js/core'; import { ToastGroupSchema } from './toast.types.mjs'; export { ActionOptions, ToastApi as Api, ToastGroupApi as GroupApi, ToastGroupMachine as GroupMachine, ToastGroupProps as GroupProps, ToastGroupService as GroupService, IntlTranslations, ToastMachine as Machine, Options, Placement, PromiseOptions, ToastProps as Props, ToastService as Service, Status, StatusChangeDetails, ToastStore as Store, ToastStoreProps as StoreProps, ToastHeight, ToastQueuePriority, Type } from './toast.types.mjs'; import { groupConnect } from './toast-group.connect.mjs'; export { anatomy } from './toast.anatomy.mjs'; export { connect } from './toast.connect.mjs'; export { machine } from './toast.machine.mjs'; export { createToastStore as createStore } from './toast.store.mjs'; import '@zag-js/types'; import '@zag-js/dom-query'; import '@zag-js/anatomy'; declare const group: { connect: typeof groupConnect; machine: _zag_js_core.Machine<ToastGroupSchema>; }; export { group };