anentrypoint-design 0.0.478 → 0.0.481

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 (38) hide show
  1. package/chat.css +4 -4
  2. package/colors_and_type.css +33 -3
  3. package/community.css +22 -8
  4. package/dist/247420.css +195 -59
  5. package/dist/247420.js +24 -24
  6. package/package.json +1 -1
  7. package/src/community-app.js +4 -2
  8. package/src/components/community/navigation.js +2 -2
  9. package/src/components/community/presence.js +10 -4
  10. package/src/components/community/views.js +8 -2
  11. package/src/components/content/avatar.js +30 -0
  12. package/src/components/content.js +2 -2
  13. package/src/components/overlay-primitives/emoji-picker.js +15 -3
  14. package/src/components/shell/workspace-shell.js +1 -1
  15. package/src/components/theme-toggle.js +8 -3
  16. package/src/css/app-shell/base.css +18 -0
  17. package/src/css/app-shell/catalog-theme.css +14 -2
  18. package/src/css/app-shell/chat-polish.css +12 -0
  19. package/src/css/app-shell/collab.css +5 -0
  20. package/src/css/app-shell/data-density.css +4 -0
  21. package/src/css/app-shell/files.css +1 -1
  22. package/src/css/app-shell/hero-content.css +1 -1
  23. package/src/css/app-shell/loading-alerts.css +14 -12
  24. package/src/css/app-shell/otp-input.css +2 -2
  25. package/src/css/app-shell/plugins-config.css +3 -0
  26. package/src/css/app-shell/primitives.css +13 -4
  27. package/src/css/app-shell/responsive.css +13 -0
  28. package/src/css/app-shell/responsive2-workspace.css +4 -1
  29. package/src/css/app-shell/states-interactions.css +20 -4
  30. package/src/kits/os/app-panes.css +3 -2
  31. package/src/kits/os/icons.js +16 -0
  32. package/src/kits/os/shell-geometry.js +2 -2
  33. package/src/kits/os/shell.js +24 -3
  34. package/src/kits/os/theme.css +251 -78
  35. package/src/kits/os/wm.css +19 -6
  36. package/src/kits/spoint/host-join-lobby.css +3 -3
  37. package/src/web-components/freddie-chat.js +2 -2
  38. package/types/components.d.ts +4 -0
@@ -1,7 +1,9 @@
1
1
  /* ============================================================
2
2
  Window Manager visuals — paired with createWM() behavior
3
3
  Tokens: --os-* (defined by desktop/theme.css)
4
- Bible: tonal surfaces, no borders for chrome, inset rail for focus.
4
+ Bible: tonal surfaces, inset rail for focus, subtle hairline border +
5
+ elevation shadow on every window (stronger on wm-focused) so windows
6
+ read as distinct layers against a dark desktop background.
5
7
  ============================================================ */
6
8
 
7
9
  .wm-root {
@@ -21,14 +23,18 @@
21
23
  max-height: 100%;
22
24
  background: var(--os-bg-1);
23
25
  color: var(--os-fg);
24
- border: none;
26
+ border: 1px solid color-mix(in oklab, var(--os-fg) 14%, transparent);
25
27
  border-radius: var(--os-radius, var(--r-2, 10px));
26
28
  display: flex;
27
29
  flex-direction: column;
28
30
  pointer-events: auto;
29
31
  overflow: hidden;
32
+ box-shadow: var(--shadow-2, 0 4px 12px rgba(0, 0, 0, .3));
33
+ }
34
+ .wm-win.wm-focused {
35
+ border-color: color-mix(in oklab, var(--os-fg) 28%, transparent);
36
+ box-shadow: inset 4px 0 0 var(--os-accent), var(--shadow-3, 0 12px 32px rgba(0, 0, 0, .4));
30
37
  }
31
- .wm-win.wm-focused { box-shadow: inset 4px 0 0 var(--os-accent); }
32
38
  /* Promote to a compositor layer only for the duration of a drag/resize so the
33
39
  per-frame left/top/width/height writes don't force a main-thread layout each
34
40
  pointermove. Released on pointerup (class removed) to avoid the permanent
@@ -60,10 +66,10 @@
60
66
  text-transform: lowercase;
61
67
  }
62
68
 
63
- .wm-btns { display: flex; gap: 6px; }
69
+ .wm-btns { display: flex; align-items: center; gap: 6px; }
64
70
  .wm-btn {
65
- width: 22px;
66
- height: 22px;
71
+ width: 26px;
72
+ height: 26px;
67
73
  border: none;
68
74
  background: var(--os-bg-3);
69
75
  color: var(--os-fg-2);
@@ -79,6 +85,13 @@
79
85
  touch-action: manipulation;
80
86
  }
81
87
  .wm-btn:hover { background: var(--panel-hover, var(--os-bg-1)); color: var(--os-fg); }
88
+ /* Close gets its own hover color (red) so the destructive action is
89
+ distinguishable from minimize/maximize at a glance, not just by position. */
90
+ .wm-btn[title='close']:hover,
91
+ .wm-btn[aria-label='close']:hover {
92
+ background: var(--color-danger, #C41C0C);
93
+ color: var(--paper, #fff);
94
+ }
82
95
 
83
96
  .wm-body {
84
97
  flex: 1;
@@ -62,12 +62,12 @@
62
62
  background: var(--bg);
63
63
  color: var(--fg);
64
64
  border: 1px solid var(--bw-rule, var(--rule));
65
- border-radius: var(--r-1, 6px);
66
- padding: 8px 10px;
65
+ border-radius: var(--r-1, 8px);
66
+ padding: var(--space-2) var(--space-2-5);
67
67
  font: var(--fs-body) var(--ff-mono);
68
68
  outline: none;
69
69
  }
70
- .sp-lobby-input:focus { border-color: var(--accent); }
70
+ .sp-lobby-input:focus-visible { border-color: var(--accent); box-shadow: var(--focus-ring-inset); }
71
71
  .sp-lobby-link { font-size: var(--fs-small, 11px); }
72
72
  .sp-lobby-code {
73
73
  font-family: var(--ff-display);
@@ -10,8 +10,8 @@ class FreddieChat extends DsChat {
10
10
  constructor() {
11
11
  super();
12
12
  this._title = 'freddie';
13
- this._sub = '';
14
- this._placeholder = 'message freddie · /tools · /tool name {json} · /run …';
13
+ this._sub = '/tools · /tool name {json} · /run …';
14
+ this._placeholder = 'message freddie…';
15
15
  }
16
16
 
17
17
  connectedCallback() {
@@ -2039,6 +2039,10 @@ export interface PageViewProps {
2039
2039
  title?: string;
2040
2040
  /** @default '' */
2041
2041
  html?: string;
2042
+ /** @default '' */
2043
+ author?: string;
2044
+ /** @default 0 */
2045
+ updatedAt?: number;
2042
2046
  /** @default false */
2043
2047
  isAdmin?: boolean;
2044
2048
  onEdit?: (...args: any[]) => any;