gentiq 0.7.30 → 0.7.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{checkbox-DllHCh8Z.js → checkbox-CXJMAW8-.js} +921 -920
- package/dist/gentiq-admin.es.js +1385 -1321
- package/dist/gentiq-index.es.js +709 -705
- package/dist/src/components/ThemeProvider.d.ts +1 -1
- package/dist/src/locales/en.json.d.ts +8 -1
- package/dist/src/locales/fa.json.d.ts +8 -1
- package/dist/src/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -14,6 +14,6 @@ interface ThemeProviderState {
|
|
|
14
14
|
radius: string | undefined;
|
|
15
15
|
setRadius: (radius: string | undefined) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function ThemeProvider({ children, defaultTheme, storageKey, config, ...props }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare const useTheme: () => ThemeProviderState;
|
|
19
19
|
export {};
|
|
@@ -127,7 +127,14 @@ declare const _default: {
|
|
|
127
127
|
"app_name": "App Name",
|
|
128
128
|
"admin_title": "Admin Panel Title",
|
|
129
129
|
"language": "Default Language",
|
|
130
|
-
"language_help": "The language users see on their first visit (if not auto-detected)."
|
|
130
|
+
"language_help": "The language users see on their first visit (if not auto-detected).",
|
|
131
|
+
"appearance": "Default Appearance",
|
|
132
|
+
"appearance_help": "These values apply when a user has not saved their own appearance preferences.",
|
|
133
|
+
"default_theme": "Default Theme",
|
|
134
|
+
"default_accent": "Default Accent Color",
|
|
135
|
+
"default_accent_help": "Enter any browser-supported CSS color, such as #3b82f6, rgb(59 130 246), or oklch(0.623 0.214 259.815).",
|
|
136
|
+
"default_accent_invalid": "Enter a valid browser-supported CSS color.",
|
|
137
|
+
"default_accent_preview": "Accent color preview"
|
|
131
138
|
},
|
|
132
139
|
"chat": {
|
|
133
140
|
"welcome_greeting": "Welcome Greeting",
|
|
@@ -126,7 +126,14 @@ declare const _default: {
|
|
|
126
126
|
"app_name": "نام سامانه",
|
|
127
127
|
"admin_title": "عنوان پنل ادمین",
|
|
128
128
|
"language": "زبان پیشفرض",
|
|
129
|
-
"language_help": "زبانی که کاربر در اولین ورود مشاهده میکند (در صورت عدم تشخیص خودکار)."
|
|
129
|
+
"language_help": "زبانی که کاربر در اولین ورود مشاهده میکند (در صورت عدم تشخیص خودکار).",
|
|
130
|
+
"appearance": "ظاهر پیشفرض",
|
|
131
|
+
"appearance_help": "این مقادیر زمانی اعمال میشوند که کاربر تنظیمات ظاهری خود را ذخیره نکرده باشد.",
|
|
132
|
+
"default_theme": "پوسته پیشفرض",
|
|
133
|
+
"default_accent": "رنگ اصلی پیشفرض",
|
|
134
|
+
"default_accent_help": "هر رنگ CSS پشتیبانیشده توسط مرورگر را وارد کنید؛ مانند #3b82f6 یا rgb(59 130 246).",
|
|
135
|
+
"default_accent_invalid": "یک رنگ CSS معتبر و پشتیبانیشده توسط مرورگر وارد کنید.",
|
|
136
|
+
"default_accent_preview": "پیشنمایش رنگ اصلی"
|
|
130
137
|
},
|
|
131
138
|
"chat": {
|
|
132
139
|
"welcome_greeting": "پیام خوشآمدگویی",
|
package/dist/src/types.d.ts
CHANGED
|
@@ -170,6 +170,8 @@ export interface ComposerConfig {
|
|
|
170
170
|
* Configuration for the UI theme and styling.
|
|
171
171
|
*/
|
|
172
172
|
export interface ThemeConfig {
|
|
173
|
+
/** Theme used when the user has not saved a preference. */
|
|
174
|
+
defaultTheme?: 'system' | 'light' | 'dark';
|
|
173
175
|
/** Typography settings. */
|
|
174
176
|
typography?: {
|
|
175
177
|
/** Custom font family. */
|