chore: update package version to 0.1.5 and adjust peer dependencies

- Bump version in package.json from 0.1.4 to 0.1.5.
- Update peer dependency for @tanstack/react-query to allow version 5.0.0.
- Add @tanstack/react-table and @tanstack/react-virtual as dependencies.
- Update various dependencies to their latest compatible versions.
- Simplify postcss.config.js by removing unnecessary options.
- Clean up rollup.config.js by removing ignored PostCSS warnings.
- Update CheckboxButton component to cast icon as React JSX element.
- Adjust Combobox component's class names for better styling.
- Change DropdownPopup component to use React's namespace import.
- Modify InputOTP component to use 'any' type for OTPInputContext.
- Ensure displayLabel and value in ModelParameters are converted to strings.
- Update MultiSearch component's placeholder to ensure it's a string.
- Cast selectIcon in MultiSelect as React JSX element for consistency.
- Update OGDialogTemplate to cast selectText as React JSX element.
- Initialize animationRef in PixelCard with undefined for clarity.
- Add TypeScript ignore comments in Select and SelectDropDown components for Radix UI type conflicts.
- Ensure title in SelectDropDown is a string and adjust rendering of options.
- Update useLocalize hook to cast options as any for compatibility.
This commit is contained in:
Marco Beretta 2025-07-23 16:28:55 +02:00
parent 59412c2b36
commit de69bcdd64
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
15 changed files with 10122 additions and 14220 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@librechat/client",
"version": "0.1.4",
"version": "0.1.5",
"description": "React components for LibreChat",
"main": "dist/index.js",
"module": "dist/index.es.js",
@ -22,14 +22,14 @@
"dev": "rollup -c -w --bundleConfigAsCjs"
},
"peerDependencies": {
"@tanstack/react-query": "^4.28.0 || ^5.69.0",
"@tanstack/react-query": "^4.28.0 || ^5.0.0",
"i18next": "^24.2.2 || ^25.3.2",
"jotai": "^2.12.5",
"react": "^18.2.0 || ^19.1.0",
"react-dom": "^18.2.0 || ^19.1.0",
"react-i18next": "^15.4.0 || ^15.6.0"
},
"dependencies": {
"react-i18next": "^15.4.0 || ^15.6.0",
"@tanstack/react-table": "^8.11.7",
"@tanstack/react-virtual": "^3.0.0",
"@ariakit/react": "^0.4.16",
"@ariakit/react-core": "^0.4.17",
"@headlessui/react": "^2.1.2",
@ -51,10 +51,10 @@
"@radix-ui/react-switch": "^1.2.5",
"@radix-ui/react-tabs": "^1.0.3",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.2.7",
"@radix-ui/react-tooltip": "^1.2.7"
},
"dependencies": {
"@react-spring/web": "^10.0.1",
"@tanstack/react-table": "^8.11.7",
"@tanstack/react-virtual": "^3.0.0",
"class-variance-authority": "^0.6.0",
"clsx": "^1.2.1",
"framer-motion": "^12.23.6",
@ -75,19 +75,19 @@
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@tailwindcss/typography": "^0.5.10",
"@tanstack/react-query": "^5.69.0",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@tanstack/react-query": "^4.28.0",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"autoprefixer": "^10.4.20",
"i18next": "^25.3.2",
"i18next": "^24.2.3",
"jotai": "^2.12.5",
"postcss": "^8.4.31",
"postcss-import": "^15.1.0",
"postcss-preset-env": "^8.5.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^15.4.0",
"rimraf": "^5.0.1",
"rollup": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",