Skip to content

Commit

Permalink
Update MDC imports to comply with material-components/material-compon…
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemarsden committed Oct 12, 2018
1 parent 96d4701 commit 7a2c184
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion webapp/src/app/module/attendance/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import MDCDialogFoundation from '@material/dialog/foundation.js';
import {DateTime, Duration} from "luxon";
import {RequestType} from "../../endpoint/endpoint.js";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MDCSwitch} from "@material/switch";
import {MDCSwitch} from '@material/switch/index.js';
import {MemberDataRow} from "../../ui-component/data-table/member-data-row.js";
import {DataRow} from "../../ui-component/data-table/data-row.js";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MDCSwitch} from '@material/switch';
import {MDCSwitch} from '@material/switch/index.js';
import {DataTable} from '../../ui-component/data-table/index.js';

/**
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/app/module/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {MDCTabBar} from '@material/tab-bar';
import {MDCTopAppBar} from '@material/top-app-bar';
import {MDCTabBar} from '@material/tab-bar/index.js';
import {MDCTopAppBar} from '@material/top-app-bar/index.js';
import {Page} from '../ui-component/base/index.js';
import './app-icon-dark.png';
import './app-icon-light.png';
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/app/ui-component/button/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MDCRipple} from '@material/ripple';
import {MDCRipple} from '@material/ripple/index.js';
import {Component} from '../base/index.js';

export class Button extends Component {
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/app/ui-component/data-form/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {MDCSelect} from "@material/select";
import {MDCTextField} from "@material/textfield";
import {MDCSelect} from '@material/select/index.js';
import {MDCTextField} from '@material/textfield/index.js';
import {Component} from '../base/index.js';

export class DataForm extends Component {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/app/ui-component/data-table/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MDCTextField} from '@material/textfield';
import {MDCTextField} from '@material/textfield/index.js';
import {indexOf} from "../../util/collection-utils.js";
import {Component} from "../base/index.js";

Expand Down
2 changes: 1 addition & 1 deletion webapp/src/app/ui-component/dialog/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MDCDialog} from '@material/dialog';
import {MDCDialog} from '@material/dialog/index.js';
import MDCDialogFoundation from '@material/dialog/foundation.js';
import {Component} from '../base/index.js';

Expand Down

0 comments on commit 7a2c184

Please sign in to comment.