@signal9/era-ui 2.11.1 → 2.11.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/ai/conversations/conversations-item.svelte +2 -2
- package/dist/ai/error-panel/error-panel.svelte +1 -1
- package/dist/ai/run-status/run-status.svelte +1 -1
- package/dist/ai/runtime-feed/runtime-feed-item.svelte +1 -1
- package/dist/ai/structured-value/structured-value.svelte +7 -7
- package/dist/ai/tool/tool-exec.svelte +1 -1
- package/dist/styles/index.css +7 -0
- package/dist/ui/command-bar/command-bar.svelte +1 -1
- package/package.json +1 -1
|
@@ -157,14 +157,14 @@
|
|
|
157
157
|
onkeydown={onTitleKeydown}
|
|
158
158
|
onblur={commitRename}
|
|
159
159
|
aria-label="Rename conversation"
|
|
160
|
-
class="min-w-0 flex-1 border-b border-primary bg-transparent text-body text-bright outline-none
|
|
160
|
+
class="min-w-0 flex-1 border-b border-primary bg-transparent text-body text-bright outline-none"
|
|
161
161
|
/>
|
|
162
162
|
{:else}
|
|
163
163
|
<button
|
|
164
164
|
type="button"
|
|
165
165
|
onclick={onSelect}
|
|
166
166
|
ondblclick={startEditing}
|
|
167
|
-
class="min-w-0 flex-1 cursor-pointer truncate text-left outline-none
|
|
167
|
+
class="min-w-0 flex-1 cursor-pointer truncate text-left outline-none"
|
|
168
168
|
>
|
|
169
169
|
{title}
|
|
170
170
|
</button>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
{:else}
|
|
59
59
|
<CircleX class="size-(--era-h-xs) shrink-0 text-destructive" aria-hidden="true" />
|
|
60
60
|
{/if}
|
|
61
|
-
<span class="min-w-0 flex-1 truncate text-fg
|
|
61
|
+
<span class="min-w-0 flex-1 truncate text-fg">{summary}</span>
|
|
62
62
|
{/snippet}
|
|
63
63
|
|
|
64
64
|
<Collapsible.Root
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{...restProps}
|
|
56
56
|
>
|
|
57
57
|
<span class="size-(--era-h-xxs) shrink-0 rounded-full bg-current" aria-hidden="true"></span>
|
|
58
|
-
<span class="min-w-0 flex-1 truncate
|
|
58
|
+
<span class="min-w-0 flex-1 truncate">
|
|
59
59
|
{#if children}{@render children()}{:else}{text}{/if}
|
|
60
60
|
</span>
|
|
61
61
|
{#if label}
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
|
|
70
70
|
{#snippet leaf(v: unknown)}
|
|
71
71
|
{#if v === null || v === undefined}
|
|
72
|
-
<span class="min-w-0 truncate text-muted
|
|
72
|
+
<span class="min-w-0 truncate text-muted">null</span>
|
|
73
73
|
{:else if typeof v === 'boolean'}
|
|
74
|
-
<span class="min-w-0 truncate text-warning
|
|
74
|
+
<span class="min-w-0 truncate text-warning">{v ? 'true' : 'false'}</span>
|
|
75
75
|
{:else if typeof v === 'number'}
|
|
76
|
-
<span class="min-w-0 truncate text-fg tabular-nums
|
|
76
|
+
<span class="min-w-0 truncate text-fg tabular-nums">{v}</span>
|
|
77
77
|
{:else if typeof v === 'string'}
|
|
78
|
-
<span class="min-w-0 truncate text-fg
|
|
78
|
+
<span class="min-w-0 truncate text-fg" title={v}>{v}</span>
|
|
79
79
|
{:else if Array.isArray(v)}
|
|
80
80
|
{#if v.length === 0}
|
|
81
|
-
<span class="min-w-0 truncate text-muted
|
|
81
|
+
<span class="min-w-0 truncate text-muted">empty</span>
|
|
82
82
|
{:else}
|
|
83
|
-
<span class="min-w-0 truncate text-fg
|
|
83
|
+
<span class="min-w-0 truncate text-fg" title={summarize(v)}>{summarize(v)}</span>
|
|
84
84
|
{/if}
|
|
85
85
|
{:else}
|
|
86
|
-
<span class="min-w-0 truncate text-muted
|
|
86
|
+
<span class="min-w-0 truncate text-muted">empty</span>
|
|
87
87
|
{/if}
|
|
88
88
|
{/snippet}
|
|
89
89
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{#if command || failed}
|
|
24
24
|
<div class="flex min-w-0 items-center gap-(--era-gap)">
|
|
25
25
|
{#if command}
|
|
26
|
-
<code class="min-w-0 flex-1 truncate font-mono text-body text-muted
|
|
26
|
+
<code class="min-w-0 flex-1 truncate font-mono text-body text-muted"
|
|
27
27
|
>{command}</code
|
|
28
28
|
>
|
|
29
29
|
{/if}
|
package/dist/styles/index.css
CHANGED
|
@@ -67,6 +67,13 @@
|
|
|
67
67
|
* but is descender-blind (reads high; CSSWG #9148) — measured 4x worse here.
|
|
68
68
|
* Where text-box is supported it fully determines the box, so the two
|
|
69
69
|
* declarations never fight. Worst-case residual: 0.44px.
|
|
70
|
+
*
|
|
71
|
+
* NEVER put this on an element that also clips overflow (`truncate`,
|
|
72
|
+
* `overflow-hidden`, or an <input>): trim-both collapses the box to the
|
|
73
|
+
* x-height band (~7.5px at 14px), and the clip then slices off every
|
|
74
|
+
* ascender, cap, and descender — text renders as a chopped middle stripe.
|
|
75
|
+
* Put era-text-trim on the fixed-height ROW/control instead, and let a
|
|
76
|
+
* truncating child inherit vertical centering from the row's items-center.
|
|
70
77
|
*/
|
|
71
78
|
@utility era-text-trim {
|
|
72
79
|
line-height: 1;
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
autocomplete="off"
|
|
192
192
|
autocorrect="off"
|
|
193
193
|
spellcheck="false"
|
|
194
|
-
class="
|
|
194
|
+
class="h-full w-full bg-transparent text-body text-bright outline-none"
|
|
195
195
|
onkeydown={onKeydown}
|
|
196
196
|
onfocus={() => (focused = true)}
|
|
197
197
|
onblur={() => (focused = false)}
|