anentrypoint-design 0.0.147 → 0.0.150
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 +19 -1
- package/community.css +2 -0
- package/dist/247420.css +21 -1
- package/dist/247420.js +12 -12
- package/package.json +1 -1
- package/src/components/content.js +11 -3
- package/src/components/freddie.js +70 -18
- package/src/kits/os/theme.css +28 -0
- package/src/kits/os/wm.css +6 -0
package/app-shell.css
CHANGED
|
@@ -158,6 +158,15 @@ pre .n { color: var(--green-2); }
|
|
|
158
158
|
padding-right: env(safe-area-inset-right);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
/* When the app shell is embedded inside a windowed surface (e.g. the freddie
|
|
162
|
+
dashboard mounted in a WM window via .fd-root) it is NOT a full-page app:
|
|
163
|
+
`min-height:100vh` and the absence of an explicit width make it collapse to
|
|
164
|
+
0 width at desktop, where the responsive single-column @media rules don't
|
|
165
|
+
apply. Inside .fd-root it must fill its container instead. (At <=767px the
|
|
166
|
+
grid already linearizes, which is why the bug only showed at desktop width.) */
|
|
167
|
+
.fd-root .app { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; }
|
|
168
|
+
.fd-root .app-body { min-width: 0; }
|
|
169
|
+
|
|
161
170
|
:root {
|
|
162
171
|
--app-status-h: var(--size-base);
|
|
163
172
|
--app-topbar-h: var(--size-lg);
|
|
@@ -281,7 +290,11 @@ pre .n { color: var(--green-2); }
|
|
|
281
290
|
align-self: stretch;
|
|
282
291
|
height: 100%;
|
|
283
292
|
}
|
|
284
|
-
.app-main > * { min-height: 0; }
|
|
293
|
+
.app-main > * { min-height: 0; flex-shrink: 0; }
|
|
294
|
+
.app-main > .chat,
|
|
295
|
+
.app-main > .chat-area,
|
|
296
|
+
.app-main > .ds-file-stage,
|
|
297
|
+
.app-main > .grow { flex-shrink: 1; }
|
|
285
298
|
.app-main.narrow { max-width: var(--measure-narrow); margin: 0 auto; }
|
|
286
299
|
|
|
287
300
|
@media (min-width: 1400px) {
|
|
@@ -565,6 +578,11 @@ table th {
|
|
|
565
578
|
table td { padding: 14px 16px; border-top: 1px solid var(--rule); }
|
|
566
579
|
table tr.clickable { cursor: pointer; }
|
|
567
580
|
table tr.clickable:hover td { background: var(--bg-2); }
|
|
581
|
+
table tr.clickable:focus-visible {
|
|
582
|
+
outline: 2px solid var(--accent);
|
|
583
|
+
outline-offset: -2px;
|
|
584
|
+
}
|
|
585
|
+
table tr.clickable:focus-visible td { background: var(--bg-2); }
|
|
568
586
|
|
|
569
587
|
/* ============================================================
|
|
570
588
|
Changelog
|
package/community.css
CHANGED
|
@@ -1518,6 +1518,8 @@
|
|
|
1518
1518
|
.fd-chat { display: flex; flex-direction: column; gap: var(--space-2, 10px); height: 100%; min-height: 0; }
|
|
1519
1519
|
.fd-chat-thread { flex: 1 1 auto; min-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2, 10px); padding: var(--space-2, 10px); }
|
|
1520
1520
|
.fd-page-error { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1521
|
+
/* Visually-hidden polite live region — announces async busy/done to SR users. */
|
|
1522
|
+
.fd-sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1521
1523
|
/* page-level responsive: tighten padding on narrow viewports */
|
|
1522
1524
|
@media (max-width: 640px) {
|
|
1523
1525
|
.fd-page-inner { padding: var(--space-2, 10px); gap: var(--space-2, 10px); }
|
package/dist/247420.css
CHANGED
|
@@ -480,6 +480,15 @@
|
|
|
480
480
|
padding-right: env(safe-area-inset-right);
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
+
/* When the app shell is embedded inside a windowed surface (e.g. the freddie
|
|
484
|
+
dashboard mounted in a WM window via .fd-root) it is NOT a full-page app:
|
|
485
|
+
`min-height:100vh` and the absence of an explicit width make it collapse to
|
|
486
|
+
0 width at desktop, where the responsive single-column @media rules don't
|
|
487
|
+
apply. Inside .fd-root it must fill its container instead. (At <=767px the
|
|
488
|
+
grid already linearizes, which is why the bug only showed at desktop width.) */
|
|
489
|
+
.ds-247420 .fd-root .app { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; }
|
|
490
|
+
.ds-247420 .fd-root .app-body { min-width: 0; }
|
|
491
|
+
|
|
483
492
|
.ds-247420 {
|
|
484
493
|
--app-status-h: var(--size-base);
|
|
485
494
|
--app-topbar-h: var(--size-lg);
|
|
@@ -603,7 +612,11 @@
|
|
|
603
612
|
align-self: stretch;
|
|
604
613
|
height: 100%;
|
|
605
614
|
}
|
|
606
|
-
.ds-247420 .app-main > * { min-height: 0; }
|
|
615
|
+
.ds-247420 .app-main > * { min-height: 0; flex-shrink: 0; }
|
|
616
|
+
.ds-247420 .app-main > .chat,
|
|
617
|
+
.ds-247420 .app-main > .chat-area,
|
|
618
|
+
.ds-247420 .app-main > .ds-file-stage,
|
|
619
|
+
.ds-247420 .app-main > .grow { flex-shrink: 1; }
|
|
607
620
|
.ds-247420 .app-main.narrow { max-width: var(--measure-narrow); margin: 0 auto; }
|
|
608
621
|
|
|
609
622
|
@media (min-width: 1400px) {
|
|
@@ -887,6 +900,11 @@
|
|
|
887
900
|
.ds-247420 table td { padding: 14px 16px; border-top: 1px solid var(--rule); }
|
|
888
901
|
.ds-247420 table tr.clickable { cursor: pointer; }
|
|
889
902
|
.ds-247420 table tr.clickable:hover td { background: var(--bg-2); }
|
|
903
|
+
.ds-247420 table tr.clickable:focus-visible {
|
|
904
|
+
outline: 2px solid var(--accent);
|
|
905
|
+
outline-offset: -2px;
|
|
906
|
+
}
|
|
907
|
+
.ds-247420 table tr.clickable:focus-visible td { background: var(--bg-2); }
|
|
890
908
|
|
|
891
909
|
/* ============================================================
|
|
892
910
|
Changelog
|
|
@@ -4332,6 +4350,8 @@
|
|
|
4332
4350
|
.ds-247420 .fd-chat { display: flex; flex-direction: column; gap: var(--space-2, 10px); height: 100%; min-height: 0; }
|
|
4333
4351
|
.ds-247420 .fd-chat-thread { flex: 1 1 auto; min-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2, 10px); padding: var(--space-2, 10px); }
|
|
4334
4352
|
.ds-247420 .fd-page-error { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
4353
|
+
/* Visually-hidden polite live region — announces async busy/done to SR users. */
|
|
4354
|
+
.ds-247420 .fd-sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
4335
4355
|
/* page-level responsive: tighten padding on narrow viewports */
|
|
4336
4356
|
@media (max-width: 640px) {
|
|
4337
4357
|
.ds-247420 .fd-page-inner { padding: var(--space-2, 10px); gap: var(--space-2, 10px); }
|