You've already forked AstralRinth
feat: add unknown .mrpack install warning modal (#5942)
* Update modpack button copy * Change outlined button style for standard buttons * add unknown pack warning modal * implementation * Redo download toasts * prepr * improve hit area of window controls * implement "don't show again" * prepr * duplicate modal ref declarations * increase spacing of progress items * address truman review
This commit is contained in:
@@ -6,11 +6,22 @@ export interface PopupNotificationButton {
|
||||
color?: 'brand' | 'red' | 'orange' | 'green' | 'blue' | 'standard'
|
||||
}
|
||||
|
||||
export interface PopupNotificationProgressItem {
|
||||
id: string
|
||||
title: string
|
||||
text?: string
|
||||
progress: number
|
||||
waiting: boolean
|
||||
}
|
||||
|
||||
export interface PopupNotification {
|
||||
id: string | number
|
||||
title: string
|
||||
text?: string
|
||||
type?: 'error' | 'warning' | 'success' | 'info'
|
||||
type?: 'error' | 'warning' | 'success' | 'info' | 'download'
|
||||
progress?: number
|
||||
waiting?: boolean
|
||||
progressItems?: PopupNotificationProgressItem[]
|
||||
buttons?: PopupNotificationButton[]
|
||||
autoCloseMs?: number | null
|
||||
timer?: NodeJS.Timeout
|
||||
|
||||
Reference in New Issue
Block a user