anentrypoint-design 0.0.425 → 0.0.426

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.
Files changed (42) hide show
  1. package/app-shell.css +5 -0
  2. package/chat.css +41 -0
  3. package/colors_and_type.css +86 -42
  4. package/dist/247420.css +544 -82
  5. package/dist/247420.js +34 -28
  6. package/package.json +1 -1
  7. package/src/components/calendar/calendar.js +144 -0
  8. package/src/components/calendar/date-picker.js +106 -0
  9. package/src/components/calendar/grid.js +79 -0
  10. package/src/components/calendar.js +15 -0
  11. package/src/components/carousel.js +53 -0
  12. package/src/components/collab/cursors.js +68 -0
  13. package/src/components/collab/presence.js +29 -0
  14. package/src/components/collab.js +11 -0
  15. package/src/components/content/otp-input.js +91 -0
  16. package/src/components/content.js +2 -1
  17. package/src/components/context-pane/meter.js +42 -0
  18. package/src/components/context-pane/pane.js +127 -0
  19. package/src/components/context-pane/treemap.js +81 -0
  20. package/src/components/context-pane/xray.js +30 -0
  21. package/src/components/context-pane.js +12 -127
  22. package/src/components/data-density/progress.js +20 -0
  23. package/src/components/data-density.js +3 -0
  24. package/src/components/editor-primitives/layout.js +12 -0
  25. package/src/components/editor-primitives.js +2 -2
  26. package/src/components/overlay-primitives/hover-card.js +60 -0
  27. package/src/components/overlay-primitives/menubar.js +65 -0
  28. package/src/components/overlay-primitives.js +4 -0
  29. package/src/components/shell/icons.js +4 -1
  30. package/src/components/slider.js +66 -0
  31. package/src/components.js +21 -5
  32. package/src/css/app-shell/base.css +16 -0
  33. package/src/css/app-shell/calendar.css +131 -0
  34. package/src/css/app-shell/carousel.css +44 -0
  35. package/src/css/app-shell/chat-polish.css +1 -1
  36. package/src/css/app-shell/collab.css +106 -0
  37. package/src/css/app-shell/hero-content.css +34 -38
  38. package/src/css/app-shell/kits-appended.css +1 -1
  39. package/src/css/app-shell/otp-input.css +31 -0
  40. package/src/css/app-shell/slider.css +53 -0
  41. package/src/page-html/page-styles.js +7 -1
  42. package/types/components.d.ts +299 -1
package/app-shell.css CHANGED
@@ -38,3 +38,8 @@
38
38
  @import url('./src/css/app-shell/plugins-config.css');
39
39
  @import url('./src/css/app-shell/models-config.css');
40
40
  @import url('./src/css/app-shell/skills-config.css');
41
+ @import url('./src/css/app-shell/slider.css');
42
+ @import url('./src/css/app-shell/otp-input.css');
43
+ @import url('./src/css/app-shell/carousel.css');
44
+ @import url('./src/css/app-shell/calendar.css');
45
+ @import url('./src/css/app-shell/collab.css');
package/chat.css CHANGED
@@ -723,6 +723,47 @@
723
723
  }
724
724
  .ds-context-group .row + .row { margin-top: var(--space-hair); }
725
725
 
726
+ /* ----------------------------------------------------------------------------
727
+ ContextMeter / ContextTreemap / ContextXRayPanel — token/cost breakdown
728
+ surfaces added alongside ContextPane. Tone classes share one small
729
+ vocabulary (system/user/assistant/other) across all three components so a
730
+ segment's color pairs up wherever it appears.
731
+ ---------------------------------------------------------------------------- */
732
+ .ds-context-meter { display: flex; flex-direction: column; gap: var(--space-1); }
733
+ .ds-context-meter-track {
734
+ display: flex; width: 100%; height: 8px; border-radius: var(--r-hair);
735
+ overflow: hidden; background: var(--bg-3);
736
+ }
737
+ .ds-context-meter-seg { display: block; height: 100%; }
738
+ .ds-context-meter-seg-system { background: var(--sky); }
739
+ .ds-context-meter-seg-user { background: var(--green-2); }
740
+ .ds-context-meter-seg-assistant { background: var(--purple-2); }
741
+ .ds-context-meter-seg-other { background: var(--fg-3); }
742
+ .ds-context-meter-foot {
743
+ display: flex; justify-content: space-between; font-size: var(--fs-tiny); color: var(--fg-3);
744
+ }
745
+
746
+ .ds-context-treemap { display: block; width: 100%; height: auto; border-radius: var(--r-1); }
747
+ .ds-context-treemap-rect { stroke: var(--bg); stroke-width: 1; }
748
+ .ds-context-treemap-rect-system { fill: var(--sky); }
749
+ .ds-context-treemap-rect-user { fill: var(--green-2); }
750
+ .ds-context-treemap-rect-assistant { fill: var(--purple-2); }
751
+ .ds-context-treemap-rect-other { fill: var(--fg-3); }
752
+ .ds-context-treemap-label { font-size: var(--fs-pico); fill: var(--on-accent); font-family: var(--ff-body); }
753
+ .ds-context-treemap-empty { padding: var(--space-3); color: var(--fg-3); font-size: var(--fs-sm); }
754
+
755
+ .ds-context-xray-head { display: flex; align-items: center; gap: var(--space-1-75); width: 100%; }
756
+ .ds-context-xray-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
757
+ .ds-context-xray-dot-system { background: var(--sky); }
758
+ .ds-context-xray-dot-user { background: var(--green-2); }
759
+ .ds-context-xray-dot-assistant { background: var(--purple-2); }
760
+ .ds-context-xray-dot-other { background: var(--fg-3); }
761
+ .ds-context-xray-label { flex: 1; }
762
+ .ds-context-xray-value { color: var(--fg-3); font-family: var(--ff-mono); font-size: var(--fs-xs); }
763
+ .ds-context-xray-body { display: flex; flex-direction: column; gap: var(--space-1); }
764
+ .ds-context-xray-row { display: flex; justify-content: space-between; font-size: var(--fs-tiny); color: var(--fg-2); }
765
+ .ds-context-xray-empty { padding: var(--space-3); color: var(--fg-3); font-size: var(--fs-sm); }
766
+
726
767
  /* ============================================================================
727
768
  Cohesion sweep (gui-cohesion.js): one-product polish across surfaces.
728
769
  ============================================================================ */
@@ -14,23 +14,33 @@
14
14
  --tree-indent: 12px;
15
15
  --tree-base-indent: 6px;
16
16
 
17
- /* Paper / Ink — warm newsprint paper against near-black ink. The warmer
18
- paper + deeper ink widen the tonal range so the electric lead reads as
19
- printed, not glowing. */
20
- --paper: #F4F1E9;
21
- --paper-2: #EAE6DA;
22
- --paper-3: #DCD7C7;
23
- --ink: #0E0E12;
24
- --ink-2: #1F1F26;
25
- --ink-3: #52525A; /* WCAG AAA on --paper (~7.1:1) */
26
- --ink-3-dark: #464650; /* dark theme bg-3 (tier-3 surface) */
27
- --paper-3-dark: #B4B4BC; /* dark theme fg-3 (tier-3 text) */
28
-
29
- /* Lore palette. --acid is the electric lead — a printed-ink lime that sits
30
- forward of the heritage green; green/purple/mascot demote to print-ink
31
- category roles. */
32
- --acid: #B6FF1B;
33
- --acid-deep: #4E4200; /* AA text tone of the lead on paper (WCAG-verified: #4E7A00 measured 4.21:1 against --accent-tint's own color-mix() output, which derives FROM --acid-deep -- so a small darkening shifts both foreground and background together and converges too slowly; #4E4200 is the minimal shade that actually clears 4.5:1 against its own self-referential tint background) */
17
+ /* Paper / Ink — RESTYLED to webjsx-toolkit's shadcn-neutral grayscale
18
+ palette (2026 restyle, replacing the prior "Acid Editorial" warm-paper/
19
+ electric-lime identity). Values below are HSL-equivalent-in-hex readings
20
+ of webjsx-toolkit's :root tokens (--background 0 0% 100%, --foreground
21
+ 0 0% 10%, --muted 0 0% 95%, --border 0 0% 90%) so every downstream
22
+ color-mix()/oklch() derivation in this file keeps its formula and only
23
+ the ROOT input changes -- see restyle-tokens-webjsx-toolkit-look and
24
+ restyle-contrast-reverification-all-tokens for the swap rationale and
25
+ the re-verification this requires. */
26
+ --paper: #FFFFFF;
27
+ --paper-2: #F2F2F2;
28
+ --paper-3: #E5E5E5;
29
+ --ink: #1A1A1A;
30
+ --ink-2: #333338;
31
+ --ink-3: #525252; /* WCAG-verified 2026 restyle: npm run a11y caught 4.10:1 at #58585F against --paper-3 (#c6c5c5-equivalent surfaces); #525252 clears 4.54:1 there and 7.81:1 against pure paper */
32
+ --ink-3-dark: #4D4D52; /* dark theme bg-3 (tier-3 surface) */
33
+ --paper-3-dark: #9B9B9B; /* dark theme fg-3 (tier-3 text); WCAG-verified: npm run a11y caught 4.41:1 at #999999 against --ink-2 (#333338); #9B9B9B clears 4.52:1 there */
34
+
35
+ /* Lore palette. --acid was the prior electric-lime lead; RESTYLED to a
36
+ neutral near-black accent matching webjsx-toolkit's grayscale --primary
37
+ (0 0% 15%), since the shadcn-neutral look has no saturated lead color at
38
+ all -- primary/accent are both neutral ink tones with hover-state
39
+ opacity, not a distinct hue. green/purple/mascot below stay as the
40
+ category/status palette (webjsx-toolkit has no opinion on multi-hue
41
+ category tagging, so these are kept rather than flattened). */
42
+ --acid: #262626;
43
+ --acid-deep: #171717; /* re-verify AA text tone under restyle-contrast-reverification-all-tokens */
34
44
  --green: #247420;
35
45
  --green-2: #3A9A34;
36
46
  --green-deep: #133F10;
@@ -49,6 +59,14 @@
49
59
  need a tone chosen for ink rather than for the active theme. Same role
50
60
  --paper-3-dark plays for the tier-3 text ramp. */
51
61
  --mascot-on-ink: #FF5C9E;
62
+ /* Same always-dark-surface pattern, for .ds-cli-ok's success/OK text.
63
+ RESTYLED 2026: .ds-cli-ok previously used --acid directly (the bright
64
+ lime), which cleared contrast on --ink by construction; now that --acid
65
+ is a dark neutral, it fails 1.15:1 on the still-always-dark .cli card
66
+ (npm run a11y caught this on the terminal kit). Reuses the dark-theme
67
+ --green retune value (7.48:1 on --ink) rather than inventing a new hue,
68
+ since --green already carries the "success" semantic elsewhere. */
69
+ --success-on-ink: #5CBF52;
52
70
 
53
71
  /* Signals */
54
72
  --sun: #F5C344;
@@ -95,11 +113,16 @@
95
113
  --fg-2: var(--ink-2);
96
114
  --fg-3: var(--ink-3);
97
115
 
98
- /* The electric lead. --accent is the FILL (sits behind ink text); --accent-ink
99
- is the readable TEXT tone for links/eyebrows/accents on paper (the lime
100
- itself is too light for text). --accent-fg is what sits ON an --accent fill. */
116
+ /* --accent is the FILL; --accent-ink is the readable TEXT tone for
117
+ links/eyebrows/accents on paper; --accent-fg is what sits ON an --accent
118
+ fill. RESTYLED: --accent (formerly the bright --acid lime, dark text on
119
+ top) is now a dark neutral (webjsx-toolkit's --primary: 0 0% 15%), so
120
+ --accent-fg flips to a LIGHT tone (webjsx-toolkit's --primary-foreground:
121
+ 0 0% 100%) -- verified via npm run a11y after the initial restyle caught
122
+ this exact dark-on-dark 1.15:1 failure across every kit's .btn-primary/
123
+ .active nav item, both of which read --accent-fg as their text color. */
101
124
  --accent: var(--acid);
102
- --accent-fg: var(--ink);
125
+ --accent-fg: var(--paper);
103
126
  --accent-ink: var(--acid-deep);
104
127
  --accent-bright: var(--acid); /* base value so var(--accent-bright) never falls back empty; ink + [data-accent] retune it */
105
128
  /* Blends --accent-ink (the readable/darker ink variant), not the raw
@@ -240,13 +263,19 @@
240
263
  --rule-strong: color-mix(in oklab, currentColor 28%, transparent);
241
264
 
242
265
  /* Micro rungs below --r-1 — chips, badges, scrollbar thumbs, tick marks
243
- genuinely want a tighter corner than 10px; without these two tokens the
244
- component sheets fell back to raw px literals bypassing the scale. */
266
+ genuinely want a tighter corner than the base radius; without these two
267
+ tokens the component sheets fell back to raw px literals bypassing the
268
+ scale. RESTYLED (webjsx-toolkit look): base --radius is 0.5rem (8px),
269
+ with radius-sm/md/lg at radius-4px/radius-2px/radius (4px/6px/8px) --
270
+ --r-1 below is retuned to that 8px base; --r-2/--r-3 keep proportional
271
+ headroom above it for large-surface corners (cards, dialogs) rather than
272
+ collapsing to a single flat rung, since webjsx-toolkit itself has no
273
+ opinion above its one --radius value. */
245
274
  --r-hair: 2px;
246
275
  --r-0: 4px;
247
- --r-1: 10px;
248
- --r-2: 14px;
249
- --r-3: 22px;
276
+ --r-1: 8px;
277
+ --r-2: 10px;
278
+ --r-3: 14px;
250
279
  --r-pill: 999px;
251
280
 
252
281
  --dur-snap: 80ms;
@@ -255,14 +284,24 @@
255
284
  --dur-reveal: 560ms;
256
285
  --ease: cubic-bezier(0.2, 0, 0, 1);
257
286
  /* Physical tier — a slight overshoot that reads as a printed stamp landing,
258
- used by presses and signature reveals (not by routine UI fades). */
287
+ used by presses and signature reveals (not by routine UI fades). Kept
288
+ available post-restyle since some existing consumers still reference it;
289
+ new work should prefer the webjsx-toolkit-equivalent curves below. */
259
290
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
260
291
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
261
-
262
- /* Print texture the signature surface treatment. --grain is a tiled
263
- fractal-noise data-URI, opt-in via the .ds-grain utility and tuned faint
264
- so type stays crisp. */
265
- --grain-opacity: 0.05;
292
+ /* RESTYLED (webjsx-toolkit look): its three named easing curves, ported
293
+ verbatim from webjsx-toolkit/src/styles.css's @theme inline block. */
294
+ --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
295
+ --ease-collapse: cubic-bezier(0.2, 0, 0, 1);
296
+ --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
297
+
298
+ /* Print texture — the prior "Acid Editorial" signature surface treatment.
299
+ RESTYLED: opacity zeroed so .ds-grain/.ds-halftone (currently applied by
300
+ no consumer, verified by grep across src/components and ui_kits) render
301
+ inert under the flat-surface webjsx-toolkit look, without deleting the
302
+ machinery in case a future editorial-mode consumer opts back in. --grain
303
+ itself (the data-URI) and --grain-blend are left defined for that reason. */
304
+ --grain-opacity: 0;
266
305
  --grain-blend: multiply;
267
306
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
268
307
  /* Offset-ink registration — the small print-mark offset used on editorial
@@ -432,12 +471,16 @@ select:focus-visible {
432
471
  --panel-text: var(--fg);
433
472
  --panel-text-2: var(--fg-2);
434
473
  --panel-text-3: var(--fg-3);
435
- --accent: var(--acid);
474
+ /* RESTYLED: webjsx-toolkit's dark --primary is a LIGHT neutral (0 0% 75%)
475
+ with a DARK --primary-foreground (0 0% 10%) -- the inverse of light mode,
476
+ matching shadcn's convention that dark-mode primary buttons read as a
477
+ light chip on the dark page, not a same-dark-as-bg chip. --accent no
478
+ longer aliases --acid here (a literal dark-on-dark 1.15:1 failure caught
479
+ by npm run a11y across every dark-rendered kit). */
480
+ --accent: #BFBFBF;
436
481
  --accent-fg: var(--ink);
437
- --accent-ink: var(--acid); /* on ink, the lime itself reads as bright text */
438
- --accent-bright: var(--acid);
439
- /* Preserves the prior --accent-based blend for dark; the :root light-theme
440
- value above was retuned to blend --accent-ink instead. */
482
+ --accent-ink: var(--paper);
483
+ --accent-bright: #BFBFBF;
441
484
  --accent-tint: color-mix(in oklab, var(--accent) 30%, var(--bg));
442
485
  --danger: oklch(0.68 0.19 25);
443
486
  --flame: #FF5A1F;
@@ -503,10 +546,10 @@ select:focus-visible {
503
546
  --panel-text: var(--fg);
504
547
  --panel-text-2: var(--fg-2);
505
548
  --panel-text-3: var(--fg-3);
506
- --accent: var(--acid);
549
+ --accent: #BFBFBF; /* mirrors [data-theme=ink/dark] retune above */
507
550
  --accent-fg: var(--ink);
508
- --accent-ink: var(--acid);
509
- --accent-bright: var(--acid);
551
+ --accent-ink: var(--paper);
552
+ --accent-bright: #BFBFBF;
510
553
  --accent-tint: color-mix(in oklab, var(--accent) 30%, var(--bg));
511
554
  --danger: oklch(0.68 0.19 25);
512
555
  --flame: #FF5A1F;
@@ -569,6 +612,7 @@ select:focus-visible {
569
612
  --cat-purple-ink: inherit;
570
613
  --cat-mascot-ink: inherit;
571
614
  --mascot-on-ink: inherit;
615
+ --success-on-ink: inherit;
572
616
  --cat-sun: inherit;
573
617
  --cat-flame: inherit;
574
618
  --cat-sky: inherit;
@@ -592,7 +636,7 @@ select:focus-visible {
592
636
  color-scheme: light;
593
637
  --bg: var(--paper); --bg-2: var(--paper-2); --bg-3: var(--paper-3);
594
638
  --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3);
595
- --accent: var(--acid); --accent-fg: var(--ink); --accent-ink: var(--acid-deep);
639
+ --accent: var(--acid); --accent-fg: var(--paper); --accent-ink: var(--acid-deep);
596
640
  --accent-tint: color-mix(in oklab, var(--accent-ink) 22%, var(--bg));
597
641
  /* A paper island under a dark ancestor must not inherit the dark signal pair. */
598
642
  --flame: #C53E00; --amber: #7C570F; --warn: #C41C0C; --sky: #3A6EFF;
@@ -663,7 +707,7 @@ select:focus-visible {
663
707
  [data-density="comfortable"] { --density: 1; }
664
708
  [data-density="spacious"] { --density: 1.35; }
665
709
 
666
- [data-accent="acid"] { --accent: var(--acid); --accent-bright: var(--acid); --accent-fg: var(--ink); --accent-ink: var(--acid-deep); --panel-accent: var(--acid); }
710
+ [data-accent="acid"] { --accent: var(--acid); --accent-bright: var(--acid); --accent-fg: var(--paper); --accent-ink: var(--acid-deep); --panel-accent: var(--acid); }
667
711
  [data-accent="green"] { --accent: var(--green); --accent-bright: var(--green-2); --accent-fg: var(--paper); --accent-ink: var(--green); --panel-accent: var(--green); }
668
712
  [data-accent="purple"] { --accent: var(--purple); --accent-bright: #C277FF; --accent-fg: var(--paper); --accent-ink: var(--purple-2); --panel-accent: var(--purple); }
669
713
  [data-accent="mascot"] { --accent: var(--mascot); --accent-bright: var(--mascot-2); --accent-fg: var(--ink); --accent-ink: var(--mascot-deep);--panel-accent: var(--mascot); }