/** * Constants used throughout the Toast package */ export const TOAST_CONSTANTS = { /** * The fixed width of a toast */ maxWidth: 400, /** * The min-height of a toast */ minHeight: 56, /** * The height of the progress bar */ progressBarHeight: 4, /** * The fixed height of the notification bar */ notificationBarHeight: 24, /** * The spacing between the container edge and toast left/bottom */ inset: 4, /** * The distance the toast moves down in the y-direction * when in the collapsed stack */ yOffset: 8, /** * The z distance each subsequent toast moves back (into the screen) * when the stack is collapsed */ zOffset: 100, /** * The gap between toasts when the stack is expanded */ gap: 4, /** * The number of toasts featured on hover */ shortStackCount: 3, };