@poodle64/ui 2026.10.32 → 2026.10.33
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/styles.css +18 -0
- package/package.json +1 -1
- package/registry/component-map.json +1 -1
- package/registry/component-map.md +3 -3
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.10.
|
|
3
|
+
"version": "2026.10.33",
|
|
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,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.10.
|
|
4
|
+
Generated from `@poodle64/ui@2026.10.33`. 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
|