anentrypoint-design 0.0.194 → 0.0.196
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/app-shell.css +21 -2
- package/dist/247420.css +21 -2
- package/dist/247420.js +12 -12
- package/package.json +1 -1
- package/src/components/agent-chat.js +5 -1
- package/src/components/chat.js +42 -8
- package/src/components/content.js +5 -2
package/app-shell.css
CHANGED
|
@@ -178,6 +178,14 @@ pre .n { color: var(--green-2); }
|
|
|
178
178
|
.fd-root .app { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; }
|
|
179
179
|
.fd-root .app-body { min-width: 0; }
|
|
180
180
|
|
|
181
|
+
/* Full-bleed canvas host (e.g. a game/3D viewport that fills the page behind the
|
|
182
|
+
shell): the shell's opaque var(--bg) would paint OVER the canvas and hide it.
|
|
183
|
+
Mark the host with `canvas-host` to make the shell surfaces transparent so the
|
|
184
|
+
live canvas shows through. The canvas itself is the backdrop. */
|
|
185
|
+
.canvas-host,
|
|
186
|
+
.canvas-host .app,
|
|
187
|
+
body.canvas-host { background: transparent !important; }
|
|
188
|
+
|
|
181
189
|
:root {
|
|
182
190
|
--app-status-h: var(--size-base);
|
|
183
191
|
--app-topbar-h: var(--size-lg);
|
|
@@ -237,9 +245,14 @@ pre .n { color: var(--green-2); }
|
|
|
237
245
|
outline: 2px solid var(--accent);
|
|
238
246
|
outline-offset: 2px;
|
|
239
247
|
}
|
|
248
|
+
/* Active tab reads as a subtle tinted pill with an accent underline rather than
|
|
249
|
+
an oversized filled oval that sits taller than its inactive siblings and reads
|
|
250
|
+
as misaligned. Same height as the inactive links — only the tint + underline
|
|
251
|
+
change. */
|
|
240
252
|
.app-topbar nav a.active {
|
|
241
|
-
color: var(--accent
|
|
242
|
-
background: var(--accent);
|
|
253
|
+
color: var(--accent);
|
|
254
|
+
background: color-mix(in oklab, var(--accent) 16%, transparent);
|
|
255
|
+
box-shadow: inset 0 -2px 0 0 var(--accent);
|
|
243
256
|
font-weight: 600;
|
|
244
257
|
}
|
|
245
258
|
|
|
@@ -532,6 +545,9 @@ pre .n { color: var(--green-2); }
|
|
|
532
545
|
background: transparent; border-radius: 3px;
|
|
533
546
|
transition: background var(--dur-snap) var(--ease);
|
|
534
547
|
}
|
|
548
|
+
/* A clickable row (onClick -> role=button, or a link row) is interactive, so it
|
|
549
|
+
carries a pointer cursor; without this the click affordance is invisible. */
|
|
550
|
+
.row[role="button"], a.row { cursor: pointer; }
|
|
535
551
|
.row:hover { background: var(--bg-2); }
|
|
536
552
|
.row:hover::before { background: var(--rule-strong); }
|
|
537
553
|
.row.active { background: color-mix(in oklab, var(--accent) 10%, var(--bg-2)); }
|
|
@@ -580,6 +596,9 @@ a.row { text-decoration: none; }
|
|
|
580
596
|
Section grouping
|
|
581
597
|
============================================================ */
|
|
582
598
|
.ds-section { margin: var(--space-8) 0; }
|
|
599
|
+
/* Compact section (e.g. a PageHeader used as a page's first element): no large
|
|
600
|
+
leading margin, modest trailing margin — top-aligns without consumer overrides. */
|
|
601
|
+
.ds-section-compact { margin-top: 0; margin-bottom: var(--space-4); }
|
|
583
602
|
.ds-section > h3 {
|
|
584
603
|
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-h3);
|
|
585
604
|
margin: 0 0 var(--space-5);
|
package/dist/247420.css
CHANGED
|
@@ -579,6 +579,14 @@
|
|
|
579
579
|
.ds-247420 .fd-root .app { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; }
|
|
580
580
|
.ds-247420 .fd-root .app-body { min-width: 0; }
|
|
581
581
|
|
|
582
|
+
/* Full-bleed canvas host (e.g. a game/3D viewport that fills the page behind the
|
|
583
|
+
shell): the shell's opaque var(--bg) would paint OVER the canvas and hide it.
|
|
584
|
+
Mark the host with `canvas-host` to make the shell surfaces transparent so the
|
|
585
|
+
live canvas shows through. The canvas itself is the backdrop. */
|
|
586
|
+
.ds-247420 .canvas-host,
|
|
587
|
+
.ds-247420 .canvas-host .app,
|
|
588
|
+
.ds-247420 body.canvas-host { background: transparent !important; }
|
|
589
|
+
|
|
582
590
|
.ds-247420 {
|
|
583
591
|
--app-status-h: var(--size-base);
|
|
584
592
|
--app-topbar-h: var(--size-lg);
|
|
@@ -638,9 +646,14 @@
|
|
|
638
646
|
outline: 2px solid var(--accent);
|
|
639
647
|
outline-offset: 2px;
|
|
640
648
|
}
|
|
649
|
+
/* Active tab reads as a subtle tinted pill with an accent underline rather than
|
|
650
|
+
an oversized filled oval that sits taller than its inactive siblings and reads
|
|
651
|
+
as misaligned. Same height as the inactive links — only the tint + underline
|
|
652
|
+
change. */
|
|
641
653
|
.ds-247420 .app-topbar nav a.active {
|
|
642
|
-
color: var(--accent
|
|
643
|
-
background: var(--accent);
|
|
654
|
+
color: var(--accent);
|
|
655
|
+
background: color-mix(in oklab, var(--accent) 16%, transparent);
|
|
656
|
+
box-shadow: inset 0 -2px 0 0 var(--accent);
|
|
644
657
|
font-weight: 600;
|
|
645
658
|
}
|
|
646
659
|
|
|
@@ -933,6 +946,9 @@
|
|
|
933
946
|
background: transparent; border-radius: 3px;
|
|
934
947
|
transition: background var(--dur-snap) var(--ease);
|
|
935
948
|
}
|
|
949
|
+
/* A clickable row (onClick -> role=button, or a link row) is interactive, so it
|
|
950
|
+
carries a pointer cursor; without this the click affordance is invisible. */
|
|
951
|
+
.ds-247420 .row[role="button"], .ds-247420 a.row { cursor: pointer; }
|
|
936
952
|
.ds-247420 .row:hover { background: var(--bg-2); }
|
|
937
953
|
.ds-247420 .row:hover::before { background: var(--rule-strong); }
|
|
938
954
|
.ds-247420 .row.active { background: color-mix(in oklab, var(--accent) 10%, var(--bg-2)); }
|
|
@@ -981,6 +997,9 @@
|
|
|
981
997
|
Section grouping
|
|
982
998
|
============================================================ */
|
|
983
999
|
.ds-247420 .ds-section { margin: var(--space-8) 0; }
|
|
1000
|
+
/* Compact section (e.g. a PageHeader used as a page's first element): no large
|
|
1001
|
+
leading margin, modest trailing margin — top-aligns without consumer overrides. */
|
|
1002
|
+
.ds-247420 .ds-section-compact { margin-top: 0; margin-bottom: var(--space-4); }
|
|
984
1003
|
.ds-247420 .ds-section > h3 {
|
|
985
1004
|
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-h3);
|
|
986
1005
|
margin: 0 0 var(--space-5);
|