diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 4eea391..0000000 --- a/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "presets": [ - "react", - "es2015", - "stage-1" - ], - "plugins": ["transform-decorators-legacy"] -} diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 1e59a2b..0000000 --- a/.eslintrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parser": "babel-eslint", - "extends": "airbnb", - "rules": { - "comma-dangle": 0, - "eqeqeq": 0, - "camelcase": 0, - "global-require": 0, - "guard-for-in": 0, - "import/no-unresolved": 0, - "jsx-a11y/img-has-alt": 0, - "max-len": 0, - "new-cap": 0, - "new-parens": 1, - "no-class-assign": 0, - "no-confusing-arrow": 0, - "no-nested-ternary": 0, - "no-new": 0, - "no-param-reassign": 0, - "no-restricted-syntax": 0, - "no-shadow": 0, - "no-throw-literal": 0, - "no-trailing-spaces": 0, - "no-underscore-dangle": 0, - "no-unused-vars": ["error", { "varsIgnorePattern": "type" }], - "no-unused-expressions": ["error", { "allowShortCircuit": true }], - "radix": 0, - "react/jsx-boolean-value": 0, - "react/prefer-stateless-function": 0, - "padded-blocks": 0, - "react/jsx-closing-bracket-location": 0 - } -} diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index d9fb189..0000000 --- a/.jshintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "node": true, - "browser": true, - "esnext": true, - "newcap": false -} diff --git a/.storybook/config.js b/.storybook/config.js deleted file mode 100644 index 8e314a8..0000000 --- a/.storybook/config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { configure } from '@kadira/storybook'; - -function loadStories() { - require('../stories'); -} - -configure(loadStories, module); diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js deleted file mode 100644 index 7441c98..0000000 --- a/.storybook/webpack.config.js +++ /dev/null @@ -1,18 +0,0 @@ -// you can use this file to add your custom webpack plugins, loaders and anything you like. -// This is just the basic way to add addional webpack configurations. -// For more information refer the docs: https://getstorybook.io/docs/configurations/custom-webpack-config - -// IMPORTANT -// When you add this file, we won't add the default configurations which is similar -// to "React Create App". This only has babel loader to load JavaScript. - -module.exports = { - plugins: [ - // your custom plugins - ], - module: { - loaders: [ - // add your custom loaders. - ], - }, -}; diff --git a/parasol.js b/parasol.js index 639dddb..1fd3a2f 100644 --- a/parasol.js +++ b/parasol.js @@ -50068,7 +50068,7 @@ var SigmaComponent = (0, _mobxReact.observer)(_class = function (_Component) { sigmaPlugins.push(_react2.default.createElement(_reactSigma.ForceAtlas2, { key: 'sigma-forceatlas2', barnesHutOptimize: true, barnesHutTheta: 0.8, iterationsPerRender: 2 })); break; case 'forcelink': - sigmaPlugins.push(_react2.default.createElement(_ForceLink2.default, { key: 'sigma-forcelink', appState: appState, shouldStart: appState.layout.shouldStart, shouldStrop: appState.layout.shouldStop })); + sigmaPlugins.push(_react2.default.createElement(_ForceLink2.default, { key: 'sigma-forcelink', appState: appState, shouldStart: appState.layout.shouldStart, shouldStrop: appState.layout.shouldStop, worker: true })); break; } @@ -98736,7 +98736,7 @@ var ParasolAppBar = function (_React$Component) { var githubText = 'github'; if (true) { - githubText = "250bea1\n"; + githubText = "84f4b3c\n"; } var githubLink = githubText == 'github' ? 'https://github.com/alx/parasol' : 'https://github.com/alx/parasol/tree/' + githubText; @@ -98749,7 +98749,7 @@ var ParasolAppBar = function (_React$Component) { iconElementLeft: _react2.default.createElement( _IconButton2.default, { - onTouchTap: this.toggleDrawer, + onClick: this.toggleDrawer, style: styles.drawerToggle }, _react2.default.createElement(_chevronLeft2.default, { @@ -99690,13 +99690,13 @@ var NetworkList = (0, _mobxReact.observer)(_class2 = function (_React$Component) { style: styles.container }, _react2.default.createElement(_refresh2.default, { style: styles.icon, - onTouchTap: this._refreshSelectedNetwork }), + onClick: this._refreshSelectedNetwork }), _react2.default.createElement(_save2.default, { style: styles.icon, - onTouchTap: this._saveSelectedNetwork }), + onClick: this._saveSelectedNetwork }), _react2.default.createElement(_fileDownload2.default, { style: styles.icon, - onTouchTap: this._downloadSelectedNetwork }) + onClick: this._downloadSelectedNetwork }) ); return _react2.default.createElement( @@ -99737,7 +99737,7 @@ var NetworkList = (0, _mobxReact.observer)(_class2 = function (_React$Component) primaryText: network.get('name'), secondaryText: secondaryText, rightIcon: selectedItem ? selectedNetworkIcons : _react2.default.createElement('div', null), - onTouchTap: _this3._selectNetwork.bind(_this3, index), + onClick: _this3._selectNetwork.bind(_this3, index), nestedItems: nested }); }) @@ -100120,7 +100120,7 @@ var ForceLinkSettings = (0, _mobxReact.observer)(_class = function (_React$Compo if (typeof this.state.running == 'undefined') return null; - var titleIcon = _react2.default.createElement(_playCircleOutline2.default, { onTouchTap: this._startForceLink }); + var titleIcon = _react2.default.createElement(_playCircleOutline2.default, { onClick: this._startForceLink }); if (this.props.appState.layout.running) { var iconStyle = { position: 'absolute', diff --git a/settings.json b/settings.json index f9a15f1..eda8407 100644 --- a/settings.json +++ b/settings.json @@ -24,6 +24,13 @@ {"name": "Divider"}, {"name": "Legend"} ] + }, + { "id": "right", + "open": false, + "openSecondary": true, + "components": [ + {"name": "FilterSize"} + ] } ] }