@graphysdk/react 1.9.0-beta.1789576170858 → 1.9.0-beta.1789633145847
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 +5 -5
- package/dist/authoring.d.ts +1 -1
- package/dist/brand-mark-default.d.ts +2 -2
- package/dist/editable.browser.mjs +14410 -14365
- package/dist/editable.d.ts +1 -1
- package/dist/graph-provider.d.ts +1 -1
- package/dist/index.browser.mjs +8359 -8314
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +10 -10
- package/package.json +3 -3
package/dist/editable.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* import { GraphProvider } from '@graphysdk/react';
|
|
14
14
|
* import { EditableGraphRenderer } from '@graphysdk/react/editable';
|
|
15
15
|
*
|
|
16
|
-
* <GraphProvider data={data}
|
|
16
|
+
* <GraphProvider data={data} spec={input}>
|
|
17
17
|
* <EditableGraphRenderer mode={isEditing ? 'editable' : 'readonly'} />
|
|
18
18
|
* </GraphProvider>;
|
|
19
19
|
* ```
|
package/dist/graph-provider.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { GraphProviderProps } from '@graphysdk/react-renderer';
|
|
|
3
3
|
/**
|
|
4
4
|
* The batteries-included `GraphProvider`: identical to `@graphysdk/react-renderer`'s, except the
|
|
5
5
|
* provenance badge defaults to on. It seeds `config.content.brandMark.enabled` beneath the caller's
|
|
6
|
-
* `
|
|
6
|
+
* `spec`, so any explicit opt-out still wins, then hands the result to the renderer's provider. No
|
|
7
7
|
* rendering behaviour changes — only the resolved default.
|
|
8
8
|
*/
|
|
9
9
|
export declare const GraphProvider: (props: GraphProviderProps) => ReactElement;
|