diff --git a/src/components/DeprecationAlert.vue b/src/components/DeprecationAlert.vue new file mode 100644 index 00000000..e45dbaa1 --- /dev/null +++ b/src/components/DeprecationAlert.vue @@ -0,0 +1,29 @@ + + + + {{ t('common.feature_relocated.title') }} + + + + {{ featureName }} + + + + + + + diff --git a/src/components/dialogs/UserDialog/UserDialog.vue b/src/components/dialogs/UserDialog/UserDialog.vue index 788ad6b7..6a8aba9b 100644 --- a/src/components/dialogs/UserDialog/UserDialog.vue +++ b/src/components/dialogs/UserDialog/UserDialog.vue @@ -1019,6 +1019,9 @@ @click="getUserFavoriteWorlds(userDialog.id)"> --> + + svg]:text-current *:data-[slot=alert-description]:text-destructive/90' + 'text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90', + warning: + 'border-amber-500/50 text-amber-600 dark:text-amber-400 bg-amber-50 dark:bg-amber-950/30 [&>svg]:text-current *:data-[slot=alert-description]:text-amber-600/90 dark:*:data-[slot=alert-description]:text-amber-400/90' } }, defaultVariants: { diff --git a/src/localization/en.json b/src/localization/en.json index bb9d5625..338131ee 100644 --- a/src/localization/en.json +++ b/src/localization/en.json @@ -4,6 +4,10 @@ "common": { "no_data": "No data", "no_matching_records": "No matching records", + "feature_relocated": { + "title": "Deprecation Notice", + "description": "This feature will be removed in a future update. Please use {feature} instead." + }, "actions": { "open": "Open", "confirm": "Confirm",