graphwise-reactodia 0.0.1-TR14 → 0.0.1-TR16
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/dist/cjs/graphwise-reactodia.cjs.entry.js +18 -5
- package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.css +7 -0
- package/dist/collection/components/graphwise-reactodia/graphwise-reactodia.js +17 -4
- package/dist/collection/pages/graphwise-reactodia/main.js +34 -0
- package/dist/esm/graphwise-reactodia.entry.js +18 -5
- package/dist/graphwise-reactodia/graphwise-reactodia.esm.js +1 -1
- package/dist/graphwise-reactodia/{p-0cb06f14.entry.js → p-20637a6f.entry.js} +1 -1
- package/dist/types/components/graphwise-reactodia/graphwise-reactodia.d.ts +9 -0
- package/package.json +1 -1
|
@@ -44,10 +44,19 @@ export declare class GraphwiseReactodia {
|
|
|
44
44
|
*/
|
|
45
45
|
theme?: 'light' | 'dark';
|
|
46
46
|
private reactRoot?;
|
|
47
|
+
/**
|
|
48
|
+
* `connectedCallback` and the watchers can run before all props are set: when the component's
|
|
49
|
+
* code is already loaded, the instance is created as soon as the
|
|
50
|
+
* element is attached, and every prop set after that triggers its watcher. Rendering at that
|
|
51
|
+
* point would initialise the graph without all props. `componentDidLoad` runs once the initial
|
|
52
|
+
* props are set, so we use it to determine when it's safe to render.
|
|
53
|
+
*/
|
|
54
|
+
private isComponentLoaded;
|
|
47
55
|
onCurrentRepositoryChange(): void;
|
|
48
56
|
onLanguageOrSettingsChange(): void;
|
|
49
57
|
onThemeChange(): void;
|
|
50
58
|
connectedCallback(): void;
|
|
59
|
+
componentDidLoad(): void;
|
|
51
60
|
disconnectedCallback(): void;
|
|
52
61
|
render(): any;
|
|
53
62
|
private renderGraph;
|