UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

71 lines (70 loc) 1.7 kB
export const NeoNotificationStackDirection = { Up: 'up', Down: 'down', }; export const NeoNotificationStatus = { /** * The notification is pending and will be displayed in the queue. */ Pending: 'pending', /** * The notification has been dismissed by the user. */ Dismissed: 'dismissed', /** * The notification has been cancelled by programmatic action. */ Cancelled: 'cancelled', /** * The notification duration has expired. */ Expired: 'expired', }; export const NeoNotificationType = { /** * The notification is an info message. */ Info: 'info', /** * The notification is a warning message. */ Warning: 'warning', /** * The notification is an error message. */ Error: 'error', /** * The notification is a success message. */ Success: 'success', /** * The notification is a default message. */ Default: 'default', }; export const NeoNotificationEvent = { /** * The notification has changed its status. */ Status: 'status', /** * The notification content has changed. */ Update: 'update', /** * The notification timeout has been paused. */ Paused: 'paused', /** * The notification timeout has been resumed or restarted. */ Restart: 'restart', /** * The notification has been hidden either by queue eviction or if the max visible queue size was reached. */ Hidden: 'hidden', /** * The notification has been show, either by being added to the queue or if an earlier notification was dismissed. */ Visible: 'visible', };