@poodle64/ui 2026.10.32 → 2026.11.1
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/dist/components/ui/command/command-dialog.svelte.d.ts +1 -1
- package/dist/components/ui/input-group/input-group-input.svelte.d.ts +1 -1
- package/dist/components/ui/select/select.svelte.d.ts +1 -1
- package/dist/styles.css +18 -0
- package/package.json +10 -10
- package/registry/component-map.json +1 -1
- package/registry/component-map.md +3 -3
|
@@ -9,6 +9,6 @@ type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> & With
|
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
class?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "ref" | "
|
|
12
|
+
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "ref" | "open" | "value">;
|
|
13
13
|
type CommandDialog = ReturnType<typeof CommandDialog>;
|
|
14
14
|
export default CommandDialog;
|
|
@@ -2,7 +2,7 @@ declare const InputGroupInput: import("svelte").Component<(Omit<import("svelte/e
|
|
|
2
2
|
type: "file";
|
|
3
3
|
files?: FileList;
|
|
4
4
|
} | {
|
|
5
|
-
type?: "number" | "
|
|
5
|
+
type?: "number" | "submit" | "reset" | "button" | "search" | "checkbox" | "radio" | (string & {}) | "text" | "tel" | "url" | "email" | "hidden" | "color" | "password" | "date" | "time" | "datetime-local" | "image" | "month" | "range" | "week";
|
|
6
6
|
files?: undefined;
|
|
7
7
|
})) & {
|
|
8
8
|
ref?: HTMLElement | null | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const Select: import("svelte").Component<import("bits-ui").SelectRootPropsWithoutHTML, {}, "
|
|
1
|
+
declare const Select: import("svelte").Component<import("bits-ui").SelectRootPropsWithoutHTML, {}, "open" | "value">;
|
|
2
2
|
type Select = ReturnType<typeof Select>;
|
|
3
3
|
export default Select;
|
package/dist/styles.css
CHANGED
|
@@ -1439,6 +1439,7 @@
|
|
|
1439
1439
|
background: var(--ds-color-surface-1);
|
|
1440
1440
|
border: 1px solid var(--ds-color-border);
|
|
1441
1441
|
border-radius: var(--ds-radius-sm);
|
|
1442
|
+
contain: inline-size;
|
|
1442
1443
|
overflow-x: auto;
|
|
1443
1444
|
padding: var(--ds-spacing-sm);
|
|
1444
1445
|
}
|
|
@@ -1460,6 +1461,7 @@
|
|
|
1460
1461
|
same rule the library surfaces learned at 390px. */
|
|
1461
1462
|
.ds-prose table {
|
|
1462
1463
|
border-collapse: collapse;
|
|
1464
|
+
contain: inline-size;
|
|
1463
1465
|
display: block;
|
|
1464
1466
|
font-size: 0.9em;
|
|
1465
1467
|
margin-block: var(--ds-spacing-md);
|
|
@@ -1474,6 +1476,22 @@
|
|
|
1474
1476
|
text-align: start;
|
|
1475
1477
|
}
|
|
1476
1478
|
|
|
1479
|
+
/* A flex item's automatic minimum size follows its content, so a table's
|
|
1480
|
+
natural width or an unbroken citation URL drags the shell's content column
|
|
1481
|
+
wider than the screen. `contain: inline-size` (on table and pre, above)
|
|
1482
|
+
removes the content from that sizing; at phone width a long URL breaks
|
|
1483
|
+
anywhere, and cells keep whole words so a table scrolls instead. Scoped to
|
|
1484
|
+
the phone: at every width it narrowed the desktop measure. */
|
|
1485
|
+
@media (width <= 767px) {
|
|
1486
|
+
.ds-prose {
|
|
1487
|
+
overflow-wrap: anywhere;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
.ds-prose table {
|
|
1491
|
+
overflow-wrap: normal;
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1477
1495
|
.ds-prose th {
|
|
1478
1496
|
color: var(--ds-color-muted-foreground);
|
|
1479
1497
|
font-weight: 600;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poodle64/ui",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.11.1",
|
|
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",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"bits-ui": "^2.18.1",
|
|
59
|
-
"formsnap": "^2.0
|
|
59
|
+
"formsnap": "^2.1.0",
|
|
60
60
|
"mode-watcher": "^1.1.0",
|
|
61
61
|
"svelte": "^5.33.0",
|
|
62
62
|
"svelte-sonner": "^1.1.1",
|
|
63
|
-
"sveltekit-superforms": "^2.30.0"
|
|
63
|
+
"sveltekit-superforms": "^2.30.0 || ^3.0.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependenciesMeta": {
|
|
66
66
|
"mode-watcher": {
|
|
@@ -99,22 +99,22 @@
|
|
|
99
99
|
"@testing-library/jest-dom": "^7.0.0",
|
|
100
100
|
"@testing-library/svelte": "^5.4.2",
|
|
101
101
|
"@types/d3-force": "^3.0.10",
|
|
102
|
-
"@types/node": "^
|
|
102
|
+
"@types/node": "^24.10.0",
|
|
103
103
|
"axe-core": "^4.14.0",
|
|
104
104
|
"bits-ui": "^2.18.1",
|
|
105
|
-
"formsnap": "^2.0
|
|
106
|
-
"jsdom": "^
|
|
105
|
+
"formsnap": "^2.1.0",
|
|
106
|
+
"jsdom": "^30.1.3",
|
|
107
107
|
"mode-watcher": "^1.1.0",
|
|
108
108
|
"playwright": "^1.62.0",
|
|
109
109
|
"publint": "^0.3.15",
|
|
110
|
-
"svelte": "^5.
|
|
110
|
+
"svelte": "^5.57.1",
|
|
111
111
|
"svelte-check": "^4.6.0",
|
|
112
112
|
"svelte-sonner": "^1.1.1",
|
|
113
|
-
"sveltekit-superforms": "^
|
|
113
|
+
"sveltekit-superforms": "^3.1.0",
|
|
114
114
|
"tailwindcss": "^4.3.2",
|
|
115
115
|
"typescript": "^6.0.3",
|
|
116
116
|
"vite": "^8.0.16",
|
|
117
|
-
"vitest": "^
|
|
117
|
+
"vitest": "^5.0.5"
|
|
118
118
|
},
|
|
119
119
|
"scripts": {
|
|
120
120
|
"build": "node scripts/generate-registry.mjs && svelte-kit sync && svelte-package && publint",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"harness:build": "vite build --config harness/vite.config.ts && tailwindcss -i harness/harness.css -o harness/dist/app.css --minify",
|
|
128
128
|
"harness:serve": "python3 -m http.server 4180 --directory harness/dist"
|
|
129
129
|
},
|
|
130
|
-
"packageManager": "pnpm@
|
|
130
|
+
"packageManager": "pnpm@12.16.1"
|
|
131
131
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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.
|
|
4
|
+
Generated from `@poodle64/ui@2026.11.1`. 75 components, 20 situations.
|
|
5
5
|
|
|
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
|
|
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 [`design-frontend` 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
|
|
|
8
|
-
[`frontend
|
|
8
|
+
[`design-frontend` skill]: the household rule that loads before any UI code.
|
|
9
9
|
[CHI 2026 study]: 10.1145/3772363.3798616
|
|
10
10
|
|
|
11
11
|
## A side panel the user can widen or narrow
|