Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 70ae018
Merge: 3b640c8 713dc4c
Author: Evan Henley <henleyedition@gmail.com>
Date:   Sun Apr 24 15:16:17 2016 -0500

    Merge branch 'master' of github.com:callemall/material-ui

commit 713dc4c
Merge: 390108d 3d89a9d
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Sat Apr 23 19:20:03 2016 -0400

    Merge pull request mui#4026 from oliviertassinari/circular-progress-fix

    [CircularProgress] Fix for Android

commit 390108d
Merge: 252bc5c 5a5d28d
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Fri Apr 22 23:47:24 2016 -0400

    Merge pull request mui#4069 from scarletsky/improve-codemod

    [codemod] Improve the path migration

commit 5a5d28d
Author: scarletsky <scarletsky1025@gmail.com>
Date:   Fri Apr 22 22:47:51 2016 +0800

    [Codemod] Improve the path migration

commit 252bc5c
Merge: 12a6d6a ea6e7a9
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Fri Apr 22 17:57:19 2016 -0400

    Merge pull request mui#4074 from oliviertassinari/eslint-format-js

    [eslint] Use the js format instead of the yaml one

commit ea6e7a9
Author: Olivier Tassinari <olivier.tassinari@gmail.com>
Date:   Fri Apr 22 23:33:32 2016 +0200

    [eslint] Use the js format intead of the yaml one

commit 12a6d6a
Merge: e655bf9 8bdbdc8
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Fri Apr 22 17:36:46 2016 -0400

    Merge pull request mui#4073 from oliviertassinari/proptypes-remove-spaces

    [Core] Remove the blank line between the propTypes definitions

commit 8bdbdc8
Author: Olivier Tassinari <olivier.tassinari@gmail.com>
Date:   Fri Apr 22 23:01:52 2016 +0200

    [Core] Remove the blank line between the propTypes definitions

commit e655bf9
Merge: 88fb46d 5c9fd41
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Fri Apr 22 16:50:06 2016 -0400

    Merge pull request mui#4072 from oliviertassinari/docs-webpack-undefined-host

    [Docs] Set a falsy host so we can access the docs from a remote ip

commit 5c9fd41
Author: Olivier Tassinari <olivier.tassinari@gmail.com>
Date:   Fri Apr 22 22:29:38 2016 +0200

    [Docs] Set a falsy host so we can access the docs from a remote ip

commit 88fb46d
Merge: 051fbc2 a76c088
Author: Olivier Tassinari <Olivier.tassinari@gmail.com>
Date:   Fri Apr 22 21:38:27 2016 +0200

    Merge pull request mui#4058 from mbrookes/named-imports

    [Core] Used named imports for createClass, Component & PropTypes

commit 051fbc2
Merge: 7cf7adf bb51006
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Thu Apr 21 19:09:13 2016 -0400

    [Docs] Add v0.15.0-beta.2 to versions.json

    [Docs] Add v0.15.0-beta.2 to versions.json

commit bb51006
Author: Nathan Marks <nathan@poweredbysearch.com>
Date:   Thu Apr 21 19:06:03 2016 -0400

    Add v0.15.0-beta.2 to versions.json

commit 7cf7adf
Merge: 1890ad1 7f61d11
Author: Nathan <nathanmarks@users.noreply.github.com>
Date:   Thu Apr 21 18:57:41 2016 -0400

    Merge pull request mui#4060 from alitaheri/prepare-0.15.0-beta.2-release

    Prepare the 0.15.0-beta.2 release

commit 7f61d11
Author: Ali Taheri <ali.taheri.m@gmail.com>
Date:   Thu Apr 21 23:55:05 2016 +0430

    Prepare the 0.15.0-beta.2 release

commit 1890ad1
Merge: acbbdbc 858dcaf
Author: Neil Gabbadon <neil.gabbadon@gmail.com>
Date:   Thu Apr 21 14:40:35 2016 -0400

    Merge pull request mui#4035 from nathanmarks/raisedbutton-hover-icon

    [RaisedButton] fix hover overlay for icon only buttons, fixes mui#3815

commit acbbdbc
Merge: 9baaf7e efc62fd
Author: Olivier Tassinari <Olivier.tassinari@gmail.com>
Date:   Thu Apr 21 20:39:01 2016 +0200

    Merge pull request mui#4057 from dugokontov/remove-link-to-localhost

    [Docs] Remove localhost:3000 from link

commit 9baaf7e
Merge: be3615f 86b5894
Author: Olivier Tassinari <Olivier.tassinari@gmail.com>
Date:   Thu Apr 21 20:37:24 2016 +0200

    Merge pull request mui#4033 from antoinerousseau/dialog-title-style

    [Dialog] Merge title style when title it a node

commit a76c088
Author: mbrookes <github@nospam.33m.co>
Date:   Thu Apr 21 07:27:21 2016 -0700

    [Core] Used named imports for createClass, Component & PropTypes

commit efc62fd
Author: Sergej Dugokontov <sergejspam@gmail.com>
Date:   Thu Apr 21 13:50:45 2016 +0200

    [Docs] Remove localhost:3000 from link

commit 86b5894
Author: Antoine Rousseau <antoine@rousseau.im>
Date:   Mon Apr 18 19:11:36 2016 -0500

    [Dialog] merge title style when it's a node, fixes mui#3373

commit be3615f
Merge: 8cdf8a8 c816c89
Author: Matt Brookes <github@nospam.33m.co>
Date:   Wed Apr 20 13:13:41 2016 -0700

    Merge pull request mui#4048 from nathanmarks/readme-beta-installation

    [Docs] Add beta installation details to the README

commit 8cdf8a8
Merge: b266f34 c71f1b2
Author: Olivier Tassinari <Olivier.tassinari@gmail.com>
Date:   Wed Apr 20 21:19:04 2016 +0200

    Merge pull request mui#4044 from nathanmarks/checkbox-style-fix

    [ListItem] Add extra width to leftCheckbox for EnhancedSwitch margin, fixes mui#4016

commit c71f1b2
Author: Nathan Marks <nathan@poweredbysearch.com>
Date:   Wed Apr 20 00:27:44 2016 -0400

    [ListItem] Add extra width to leftCheckbox for EnhancedSwitch margin

    Fixes mui#4016

commit c816c89
Author: Nathan Marks <nathan@poweredbysearch.com>
Date:   Wed Apr 20 09:05:45 2016 -0400

    [Docs] Add beta installation details to the README

    Adds instructions for installing the @next npm package to the README. Also removed an incorrect line from the installation instructions.

commit 858dcaf
Author: Nathan Marks <nathan@poweredbysearch.com>
Date:   Tue Apr 19 00:13:16 2016 -0400

    [RaisedButton] Add browser for mui#3815 and a couple of starting unit tests

commit ceda73d
Author: Nathan Marks <nathan@poweredbysearch.com>
Date:   Mon Apr 18 21:29:33 2016 -0400

    [RaisedButton] Add explicit height property to overlay, fixes mui#3815

commit 3d89a9d
Author: Olivier Tassinari <olivier.tassinari@gmail.com>
Date:   Sun Apr 17 23:09:56 2016 +0200

    [CircularProgress] Fix for Android
  • Loading branch information
Evan Henley committed Apr 24, 2016
1 parent 3614854 commit 48bfd99
Show file tree
Hide file tree
Showing 146 changed files with 1,717 additions and 2,201 deletions.
131 changes: 131 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
module.exports = {
// So parent files don't get applied
root: true,
env: {
es6: true,
browser: true,
node: true,
},
extends: 'eslint:recommended',
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 7,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true,
}
},
plugins: [
'babel',
'react',
'material-ui',
],
rules: {
// Errors
'array-bracket-spacing': ['error', 'never'],
'arrow-spacing': 'error',
'arrow-parens': 'error',
'block-spacing': ['error', 'always'],
'brace-style': 'error',
'comma-dangle': ['error', 'always-multiline'],
'comma-spacing': ['error', {before: false, after: true}],
'comma-style': ['error', 'last'],
'computed-property-spacing': ['error', 'never'],
'consistent-this': ['error', 'self'],
'consistent-return': 'off', // Wishlist, one day
'dot-notation': 'error',
'dot-location': ['error', 'property'],
'eqeqeq': ['error', 'smart'],
'eol-last': 'error',
'indent': ['error', 2, {SwitchCase: 1}],
'id-blacklist': ['error', 'e'],
'jsx-quotes': ['error', 'prefer-double'],
'keyword-spacing': 'error',
'key-spacing': 'error',
'max-len': ['error', 120, 4],
'new-cap': ['off', {capIsNew: true, newIsCap: true}], // Wishlist, one day
'no-unused-expressions': 'error',
'no-unused-vars': 'error',
'no-shadow': 'off', // Wishlist, one day
'no-spaced-func': 'error',
'no-multiple-empty-lines': 'error',
'no-multi-spaces': 'error',
'no-undef': 'error',
'no-empty-pattern': 'error',
'no-dupe-keys': 'error',
'no-dupe-args': 'error',
'no-duplicate-case': 'error',
'no-cond-assign': 'error',
'no-extra-semi': 'error',
'no-extra-boolean-cast': 'error',
'no-trailing-spaces': 'error',
'no-underscore-dangle': 'error',
'no-unneeded-ternary': 'error',
'no-unreachable': 'error',
'no-var': 'error',
'one-var': ['error', 'never'],
'operator-linebreak': ['error', 'after'],
'padded-blocks': ['error', 'never'],
'prefer-arrow-callback': 'off', // Wishlist, one day
'prefer-const': 'error',
'prefer-template': 'error',
'quotes': ['error', 'single', 'avoid-escape'],
'semi': ['error', 'always'],
'space-before-blocks': ['error', 'always'],
'space-before-function-paren': ['error', 'never'],
'space-infix-ops': 'error',
'space-unary-ops': ['error', { words: true, nonwords: false }],
'spaced-comment': 'error',
'yoda': 'error',

// Disabled
'strict': 'off',
'no-case-declarations': 'off',

// Babel
'babel/object-curly-spacing': ['error', 'never'],

// React
'react/display-name': 'error',
'react/jsx-boolean-value': ['error', 'always'],
'react/jsx-closing-bracket-location': 'error',
'react/jsx-curly-spacing': 'error',
'react/jsx-equals-spacing': 'error',
'react/jsx-handler-names': 'error',
'react/jsx-indent-props': ['error', 2],
'react/jsx-max-props-per-line': ['error', {maximum: 3}],
'react/jsx-no-duplicate-props': 'error',
'react/jsx-no-undef': 'error',
'react/jsx-pascal-case': 'error',
'react/jsx-space-before-closing': 'error',
'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error',
'react/no-danger': 'error',
'react/no-did-mount-set-state': 'error',
'react/no-did-update-set-state': 'error',
'react/no-direct-mutation-state': 'error',
'react/no-multi-comp': 'off', // Wishlist, one day
'react/no-unknown-property': 'error',
'react/no-is-mounted': 'error',
'react/prefer-arrow-callback': 'off', // Wishlist, one day
'react/prefer-es6-class': 'off', // Wishlist, one day
'react/prop-types': 'error',
'react/react-in-jsx-scope': 'error',
'react/require-extension': 'error',
'react/self-closing-comp': 'error',
'react/sort-comp': 'error',
'react/sort-prop-types': 'error',
'react/wrap-multilines': 'error',
'react/jsx-indent': ['error', 2],

// React Disabled
'react/jsx-no-bind': 'off',
'react/jsx-no-literals': 'off',
'react/jsx-sort-props': 'off',
'react/no-set-state': 'off',

// Material-UI
'material-ui/docgen-ignore-before-comment': 'error',
},
};
130 changes: 0 additions & 130 deletions .eslintrc.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
## HEAD

## 0.15.0-beta.2
###### _Apr 21, 2016_

##### General
- [.gitignore] Ignore `jsconfig.json` - VSCode config file (#4011)
- [Docs] Update usage docs with muiTheme instructions (#4034)
- [Docs] Add beta installation details to the README (#4048)
- [Examples] Update import statements (#3992)

##### Component Fixes / Enhancements
- [AutoComplete] Change `error`, `hint`, `floatingLabel` property validators to `PropTypes.node` (#4019)
- [Dialog] Add border to title and actions when content is scrollable (#4001)
- [Dialog] Add support for the Alert (#4022)
- [Dialog] Merge title style when title it a node (#4033)
- [ListItem] Fix flexbox shrinking [issue](#4016) (#4044)
- [Menu] Fix regression that caused nested menus to be unreachable (#3947)
- [RaisedButton] fix hover overlay for icon only buttons, fixes #3815 (#4035)
- [RefreshIndicator] Fix timer leaks (#3986)
- [SelectField] Fix server side rendering (#4004)
- [Tab] Fix the justify content when there is only one child (#4023)

##### Deprecations
- [List] Deprecate the `valueLink` property (#3936)

## 0.15.0-beta.1
###### _Apr 13, 2016_

Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,20 @@ for a quick introduction before you read on.)
## Installation

Material-UI is available as an [npm package](https://www.npmjs.org/package/material-ui).

**Stable channel**
```sh
npm install material-ui
```
After npm install, you'll find all the .js files in the /src folder and
their compiled versions in the /lib folder.

Our next version (`0.15.0`) is coming soon! If you need React 15 support or want to preview our latest updates, you can install the current beta.

**Pre-release channel (React 15 support)**
```sh
npm install material-ui@next
```



### React-Tap-Event-Plugin

Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-ui-docs",
"version": "0.15.0-beta.1",
"version": "0.15.0-beta.2",
"description": "Documentation site for material-ui",
"repository": {
"type": "git",
Expand All @@ -12,7 +12,7 @@
"private": true,
"scripts": {
"start": "npm run browser:development",
"browser:development": "webpack-dev-server --config webpack-dev-server.config.js --progress --colors --inline",
"browser:development": "webpack-dev-server --config webpack-dev-server.config.js --progress --colors --inline --host=",
"browser:build": "NODE_ENV=docs-production webpack --config webpack-production.config.js --progress --colors --profile",
"browser:prd": "NODE_ENV=docs-production webpack-dev-server --config webpack-production.config.js --progress --colors",
"gh-pages:build": "node ./gh-pages-build.js",
Expand Down
20 changes: 10 additions & 10 deletions docs/src/app/components/AppNavDrawer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import React, {createClass, PropTypes} from 'react';
import Drawer from 'material-ui/Drawer';
import {List, ListItem, MakeSelectable} from 'material-ui/List';
import Divider from 'material-ui/Divider';
Expand All @@ -10,20 +10,20 @@ import {cyan500} from 'material-ui/styles/colors';

const SelectableList = MakeSelectable(List);

const AppNavDrawer = React.createClass({
const AppNavDrawer = createClass({

propTypes: {
docked: React.PropTypes.bool.isRequired,
location: React.PropTypes.object.isRequired,
onChangeList: React.PropTypes.func.isRequired,
onRequestChangeNavDrawer: React.PropTypes.func.isRequired,
open: React.PropTypes.bool.isRequired,
style: React.PropTypes.object,
docked: PropTypes.bool.isRequired,
location: PropTypes.object.isRequired,
onChangeList: PropTypes.func.isRequired,
onRequestChangeNavDrawer: PropTypes.func.isRequired,
open: PropTypes.bool.isRequired,
style: PropTypes.object,
},

contextTypes: {
muiTheme: React.PropTypes.object.isRequired,
router: React.PropTypes.object.isRequired,
muiTheme: PropTypes.object.isRequired,
router: PropTypes.object.isRequired,
},

getInitialState: () => {
Expand Down
10 changes: 5 additions & 5 deletions docs/src/app/components/CodeExample/CodeBlock.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import React, {createClass, PropTypes} from 'react';
import MarkdownElement from '../MarkdownElement';
import PureRenderMixin from 'react-addons-pure-render-mixin';
import transitions from 'material-ui/styles/transitions';
Expand Down Expand Up @@ -31,11 +31,11 @@ const styles = {
},
};

const CodeBlock = React.createClass({
const CodeBlock = createClass({
propTypes: {
children: React.PropTypes.string,
description: React.PropTypes.string,
title: React.PropTypes.string,
children: PropTypes.string,
description: PropTypes.string,
title: PropTypes.string,
},
mixins: [
PureRenderMixin,
Expand Down
Loading

0 comments on commit 48bfd99

Please sign in to comment.