@librechat/client 0.1.6 → 0.1.7
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/dist/index.es.js +1 -39
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -39
- package/dist/index.js.map +1 -1
- package/dist/types/common/menus.d.ts +1 -0
- package/dist/types/common/menus.d.ts.map +1 -1
- package/dist/types/common/types.d.ts +1 -0
- package/dist/types/common/types.d.ts.map +1 -1
- package/dist/types/components/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/AnimatedSearchInput.d.ts +2 -2
- package/dist/types/components/AnimatedSearchInput.d.ts.map +1 -1
- package/dist/types/components/AnimatedTabs.d.ts +1 -0
- package/dist/types/components/AnimatedTabs.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb.d.ts +3 -3
- package/dist/types/components/Breadcrumb.d.ts.map +1 -1
- package/dist/types/components/CheckboxButton.d.ts +6 -6
- package/dist/types/components/CheckboxButton.d.ts.map +1 -1
- package/dist/types/components/Collapsible.d.ts +1 -0
- package/dist/types/components/Collapsible.d.ts.map +1 -1
- package/dist/types/components/Combobox.d.ts +1 -0
- package/dist/types/components/Combobox.d.ts.map +1 -1
- package/dist/types/components/ControlCombobox.d.ts +1 -0
- package/dist/types/components/ControlCombobox.d.ts.map +1 -1
- package/dist/types/components/DelayedRender.d.ts.map +1 -1
- package/dist/types/components/Dialog.d.ts +2 -2
- package/dist/types/components/Dialog.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu.d.ts +3 -3
- package/dist/types/components/DropdownMenu.d.ts.map +1 -1
- package/dist/types/components/DropdownPopup.d.ts +1 -1
- package/dist/types/components/DropdownPopup.d.ts.map +1 -1
- package/dist/types/components/HoverCard.d.ts +1 -1
- package/dist/types/components/HoverCard.d.ts.map +1 -1
- package/dist/types/components/InputOTP.d.ts +18 -18
- package/dist/types/components/InputOTP.d.ts.map +1 -1
- package/dist/types/components/InputWithDropDown.d.ts +1 -1
- package/dist/types/components/InputWithDropDown.d.ts.map +1 -1
- package/dist/types/components/Label.d.ts +1 -1
- package/dist/types/components/Label.d.ts.map +1 -1
- package/dist/types/components/OriginalDialog.d.ts +3 -3
- package/dist/types/components/OriginalDialog.d.ts.map +1 -1
- package/dist/types/components/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination.d.ts.map +1 -1
- package/dist/types/components/QuestionMark.d.ts.map +1 -1
- package/dist/types/components/Resizable.d.ts +45 -12
- package/dist/types/components/Resizable.d.ts.map +1 -1
- package/dist/types/components/Separator.d.ts +1 -1
- package/dist/types/components/Separator.d.ts.map +1 -1
- package/dist/types/components/Slider.d.ts +2 -2
- package/dist/types/components/Slider.d.ts.map +1 -1
- package/dist/types/components/SplitText.d.ts +1 -0
- package/dist/types/components/SplitText.d.ts.map +1 -1
- package/dist/types/components/Tag.d.ts +2 -2
- package/dist/types/components/Tag.d.ts.map +1 -1
- package/dist/types/components/TextareaAutosize.d.ts +1 -0
- package/dist/types/components/TextareaAutosize.d.ts.map +1 -1
- package/dist/types/components/ThemeSelector.d.ts +1 -1
- package/dist/types/components/ThemeSelector.d.ts.map +1 -1
- package/dist/types/components/Tooltip.d.ts +1 -0
- package/dist/types/components/Tooltip.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/hooks/{ThemeContext.d.ts → ThemeContext.old.d.ts} +3 -2
- package/dist/types/hooks/ThemeContext.old.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/useCombobox.d.ts +1 -0
- package/dist/types/hooks/useCombobox.d.ts.map +1 -1
- package/dist/types/hooks/useDelayedRender.d.ts.map +1 -1
- package/dist/types/hooks/useLocalize.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/theme/atoms/themeAtoms.d.ts +17 -0
- package/dist/types/theme/atoms/themeAtoms.d.ts.map +1 -0
- package/dist/types/theme/context/ThemeProvider.d.ts +33 -0
- package/dist/types/theme/context/ThemeProvider.d.ts.map +1 -0
- package/dist/types/theme/index.d.ts +7 -0
- package/dist/types/theme/index.d.ts.map +1 -0
- package/dist/types/theme/themes/dark.d.ts +7 -0
- package/dist/types/theme/themes/dark.d.ts.map +1 -0
- package/dist/types/theme/themes/default.d.ts +7 -0
- package/dist/types/theme/themes/default.d.ts.map +1 -0
- package/dist/types/theme/themes/index.d.ts +3 -0
- package/dist/types/theme/themes/index.d.ts.map +1 -0
- package/dist/types/theme/types/index.d.ts +120 -0
- package/dist/types/theme/types/index.d.ts.map +1 -0
- package/dist/types/theme/utils/applyTheme.d.ts +7 -0
- package/dist/types/theme/utils/applyTheme.d.ts.map +1 -0
- package/dist/types/theme/utils/tailwindConfig.d.ts +7 -0
- package/dist/types/theme/utils/tailwindConfig.d.ts.map +1 -0
- package/dist/types/utils/theme.d.ts.map +1 -1
- package/dist/types/utils/utils.d.ts.map +1 -1
- package/package.json +3 -12
- package/dist/types/hooks/ThemeContext.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,UAAU,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,4HA6DxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,UAAU,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,4HA6DxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACx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AAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -3,10 +3,11 @@ type ProviderValue = {
|
|
|
3
3
|
theme: string;
|
|
4
4
|
setTheme: React.Dispatch<React.SetStateAction<string>>;
|
|
5
5
|
};
|
|
6
|
+
export declare const isDark: (theme: string) => boolean;
|
|
6
7
|
export declare const ThemeContext: React.Context<ProviderValue>;
|
|
7
8
|
export declare const ThemeProvider: ({ initialTheme, children, }: {
|
|
8
|
-
initialTheme?: string;
|
|
9
|
+
initialTheme?: string | undefined;
|
|
9
10
|
children: React.ReactNode;
|
|
10
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
12
|
-
//# sourceMappingURL=ThemeContext.d.ts.map
|
|
13
|
+
//# sourceMappingURL=ThemeContext.old.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeContext.old.d.ts","sourceRoot":"","sources":["../../../src/hooks/ThemeContext.old.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAIlE,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACxD,CAAC;AASF,eAAO,MAAM,MAAM,UAAW,MAAM,KAAG,OAKtC,CAAC;AAEF,eAAO,MAAM,YAAY,8BAAoD,CAAC;AAE9E,eAAO,MAAM,aAAa;;cAKd,MAAM,SAAS;6CAsD1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCombobox.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,cAAc,GAAG,aAAa,CAAC,CAAC;CAChD;;;;;;EA0BA"}
|
|
1
|
+
{"version":3,"file":"useCombobox.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCombobox.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,cAAc,GAAG,aAAa,CAAC,CAAC;CAChD;;;;;;EA0BA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDelayedRender.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDelayedRender.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"useDelayedRender.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDelayedRender.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,QAAA,MAAM,gBAAgB,UAAW,MAAM,UAyBzB,MAAM,SAAS,cAM5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocalize.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLocalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC,EAAE,CAAC,WAAW,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,WAAW,
|
|
1
|
+
{"version":3,"file":"useLocalize.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLocalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC,EAAE,CAAC,WAAW,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,WAAW,gBAUd,eAAe,YAAY,QAAQ,YACvD"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import './index.css';
|
|
2
1
|
export * from './components';
|
|
3
2
|
export * from './hooks';
|
|
4
3
|
export * from './common';
|
|
@@ -7,4 +6,5 @@ export * from './store';
|
|
|
7
6
|
export * from './svgs';
|
|
8
7
|
export * from './utils';
|
|
9
8
|
export * from './Providers';
|
|
9
|
+
export * from './theme';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAG/B,cAAc,SAAS,CAAC;AAGxB,cAAc,QAAQ,CAAC;AAGvB,cAAc,SAAS,CAAC;AAGxB,cAAc,aAAa,CAAC;AAG5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IThemeRGB } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Atom for storing the theme mode (light/dark/system) in localStorage
|
|
4
|
+
* Key: 'color-theme'
|
|
5
|
+
*/
|
|
6
|
+
export declare const themeModeAtom: import("jotai").WritableAtom<string, [string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)], void>;
|
|
7
|
+
/**
|
|
8
|
+
* Atom for storing custom theme colors in localStorage
|
|
9
|
+
* Key: 'theme-colors'
|
|
10
|
+
*/
|
|
11
|
+
export declare const themeColorsAtom: import("jotai").WritableAtom<IThemeRGB | undefined, [typeof import("jotai/utils").RESET | IThemeRGB | ((prev: IThemeRGB | undefined) => typeof import("jotai/utils").RESET | IThemeRGB | undefined) | undefined], void>;
|
|
12
|
+
/**
|
|
13
|
+
* Atom for storing the theme name in localStorage
|
|
14
|
+
* Key: 'theme-name'
|
|
15
|
+
*/
|
|
16
|
+
export declare const themeNameAtom: import("jotai").WritableAtom<string | undefined, [string | typeof import("jotai/utils").RESET | ((prev: string | undefined) => string | typeof import("jotai/utils").RESET | undefined) | undefined], void>;
|
|
17
|
+
//# sourceMappingURL=themeAtoms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeAtoms.d.ts","sourceRoot":"","sources":["../../../../src/theme/atoms/themeAtoms.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,aAAa,6JAExB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe,yNAO3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,6MAOzB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IThemeRGB } from '../types';
|
|
3
|
+
type ThemeContextType = {
|
|
4
|
+
theme: string;
|
|
5
|
+
setTheme: (theme: string) => void;
|
|
6
|
+
themeRGB?: IThemeRGB;
|
|
7
|
+
setThemeRGB: (colors?: IThemeRGB) => void;
|
|
8
|
+
themeName?: string;
|
|
9
|
+
setThemeName: (name?: string) => void;
|
|
10
|
+
resetTheme: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const ThemeContext: React.Context<ThemeContextType>;
|
|
13
|
+
export interface ThemeProviderProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
themeRGB?: IThemeRGB;
|
|
16
|
+
themeName?: string;
|
|
17
|
+
initialTheme?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if theme is dark
|
|
21
|
+
*/
|
|
22
|
+
export declare const isDark: (theme: string) => boolean;
|
|
23
|
+
/**
|
|
24
|
+
* ThemeProvider component that handles both dark/light mode switching
|
|
25
|
+
* and dynamic color themes via CSS variables with localStorage persistence
|
|
26
|
+
*/
|
|
27
|
+
export declare function ThemeProvider({ children, themeRGB: propThemeRGB, themeName: propThemeName, initialTheme, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* Hook to access the current theme context
|
|
30
|
+
*/
|
|
31
|
+
export declare function useTheme(): ThemeContextType;
|
|
32
|
+
export default ThemeProvider;
|
|
33
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/theme/context/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6E,MAAM,OAAO,CAAC;AAElG,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAIrC,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAGF,eAAO,MAAM,YAAY,iCAMvB,CAAC;AAEH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,UAAW,MAAM,KAAG,OAKtC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,aAAa,EACxB,YAAY,GACb,EAAE,kBAAkB,2CAoGpB;AAED;;GAEG;AACH,wBAAgB,QAAQ,qBAMvB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export { ThemeProvider, ThemeContext, useTheme, isDark } from './context/ThemeProvider';
|
|
3
|
+
export { default as applyTheme } from './utils/applyTheme';
|
|
4
|
+
export { createTailwindColors } from './utils/tailwindConfig';
|
|
5
|
+
export { themeModeAtom, themeColorsAtom, themeNameAtom } from './atoms/themeAtoms';
|
|
6
|
+
export * from './themes';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGxF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnF,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dark.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes/dark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,SA+CvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,SA+C1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the color channels. Passed to the context from each app.
|
|
3
|
+
* RGB values should be in format "255 255 255" (space-separated)
|
|
4
|
+
*/
|
|
5
|
+
export interface IThemeRGB {
|
|
6
|
+
'rgb-text-primary'?: string;
|
|
7
|
+
'rgb-text-secondary'?: string;
|
|
8
|
+
'rgb-text-secondary-alt'?: string;
|
|
9
|
+
'rgb-text-tertiary'?: string;
|
|
10
|
+
'rgb-text-warning'?: string;
|
|
11
|
+
'rgb-ring-primary'?: string;
|
|
12
|
+
'rgb-header-primary'?: string;
|
|
13
|
+
'rgb-header-hover'?: string;
|
|
14
|
+
'rgb-header-button-hover'?: string;
|
|
15
|
+
'rgb-surface-active'?: string;
|
|
16
|
+
'rgb-surface-active-alt'?: string;
|
|
17
|
+
'rgb-surface-hover'?: string;
|
|
18
|
+
'rgb-surface-hover-alt'?: string;
|
|
19
|
+
'rgb-surface-primary'?: string;
|
|
20
|
+
'rgb-surface-primary-alt'?: string;
|
|
21
|
+
'rgb-surface-primary-contrast'?: string;
|
|
22
|
+
'rgb-surface-secondary'?: string;
|
|
23
|
+
'rgb-surface-secondary-alt'?: string;
|
|
24
|
+
'rgb-surface-tertiary'?: string;
|
|
25
|
+
'rgb-surface-tertiary-alt'?: string;
|
|
26
|
+
'rgb-surface-dialog'?: string;
|
|
27
|
+
'rgb-surface-submit'?: string;
|
|
28
|
+
'rgb-surface-submit-hover'?: string;
|
|
29
|
+
'rgb-surface-destructive'?: string;
|
|
30
|
+
'rgb-surface-destructive-hover'?: string;
|
|
31
|
+
'rgb-surface-chat'?: string;
|
|
32
|
+
'rgb-border-light'?: string;
|
|
33
|
+
'rgb-border-medium'?: string;
|
|
34
|
+
'rgb-border-medium-alt'?: string;
|
|
35
|
+
'rgb-border-heavy'?: string;
|
|
36
|
+
'rgb-border-xheavy'?: string;
|
|
37
|
+
'rgb-brand-purple'?: string;
|
|
38
|
+
'rgb-presentation'?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Name of the CSS variables used in tailwind.config
|
|
42
|
+
*/
|
|
43
|
+
export interface IThemeVariables {
|
|
44
|
+
'--text-primary': string;
|
|
45
|
+
'--text-secondary': string;
|
|
46
|
+
'--text-secondary-alt': string;
|
|
47
|
+
'--text-tertiary': string;
|
|
48
|
+
'--text-warning': string;
|
|
49
|
+
'--ring-primary': string;
|
|
50
|
+
'--header-primary': string;
|
|
51
|
+
'--header-hover': string;
|
|
52
|
+
'--header-button-hover': string;
|
|
53
|
+
'--surface-active': string;
|
|
54
|
+
'--surface-active-alt': string;
|
|
55
|
+
'--surface-hover': string;
|
|
56
|
+
'--surface-hover-alt': string;
|
|
57
|
+
'--surface-primary': string;
|
|
58
|
+
'--surface-primary-alt': string;
|
|
59
|
+
'--surface-primary-contrast': string;
|
|
60
|
+
'--surface-secondary': string;
|
|
61
|
+
'--surface-secondary-alt': string;
|
|
62
|
+
'--surface-tertiary': string;
|
|
63
|
+
'--surface-tertiary-alt': string;
|
|
64
|
+
'--surface-dialog': string;
|
|
65
|
+
'--surface-submit': string;
|
|
66
|
+
'--surface-submit-hover': string;
|
|
67
|
+
'--surface-destructive': string;
|
|
68
|
+
'--surface-destructive-hover': string;
|
|
69
|
+
'--surface-chat': string;
|
|
70
|
+
'--border-light': string;
|
|
71
|
+
'--border-medium': string;
|
|
72
|
+
'--border-medium-alt': string;
|
|
73
|
+
'--border-heavy': string;
|
|
74
|
+
'--border-xheavy': string;
|
|
75
|
+
'--brand-purple': string;
|
|
76
|
+
'--presentation': string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Name of the defined colors in the Tailwind theme
|
|
80
|
+
*/
|
|
81
|
+
export interface IThemeColors {
|
|
82
|
+
'text-primary'?: string;
|
|
83
|
+
'text-secondary'?: string;
|
|
84
|
+
'text-secondary-alt'?: string;
|
|
85
|
+
'text-tertiary'?: string;
|
|
86
|
+
'text-warning'?: string;
|
|
87
|
+
'ring-primary'?: string;
|
|
88
|
+
'header-primary'?: string;
|
|
89
|
+
'header-hover'?: string;
|
|
90
|
+
'header-button-hover'?: string;
|
|
91
|
+
'surface-active'?: string;
|
|
92
|
+
'surface-active-alt'?: string;
|
|
93
|
+
'surface-hover'?: string;
|
|
94
|
+
'surface-hover-alt'?: string;
|
|
95
|
+
'surface-primary'?: string;
|
|
96
|
+
'surface-primary-alt'?: string;
|
|
97
|
+
'surface-primary-contrast'?: string;
|
|
98
|
+
'surface-secondary'?: string;
|
|
99
|
+
'surface-secondary-alt'?: string;
|
|
100
|
+
'surface-tertiary'?: string;
|
|
101
|
+
'surface-tertiary-alt'?: string;
|
|
102
|
+
'surface-dialog'?: string;
|
|
103
|
+
'surface-submit'?: string;
|
|
104
|
+
'surface-submit-hover'?: string;
|
|
105
|
+
'surface-destructive'?: string;
|
|
106
|
+
'surface-destructive-hover'?: string;
|
|
107
|
+
'surface-chat'?: string;
|
|
108
|
+
'border-light'?: string;
|
|
109
|
+
'border-medium'?: string;
|
|
110
|
+
'border-medium-alt'?: string;
|
|
111
|
+
'border-heavy'?: string;
|
|
112
|
+
'border-xheavy'?: string;
|
|
113
|
+
'brand-purple'?: string;
|
|
114
|
+
presentation?: string;
|
|
115
|
+
}
|
|
116
|
+
export interface Theme {
|
|
117
|
+
name: string;
|
|
118
|
+
colors: IThemeRGB;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,SAAS;IA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YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,CAAC;CACnB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IThemeRGB } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Applies theme to the document root
|
|
4
|
+
* Sets CSS variables as rgb() values for compatibility with existing CSS
|
|
5
|
+
*/
|
|
6
|
+
export default function applyTheme(themeRGB?: IThemeRGB): void;
|
|
7
|
+
//# sourceMappingURL=applyTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyTheme.d.ts","sourceRoot":"","sources":["../../../../src/theme/utils/applyTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmB,MAAM,UAAU,CAAC;AAyEtD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,QAAQ,CAAC,EAAE,SAAS,QAmBtD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IThemeColors } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Creates Tailwind color configuration that uses CSS variables
|
|
4
|
+
* This allows dynamic theme switching by changing CSS variable values
|
|
5
|
+
*/
|
|
6
|
+
export declare function createTailwindColors(): IThemeColors;
|
|
7
|
+
//# sourceMappingURL=tailwindConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailwindConfig.d.ts","sourceRoot":"","sources":["../../../../src/theme/utils/tailwindConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AASxC;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,YAAY,CAoCnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/utils/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/utils/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAS,MAAM,SAqBxC,CAAC;AAEF,eAAO,MAAM,eAAe,cAc3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,eAAO,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,eAAO,MAAM,EAAE,cAAe,UAAU,EAAE,KAAG,MAE5C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@librechat/client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "React components for LibreChat",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@ariakit/react": "^0.4.16",
|
|
34
34
|
"@ariakit/react-core": "^0.4.17",
|
|
35
35
|
"@headlessui/react": "^2.1.2",
|
|
36
|
-
"@radix-ui/react-accordion": "^1.
|
|
36
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
37
37
|
"@radix-ui/react-alert-dialog": "^1.0.2",
|
|
38
38
|
"@radix-ui/react-checkbox": "^1.0.3",
|
|
39
39
|
"@radix-ui/react-collapsible": "^1.1.11",
|
|
@@ -51,9 +51,6 @@
|
|
|
51
51
|
"@radix-ui/react-switch": "^1.2.5",
|
|
52
52
|
"@radix-ui/react-tabs": "^1.0.3",
|
|
53
53
|
"@radix-ui/react-toast": "^1.1.5",
|
|
54
|
-
"@radix-ui/react-tooltip": "^1.2.7"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
54
|
"@react-spring/web": "^10.0.1",
|
|
58
55
|
"class-variance-authority": "^0.6.0",
|
|
59
56
|
"clsx": "^1.2.1",
|
|
@@ -74,17 +71,13 @@
|
|
|
74
71
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
75
72
|
"@rollup/plugin-replace": "^5.0.5",
|
|
76
73
|
"@rollup/plugin-terser": "^0.4.4",
|
|
77
|
-
"@tailwindcss/typography": "^0.5.10",
|
|
78
74
|
"@tanstack/react-query": "^4.28.0",
|
|
79
75
|
"@testing-library/react": "^14.0.0",
|
|
80
76
|
"@types/react": "^18.2.11",
|
|
81
77
|
"@types/react-dom": "^18.2.4",
|
|
82
|
-
"
|
|
78
|
+
"concat-with-sourcemaps": "^1.1.0",
|
|
83
79
|
"i18next": "^24.2.3",
|
|
84
80
|
"jotai": "^2.12.5",
|
|
85
|
-
"postcss": "^8.4.31",
|
|
86
|
-
"postcss-import": "^15.1.0",
|
|
87
|
-
"postcss-preset-env": "^8.5.1",
|
|
88
81
|
"react": "^18.2.0",
|
|
89
82
|
"react-dom": "^18.2.0",
|
|
90
83
|
"react-i18next": "^15.4.0",
|
|
@@ -93,8 +86,6 @@
|
|
|
93
86
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
94
87
|
"rollup-plugin-postcss": "^4.0.2",
|
|
95
88
|
"rollup-plugin-typescript2": "^0.35.0",
|
|
96
|
-
"tailwindcss": "^3.4.1",
|
|
97
|
-
"tailwindcss-animate": "^1.0.5",
|
|
98
89
|
"tailwindcss-radix": "^2.8.0",
|
|
99
90
|
"typescript": "^5.0.0"
|
|
100
91
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeContext.d.ts","sourceRoot":"","sources":["../../../src/hooks/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAKlE,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACxD,CAAC;AAEF,eAAO,MAAM,YAAY,8BAGvB,CAAC;AAEH,eAAO,MAAM,aAAa,GAAI,6BAG3B;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,4CAgCA,CAAC"}
|