@ai-matrx/icons 0.1.1 → 0.1.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 — 2026-08-30
4
+
5
+ - Peer-dependency retrofit (register row X3 / law C23): `lucide-react` is now a
6
+ REAL dependency (the dynamic-import resolution machinery is the product — the
7
+ package carries its own catalog instead of demanding the host resolve one),
8
+ and `react-icons` moved from optional peer to `optionalDependencies` (same
9
+ lazy-import graceful degradation when absent). `react` is the only remaining
10
+ peer. Installing this package no longer asks the host to satisfy icon-library
11
+ peers. No code changes.
12
+
3
13
  ## 0.1.1 — 2026-08-29
4
14
 
5
15
  - `getIconWithColorAndSize`: a hex color rendered a literal `null` token in the
package/README.md CHANGED
@@ -9,9 +9,11 @@ flash-of-nothing:
9
9
  - **The full Lucide catalog via a validated dynamic `import("lucide-react")`** — resolved
10
10
  once, cached at module level, with the export checked to actually be a renderable
11
11
  component before it is ever rendered.
12
- - **Curated brand icons from the optional `react-icons` peer** — lazy-imported on first
13
- use; when `react-icons` is not installed the resolver degrades to the fallback icon
14
- instead of failing.
12
+ - **Curated brand icons from the `react-icons` optional dependency** — installed by
13
+ default, lazy-imported on first use; when `react-icons` is absent (install with
14
+ `--omit=optional`, or a failed optional install) the resolver degrades to the
15
+ fallback icon instead of failing. `lucide-react` itself is a real dependency —
16
+ the package carries its own catalog; `react` is the only peer.
15
17
  - **Your own SVG assets via `svg:` ids** — an injectable registry maps
16
18
  `svg:icons/Home` → `/icons/Home.svg` and renders an `<img>`; you register your app's
17
19
  asset paths once at startup.