@gram-ai/elements 1.0.1 → 1.0.2

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.
@@ -0,0 +1,4 @@
1
+ export * from './global.css';
2
+ export { ElementsProvider as GramElementsProvider } from './contexts/ElementsProvider';
3
+ export { useElements as useGramElements } from './contexts/ElementsProvider';
4
+ export { Chat as GramChat } from './components/Chat';
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "@gram-ai/elements",
3
3
  "description": "Gram Elements is a library of UI primitives for building chat-like experiences for MCP Servers.",
4
4
  "type": "module",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "main": "dist/index.js",
7
7
  "exports": {
8
8
  ".": {
9
- "import": "./dist/index.js",
9
+ "import": "./dist/elements.js",
10
10
  "types": "./dist/index.d.ts"
11
11
  },
12
12
  "./elements.css": "./dist/elements.css"
@@ -22,26 +22,48 @@
22
22
  "access": "public"
23
23
  },
24
24
  "scripts": {
25
- "type-check": "tsc --noEmit",
26
25
  "build": "vite build",
27
26
  "lint": "eslint . && tsc -b --noEmit",
28
27
  "analyze": "pnpm dlx vite-bundle-visualizer",
29
28
  "storybook": "storybook dev -p 6006",
30
29
  "build-storybook": "storybook build",
31
- "chromatic": "npx chromatic --project-token=chpt_25f10196300abe0"
30
+ "type-check": "tsc --noEmit"
32
31
  },
33
32
  "keywords": [],
34
33
  "author": "Adam Bull <adam@speakeasy.com>",
35
34
  "license": "ISC",
36
35
  "packageManager": "pnpm@10.18.2",
36
+ "peerDependencies": {
37
+ "@assistant-ui/react": "^0.11.0",
38
+ "@assistant-ui/react-markdown": "^0.11.0",
39
+ "@types/react": "^19.1.13",
40
+ "@types/react-dom": "^19.1.13",
41
+ "motion": "^12.0.0",
42
+ "react": "^19.1.13",
43
+ "react-dom": "^19.1.13",
44
+ "remark-gfm": "^4.0.0",
45
+ "zustand": "^5.0.0"
46
+ },
47
+ "dependencies": {
48
+ "@radix-ui/react-avatar": "^1.1.10",
49
+ "@radix-ui/react-dialog": "^1.1.15",
50
+ "@radix-ui/react-slot": "^1.2.3",
51
+ "@radix-ui/react-tooltip": "^1.2.8",
52
+ "class-variance-authority": "^0.7.1",
53
+ "clsx": "^2.1.1",
54
+ "lucide-react": "^0.544.0",
55
+ "tailwind-merge": "^3.3.1"
56
+ },
37
57
  "devDependencies": {
38
58
  "@ai-sdk/openai": "2.0.0-beta.5",
59
+ "@assistant-ui/react": "^0.11.37",
60
+ "@assistant-ui/react-markdown": "^0.11.4",
39
61
  "@eslint/compat": "^2.0.0",
40
62
  "@eslint/js": "^9.39.1",
41
63
  "@storybook/addon-docs": "^10.0.8",
42
64
  "@storybook/addon-onboarding": "^10.0.8",
43
65
  "@storybook/react-vite": "^10.0.8",
44
- "@types/express": "^5.0.5",
66
+ "@tailwindcss/vite": "^4.1.13",
45
67
  "@types/node": "^24.10.1",
46
68
  "@vitejs/plugin-react": "^5.0.3",
47
69
  "ai": "5.0.90",
@@ -53,36 +75,17 @@
53
75
  "eslint-plugin-react-refresh": "^0.4.24",
54
76
  "eslint-plugin-storybook": "^10.1.4",
55
77
  "eslint-plugin-unused-imports": "^4.3.0",
78
+ "motion": "^12.23.14",
56
79
  "prettier": "^3.7.4",
57
80
  "prettier-plugin-tailwindcss": "^0.7.2",
81
+ "remark-gfm": "^4.0.1",
58
82
  "semantic-release": "^24.2.0",
59
83
  "storybook": "^10.0.8",
84
+ "tailwindcss": "^4.1.13",
60
85
  "tw-animate-css": "^1.3.8",
61
86
  "typescript-eslint": "^8.48.1",
62
- "vite": "^7.1.6"
63
- },
64
- "peerDependencies": {
65
- "@types/react": "^19.1.13",
66
- "@types/react-dom": "^19.1.13",
67
- "react": "^19.1.13",
68
- "react-dom": "^19.1.13"
69
- },
70
- "dependencies": {
71
- "@assistant-ui/react": "^0.11.37",
72
- "@assistant-ui/react-ai-sdk": "^1.1.9",
73
- "@assistant-ui/react-markdown": "^0.11.4",
74
- "@radix-ui/react-avatar": "^1.1.10",
75
- "@radix-ui/react-dialog": "^1.1.15",
76
- "@radix-ui/react-slot": "^1.2.3",
77
- "@radix-ui/react-tooltip": "^1.2.8",
78
- "@tailwindcss/vite": "^4.1.13",
79
- "class-variance-authority": "^0.7.1",
80
- "clsx": "^2.1.1",
81
- "lucide-react": "^0.544.0",
82
- "motion": "^12.23.14",
83
- "remark-gfm": "^4.0.1",
84
- "tailwind-merge": "^3.3.1",
85
- "tailwindcss": "^4.1.13",
87
+ "vite": "^7.1.6",
88
+ "vite-plugin-dts": "^4.5.4",
86
89
  "zustand": "^5.0.8"
87
90
  }
88
91
  }