@poodle64/ui 2026.10.29 → 2026.10.31
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.
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
<button
|
|
164
164
|
{...props}
|
|
165
165
|
aria-label="Account"
|
|
166
|
-
class="hover:bg-surface-2 grid size-[34px] cursor-pointer place-items-center rounded-md"
|
|
166
|
+
class="hover:bg-surface-2 grid size-[34px] cursor-pointer place-items-center rounded-md pointer-coarse:size-11"
|
|
167
167
|
>
|
|
168
168
|
<Avatar.Root class="size-6.5 flex-none">
|
|
169
169
|
<Avatar.Fallback class="bg-primary text-primary-foreground text-[11px] font-bold">
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
import Menu from '@lucide/svelte/icons/menu';
|
|
85
85
|
import X from '@lucide/svelte/icons/x';
|
|
86
86
|
import Search from '@lucide/svelte/icons/search';
|
|
87
|
-
import
|
|
87
|
+
import Bug from '@lucide/svelte/icons/bug';
|
|
88
88
|
import Sun from '@lucide/svelte/icons/sun';
|
|
89
89
|
import Moon from '@lucide/svelte/icons/moon';
|
|
90
90
|
import PanelLeftClose from '@lucide/svelte/icons/panel-left-close';
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
<a
|
|
571
571
|
href={homeHref}
|
|
572
572
|
class={cn(
|
|
573
|
-
'flex flex-none items-center gap-2.5',
|
|
573
|
+
'flex flex-none items-center gap-2.5 pointer-coarse:min-h-11 pointer-coarse:min-w-11',
|
|
574
574
|
compact ? '' : 'h-14 px-4',
|
|
575
575
|
railNarrow && !compact && 'justify-center px-0',
|
|
576
576
|
railCollapsed && !railNarrow && !compact && 'px-3'
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
<button
|
|
638
638
|
onclick={onSearch}
|
|
639
639
|
class={cn(
|
|
640
|
-
'border-border text-shell-muted-foreground hover:text-shell-foreground flex items-center rounded-md border transition-colors sm:text-sm',
|
|
640
|
+
'border-border text-shell-muted-foreground hover:text-shell-foreground flex items-center rounded-md border transition-colors pointer-coarse:min-h-11 pointer-coarse:min-w-11 sm:text-sm',
|
|
641
641
|
sizing
|
|
642
642
|
)}
|
|
643
643
|
data-testid="ds-shell-search"
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
<button
|
|
703
703
|
bind:this={overlayFirstFocus}
|
|
704
704
|
onclick={closeMobileNav}
|
|
705
|
-
class="border-border text-shell-muted-foreground hover:text-shell-foreground absolute top-[calc(0.75rem+env(safe-area-inset-top))] right-3 z-10 grid size-8 place-items-center rounded-md border md:hidden"
|
|
705
|
+
class="border-border text-shell-muted-foreground hover:text-shell-foreground absolute top-[calc(0.75rem+env(safe-area-inset-top))] right-3 z-10 grid size-8 place-items-center rounded-md border pointer-coarse:size-11 md:hidden"
|
|
706
706
|
aria-label="Close menu"
|
|
707
707
|
>
|
|
708
708
|
<X class="size-4" />
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
open?.();
|
|
737
737
|
}}
|
|
738
738
|
>
|
|
739
|
-
<
|
|
739
|
+
<Bug class="ds-nav-icon size-[1.125rem] flex-none" aria-hidden="true" />
|
|
740
740
|
<span class="truncate">Report a problem</span>
|
|
741
741
|
</button>
|
|
742
742
|
</div>
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
<button
|
|
775
775
|
bind:this={menuButton}
|
|
776
776
|
onclick={() => (mobileNavOpen ? closeMobileNav() : (mobileNavOpen = true))}
|
|
777
|
-
class="border-border text-shell-muted-foreground hover:text-shell-foreground grid size-9 flex-none place-items-center rounded-md border md:hidden"
|
|
777
|
+
class="border-border text-shell-muted-foreground hover:text-shell-foreground grid size-9 flex-none place-items-center rounded-md border pointer-coarse:size-11 md:hidden"
|
|
778
778
|
aria-label="Menu"
|
|
779
779
|
aria-expanded={mobileNavOpen}
|
|
780
780
|
aria-controls={navRegionId}
|
|
@@ -798,7 +798,7 @@
|
|
|
798
798
|
<button
|
|
799
799
|
type="button"
|
|
800
800
|
onclick={toggleCollapsed}
|
|
801
|
-
class="text-shell-muted-foreground hover:text-shell-foreground -ml-1 hidden size-8 flex-none place-items-center rounded-md transition-colors md:grid"
|
|
801
|
+
class="text-shell-muted-foreground hover:text-shell-foreground -ml-1 hidden size-8 flex-none place-items-center rounded-md transition-colors pointer-coarse:size-11 md:grid"
|
|
802
802
|
aria-label={collapseLabel}
|
|
803
803
|
aria-pressed={collapsed}
|
|
804
804
|
title={`${collapseLabel} (press [)`}
|
|
@@ -858,8 +858,8 @@
|
|
|
858
858
|
class="text-shell-muted-foreground min-w-0 truncate text-sm max-sm:flex-1 max-sm:basis-0 sm:max-w-72"
|
|
859
859
|
title={location}
|
|
860
860
|
data-testid="ds-shell-title"
|
|
861
|
-
>{#if shortName && shortName !== location}<span class="max-sm:hidden">{location}</span
|
|
862
|
-
><span class="sm:hidden">{shortName}</span>{:else}{location}{/if}</span
|
|
861
|
+
>{#if shortName && shortName !== location}<span class="contents max-sm:hidden">{location}</span
|
|
862
|
+
><span class="contents sm:hidden">{shortName}</span>{:else}{location}{/if}</span
|
|
863
863
|
>
|
|
864
864
|
{/if}
|
|
865
865
|
{#if controls.content}
|
|
@@ -926,12 +926,12 @@
|
|
|
926
926
|
<button
|
|
927
927
|
type="button"
|
|
928
928
|
onclick={() => shellReport.open?.()}
|
|
929
|
-
class="border-border text-shell-muted-foreground hover:text-shell-foreground hidden size-9 flex-none place-items-center rounded-md border transition-colors md:grid"
|
|
929
|
+
class="border-border text-shell-muted-foreground hover:text-shell-foreground hidden size-9 flex-none place-items-center rounded-md border transition-colors pointer-coarse:size-11 md:grid"
|
|
930
930
|
aria-label="Report a problem"
|
|
931
931
|
title="Report a problem"
|
|
932
932
|
data-testid="ds-shell-report"
|
|
933
933
|
>
|
|
934
|
-
<
|
|
934
|
+
<Bug class="size-4" />
|
|
935
935
|
</button>
|
|
936
936
|
{/if}
|
|
937
937
|
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
{#if themeToggle}
|
|
946
946
|
<button
|
|
947
947
|
onclick={toggleTheme}
|
|
948
|
-
class="border-border text-shell-muted-foreground hover:text-shell-foreground grid size-9 flex-none place-items-center rounded-md border transition-colors"
|
|
948
|
+
class="border-border text-shell-muted-foreground hover:text-shell-foreground grid size-9 flex-none place-items-center rounded-md border transition-colors pointer-coarse:size-11"
|
|
949
949
|
aria-label="Toggle theme"
|
|
950
950
|
data-testid="ds-shell-theme"
|
|
951
951
|
>
|
package/dist/styles.css
CHANGED
|
@@ -707,6 +707,14 @@
|
|
|
707
707
|
background-color 150ms;
|
|
708
708
|
}
|
|
709
709
|
|
|
710
|
+
/* The household's 44 px touch floor, at a coarse pointer only: desktop
|
|
711
|
+
density is unchanged. */
|
|
712
|
+
@media (pointer: coarse) {
|
|
713
|
+
.ds-nav-item {
|
|
714
|
+
min-height: 2.75rem;
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
710
718
|
.ds-nav-item:hover {
|
|
711
719
|
color: var(--ds-nav-ink);
|
|
712
720
|
background: color-mix(in oklch, var(--ds-nav-ink) 5%, transparent);
|
|
@@ -921,6 +929,13 @@
|
|
|
921
929
|
background-color 150ms;
|
|
922
930
|
}
|
|
923
931
|
|
|
932
|
+
@media (pointer: coarse) {
|
|
933
|
+
.ds-nav-disclosure {
|
|
934
|
+
width: 2.75rem;
|
|
935
|
+
height: 2.75rem;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
924
939
|
.ds-nav-disclosure:hover {
|
|
925
940
|
color: var(--ds-nav-ink);
|
|
926
941
|
background: color-mix(in oklch, var(--ds-nav-ink) 5%, transparent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poodle64/ui",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.31",
|
|
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
|
# @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.10.
|
|
4
|
+
Generated from `@poodle64/ui@2026.10.31`. 75 components, 20 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
|
|