Skip to content

Commit 6eb02f3

Browse files
committed
up to date master
2 parents 63b1e20 + 2380810 commit 6eb02f3

File tree

18 files changed

+834
-393
lines changed

18 files changed

+834
-393
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"@babel/preset-env": "^7.10.4",
6767
"@babel/preset-react": "^7.10.4",
6868
"@types/chrome": "^0.0.119",
69+
"@types/d3-scale-chromatic": "^2.0.0",
6970
"@types/jest": "^26.0.4",
7071
"@types/node": "^12.12.50",
7172
"@typescript-eslint/eslint-plugin": "^3.6.1",
@@ -118,13 +119,15 @@
118119
"@visx/responsive": "^1.0.0",
119120
"@visx/scale": "^1.0.0",
120121
"@visx/shape": "^1.0.0",
122+
"@visx/text": "^1.0.0",
121123
"@visx/tooltip": "^1.0.0",
122124
"@visx/zoom": "^1.0.0",
123125
"acorn": "^7.3.1",
124126
"acorn-jsx": "^5.2.0",
125127
"bower": "^1.8.8",
126128
"cookie": "^0.4.1",
127129
"d3": "^5.16.0",
130+
"d3-scale-chromatic": "^2.0.0",
128131
"d3-shape": "^2.0.0",
129132
"d3-zoom": "^1.8.3",
130133
"flatted": "^3.0.4",

src/app/actions/actions.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,13 @@ export const resetSlider = () => ({
7878
type: types.SLIDER_ZERO,
7979
});
8080

81-
export const onHover = () => ({
81+
export const onHover = (rtid) => ({
8282
type: types.ON_HOVER,
8383
//the payload should be something to relate the component we're hovering and highlight that component on the DOM
84-
payload: 'PAYLOAD FROM onHover inside of action.ts'
84+
payload: rtid
85+
})
86+
87+
export const onHoverExit = (rtid) => ({
88+
type: types.ON_HOVER_EXIT,
89+
payload: rtid
8590
})

src/app/components/AtomsRelationship.jsx

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)