@signal9/era-ui 4.15.5 → 4.16.1
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/swarm/context.d.ts +7 -1
- package/dist/ai/swarm/index.d.ts +1 -1
- package/dist/ai/swarm/index.js +1 -1
- package/dist/ai/swarm/swarm-artifact.svelte +24 -2
- package/dist/ai/swarm/swarm-node.svelte +35 -3
- package/dist/ai/swarm/swarm-root.svelte +7 -1
- package/dist/ai/swarm/swarm-root.svelte.d.ts +3 -1
- package/dist/ai/swarm/swarm-sandbox.svelte +30 -2
- package/dist/ai/swarm/swarm.d.ts +219 -5
- package/dist/ai/swarm/swarm.js +149 -0
- package/dist/apps/llm-shell/llm-shell.svelte +15 -1
- package/dist/apps/llm-shell/llm-shell.svelte.d.ts +6 -0
- package/dist/apps/llm-shell/llm-swarm.svelte +9 -2
- package/dist/apps/llm-shell/llm-swarm.svelte.d.ts +2 -0
- package/dist/era-ui.css +1 -1
- package/dist/ui/code-block/code-block.svelte +9 -2
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
{...restProps}
|
|
46
46
|
>
|
|
47
47
|
<pre
|
|
48
|
-
class="overflow-x-auto px-(--era-field-px) py-(--era-inset-md) pr-[calc(var(--era-
|
|
48
|
+
class="overflow-x-auto px-(--era-field-px) py-(--era-inset-md) pr-[calc(var(--era-sm-inset-lg)+var(--era-h-sm)+var(--era-field-px))] font-mono text-body leading-body text-fg"><code
|
|
49
49
|
>{#if children}{@render children()}{:else}{code}{/if}</code
|
|
50
50
|
></pre>
|
|
51
51
|
{#if copyable}
|
|
@@ -53,9 +53,16 @@
|
|
|
53
53
|
long lines would show through a chromeless one. It carries the block's
|
|
54
54
|
OWN fill, so at rest it is pixel-identical to no background — it just
|
|
55
55
|
occludes whatever scrolls beneath. -->
|
|
56
|
+
<!-- --era-sm-inset-lg on BOTH axes: an sm control in an rd-lg corner, and
|
|
57
|
+
the token IS the concentric inset for that pairing (rd-lg − rd-sm =
|
|
58
|
+
(h-lg − h-sm)/2 — the corner identity). The old offsets centred the
|
|
59
|
+
button against the first TEXT LINE with the line-height constant baked
|
|
60
|
+
in, which broke the moment the leading changed and was never the
|
|
61
|
+
corner's own law: the button sat 4.75px from the top and 6.15px from
|
|
62
|
+
the right edge at dense, visibly off the curve. -->
|
|
56
63
|
<CopyButton
|
|
57
64
|
text={copyText}
|
|
58
|
-
class="absolute top-
|
|
65
|
+
class="absolute top-(--era-sm-inset-lg) right-(--era-sm-inset-lg) bg-(--era-field-bg)"
|
|
59
66
|
/>
|
|
60
67
|
{/if}
|
|
61
68
|
</div>
|