Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

material-ui

Package Overview
Dependencies
Maintainers
3
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.editorconfig

0

CHANGELOG.md

@@ -0,0 +0,0 @@ ## 0.2.1

8

docs/gulp/config.js
var dest = './build',
src = './src'
dist = './dist';
mui = '../src';

@@ -20,3 +20,3 @@ module.exports = {

src + '/less/**',
dist + '/less/**'
mui + '/less/**'
],

@@ -30,7 +30,7 @@ dest: dest

fonts: {
src: dist + 'less/material-design-fonticons/fonts/**',
src: mui + 'less/material-design-fonticons/fonts/**',
dest: dest + '/fonts/mdfonticon'
},
muiFonts: {
src: dist + '/less/material-ui-icons/fonts/**',
src: mui + '/less/material-ui-icons/fonts/**',
dest: dest + '/fonts'

@@ -37,0 +37,0 @@ },

@@ -0,0 +0,0 @@ /* browserify task

@@ -0,0 +0,0 @@ var browserSync = require('browser-sync');

var gulp = require('gulp');
gulp.task('build', ['browserify', 'markup', 'less', 'fonts', 'muiFonts']);
var gulp = require('gulp');
gulp.task('default', ['watch']);

@@ -0,0 +0,0 @@ var gulp = require('gulp');

@@ -0,0 +0,0 @@ var gulp = require('gulp'),

@@ -0,0 +0,0 @@ var gulp = require('gulp');

@@ -0,0 +0,0 @@ var gulp = require('gulp');

@@ -0,0 +0,0 @@ var gulp = require('gulp');

@@ -0,0 +0,0 @@ var gulp = require('gulp');

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@ /* bundleLogger

@@ -0,0 +0,0 @@ var notify = require("gulp-notify");

@@ -0,0 +0,0 @@ /*

@@ -7,4 +7,3 @@ {

"browser": {
"mui": "./dist/index.js",
"hljs": "./src/app/vendor/highlight-js/highlight.pack.js",
"mui": "../src/index.js",
"react": "react/addons"

@@ -14,13 +13,8 @@ },

"transform": [
"reactify",
"browserify-shim"
"reactify"
]
},
"browserify-shim": {
"hljs": "hljs"
},
"devDependencies": {
"browser-sync": "^1.6.5",
"browserify": "^6.2.0",
"browserify-shim": "^3.8.0",
"gulp": "^3.8.10",

@@ -39,2 +33,3 @@ "gulp-less": "^1.3.6",

"dependencies": {
"highlight.js": "^8.3.0",
"jquery": "^2.1.1",

@@ -41,0 +36,0 @@ "react": "^0.12.0",

# [Material-UI](http://callemall.github.io/material-ui/)
This is the documentation site for [Material-UI](http://callemall.github.io/material-ui/).
This is the documentation site for [Material-UI](http://callemall.github.io/material-ui/).

@@ -5,0 +5,0 @@ ## Development Installation Notes

@@ -22,2 +22,3 @@ /**

Dialog = require('./components/pages/components/dialog.jsx'),
DropDownMenu = require('./components/pages/components/drop-down-menu.jsx'),
Icons = require('./components/pages/components/icons.jsx'),

@@ -39,2 +40,3 @@ Inputs = require('./components/pages/components/inputs.jsx'),

{ route: 'dialog', text: 'Dialog'},
{ route: 'dropdown-menu', text: 'Dropdown Menu'},
{ route: 'icons', text: 'Icons'},

@@ -64,2 +66,3 @@ { route: 'inputs', text: 'Inputs'},

<Route name="dialog" handler={Dialog} />
<Route name="dropdown-menu" handler={DropDownMenu} />
<Route name="icons" handler={Icons} />

@@ -66,0 +69,0 @@ <Route name="inputs" handler={Inputs} />

@@ -0,0 +0,0 @@ /**

@@ -6,3 +6,3 @@ /**

var React = require('react'),
hljs = require('hljs');
hljs = require('highlight.js');

@@ -29,2 +29,2 @@ var CodeBlock = React.createClass({

module.exports = CodeBlock;
module.exports = CodeBlock;

@@ -9,10 +9,2 @@ /**

menuItems = [
{ payload: '1', text: 'Never' },
{ payload: '2', text: 'Every Night' },
{ payload: '3', text: 'Weeknights' },
{ payload: '4', text: 'Weekends' },
{ payload: '5', text: 'Weekly' },
],
labelMenuItems = [

@@ -31,6 +23,6 @@ { payload: '1', text: 'ID', data: '1234567890', icon: 'home' },

iconMenuItems = [
{ payload: '1', text: 'Live Answer', icon: 'home', number: '10' },
{ payload: '2', text: 'Voicemail', icon: 'contacts', number: '5' },
{ payload: '3', text: 'Starred', icon: 'mic', number: '3' },
{ payload: '4', text: 'Shared', icon: 'pie', number: '12' }
{ payload: '1', text: 'Live Answer', icon: 'communication_phone', number: '10' },
{ payload: '2', text: 'Voicemail', icon: 'communication_voicemail', number: '5' },
{ payload: '3', text: 'Starred', icon: 'action_stars', number: '3' },
{ payload: '4', text: 'Shared', icon: 'action_thumb_up', number: '12' }
],

@@ -77,5 +69,2 @@

<div>
<h2 className="mui-font-style-headline">Drop Down Menu</h2>
{this._getDropDownMenuExample()}
<h2 className="mui-font-style-headline">Label Menu</h2>

@@ -99,20 +88,2 @@ {this._getLabelMenuExample()}

_getDropDownMenuExample: function() {
var code =
"var menuItems = [\n" +
" { payload: '1', text: 'Never' },\n" +
" { payload: '2', text: 'Every Night' },\n" +
" { payload: '3', text: 'Weeknights' },\n" +
" { payload: '4', text: 'Weekends' },\n" +
" { payload: '5', text: 'Weekly' },\n" +
"];\n\n" +
"<DropDownMenu menuItems={menuItems} />";
return (
<CodeExample code={code}>
<mui.DropDownMenu menuItems={menuItems} onChange={this._onDropDownMenuChange} />
</CodeExample>
);
},
_getLabelMenuExample: function() {

@@ -157,6 +128,6 @@ var code =

"iconMenuItems = [\n" +
" { payload: '1', text: 'Live Answer', icon: 'home', number: '10' },\n" +
" { payload: '2', text: 'Voicemail', icon: 'contacts', number: '5' },\n" +
" { payload: '3', text: 'Starred', icon: 'mic', number: '3'},\n" +
" { payload: '4', text: 'Shared', icon: 'pie', number: '12' }\n" +
" { payload: '1', text: 'Live Answer', icon: 'communication_phone', number: '10' },\n" +
" { payload: '2', text: 'Voicemail', icon: 'communication_voicemail', number: '5' },\n" +
" { payload: '3', text: 'Starred', icon: 'action_stars', number: '3' },\n" +
" { payload: '4', text: 'Shared', icon: 'action_thumb_up', number: '12' }\n" +
"];\n\n" +

@@ -231,6 +202,2 @@ "<Menu menuItems={iconMenuItems} />";

_onDropDownMenuChange: function(e, key, menuItem) {
console.log('Menu Clicked: ', menuItem);
},
_onFilterMenuToggle: function(e, key, menuItem, toggled) {

@@ -237,0 +204,0 @@ console.log('Filter Menu Toggled: ', key, menuItem, toggled)

@@ -27,7 +27,7 @@ /**

'//Circular\n' +
'<Paper zDepth="1" circle={false} />\n' +
'<Paper zDepth="2" circle={false} />\n' +
'<Paper zDepth="3" circle={false} />\n' +
'<Paper zDepth="4" circle={false} />\n' +
'<Paper zDepth="5" circle={false} />';
'<Paper zDepth="1" circle={true} />\n' +
'<Paper zDepth="2" circle={true} />\n' +
'<Paper zDepth="3" circle={true} />\n' +
'<Paper zDepth="4" circle={true} />\n' +
'<Paper zDepth="5" circle={true} />';

@@ -34,0 +34,0 @@ return (

@@ -0,0 +0,0 @@ /** @jsx React.DOM */

{
"name": "material-ui",
"author": "Call-em-all Engineering Team",
"version": "0.2.1",
"version": "0.2.2",
"description": "Material Design UI components built with React",
"main": "index.js",
"main": "./src/index",
"scripts": {

@@ -25,3 +25,3 @@ "test": "echo \"Error: no test specified\" && exit 1"

},
"homepage": "http://www.material-ui.com/",
"homepage": "http://material-ui.com/",
"browser": {

@@ -28,0 +28,0 @@ "react": "react/addons"

@@ -58,5 +58,10 @@ # [Material-UI](http://callemall.github.io/material-ui/)

Note that if you're using the version of material-ui from NPM, your imports will look like this:
```css
@import "node_modules/material-ui/docs/dist/less/scaffolding.less";
@import "node_modules/material-ui/docs/dist/less/components.less";
```
## Contribute
[Material-UI](http://www.material-ui.com/) came about from our love of [React](http://facebook.github.io/react/) and [Google's Material Design](https://www.google.com/design/spec/material-design/introduction.html). We're currently using it on a project at [Call-Em-All](https://www.call-em-all.com/) and plan on adding to it and making it better. If you'd like to help, check out the [docs folder](https://github.com/callemall/material-ui/tree/master/docs). We'd greatly appreciate any contribution you make. :)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc