anentrypoint-design 0.0.63 → 0.0.66
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/dist/247420.app.js +2 -2
- package/dist/247420.css +3 -1
- package/dist/247420.js +19 -19
- package/package.json +1 -1
- package/src/components/shell.js +1 -4
- package/src/desktop/freddie-dashboard.css +16 -32
- package/src/desktop/freddie-dashboard.js +526 -277
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
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",
|
package/src/components/shell.js
CHANGED
|
@@ -86,9 +86,6 @@ export function Status({ left = [], right = [] } = {}) {
|
|
|
86
86
|
|
|
87
87
|
export function AppShell({ topbar, crumb, side, main, status, narrow } = {}) {
|
|
88
88
|
const hasSide = Boolean(side);
|
|
89
|
-
const sideMotionClass = hasSide
|
|
90
|
-
? ' animate__animated animate__fadeInLeft'
|
|
91
|
-
: ' animate__animated animate__fadeOutLeft';
|
|
92
89
|
const sideNode = hasSide
|
|
93
90
|
? side
|
|
94
91
|
: h('aside', { class: 'app-side', 'aria-hidden': 'true' });
|
|
@@ -97,7 +94,7 @@ export function AppShell({ topbar, crumb, side, main, status, narrow } = {}) {
|
|
|
97
94
|
topbar || null,
|
|
98
95
|
crumb || null,
|
|
99
96
|
h('div', { class: 'app-body' + (hasSide ? '' : ' no-side') },
|
|
100
|
-
h('div', { class: 'app-side-shell'
|
|
97
|
+
h('div', { class: 'app-side-shell' }, sideNode),
|
|
101
98
|
h('main', { class: 'app-main' + (narrow ? ' narrow' : '') }, ...(Array.isArray(main) ? main : [main]))
|
|
102
99
|
),
|
|
103
100
|
status || null
|
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.fdash-panel pre { font-family: var(--ff-mono, JetBrains Mono, monospace); font-size: 11px; white-space: pre-wrap; word-break: break-all; margin: 0; max-height: 280px; overflow: auto; }
|
|
18
|
-
.fdash-panel table { width: 100%; border-collapse: collapse; font-size: 12px; }
|
|
19
|
-
.fdash-panel th, .fdash-panel td { padding: 4px 8px; text-align: left; border-bottom: 1px solid var(--panel-2, #DDD3BC); }
|
|
20
|
-
.fdash-panel th { font-weight: 600; opacity: 0.7; font-size: 10px; text-transform: uppercase; }
|
|
21
|
-
.fdash-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
|
|
22
|
-
.fdash-row .code { font-family: var(--ff-mono, JetBrains Mono, monospace); opacity: 0.6; }
|
|
23
|
-
.fdash-row .meta { margin-left: auto; opacity: 0.5; font-size: 11px; }
|
|
24
|
-
.fdash-form { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
|
|
25
|
-
.fdash-form input, .fdash-form textarea, .fdash-form select { font: inherit; padding: 4px 8px; border: 1px solid var(--panel-2, #DDD3BC); border-radius: var(--r-1, 6px); background: var(--panel-0, #F5F0E4); color: inherit; }
|
|
26
|
-
.fdash-form button { padding: 4px 12px; background: var(--panel-accent, #3F8A4A); color: #fff; border: 0; border-radius: var(--r-1, 6px); cursor: pointer; }
|
|
27
|
-
.fdash-form button.danger { background: #c44; }
|
|
28
|
-
.fdash-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; margin: 2px; }
|
|
29
|
-
.fdash-chip.ok { background: var(--panel-select, #C8E4CA); }
|
|
30
|
-
.fdash-chip.miss { background: var(--panel-2, #DDD3BC); opacity: 0.6; }
|
|
31
|
-
.fdash-empty { padding: 20px; text-align: center; opacity: 0.5; font-size: 12px; }
|
|
32
|
-
@media (max-width: 600px) { .fdash-side { flex: 0 0 56px; } .fdash-nav button .label { display: none; } }
|
|
1
|
+
/* freddie-dashboard.css — minimal supplemental rule.
|
|
2
|
+
The dashboard now renders through bible components (AppShell/Panel/Kpi/
|
|
3
|
+
Table/Receipt/Hero/Row/EmptyState/Chip) that ship their own classes via
|
|
4
|
+
247420.css. The only extra: a styled <pre> for raw JSON dumps. */
|
|
5
|
+
.app-fd .fd-pre {
|
|
6
|
+
font-family: var(--ff-mono, JetBrains Mono, monospace);
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
white-space: pre-wrap;
|
|
9
|
+
word-break: break-all;
|
|
10
|
+
margin: 0;
|
|
11
|
+
max-height: 320px;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
background: var(--panel-2, #DDD3BC);
|
|
14
|
+
padding: 8px 10px;
|
|
15
|
+
border-radius: var(--r-1, 6px);
|
|
16
|
+
}
|