From 282f36517595c8918d31017e974cd3de2f09e20b Mon Sep 17 00:00:00 2001 From: Sage Abdullah Date: Tue, 31 Dec 2024 20:11:33 +0000 Subject: [PATCH] common: Update types with new languages and themes --- react/src/lib/types.ts | 15 +++++++++++++++ solid/src/lib/types.ts | 15 +++++++++++++++ svelte/src/lib/types.ts | 15 +++++++++++++++ vue/src/lib/types.ts | 15 +++++++++++++++ web/src/types.ts | 15 +++++++++++++++ 5 files changed, 75 insertions(+) diff --git a/react/src/lib/types.ts b/react/src/lib/types.ts index e590f209..1541548c 100644 --- a/react/src/lib/types.ts +++ b/react/src/lib/types.ts @@ -31,20 +31,34 @@ export type Theme = | 'noborder_gray' | 'cobalt' | 'purple_dark' + | 'gruvbox' + | 'gruvbox_dark' + | 'gruvbox_light' + | 'catppuccin_latte' + | 'catppuccin_frappe' + | 'catppuccin_macchiato' + | 'catppuccin_mocha' + | 'fro' | `https://${string}` | GenericString; export type AvailableLanguage = | 'ar' + | 'be' + | 'bg' | 'ca' + | 'cs' | 'da' | 'de' | 'en' | 'eo' | 'es' + | 'eu' | 'fa' | 'fr' | 'gr' + | 'gsw' + | 'hbs' | 'he' | 'hu' | 'id' @@ -65,6 +79,7 @@ export type AvailableLanguage = | 'zh-CN' | 'zh-Hans' | 'zh-Hant' + | 'zh-HK' | 'zh-TW' | GenericString; diff --git a/solid/src/lib/types.ts b/solid/src/lib/types.ts index e590f209..1541548c 100644 --- a/solid/src/lib/types.ts +++ b/solid/src/lib/types.ts @@ -31,20 +31,34 @@ export type Theme = | 'noborder_gray' | 'cobalt' | 'purple_dark' + | 'gruvbox' + | 'gruvbox_dark' + | 'gruvbox_light' + | 'catppuccin_latte' + | 'catppuccin_frappe' + | 'catppuccin_macchiato' + | 'catppuccin_mocha' + | 'fro' | `https://${string}` | GenericString; export type AvailableLanguage = | 'ar' + | 'be' + | 'bg' | 'ca' + | 'cs' | 'da' | 'de' | 'en' | 'eo' | 'es' + | 'eu' | 'fa' | 'fr' | 'gr' + | 'gsw' + | 'hbs' | 'he' | 'hu' | 'id' @@ -65,6 +79,7 @@ export type AvailableLanguage = | 'zh-CN' | 'zh-Hans' | 'zh-Hant' + | 'zh-HK' | 'zh-TW' | GenericString; diff --git a/svelte/src/lib/types.ts b/svelte/src/lib/types.ts index e590f209..1541548c 100644 --- a/svelte/src/lib/types.ts +++ b/svelte/src/lib/types.ts @@ -31,20 +31,34 @@ export type Theme = | 'noborder_gray' | 'cobalt' | 'purple_dark' + | 'gruvbox' + | 'gruvbox_dark' + | 'gruvbox_light' + | 'catppuccin_latte' + | 'catppuccin_frappe' + | 'catppuccin_macchiato' + | 'catppuccin_mocha' + | 'fro' | `https://${string}` | GenericString; export type AvailableLanguage = | 'ar' + | 'be' + | 'bg' | 'ca' + | 'cs' | 'da' | 'de' | 'en' | 'eo' | 'es' + | 'eu' | 'fa' | 'fr' | 'gr' + | 'gsw' + | 'hbs' | 'he' | 'hu' | 'id' @@ -65,6 +79,7 @@ export type AvailableLanguage = | 'zh-CN' | 'zh-Hans' | 'zh-Hant' + | 'zh-HK' | 'zh-TW' | GenericString; diff --git a/vue/src/lib/types.ts b/vue/src/lib/types.ts index e590f209..1541548c 100644 --- a/vue/src/lib/types.ts +++ b/vue/src/lib/types.ts @@ -31,20 +31,34 @@ export type Theme = | 'noborder_gray' | 'cobalt' | 'purple_dark' + | 'gruvbox' + | 'gruvbox_dark' + | 'gruvbox_light' + | 'catppuccin_latte' + | 'catppuccin_frappe' + | 'catppuccin_macchiato' + | 'catppuccin_mocha' + | 'fro' | `https://${string}` | GenericString; export type AvailableLanguage = | 'ar' + | 'be' + | 'bg' | 'ca' + | 'cs' | 'da' | 'de' | 'en' | 'eo' | 'es' + | 'eu' | 'fa' | 'fr' | 'gr' + | 'gsw' + | 'hbs' | 'he' | 'hu' | 'id' @@ -65,6 +79,7 @@ export type AvailableLanguage = | 'zh-CN' | 'zh-Hans' | 'zh-Hant' + | 'zh-HK' | 'zh-TW' | GenericString; diff --git a/web/src/types.ts b/web/src/types.ts index 4ae04d04..924008e2 100644 --- a/web/src/types.ts +++ b/web/src/types.ts @@ -31,20 +31,34 @@ export type Theme = | 'noborder_gray' | 'cobalt' | 'purple_dark' + | 'gruvbox' + | 'gruvbox_dark' + | 'gruvbox_light' + | 'catppuccin_latte' + | 'catppuccin_frappe' + | 'catppuccin_macchiato' + | 'catppuccin_mocha' + | 'fro' | `https://${string}` | GenericString; export type AvailableLanguage = | 'ar' + | 'be' + | 'bg' | 'ca' + | 'cs' | 'da' | 'de' | 'en' | 'eo' | 'es' + | 'eu' | 'fa' | 'fr' | 'gr' + | 'gsw' + | 'hbs' | 'he' | 'hu' | 'id' @@ -65,6 +79,7 @@ export type AvailableLanguage = | 'zh-CN' | 'zh-Hans' | 'zh-Hant' + | 'zh-HK' | 'zh-TW' | GenericString;