@cascivo/react 0.11.0 → 0.11.1
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 +4 -1
- package/package.json +4 -4
- package/readme.body.md +4 -1
package/README.md
CHANGED
|
@@ -89,7 +89,10 @@ RSC without any extra wrapper.
|
|
|
89
89
|
> 2. **`@preact/signals-react` 3.x** — on React 19 the 2.x line fails to load. The
|
|
90
90
|
> peer range enforces `>=3`.
|
|
91
91
|
> 3. **Import the CSS once** in your root entry: `@cascivo/react/styles.css` +
|
|
92
|
-
> `@cascivo/themes/all` (+ `@cascivo/charts/styles.css` if you use charts).
|
|
92
|
+
> `@cascivo/themes/all` (+ `@cascivo/charts/styles.css` if you use charts). If you
|
|
93
|
+
> typecheck (`tsc --noEmit`), these bare `.css` imports need ambient types — add
|
|
94
|
+
> `src/vite-env.d.ts` with `/// <reference types="vite/client" />` or
|
|
95
|
+
> `declare module '*.css'`, else TS2307/TS2882.
|
|
93
96
|
> 4. **Theme without a mismatch:** inline `themePreloadScript()` in `<head>` and add
|
|
94
97
|
> `suppressHydrationWarning` to `<html>`, or hard-code `data-theme` for a fixed theme.
|
|
95
98
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cascivo/react",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Prebuilt cascivo design system components — use without copying source. @cascivo/themes installs with it; pair with @cascivo/charts (data-viz) and @cascivo/icons. Docs offline: npx @cascivo/docs",
|
|
6
6
|
"keywords": [
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"provenance": true
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@cascivo/
|
|
49
|
-
"@cascivo/
|
|
50
|
-
"@cascivo/themes": "^0.4.
|
|
48
|
+
"@cascivo/i18n": "^0.2.11",
|
|
49
|
+
"@cascivo/core": "^0.5.3",
|
|
50
|
+
"@cascivo/themes": "^0.4.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@testing-library/jest-dom": "^6.9.1",
|
package/readme.body.md
CHANGED
|
@@ -71,7 +71,10 @@ RSC without any extra wrapper.
|
|
|
71
71
|
> 2. **`@preact/signals-react` 3.x** — on React 19 the 2.x line fails to load. The
|
|
72
72
|
> peer range enforces `>=3`.
|
|
73
73
|
> 3. **Import the CSS once** in your root entry: `@cascivo/react/styles.css` +
|
|
74
|
-
> `@cascivo/themes/all` (+ `@cascivo/charts/styles.css` if you use charts).
|
|
74
|
+
> `@cascivo/themes/all` (+ `@cascivo/charts/styles.css` if you use charts). If you
|
|
75
|
+
> typecheck (`tsc --noEmit`), these bare `.css` imports need ambient types — add
|
|
76
|
+
> `src/vite-env.d.ts` with `/// <reference types="vite/client" />` or
|
|
77
|
+
> `declare module '*.css'`, else TS2307/TS2882.
|
|
75
78
|
> 4. **Theme without a mismatch:** inline `themePreloadScript()` in `<head>` and add
|
|
76
79
|
> `suppressHydrationWarning` to `<html>`, or hard-code `data-theme` for a fixed theme.
|
|
77
80
|
>
|