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

vue-photonkit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-photonkit - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

index.js
/**
* vue-photon 1.0.0
* vue-photon 1.1.0
*/

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

module.exports = {
props: ['src', 'title', 'text'],
props: ['src', 'active'],
render: function(h) {
return h('li', { staticClass: 'list-group-item' }, [
var data = {
staticClass: 'list-group-item',
class: { active: this.active }
}
return h('li', data, [

@@ -11,8 +15,5 @@ this.src ? h('img', {

h('div', { staticClass: 'media-body'}, [
h('strong', this.title),
h('p', this.text)
])
h('div', { staticClass: 'media-body'}, this.$slots.default)
])
}
}

@@ -26,6 +26,2 @@ var Icon = require('./Icon')

methods: {
activate: function(e) {
e.stopPropagation()
this.$emit('activate')
},
cancel: function(e) {

@@ -32,0 +28,0 @@ e.stopPropagation()

{
"name": "vue-photonkit",
"description": "Vue.js component for Photon",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",

@@ -18,7 +18,15 @@ "author": "kaorun343 <kaoru.h65536@live.jp>",

"node-sass": "^4.1.1",
"photon": "connors/photon#v0.1.2-alpha",
"photon": "github:connors/photon#v0.1.2-alpha",
"sass-loader": "^4.1.1",
"vue-play": "^2.2.0",
"vue-play-cli": "^1.0.4"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/kaorun343/vue-photonkit.git"
},
"bugs": {
"url": "https://github.com/kaorun343/vue-photonkit/issues"
},
"homepage": "https://github.com/kaorun343/vue-photonkit#readme"
}

@@ -9,2 +9,13 @@ # vue-photonkit

## Usage
```html
<script>
import { Icon } from 'vue-photonkit'
const { Icon } = require('vue-photonkit')
// or
import Icon from 'vue-photonkit/lib/Icon'
const Icon = require('vue-photonkit/lib/Icon')
</script>
```
See [vue-play scenarios](./play)

@@ -11,0 +22,0 @@

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