@runtypelabs/persona 1.44.0 → 1.44.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.
- package/dist/index.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.global.js +51 -51
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +29 -29
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/client.test.ts +1 -1
- package/src/client.ts +1 -1
- package/src/components/message-bubble.ts +123 -2
- package/src/session.ts +2 -1
- package/src/ui.ts +66 -0
- package/src/utils/attachment-manager.ts +8 -2
- package/src/utils/content.ts +5 -0
package/dist/index.d.cts
CHANGED
|
@@ -2997,6 +2997,10 @@ declare class AttachmentManager {
|
|
|
2997
2997
|
* Handle file input change event
|
|
2998
2998
|
*/
|
|
2999
2999
|
handleFileSelect(files: FileList | null): Promise<void>;
|
|
3000
|
+
/**
|
|
3001
|
+
* Handle an array of files (e.g., clipboard image paste)
|
|
3002
|
+
*/
|
|
3003
|
+
handleFiles(files: readonly File[]): Promise<void>;
|
|
3000
3004
|
/**
|
|
3001
3005
|
* Remove an attachment by ID
|
|
3002
3006
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2997,6 +2997,10 @@ declare class AttachmentManager {
|
|
|
2997
2997
|
* Handle file input change event
|
|
2998
2998
|
*/
|
|
2999
2999
|
handleFileSelect(files: FileList | null): Promise<void>;
|
|
3000
|
+
/**
|
|
3001
|
+
* Handle an array of files (e.g., clipboard image paste)
|
|
3002
|
+
*/
|
|
3003
|
+
handleFiles(files: readonly File[]): Promise<void>;
|
|
3000
3004
|
/**
|
|
3001
3005
|
* Remove an attachment by ID
|
|
3002
3006
|
*/
|