>/react-resize-detector_v^2.3.0/flow_v0.73.0
+
+/**
+ * This is an autogenerated libdef stub for:
+ *
+ * 'react-resize-detector'
+ *
+ * Fill this stub out by replacing all the `any` types.
+ *
+ * Once filled out, we encourage you to share your work with the
+ * community by sending a pull request to:
+ * https://github.com/flowtype/flow-typed
+ */
+
+declare module "react-resize-detector" {
+ declare module.exports: any;
+}
+
+/**
+ * We include stubs for each file inside this npm package in case you need to
+ * require those files directly. Feel free to delete any files that aren't
+ * needed.
+ */
+declare module "react-resize-detector/lib/components/ResizeDetector" {
+ declare module.exports: any;
+}
+
+declare module "react-resize-detector/lib/index" {
+ declare module.exports: any;
+}
+
+// Filename aliases
+declare module "react-resize-detector/lib/components/ResizeDetector.js" {
+ declare module.exports: $Exports<
+ "react-resize-detector/lib/components/ResizeDetector"
+ >;
+}
+declare module "react-resize-detector/lib/index.js" {
+ declare module.exports: $Exports<"react-resize-detector/lib/index">;
+}
diff --git a/flow-typed/npm/react-router-dom_v4.x.x.js b/flow-typed/npm/react-router-dom_v4.x.x.js
index 12fd273..4c3a63b 100644
--- a/flow-typed/npm/react-router-dom_v4.x.x.js
+++ b/flow-typed/npm/react-router-dom_v4.x.x.js
@@ -1,5 +1,5 @@
-// flow-typed signature: 60904532a0b2eae42e097223d1999f8e
-// flow-typed version: f821d89401/react-router-dom_v4.x.x/flow_>=v0.53.x
+// flow-typed signature: e5a7aa81d9e40346b8b63c86c07c3005
+// flow-typed version: 83f1c5c51e/react-router-dom_v4.x.x/flow_>=v0.63.x
declare module "react-router-dom" {
declare export class BrowserRouter extends React$Component<{
@@ -90,12 +90,19 @@ declare module "react-router-dom" {
staticContext?: StaticRouterContext
|};
+ declare type ContextRouterVoid = {
+ history: RouterHistory | void,
+ location: Location | void,
+ match: Match | void,
+ staticContext?: StaticRouterContext | void
+ };
+
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
- declare type StaticRouterContext = {
+ declare export type StaticRouterContext = {
url?: string
};
@@ -142,9 +149,11 @@ declare module "react-router-dom" {
children?: React$Node
}> {}
- declare export function withRouter(
- Component: React$ComponentType<{| ...ContextRouter, ...P |}>
- ): React$ComponentType
;
+ declare export function withRouter>(
+ WrappedComponent: Component
+ ): React$ComponentType<
+ $Diff, ContextRouterVoid>
+ >;
declare type MatchPathOptions = {
path?: string,
diff --git a/flow-typed/npm/react-scripts_vx.x.x.js b/flow-typed/npm/react-scripts_vx.x.x.js
index b737052..5984641 100644
--- a/flow-typed/npm/react-scripts_vx.x.x.js
+++ b/flow-typed/npm/react-scripts_vx.x.x.js
@@ -1,5 +1,5 @@
-// flow-typed signature: 446244b07375c5b8f16ce8e466486414
-// flow-typed version: <>/react-scripts_v^1.1.4/flow_v0.69.0
+// flow-typed signature: b5e436bc08563077ca4061d50057e9be
+// flow-typed version: <>/react-scripts_v^1.1.4/flow_v0.73.0
/**
* This is an autogenerated libdef stub for:
diff --git a/flow-typed/npm/typeface-roboto_vx.x.x.js b/flow-typed/npm/typeface-roboto_vx.x.x.js
index 1218e8c..e21722e 100644
--- a/flow-typed/npm/typeface-roboto_vx.x.x.js
+++ b/flow-typed/npm/typeface-roboto_vx.x.x.js
@@ -1,5 +1,5 @@
-// flow-typed signature: eaa6716ebb395eed79efe33fb55d6f29
-// flow-typed version: <>/typeface-roboto_v^0.0.54/flow_v0.69.0
+// flow-typed signature: c3afc17f17a52defd38c0005914bde64
+// flow-typed version: <>/typeface-roboto_v^0.0.54/flow_v0.73.0
/**
* This is an autogenerated libdef stub for:
diff --git a/package.json b/package.json
index 24e3249..f625aae 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,16 @@
{
"name": "flux-frontend",
- "version": "0.1.0",
+ "version": "1.0.0",
"private": true,
"dependencies": {
+ "@flux-coordinator/heatmapjs": "^2.1.4",
"axios": "^0.18.0",
"concurrently": "^3.5.1",
"cross-env": "^5.1.4",
"grommet": "^1.10.1",
"grommet-addons": "^0.6.0",
- "heatmapjs": "git+https://github.com/JonathanWi/heatmap.js.git",
"js-file-download": "^0.4.1",
+ "moment": "^2.22.2",
"node-sass-chokidar": "^1.2.0",
"npm-run-all": "^4.1.2",
"react": "^16.3.1",
@@ -22,17 +23,14 @@
"typeface-roboto": "^0.0.54"
},
"scripts": {
- "build-css":
- "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
- "watch-css":
- "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
+ "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
+ "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
"start-react": "cross-env NODE_PATH=src react-scripts start",
"start": "npm-run-all -p watch-css start-react",
"build-react": "cross-env NODE_PATH=src react-scripts build",
"build": "npm-run-all build-css build-react",
"test": "cross-env NODE_PATH=src react-scripts test --env=jsdom",
- "test-ci":
- "cross-env NODE_PATH=src react-scripts test --env=jsdom --coverage",
+ "test-ci": "cross-env NODE_PATH=src react-scripts test --env=jsdom --coverage",
"eject": "cross-env NODE_PATH=src react-scripts eject",
"storybook": "start-storybook -p 3001 -c .storybook"
},
@@ -55,7 +53,7 @@
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "^7.7.0",
- "flow-bin": "^0.72.0",
+ "flow-bin": "^0.73.0",
"flow-typed": "^2.4.0",
"husky": "^0.15.0-rc.10",
"install-peerdeps": "^1.6.0",
diff --git a/public/index.html b/public/index.html
index 3a6f697..05fb22f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,5 +1,5 @@
-
+
@@ -20,7 +20,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
- Flux Coordinator WebApp
+ Flux Coordinator