@sciol/xyzen 0.3.5 → 0.3.6

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.
Files changed (39) hide show
  1. package/dist/app/App.d.ts +1 -1
  2. package/dist/app/AppSide.d.ts +6 -0
  3. package/dist/components/animate-ui/components/buttons/button.d.ts +9 -0
  4. package/dist/components/animate-ui/primitives/animate/slot.d.ts +17 -0
  5. package/dist/components/animate-ui/primitives/buttons/button.d.ts +8 -0
  6. package/dist/components/animate-ui/primitives/buttons/liquid.d.ts +10 -0
  7. package/dist/components/animate-ui/primitives/effects/auto-height.d.ts +11 -0
  8. package/dist/components/animate-ui/primitives/effects/highlight.d.ts +92 -0
  9. package/dist/components/animate-ui/primitives/headless/dialog.d.ts +42 -0
  10. package/dist/components/{base/Modal.d.ts → animate-ui/primitives/headless/modal.d.ts} +1 -1
  11. package/dist/components/animate-ui/primitives/radix/tabs.d.ts +32 -0
  12. package/dist/components/charts/index.d.ts +2 -2
  13. package/dist/components/layouts/ActivityBar.d.ts +8 -0
  14. package/dist/components/layouts/AgentExplorer.d.ts +1 -0
  15. package/dist/components/layouts/Explorer.d.ts +1 -0
  16. package/dist/components/layouts/McpListModal.d.ts +1 -0
  17. package/dist/components/layouts/Workshop.d.ts +1 -0
  18. package/dist/components/layouts/WorkshopChat.d.ts +1 -0
  19. package/dist/components/layouts/XyzenAgent.d.ts +7 -3
  20. package/dist/components/shared/JsonDisplay.d.ts +1 -1
  21. package/dist/configs/chatThemes.d.ts +9 -0
  22. package/dist/hooks/use-auto-height.d.ts +10 -0
  23. package/dist/hooks/use-controlled-state.d.ts +8 -0
  24. package/dist/hooks/useWorkShopChat.d.ts +69 -0
  25. package/dist/hooks/useXyzenChat.d.ts +69 -0
  26. package/dist/lib/get-strict-context.d.ts +9 -0
  27. package/dist/lib/utils.d.ts +2 -0
  28. package/dist/store/slices/agentSlice.d.ts +7 -1
  29. package/dist/store/slices/uiSlice.d.ts +9 -0
  30. package/dist/types/chartTypes.d.ts +7 -7
  31. package/dist/utils/chartDetection.d.ts +1 -1
  32. package/dist/utils/chartThemes.d.ts +4 -4
  33. package/dist/xyzen.css +1 -1
  34. package/dist/xyzen.es.js +99837 -89933
  35. package/dist/xyzen.umd.js +138 -128
  36. package/package.json +14 -5
  37. package/dist/app/LlmProviders.d.ts +0 -1
  38. package/dist/app/Mcp.d.ts +0 -1
  39. package/dist/test-charts.d.ts +0 -6
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sciol/xyzen",
3
3
  "type": "module",
4
4
  "packageManager": "yarn@4.9.2",
5
- "version": "0.3.5",
5
+ "version": "0.3.6",
6
6
  "description": "A modern, lightweight, and extensible chat component for React.",
7
7
  "author": "Haohui <harveyque@outlook.com>",
8
8
  "license": "GPL-3.0-only",
@@ -40,26 +40,33 @@
40
40
  "build:lib": "rimraf dist && cross-env BUILD_MODE=library vite build",
41
41
  "image:bohr": "docker buildx build . --build-arg VITE_XYZEN_BACKEND_URL=https://uni-xyzen.test.bohrium.com --platform linux/amd64 -t registry.dp.tech/public/xyzen-web:latest --push",
42
42
  "lint": "eslint .",
43
+ "type-check": "tsc --noEmit",
43
44
  "preview": "vite preview",
44
- "publish": "yarn npm publish"
45
+ "publish": "yarn npm publish",
46
+ "prettier": "prettier --write .",
47
+ "shadcn": "yarn dlx shadcn@latest"
45
48
  },
46
49
  "dependencies": {
47
50
  "@dnd-kit/core": "^6.3.1",
48
51
  "@dnd-kit/modifiers": "^9.0.0",
49
52
  "@emotion/is-prop-valid": "^1.3.1",
50
- "@headlessui/react": "^2.2.4",
53
+ "@headlessui/react": "^2.2.9",
51
54
  "@heroicons/react": "^2.2.0",
52
55
  "@tailwindcss/vite": "^4.1.11",
53
56
  "@tanstack/react-query": "^5.83.0",
54
57
  "@types/react-syntax-highlighter": "^15.5.13",
58
+ "class-variance-authority": "^0.7.1",
55
59
  "clsx": "^2.1.1",
56
60
  "date-fns": "^4.1.0",
57
61
  "date-fns-tz": "^3.2.0",
58
62
  "echarts": "^6.0.0",
59
- "echarts-for-react": "3.0.2",
63
+ "echarts-for-react": "^3.0.5",
60
64
  "framer-motion": "^12.23.9",
61
65
  "immer": "^10.1.1",
62
66
  "katex": "^0.16.22",
67
+ "lucide-react": "^0.552.0",
68
+ "motion": "^12.23.24",
69
+ "radix-ui": "^1.4.3",
63
70
  "react": "^19.1.0",
64
71
  "react-dom": "^19.1.0",
65
72
  "react-markdown": "^10.1.0",
@@ -70,6 +77,7 @@
70
77
  "rehype-raw": "^7.0.0",
71
78
  "remark-gfm": "^4.0.1",
72
79
  "remark-math": "^6.0.0",
80
+ "tailwind-merge": "^3.3.1",
73
81
  "tailwindcss": "^4.1.11",
74
82
  "uuid": "^11.1.0",
75
83
  "zustand": "^5.0.6"
@@ -77,7 +85,7 @@
77
85
  "devDependencies": {
78
86
  "@eslint/js": "^9.30.1",
79
87
  "@types/echarts": "^5.0.0",
80
- "@types/node": "^24.1.0",
88
+ "@types/node": "^24.10.0",
81
89
  "@types/react": "^19.1.8",
82
90
  "@types/react-dom": "^19.1.6",
83
91
  "@types/uuid": "^10.0.0",
@@ -89,6 +97,7 @@
89
97
  "globals": "^16.3.0",
90
98
  "prettier": "^3.6.2",
91
99
  "rimraf": "^6.0.1",
100
+ "tw-animate-css": "^1.4.0",
92
101
  "typescript": "~5.8.3",
93
102
  "typescript-eslint": "^8.35.1",
94
103
  "vite": "^7.1.7",
@@ -1 +0,0 @@
1
- export declare function LlmProviders(): import("react/jsx-runtime").JSX.Element;
package/dist/app/Mcp.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function Mcp(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- /**
3
- * Test component to verify chart rendering works
4
- */
5
- export declare const ChartTestComponent: React.FC;
6
- export default ChartTestComponent;