@graphysdk/react-renderer 2.0.0-beta.1786389736654 → 2.0.0-beta.1787130761469
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 +12 -15
- package/dist/editable.cjs +1 -1
- package/dist/editable.css +1 -1
- package/dist/editable.d.ts +239 -63
- package/dist/editable.mjs +3593 -2351
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.d.ts +3 -31
- package/dist/graph-config.mjs +21 -47
- package/dist/{history-chords-DyTk0r52.js → history-chords-BDa-CeNm.js} +3374 -3095
- package/dist/history-chords-BIarPFDp.cjs +1 -0
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +30 -45
- package/dist/index.mjs +77 -77
- package/dist/typography-CsG_IWDd.cjs +2 -0
- package/dist/{font-values-CPxYeqns.js → typography-DUFp65Tx.js} +112 -191
- package/licenses/PolyForm-Free-Trial-1.0.0.md +93 -0
- package/licenses/PolyForm-NonCommercial-1.0.0.md +131 -0
- package/licenses/PolyForm-Small-Business-1.0.0.md +121 -0
- package/package.json +10 -2
- package/dist/font-values-CStAZ2d1.cjs +0 -2
- package/dist/history-chords-BbsdKV5t.cjs +0 -1
- /package/dist/{font-values.css → typography.css} +0 -0
package/README.md
CHANGED
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
# @graphysdk/react-renderer
|
|
2
2
|
|
|
3
|
-
React
|
|
3
|
+
React components that paint a Graphy chart. The "Powered by Graphy" mark is off by default.
|
|
4
4
|
|
|
5
|
-
|
|
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.
|
|
5
|
+
Most apps should start with [`@graphysdk/react`](https://www.npmjs.com/package/@graphysdk/react) instead — same components, plus the chart builders, with the mark on.
|
|
15
6
|
|
|
16
7
|
## Install
|
|
17
8
|
|
|
18
9
|
```bash
|
|
19
|
-
|
|
10
|
+
npm install @graphysdk/react-renderer @graphysdk/viz-engine
|
|
20
11
|
```
|
|
21
12
|
|
|
13
|
+
Requires React 19. There is no stylesheet to import.
|
|
14
|
+
|
|
22
15
|
## Usage
|
|
23
16
|
|
|
24
17
|
```tsx
|
|
@@ -36,7 +29,11 @@ export function Chart({ data }) {
|
|
|
36
29
|
}
|
|
37
30
|
```
|
|
38
31
|
|
|
39
|
-
##
|
|
32
|
+
## Docs
|
|
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
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
- **`@graphysdk/react-renderer/editable`** — editing surface: `EditableGraphRenderer`, `EditorPanel`, and related controls
|
|
39
|
+
Import `EditableGraphRenderer` from `@graphysdk/react-renderer/editable`.
|