@athenaintel/react 0.6.6 → 0.7.0
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.cjs +666 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +127 -0
- package/dist/index.js +667 -103
- package/dist/index.js.map +1 -1
- package/dist/styles.css +11 -0
- package/package.json +9 -10
package/dist/styles.css
CHANGED
|
@@ -114,6 +114,17 @@
|
|
|
114
114
|
margin-bottom: 0;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* ── Images in messages — fixed small thumbnail ──────────────────── */
|
|
118
|
+
.aui-user-message-content img,
|
|
119
|
+
.aui-assistant-message-content img {
|
|
120
|
+
width: 64px !important;
|
|
121
|
+
height: 64px !important;
|
|
122
|
+
border-radius: 0.375rem !important;
|
|
123
|
+
object-fit: cover !important;
|
|
124
|
+
display: inline-block !important;
|
|
125
|
+
vertical-align: middle !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
117
128
|
/* ── Tiptap composer placeholder ─────────────────────────────────── */
|
|
118
129
|
.ProseMirror p.is-editor-empty:first-child::before,
|
|
119
130
|
.ProseMirror.is-editor-empty:first-child::before {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@athenaintel/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Athena React SDK — Build AI-powered chat applications with the Athena platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -17,13 +17,6 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "pnpm build:css && vite build --watch",
|
|
22
|
-
"build": "vite build && pnpm build:css",
|
|
23
|
-
"build:css": "cp src/styles.css dist/styles.css",
|
|
24
|
-
"typecheck": "tsc --noEmit",
|
|
25
|
-
"prepublishOnly": "pnpm build"
|
|
26
|
-
},
|
|
27
20
|
"peerDependencies": {
|
|
28
21
|
"react": "^18.0.0 || ^19.0.0",
|
|
29
22
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -74,5 +67,11 @@
|
|
|
74
67
|
},
|
|
75
68
|
"sideEffects": [
|
|
76
69
|
"*.css"
|
|
77
|
-
]
|
|
78
|
-
|
|
70
|
+
],
|
|
71
|
+
"scripts": {
|
|
72
|
+
"dev": "pnpm build:css && vite build --watch",
|
|
73
|
+
"build": "vite build && pnpm build:css",
|
|
74
|
+
"build:css": "cp src/styles.css dist/styles.css",
|
|
75
|
+
"typecheck": "tsc --noEmit"
|
|
76
|
+
}
|
|
77
|
+
}
|