@graphysdk/react-renderer 1.8.1-beta.1787152156320 → 2.0.0-beta.1786440210947
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 +13 -21
- package/dist/editable.cjs +1 -1
- package/dist/editable.css +1 -1
- package/dist/editable.d.ts +2974 -66
- package/dist/editable.mjs +2442 -7563
- package/dist/{dev.utils-CrfRPKW8.js → font-values-CPxYeqns.js} +192 -114
- package/dist/font-values-CStAZ2d1.cjs +2 -0
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.d.ts +31 -3
- package/dist/graph-config.mjs +47 -21
- package/dist/history-chords-DAPEqcWx.js +9130 -0
- package/dist/history-chords-DFlFEtc_.cjs +1 -0
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +48 -35
- package/dist/index.mjs +195 -195
- package/package.json +2 -10
- package/dist/dev.utils-C5lJv1aB.cjs +0 -2
- package/dist/history-chords-B3zer-57.js +0 -6373
- package/dist/history-chords-BxWTJzn4.cjs +0 -1
- package/licenses/PolyForm-Free-Trial-1.0.0.md +0 -93
- package/licenses/PolyForm-NonCommercial-1.0.0.md +0 -131
- package/licenses/PolyForm-Small-Business-1.0.0.md +0 -121
- /package/dist/{dev.css → font-values.css} +0 -0
package/README.md
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
# @graphysdk/react-renderer
|
|
2
2
|
|
|
3
|
-
React
|
|
3
|
+
React renderer for `@graphysdk/viz-engine`. Paints a compiled Graphy chart in the browser.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Docs
|
|
6
|
+
|
|
7
|
+
- [Provider and renderer](https://docs.graphy.dev/sdk-next/rendering/provider-and-renderer)
|
|
8
|
+
- [Quickstart](https://docs.graphy.dev/sdk-next/quickstart) — recommended starting point via `@graphysdk/react`
|
|
9
|
+
|
|
10
|
+
## Recommended entry
|
|
11
|
+
|
|
12
|
+
For most apps, install **`@graphysdk/react`** instead. That package re-exports this renderer and turns the provenance mark **on by default**.
|
|
13
|
+
|
|
14
|
+
Use `@graphysdk/react-renderer` directly when you want the neutral layer (mark **off** by default) or are building your own opinionated wrapper.
|
|
6
15
|
|
|
7
16
|
## Install
|
|
8
17
|
|
|
9
18
|
```bash
|
|
10
|
-
|
|
19
|
+
pnpm add @graphysdk/react-renderer @graphysdk/viz-engine
|
|
11
20
|
```
|
|
12
21
|
|
|
13
|
-
Requires React 19. There is no stylesheet to import.
|
|
14
|
-
|
|
15
22
|
## Usage
|
|
16
23
|
|
|
17
24
|
```tsx
|
|
@@ -29,22 +36,7 @@ export function Chart({ data }) {
|
|
|
29
36
|
}
|
|
30
37
|
```
|
|
31
38
|
|
|
32
|
-
##
|
|
33
|
-
|
|
34
|
-
- [Quickstart](https://docs.graphy.dev/sdk-next/quickstart)
|
|
35
|
-
- [Provider and renderer](https://docs.graphy.dev/sdk-next/rendering/provider-and-renderer)
|
|
36
|
-
|
|
37
|
-
## Editable charts
|
|
38
|
-
|
|
39
|
-
Import `EditableGraphRenderer` from `@graphysdk/react-renderer/editable`.
|
|
39
|
+
## Entry points
|
|
40
40
|
|
|
41
41
|
- **`@graphysdk/react-renderer`** — read-only surface: `GraphProvider`, `GraphRenderer`, hooks, slots, theme, and types
|
|
42
42
|
- **`@graphysdk/react-renderer/editable`** — editing surface: `EditableGraphRenderer`, `EditorPanel`, and related controls
|
|
43
|
-
|
|
44
|
-
## Licence
|
|
45
|
-
|
|
46
|
-
This package is available under PolyForm Noncommercial, Small Business, or a 32-day Free Trial. Free Trial is local or internal evaluation only — it does not cover a public page. See [what you can do under the trial](https://docs.graphy.dev/licence/evaluation).
|
|
47
|
-
|
|
48
|
-
## Support
|
|
49
|
-
|
|
50
|
-
Questions and community help: [Discord](https://discord.gg/yGmYCjkSr).
|