anentrypoint-design 0.0.247 → 0.0.248
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/app-shell.css +2 -0
- package/colors_and_type.css +8 -0
- package/dist/247420.css +115 -2
- package/dist/247420.js +16 -16
- package/package.json +1 -1
- package/src/components/data-density.js +6 -5
- package/src/components/editor-primitives.js +91 -0
- package/src/components/shell.js +10 -0
- package/src/components.js +4 -3
package/app-shell.css
CHANGED
|
@@ -540,6 +540,8 @@ body.canvas-host { background: transparent !important; }
|
|
|
540
540
|
background: var(--bg-3); color: var(--fg-2);
|
|
541
541
|
margin: 1px;
|
|
542
542
|
}
|
|
543
|
+
.ds-pill.tone-accent { background: var(--accent-tint); color: var(--accent-ink); }
|
|
544
|
+
.ds-pill.tone-muted { background: transparent; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--rule); }
|
|
543
545
|
|
|
544
546
|
.glyph {
|
|
545
547
|
display: inline-flex; align-items: center; justify-content: center;
|
package/colors_and_type.css
CHANGED
|
@@ -159,9 +159,17 @@
|
|
|
159
159
|
--tr-tighter: -0.03em;
|
|
160
160
|
|
|
161
161
|
/* Spacing (8pt) */
|
|
162
|
+
/* Micro rungs below --space-1 — dense editor/inspector chrome (table cell
|
|
163
|
+
padding, pill gaps, tight toolbar gutters) needs finer steps than the 8pt
|
|
164
|
+
scale offers; same reasoning as --r-hair/--r-0 sitting below --r-1. */
|
|
165
|
+
--space-hair: 2px;
|
|
166
|
+
--space-half: 3px;
|
|
162
167
|
--space-0: 0;
|
|
163
168
|
--space-1: 4px;
|
|
169
|
+
--space-1-5: 5px;
|
|
170
|
+
--space-1-75: 6px;
|
|
164
171
|
--space-2: 8px;
|
|
172
|
+
--space-2-5: 10px;
|
|
165
173
|
--space-3: 16px;
|
|
166
174
|
--space-4: 24px;
|
|
167
175
|
--space-5: 32px;
|
package/dist/247420.css
CHANGED
|
@@ -161,9 +161,17 @@
|
|
|
161
161
|
--tr-tighter: -0.03em;
|
|
162
162
|
|
|
163
163
|
/* Spacing (8pt) */
|
|
164
|
+
/* Micro rungs below --space-1 — dense editor/inspector chrome (table cell
|
|
165
|
+
padding, pill gaps, tight toolbar gutters) needs finer steps than the 8pt
|
|
166
|
+
scale offers; same reasoning as --r-hair/--r-0 sitting below --r-1. */
|
|
167
|
+
--space-hair: 2px;
|
|
168
|
+
--space-half: 3px;
|
|
164
169
|
--space-0: 0;
|
|
165
170
|
--space-1: 4px;
|
|
171
|
+
--space-1-5: 5px;
|
|
172
|
+
--space-1-75: 6px;
|
|
166
173
|
--space-2: 8px;
|
|
174
|
+
--space-2-5: 10px;
|
|
167
175
|
--space-3: 16px;
|
|
168
176
|
--space-4: 24px;
|
|
169
177
|
--space-5: 32px;
|
|
@@ -1038,6 +1046,8 @@
|
|
|
1038
1046
|
background: var(--bg-3); color: var(--fg-2);
|
|
1039
1047
|
margin: 1px;
|
|
1040
1048
|
}
|
|
1049
|
+
.ds-247420 .ds-pill.tone-accent { background: var(--accent-tint); color: var(--accent-ink); }
|
|
1050
|
+
.ds-247420 .ds-pill.tone-muted { background: transparent; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--rule); }
|
|
1041
1051
|
|
|
1042
1052
|
.ds-247420 .glyph {
|
|
1043
1053
|
display: inline-flex; align-items: center; justify-content: center;
|
|
@@ -7510,6 +7520,29 @@
|
|
|
7510
7520
|
.ds-247420 .ds-ep-toolbar-trailing { margin-left: auto; }
|
|
7511
7521
|
.ds-247420 .ds-ep-toolbar-center { flex: 1; min-width: 0; }
|
|
7512
7522
|
|
|
7523
|
+
/* ToolbarRow — flat wrapping action row, no slot structure. */
|
|
7524
|
+
.ds-247420 .ds-ep-toolbar-row {
|
|
7525
|
+
display: flex; gap: var(--space-2, 8px); align-items: center; flex-wrap: wrap;
|
|
7526
|
+
margin-bottom: var(--space-2-5, 10px);
|
|
7527
|
+
}
|
|
7528
|
+
.ds-247420 .ds-ep-toolbar-row input,
|
|
7529
|
+
.ds-247420 .ds-ep-toolbar-row select,
|
|
7530
|
+
.ds-247420 .ds-ep-toolbar-row textarea {
|
|
7531
|
+
background: var(--panel-2, var(--bg-2));
|
|
7532
|
+
border: 1px solid var(--rule);
|
|
7533
|
+
color: var(--panel-text, var(--fg));
|
|
7534
|
+
padding: var(--space-1-5, 5px) var(--space-2-5, 10px);
|
|
7535
|
+
border-radius: var(--r-1, 4px);
|
|
7536
|
+
font-size: var(--fs-tiny, 12px);
|
|
7537
|
+
font-family: inherit;
|
|
7538
|
+
}
|
|
7539
|
+
.ds-247420 .ds-ep-toolbar-row input { flex: 1; min-width: 140px; }
|
|
7540
|
+
.ds-247420 .ds-ep-toolbar-row input:focus-visible,
|
|
7541
|
+
.ds-247420 .ds-ep-toolbar-row select:focus-visible,
|
|
7542
|
+
.ds-247420 .ds-ep-toolbar-row textarea:focus-visible {
|
|
7543
|
+
outline: none; border-color: var(--accent);
|
|
7544
|
+
}
|
|
7545
|
+
|
|
7513
7546
|
/* Tabs */
|
|
7514
7547
|
.ds-247420 .ds-ep-tabs { display: flex; flex-direction: column; min-height: 0; height: 100%; }
|
|
7515
7548
|
.ds-247420 .ds-ep-tabs-head {
|
|
@@ -7685,6 +7718,45 @@
|
|
|
7685
7718
|
.ds-247420 .ds-ep-propfield.block .ds-ep-btngrp { width: 100%; }
|
|
7686
7719
|
.ds-247420 .ds-ep-propfield.block .ds-ep-btngrp-btn { flex: 1 1 0; text-align: center; }
|
|
7687
7720
|
|
|
7721
|
+
/* PropertyGridRow — bordered-row variant for a list of independently-editable
|
|
7722
|
+
records (each record its own bottom-divided block, last one flush). */
|
|
7723
|
+
.ds-247420 .ds-ep-propgrid-row {
|
|
7724
|
+
border-bottom: 1px solid var(--rule);
|
|
7725
|
+
padding: var(--space-2, 8px) 0;
|
|
7726
|
+
}
|
|
7727
|
+
.ds-247420 .ds-ep-propgrid-row:last-child { border-bottom: none; }
|
|
7728
|
+
|
|
7729
|
+
/* InlineEditableField — transparent-until-focus input, error state exposed
|
|
7730
|
+
both visually (danger border) and semantically (aria-invalid, read by the
|
|
7731
|
+
caller's own error text via aria-describedby if wired).
|
|
7732
|
+
Specificity note: `.ds-ep-propfield-value input` (descendant combinator,
|
|
7733
|
+
2 classes + 1 tag = (0,2,1) specificity) sets a visible border on every
|
|
7734
|
+
input nested in a PropertyField -- the exact idiom InlineEditableField is
|
|
7735
|
+
meant to be dropped into. A bare `input.ds-ep-inline-input` is only
|
|
7736
|
+
(0,1,1) and loses; `:where(.ds-ep-propfield-value, .ds-ep-inline-standalone)`
|
|
7737
|
+
is intentionally NOT used here because :where() has zero specificity and
|
|
7738
|
+
would still lose. Instead the selector repeats .ds-ep-inline-input twice
|
|
7739
|
+
(a valid, standard way to bump specificity by one class without adding an
|
|
7740
|
+
ambient wrapper dependency) to reliably out-rank the PropertyField rule
|
|
7741
|
+
regardless of nesting context. */
|
|
7742
|
+
.ds-247420 .ds-ep-inline-input.ds-ep-inline-input {
|
|
7743
|
+
background: transparent;
|
|
7744
|
+
border: 1px solid transparent;
|
|
7745
|
+
color: inherit; font: inherit;
|
|
7746
|
+
width: 100%;
|
|
7747
|
+
border-radius: var(--r-1, 4px);
|
|
7748
|
+
padding: var(--space-hair, 2px) var(--space-1, 4px);
|
|
7749
|
+
}
|
|
7750
|
+
.ds-247420 .ds-ep-inline-input.ds-ep-inline-input:focus-visible {
|
|
7751
|
+
outline: none;
|
|
7752
|
+
border-color: var(--accent);
|
|
7753
|
+
background: var(--panel-2, var(--bg-2));
|
|
7754
|
+
}
|
|
7755
|
+
.ds-247420 .ds-ep-inline-input.ds-ep-inline-input.has-error,
|
|
7756
|
+
.ds-247420 .ds-ep-inline-input.ds-ep-inline-input[aria-invalid="true"] {
|
|
7757
|
+
border-color: var(--danger);
|
|
7758
|
+
}
|
|
7759
|
+
|
|
7688
7760
|
/* Flush dense action bar docked at a panel bottom (inspector Edit/Delete etc.).
|
|
7689
7761
|
Compact buttons, square-ish, bordered top — not big floating pills. */
|
|
7690
7762
|
.ds-247420 .ds-ep-actionbar {
|
|
@@ -7716,6 +7788,45 @@
|
|
|
7716
7788
|
.ds-247420 .ds-ep-toolbar button:not(.ds-ep-btngrp-btn) { min-height: 36px; height: 36px; }
|
|
7717
7789
|
}
|
|
7718
7790
|
|
|
7791
|
+
/* Pager */
|
|
7792
|
+
.ds-247420 .ds-ep-pager {
|
|
7793
|
+
display: flex; align-items: center; gap: var(--space-1-75, 6px);
|
|
7794
|
+
margin-top: var(--space-2, 8px);
|
|
7795
|
+
font: var(--fs-tiny, 12px)/1 var(--ff-mono, monospace);
|
|
7796
|
+
color: var(--panel-text-3, var(--fg-3));
|
|
7797
|
+
}
|
|
7798
|
+
.ds-247420 .ds-ep-pager-btn {
|
|
7799
|
+
appearance: none; cursor: pointer;
|
|
7800
|
+
background: var(--panel-2, var(--bg-2));
|
|
7801
|
+
border: 1px solid var(--rule);
|
|
7802
|
+
color: var(--panel-text, var(--fg));
|
|
7803
|
+
padding: var(--space-half, 3px) var(--space-2-5, 10px);
|
|
7804
|
+
border-radius: var(--r-1, 4px);
|
|
7805
|
+
font: inherit;
|
|
7806
|
+
}
|
|
7807
|
+
.ds-247420 .ds-ep-pager-btn:hover:not([disabled]) { background: color-mix(in oklab, var(--accent) 10%, transparent); }
|
|
7808
|
+
.ds-247420 .ds-ep-pager-btn:disabled { opacity: 0.4; cursor: default; }
|
|
7809
|
+
.ds-247420 .ds-ep-pager-label { white-space: nowrap; }
|
|
7810
|
+
|
|
7811
|
+
/* JsonViewer */
|
|
7812
|
+
.ds-247420 .ds-ep-json {
|
|
7813
|
+
font-size: var(--fs-tiny, 12px);
|
|
7814
|
+
font-family: var(--ff-mono, ui-monospace, Consolas, monospace);
|
|
7815
|
+
white-space: pre-wrap; word-break: break-all;
|
|
7816
|
+
background: var(--panel-2, var(--bg-2));
|
|
7817
|
+
color: var(--panel-text, var(--fg));
|
|
7818
|
+
padding: var(--space-2, 8px);
|
|
7819
|
+
border-radius: var(--r-1, var(--r-2, 4px));
|
|
7820
|
+
max-height: 300px;
|
|
7821
|
+
overflow-y: auto;
|
|
7822
|
+
margin: 0;
|
|
7823
|
+
}
|
|
7824
|
+
.ds-247420 .ds-ep-json-empty {
|
|
7825
|
+
color: var(--panel-text-3, var(--fg-3));
|
|
7826
|
+
white-space: normal;
|
|
7827
|
+
text-align: center;
|
|
7828
|
+
}
|
|
7829
|
+
|
|
7719
7830
|
/* Dock — 3x3 grid for in-engine overlay (canvas pass-through center) */
|
|
7720
7831
|
.ds-247420 .ds-ep-dock {
|
|
7721
7832
|
display: grid;
|
|
@@ -7965,7 +8076,8 @@
|
|
|
7965
8076
|
.ds-247420 .ds-ep-btngrp-btn:focus-visible,
|
|
7966
8077
|
.ds-247420 .ds-ep-ctxmenu-item:focus-visible,
|
|
7967
8078
|
.ds-247420 .ds-ep-resize:focus-visible,
|
|
7968
|
-
.ds-247420 .ds-ep-dialog-btn:focus-visible
|
|
8079
|
+
.ds-247420 .ds-ep-dialog-btn:focus-visible,
|
|
8080
|
+
.ds-247420 .ds-ep-pager-btn:focus-visible {
|
|
7969
8081
|
outline: 2px solid var(--accent-ink);
|
|
7970
8082
|
outline-offset: 2px;
|
|
7971
8083
|
}
|
|
@@ -7978,7 +8090,8 @@
|
|
|
7978
8090
|
.ds-247420 .ds-ep-btngrp-btn,
|
|
7979
8091
|
.ds-247420 .ds-ep-ctxmenu-item,
|
|
7980
8092
|
.ds-247420 .ds-ep-dialog-btn,
|
|
7981
|
-
.ds-247420 .ds-ep-tree-row
|
|
8093
|
+
.ds-247420 .ds-ep-tree-row,
|
|
8094
|
+
.ds-247420 .ds-ep-pager-btn {
|
|
7982
8095
|
min-height: 44px;
|
|
7983
8096
|
padding-top: 10px;
|
|
7984
8097
|
padding-bottom: 10px;
|