@civitai/blocks-react 0.63.1 → 0.63.2

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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1517,8 +1517,7 @@ Two surfaces live here:
1517
1517
 
1518
1518
  ### W6 component pack
1519
1519
 
1520
- A drop-in set of primitives that match Civitai's look (8px radius, the blue
1521
- primary, the dark/light surfaces) — **with zero setup**:
1520
+ A drop-in set of primitives that match Civitai's look — **with zero setup**:
1522
1521
 
1523
1522
  - **No Mantine dependency, no CSS import, no setup step.** The pack ships its
1524
1523
  CSS as a string and injects it into your block document's `<head>` the first
@@ -1532,8 +1531,8 @@ primary, the dark/light surfaces) — **with zero setup**:
1532
1531
  - **Auto-themed via your block's `data-theme`.** Set `data-theme={theme}` on
1533
1532
  your block's own root (from `useBlockContext().theme` — gotcha #60; the host
1534
1533
  can't reach across the iframe to set it for you). The components read an
1535
- ancestor `[data-theme='dark']` / `[data-theme='light']`; **no attribute =
1536
- light**, matching the starter palette.
1534
+ ancestor `[data-theme='dark']` / `[data-theme='light']`; default (no
1535
+ attribute) is the **dark** palette, and nothing consults the OS preference.
1537
1536
 
1538
1537
  ```tsx
1539
1538
  import { useRef } from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/blocks-react",
3
- "version": "0.63.1",
3
+ "version": "0.63.2",
4
4
  "description": "React hooks and iframe transport for Civitai Apps. Pairs with @civitai/app-sdk/blocks.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@civitai/components": "^0.9.2",
41
- "@civitai/theme": "^0.5.1"
41
+ "@civitai/theme": "^0.5.2"
42
42
  },
43
43
  "comment-peerDependencies": "This floor is DERIVED, not chosen — the lowest published app-sdk that exports every symbol this package imports. Do not edit it without reading ./PEER_FLOOR.md (in-repo, unpublished) and tests/guards/blocks-react-peer-floor.test.mjs.",
44
44
  "peerDependencies": {
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5.9.2",
59
59
  "vite": "^8.0.14",
60
60
  "vitest": "^4.1.11",
61
- "@civitai/app-sdk": "^0.56.0"
61
+ "@civitai/app-sdk": "^0.56.1"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"