jamdesk 1.1.184 → 1.1.185

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamdesk",
3
- "version": "1.1.184",
3
+ "version": "1.1.185",
4
4
  "description": "CLI for Jamdesk — build, preview, and deploy documentation sites from MDX. Dev server with hot reload, 50+ components, OpenAPI support, AI search, and Mintlify migration",
5
5
  "keywords": [
6
6
  "jamdesk",
@@ -368,10 +368,15 @@ body[data-theme="halo"] .sidebar-scroll ul li a::before,
368
368
  body[data-theme="halo"] .sidebar-scroll .nav-group-l1::before {
369
369
  content: '';
370
370
  position: absolute;
371
- top: 0;
371
+ /* 2px in from the link box top and bottom so that consecutive pills — the
372
+ active one and the item being hovered below it — read as two cards with a
373
+ 4px channel between them, not one continuous block. The link box is 32px
374
+ (20px line-height + py-1.5), leaving a 28px pill: still taller than the
375
+ text it wraps. */
376
+ top: 2px;
372
377
  left: -12px;
373
378
  right: 16px;
374
- bottom: 0;
379
+ bottom: 2px;
375
380
  border-radius: var(--radius-lg);
376
381
  background-color: transparent;
377
382
  z-index: -1;
@@ -399,6 +404,26 @@ body[data-theme="halo"] .sidebar-scroll ul li a.nav-active {
399
404
  font-weight: 600;
400
405
  }
401
406
 
407
+ /* Focus ring. No theme suppresses the UA outline, so a focused sidebar link
408
+ gets the browser's accent blue drawn around the LINK box — which is not the
409
+ box anyone sees: the pill is the ::before above, 12px wider on the left and
410
+ 16px narrower on the right, so the blue rectangle reads as a stray artifact
411
+ rather than a highlight, and it lingers on the page you navigated to.
412
+ Replace it with a caramel ring inset into the pill itself. Inset (not
413
+ offset) so it can never collide with the neighbouring pill across the 4px
414
+ channel, and :focus-visible so it is keyboard-only — a mouse click leaves no
415
+ ring at all. Page links only: .nav-group-l1 is a <button> that already ships
416
+ its own focus-visible ring from Sidebar.tsx, and a second one here would
417
+ double it. */
418
+ body[data-theme="halo"] .sidebar-scroll ul li a:focus {
419
+ outline: none;
420
+ }
421
+
422
+ body[data-theme="halo"] .sidebar-scroll ul li a:focus-visible::before {
423
+ outline: 2px solid var(--color-accent);
424
+ outline-offset: -2px;
425
+ }
426
+
402
427
  /* Tab + TOC links match the sidebar pill (var(--radius-lg), same as the
403
428
  .sidebar-scroll ::before highlight) — --radius-md left them a step tighter. */
404
429
  body[data-theme="halo"] .nav-tab-link,