@springbrand/message-panel 0.1.3-alpha.12 → 0.1.3-alpha.13

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.
@@ -165,7 +165,15 @@ export function FileView({
165
165
  data-state={status === "ready" ? "done" : status}
166
166
  >
167
167
  <span className="flex size-8 shrink-0 items-center justify-center rounded-[10px] bg-kumo-control text-kumo-inactive themed-thumbnail-shadow">
168
- <AttachmentIcon className="size-4" aria-hidden="true" />
168
+ {isImage ? (
169
+ <img
170
+ src={file.url}
171
+ alt=""
172
+ className="size-8 object-cover"
173
+ />
174
+ ) : (
175
+ <AttachmentIcon className="size-4" aria-hidden="true" />
176
+ )}
169
177
  </span>
170
178
  <span className="flex min-w-0 flex-col">
171
179
  <span className="max-w-36 truncate text-xs font-medium text-kumo-default">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springbrand/message-panel",
3
- "version": "0.1.3-alpha.12",
3
+ "version": "0.1.3-alpha.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",