anentrypoint-design 0.0.489 → 1.0.2

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.489",
3
+ "version": "1.0.2",
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",
@@ -62,14 +62,11 @@
62
62
  "./kits/os/freddie-dashboard.css": "./src/kits/os/freddie-dashboard.css",
63
63
  "./kits/os/freddie-dashboard.js": "./src/kits/os/freddie-dashboard.js",
64
64
  "./kits/os/icons.js": "./src/kits/os/icons.js",
65
- "./kits/os/launcher.css": "./src/kits/os/launcher.css",
66
65
  "./kits/os/launcher.js": "./src/kits/os/launcher.js",
67
66
  "./kits/os/monitor-app.js": "./src/kits/os/monitor-app.js",
68
67
  "./kits/os/shell.js": "./src/kits/os/shell.js",
69
68
  "./kits/os/terminal-app.js": "./src/kits/os/terminal-app.js",
70
69
  "./kits/os/theme.css": "./src/kits/os/theme.css",
71
- "./kits/os/validate.css": "./src/kits/os/validate.css",
72
- "./kits/os/wm.css": "./src/kits/os/wm.css",
73
70
  "./kits/os/wm.js": "./src/kits/os/wm.js",
74
71
  "./kits/slides": {
75
72
  "import": "./src/kits/slides/index.js",
@@ -1,89 +0,0 @@
1
- /* ============================================================
2
- DEPRECATED: superseded by theme.css's .launcher-dock rules, the only
3
- stylesheet any consumer actually links. createLauncher() (the API these
4
- rules were paired to) was part of the now-removed validation harness --
5
- renderDock() in launcher.js is the current API, styled by theme.css. Kept
6
- as a package.json export map entry for now; scheduled for removal in the
7
- next major version rather than a same-session delete.
8
-
9
- Launcher dock — paired with createLauncher() (validation harness path)
10
- Bible: tonal step from canvas, no borders, pill controls, lowercase.
11
- ============================================================ */
12
-
13
- .launcher-dock {
14
- position: fixed;
15
- left: 0; top: 0; bottom: 0;
16
- width: calc(var(--os-rail-w, 56px) + env(safe-area-inset-left, 0px));
17
- background: var(--os-bg-2);
18
- border: none;
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- padding: var(--space-2, 8px) 0;
23
- padding-left: env(safe-area-inset-left, 0px);
24
- gap: var(--space-2, 8px);
25
- z-index: var(--z-dock);
26
- pointer-events: auto;
27
- font: 11px var(--os-mono);
28
- color: var(--os-fg);
29
- overflow: hidden;
30
- }
31
-
32
- .launcher-btn {
33
- width: 40px; height: 40px;
34
- background: transparent;
35
- color: var(--os-fg-2);
36
- cursor: pointer;
37
- border-radius: var(--os-radius-sm);
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- padding: 0;
42
- font: inherit;
43
- text-transform: lowercase;
44
- transition: background 80ms ease, color 80ms ease, box-shadow 80ms ease;
45
- }
46
- .launcher-btn:hover { background: var(--panel-hover, var(--os-bg-1)); color: var(--os-fg); }
47
- .launcher-btn:active { background: var(--panel-select, var(--os-accent-soft)); }
48
- .launcher-btn.active {
49
- background: var(--panel-select, var(--os-accent-soft));
50
- color: var(--os-fg);
51
- box-shadow: inset 4px 0 0 var(--os-accent);
52
- }
53
- .launcher-add { color: var(--os-fg-2); }
54
- .launcher-add:hover { color: var(--os-accent); }
55
- .launcher-btn svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; }
56
-
57
- .launcher-instances {
58
- display: flex;
59
- flex-direction: column;
60
- align-items: center;
61
- gap: 8px;
62
- flex: 1 1 auto;
63
- min-height: 0;
64
- overflow-y: auto;
65
- overflow-x: hidden;
66
- width: 100%;
67
- }
68
-
69
- .launcher-row {
70
- display: flex;
71
- flex-direction: column;
72
- align-items: center;
73
- gap: var(--space-1, 4px);
74
- }
75
-
76
- .launcher-close { opacity: 0.7; width: 20px; height: 20px; color: var(--os-fg-3); }
77
- .launcher-close svg { width: 12px; height: 12px; }
78
- .launcher-close:hover { opacity: 1; color: var(--os-red); }
79
- /* Armed (first-click) confirm state for the second-click-to-confirm destructive
80
- * close — a visible "are you sure" cue before the instance actually closes. */
81
- .launcher-close.confirm { opacity: 1; color: var(--os-red); box-shadow: inset 0 0 0 1px var(--os-red); }
82
-
83
- .launcher-dock + .wm-root { left: calc(var(--os-rail-w, 56px) + env(safe-area-inset-left, 0px)) !important; }
84
-
85
- /* Touch tap-target floor for dock controls. */
86
- @media (pointer: coarse) {
87
- .launcher-btn { width: 44px; height: 44px; }
88
- .launcher-close { width: 44px; height: 44px; font-size: 13px; }
89
- }
@@ -1,26 +0,0 @@
1
- /* DEPRECATED: styled the validate.html harness, which thebird's README
2
- documents as removed (headless CI flaked on the 61MB plugkit.wasm
3
- cold-load). validator-app.js (the component this sheet styled) no longer
4
- exists in this repo's source -- only a stale vendored copy remains in
5
- thebird's docs/vendor/. Kept as a package.json export map entry for now;
6
- scheduled for removal in the next major version rather than a
7
- same-session delete. */
8
- body { margin: 0; padding: 24px; font-family: var(--os-font); background: var(--os-bg-0); color: var(--os-fg); }
9
- h1 { margin: 0 0 8px 0; font-size: 22px; font-weight: 600; }
10
- h3 { margin: 18px 0 6px 0; color: var(--os-fg-2); font-size: 13px; font-weight: 600; }
11
- .sub { color: var(--os-fg-2); margin-bottom: 20px; }
12
- table { border-collapse: collapse; width: 100%; max-width: 760px; }
13
- td { padding: 6px 12px; border-bottom: 1px solid var(--os-bg-3); }
14
- td.k { width: 280px; color: var(--os-fg-2); }
15
- td.v { font-weight: 600; }
16
- td.v.pass { color: var(--os-accent); }
17
- td.v.fail { color: var(--os-red); }
18
- td.v.pending { color: var(--os-amber); }
19
- .all { margin-top: 16px; padding: 12px; background: var(--os-bg-1); max-width: 760px; border-radius: var(--os-radius-sm); }
20
- .all.green { color: var(--os-accent); }
21
- .all.red { color: var(--os-red); }
22
- .err { color: var(--os-red); white-space: pre-wrap; margin-top: 12px; }
23
- a { color: var(--os-accent); text-decoration: none; }
24
- a:hover { color: var(--os-accent-2); }
25
- iframe.osframe { position: absolute; left: -9999px; top: 0; width: 1280px; height: 900px; border: 0; }
26
- iframe.osframe-phone { position: absolute; left: -9999px; top: 0; width: 414px; height: 720px; border: 0; }
@@ -1,190 +0,0 @@
1
- /* ============================================================
2
- DEPRECATED: superseded by theme.css, which has a superset of these rules
3
- (26 .wm-win selectors vs this file's 11) and is the only stylesheet any
4
- consumer actually links. createWM() (the API these rules were paired to)
5
- no longer exists -- renderWindow() in wm.js is the current API, styled by
6
- theme.css. Kept as a package.json export map entry for now; scheduled for
7
- removal in the next major version rather than a same-session delete.
8
-
9
- Window Manager visuals — paired with createWM() behavior
10
- Tokens: --os-* (defined by desktop/theme.css)
11
- Bible: tonal surfaces, inset rail for focus, subtle hairline border +
12
- elevation shadow on every window (stronger on wm-focused) so windows
13
- read as distinct layers against a dark desktop background.
14
- ============================================================ */
15
-
16
- .wm-root {
17
- position: fixed;
18
- inset: 0;
19
- pointer-events: none;
20
- z-index: var(--z-window);
21
- }
22
-
23
- .wm-win {
24
- position: absolute;
25
- min-width: 200px;
26
- min-height: 120px;
27
- /* Never exceed the .wm-root desktop area — a window sized on a large
28
- monitor must stay recoverable when the viewport shrinks. */
29
- max-width: 100%;
30
- max-height: 100%;
31
- background: var(--os-bg-1);
32
- color: var(--os-fg);
33
- border: 1px solid color-mix(in oklab, var(--os-fg) 14%, transparent);
34
- border-radius: var(--os-radius, var(--r-2, 10px));
35
- display: flex;
36
- flex-direction: column;
37
- pointer-events: auto;
38
- overflow: hidden;
39
- box-shadow: var(--shadow-2, 0 4px 12px rgba(0, 0, 0, .3));
40
- }
41
- .wm-win.wm-focused {
42
- border-color: color-mix(in oklab, var(--os-fg) 28%, transparent);
43
- box-shadow: inset 4px 0 0 var(--os-accent), var(--shadow-3, 0 12px 32px rgba(0, 0, 0, .4));
44
- }
45
- /* Promote to a compositor layer only for the duration of a drag/resize so the
46
- per-frame left/top/width/height writes don't force a main-thread layout each
47
- pointermove. Released on pointerup (class removed) to avoid the permanent
48
- will-change memory/perf anti-pattern. */
49
- .wm-win.wm-dragging { will-change: left, top; }
50
- .wm-win.wm-resizing { will-change: width, height; }
51
-
52
- .wm-bar {
53
- display: flex;
54
- align-items: center;
55
- min-height: 36px;
56
- box-sizing: border-box;
57
- padding: 8px 12px;
58
- background: var(--os-bg-2);
59
- cursor: move;
60
- user-select: none;
61
- gap: 8px;
62
- touch-action: none;
63
- border: none;
64
- }
65
- .wm-title {
66
- flex: 1;
67
- min-width: 0;
68
- font: 12px var(--os-font);
69
- color: var(--os-fg-2);
70
- white-space: nowrap;
71
- overflow: hidden;
72
- text-overflow: ellipsis;
73
- text-transform: lowercase;
74
- }
75
-
76
- .wm-btns { display: flex; align-items: center; gap: 6px; }
77
- .wm-btn {
78
- width: 26px;
79
- height: 26px;
80
- border: none;
81
- background: var(--os-bg-3);
82
- color: var(--os-fg-2);
83
- cursor: pointer;
84
- padding: 0;
85
- font: 600 12px var(--os-mono);
86
- line-height: 1;
87
- display: inline-flex;
88
- align-items: center;
89
- justify-content: center;
90
- border-radius: var(--os-radius-sm, var(--r-1, 6px));
91
- transition: background 100ms ease, color 100ms ease;
92
- touch-action: manipulation;
93
- }
94
- .wm-btn:hover { background: var(--panel-hover, var(--os-bg-1)); color: var(--os-fg); }
95
- /* Close gets its own hover color (red) so the destructive action is
96
- distinguishable from minimize/maximize at a glance, not just by position. */
97
- .wm-btn[title='close']:hover,
98
- .wm-btn[aria-label='close']:hover {
99
- background: var(--color-danger, #C41C0C);
100
- color: var(--paper, #fff);
101
- }
102
-
103
- .wm-body {
104
- flex: 1;
105
- overflow: auto;
106
- position: relative;
107
- background: var(--os-bg-1);
108
- }
109
-
110
- .wm-resize {
111
- position: absolute;
112
- right: 0;
113
- bottom: 0;
114
- width: 16px;
115
- height: 16px;
116
- padding: 2px;
117
- box-sizing: border-box;
118
- cursor: nwse-resize;
119
- background: transparent;
120
- color: var(--os-fg-3);
121
- opacity: 0.4;
122
- touch-action: none;
123
- }
124
- .wm-resize:hover { opacity: 0.7; }
125
- /* Resize grip drawn with CSS (two diagonal hairlines) instead of a decorative
126
- * unicode content glyph; keeps the affordance, drops the glyph tell. */
127
- .wm-resize::after {
128
- content: '';
129
- position: absolute;
130
- right: 3px;
131
- bottom: 3px;
132
- width: 9px;
133
- height: 9px;
134
- background:
135
- linear-gradient(135deg, transparent 0 45%, currentColor 45% 55%, transparent 55% 100%),
136
- linear-gradient(135deg, transparent 0 70%, currentColor 70% 80%, transparent 80% 100%);
137
- }
138
-
139
- /* Edge + corner resize hit-zones. Invisible (no glyph) — they only widen the
140
- * grab area beyond the SE .wm-resize grip. `width`/`height` are the grab
141
- * thickness; corners overlap edges and win via later source order + size. */
142
- .wm-edge { position: absolute; touch-action: none; z-index: var(--z-raised); }
143
- .wm-edge[data-dir='n'] { top: -3px; left: 8px; right: 8px; height: 8px; cursor: ns-resize; }
144
- .wm-edge[data-dir='s'] { bottom: -3px; left: 8px; right: 8px; height: 8px; cursor: ns-resize; }
145
- .wm-edge[data-dir='e'] { right: -3px; top: 8px; bottom: 8px; width: 8px; cursor: ew-resize; }
146
- .wm-edge[data-dir='w'] { left: -3px; top: 8px; bottom: 8px; width: 8px; cursor: ew-resize; }
147
- .wm-edge[data-dir='ne'] { top: -3px; right: -3px; width: 14px; height: 14px; cursor: nesw-resize; }
148
- .wm-edge[data-dir='nw'] { top: -3px; left: -3px; width: 14px; height: 14px; cursor: nwse-resize; }
149
- .wm-edge[data-dir='sw'] { bottom: -3px; left: -3px; width: 14px; height: 14px; cursor: nesw-resize; }
150
-
151
- .wm-win.wm-min .wm-edge,
152
- .wm-win.wm-max .wm-edge { display: none; }
153
-
154
- .wm-win.wm-min .wm-body,
155
- .wm-win.wm-min .wm-resize { display: none; }
156
-
157
- .wm-win.wm-min { display: none; }
158
-
159
- .wm-win.wm-max {
160
- left: 0 !important;
161
- top: 0 !important;
162
- width: 100% !important;
163
- height: 100% !important;
164
- border-radius: 0;
165
- }
166
-
167
- /* Touch: lift resize hit-zones and window buttons toward the 44px floor
168
- (wm.css must be self-sufficient; theme.css only covers .ds-247420). */
169
- @media (pointer: coarse) {
170
- .wm-edge[data-dir='n'], .wm-edge[data-dir='s'] { height: 20px; }
171
- .wm-edge[data-dir='e'], .wm-edge[data-dir='w'] { width: 20px; }
172
- .wm-edge[data-dir='ne'], .wm-edge[data-dir='nw'], .wm-edge[data-dir='sw'] { width: 32px; height: 32px; }
173
- .wm-resize { width: 32px; height: 32px; }
174
- .wm-btn { min-width: 44px; min-height: 44px; }
175
- }
176
-
177
- /* Full-screen windows on phones AND short landscape phones — a width-only
178
- query misses 812x375 landscape, which cannot host floating chrome. */
179
- @media (max-width: 767px), ((max-height: 500px) and (orientation: landscape) and (pointer: coarse)) {
180
- .wm-win {
181
- left: 0 !important;
182
- top: 0 !important;
183
- width: 100% !important;
184
- height: 100% !important;
185
- border-radius: 0;
186
- border: none;
187
- }
188
- .wm-resize { display: none; }
189
- .wm-edge { display: none; }
190
- }