@plurid/plurid-react 0.0.0-33 → 0.0.0-34
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/distribution/containers/Application/index.d.ts +2 -5
- package/distribution/index.es.js +3 -6
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +3 -6
- package/distribution/index.js.map +1 -1
- package/distribution/index.min.js +2 -4
- package/distribution/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { PluridApplication as PluridApplicationProperties } from '@plurid/plurid-data';
|
|
3
3
|
import { PluridReactComponent } from "../../data/interfaces";
|
|
4
|
-
|
|
5
|
-
declare class PluridApplication extends Component<PluridApplicationProperties<PluridReactComponent>, any | undefined> {
|
|
6
|
-
static contextType: React.Context<import("@plurid/plurid-data").PluridMetastate | undefined>;
|
|
7
|
-
context: React.ContextType<typeof PluridProviderContext>;
|
|
4
|
+
declare class PluridApplication extends Component<PluridApplicationProperties<PluridReactComponent>> {
|
|
8
5
|
private store;
|
|
9
6
|
private storeUnubscriber;
|
|
10
7
|
private storeID;
|
|
11
8
|
private planesRegistrar;
|
|
12
|
-
constructor(properties: PluridApplicationProperties<PluridReactComponent
|
|
9
|
+
constructor(properties: PluridApplicationProperties<PluridReactComponent>);
|
|
13
10
|
componentDidUpdate(): void;
|
|
14
11
|
componentWillUnmount(): void;
|
|
15
12
|
render(): React.JSX.Element;
|
package/distribution/index.es.js
CHANGED
|
@@ -34,8 +34,6 @@ import fetch from "cross-fetch";
|
|
|
34
34
|
|
|
35
35
|
import { ElementQLClient } from "@plurid/elementql-client-react";
|
|
36
36
|
|
|
37
|
-
const PluridContext = React.createContext(undefined);
|
|
38
|
-
|
|
39
37
|
const initialState$5 = Object.assign({}, defaultConfiguration);
|
|
40
38
|
|
|
41
39
|
const configuration = createSlice({
|
|
@@ -4924,10 +4922,9 @@ const ConnectedPluridView = connect(mapStateToProperties$7, mapDispatchToPropert
|
|
|
4924
4922
|
})(PluridView);
|
|
4925
4923
|
|
|
4926
4924
|
class PluridApplication extends Component {
|
|
4927
|
-
constructor(properties
|
|
4925
|
+
constructor(properties) {
|
|
4928
4926
|
super(properties);
|
|
4929
4927
|
this.storeID = properties.id || "default";
|
|
4930
|
-
this.context = context;
|
|
4931
4928
|
this.prepare();
|
|
4932
4929
|
this.store = store(this.computeStore());
|
|
4933
4930
|
this.subscribeStore();
|
|
@@ -4982,8 +4979,6 @@ class PluridApplication extends Component {
|
|
|
4982
4979
|
}
|
|
4983
4980
|
}
|
|
4984
4981
|
|
|
4985
|
-
PluridApplication.contextType = PluridContext;
|
|
4986
|
-
|
|
4987
4982
|
const StyledSpaces = styled.div`
|
|
4988
4983
|
scroll-snap-type: ${properties => {
|
|
4989
4984
|
const {alignment: alignment, snapType: snapType} = properties;
|
|
@@ -5575,6 +5570,8 @@ const PluridRouterStatic = properties => {
|
|
|
5575
5570
|
}, routerProperties));
|
|
5576
5571
|
};
|
|
5577
5572
|
|
|
5573
|
+
const PluridContext = React.createContext(undefined);
|
|
5574
|
+
|
|
5578
5575
|
class PluridProvider extends Component {
|
|
5579
5576
|
constructor(properties) {
|
|
5580
5577
|
super(properties);
|