@reblu/site-blocks 0.2.3 → 0.3.0

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/README.md CHANGED
@@ -13,7 +13,7 @@ a different-looking site for every tenant, with zero forks.
13
13
  | Export | Entry | Purpose |
14
14
  | ------ | ----- | ------- |
15
15
  | `readingTime`, `formatPrice`, `buildShareUrls`, `markdownToSafeHtml` | `.` | Pure, framework-agnostic helpers (RSC-safe). |
16
- | `MarkdownRenderer` | `.` | Canonical Blog renderer: `marked` → **DOMPurify** (XSS) → component map, with a YouTube-domain allowlist. RSC-safe. |
16
+ | `MarkdownRenderer` | `.` | Canonical Blog renderer: `marked` → **hast-util-sanitize** (XSS) → component map, with a YouTube-domain allowlist. RSC-safe. |
17
17
  | `Treatment`, `Specialty`, `ProfileCard`, `ProductCard` | `.` | Presentational organisms over the SITE API contracts. RSC-safe. |
18
18
  | `useCollection` | `./client` | Headless filterable/sortable/paginated collection hook (facets, category, tag, search). Serves both page and blog indexes. |
19
19
  | `Collection` | `./client` | Token-driven presentational grid over `useCollection`. |