anentrypoint-design 0.0.357 → 0.0.359

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 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); }
@@ -5465,6 +5475,118 @@
5465
5475
  }
5466
5476
  .ds-247420 .ds-sheet-preview-error-action:hover { background: var(--bg-2); }
5467
5477
  .ds-247420 .ds-sheet-preview-error-action:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 2px; }
5478
+ /* ============================================================
5479
+ Git status panel + diff view — changed-file list, unified diff.
5480
+ ============================================================ */
5481
+
5482
+ .ds-247420 .ds-git-status-grid {
5483
+ display: flex; flex-direction: column; gap: 2px;
5484
+ }
5485
+ .ds-247420 .ds-git-row {
5486
+ display: flex; align-items: center; gap: 10px;
5487
+ width: 100%; padding: 7px 12px;
5488
+ background: none; border: var(--bw-hair) solid transparent; border-radius: var(--r-2);
5489
+ color: var(--fg); font: inherit; text-align: left; cursor: pointer;
5490
+ transition: background var(--dur-snap) var(--ease), border-color var(--dur-snap) var(--ease);
5491
+ }
5492
+ .ds-247420 .ds-git-row:hover { background: var(--bg-2); border-color: var(--rule); }
5493
+ .ds-247420 .ds-git-row.active { background: var(--accent-tint); border-color: var(--accent); }
5494
+ .ds-247420 .ds-git-row:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
5495
+ .ds-247420 .ds-git-row[disabled] { cursor: default; }
5496
+
5497
+ .ds-247420 .ds-git-status-chip {
5498
+ display: inline-flex; align-items: center; justify-content: center;
5499
+ flex: 0 0 auto; width: 18px; height: 18px;
5500
+ font-family: var(--ff-mono); font-size: var(--fs-micro); font-weight: 700;
5501
+ border-radius: var(--r-1);
5502
+ }
5503
+ .ds-247420 .ds-git-status-chip.tone-add { color: var(--green-2); background: color-mix(in oklab, var(--green-2) 16%, transparent); }
5504
+ .ds-247420 .ds-git-status-chip.tone-modify { color: var(--sun); background: color-mix(in oklab, var(--sun) 16%, transparent); }
5505
+ .ds-247420 .ds-git-status-chip.tone-delete { color: var(--flame); background: color-mix(in oklab, var(--flame) 16%, transparent); }
5506
+ .ds-247420 .ds-git-status-chip.tone-neutral { color: var(--fg-3); background: var(--bg-2); }
5507
+
5508
+ .ds-247420 .ds-git-row-icon { display: inline-flex; flex: 0 0 auto; color: var(--fg-3); }
5509
+ .ds-247420 .ds-git-row-path {
5510
+ flex: 1 1 auto; min-width: 0;
5511
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
5512
+ font-family: var(--ff-mono); font-size: var(--fs-sm);
5513
+ }
5514
+ .ds-247420 .ds-git-row-tag {
5515
+ flex: 0 0 auto; font-size: var(--fs-micro); color: var(--fg-3);
5516
+ border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1); padding: 1px 6px;
5517
+ }
5518
+ .ds-247420 .ds-git-row-stats { flex: 0 0 auto; display: inline-flex; gap: 6px; font-family: var(--ff-mono); font-size: var(--fs-micro); }
5519
+ .ds-247420 .ds-git-stat-add { color: var(--green-2); }
5520
+ .ds-247420 .ds-git-stat-del { color: var(--flame); }
5521
+
5522
+ .ds-247420 .ds-git-empty {
5523
+ display: flex; flex-direction: column; align-items: center; justify-content: center;
5524
+ gap: var(--space-2); padding: var(--space-6) var(--space-3);
5525
+ color: var(--fg-3); text-align: center;
5526
+ }
5527
+ .ds-247420 .ds-git-empty-glyph { opacity: 0.55; }
5528
+
5529
+ /* Diff view */
5530
+ .ds-247420 .ds-git-diff {
5531
+ display: flex; flex-direction: column; gap: var(--space-2);
5532
+ background: var(--ink); color: var(--paper);
5533
+ border-radius: var(--r-2); overflow: hidden;
5534
+ }
5535
+ .ds-247420 .ds-git-diff-head {
5536
+ padding: var(--space-2) var(--space-3);
5537
+ border-bottom: var(--bw-hair) solid color-mix(in oklab, var(--paper) 18%, transparent);
5538
+ font-family: var(--ff-mono); font-size: var(--fs-xs);
5539
+ }
5540
+ .ds-247420 .ds-git-diff-empty { padding: var(--space-3); color: var(--fg-3); font-size: var(--fs-sm); }
5541
+ .ds-247420 .ds-git-hunk + .ds-git-hunk { border-top: var(--bw-hair) solid color-mix(in oklab, var(--paper) 12%, transparent); }
5542
+ .ds-247420 .ds-git-hunk-header {
5543
+ padding: 4px var(--space-3);
5544
+ color: var(--purple-2); font-family: var(--ff-mono); font-size: var(--fs-micro);
5545
+ background: color-mix(in oklab, var(--paper) 6%, transparent);
5546
+ }
5547
+ .ds-247420 .ds-git-hunk-body {
5548
+ margin: 0; padding: 0 0 var(--space-2);
5549
+ font-family: var(--ff-mono); font-size: var(--fs-xs); line-height: var(--lh-base);
5550
+ white-space: pre; overflow-x: auto; tab-size: 2;
5551
+ }
5552
+ .ds-247420 .ds-git-line {
5553
+ display: block; padding: 0 var(--space-3);
5554
+ }
5555
+ .ds-247420 .ds-git-line-add { background: color-mix(in oklab, var(--green-2) 16%, transparent); color: var(--paper); }
5556
+ .ds-247420 .ds-git-line-del { background: color-mix(in oklab, var(--flame) 16%, transparent); color: var(--paper); }
5557
+ .ds-247420 .ds-git-line-context { color: var(--paper-3); }
5558
+
5559
+ /* ============================================================
5560
+ WorktreeSwitcher — trigger + dropdown menu of worktrees/branches.
5561
+ ============================================================ */
5562
+ .ds-247420 .ds-wts { display: inline-flex; }
5563
+ .ds-247420 .ds-wts-trigger {
5564
+ display: inline-flex; align-items: center; gap: 8px;
5565
+ padding: 5px 10px; min-height: 32px;
5566
+ background: var(--bg); border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1);
5567
+ color: var(--fg); font: inherit; font-size: var(--fs-sm); cursor: pointer;
5568
+ max-width: 220px;
5569
+ }
5570
+ .ds-247420 .ds-wts-trigger:hover { background: var(--bg-2); }
5571
+ .ds-247420 .ds-wts-trigger:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
5572
+ .ds-247420 .ds-wts-trigger-branch {
5573
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
5574
+ font-family: var(--ff-mono);
5575
+ }
5576
+ .ds-247420 .ds-wts-trigger-caret { display: inline-flex; flex: 0 0 auto; color: var(--fg-3); }
5577
+
5578
+ .ds-247420 .ds-wts-item-body { display: flex; align-items: center; gap: 8px; min-width: 0; }
5579
+ .ds-247420 .ds-wts-item-check { display: inline-flex; flex: 0 0 16px; color: var(--accent-ink); }
5580
+ .ds-247420 .ds-wts-item-text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
5581
+ .ds-247420 .ds-wts-item-branch {
5582
+ font-family: var(--ff-mono); font-size: var(--fs-sm);
5583
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
5584
+ }
5585
+ .ds-247420 .ds-wts-item-path {
5586
+ font-size: var(--fs-micro); color: var(--fg-3);
5587
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
5588
+ }
5589
+ .ds-247420 .ds-dropdown-item[aria-disabled="true"] .ds-wts-item-branch { color: var(--fg); font-weight: 600; }
5468
5590
 
5469
5591
  /* community.css */
5470
5592
  /* ============================================================