anentrypoint-design 0.0.51 → 0.0.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anentrypoint-design",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -17,6 +17,8 @@
17
17
  "default": "./src/desktop/index.js"
18
18
  },
19
19
  "./desktop/theme.css": "./src/desktop/theme.css",
20
+ "./desktop/wm.css": "./src/desktop/wm.css",
21
+ "./desktop/launcher.css": "./src/desktop/launcher.css",
20
22
  "./desktop/icons.js": "./src/desktop/icons.js",
21
23
  "./desktop/shell.js": "./src/desktop/shell.js",
22
24
  "./page-html": {
@@ -0,0 +1,39 @@
1
+ /* ============================================================
2
+ Launcher dock — paired with createLauncher() (validation harness path)
3
+ ============================================================ */
4
+
5
+ .launcher-dock {
6
+ position: fixed;
7
+ left: 0; top: 0; bottom: 0;
8
+ width: 56px;
9
+ background: var(--os-bg-1);
10
+ border-right: 1px solid var(--os-bg-3);
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ padding: 8px 0;
15
+ gap: 8px;
16
+ z-index: 10000;
17
+ pointer-events: auto;
18
+ font: 11px var(--os-mono);
19
+ color: var(--os-fg);
20
+ }
21
+
22
+ .launcher-btn {
23
+ width: 40px; height: 40px;
24
+ background: transparent;
25
+ color: inherit;
26
+ cursor: pointer;
27
+ border-radius: var(--os-radius-sm);
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ padding: 0;
32
+ font: inherit;
33
+ transition: background 80ms ease, color 80ms ease;
34
+ }
35
+ .launcher-btn:hover { background: var(--os-accent); color: var(--panel-accent-fg, #000); }
36
+ .launcher-btn.active { background: var(--os-accent); color: var(--panel-accent-fg, #000); }
37
+ .launcher-add { font-size: 20px; }
38
+
39
+ .launcher-dock + .wm-root { left: 56px !important; }
@@ -305,8 +305,13 @@ html, body {
305
305
  .app-pane.mono .row:hover { background: var(--panel-hover, var(--os-bg-2)); }
306
306
  .app-pane.mono .head { color: var(--os-accent); margin-bottom: 8px; padding-bottom: 6px; font-weight: 600; letter-spacing: 0.02em; }
307
307
  .app-pane.mono pre { background: var(--os-bg-2); padding: 10px 12px; margin: 8px 0 0 0; max-height: 220px; overflow: auto; white-space: pre-wrap; font: 11.5px var(--os-mono); border-radius: var(--r-1, 6px); color: var(--os-fg); border: none; }
308
- .app-canvas { width: 100%; height: 100%; background: var(--os-bg-0); }
308
+ .app-canvas { width: 100%; height: 100%; background: var(--os-bg-0); display: block; cursor: default; }
309
+ .app-canvas.x-display { background: #0b0d10; }
309
310
  .app-frame { width: 100%; height: 100%; border: 0; background: var(--os-bg-0); }
311
+ .app-iframe { width: 100%; height: 100%; border: 0; display: block; }
312
+ .app-iframe.web { background: #ffffff; }
313
+ .app-text-cursor { animation: app-cursor-blink 0.5s step-end infinite; }
314
+ @keyframes app-cursor-blink { 50% { opacity: 0; } }
310
315
  @media (max-width: 1023px) and (min-width: 768px) {
311
316
  .os-side-rail { display: flex; }
312
317
  .wm-root { left: var(--os-rail-w) !important; }
@@ -0,0 +1,102 @@
1
+ /* ============================================================
2
+ Window Manager visuals — paired with createWM() behavior
3
+ Tokens: --os-* (defined by desktop/theme.css)
4
+ ============================================================ */
5
+
6
+ .wm-root {
7
+ position: fixed;
8
+ inset: 0;
9
+ pointer-events: none;
10
+ z-index: 9000;
11
+ }
12
+
13
+ .wm-win {
14
+ position: absolute;
15
+ min-width: 200px;
16
+ min-height: 120px;
17
+ background: var(--os-bg-1);
18
+ color: var(--os-fg);
19
+ border: 1px solid var(--os-bg-3);
20
+ border-radius: var(--os-radius);
21
+ display: flex;
22
+ flex-direction: column;
23
+ pointer-events: auto;
24
+ overflow: hidden;
25
+ }
26
+ .wm-win.wm-focused { border-color: var(--os-accent); }
27
+
28
+ .wm-bar {
29
+ display: flex;
30
+ align-items: center;
31
+ padding: 4px 8px;
32
+ background: var(--os-bg-2);
33
+ cursor: move;
34
+ user-select: none;
35
+ gap: 8px;
36
+ touch-action: none;
37
+ }
38
+ .wm-title {
39
+ flex: 1;
40
+ font: 12px var(--os-font);
41
+ white-space: nowrap;
42
+ overflow: hidden;
43
+ text-overflow: ellipsis;
44
+ }
45
+
46
+ .wm-btns { display: flex; gap: 4px; }
47
+ .wm-btn {
48
+ width: 14px;
49
+ height: 14px;
50
+ border: 1px solid currentColor;
51
+ background: transparent;
52
+ cursor: pointer;
53
+ padding: 0;
54
+ font: 9px var(--os-font);
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ color: inherit;
59
+ }
60
+ .wm-btn:hover { background: var(--os-accent); color: var(--panel-accent-fg, #000); }
61
+
62
+ .wm-body {
63
+ flex: 1;
64
+ overflow: auto;
65
+ position: relative;
66
+ background: var(--os-bg-1);
67
+ }
68
+
69
+ .wm-resize {
70
+ position: absolute;
71
+ right: 0;
72
+ bottom: 0;
73
+ width: 18px;
74
+ height: 18px;
75
+ cursor: nwse-resize;
76
+ background: var(--os-bg-3);
77
+ clip-path: polygon(100% 0, 100% 100%, 0 100%);
78
+ touch-action: none;
79
+ }
80
+
81
+ .wm-win.wm-min .wm-body,
82
+ .wm-win.wm-min .wm-resize { display: none; }
83
+
84
+ .wm-win.wm-max {
85
+ left: 0 !important;
86
+ top: 0 !important;
87
+ width: 100% !important;
88
+ height: 100% !important;
89
+ border-radius: 0;
90
+ }
91
+
92
+ @media (max-width: 767px) {
93
+ .wm-win {
94
+ left: 0 !important;
95
+ top: 0 !important;
96
+ width: 100% !important;
97
+ height: 100% !important;
98
+ border-radius: 0;
99
+ border: none;
100
+ }
101
+ .wm-resize { display: none; }
102
+ }