@poodle64/ui 2026.9.13 → 2026.9.15

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.
@@ -110,8 +110,6 @@
110
110
  identity,
111
111
  settingsHref,
112
112
  settingsLabel = 'Settings',
113
- version,
114
- versionHref,
115
113
  onSearch,
116
114
  searchLabel = 'Search…',
117
115
  searchShortcut = '⌘K',
@@ -176,16 +174,14 @@
176
174
  identity?: Snippet;
177
175
  /** Where the Settings row at the rail's foot links. Absent renders no row.
178
176
  * Settings sits at the foot because configuring the app is not navigating
179
- * it, and the split reads without a label. */
177
+ * it, and the split reads without a label.
178
+ *
179
+ * The app's version does NOT live beside it. A build string earns rail
180
+ * space only if it saves a trip, and it does not: Settings is on screen
181
+ * at every moment and its About section is one click from here, so the
182
+ * line was permanent furniture duplicating the thing directly above it. */
180
183
  settingsHref?: string;
181
184
  settingsLabel?: string;
182
- /** The build this person is looking at, e.g. `2026.9.3 · b032a3a`. Rendered
183
- * as one muted line under the Settings row: no icon, no hover, not a nav
184
- * row. It earns its place by answering "what am I running" the moment
185
- * someone reports a bug, and it links into Settings where the full
186
- * About section lives. */
187
- version?: string;
188
- versionHref?: string;
189
185
  /** Provide to render the search affordance. Usually opens a CommandPalette. */
190
186
  onSearch?: () => void;
191
187
  searchLabel?: string;
@@ -673,26 +669,19 @@
673
669
  The version is not a row: no icon, no tile, no hover, one muted
674
670
  line, so it reads as metadata and never competes for a click.
675
671
  -->
676
- {#if settingsHref || version}
677
- <div class="ds-shell-rail-foot mt-auto" class:sr-only={railCollapsed && !mobileNavOpen}>
678
- {#if settingsHref}
679
- <a
680
- href={settingsHref}
681
- class="ds-nav-item"
682
- aria-current={currentPath?.startsWith(settingsHref) ? 'page' : undefined}
683
- onclick={() => (mobileNavOpen = false)}
684
- >
685
- <Settings class="ds-nav-icon size-[1.125rem] flex-none" aria-hidden="true" />
686
- <span class="truncate">{settingsLabel}</span>
687
- </a>
688
- {/if}
689
- {#if version}
690
- {#if versionHref}
691
- <a href={versionHref} class="ds-shell-version">{version}</a>
692
- {:else}
693
- <p class="ds-shell-version">{version}</p>
694
- {/if}
695
- {/if}
672
+ {#if settingsHref}
673
+ <div class="ds-shell-rail-foot mt-auto">
674
+ <a
675
+ href={settingsHref}
676
+ class="ds-nav-item"
677
+ aria-current={currentPath?.startsWith(settingsHref) ? 'page' : undefined}
678
+ onclick={() => (mobileNavOpen = false)}
679
+ >
680
+ <Settings class="ds-nav-icon size-[1.125rem] flex-none" aria-hidden="true" />
681
+ <span class={railCollapsed && !mobileNavOpen ? 'sr-only' : 'truncate'}>
682
+ {settingsLabel}
683
+ </span>
684
+ </a>
696
685
  </div>
697
686
  {/if}
698
687
  {#if collapsible && !railCollapsed && !mobileNavOpen}
@@ -133,16 +133,14 @@ type $$ComponentProps = {
133
133
  identity?: Snippet;
134
134
  /** Where the Settings row at the rail's foot links. Absent renders no row.
135
135
  * Settings sits at the foot because configuring the app is not navigating
136
- * it, and the split reads without a label. */
136
+ * it, and the split reads without a label.
137
+ *
138
+ * The app's version does NOT live beside it. A build string earns rail
139
+ * space only if it saves a trip, and it does not: Settings is on screen
140
+ * at every moment and its About section is one click from here, so the
141
+ * line was permanent furniture duplicating the thing directly above it. */
137
142
  settingsHref?: string;
138
143
  settingsLabel?: string;
139
- /** The build this person is looking at, e.g. `2026.9.3 · b032a3a`. Rendered
140
- * as one muted line under the Settings row: no icon, no hover, not a nav
141
- * row. It earns its place by answering "what am I running" the moment
142
- * someone reports a bug, and it links into Settings where the full
143
- * About section lives. */
144
- version?: string;
145
- versionHref?: string;
146
144
  /** Provide to render the search affordance. Usually opens a CommandPalette. */
147
145
  onSearch?: () => void;
148
146
  searchLabel?: string;
package/dist/styles.css CHANGED
@@ -777,6 +777,13 @@
777
777
  lands its label at 2.5rem, exactly under the parent's. The border is a real
778
778
  affordance at fifteen rows, not decoration: it is what makes the run
779
779
  scannable as one section. */
780
+ /* The disclosed rows carry no guide rule. Indentation and the children's own
781
+ icons already read as one group, and a line down the side is a second
782
+ signal for a grouping that was never ambiguous. The indent is still
783
+ measured against the parent's geometry rather than picked: `.ds-nav-item`
784
+ pads 0.625rem and the icon is 1.125rem, so 1.1875rem plus 0.625rem here
785
+ plus the child's own 0.625rem lands its label at 2.5rem, exactly under the
786
+ parent's. */
780
787
  .ds-nav-children {
781
788
  display: flex;
782
789
  flex-direction: column;
@@ -784,13 +791,6 @@
784
791
  margin-top: 0.125rem;
785
792
  margin-left: 1.1875rem;
786
793
  padding-left: 0.625rem;
787
- /* Derived from the nav's OWN ink, not `--border`. The rail is chrome the
788
- app may brand, and a page-surface border token cannot follow it there:
789
- on a branded rail the grey lands at 1.54:1 and reads as a dead scratch
790
- down the colour. At 50% of the chrome's ink the guide measures 3.10:1
791
- on that same rail — over the 3:1 floor it owes as a real affordance,
792
- and still a step quieter than the child labels it organises. */
793
- border-left: 1px solid color-mix(in oklch, var(--ds-nav-ink) 50%, transparent);
794
794
  }
795
795
 
796
796
  /* The rail's foot: where you configure the app, and which build you are on.
@@ -803,7 +803,7 @@
803
803
  .ds-shell-rail-foot {
804
804
  display: flex;
805
805
  flex-direction: column;
806
- padding-block: 0.375rem 0.75rem;
806
+ padding-block: 0.375rem 0.5rem;
807
807
  padding-inline: 0.75rem;
808
808
  border-top: 1px solid color-mix(in oklch, var(--ds-nav-ink) 22%, transparent);
809
809
  }
@@ -811,24 +811,6 @@
811
811
  /* Metadata, not a row. No icon, no tile, no hover: it answers "what am I
812
812
  running" when someone reports a bug and otherwise stays out of the way.
813
813
  `tabular-nums` so a version does not re-flow as the digits change. */
814
- /* Below Settings, on the rail's bottom edge, so the rail OPENS with the app's
815
- name and CLOSES with its build — identity at both ends, the action between
816
- them. Above Settings would put metadata before the thing people click.
817
- `padding-inline` matches `.ds-nav-item`'s own, so it starts on the same
818
- vertical as the icons rather than the labels: it is a line of metadata,
819
- not a row missing its icon. */
820
- .ds-shell-version {
821
- margin: 0;
822
- padding: 0.25rem 0.625rem 0;
823
- color: var(--ds-nav-ink-muted);
824
- font-size: var(--ds-text-2xs);
825
- font-variant-numeric: tabular-nums;
826
- text-decoration: none;
827
- }
828
-
829
- a.ds-shell-version:hover {
830
- color: var(--ds-nav-ink);
831
- }
832
814
 
833
815
  /* `hidden` is an attribute the UA stylesheet honours at the weakest possible
834
816
  specificity, so the `display: flex` above beats it and a closed group would
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poodle64/ui",
3
- "version": "2026.9.13",
3
+ "version": "2026.9.15",
4
4
  "description": "Household shared component layer: shadcn-svelte primitives (bits-ui) plus the composed page chrome every app builds its routes from, restyled by each app's @poodle64/design-tokens alias layer. One fix reaches every app.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "package": "@poodle64/ui",
4
- "version": "2026.9.13",
4
+ "version": "2026.9.15",
5
5
  "generatedBy": "scripts/generate-registry.mjs",
6
6
  "source": "scripts/situations.json + package source (DO NOT EDIT the outputs by hand)",
7
7
  "componentCount": 57,
@@ -1,7 +1,7 @@
1
1
  # @poodle64/ui — situation → component map
2
2
 
3
3
  <!-- GENERATED by scripts/generate-registry.mjs from scripts/situations.json + package source. DO NOT EDIT. -->
4
- Generated from `@poodle64/ui@2026.9.13`. 57 components, 15 situations.
4
+ Generated from `@poodle64/ui@2026.9.15`. 57 components, 15 situations.
5
5
 
6
6
  **Read this before writing a `<div>`.** Find the SITUATION you are in below, then compose the component named for it — do not hand-build it from raw `Card` or utility classes. Import is `import { Name } from '<import path>'`. Props marked `?` are optional. This map is the retrieval step the [`frontend-design` skill] makes mandatory; the [CHI 2026 study] measured composing-from-a-registry at 95% design-system compliance against 71% for writing the CSS from a prose style guide.
7
7