AG-2018 Rename ag-Grid to ag-Grid-Community
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"ag-grid": path.resolve('./node_modules/ag-grid'),
|
||||
"ag-grid-community": path.resolve('./node_modules/ag-grid-community'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -27,7 +27,7 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"ag-grid": path.resolve('./node_modules/ag-grid'),
|
||||
"ag-grid-community": path.resolve('./node_modules/ag-grid-community'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -27,7 +27,7 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"ag-grid": path.resolve('./node_modules/ag-grid'),
|
||||
"ag-grid-community": path.resolve('./node_modules/ag-grid-community'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"webpack-dev-server": "^3.1.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"ag-grid": "^18.1.0",
|
||||
"ag-grid-community": "^18.1.0",
|
||||
"ag-grid-enterprise": "^18.1.0",
|
||||
"ag-grid-react": "^18.1.0",
|
||||
"bootstrap": "3.3.7",
|
||||
|
||||
@@ -4,8 +4,8 @@ import React from "react";
|
||||
import {render} from "react-dom";
|
||||
import {BrowserRouter} from "react-router-dom";
|
||||
|
||||
import "ag-grid/dist/styles/ag-grid.css";
|
||||
import "ag-grid/dist/styles/ag-theme-balham.css";
|
||||
import "ag-grid-community/dist/styles/ag-grid.css";
|
||||
import "ag-grid-community/dist/styles/ag-theme-balham.css";
|
||||
import "../node_modules/bootstrap/dist/css/bootstrap.css";
|
||||
|
||||
import App from "./App";
|
||||
|
||||
@@ -4,8 +4,8 @@ import ReactDOM from 'react-dom';
|
||||
import React from 'react';
|
||||
import LargeGrid from './largeGrid.jsx';
|
||||
|
||||
import 'ag-grid/dist/styles/ag-grid.css';
|
||||
import 'ag-grid/dist/styles/ag-theme-fresh.css';
|
||||
import 'ag-grid-community/dist/styles/ag-grid.css';
|
||||
import 'ag-grid-community/dist/styles/ag-theme-fresh.css';
|
||||
|
||||
// waiting for dom to load before booting react. we could alternatively
|
||||
// put the index.js reference at the end fo the index.html, but i prefer this way.
|
||||
|
||||
@@ -61,7 +61,7 @@ export default class MyApp extends Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div style={{height: '100%'}} className="ag-fresh">
|
||||
<div style={{height: '100%'}} className="ag-theme-fresh">
|
||||
<AgGridReact columnDefs={this.state.columnDefs} rowData={this.state.rowData}/>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -60,7 +60,7 @@ class FxQuoteMatrix extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={{height: 410, width: 800}}
|
||||
className="ag-fresh">
|
||||
className="ag-theme-fresh">
|
||||
<AgGridReact
|
||||
// properties
|
||||
columnDefs={this.state.columnDefs}
|
||||
|
||||
@@ -151,7 +151,7 @@ export default class extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={{height: 410, width: 800}}
|
||||
className="ag-fresh">
|
||||
className="ag-theme-fresh">
|
||||
<AgGridReact
|
||||
// properties
|
||||
columnDefs={this.state.columnDefs}
|
||||
|
||||
@@ -62,7 +62,7 @@ class TopMoversGrid extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={{height: 410, width: 400}}
|
||||
className="ag-fresh">
|
||||
className="ag-theme-fresh">
|
||||
<AgGridReact
|
||||
// properties
|
||||
columnDefs={this.state.columnDefs}
|
||||
|
||||
@@ -5,8 +5,8 @@ import {render} from "react-dom";
|
||||
|
||||
import {Provider} from "react-redux";
|
||||
|
||||
import "ag-grid/dist/styles/ag-grid.css";
|
||||
import "ag-grid/dist/styles/ag-theme-fresh.css";
|
||||
import "ag-grid-community/dist/styles/ag-grid.css";
|
||||
import "ag-grid-community/dist/styles/ag-theme-fresh.css";
|
||||
|
||||
import StoreService from './services/StoreService';
|
||||
import TraderDashboard from "./components/TraderDashboard.jsx";
|
||||
|
||||
Reference in New Issue
Block a user