@poodle64/ui 2026.8.12 → 2026.8.13

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.
@@ -40,7 +40,11 @@
40
40
  ref = $bindable(null),
41
41
  class: className,
42
42
  ...restProps
43
- }: WithElementRef<HTMLAttributes<HTMLDivElement>> & {
43
+ }: WithElementRef<Omit<HTMLAttributes<HTMLDivElement>, 'results'>> & {
44
+ /** `Omit` above: svelte/elements declares a legacy `results` HTML
45
+ * attribute (number) on every element, and without the omission this
46
+ * prop's type silently intersects with it — callers then cannot pass
47
+ * an array at all. Caught by CI's svelte-check on the test call sites. */
44
48
  results: LibrarySearchResult[];
45
49
  /** The term the page searched for; shown in the count line and empty copy. */
46
50
  query?: string;
@@ -16,7 +16,11 @@
16
16
  import type { HTMLAttributes } from 'svelte/elements';
17
17
  import { type WithElementRef } from '../../../utils.js';
18
18
  import type { LibrarySearchResult } from '../library-browse/types.js';
19
- type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
19
+ type $$ComponentProps = WithElementRef<Omit<HTMLAttributes<HTMLDivElement>, 'results'>> & {
20
+ /** `Omit` above: svelte/elements declares a legacy `results` HTML
21
+ * attribute (number) on every element, and without the omission this
22
+ * prop's type silently intersects with it — callers then cannot pass
23
+ * an array at all. Caught by CI's svelte-check on the test call sites. */
20
24
  results: LibrarySearchResult[];
21
25
  /** The term the page searched for; shown in the count line and empty copy. */
22
26
  query?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poodle64/ui",
3
- "version": "2026.8.12",
3
+ "version": "2026.8.13",
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.8.12",
4
+ "version": "2026.8.13",
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": 54,
@@ -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.8.12`. 54 components, 14 situations.
4
+ Generated from `@poodle64/ui@2026.8.13`. 54 components, 14 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