anentrypoint-design 1.0.12 → 1.0.14

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": "anentrypoint-design",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -143,16 +143,12 @@
143
143
  font-family: var(--ff-mono); font-size: var(--fs-xs);
144
144
  display: inline-flex; align-items: center; gap: 6px;
145
145
  }
146
- /* CSS-drawn disc mark on the compact theme toggle: keeps the control
147
- legible when its text label is hidden (icon-only rail strip). Per-mode
148
- fill gives the icon itself a distinct look for auto/light/dark, so state
149
- reads without relying on the title tooltip alone. */
150
- .ds-theme-disc {
151
- flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
152
- border: var(--bw-hair) solid var(--fg-3);
153
- /* auto: half-and-half, matches default (no data-mode) for safety */
154
- background: linear-gradient(90deg, var(--fg-3) 0 50%, transparent 50% 100%);
155
- }
146
+ /* CSS-drawn disc mark on the compact theme toggle: legibility fallback for
147
+ when BOTH the SVG glyph and text label are hidden (icon-only rail strip).
148
+ The glyph (.ds-theme-toggle-icon) already conveys mode whenever it is
149
+ visible, so the disc stays hidden alongside it and only shows in the
150
+ rail-collapsed state where responsive2-workspace.css hides the icon too. */
151
+ .ds-theme-disc { display: none; }
156
152
  .ds-theme-disc[data-mode="auto"] {
157
153
  background: linear-gradient(90deg, var(--fg-3) 0 50%, transparent 50% 100%);
158
154
  }
@@ -361,12 +361,19 @@ body.canvas-host { background: transparent !important; }
361
361
  viewports (the shrink-to-fit bug undersized even the base 760px case). */
362
362
  .app-main.narrow { width: 100%; max-width: var(--measure-narrow); margin: 0 auto; }
363
363
  /* .narrow means "prose reading measure", not "shrink the whole shell on wide
364
- screens" -- the fixed 760px floor read as narrow on any viewport above
365
- ~1300px since the clamp below only widens the no-side case. Sidebar-present
366
- narrow pages (docs, papers) get the same wide-viewport widening treatment,
367
- just without the no-side variant's extra sidebar-width allowance. */
364
+ screens". The old clamp(760px, 46vw, 1000px) grew too slowly to track the
365
+ real available column: at 1920px viewport the .app-body grid's second
366
+ track (.app width minus --sidebar-width) is ~1556px, but 46vw=883px sat
367
+ well under the 1000px ceiling, leaving a ~340px dead gutter between the
368
+ sidebar and the centered narrow column on an ordinary desktop screen (not
369
+ just ultrawide) -- confirmed live via a real 1920x1080 CDP viewport, a
370
+ project page (#/p/<slug>). 62vw tracks the actual column growth far closer
371
+ (1920*0.62=1190px, much nearer the 1556px track than 883px was) while the
372
+ 1200px ceiling still keeps prose from stretching into an unreadable
373
+ full-bleed line -- sidebar-present narrow pages read the same width class
374
+ as the no-side variant below instead of visibly starving next to it. */
368
375
  .app-body:not(.no-side) .app-main.narrow {
369
- max-width: clamp(var(--measure-narrow), 46vw, 1000px);
376
+ max-width: clamp(var(--measure-narrow), 62vw, 1200px);
370
377
  }
371
378
  /* A shell with no sidebar has no competing column, so the prose clamp there was
372
379
  leaving the whole sidebar's worth of width empty -- 760px of content inside a
@@ -403,8 +410,12 @@ body.canvas-host { background: transparent !important; }
403
410
  1400-2200px viewport band (matches .ws-shell's 1920px ultrawide cap below)
404
411
  instead of freezing at 1400px and leaving >1000px dead margin on a 2560px+
405
412
  display. Row/prose measure caps (--measure-wide etc.) still own line-length
406
- readability, so widening the shell itself does not create unreadable rows. */
407
- .app { max-width: clamp(1400px, 92vw, 1920px); margin-left: auto; margin-right: auto; }
413
+ readability, so widening the shell itself does not create unreadable rows.
414
+ 100vw (not 92vw): a stock 1920px monitor sat at 92vw = 1766px, leaving a
415
+ visible ~154px dead margin on the single most common desktop resolution —
416
+ the ceiling now reaches full width exactly at 1920px instead of falling
417
+ short of it. */
418
+ .app { max-width: clamp(1400px, 100vw, 1920px); margin-left: auto; margin-right: auto; }
408
419
  .app-main .chat,
409
420
  .app-main > .chat-area,
410
421
  .app-main > .main-content { max-width: none; margin: 0; width: 100%; }