@plurid/plurid-react 0.0.0-32 → 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/components/links/Link/components/Preview/index.d.ts +10 -1
- package/distribution/components/links/Link/index.d.ts +18 -1
- package/distribution/components/planes/ExternalPlane/index.d.ts +7 -1
- package/distribution/components/planes/IframePlane/index.d.ts +7 -1
- package/distribution/components/structural/Plane/components/PlaneBridge/index.d.ts +6 -1
- package/distribution/components/structural/Plane/components/PlaneControls/components/SearchItem/index.d.ts +7 -1
- package/distribution/components/structural/Plane/components/PlaneControls/components/SearchList/index.d.ts +6 -1
- package/distribution/components/structural/Plane/components/PlaneControls/index.d.ts +12 -1
- package/distribution/components/structural/Plane/components/PlaneDebugger/index.d.ts +5 -1
- package/distribution/components/structural/Plane/index.d.ts +10 -1
- package/distribution/components/structural/Root/index.d.ts +6 -1
- package/distribution/components/structural/Roots/index.d.ts +5 -1
- package/distribution/components/structural/Space/components/SpaceDebugger/index.d.ts +5 -1
- package/distribution/components/structural/Space/index.d.ts +5 -1
- package/distribution/components/utilities/ApplicationConfigurator/index.d.ts +8 -1
- package/distribution/components/utilities/NotFound/index.d.ts +5 -1
- package/distribution/components/utilities/Origin/index.d.ts +5 -1
- package/distribution/components/utilities/PlaneConfigurator/index.d.ts +8 -1
- package/distribution/components/utilities/Toolbar/General/components/Drawer/index.d.ts +9 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Global/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Shortcuts/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Space/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Technical/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Toolbar/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Transform/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/components/Viewcube/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuMore/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/MenuUniverses/index.d.ts +5 -1
- package/distribution/components/utilities/Toolbar/General/components/ToolbarRotate/index.d.ts +9 -1
- package/distribution/components/utilities/Toolbar/General/components/ToolbarScale/index.d.ts +9 -1
- package/distribution/components/utilities/Toolbar/General/components/ToolbarTranslate/index.d.ts +9 -1
- package/distribution/components/utilities/Toolbar/General/components/TransformArrow/index.d.ts +9 -1
- package/distribution/components/utilities/Toolbar/General/index.d.ts +5 -1
- package/distribution/components/utilities/UniverseExplorer/index.d.ts +5 -1
- package/distribution/components/utilities/Viewcube/components/ViewcubeFace/index.d.ts +12 -1
- package/distribution/components/utilities/Viewcube/components/ViewcubeModel/index.d.ts +6 -1
- package/distribution/components/utilities/Viewcube/components/ViewcubeTransformAreas/index.d.ts +5 -1
- package/distribution/components/utilities/Viewcube/index.d.ts +5 -1
- package/distribution/components/virtuals/List/index.d.ts +7 -1
- package/distribution/containers/Application/View/index.d.ts +25 -2
- package/distribution/containers/Application/index.d.ts +3 -6
- package/distribution/containers/Provider/index.d.ts +1 -1
- package/distribution/containers/RouterBrowser/index.d.ts +2 -2
- package/distribution/containers/RouterStatic/index.d.ts +2 -2
- package/distribution/index.d.ts +100 -16
- package/distribution/index.es.js +37 -42
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +323 -350
- package/distribution/index.js.map +1 -1
- package/distribution/index.min.js +5888 -150
- package/distribution/index.min.js.map +1 -1
- package/distribution/services/logic/router/index.d.ts +3 -3
- package/distribution/services/logic/shortcuts/index.d.ts +102 -3
- package/distribution/services/state/actions/index.d.ts +14 -8
- package/distribution/services/state/modules/configuration/index.d.ts +15 -3
- package/distribution/services/state/modules/general/index.d.ts +1 -1
- package/distribution/services/state/modules/shortcuts/index.d.ts +1 -1
- package/distribution/services/state/modules/space/index.d.ts +1 -1
- package/distribution/services/state/modules/themes/index.d.ts +1 -1
- package/distribution/services/state/modules/ui/index.d.ts +1 -1
- package/package.json +38 -36
|
@@ -10,7 +10,7 @@ export interface GetComponentFromRouteData {
|
|
|
10
10
|
host: string;
|
|
11
11
|
staticRender?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const getComponentFromRoute: (data: GetComponentFromRouteData) => JSX.Element;
|
|
13
|
+
export declare const getComponentFromRoute: (data: GetComponentFromRouteData) => React.JSX.Element;
|
|
14
14
|
export interface GetGatewayViewData {
|
|
15
15
|
queryString: string;
|
|
16
16
|
routes: PluridRoute<PluridReactComponent>[];
|
|
@@ -20,7 +20,7 @@ export interface GetGatewayViewData {
|
|
|
20
20
|
host: string;
|
|
21
21
|
}
|
|
22
22
|
export declare const getGatewayView: (data: GetGatewayViewData) => {
|
|
23
|
-
Component: JSX.Element;
|
|
23
|
+
Component: React.JSX.Element;
|
|
24
24
|
gatewayRoute: routing.MatcherResponse<PluridReactComponent<any, import("@plurid/plurid-data").PluridPlaneComponentProperty | PluridRouteComponentProperty>>;
|
|
25
25
|
};
|
|
26
26
|
export declare const collectApplicationsFromPath: (isoMatch: PluridRouteMatch, protocol: string, host: string, globals: Record<string, string> | undefined) => Promise<{
|
|
@@ -29,7 +29,7 @@ export declare const collectApplicationsFromPath: (isoMatch: PluridRouteMatch, p
|
|
|
29
29
|
configuration?: any;
|
|
30
30
|
}[]>;
|
|
31
31
|
export declare const gatherPluridPlanes: (routes: PluridRoute<PluridReactComponent>[], planes: PluridRoutePlane<PluridReactComponent>[] | undefined) => PluridPlane<PluridReactComponent<any, import("@plurid/plurid-data").PluridPlaneComponentProperty | PluridRouteComponentProperty>>[];
|
|
32
|
-
export declare const renderMultispace: (matchedRoute: PluridRouteMatch, hostname?: string) => (() => () => JSX.Element) | (() => React.FC<any>);
|
|
32
|
+
export declare const renderMultispace: (matchedRoute: PluridRouteMatch, hostname?: string) => (() => () => React.JSX.Element) | (() => React.FC<any>);
|
|
33
33
|
export declare const computePluridRoute: (matchedRoute: PluridRouteMatch | undefined, planesRegistrar: planes.Registrar<PluridReactComponent>, isoMatcher: routing.IsoMatcher<PluridReactComponent>, directPlane?: PluridRouteMatch, hostname?: string) => any;
|
|
34
34
|
export declare const computeInitialMatchedPath: (staticContext?: PluridRouterStatic) => string;
|
|
35
35
|
export declare const getDirectPlaneMatch: (matchedPath: string, routes: PluridRoute<PluridReactComponent>[], planes: PluridRoutePlane<PluridReactComponent>[] | undefined) => {
|
|
@@ -3,13 +3,112 @@ import { ThunkDispatch } from 'redux-thunk';
|
|
|
3
3
|
import { TRANSFORM_MODES, PluridConfigurationSpaceTransformLocks, PluridPubSub as IPluridPubSub, TransformModes } from '@plurid/plurid-data';
|
|
4
4
|
import { AppState } from "../../state/store";
|
|
5
5
|
export declare const handleGlobalShortcuts: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState, pubsub: IPluridPubSub, event: KeyboardEvent, firstPerson: boolean, locks: PluridConfigurationSpaceTransformLocks) => {
|
|
6
|
+
payload: undefined;
|
|
7
|
+
type: "configuration/toggleConfigurationSpaceFirstPerson";
|
|
8
|
+
} | {
|
|
9
|
+
payload: undefined;
|
|
10
|
+
type: "space/viewCameraMoveForward";
|
|
11
|
+
} | {
|
|
12
|
+
payload: undefined;
|
|
13
|
+
type: "space/viewCameraMoveBackward";
|
|
14
|
+
} | {
|
|
15
|
+
payload: undefined;
|
|
16
|
+
type: "space/viewCameraMoveLeft";
|
|
17
|
+
} | {
|
|
18
|
+
payload: undefined;
|
|
19
|
+
type: "space/viewCameraTurnLeft";
|
|
20
|
+
} | {
|
|
21
|
+
payload: undefined;
|
|
22
|
+
type: "space/viewCameraMoveRight";
|
|
23
|
+
} | {
|
|
24
|
+
payload: undefined;
|
|
25
|
+
type: "space/viewCameraTurnRight";
|
|
26
|
+
} | {
|
|
27
|
+
payload: undefined;
|
|
28
|
+
type: "space/viewCameraTurnUp";
|
|
29
|
+
} | {
|
|
30
|
+
payload: undefined;
|
|
31
|
+
type: "space/viewCameraTurnDown";
|
|
32
|
+
} | {
|
|
33
|
+
payload: undefined;
|
|
34
|
+
type: "space/viewCameraMoveUp";
|
|
35
|
+
} | {
|
|
36
|
+
payload: undefined;
|
|
37
|
+
type: "space/viewCameraMoveDown";
|
|
38
|
+
} | {
|
|
6
39
|
payload: TRANSFORM_MODES;
|
|
7
|
-
type:
|
|
40
|
+
type: "configuration/setConfigurationSpaceTransformMode";
|
|
41
|
+
} | {
|
|
42
|
+
payload: undefined;
|
|
43
|
+
type: "space/rotateLeft";
|
|
44
|
+
} | {
|
|
45
|
+
payload: undefined;
|
|
46
|
+
type: "space/translateRight";
|
|
47
|
+
} | {
|
|
48
|
+
payload: undefined;
|
|
49
|
+
type: "space/rotateRight";
|
|
50
|
+
} | {
|
|
51
|
+
payload: undefined;
|
|
52
|
+
type: "space/translateLeft";
|
|
53
|
+
} | {
|
|
54
|
+
payload: undefined;
|
|
55
|
+
type: "space/translateIn";
|
|
56
|
+
} | {
|
|
57
|
+
payload: undefined;
|
|
58
|
+
type: "space/rotateUp";
|
|
59
|
+
} | {
|
|
60
|
+
payload: undefined;
|
|
61
|
+
type: "space/translateUp";
|
|
62
|
+
} | {
|
|
63
|
+
payload: undefined;
|
|
64
|
+
type: "space/scaleUp";
|
|
65
|
+
} | {
|
|
66
|
+
payload: undefined;
|
|
67
|
+
type: "space/translateOut";
|
|
68
|
+
} | {
|
|
69
|
+
payload: undefined;
|
|
70
|
+
type: "space/rotateDown";
|
|
8
71
|
} | {
|
|
9
72
|
payload: undefined;
|
|
10
|
-
type:
|
|
73
|
+
type: "space/translateDown";
|
|
74
|
+
} | {
|
|
75
|
+
payload: undefined;
|
|
76
|
+
type: "space/scaleDown";
|
|
11
77
|
} | undefined;
|
|
12
78
|
export declare const handleGlobalWheel: (dispatch: ThunkDispatch<{}, {}, AnyAction>, event: WheelEvent, modes: TransformModes, locks: PluridConfigurationSpaceTransformLocks) => {
|
|
13
79
|
payload: undefined;
|
|
14
|
-
type:
|
|
80
|
+
type: "space/rotateLeft";
|
|
81
|
+
} | {
|
|
82
|
+
payload: undefined;
|
|
83
|
+
type: "space/translateRight";
|
|
84
|
+
} | {
|
|
85
|
+
payload: undefined;
|
|
86
|
+
type: "space/rotateRight";
|
|
87
|
+
} | {
|
|
88
|
+
payload: undefined;
|
|
89
|
+
type: "space/translateLeft";
|
|
90
|
+
} | {
|
|
91
|
+
payload: undefined;
|
|
92
|
+
type: "space/translateIn";
|
|
93
|
+
} | {
|
|
94
|
+
payload: undefined;
|
|
95
|
+
type: "space/rotateUp";
|
|
96
|
+
} | {
|
|
97
|
+
payload: undefined;
|
|
98
|
+
type: "space/translateUp";
|
|
99
|
+
} | {
|
|
100
|
+
payload: undefined;
|
|
101
|
+
type: "space/scaleUp";
|
|
102
|
+
} | {
|
|
103
|
+
payload: undefined;
|
|
104
|
+
type: "space/translateOut";
|
|
105
|
+
} | {
|
|
106
|
+
payload: undefined;
|
|
107
|
+
type: "space/rotateDown";
|
|
108
|
+
} | {
|
|
109
|
+
payload: undefined;
|
|
110
|
+
type: "space/translateDown";
|
|
111
|
+
} | {
|
|
112
|
+
payload: undefined;
|
|
113
|
+
type: "space/scaleDown";
|
|
15
114
|
} | undefined;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
configuration: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
3
|
-
setConfiguration: (
|
|
3
|
+
setConfiguration: (_state: import("immer/dist/internal").WritableDraft<import("../modules/configuration").ConfigurationState>, action: {
|
|
4
4
|
payload: import("@plurid/plurid-data").PluridConfiguration;
|
|
5
5
|
type: string;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => {
|
|
7
|
+
global: import("@plurid/plurid-data").PluridConfigurationGlobal;
|
|
8
|
+
elements: import("@plurid/plurid-data").PluridConfigurationElements;
|
|
9
|
+
space: import("@plurid/plurid-data").PluridConfigurationSpace;
|
|
10
|
+
network: import("@plurid/plurid-data").PluridConfigurationNetwork;
|
|
11
|
+
development: import("@plurid/plurid-data").PluridConfigurationDevelopment;
|
|
12
|
+
};
|
|
7
13
|
setConfigurationMicro: (state: import("immer/dist/internal").WritableDraft<import("../modules/configuration").ConfigurationState>) => void;
|
|
8
14
|
setConfigurationPlaneControls: (state: import("immer/dist/internal").WritableDraft<import("../modules/configuration").ConfigurationState>, action: {
|
|
9
15
|
payload: boolean;
|
|
@@ -77,14 +83,14 @@ declare const _default: {
|
|
|
77
83
|
payload: number;
|
|
78
84
|
type: string;
|
|
79
85
|
}) => void;
|
|
80
|
-
}>;
|
|
81
|
-
general: import("@reduxjs/toolkit").CaseReducerActions<{}>;
|
|
86
|
+
}, "configuration">;
|
|
87
|
+
general: import("@reduxjs/toolkit").CaseReducerActions<{}, "general">;
|
|
82
88
|
shortcuts: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
83
89
|
setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<import("../modules/shortcuts").ShortcutsState>, action: {
|
|
84
90
|
payload: boolean;
|
|
85
91
|
type: string;
|
|
86
92
|
}) => void;
|
|
87
|
-
}>;
|
|
93
|
+
}, "shortcuts">;
|
|
88
94
|
space: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
89
95
|
setSpaceField: (state: import("immer/dist/internal").WritableDraft<import("@plurid/plurid-data").PluridStateSpace>, action: {
|
|
90
96
|
payload: import("../modules/space/types").SetSpaceFieldPayload;
|
|
@@ -231,7 +237,7 @@ declare const _default: {
|
|
|
231
237
|
payload: string;
|
|
232
238
|
type: string;
|
|
233
239
|
}) => void;
|
|
234
|
-
}>;
|
|
240
|
+
}, "space">;
|
|
235
241
|
themes: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
236
242
|
setGeneralTheme: (state: import("immer/dist/internal").WritableDraft<import("../modules/themes").ThemesState>, action: {
|
|
237
243
|
payload: import("@plurid/plurid-themes/distribution").Theme;
|
|
@@ -241,12 +247,12 @@ declare const _default: {
|
|
|
241
247
|
payload: import("@plurid/plurid-themes/distribution").Theme;
|
|
242
248
|
type: string;
|
|
243
249
|
}) => void;
|
|
244
|
-
}>;
|
|
250
|
+
}, "themes">;
|
|
245
251
|
ui: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
246
252
|
setUIToolbarScrollPosition: (state: import("immer/dist/internal").WritableDraft<import("../modules/ui").UIState>, action: {
|
|
247
253
|
payload: number;
|
|
248
254
|
type: string;
|
|
249
255
|
}) => void;
|
|
250
|
-
}>;
|
|
256
|
+
}, "ui">;
|
|
251
257
|
};
|
|
252
258
|
export default _default;
|
|
@@ -4,7 +4,13 @@ import type { AppState } from "../../store";
|
|
|
4
4
|
export interface ConfigurationState extends PluridConfiguration {
|
|
5
5
|
}
|
|
6
6
|
export declare const configuration: import("@reduxjs/toolkit").Slice<ConfigurationState, {
|
|
7
|
-
setConfiguration: (
|
|
7
|
+
setConfiguration: (_state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<PluridConfiguration>) => {
|
|
8
|
+
global: import("@plurid/plurid-data").PluridConfigurationGlobal;
|
|
9
|
+
elements: import("@plurid/plurid-data").PluridConfigurationElements;
|
|
10
|
+
space: import("@plurid/plurid-data").PluridConfigurationSpace;
|
|
11
|
+
network: import("@plurid/plurid-data").PluridConfigurationNetwork;
|
|
12
|
+
development: import("@plurid/plurid-data").PluridConfigurationDevelopment;
|
|
13
|
+
};
|
|
8
14
|
setConfigurationMicro: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>) => void;
|
|
9
15
|
setConfigurationPlaneControls: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<boolean>) => void;
|
|
10
16
|
setConfigurationPlaneOpacity: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<number>) => void;
|
|
@@ -32,7 +38,13 @@ export declare const configuration: import("@reduxjs/toolkit").Slice<Configurati
|
|
|
32
38
|
setConfigurationSpaceCullingDistance: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<number>) => void;
|
|
33
39
|
}, "configuration">;
|
|
34
40
|
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
35
|
-
setConfiguration: (
|
|
41
|
+
setConfiguration: (_state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<PluridConfiguration>) => {
|
|
42
|
+
global: import("@plurid/plurid-data").PluridConfigurationGlobal;
|
|
43
|
+
elements: import("@plurid/plurid-data").PluridConfigurationElements;
|
|
44
|
+
space: import("@plurid/plurid-data").PluridConfigurationSpace;
|
|
45
|
+
network: import("@plurid/plurid-data").PluridConfigurationNetwork;
|
|
46
|
+
development: import("@plurid/plurid-data").PluridConfigurationDevelopment;
|
|
47
|
+
};
|
|
36
48
|
setConfigurationMicro: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>) => void;
|
|
37
49
|
setConfigurationPlaneControls: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<boolean>) => void;
|
|
38
50
|
setConfigurationPlaneOpacity: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<number>) => void;
|
|
@@ -58,7 +70,7 @@ export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
58
70
|
setConfigurationSpaceTransformLocks: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<any>) => void;
|
|
59
71
|
setConfigurationSpaceLayout: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<any>) => void;
|
|
60
72
|
setConfigurationSpaceCullingDistance: (state: import("immer/dist/internal").WritableDraft<ConfigurationState>, action: PayloadAction<number>) => void;
|
|
61
|
-
}>;
|
|
73
|
+
}, "configuration">;
|
|
62
74
|
export declare const getConfiguration: (state: AppState) => ConfigurationState;
|
|
63
75
|
export declare const selectors: {
|
|
64
76
|
getConfiguration: (state: AppState) => ConfigurationState;
|
|
@@ -2,7 +2,7 @@ import type { AppState } from "../../store";
|
|
|
2
2
|
export interface GeneralState {
|
|
3
3
|
}
|
|
4
4
|
export declare const general: import("@reduxjs/toolkit").Slice<GeneralState, {}, "general">;
|
|
5
|
-
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{}>;
|
|
5
|
+
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{}, "general">;
|
|
6
6
|
export declare const getGeneral: (state: AppState) => GeneralState;
|
|
7
7
|
export declare const selectors: {
|
|
8
8
|
getGeneral: (state: AppState) => GeneralState;
|
|
@@ -8,7 +8,7 @@ export declare const shortcuts: import("@reduxjs/toolkit").Slice<ShortcutsState,
|
|
|
8
8
|
}, "shortcuts">;
|
|
9
9
|
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
10
10
|
setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
|
|
11
|
-
}>;
|
|
11
|
+
}, "shortcuts">;
|
|
12
12
|
export declare const getGlobal: (state: AppState) => boolean;
|
|
13
13
|
export declare const selectors: {
|
|
14
14
|
getGlobal: (state: AppState) => boolean;
|
|
@@ -146,6 +146,6 @@ export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
|
146
146
|
spaceSetView: (state: import("immer/dist/internal").WritableDraft<PluridStateSpace>, action: PayloadAction<PluridApplicationView>) => void;
|
|
147
147
|
spaceSetCulledView: (state: import("immer/dist/internal").WritableDraft<PluridStateSpace>, action: PayloadAction<PluridApplicationView>) => void;
|
|
148
148
|
removePlane: (state: import("immer/dist/internal").WritableDraft<PluridStateSpace>, action: PayloadAction<string>) => void;
|
|
149
|
-
}>;
|
|
149
|
+
}, "space">;
|
|
150
150
|
export { selectors, };
|
|
151
151
|
export declare const reducer: import("@reduxjs/toolkit").Reducer<PluridStateSpace, import("@reduxjs/toolkit").AnyAction>;
|
|
@@ -12,7 +12,7 @@ export declare const themes: import("@reduxjs/toolkit").Slice<ThemesState, {
|
|
|
12
12
|
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
13
13
|
setGeneralTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
|
|
14
14
|
setInteractionTheme: (state: import("immer/dist/internal").WritableDraft<ThemesState>, action: PayloadAction<Theme>) => void;
|
|
15
|
-
}>;
|
|
15
|
+
}, "themes">;
|
|
16
16
|
export declare const getGeneralTheme: (state: AppState) => Theme;
|
|
17
17
|
export declare const getInteractionTheme: (state: AppState) => Theme;
|
|
18
18
|
export declare const selectors: {
|
|
@@ -8,7 +8,7 @@ export declare const ui: import("@reduxjs/toolkit").Slice<UIState, {
|
|
|
8
8
|
}, "ui">;
|
|
9
9
|
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
10
10
|
setUIToolbarScrollPosition: (state: import("immer/dist/internal").WritableDraft<UIState>, action: PayloadAction<number>) => void;
|
|
11
|
-
}>;
|
|
11
|
+
}, "ui">;
|
|
12
12
|
export declare const getToolbarScrollPosition: (state: AppState) => number;
|
|
13
13
|
export declare const selectors: {
|
|
14
14
|
getToolbarScrollPosition: (state: AppState) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurid/plurid-react",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-34",
|
|
4
4
|
"description": "React implementation of Plurid to explore the web in three dimensions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurid",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"types": "tsc --project ./configurations/tsconfig.types.json && rm -rf ./temporary-ts-emit",
|
|
43
43
|
"build.development.only": "pnpm clean && node scripts/development.js",
|
|
44
44
|
"build.development": "pnpm clean && pnpm types && node scripts/development.js",
|
|
45
|
-
"build.production": "pnpm clean && pnpm lint && pnpm test && rollup -c ./scripts/rollup.config.js --environment ENV_MODE:production",
|
|
45
|
+
"build.production": "pnpm clean && pnpm lint && pnpm test && rollup -c ./scripts/rollup.config.js --environment ENV_MODE:production --bundleConfigAsCjs",
|
|
46
46
|
"build": "pnpm build.production",
|
|
47
47
|
"prepublishOnly": "pnpm build"
|
|
48
48
|
},
|
|
@@ -67,55 +67,57 @@
|
|
|
67
67
|
"styled-components": ">=5"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@babel/core": "^7.
|
|
70
|
+
"@babel/core": "^7.22.5",
|
|
71
71
|
"@plurid/elementql": "^0.0.0-1",
|
|
72
72
|
"@plurid/elementql-client-react": "^0.0.0-1",
|
|
73
73
|
"@plurid/plurid-data": "0.0.0-20",
|
|
74
74
|
"@plurid/plurid-engine": "0.0.0-18",
|
|
75
|
-
"@plurid/plurid-functions": "0.0.0-
|
|
75
|
+
"@plurid/plurid-functions": "0.0.0-31",
|
|
76
76
|
"@plurid/plurid-functions-react": "0.0.0-5",
|
|
77
77
|
"@plurid/plurid-icons-react": "0.0.0-5",
|
|
78
78
|
"@plurid/plurid-pubsub": "0.0.0-9",
|
|
79
79
|
"@plurid/plurid-themes": "0.0.0-2",
|
|
80
|
-
"@plurid/plurid-ui-components-react": "0.0.0-
|
|
81
|
-
"@plurid/plurid-ui-state-react": "0.0.0-
|
|
82
|
-
"@reduxjs/toolkit": "^1.
|
|
83
|
-
"@rollup/plugin-babel": "^
|
|
84
|
-
"@rollup/plugin-commonjs": "^
|
|
85
|
-
"@rollup/plugin-node-resolve": "^
|
|
86
|
-
"@rollup/plugin-replace": "^
|
|
87
|
-
"@rollup/plugin-typescript": "^
|
|
88
|
-
"@rollup/plugin-url": "^
|
|
80
|
+
"@plurid/plurid-ui-components-react": "0.0.0-26",
|
|
81
|
+
"@plurid/plurid-ui-state-react": "0.0.0-11",
|
|
82
|
+
"@reduxjs/toolkit": "^1.9.5",
|
|
83
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
84
|
+
"@rollup/plugin-commonjs": "^25.0.1",
|
|
85
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
86
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
87
|
+
"@rollup/plugin-typescript": "^11.1.1",
|
|
88
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
89
89
|
"@types/hammerjs": "^2.0.41",
|
|
90
|
-
"@types/jest": "^29.
|
|
91
|
-
"@types/node": "^
|
|
92
|
-
"@types/react": "^18.
|
|
93
|
-
"@types/react-dom": "^18.
|
|
94
|
-
"@types/react-redux": "^7.1.
|
|
90
|
+
"@types/jest": "^29.5.2",
|
|
91
|
+
"@types/node": "^20.3.1",
|
|
92
|
+
"@types/react": "^18.2.12",
|
|
93
|
+
"@types/react-dom": "^18.2.5",
|
|
94
|
+
"@types/react-redux": "^7.1.25",
|
|
95
95
|
"@types/styled-components": "^5.1.26",
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
97
|
-
"@typescript-eslint/parser": "^5.
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
97
|
+
"@typescript-eslint/parser": "^5.59.11",
|
|
98
98
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
99
|
-
"babel-plugin-styled-components": "^2.
|
|
100
|
-
"cross-fetch": "^3.1.
|
|
101
|
-
"esbuild": "^0.
|
|
102
|
-
"eslint": "^8.
|
|
103
|
-
"jest": "^29.0
|
|
104
|
-
"jest-config": "^29.0
|
|
105
|
-
"postcss": "^8.4.
|
|
99
|
+
"babel-plugin-styled-components": "^2.1.3",
|
|
100
|
+
"cross-fetch": "^3.1.6",
|
|
101
|
+
"esbuild": "^0.18.2",
|
|
102
|
+
"eslint": "^8.42.0",
|
|
103
|
+
"jest": "^29.5.0",
|
|
104
|
+
"jest-config": "^29.5.0",
|
|
105
|
+
"postcss": "^8.4.24",
|
|
106
106
|
"react": "^18.2.0",
|
|
107
107
|
"react-dom": "^18.2.0",
|
|
108
|
-
"react-redux": "^8.0
|
|
109
|
-
"rollup": "^
|
|
108
|
+
"react-redux": "^8.1.0",
|
|
109
|
+
"rollup": "^3.25.1",
|
|
110
110
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
111
111
|
"rollup-plugin-postcss": "^4.0.2",
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"ts-jest": "^28.0.8",
|
|
112
|
+
"styled-components": "^5.3.11",
|
|
113
|
+
"ts-jest": "^29.1.0",
|
|
115
114
|
"ts-node": "^10.9.1",
|
|
116
|
-
"tslib": "^2.
|
|
117
|
-
"ttypescript": "^1.5.
|
|
118
|
-
"typescript": "
|
|
119
|
-
"typescript-transform-paths": "^3.
|
|
115
|
+
"tslib": "^2.5.3",
|
|
116
|
+
"ttypescript": "^1.5.15",
|
|
117
|
+
"typescript": "==4.7.4",
|
|
118
|
+
"typescript-transform-paths": "^3.4.6"
|
|
119
|
+
},
|
|
120
|
+
"dependencies": {
|
|
121
|
+
"@rollup/plugin-terser": "^0.4.3"
|
|
120
122
|
}
|
|
121
123
|
}
|