@librechat/client 0.4.56 → 0.4.58
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 +38 -38
- package/dist/index.js +37 -39
- package/dist/types/components/OGDialogTemplate.d.ts.map +1 -1
- package/dist/types/components/Radio.d.ts +1 -0
- package/dist/types/components/Radio.d.ts.map +1 -1
- package/dist/types/components/Resizable.d.ts +540 -43
- package/dist/types/components/Resizable.d.ts.map +1 -1
- package/dist/types/components/Tooltip.d.ts.map +1 -1
- package/dist/types/hooks/useLocalize.d.ts +1 -0
- package/dist/types/hooks/useLocalize.d.ts.map +1 -1
- package/dist/types/store.d.ts +0 -3
- package/dist/types/store.d.ts.map +1 -1
- package/dist/types/svgs/FileIcon.d.ts +3 -2
- package/dist/types/svgs/FileIcon.d.ts.map +1 -1
- package/dist/types/svgs/NewChatIcon.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resizable.d.ts","sourceRoot":"","sources":["../../../src/components/Resizable.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Resizable.d.ts","sourceRoot":"","sources":["../../../src/components/Resizable.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,mBAAmB,4BAAkC,eAAe,YAAY,CAAC,4CAEtF,CAAC;AAEF,QAAA,MAAM,cAAc,cAAQ,CAAC;AAE7B,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAoBpB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAoBvB,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C,OAAO,eAAe,CAAC;AAEvB,UAAU,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C,OAAO,eAAe,CAAC;AAEvB,UAAU,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C;AA6FD,eAAO,MAAM,aAAa,4HA4BxB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TOptions } from 'i18next';
|
|
2
2
|
import { resources } from '~/locales/i18n';
|
|
3
3
|
export type TranslationKeys = keyof typeof resources.en.translation;
|
|
4
|
+
/** Language lifecycle is managed by the host app — do not add i18n.changeLanguage() calls here. */
|
|
4
5
|
export default function useLocalize(): (phraseKey: TranslationKeys, options?: TOptions) => string;
|
|
5
6
|
//# sourceMappingURL=useLocalize.d.ts.map
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"useLocalize.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLocalize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC,EAAE,CAAC,WAAW,CAAC;AAEpE,mGAAmG;AACnG,MAAM,CAAC,OAAO,UAAU,WAAW,gBAInB,eAAe,YAAY,QAAQ,YAGlD"}
|
package/dist/types/store.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;CAAsB,CAAC;AACrD,eAAO,MAAM,YAAY;;CAA4B,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAKrB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { TFile } from 'librechat-data-provider';
|
|
3
|
-
import type { ExtendedFile } from '~/common';
|
|
4
3
|
export default function FileIcon({ file, fileType, }: {
|
|
5
|
-
file?: Partial<
|
|
4
|
+
file?: Partial<TFile> & {
|
|
5
|
+
progress?: number;
|
|
6
|
+
};
|
|
6
7
|
fileType: {
|
|
7
8
|
fill: string;
|
|
8
9
|
paths: React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../src/svgs/FileIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../src/svgs/FileIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,2CAeA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewChatIcon.d.ts","sourceRoot":"","sources":["../../../src/svgs/NewChatIcon.tsx"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,SAAc,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"NewChatIcon.d.ts","sourceRoot":"","sources":["../../../src/svgs/NewChatIcon.tsx"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,SAAc,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAmB7E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@librechat/client",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.58",
|
|
4
4
|
"description": "React components for LibreChat",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@tanstack/react-virtual": "^3.0.0",
|
|
59
59
|
"class-variance-authority": "^0.7.1",
|
|
60
60
|
"clsx": "^2.1.1",
|
|
61
|
-
"dompurify": "^3.
|
|
61
|
+
"dompurify": "^3.4.0",
|
|
62
62
|
"framer-motion": "^12.23.6",
|
|
63
63
|
"i18next": "^24.2.2 || ^25.3.2",
|
|
64
64
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"react-dom": "^18.2.0 || ^19.1.0",
|
|
72
72
|
"react-hook-form": "^7.56.4",
|
|
73
73
|
"react-i18next": "^15.4.0 || ^15.6.0",
|
|
74
|
-
"react-resizable-panels": "^
|
|
74
|
+
"react-resizable-panels": "^4.7.4",
|
|
75
75
|
"react-textarea-autosize": "^8.4.0",
|
|
76
76
|
"tailwind-merge": "^1.9.1"
|
|
77
77
|
},
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"rollup": "^4.34.9",
|
|
109
109
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
110
110
|
"rollup-plugin-postcss": "^4.0.2",
|
|
111
|
-
"rollup-plugin-typescript2": "^0.
|
|
111
|
+
"rollup-plugin-typescript2": "^0.37.0",
|
|
112
112
|
"tailwindcss-radix": "^2.8.0",
|
|
113
113
|
"typescript": "^5.0.0"
|
|
114
114
|
}
|