Skip to content

Commit

Permalink
build: release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Mar 25, 2018
1 parent 48b7ef4 commit f1841b8
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 124 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.0 (Mar 25, 2018)

- Rename element class name from `vue-feather` to `feather`.

## 0.1.0 (Mar 20, 2018)

- Support 10 props: `animation`, `animation-speed`, `fill`, `size`, `stroke`, `stroke-linecap`, `stroke-linejoin`, `stroke-width`, `tag` and `type`.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

> A Vue component wrapper for [Feather](https://feathericons.com/).
- [Docs](src/README.md)
- [Demo](https://fengyuanchen.github.io/vue-feather)
- [Docs & demo](https://fengyuanchen.github.io/vue-feather)

## Main

Expand Down
12 changes: 6 additions & 6 deletions dist/vue-feather.common.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* vue-feather v0.1.0
* vue-feather v0.2.0
* https://github.com/fengyuanchen/vue-feather
*
* Copyright (c) 2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-03-20T15:12:41.559Z
* Date: 2018-03-25T07:56:13.658Z
*/

'use strict';
Expand Down Expand Up @@ -47,7 +47,7 @@ var _extends = Object.assign || function (target) {
if (typeof document !== 'undefined') {
var head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style'),
css = "@-webkit-keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .vue-feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .vue-feather--spin[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s linear infinite; animation: vue-feather--spin 2s linear infinite; } .vue-feather--pulse[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s infinite steps(8); animation: vue-feather--spin 2s infinite steps(8); } .vue-feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .vue-feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .vue-feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
css = "@-webkit-keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .feather--spin[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s linear infinite; animation: feather--spin 2s linear infinite; } .feather--pulse[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s infinite steps(8); animation: feather--spin 2s infinite steps(8); } .feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
Expand Down Expand Up @@ -128,8 +128,8 @@ var index = { _scopeId: 'data-v-1a4d8e3c',
},

class: (_class = {
'vue-feather': true
}, defineProperty(_class, 'vue-feather--' + type, type), defineProperty(_class, 'vue-feather--' + animation, animation), defineProperty(_class, 'vue-feather--' + animationSpeed, animationSpeed), _class),
feather: true
}, defineProperty(_class, 'feather--' + type, type), defineProperty(_class, 'feather--' + animation, animation), defineProperty(_class, 'feather--' + animationSpeed, animationSpeed), _class),

on: this.$listeners
}, [icon ? createElement('svg', {
Expand All @@ -143,7 +143,7 @@ var index = { _scopeId: 'data-v-1a4d8e3c',
width: size
}),

class: [icon.attrs.class, 'vue-feather__content'],
class: [icon.attrs.class, 'feather__content'],

domProps: {
innerHTML: icon.contents
Expand Down
12 changes: 6 additions & 6 deletions dist/vue-feather.esm.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* vue-feather v0.1.0
* vue-feather v0.2.0
* https://github.com/fengyuanchen/vue-feather
*
* Copyright (c) 2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-03-20T15:12:41.559Z
* Date: 2018-03-25T07:56:13.658Z
*/

import feather from 'feather-icons';
Expand Down Expand Up @@ -43,7 +43,7 @@ var _extends = Object.assign || function (target) {
if (typeof document !== 'undefined') {
var head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style'),
css = "@-webkit-keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .vue-feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .vue-feather--spin[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s linear infinite; animation: vue-feather--spin 2s linear infinite; } .vue-feather--pulse[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s infinite steps(8); animation: vue-feather--spin 2s infinite steps(8); } .vue-feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .vue-feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .vue-feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
css = "@-webkit-keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .feather--spin[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s linear infinite; animation: feather--spin 2s linear infinite; } .feather--pulse[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s infinite steps(8); animation: feather--spin 2s infinite steps(8); } .feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
Expand Down Expand Up @@ -124,8 +124,8 @@ var index = { _scopeId: 'data-v-1a4d8e3c',
},

class: (_class = {
'vue-feather': true
}, defineProperty(_class, 'vue-feather--' + type, type), defineProperty(_class, 'vue-feather--' + animation, animation), defineProperty(_class, 'vue-feather--' + animationSpeed, animationSpeed), _class),
feather: true
}, defineProperty(_class, 'feather--' + type, type), defineProperty(_class, 'feather--' + animation, animation), defineProperty(_class, 'feather--' + animationSpeed, animationSpeed), _class),

on: this.$listeners
}, [icon ? createElement('svg', {
Expand All @@ -139,7 +139,7 @@ var index = { _scopeId: 'data-v-1a4d8e3c',
width: size
}),

class: [icon.attrs.class, 'vue-feather__content'],
class: [icon.attrs.class, 'feather__content'],

domProps: {
innerHTML: icon.contents
Expand Down
12 changes: 6 additions & 6 deletions dist/vue-feather.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* vue-feather v0.1.0
* vue-feather v0.2.0
* https://github.com/fengyuanchen/vue-feather
*
* Copyright (c) 2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-03-20T15:12:41.559Z
* Date: 2018-03-25T07:56:13.658Z
*/

(function (global, factory) {
Expand Down Expand Up @@ -49,7 +49,7 @@
if (typeof document !== 'undefined') {
var head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style'),
css = "@-webkit-keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes vue-feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .vue-feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .vue-feather--spin[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s linear infinite; animation: vue-feather--spin 2s linear infinite; } .vue-feather--pulse[data-v-1a4d8e3c] { -webkit-animation: vue-feather--spin 2s infinite steps(8); animation: vue-feather--spin 2s infinite steps(8); } .vue-feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .vue-feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .vue-feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
css = "@-webkit-keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes feather--spin { from { -webkit-transform: rotate(0); transform: rotate(0); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .feather[data-v-1a4d8e3c] { display: inline-block; overflow: hidden; } .feather--spin[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s linear infinite; animation: feather--spin 2s linear infinite; } .feather--pulse[data-v-1a4d8e3c] { -webkit-animation: feather--spin 2s infinite steps(8); animation: feather--spin 2s infinite steps(8); } .feather--slow[data-v-1a4d8e3c] { -webkit-animation-duration: 3s; animation-duration: 3s; } .feather--fast[data-v-1a4d8e3c] { -webkit-animation-duration: 1s; animation-duration: 1s; } .feather__content[data-v-1a4d8e3c] { display: block; height: inherit; width: inherit; } ";style.type = 'text/css';if (style.styleSheet) {
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
Expand Down Expand Up @@ -130,8 +130,8 @@
},

class: (_class = {
'vue-feather': true
}, defineProperty(_class, 'vue-feather--' + type, type), defineProperty(_class, 'vue-feather--' + animation, animation), defineProperty(_class, 'vue-feather--' + animationSpeed, animationSpeed), _class),
feather: true
}, defineProperty(_class, 'feather--' + type, type), defineProperty(_class, 'feather--' + animation, animation), defineProperty(_class, 'feather--' + animationSpeed, animationSpeed), _class),

on: this.$listeners
}, [icon ? createElement('svg', {
Expand All @@ -145,7 +145,7 @@
width: size
}),

class: [icon.attrs.class, 'vue-feather__content'],
class: [icon.attrs.class, 'feather__content'],

domProps: {
innerHTML: icon.contents
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-feather.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit f1841b8

Please sign in to comment.