anentrypoint-design 0.0.356 → 0.0.358
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.css +53 -0
- package/dist/247420.js +25 -25
- package/package.json +1 -1
- package/src/components/data-density.js +14 -0
- package/src/components/spreadsheet-preview.js +78 -0
- package/src/components.js +7 -0
- package/src/css/app-shell/data-density.css +10 -0
- package/src/css/app-shell/kits-appended.css +43 -0
package/dist/247420.css
CHANGED
|
@@ -4967,6 +4967,16 @@
|
|
|
4967
4967
|
.ds-247420 .ds-stat-val.err-rate { font-size: clamp(24px, 7cqi, 32px); color: var(--warn); }
|
|
4968
4968
|
.ds-247420 .ds-stat-lbl { font-size: var(--fs-micro); color: var(--fg-3); margin-top: 2px; }
|
|
4969
4969
|
|
|
4970
|
+
/* RateCell — tone-colored numeric table cell (success-rate / percentile-latency
|
|
4971
|
+
columns), ported from docstudio's endpointsView() success-rate coloring.
|
|
4972
|
+
Neutral at rest; color carries meaning only, matching Table's sortable-header
|
|
4973
|
+
restraint pattern. */
|
|
4974
|
+
.ds-247420 .ds-rate-cell { font-variant-numeric: tabular-nums; font-weight: 600; }
|
|
4975
|
+
.ds-247420 .ds-rate-cell-neutral { color: var(--fg-2); font-weight: 400; }
|
|
4976
|
+
.ds-247420 .ds-rate-cell-good { color: var(--success); }
|
|
4977
|
+
.ds-247420 .ds-rate-cell-warn { color: var(--warn); }
|
|
4978
|
+
.ds-247420 .ds-rate-cell-bad { color: var(--danger); }
|
|
4979
|
+
|
|
4970
4980
|
/* Inline row — flex row with centered items and a small gap, for demo/kit
|
|
4971
4981
|
markup that needs to lay siblings out horizontally without an inline style. */
|
|
4972
4982
|
.ds-247420 .ds-inline-row { display: flex; align-items: center; gap: var(--space-2, 8px); }
|
|
@@ -5423,6 +5433,49 @@
|
|
|
5423
5433
|
.ds-247420 .ds-avatar-md { width: 36px; height: 36px; font-size: 12px; }
|
|
5424
5434
|
.ds-247420 .ds-avatar-lg { width: 48px; height: 48px; font-size: 15px; }
|
|
5425
5435
|
|
|
5436
|
+
/* SpreadsheetPreview — tabbed inline spreadsheet/CSV viewer (docstudio
|
|
5437
|
+
xls-preview.js port). Tabs reuse the same neutral-at-rest pattern as
|
|
5438
|
+
Table's sortable headers; the truncation banner is persistent and never
|
|
5439
|
+
hides the table underneath. */
|
|
5440
|
+
.ds-247420 .ds-sheet-preview { display: flex; flex-direction: column; gap: var(--space-2, 8px); min-width: 0; }
|
|
5441
|
+
.ds-247420 .ds-sheet-preview-tabbar {
|
|
5442
|
+
display: flex; gap: var(--space-1, 4px); overflow-x: auto; -webkit-overflow-scrolling: touch;
|
|
5443
|
+
border-bottom: 1px solid var(--border, var(--bg-3));
|
|
5444
|
+
}
|
|
5445
|
+
.ds-247420 .ds-sheet-preview-tab {
|
|
5446
|
+
flex-shrink: 0; background: none; border: none; cursor: pointer;
|
|
5447
|
+
padding: var(--space-1-5, 5px) var(--space-2-5, 10px);
|
|
5448
|
+
font: inherit; color: var(--fg-3); border-bottom: 2px solid transparent;
|
|
5449
|
+
}
|
|
5450
|
+
.ds-247420 .ds-sheet-preview-tab:hover { color: var(--fg); }
|
|
5451
|
+
.ds-247420 .ds-sheet-preview-tab:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: -2px; }
|
|
5452
|
+
.ds-247420 .ds-sheet-preview-tab.is-active { color: var(--fg); border-bottom-color: var(--accent-ink, var(--accent)); }
|
|
5453
|
+
.ds-247420 .ds-sheet-preview-truncated {
|
|
5454
|
+
font-size: var(--fs-tiny, 12px); color: var(--fg-3);
|
|
5455
|
+
padding: var(--space-1, 4px) var(--space-2, 8px);
|
|
5456
|
+
background: var(--bg-2); border-radius: var(--r-1, 6px);
|
|
5457
|
+
}
|
|
5458
|
+
.ds-247420 .ds-sheet-preview-body { overflow: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
|
|
5459
|
+
.ds-247420 .ds-sheet-preview-table { min-width: 100%; border-collapse: collapse; font-size: var(--fs-sm, 13px); }
|
|
5460
|
+
.ds-247420 .ds-sheet-preview-table th, .ds-247420 .ds-sheet-preview-table td {
|
|
5461
|
+
padding: var(--space-1-5, 5px) var(--space-2, 8px);
|
|
5462
|
+
border-bottom: 1px solid var(--border, var(--bg-3));
|
|
5463
|
+
text-align: left; white-space: nowrap;
|
|
5464
|
+
}
|
|
5465
|
+
.ds-247420 .ds-sheet-preview-table thead th {
|
|
5466
|
+
position: sticky; top: 0; background: var(--bg-2); color: var(--fg-3);
|
|
5467
|
+
font-weight: 600; z-index: 1;
|
|
5468
|
+
}
|
|
5469
|
+
.ds-247420 .ds-sheet-preview-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
5470
|
+
.ds-247420 .ds-sheet-preview-empty { padding: var(--space-3, 16px); color: var(--fg-3); }
|
|
5471
|
+
.ds-247420 .ds-sheet-preview-error-action {
|
|
5472
|
+
align-self: flex-start; background: none; border: 1px solid var(--border, var(--bg-3));
|
|
5473
|
+
border-radius: var(--r-1, 6px); padding: var(--space-1, 4px) var(--space-2-5, 10px);
|
|
5474
|
+
font: inherit; color: var(--fg); cursor: pointer;
|
|
5475
|
+
}
|
|
5476
|
+
.ds-247420 .ds-sheet-preview-error-action:hover { background: var(--bg-2); }
|
|
5477
|
+
.ds-247420 .ds-sheet-preview-error-action:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 2px; }
|
|
5478
|
+
|
|
5426
5479
|
/* community.css */
|
|
5427
5480
|
/* ============================================================
|
|
5428
5481
|
247420 design system — community surface (Discord-style chat)
|