@aparte/svelte 0.16.0 → 0.16.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/AparteChat.svelte +2 -0
- package/package.json +3 -3
package/dist/AparteChat.svelte
CHANGED
|
@@ -9,6 +9,7 @@ export let typingText = "Assistant is thinking...";
|
|
|
9
9
|
export let submitOnEnter = true;
|
|
10
10
|
export let layoutTransitionMs = 0;
|
|
11
11
|
export let centerWhenEmpty = false;
|
|
12
|
+
export let overlayComposer = false;
|
|
12
13
|
export let attachments = false;
|
|
13
14
|
export let elicitation = true;
|
|
14
15
|
let className = "";
|
|
@@ -192,6 +193,7 @@ function _assertImperativeParity() {
|
|
|
192
193
|
class:aparte-chat-container--auto-center={centerWhenEmpty}
|
|
193
194
|
{style}
|
|
194
195
|
data-aparte-chat
|
|
196
|
+
{...(overlayComposer ? { 'overlay-composer': '' } : {})}
|
|
195
197
|
data-aparte-empty={centerWhenEmpty && internalMessages.length === 0 ? '' : null}
|
|
196
198
|
id={hostId}
|
|
197
199
|
bind:this={rootRef}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aparte/svelte",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Svelte wrapper for aparté — an ergonomic <AparteChat> component plus stores over the framework-agnostic web components. Works on Svelte 4 and 5.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@sveltejs/package itself. Until then the props are documented, not compiler-enforced, for consumers."
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@aparte/core": ">=0.16.
|
|
41
|
+
"@aparte/core": ">=0.16.2 <1.0.0",
|
|
42
42
|
"svelte": "^4.0.0 || ^5.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"svelte2tsx": "^0.7.61",
|
|
52
52
|
"typescript": "^5.4.0",
|
|
53
53
|
"vite": "^6.0.0",
|
|
54
|
-
"@aparte/core": "0.16.
|
|
54
|
+
"@aparte/core": "0.16.2"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"svelte",
|