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

material

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

src/appbar.js

4

index.js

@@ -0,2 +1,4 @@

import AppBar from 'material/src/AppBar'
import Button from 'material/src/Button'
import Banner from 'material/src/Banner'
import Calendar from 'material/src/calendar'

@@ -29,3 +31,5 @@ import Card from 'material/src/card'

export {
AppBar,
Button,
Banner,
Calendar,

@@ -32,0 +36,0 @@ Card,

10

package.json
{
"name": "material",
"version": "0.3.1",
"version": "0.3.2",
"description": "A lightweight implementation of Material Design Components - ES6",

@@ -8,10 +8,10 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/codepolitan/material.git"
"url": "https://github.com/floor/material.git"
},
"author": "Code Politan <codepolitan@gmail.com>",
"author": "Jérôme Vial <jerome.vial@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codepolitan/material/issues"
"url": "https://github.com/floor/material/issues"
},
"homepage": "https://github.com/codepolitan/material",
"homepage": "https://github.com/floor/material",
"keywords": [

@@ -18,0 +18,0 @@ "lightweight material design component es6 es2015 vanilla javascript"

@@ -108,3 +108,3 @@ 'use strict'

/**
* [setup description]
* Setup method
* @return {?} [description]

@@ -153,3 +153,3 @@ */

/**
* [_onElementMouseDown description]
* method handleClick
* @param {event} e

@@ -156,0 +156,0 @@ * @return {void}

@@ -10,3 +10,3 @@ 'use strict'

class: 'toolbar',
tag: 'header'
tag: 'div'
}

@@ -31,3 +31,3 @@

console.log('waterfALL', this.options.waterfall)
// console.log('waterfALL', this.options.waterfall)

@@ -44,3 +44,3 @@ this.waterfall = this.options.waterfall

console.log(this.options.height, this.options.fixed)
// console.log(this.options.height, this.options.fixed)

@@ -52,3 +52,3 @@ if (this.options.height) {

if (this.options.fixed) {
console.log('is-fixed')
// console.log('is-fixed')
this.root.classList.add('is-fixed')

@@ -77,3 +77,3 @@ }

console.log('view', view)
// console.log('view', view)

@@ -96,7 +96,7 @@ var padding = window.getComputedStyle(view)['padding-top']

if (document.body == view) {
console.log('toolbar container body')
// console.log('toolbar container body')
this.root.classList.add('toolbar-body')
}
view.setAttribute('style', 'padding-top: ' + ptop + 'px')
// view.setAttribute('style', 'padding-top: ' + ptop + 'px')

@@ -103,0 +103,0 @@ this.scroll(view)

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