anentrypoint-design 0.0.322 → 0.0.324
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/README.md +22 -2
- package/app-shell.css +24 -4782
- package/colors_and_type.css +43 -0
- package/dist/247420.css +74 -3
- package/dist/247420.js +16 -16
- package/package.json +14 -8
- package/src/bootstrap.js +10 -1
- package/src/components/chat-message-parts.js +355 -0
- package/src/components/chat.js +23 -320
- package/src/components/data-density.js +15 -10
- package/src/components/files-modals.js +14 -2
- package/src/components/files.js +5 -1
- package/src/components/freddie/helpers.js +46 -8
- package/src/css/app-shell/base.css +157 -0
- package/src/css/app-shell/catalog-theme.css +144 -0
- package/src/css/app-shell/chat-basic.css +12 -0
- package/src/css/app-shell/chat-polish.css +459 -0
- package/src/css/app-shell/data-density.css +150 -0
- package/src/css/app-shell/files.css +709 -0
- package/src/css/app-shell/hero-content.css +407 -0
- package/src/css/app-shell/kits-appended.css +361 -0
- package/src/css/app-shell/loading-alerts.css +120 -0
- package/src/css/app-shell/panel-row.css +177 -0
- package/src/css/app-shell/primitives.css +197 -0
- package/src/css/app-shell/responsive.css +266 -0
- package/src/css/app-shell/responsive2-workspace.css +465 -0
- package/src/css/app-shell/row-print.css +75 -0
- package/src/css/app-shell/sidebar-misc.css +79 -0
- package/src/css/app-shell/states-interactions.css +696 -0
- package/src/css/app-shell/topbar.css +319 -0
- package/src/deck-stage.js +6 -4
- package/src/highlight.js +20 -4
- package/src/index.js +15 -5
- package/src/kits/os/freddie/pages-chat.js +1 -1
- package/src/kits/os/freddie/pages-core.js +1 -1
- package/src/kits/os/freddie/pages-os.js +1 -1
- package/src/kits/os/freddie/pages-tools.js +1 -1
- package/src/kits/os/wm.js +38 -0
- package/src/kits/slides/deck-stage-overlay.js +68 -0
- package/src/kits/slides/deck-stage-state.js +81 -0
- package/src/kits/slides/deck-stage-style.js +117 -0
- package/src/kits/slides/deck-stage.js +167 -0
- package/src/kits/slides/index.js +5 -0
- package/src/markdown.js +89 -11
- package/src/kits/os/freddie/helpers.js +0 -33
package/colors_and_type.css
CHANGED
|
@@ -535,6 +535,49 @@ select:focus-visible {
|
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
+
/* ============================================================
|
|
539
|
+
Semantic alias tier — primitive -> semantic -> component
|
|
540
|
+
------------------------------------------------------------
|
|
541
|
+
Three layers, in order:
|
|
542
|
+
1. PRIMITIVE (above) raw palette values: --acid, --green, --sky, --warn,
|
|
543
|
+
--panel-1/2/3, --paper/--ink, etc. These are the only tokens that ever
|
|
544
|
+
carry a literal color/length. A re-brand edits primitives.
|
|
545
|
+
2. SEMANTIC (here) named-by-INTENT aliases that resolve to a primitive
|
|
546
|
+
(e.g. --accent: var(--panel-accent)). A component or a future re-brand
|
|
547
|
+
can retune ONE semantic variable (say, --rail-danger) without hunting
|
|
548
|
+
through every primitive it happens to reuse elsewhere.
|
|
549
|
+
3. COMPONENT (app-shell.css, community.css, etc.) component sheets keep
|
|
550
|
+
consuming primitives directly today (--accent, --panel-*, --green,
|
|
551
|
+
--warn, ...) exactly as before — this tier does not repoint any
|
|
552
|
+
existing component rule. It exists so a FUTURE swap has a semantic
|
|
553
|
+
layer ready to migrate onto, one component sheet at a time, without
|
|
554
|
+
a flag-day rewrite. Purely additive: no primitive token's name or
|
|
555
|
+
value changes here, and no component references these new names yet.
|
|
556
|
+
|
|
557
|
+
Naming matches vocabulary already established elsewhere in this system:
|
|
558
|
+
--surface-1/2 mirror the --panel-1/--panel-2 tonal-surface steps already
|
|
559
|
+
used across app-shell.css/community.css; --rail-info/-success/-warning/-error
|
|
560
|
+
mirror the canonical .tone-info/.tone-success/.tone-warning/.tone-error
|
|
561
|
+
banner/badge/chip severity names (app-shell.css L592, community.css
|
|
562
|
+
.cm-banner.tone-*) rather than inventing a new severity vocabulary.
|
|
563
|
+
============================================================ */
|
|
564
|
+
:root {
|
|
565
|
+
/* --accent already exists as a primitive-facing alias (var(--acid)) above;
|
|
566
|
+
restated here under the semantic tier for discoverability alongside its
|
|
567
|
+
siblings. Same value, same token — not a second definition. */
|
|
568
|
+
--surface-1: var(--panel-1);
|
|
569
|
+
--surface-2: var(--panel-2);
|
|
570
|
+
|
|
571
|
+
/* Rail/status severity aliases — map onto the same color choices the
|
|
572
|
+
existing .cm-banner.tone-* rules in community.css already use, so a
|
|
573
|
+
future rail/indicator component can consume one semantic name instead
|
|
574
|
+
of picking the right primitive per severity by hand. */
|
|
575
|
+
--rail-info: var(--sky);
|
|
576
|
+
--rail-success: var(--green-2);
|
|
577
|
+
--rail-warning: var(--amber);
|
|
578
|
+
--rail-error: var(--warn);
|
|
579
|
+
}
|
|
580
|
+
|
|
538
581
|
/* Elevation tokens consumed by overlays (Tooltip, Popover, Dropdown, Dialog). */
|
|
539
582
|
:root {
|
|
540
583
|
--shadow-1: 0 1px 2px color-mix(in oklab, var(--fg) 8%, transparent);
|
package/dist/247420.css
CHANGED
|
@@ -537,6 +537,49 @@
|
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
+
/* ============================================================
|
|
541
|
+
Semantic alias tier — primitive -> semantic -> component
|
|
542
|
+
------------------------------------------------------------
|
|
543
|
+
Three layers, in order:
|
|
544
|
+
1. PRIMITIVE (above) raw palette values: --acid, --green, --sky, --warn,
|
|
545
|
+
--panel-1/2/3, --paper/--ink, etc. These are the only tokens that ever
|
|
546
|
+
carry a literal color/length. A re-brand edits primitives.
|
|
547
|
+
2. SEMANTIC (here) named-by-INTENT aliases that resolve to a primitive
|
|
548
|
+
(e.g. --accent: var(--panel-accent)). A component or a future re-brand
|
|
549
|
+
can retune ONE semantic variable (say, --rail-danger) without hunting
|
|
550
|
+
through every primitive it happens to reuse elsewhere.
|
|
551
|
+
3. COMPONENT (app-shell.css, community.css, etc.) component sheets keep
|
|
552
|
+
consuming primitives directly today (--accent, --panel-*, --green,
|
|
553
|
+
--warn, ...) exactly as before — this tier does not repoint any
|
|
554
|
+
existing component rule. It exists so a FUTURE swap has a semantic
|
|
555
|
+
layer ready to migrate onto, one component sheet at a time, without
|
|
556
|
+
a flag-day rewrite. Purely additive: no primitive token's name or
|
|
557
|
+
value changes here, and no component references these new names yet.
|
|
558
|
+
|
|
559
|
+
Naming matches vocabulary already established elsewhere in this system:
|
|
560
|
+
--surface-1/2 mirror the --panel-1/--panel-2 tonal-surface steps already
|
|
561
|
+
used across app-shell.css/community.css; --rail-info/-success/-warning/-error
|
|
562
|
+
mirror the canonical .tone-info/.tone-success/.tone-warning/.tone-error
|
|
563
|
+
banner/badge/chip severity names (app-shell.css L592, community.css
|
|
564
|
+
.cm-banner.tone-*) rather than inventing a new severity vocabulary.
|
|
565
|
+
============================================================ */
|
|
566
|
+
.ds-247420 {
|
|
567
|
+
/* --accent already exists as a primitive-facing alias (var(--acid)) above;
|
|
568
|
+
restated here under the semantic tier for discoverability alongside its
|
|
569
|
+
siblings. Same value, same token — not a second definition. */
|
|
570
|
+
--surface-1: var(--panel-1);
|
|
571
|
+
--surface-2: var(--panel-2);
|
|
572
|
+
|
|
573
|
+
/* Rail/status severity aliases — map onto the same color choices the
|
|
574
|
+
existing .cm-banner.tone-* rules in community.css already use, so a
|
|
575
|
+
future rail/indicator component can consume one semantic name instead
|
|
576
|
+
of picking the right primitive per severity by hand. */
|
|
577
|
+
--rail-info: var(--sky);
|
|
578
|
+
--rail-success: var(--green-2);
|
|
579
|
+
--rail-warning: var(--amber);
|
|
580
|
+
--rail-error: var(--warn);
|
|
581
|
+
}
|
|
582
|
+
|
|
540
583
|
/* Elevation tokens consumed by overlays (Tooltip, Popover, Dropdown, Dialog). */
|
|
541
584
|
.ds-247420 {
|
|
542
585
|
--shadow-1: 0 1px 2px color-mix(in oklab, var(--fg) 8%, transparent);
|
|
@@ -2686,6 +2729,17 @@
|
|
|
2686
2729
|
@media (hover: none), (pointer: coarse) {
|
|
2687
2730
|
.ds-247420 .ds-modal-input { font-size: 16px; min-height: 44px; }
|
|
2688
2731
|
}
|
|
2732
|
+
/* PromptDialog's optional roots-chip row (destination-path prompts with more
|
|
2733
|
+
than one allowed root) - same chip idiom the cwd editor's roots row uses. */
|
|
2734
|
+
.ds-247420 .ds-prompt-roots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
2735
|
+
.ds-247420 .ds-prompt-root-chip {
|
|
2736
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule); color: var(--fg-2);
|
|
2737
|
+
border-radius: var(--r-pill); padding: 3px 10px; font: inherit; font-size: var(--fs-tiny);
|
|
2738
|
+
cursor: pointer;
|
|
2739
|
+
}
|
|
2740
|
+
.ds-247420 .ds-prompt-root-chip:hover { border-color: var(--accent); color: var(--fg); }
|
|
2741
|
+
.ds-247420 .ds-prompt-root-chip:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
2742
|
+
@media (pointer: coarse) { .ds-247420 .ds-prompt-root-chip { min-height: 44px; } }
|
|
2689
2743
|
/* In-body modal error (role=alert): mutation failures (409/403) surface INSIDE
|
|
2690
2744
|
the dialog, not behind the fixed overlay. */
|
|
2691
2745
|
.ds-247420 .ds-modal-error {
|
|
@@ -9652,9 +9706,26 @@
|
|
|
9652
9706
|
the app-composition wrapper, the server+channel rail pills, the voice view grid,
|
|
9653
9707
|
and the category-color tokens the consumer avatars use. All scoped under
|
|
9654
9708
|
.ds-247420. Additive — defines only the ca- prefix, group, rail-empty, vx-view
|
|
9655
|
-
classes plus the cat color tokens.
|
|
9656
|
-
|
|
9657
|
-
.
|
|
9709
|
+
classes plus the cat color tokens.
|
|
9710
|
+
|
|
9711
|
+
Relationship to community.css: this is NOT a fork of community.css's content
|
|
9712
|
+
-- it is a small (~150-line), genuinely distinct app-shell WRAPPER around the
|
|
9713
|
+
canonical, complete community surface. community.css (~1650 lines) owns every
|
|
9714
|
+
.cm-*/.ds-247420 .vx-* component (server rail, channel sidebar, chat header, member list,
|
|
9715
|
+
voice PTT/VAD/webcam, thread panel, forum, page view) and is the canonical, .ds-247420 actively-referenced stylesheet -- it is the one listed in package.json's
|
|
9716
|
+
`exports`/`files`, the one scripts/build.mjs and scripts/lint-tokens.mjs treat
|
|
9717
|
+
as a first-class component sheet on its own, and the one THEME.md/
|
|
9718
|
+
COMPONENT_API.md document as the load-order anchor
|
|
9719
|
+
(colors_and_type.css -> app-shell.css -> community.css -> chat.css ->
|
|
9720
|
+
editor-primitives.css -> community-app.css -> app-surfaces.css). This file
|
|
9721
|
+
loads strictly AFTER community.css (see ui_kits/community-app/index.html) and
|
|
9722
|
+
only adds the .ca-* composition shell + category-color tokens that
|
|
9723
|
+
community.css deliberately has no opinion about -- it never redefines a
|
|
9724
|
+
.cm-*/.vx-* rule community.css already owns. Canonical tokens/rules live in
|
|
9725
|
+
community.css; only overrides/additions specific to mountCommunityApp's own
|
|
9726
|
+
composition live here. */
|
|
9727
|
+
|
|
9728
|
+
html.ds-247420 .ca-app {
|
|
9658
9729
|
display: flex;
|
|
9659
9730
|
flex-direction: column;
|
|
9660
9731
|
height: 100vh;
|