@tangle-network/agent-app 0.46.6 → 0.46.8
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/studio-react/composer-option-controls.d.ts +7 -2
- package/dist/studio-react/generation-notice.d.ts +3 -4
- package/dist/studio-react/index.js +103 -37
- package/dist/studio-react/index.js.map +1 -1
- package/dist/studio-react/studio-generation-screen.d.ts +8 -0
- package/dist/studio-react/studio.css +0 -5
- package/dist/theme/tokens.css +6 -13
- package/package.json +1 -1
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
* lets the host navigate; every row of that batch still flows through
|
|
23
23
|
* `onGenerated` so the host's list stays whole.
|
|
24
24
|
*
|
|
25
|
+
* The root bakes in `min-h-full` so the sticky composer dock sits at the bottom
|
|
26
|
+
* of the nearest scroll container. A `min-h-*` utility passed through
|
|
27
|
+
* `className` will not reliably win: equal specificity lets the later-in-sheet
|
|
28
|
+
* `.min-h-full` rule take precedence. Do not make this root its own scroll
|
|
29
|
+
* container through `className`; wrap the screen in a
|
|
30
|
+
* `min-h-0 flex-1 overflow-y-auto` container and let the root fill it instead
|
|
31
|
+
* (issue #465, item 5).
|
|
32
|
+
*
|
|
25
33
|
* Assumes a `StudioToastProvider` and a `StudioPlaybackProvider` above it.
|
|
26
34
|
*/
|
|
27
35
|
import { type JSX } from 'react';
|
|
@@ -43,11 +43,6 @@
|
|
|
43
43
|
}
|
|
44
44
|
.studio-pill-in { animation: studio-pill-in 190ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
|
|
45
45
|
|
|
46
|
-
/* The one gradient in the system. A Tailwind arbitrary `bg-[var(--…)]` compiles
|
|
47
|
-
to `background-color`, which drops a gradient silently, so the token is read
|
|
48
|
-
here instead. */
|
|
49
|
-
.studio-send { background-image: var(--studio-send-gradient); }
|
|
50
|
-
|
|
51
46
|
@media (prefers-reduced-motion: reduce) {
|
|
52
47
|
.studio-pill-in { animation: none; }
|
|
53
48
|
}
|
package/dist/theme/tokens.css
CHANGED
|
@@ -336,15 +336,11 @@
|
|
|
336
336
|
--shadow-overlay: 0 2px 6px hsl(var(--foreground) / 0.06), 0 16px 40px hsl(var(--foreground) / 0.1);
|
|
337
337
|
|
|
338
338
|
/* ── Studio composer ─────────────────────────────────────────────────────
|
|
339
|
-
The
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
re-themes through the cascade; dark still restates it because the same
|
|
344
|
-
percentages over a near-black card read as no tint at all. */
|
|
345
|
-
--studio-send-gradient: linear-gradient(135deg, #4f46e5, #5b4ed4);
|
|
339
|
+
The notice chip's surface is derived (`color-mix` over
|
|
340
|
+
`--primary`/`--card`/`--border`), so it re-themes through the cascade;
|
|
341
|
+
dark still restates it because the same percentages over a near-black
|
|
342
|
+
card read as no tint at all. */
|
|
346
343
|
--studio-notice-bg: color-mix(in srgb, hsl(var(--primary)) 8%, hsl(var(--card)));
|
|
347
|
-
--studio-notice-border: color-mix(in srgb, hsl(var(--primary)) 28%, hsl(var(--border)));
|
|
348
344
|
}
|
|
349
345
|
|
|
350
346
|
/**
|
|
@@ -435,12 +431,9 @@
|
|
|
435
431
|
--shadow-raised: 0 1px 2px hsl(var(--foreground) / 0.14), 0 12px 28px hsl(var(--foreground) / 0.22);
|
|
436
432
|
--shadow-overlay: 0 2px 6px hsl(var(--foreground) / 0.12), 0 16px 40px hsl(var(--foreground) / 0.2);
|
|
437
433
|
|
|
438
|
-
/* Studio composer — @see :root. The
|
|
439
|
-
|
|
440
|
-
stronger, because 8% of a tint over a near-black card is not a tint. */
|
|
441
|
-
--studio-send-gradient: linear-gradient(135deg, #4c3fc5, #7c6cf6);
|
|
434
|
+
/* Studio composer — @see :root. The notice chip's mixes are stronger,
|
|
435
|
+
because 8% of a tint over a near-black card is not a tint. */
|
|
442
436
|
--studio-notice-bg: color-mix(in srgb, hsl(var(--primary)) 15%, hsl(var(--card)));
|
|
443
|
-
--studio-notice-border: color-mix(in srgb, hsl(var(--primary)) 40%, hsl(var(--border)));
|
|
444
437
|
}
|
|
445
438
|
|
|
446
439
|
/**
|
package/package.json
CHANGED