From 0d45c16fd785969d8209256a6f4f7c8feea2b039 Mon Sep 17 00:00:00 2001 From: Adrian Rangel Date: Mon, 10 Nov 2014 11:31:50 -0600 Subject: [PATCH 1/6] convert tabs to spaces --- docs/dist/less/variables/colors.less | 442 +++++++++++++-------------- 1 file changed, 221 insertions(+), 221 deletions(-) diff --git a/docs/dist/less/variables/colors.less b/docs/dist/less/variables/colors.less index e3993f8f5857c8..f61119e56e9d5d 100644 --- a/docs/dist/less/variables/colors.less +++ b/docs/dist/less/variables/colors.less @@ -1,284 +1,284 @@ -@red-50: #fde0dc; -@red-100: #f9bdbb; -@red-200: #f69988; -@red-300: #f36c60; -@red-400: #e84e40; -@red-500: #e51c23; -@red-600: #dd191d; -@red-700: #d01716; -@red-800: #c41411; -@red-900: #b0120a; -@red-A100: #ff7997; -@red-A200: #ff5177; -@red-A400: #ff2d6f; -@red-A700: #e00032; +@red-50: #fde0dc; +@red-100: #f9bdbb; +@red-200: #f69988; +@red-300: #f36c60; +@red-400: #e84e40; +@red-500: #e51c23; +@red-600: #dd191d; +@red-700: #d01716; +@red-800: #c41411; +@red-900: #b0120a; +@red-A100: #ff7997; +@red-A200: #ff5177; +@red-A400: #ff2d6f; +@red-A700: #e00032; -@pink-50: #fce4ec; -@pink-100: #f8bbd0; -@pink-200: #f48fb1; -@pink-300: #f06292; -@pink-400: #ec407a; -@pink-500: #e91e63; -@pink-600: #d81b60; -@pink-700: #c2185b; -@pink-800: #ad1457; -@pink-900: #880e4f; +@pink-50: #fce4ec; +@pink-100: #f8bbd0; +@pink-200: #f48fb1; +@pink-300: #f06292; +@pink-400: #ec407a; +@pink-500: #e91e63; +@pink-600: #d81b60; +@pink-700: #c2185b; +@pink-800: #ad1457; +@pink-900: #880e4f; @pink-A100: #ff80ab; @pink-A200: #ff4081; @pink-A400: #f50057; @pink-A700: #c51162; -@purple-50: #f3e5f5; -@purple-100: #e1bee7; -@purple-200: #ce93d8; -@purple-300: #ba68c8; -@purple-400: #ab47bc; -@purple-500: #9c27b0; -@purple-600: #8e24aa; -@purple-700: #7b1fa2; -@purple-800: #6a1b9a; -@purple-900: #4a148c; +@purple-50: #f3e5f5; +@purple-100: #e1bee7; +@purple-200: #ce93d8; +@purple-300: #ba68c8; +@purple-400: #ab47bc; +@purple-500: #9c27b0; +@purple-600: #8e24aa; +@purple-700: #7b1fa2; +@purple-800: #6a1b9a; +@purple-900: #4a148c; @purple-A100: #ea80fc; @purple-A200: #e040fb; @purple-A400: #d500f9; @purple-A700: #aa00ff; -@deep-purple-50: #ede7f6; -@deep-purple-100: #d1c4e9; -@deep-purple-200: #b39ddb; -@deep-purple-300: #9575cd; -@deep-purple-400: #7e57c2; -@deep-purple-500: #673ab7; -@deep-purple-600: #5e35b1; -@deep-purple-700: #512da8; -@deep-purple-800: #4527a0; -@deep-purple-900: #311b92; -@deep-purple-A100: #b388ff; -@deep-purple-A200: #7c4dff; -@deep-purple-A400: #651fff; -@deep-purple-A700: #6200ea; +@deep-purple-50: #ede7f6; +@deep-purple-100: #d1c4e9; +@deep-purple-200: #b39ddb; +@deep-purple-300: #9575cd; +@deep-purple-400: #7e57c2; +@deep-purple-500: #673ab7; +@deep-purple-600: #5e35b1; +@deep-purple-700: #512da8; +@deep-purple-800: #4527a0; +@deep-purple-900: #311b92; +@deep-purple-A100: #b388ff; +@deep-purple-A200: #7c4dff; +@deep-purple-A400: #651fff; +@deep-purple-A700: #6200ea; -@indigo-50: #e8eaf6; -@indigo-100: #c5cae9; -@indigo-200: #9fa8da; -@indigo-300: #7986cb; -@indigo-400: #5c6bc0; -@indigo-500: #3f51b5; -@indigo-600: #3949ab; -@indigo-700: #303f9f; -@indigo-800: #283593; -@indigo-900: #1a237e; +@indigo-50: #e8eaf6; +@indigo-100: #c5cae9; +@indigo-200: #9fa8da; +@indigo-300: #7986cb; +@indigo-400: #5c6bc0; +@indigo-500: #3f51b5; +@indigo-600: #3949ab; +@indigo-700: #303f9f; +@indigo-800: #283593; +@indigo-900: #1a237e; @indigo-A100: #8c9eff; @indigo-A200: #536dfe; @indigo-A400: #3d5afe; @indigo-A700: #304ffe; -@blue-50: #e7e9fd; -@blue-100: #d0d9ff; -@blue-200: #afbfff; -@blue-300: #91a7ff; -@blue-400: #738ffe; -@blue-500: #5677fc; -@blue-600: #4e6cef; -@blue-700: #455ede; -@blue-800: #3b50ce; -@blue-900: #2a36b1; +@blue-50: #e7e9fd; +@blue-100: #d0d9ff; +@blue-200: #afbfff; +@blue-300: #91a7ff; +@blue-400: #738ffe; +@blue-500: #5677fc; +@blue-600: #4e6cef; +@blue-700: #455ede; +@blue-800: #3b50ce; +@blue-900: #2a36b1; @blue-A100: #a6baff; @blue-A200: #6889ff; @blue-A400: #4d73ff; @blue-A700: #4d69ff; -@light-blue-50: #e1f5fe; -@light-blue-100: #b3e5fc; -@light-blue-200: #81d4fa; -@light-blue-300: #4fc3f7; -@light-blue-400: #29b6f6; -@light-blue-500: #03a9f4; -@light-blue-600: #039be5; -@light-blue-700: #0288d1; -@light-blue-800: #0277bd; -@light-blue-900: #01579b; +@light-blue-50: #e1f5fe; +@light-blue-100: #b3e5fc; +@light-blue-200: #81d4fa; +@light-blue-300: #4fc3f7; +@light-blue-400: #29b6f6; +@light-blue-500: #03a9f4; +@light-blue-600: #039be5; +@light-blue-700: #0288d1; +@light-blue-800: #0277bd; +@light-blue-900: #01579b; @light-blue-A100: #80d8ff; @light-blue-A200: #40c4ff; @light-blue-A400: #00b0ff; @light-blue-A700: #0091ea; -@cyan-50: #e0f7fa; -@cyan-100: #b2ebf2; -@cyan-200: #80deea; -@cyan-300: #4dd0e1; -@cyan-400: #26c6da; -@cyan-500: #00bcd4; -@cyan-600: #00acc1; -@cyan-700: #0097a7; -@cyan-800: #00838f; -@cyan-900: #006064; +@cyan-50: #e0f7fa; +@cyan-100: #b2ebf2; +@cyan-200: #80deea; +@cyan-300: #4dd0e1; +@cyan-400: #26c6da; +@cyan-500: #00bcd4; +@cyan-600: #00acc1; +@cyan-700: #0097a7; +@cyan-800: #00838f; +@cyan-900: #006064; @cyan-A100: #84ffff; @cyan-A200: #18ffff; @cyan-A400: #00e5ff; @cyan-A700: #00b8d4; -@teal-50: #e0f2f1; -@teal-100: #b2dfdb; -@teal-200: #80cbc4; -@teal-300: #4db6ac; -@teal-400: #26a69a; -@teal-500: #009688; -@teal-600: #00897b; -@teal-700: #00796b; -@teal-800: #00695c; -@teal-900: #004d40; +@teal-50: #e0f2f1; +@teal-100: #b2dfdb; +@teal-200: #80cbc4; +@teal-300: #4db6ac; +@teal-400: #26a69a; +@teal-500: #009688; +@teal-600: #00897b; +@teal-700: #00796b; +@teal-800: #00695c; +@teal-900: #004d40; @teal-A100: #a7ffeb; @teal-A200: #64ffda; @teal-A400: #1de9b6; @teal-A700: #00bfa5; -@green-50: #d0f8ce; -@green-100: #a3e9a4; -@green-200: #72d572; -@green-300: #42bd41; -@green-400: #2baf2b; -@green-500: #259b24; -@green-600: #0a8f08; -@green-700: #0a7e07; -@green-800: #056f00; -@green-900: #0d5302; -@green-A100: #a2f78d; -@green-A200: #5af158; -@green-A400: #14e715; -@green-A700: #12c700; +@green-50: #d0f8ce; +@green-100: #a3e9a4; +@green-200: #72d572; +@green-300: #42bd41; +@green-400: #2baf2b; +@green-500: #259b24; +@green-600: #0a8f08; +@green-700: #0a7e07; +@green-800: #056f00; +@green-900: #0d5302; +@green-A100: #a2f78d; +@green-A200: #5af158; +@green-A400: #14e715; +@green-A700: #12c700; -@light-green-50: #f1f8e9; -@light-green-100: #dcedc8; -@light-green-200: #c5e1a5; -@light-green-300: #aed581; -@light-green-400: #9ccc65; -@light-green-500: #8bc34a; -@light-green-600: #7cb342; -@light-green-700: #689f38; -@light-green-800: #558b2f; -@light-green-900: #33691e; -@light-green-A100: #ccff90; -@light-green-A200: #b2ff59; -@light-green-A400: #76ff03; -@light-green-A700: #64dd17; +@light-green-50: #f1f8e9; +@light-green-100: #dcedc8; +@light-green-200: #c5e1a5; +@light-green-300: #aed581; +@light-green-400: #9ccc65; +@light-green-500: #8bc34a; +@light-green-600: #7cb342; +@light-green-700: #689f38; +@light-green-800: #558b2f; +@light-green-900: #33691e; +@light-green-A100: #ccff90; +@light-green-A200: #b2ff59; +@light-green-A400: #76ff03; +@light-green-A700: #64dd17; -@lime-50: #f9fbe7; -@lime-100: #f0f4c3; -@lime-200: #e6ee9c; -@lime-300: #dce775; -@lime-400: #d4e157; -@lime-500: #cddc39; -@lime-600: #c0ca33; -@lime-700: #afb42b; -@lime-800: #9e9d24; -@lime-900: #827717; +@lime-50: #f9fbe7; +@lime-100: #f0f4c3; +@lime-200: #e6ee9c; +@lime-300: #dce775; +@lime-400: #d4e157; +@lime-500: #cddc39; +@lime-600: #c0ca33; +@lime-700: #afb42b; +@lime-800: #9e9d24; +@lime-900: #827717; @lime-A100: #f4ff81; @lime-A200: #eeff41; @lime-A400: #c6ff00; @lime-A700: #aeea00; -@yellow-50: #fffde7; -@yellow-100: #fff9c4; -@yellow-200: #fff59d; -@yellow-300: #fff176; -@yellow-400: #ffee58; -@yellow-500: #ffeb3b; -@yellow-600: #fdd835; -@yellow-700: #fbc02d; -@yellow-800: #f9a825; -@yellow-900: #f57f17; +@yellow-50: #fffde7; +@yellow-100: #fff9c4; +@yellow-200: #fff59d; +@yellow-300: #fff176; +@yellow-400: #ffee58; +@yellow-500: #ffeb3b; +@yellow-600: #fdd835; +@yellow-700: #fbc02d; +@yellow-800: #f9a825; +@yellow-900: #f57f17; @yellow-A100: #ffff8d; @yellow-A200: #ffff00; @yellow-A400: #ffea00; @yellow-A700: #ffd600; -@amber-50: #fff8e1; -@amber-100: #ffecb3; -@amber-200: #ffe082; -@amber-300: #ffd54f; -@amber-400: #ffca28; -@amber-500: #ffc107; -@amber-600: #ffb300; -@amber-700: #ffa000; -@amber-800: #ff8f00; -@amber-900: #ff6f00; -@amber-A100: #ffe57f; -@amber-A200: #ffd740; -@amber-A400: #ffc400; -@amber-A700: #ffab00; +@amber-50: #fff8e1; +@amber-100: #ffecb3; +@amber-200: #ffe082; +@amber-300: #ffd54f; +@amber-400: #ffca28; +@amber-500: #ffc107; +@amber-600: #ffb300; +@amber-700: #ffa000; +@amber-800: #ff8f00; +@amber-900: #ff6f00; +@amber-A100: #ffe57f; +@amber-A200: #ffd740; +@amber-A400: #ffc400; +@amber-A700: #ffab00; -@orange-50: #fff3e0; -@orange-100: #ffe0b2; -@orange-200: #ffcc80; -@orange-300: #ffb74d; -@orange-400: #ffa726; -@orange-500: #ff9800; -@orange-600: #fb8c00; -@orange-700: #f57c00; -@orange-800: #ef6c00; -@orange-900: #e65100; +@orange-50: #fff3e0; +@orange-100: #ffe0b2; +@orange-200: #ffcc80; +@orange-300: #ffb74d; +@orange-400: #ffa726; +@orange-500: #ff9800; +@orange-600: #fb8c00; +@orange-700: #f57c00; +@orange-800: #ef6c00; +@orange-900: #e65100; @orange-A100: #ffd180; @orange-A200: #ffab40; @orange-A400: #ff9100; @orange-A700: #ff6d00; -@deep-orange-50: #fbe9e7; -@deep-orange-100: #ffccbc; -@deep-orange-200: #ffab91; -@deep-orange-300: #ff8a65; -@deep-orange-400: #ff7043; -@deep-orange-500: #ff5722; -@deep-orange-600: #f4511e; -@deep-orange-700: #e64a19; -@deep-orange-800: #d84315; -@deep-orange-900: #bf360c; -@deep-orange-A100: #ff9e80; -@deep-orange-A200: #ff6e40; -@deep-orange-A400: #ff3d00; -@deep-orange-A700: #dd2c00; +@deep-orange-50: #fbe9e7; +@deep-orange-100: #ffccbc; +@deep-orange-200: #ffab91; +@deep-orange-300: #ff8a65; +@deep-orange-400: #ff7043; +@deep-orange-500: #ff5722; +@deep-orange-600: #f4511e; +@deep-orange-700: #e64a19; +@deep-orange-800: #d84315; +@deep-orange-900: #bf360c; +@deep-orange-A100: #ff9e80; +@deep-orange-A200: #ff6e40; +@deep-orange-A400: #ff3d00; +@deep-orange-A700: #dd2c00; -@brown-50: #efebe9; -@brown-100: #d7ccc8; -@brown-200: #bcaaa4; -@brown-300: #a1887f; -@brown-400: #8d6e63; -@brown-500: #795548; -@brown-600: #6d4c41; -@brown-700: #5d4037; -@brown-800: #4e342e; -@brown-900: #3e2723; +@brown-50: #efebe9; +@brown-100: #d7ccc8; +@brown-200: #bcaaa4; +@brown-300: #a1887f; +@brown-400: #8d6e63; +@brown-500: #795548; +@brown-600: #6d4c41; +@brown-700: #5d4037; +@brown-800: #4e342e; +@brown-900: #3e2723; -@blue-grey-50: #eceff1; -@blue-grey-100: #cfd8dc; -@blue-grey-200: #b0bec5; -@blue-grey-300: #90a4ae; -@blue-grey-400: #78909c; -@blue-grey-500: #607d8b; -@blue-grey-600: #546e7a; -@blue-grey-700: #455a64; -@blue-grey-800: #37474f; -@blue-grey-900: #263238; +@blue-grey-50: #eceff1; +@blue-grey-100: #cfd8dc; +@blue-grey-200: #b0bec5; +@blue-grey-300: #90a4ae; +@blue-grey-400: #78909c; +@blue-grey-500: #607d8b; +@blue-grey-600: #546e7a; +@blue-grey-700: #455a64; +@blue-grey-800: #37474f; +@blue-grey-900: #263238; -@grey-50: #fafafa; -@grey-100: #f5f5f5; -@grey-200: #eeeeee; -@grey-300: #e0e0e0; -@grey-400: #bdbdbd; -@grey-500: #9e9e9e; -@grey-600: #757575; -@grey-700: #616161; -@grey-800: #424242; -@grey-900: #212121; +@grey-50: #fafafa; +@grey-100: #f5f5f5; +@grey-200: #eeeeee; +@grey-300: #e0e0e0; +@grey-400: #bdbdbd; +@grey-500: #9e9e9e; +@grey-600: #757575; +@grey-700: #616161; +@grey-800: #424242; +@grey-900: #212121; -@black: #000000; -@white: #ffffff; +@black: #000000; +@white: #ffffff; -@full-black: rgba(0, 0, 0, 1); -@dark-black: rgba(0, 0, 0, 0.87); +@full-black: rgba(0, 0, 0, 1); +@dark-black: rgba(0, 0, 0, 0.87); @light-black: rgba(0, 0, 0, 0.54); -@min-black: rgba(0, 0, 0, 0.26); +@min-black: rgba(0, 0, 0, 0.26); @faint-black: rgba(0, 0, 0, 0.12); -@full-white: rgba(255, 255, 255, 1); -@dark-white: rgba(255, 255, 255, 0.87); +@full-white: rgba(255, 255, 255, 1); +@dark-white: rgba(255, 255, 255, 0.87); @light-white: rgba(255, 255, 255, 0.54); From 347c7645a769776aab354b16741b96420657f531 Mon Sep 17 00:00:00 2001 From: Adrian Rangel Date: Mon, 10 Nov 2014 11:36:00 -0600 Subject: [PATCH 2/6] remove trailing whitespaces --- docs/dist/js/app-canvas.jsx | 2 +- docs/dist/js/checkbox.jsx | 6 ++-- docs/dist/js/drop-down-menu.jsx | 4 +-- docs/dist/js/input.jsx | 4 +-- docs/dist/js/menu-item.jsx | 4 +-- docs/dist/js/menu.jsx | 32 +++++++++---------- docs/dist/js/mixins/click-awayable.js | 4 +-- docs/dist/js/paper-button.jsx | 2 +- docs/dist/js/paper.jsx | 2 +- docs/dist/js/radio-button.jsx | 2 +- docs/dist/js/ripple.jsx | 4 +-- docs/dist/js/table-header.jsx | 4 +-- docs/dist/js/table-rows-item.jsx | 4 +-- docs/dist/js/table-rows.jsx | 4 +-- docs/dist/js/toggle.jsx | 4 +-- docs/dist/js/toolbar-group.jsx | 2 +- docs/dist/js/toolbar.jsx | 2 +- docs/dist/js/utils/key-line.js | 2 +- docs/dist/less/components/app-bar.less | 4 +-- docs/dist/less/components/card.less | 2 +- docs/dist/less/components/checkbox.less | 10 +++--- docs/dist/less/components/components.less | 2 +- docs/dist/less/components/drop-down-icon.less | 2 +- docs/dist/less/components/drop-down-menu.less | 2 +- docs/dist/less/components/icon.less | 2 +- docs/dist/less/components/input.less | 2 +- docs/dist/less/components/left-nav.less | 4 +-- docs/dist/less/components/menu.less | 4 +-- docs/dist/less/components/paper-button.less | 6 ++-- docs/dist/less/components/paper.less | 13 ++++---- docs/dist/less/components/ripple.less | 2 +- docs/dist/less/components/table.less | 2 +- docs/dist/less/components/toast.less | 4 +-- docs/dist/less/components/toolbar.less | 6 ++-- docs/dist/less/core/layouts.less | 4 +-- docs/dist/less/core/scaffolding.less | 4 +-- docs/dist/less/core/typography.less | 2 +- docs/dist/less/material-ui-icons/demo.html | 2 +- .../less/material-ui-icons/selection.json | 2 +- docs/dist/less/mixins/clearfix.less | 2 +- docs/dist/less/mixins/lesshat.less | 31 +++++++++--------- docs/dist/less/resets/ht5bp-main.css | 2 +- docs/dist/less/resets/normalize.css | 2 +- docs/dist/less/resets/typography-resets.less | 2 +- .../dist/less/variables/custom-variables.less | 2 +- docs/dist/less/variables/spacing.less | 2 +- 46 files changed, 105 insertions(+), 107 deletions(-) diff --git a/docs/dist/js/app-canvas.jsx b/docs/dist/js/app-canvas.jsx index 156f177b0edc95..573ce92f5c5ee6 100644 --- a/docs/dist/js/app-canvas.jsx +++ b/docs/dist/js/app-canvas.jsx @@ -1,7 +1,7 @@ /** * @jsx React.DOM */ - + var React = require('react'), Classable = require('./mixins/classable.js'); diff --git a/docs/dist/js/checkbox.jsx b/docs/dist/js/checkbox.jsx index 6d96015702224f..67f85de4cc3606 100644 --- a/docs/dist/js/checkbox.jsx +++ b/docs/dist/js/checkbox.jsx @@ -22,7 +22,7 @@ var Checkbox = React.createClass({ checked: this.props.checked || false } }, - + componentWillReceiveProps: function(nextProps) { if (nextProps.hasOwnProperty('checked')) this.setState({checked: nextProps.checked}); }, @@ -40,7 +40,7 @@ var Checkbox = React.createClass({ return (
- +
@@ -57,4 +57,4 @@ var Checkbox = React.createClass({ }); -module.exports = Checkbox; \ No newline at end of file +module.exports = Checkbox; diff --git a/docs/dist/js/drop-down-menu.jsx b/docs/dist/js/drop-down-menu.jsx index c68cfb5d286238..53623b93e3b882 100644 --- a/docs/dist/js/drop-down-menu.jsx +++ b/docs/dist/js/drop-down-menu.jsx @@ -1,7 +1,7 @@ /** * @jsx React.DOM */ - + var $ = require('jquery'), React = require('react'), Classable = require('./mixins/classable.js'), @@ -67,7 +67,7 @@ var DropDownMenu = React.createClass({ _onMenuItemClick: function(e, key, payload) { if (this.props.onChange && this.state.selectedIndex !== key) this.props.onChange(e, key, payload); - this.setState({ + this.setState({ selectedIndex: key, open: false }); diff --git a/docs/dist/js/input.jsx b/docs/dist/js/input.jsx index bd58a4f1ba2e8e..7922a65437a9f0 100644 --- a/docs/dist/js/input.jsx +++ b/docs/dist/js/input.jsx @@ -51,7 +51,7 @@ var Input = React.createClass({ 'mui-text': this.props.type === 'text', 'mui-error': this.state.error === true }), - inputElement = this.props.multiline ? + inputElement = this.props.multiline ?