@synopackageland/ui 0.16.2 → 0.16.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.3 (2026-10-25)
4
+
5
+ - `ConnectionTopology` compact lanes keep their words on one line while the lane fits; a lane that does not wraps words of several words ("Your / NAS") first, and breaks a host name such as `workers.dev` after its dots only when it still does not fit.
6
+ - Dense lanes (under 240px) keep at least 8px between neighbouring words (5px only in a lane that is too tight for anything else), drop their own frame so the words take the card's width, and keep two lines under every node, so paths in a row of cards have one height.
7
+ - `ConnectionTopology label-lines`: room for that many lines under every node in a compact lane, for paths side by side.
8
+
3
9
  ## 0.16.2 (2026-10-25)
4
10
 
5
11
  - `Wizard fit`: on a page, the wizard takes the height left below it in its scroll container, so the steps, band and footer stay in view and only the step scrolls; `fit-min-height` (320) is the least it takes. `rail-min-width` (600) sets where `stepper="auto"` switches from the band to the rail.
package/README.md CHANGED
@@ -598,10 +598,15 @@ maps its own states to six link states.
598
598
  buttons and links; `node-<id>` replaces a node's content.
599
599
  - **Layout.** Below 640px of container width (or with `compact`), each lane
600
600
  stacks with its own copy of the target and the link words move to a caption
601
- line. Below 240px (a card in a row of three) the nodes drop their boxes for
602
- an icon tile over a smaller word. Words wrap to two lines, host names after
603
- their dots; a word still cut shows its whole text on hover. With no lanes,
604
- one idle line shows `empty-label`.
601
+ line. Below 240px (a card in a row of three) the nodes drop their frame and
602
+ boxes for an icon tile over a smaller word, at least 8px apart (5px in a
603
+ lane too tight for anything else). A compact
604
+ lane keeps its words on one line while it fits; one that does not wraps its
605
+ words of several words first and breaks a host name such as `workers.dev`
606
+ after its dots only when it still does not fit. A word still cut shows its
607
+ whole text on hover. `label-lines` keeps room for that many lines under
608
+ every node (two in a dense lane), so paths side by side keep one height.
609
+ With no lanes, one idle line shows `empty-label`.
605
610
  - **Motion.** The keyframes `ui-flow` and `ui-pulse` stop under
606
611
  `prefers-reduced-motion`; a working link then turns solid with an arrow.
607
612
 
@@ -19,6 +19,10 @@ type __VLS_Props = {
19
19
  selectedLane?: string | number;
20
20
  /** State words for links without a label. */
21
21
  text?: Partial<Record<LinkState, string>>;
22
+ /** Lines kept for every node word in a compact lane (two in a dense one
23
+ * unless set), so paths side by side, such as cards in a row, keep one
24
+ * height whether or not their words wrap. */
25
+ labelLines?: number;
22
26
  };
23
27
  type __VLS_Slots = Record<`node-${string}`, (props: {
24
28
  node: TopologyNode;