@shellui/core 0.0.13 → 0.0.15
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/package.json +11 -25
- package/src/components/ui/dialog.tsx +3 -1
- package/src/components/ui/sidebar.tsx +14 -2
- package/src/features/config/ConfigProvider.ts +1 -1
- package/src/features/config/useConfig.ts +7 -2
- package/src/features/layouts/DefaultLayout.tsx +6 -1
- package/src/index.ts +2 -2
- package/src/service-worker/register.ts +2 -1
- package/dist/ContentView-CZG-ro_B.js +0 -146
- package/dist/ContentView-CZG-ro_B.js.map +0 -1
- package/dist/CookiePreferencesView-Bb3hFqw1.js +0 -213
- package/dist/CookiePreferencesView-Bb3hFqw1.js.map +0 -1
- package/dist/DefaultLayout-D3IpgS4j.js +0 -406
- package/dist/DefaultLayout-D3IpgS4j.js.map +0 -1
- package/dist/FullscreenLayout-Do9vAfl8.js +0 -30
- package/dist/FullscreenLayout-Do9vAfl8.js.map +0 -1
- package/dist/HomeView-DwckTuxz.js +0 -21
- package/dist/HomeView-DwckTuxz.js.map +0 -1
- package/dist/NotFoundView-DD7azhz-.js +0 -52
- package/dist/NotFoundView-DD7azhz-.js.map +0 -1
- package/dist/OverlayShell-kDY56DaN.js +0 -642
- package/dist/OverlayShell-kDY56DaN.js.map +0 -1
- package/dist/SettingsView-Bt4I-KDT.js +0 -2207
- package/dist/SettingsView-Bt4I-KDT.js.map +0 -1
- package/dist/ViewRoute-ChSPabOy.js +0 -32
- package/dist/ViewRoute-ChSPabOy.js.map +0 -1
- package/dist/WindowsLayout-CEqkRKyk.js +0 -633
- package/dist/WindowsLayout-CEqkRKyk.js.map +0 -1
- package/dist/app.d.ts +0 -3
- package/dist/app.d.ts.map +0 -1
- package/dist/components/ContentView.d.ts +0 -10
- package/dist/components/ContentView.d.ts.map +0 -1
- package/dist/components/HomeView.d.ts +0 -2
- package/dist/components/HomeView.d.ts.map +0 -1
- package/dist/components/LoadingOverlay.d.ts +0 -2
- package/dist/components/LoadingOverlay.d.ts.map +0 -1
- package/dist/components/NotFoundView.d.ts +0 -2
- package/dist/components/NotFoundView.d.ts.map +0 -1
- package/dist/components/RouteErrorBoundary.d.ts +0 -2
- package/dist/components/RouteErrorBoundary.d.ts.map +0 -1
- package/dist/components/ViewRoute.d.ts +0 -7
- package/dist/components/ViewRoute.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -32
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts +0 -20
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/button-group.d.ts +0 -7
- package/dist/components/ui/button-group.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -12
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -24
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/drawer.d.ts +0 -38
- package/dist/components/ui/drawer.d.ts.map +0 -1
- package/dist/components/ui/select.d.ts +0 -5
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/sidebar.d.ts +0 -46
- package/dist/components/ui/sidebar.d.ts.map +0 -1
- package/dist/components/ui/sonner.d.ts +0 -6
- package/dist/components/ui/sonner.d.ts.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -8
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/constants/urls.d.ts +0 -6
- package/dist/constants/urls.d.ts.map +0 -1
- package/dist/constants/urls.js +0 -8
- package/dist/constants/urls.js.map +0 -1
- package/dist/features/alertDialog/DialogContext.d.ts +0 -12
- package/dist/features/alertDialog/DialogContext.d.ts.map +0 -1
- package/dist/features/config/ConfigProvider.d.ts +0 -15
- package/dist/features/config/ConfigProvider.d.ts.map +0 -1
- package/dist/features/config/types.d.ts +0 -177
- package/dist/features/config/types.d.ts.map +0 -1
- package/dist/features/config/useConfig.d.ts +0 -8
- package/dist/features/config/useConfig.d.ts.map +0 -1
- package/dist/features/cookieConsent/CookieConsentModal.d.ts +0 -6
- package/dist/features/cookieConsent/CookieConsentModal.d.ts.map +0 -1
- package/dist/features/cookieConsent/CookiePreferencesView.d.ts +0 -2
- package/dist/features/cookieConsent/CookiePreferencesView.d.ts.map +0 -1
- package/dist/features/cookieConsent/cookieConsent.d.ts +0 -22
- package/dist/features/cookieConsent/cookieConsent.d.ts.map +0 -1
- package/dist/features/cookieConsent/useCookieConsent.d.ts +0 -15
- package/dist/features/cookieConsent/useCookieConsent.d.ts.map +0 -1
- package/dist/features/drawer/DrawerContext.d.ts +0 -24
- package/dist/features/drawer/DrawerContext.d.ts.map +0 -1
- package/dist/features/layouts/AppLayout.d.ts +0 -12
- package/dist/features/layouts/AppLayout.d.ts.map +0 -1
- package/dist/features/layouts/DefaultLayout.d.ts +0 -10
- package/dist/features/layouts/DefaultLayout.d.ts.map +0 -1
- package/dist/features/layouts/FullscreenLayout.d.ts +0 -9
- package/dist/features/layouts/FullscreenLayout.d.ts.map +0 -1
- package/dist/features/layouts/LayoutProviders.d.ts +0 -9
- package/dist/features/layouts/LayoutProviders.d.ts.map +0 -1
- package/dist/features/layouts/OverlayShell.d.ts +0 -10
- package/dist/features/layouts/OverlayShell.d.ts.map +0 -1
- package/dist/features/layouts/WindowsLayout.d.ts +0 -24
- package/dist/features/layouts/WindowsLayout.d.ts.map +0 -1
- package/dist/features/layouts/utils.d.ts +0 -16
- package/dist/features/layouts/utils.d.ts.map +0 -1
- package/dist/features/modal/ModalContext.d.ts +0 -20
- package/dist/features/modal/ModalContext.d.ts.map +0 -1
- package/dist/features/sentry/initSentry.d.ts +0 -14
- package/dist/features/sentry/initSentry.d.ts.map +0 -1
- package/dist/features/settings/SettingsContext.d.ts +0 -10
- package/dist/features/settings/SettingsContext.d.ts.map +0 -1
- package/dist/features/settings/SettingsIcons.d.ts +0 -22
- package/dist/features/settings/SettingsIcons.d.ts.map +0 -1
- package/dist/features/settings/SettingsProvider.d.ts +0 -5
- package/dist/features/settings/SettingsProvider.d.ts.map +0 -1
- package/dist/features/settings/SettingsRoutes.d.ts +0 -7
- package/dist/features/settings/SettingsRoutes.d.ts.map +0 -1
- package/dist/features/settings/SettingsView.d.ts +0 -2
- package/dist/features/settings/SettingsView.d.ts.map +0 -1
- package/dist/features/settings/components/Advanced.d.ts +0 -2
- package/dist/features/settings/components/Advanced.d.ts.map +0 -1
- package/dist/features/settings/components/Appearance.d.ts +0 -2
- package/dist/features/settings/components/Appearance.d.ts.map +0 -1
- package/dist/features/settings/components/DataPrivacy.d.ts +0 -2
- package/dist/features/settings/components/DataPrivacy.d.ts.map +0 -1
- package/dist/features/settings/components/Develop.d.ts +0 -2
- package/dist/features/settings/components/Develop.d.ts.map +0 -1
- package/dist/features/settings/components/LanguageAndRegion.d.ts +0 -2
- package/dist/features/settings/components/LanguageAndRegion.d.ts.map +0 -1
- package/dist/features/settings/components/ServiceWorker.d.ts +0 -2
- package/dist/features/settings/components/ServiceWorker.d.ts.map +0 -1
- package/dist/features/settings/components/UpdateApp.d.ts +0 -2
- package/dist/features/settings/components/UpdateApp.d.ts.map +0 -1
- package/dist/features/settings/components/develop/DialogTestButtons.d.ts +0 -2
- package/dist/features/settings/components/develop/DialogTestButtons.d.ts.map +0 -1
- package/dist/features/settings/components/develop/DrawerTestButtons.d.ts +0 -2
- package/dist/features/settings/components/develop/DrawerTestButtons.d.ts.map +0 -1
- package/dist/features/settings/components/develop/ModalTestButtons.d.ts +0 -2
- package/dist/features/settings/components/develop/ModalTestButtons.d.ts.map +0 -1
- package/dist/features/settings/components/develop/ToastTestButtons.d.ts +0 -2
- package/dist/features/settings/components/develop/ToastTestButtons.d.ts.map +0 -1
- package/dist/features/settings/hooks/useSettings.d.ts +0 -2
- package/dist/features/settings/hooks/useSettings.d.ts.map +0 -1
- package/dist/features/sonner/SonnerContext.d.ts +0 -29
- package/dist/features/sonner/SonnerContext.d.ts.map +0 -1
- package/dist/features/theme/ThemeProvider.d.ts +0 -11
- package/dist/features/theme/ThemeProvider.d.ts.map +0 -1
- package/dist/features/theme/themes.d.ts +0 -114
- package/dist/features/theme/themes.d.ts.map +0 -1
- package/dist/features/theme/useTheme.d.ts +0 -10
- package/dist/features/theme/useTheme.d.ts.map +0 -1
- package/dist/i18n/I18nProvider.d.ts +0 -9
- package/dist/i18n/I18nProvider.d.ts.map +0 -1
- package/dist/i18n/config.d.ts +0 -23
- package/dist/i18n/config.d.ts.map +0 -1
- package/dist/i18n/translations/en/common.json.d.ts +0 -19
- package/dist/i18n/translations/en/cookieConsent.json.d.ts +0 -53
- package/dist/i18n/translations/en/settings.json.d.ts +0 -358
- package/dist/i18n/translations/fr/common.json.d.ts +0 -19
- package/dist/i18n/translations/fr/cookieConsent.json.d.ts +0 -53
- package/dist/i18n/translations/fr/settings.json.d.ts +0 -358
- package/dist/index-CfvdAI_Y.js +0 -2168
- package/dist/index-CfvdAI_Y.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/index.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/z-index.d.ts +0 -29
- package/dist/lib/z-index.d.ts.map +0 -1
- package/dist/router/router.d.ts +0 -3
- package/dist/router/router.d.ts.map +0 -1
- package/dist/router/routes.d.ts +0 -4
- package/dist/router/routes.d.ts.map +0 -1
- package/dist/sidebar-Dt-gibIZ.js +0 -336
- package/dist/sidebar-Dt-gibIZ.js.map +0 -1
- package/dist/style.css +0 -1
- package/dist/switch-CuKXfl3x.js +0 -44
- package/dist/switch-CuKXfl3x.js.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTestButtons.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings/components/develop/DialogTestButtons.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,+CAoI7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerTestButtons.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings/components/develop/DrawerTestButtons.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,+CA6D7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModalTestButtons.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings/components/develop/ModalTestButtons.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,+CAwB5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToastTestButtons.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings/components/develop/ToastTestButtons.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,+CA8K5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSettings.d.ts","sourceRoot":"","sources":["../../../../src/features/settings/hooks/useSettings.tsx"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,sDAM1B"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface ToastOptions {
|
|
3
|
-
id?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
type?: 'default' | 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
7
|
-
duration?: number;
|
|
8
|
-
position?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
9
|
-
action?: {
|
|
10
|
-
label: string;
|
|
11
|
-
onClick: () => void;
|
|
12
|
-
};
|
|
13
|
-
cancel?: {
|
|
14
|
-
label: string;
|
|
15
|
-
onClick: () => void;
|
|
16
|
-
};
|
|
17
|
-
onDismiss?: () => void;
|
|
18
|
-
onAutoClose?: () => void;
|
|
19
|
-
}
|
|
20
|
-
interface SonnerContextValue {
|
|
21
|
-
toast: (options: ToastOptions) => void;
|
|
22
|
-
}
|
|
23
|
-
export declare function useSonner(): SonnerContextValue;
|
|
24
|
-
interface SonnerProviderProps {
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
}
|
|
27
|
-
export declare const SonnerProvider: ({ children }: SonnerProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=SonnerContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SonnerContext.d.ts","sourceRoot":"","sources":["../../../src/features/sonner/SonnerContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1F,UAAU,YAAY;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EACL,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,CAAC;IACnB,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CACxC;AAID,wBAAgB,SAAS,uBAMxB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,GAAI,cAAc,mBAAmB,4CA8O/D,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface ThemeProviderProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Provider that applies theme (light/dark/system and theme colors) from settings.
|
|
7
|
-
* Must be rendered inside SettingsProvider so useTheme can read appearance settings.
|
|
8
|
-
* Applies theme to document.documentElement and listens to system preference changes.
|
|
9
|
-
*/
|
|
10
|
-
export declare function ThemeProvider({ children }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/features/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAG7D"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme color definitions following shadcn/ui CSS variable structure
|
|
3
|
-
* Each theme has light and dark mode variants
|
|
4
|
-
* Colors are stored in hex format (e.g., "#4CAF50" or "4CAF50")
|
|
5
|
-
* and converted to HSL when applied to CSS variables
|
|
6
|
-
*/
|
|
7
|
-
export interface ThemeColors {
|
|
8
|
-
light: {
|
|
9
|
-
background: string;
|
|
10
|
-
foreground: string;
|
|
11
|
-
card: string;
|
|
12
|
-
cardForeground: string;
|
|
13
|
-
popover: string;
|
|
14
|
-
popoverForeground: string;
|
|
15
|
-
primary: string;
|
|
16
|
-
primaryForeground: string;
|
|
17
|
-
secondary: string;
|
|
18
|
-
secondaryForeground: string;
|
|
19
|
-
muted: string;
|
|
20
|
-
mutedForeground: string;
|
|
21
|
-
accent: string;
|
|
22
|
-
accentForeground: string;
|
|
23
|
-
destructive: string;
|
|
24
|
-
destructiveForeground: string;
|
|
25
|
-
border: string;
|
|
26
|
-
input: string;
|
|
27
|
-
ring: string;
|
|
28
|
-
radius: string;
|
|
29
|
-
sidebarBackground: string;
|
|
30
|
-
sidebarForeground: string;
|
|
31
|
-
sidebarPrimary: string;
|
|
32
|
-
sidebarPrimaryForeground: string;
|
|
33
|
-
sidebarAccent: string;
|
|
34
|
-
sidebarAccentForeground: string;
|
|
35
|
-
sidebarBorder: string;
|
|
36
|
-
sidebarRing: string;
|
|
37
|
-
};
|
|
38
|
-
dark: {
|
|
39
|
-
background: string;
|
|
40
|
-
foreground: string;
|
|
41
|
-
card: string;
|
|
42
|
-
cardForeground: string;
|
|
43
|
-
popover: string;
|
|
44
|
-
popoverForeground: string;
|
|
45
|
-
primary: string;
|
|
46
|
-
primaryForeground: string;
|
|
47
|
-
secondary: string;
|
|
48
|
-
secondaryForeground: string;
|
|
49
|
-
muted: string;
|
|
50
|
-
mutedForeground: string;
|
|
51
|
-
accent: string;
|
|
52
|
-
accentForeground: string;
|
|
53
|
-
destructive: string;
|
|
54
|
-
destructiveForeground: string;
|
|
55
|
-
border: string;
|
|
56
|
-
input: string;
|
|
57
|
-
ring: string;
|
|
58
|
-
radius: string;
|
|
59
|
-
sidebarBackground: string;
|
|
60
|
-
sidebarForeground: string;
|
|
61
|
-
sidebarPrimary: string;
|
|
62
|
-
sidebarPrimaryForeground: string;
|
|
63
|
-
sidebarAccent: string;
|
|
64
|
-
sidebarAccentForeground: string;
|
|
65
|
-
sidebarBorder: string;
|
|
66
|
-
sidebarRing: string;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
export interface ThemeDefinition {
|
|
70
|
-
name: string;
|
|
71
|
-
displayName: string;
|
|
72
|
-
colors: ThemeColors;
|
|
73
|
-
fontFamily?: string;
|
|
74
|
-
headingFontFamily?: string;
|
|
75
|
-
bodyFontFamily?: string;
|
|
76
|
-
fontFiles?: string[];
|
|
77
|
-
letterSpacing?: string;
|
|
78
|
-
textShadow?: string;
|
|
79
|
-
lineHeight?: string;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Default theme - Green (current ShellUI theme)
|
|
83
|
-
* Colors are in hex format (e.g., "#FFFFFF" or "FFFFFF" for white)
|
|
84
|
-
*/
|
|
85
|
-
export declare const defaultTheme: ThemeDefinition;
|
|
86
|
-
/**
|
|
87
|
-
* Blue theme
|
|
88
|
-
* Colors are in hex format (e.g., "#FFFFFF" or "FFFFFF" for white)
|
|
89
|
-
*/
|
|
90
|
-
export declare const blueTheme: ThemeDefinition;
|
|
91
|
-
/**
|
|
92
|
-
* Warm Yellow theme - Custom yellowish theme with warm tones
|
|
93
|
-
* Colors are in hex format (e.g., "#FFFFFF" or "FFFFFF" for white)
|
|
94
|
-
*/
|
|
95
|
-
export declare const warmYellowTheme: ThemeDefinition;
|
|
96
|
-
/**
|
|
97
|
-
* Register a custom theme
|
|
98
|
-
*/
|
|
99
|
-
export declare function registerTheme(theme: ThemeDefinition): void;
|
|
100
|
-
/**
|
|
101
|
-
* Get a theme by name
|
|
102
|
-
*/
|
|
103
|
-
export declare function getTheme(name: string): ThemeDefinition | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* Get all available themes
|
|
106
|
-
*/
|
|
107
|
-
export declare function getAllThemes(): ThemeDefinition[];
|
|
108
|
-
/**
|
|
109
|
-
* Apply theme colors to the document
|
|
110
|
-
* Converts hex format colors to HSL format for CSS variables
|
|
111
|
-
* Sets variables directly on :root to ensure they override CSS defaults
|
|
112
|
-
*/
|
|
113
|
-
export declare function applyTheme(theme: ThemeDefinition, isDark: boolean): void;
|
|
114
|
-
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../src/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Ae,GAAG,IAAI,CAE1D;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAElE;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,eAAe,EAAE,CAEhD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAuJxE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to apply theme based on settings
|
|
3
|
-
* Applies 'dark' class to document.documentElement based on:
|
|
4
|
-
* - 'light': removes dark class
|
|
5
|
-
* - 'dark': adds dark class
|
|
6
|
-
* - 'system': follows prefers-color-scheme media query
|
|
7
|
-
* Also applies theme colors based on themeName setting
|
|
8
|
-
*/
|
|
9
|
-
export declare function useTheme(): void;
|
|
10
|
-
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/features/theme/useTheme.tsx"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AACH,wBAAgB,QAAQ,SA4CvB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ShellUIConfig } from '../features/config/types';
|
|
3
|
-
interface I18nProviderProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
config?: ShellUIConfig;
|
|
6
|
-
}
|
|
7
|
-
export declare function I18nProvider({ children }: I18nProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=I18nProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"I18nProvider.d.ts","sourceRoot":"","sources":["../../src/i18n/I18nProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAoB3D"}
|
package/dist/i18n/config.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { default as i18n } from 'i18next';
|
|
2
|
-
export declare const allSupportedLanguages: readonly [{
|
|
3
|
-
readonly code: "en";
|
|
4
|
-
readonly name: "English";
|
|
5
|
-
readonly nativeName: "English";
|
|
6
|
-
}, {
|
|
7
|
-
readonly code: "fr";
|
|
8
|
-
readonly name: "French";
|
|
9
|
-
readonly nativeName: "Français";
|
|
10
|
-
}];
|
|
11
|
-
export type SupportedLanguage = (typeof allSupportedLanguages)[number]['code'];
|
|
12
|
-
export declare const initializeI18n: (enabledLanguages?: string | string[]) => string[];
|
|
13
|
-
export declare const getSupportedLanguages: (enabledLanguages?: string | string[]) => ({
|
|
14
|
-
readonly code: "en";
|
|
15
|
-
readonly name: "English";
|
|
16
|
-
readonly nativeName: "English";
|
|
17
|
-
} | {
|
|
18
|
-
readonly code: "fr";
|
|
19
|
-
readonly name: "French";
|
|
20
|
-
readonly nativeName: "Français";
|
|
21
|
-
})[];
|
|
22
|
-
export default i18n;
|
|
23
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/i18n/config.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAS3B,eAAO,MAAM,qBAAqB;;;;;;;;EAGxB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAuC/E,eAAO,MAAM,cAAc,GAAI,mBAAmB,MAAM,GAAG,MAAM,EAAE,aAsClE,CAAC;AAKF,eAAO,MAAM,qBAAqB,GAAI,mBAAmB,MAAM,GAAG,MAAM,EAAE;;;;;;;;IAQzE,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"settings": "Settings",
|
|
3
|
-
"welcome": "Welcome to {{title}}",
|
|
4
|
-
"getStarted": "Select a navigation item to get started.",
|
|
5
|
-
"navigationError": "Navigation error",
|
|
6
|
-
"navigationNotAllowed": "This URL is not configured in the app navigation.",
|
|
7
|
-
"errorBoundary": {
|
|
8
|
-
"titleChunk": "Page couldn't be loaded",
|
|
9
|
-
"titleGeneric": "Something went wrong",
|
|
10
|
-
"descriptionChunk": "This can happen after an update or due to a network issue. Try refreshing the page.",
|
|
11
|
-
"descriptionGeneric": "An unexpected error occurred. You can try again or go back.",
|
|
12
|
-
"tryAgain": "Try again",
|
|
13
|
-
"goToHome": "Go to home",
|
|
14
|
-
"errorDetails": "Error details"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
19
|
-
export default _default;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"title": "We value your privacy",
|
|
3
|
-
"description": "We use cookies to improve your experience, analyze how you use the app, and fix issues. You can accept all cookies, reject non-essential ones, or customize your preferences.",
|
|
4
|
-
"titleRenewal": "Our cookies have changed",
|
|
5
|
-
"descriptionRenewal": "We've updated our cookie policy with new features or services. Please review and confirm your preferences to continue with the best experience.",
|
|
6
|
-
"accept": "Accept all",
|
|
7
|
-
"reject": "Reject all",
|
|
8
|
-
"setPreferences": "Set preferences",
|
|
9
|
-
"preferences": {
|
|
10
|
-
"title": "Cookie Preferences",
|
|
11
|
-
"description": "Manage your cookie preferences. Enable or disable cookies by category or individually.",
|
|
12
|
-
"acceptAll": "Accept all",
|
|
13
|
-
"rejectAll": "Reject all",
|
|
14
|
-
"save": "Save preferences",
|
|
15
|
-
"partial": "Partial",
|
|
16
|
-
"required": "Required",
|
|
17
|
-
"alwaysOn": "Always on",
|
|
18
|
-
"noCookies": "No cookies configured.",
|
|
19
|
-
"categories": {
|
|
20
|
-
"strict_necessary": {
|
|
21
|
-
"title": "Strictly Necessary",
|
|
22
|
-
"description": "Essential for the website to function. Cannot be disabled."
|
|
23
|
-
},
|
|
24
|
-
"functional_performance": {
|
|
25
|
-
"title": "Functional & Performance",
|
|
26
|
-
"description": "Help us improve by collecting anonymous usage data and error reports."
|
|
27
|
-
},
|
|
28
|
-
"targeting": {
|
|
29
|
-
"title": "Targeting & Advertising",
|
|
30
|
-
"description": "Used to deliver personalized advertisements."
|
|
31
|
-
},
|
|
32
|
-
"social_media_embedded": {
|
|
33
|
-
"title": "Social Media & Embedded Content",
|
|
34
|
-
"description": "Enable social media features and embedded content from third parties."
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"duration": {
|
|
38
|
-
"seconds": "{{count}} second",
|
|
39
|
-
"seconds_other": "{{count}} seconds",
|
|
40
|
-
"minutes": "{{count}} minute",
|
|
41
|
-
"minutes_other": "{{count}} minutes",
|
|
42
|
-
"hours": "{{count}} hour",
|
|
43
|
-
"hours_other": "{{count}} hours",
|
|
44
|
-
"days": "{{count}} day",
|
|
45
|
-
"days_other": "{{count}} days",
|
|
46
|
-
"years": "{{count}} year",
|
|
47
|
-
"years_other": "{{count}} years"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
;
|
|
52
|
-
|
|
53
|
-
export default _default;
|