Skip to content

Commit

Permalink
feat(base): Create v2 base components.
Browse files Browse the repository at this point in the history
- Change `mdl-base-component` -> `mdl-base`
- Add description and correct license to `mdl-base`
- Implement base foundation and component classes
- Deprecate MDLBaseAdapter; remove from index exports
- Update all build and dependency targets
- (extra) Fix false positive in mdl-auto-init test
- (extra) Update quotes eslint rule to avoid escaping

Resolves #4579

[Delivers #126819203]
  • Loading branch information
traviskaufman committed Jul 27, 2016
1 parent 69cce5b commit 288778f
Show file tree
Hide file tree
Showing 21 changed files with 590 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins:
rules:
max-len: [error, 120]
no-new: warn
quotes: [error, single]
quotes: [error, single, {"avoidEscape": true}]
no-var: error
curly: error
no-floating-decimal: error
Expand Down
2 changes: 1 addition & 1 deletion packages/material-design-lite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import BaseComponent from 'mdl-base-component';
import BaseComponent from 'mdl-base';
import Checkbox from 'mdl-checkbox';
import Radio from 'mdl-radio';
import Ripple from 'mdl-ripple';
Expand Down
2 changes: 1 addition & 1 deletion packages/material-design-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"mdl-animation": "^1.0.0",
"mdl-auto-init": "^1.0.0",
"mdl-base-component": "^1.0.0",
"mdl-base": "^1.0.0",
"mdl-checkbox": "^1.0.0",
"mdl-radio": "^1.0.0",
"mdl-ripple": "^1.0.0"
Expand Down
127 changes: 0 additions & 127 deletions packages/mdl-base-component/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions packages/mdl-base-component/package.json

This file was deleted.

Loading

0 comments on commit 288778f

Please sign in to comment.