anentrypoint-design 0.0.356 → 0.0.357
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 +43 -0
- package/dist/247420.js +25 -25
- package/package.json +1 -1
- package/src/components/spreadsheet-preview.js +78 -0
- package/src/components.js +2 -0
- package/src/css/app-shell/kits-appended.css +43 -0
package/dist/247420.css
CHANGED
|
@@ -5423,6 +5423,49 @@
|
|
|
5423
5423
|
.ds-247420 .ds-avatar-md { width: 36px; height: 36px; font-size: 12px; }
|
|
5424
5424
|
.ds-247420 .ds-avatar-lg { width: 48px; height: 48px; font-size: 15px; }
|
|
5425
5425
|
|
|
5426
|
+
/* SpreadsheetPreview — tabbed inline spreadsheet/CSV viewer (docstudio
|
|
5427
|
+
xls-preview.js port). Tabs reuse the same neutral-at-rest pattern as
|
|
5428
|
+
Table's sortable headers; the truncation banner is persistent and never
|
|
5429
|
+
hides the table underneath. */
|
|
5430
|
+
.ds-247420 .ds-sheet-preview { display: flex; flex-direction: column; gap: var(--space-2, 8px); min-width: 0; }
|
|
5431
|
+
.ds-247420 .ds-sheet-preview-tabbar {
|
|
5432
|
+
display: flex; gap: var(--space-1, 4px); overflow-x: auto; -webkit-overflow-scrolling: touch;
|
|
5433
|
+
border-bottom: 1px solid var(--border, var(--bg-3));
|
|
5434
|
+
}
|
|
5435
|
+
.ds-247420 .ds-sheet-preview-tab {
|
|
5436
|
+
flex-shrink: 0; background: none; border: none; cursor: pointer;
|
|
5437
|
+
padding: var(--space-1-5, 5px) var(--space-2-5, 10px);
|
|
5438
|
+
font: inherit; color: var(--fg-3); border-bottom: 2px solid transparent;
|
|
5439
|
+
}
|
|
5440
|
+
.ds-247420 .ds-sheet-preview-tab:hover { color: var(--fg); }
|
|
5441
|
+
.ds-247420 .ds-sheet-preview-tab:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: -2px; }
|
|
5442
|
+
.ds-247420 .ds-sheet-preview-tab.is-active { color: var(--fg); border-bottom-color: var(--accent-ink, var(--accent)); }
|
|
5443
|
+
.ds-247420 .ds-sheet-preview-truncated {
|
|
5444
|
+
font-size: var(--fs-tiny, 12px); color: var(--fg-3);
|
|
5445
|
+
padding: var(--space-1, 4px) var(--space-2, 8px);
|
|
5446
|
+
background: var(--bg-2); border-radius: var(--r-1, 6px);
|
|
5447
|
+
}
|
|
5448
|
+
.ds-247420 .ds-sheet-preview-body { overflow: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
|
|
5449
|
+
.ds-247420 .ds-sheet-preview-table { min-width: 100%; border-collapse: collapse; font-size: var(--fs-sm, 13px); }
|
|
5450
|
+
.ds-247420 .ds-sheet-preview-table th, .ds-247420 .ds-sheet-preview-table td {
|
|
5451
|
+
padding: var(--space-1-5, 5px) var(--space-2, 8px);
|
|
5452
|
+
border-bottom: 1px solid var(--border, var(--bg-3));
|
|
5453
|
+
text-align: left; white-space: nowrap;
|
|
5454
|
+
}
|
|
5455
|
+
.ds-247420 .ds-sheet-preview-table thead th {
|
|
5456
|
+
position: sticky; top: 0; background: var(--bg-2); color: var(--fg-3);
|
|
5457
|
+
font-weight: 600; z-index: 1;
|
|
5458
|
+
}
|
|
5459
|
+
.ds-247420 .ds-sheet-preview-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
5460
|
+
.ds-247420 .ds-sheet-preview-empty { padding: var(--space-3, 16px); color: var(--fg-3); }
|
|
5461
|
+
.ds-247420 .ds-sheet-preview-error-action {
|
|
5462
|
+
align-self: flex-start; background: none; border: 1px solid var(--border, var(--bg-3));
|
|
5463
|
+
border-radius: var(--r-1, 6px); padding: var(--space-1, 4px) var(--space-2-5, 10px);
|
|
5464
|
+
font: inherit; color: var(--fg); cursor: pointer;
|
|
5465
|
+
}
|
|
5466
|
+
.ds-247420 .ds-sheet-preview-error-action:hover { background: var(--bg-2); }
|
|
5467
|
+
.ds-247420 .ds-sheet-preview-error-action:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 2px; }
|
|
5468
|
+
|
|
5426
5469
|
/* community.css */
|
|
5427
5470
|
/* ============================================================
|
|
5428
5471
|
247420 design system — community surface (Discord-style chat)
|