Commit Graph

36 Commits

Author SHA1 Message Date
dependabot[bot]
84b8428ee9 chore(dependencies): Bump html-minifier from 3.5.6 to 3.5.7
Bumps [html-minifier](https://github.com/kangax/html-minifier) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/kangax/html-minifier/releases/tag/v3.5.7)
- [Commits](https://github.com/kangax/html-minifier/compare/v3.5.6...v3.5.7)
2017-12-15 09:39:26 +00:00
Cole Bemis
f6984951a9
Merge pull request #243 from feathericons/dependabot/npm_and_yarn/husky-0.14.3
Bump husky from 0.13.4 to 0.14.3
2017-12-15 01:38:13 -08:00
Cole Bemis
dd9a0b0fe1
Merge pull request #244 from feathericons/dependabot/npm_and_yarn/@commitlint/config-angular-5.1.1
Bump @commitlint/config-angular from 5.0.0 to 5.1.1
2017-12-15 01:37:19 -08:00
dependabot[bot]
9d3a802eb2 chore(dependencies): Bump core-js from 2.5.1 to 2.5.3
Bumps [core-js](https://github.com/zloirock/core-js) from 2.5.1 to 2.5.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v2.5.1...v2.5.3)
2017-12-15 07:58:13 +00:00
dependabot[bot]
10a1b217ef chore(dependencies): Bump husky from 0.13.4 to 0.14.3
Bumps [husky](https://github.com/typicode/husky) from 0.13.4 to 0.14.3.
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v0.13.4...v0.14.3)
2017-12-14 23:55:38 +00:00
dependabot[bot]
080d5b4187 chore(dependencies): Bump semantic-release from 6.3.6 to 8.2.0
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 6.3.6 to 8.2.0.
- [Release notes](https://github.com/semantic-release/semantic-release/releases?after=v8.2.1)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v6.3.6...v8.2.0)
2017-12-14 15:54:41 -08:00
Cole Bemis
b817fe2605 ci: Update repository url in package.json
This change allows semantic-release to automatically publish release notes again.
https://github.com/semantic-release/semantic-release/issues/199
2017-12-14 10:14:19 -08:00
dependabot[bot]
ef4f52918b chore(dependencies): Bump @commitlint/config-angular from 5.0.0 to 5.1.1
Bumps [@commitlint/config-angular](https://github.com/marionebl/commitlint) from 5.0.0 to 5.1.1.
- [Release notes](https://github.com/marionebl/commitlint/releases?after=v5.1.2)
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marionebl/commitlint/compare/v5.0.0...v5.1.1)
2017-12-14 07:08:54 +00:00
Cole Bemis
14c796917d
build: Update linting config 2017-11-19 18:01:04 -08:00
Cole Bemis
c9552b6916
fix: Remove unecessary whitespace from SVG contents
```js
/* BEFORE */
{ circle: "\n  <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n" }

/* AFTER */
{ circle: "<circle cx=\"12\" cy=\"12\" r=\"10\"></circle>" }
```
2017-11-19 16:29:52 -08:00
Cole Bemis
f243624fbd
feat: Update API
BREAKING CHANGE: 

Each icon in the `feather.icons` object is now an `Icon` object with a `name`, `contents`, `tags` and `attrs` property.
```js
/* BEFORE */
feather.icons.x
// '<line ... /><line ... />'

/* AFTER */
feather.icons.x
// {
//    name: 'x',
//    contents: '<line ... /><line ... />`,
//    tags: ['cancel', 'close', 'delete', 'remove'],
//    attrs: {
//      class: 'feather feather-x',
//      xmlns: 'http://www.w3.org/2000/svg',
//      width: 24,
//      height: 24,
//      viewBox: '0 0 24 24',
//      fill: 'none',
//      stroke: 'currentColor',
//      'stroke-width': 2,
//      'stroke-linecap': 'round',
//      'stroke-linejoin': 'round',
//    }
// }
```

`feather.toSvg()` has been deprecated in favor of `feather.icons[name].toSvg()`:
```js
/* BEFORE */
feather.toSvg('x')

/* AFTER */
feather.icons.x.toSvg()
```

`feather.replace()` now copies all attributes on the placeholder element (i.e. `<i>`) to the `<svg>` tag instead of just `class` and `id`:

```html
<i data-feather="circle" id="my-circle" class="foo bar" stroke-width="1"></i>
<!--
<i> will be replaced with:
<svg id="my-circle" class="feather feather-circle foo bar" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>
-->
```
2017-11-18 20:00:16 -08:00
Cole Bemis
0dc2bf5c9d
build: Add process-svgs script (#216) 2017-11-13 08:13:11 -08:00
Cole Bemis
998b2e9add chore: Add lint script 2017-07-03 15:53:34 -07:00
Cole Bemis
ef3e69b327 build: Build js files with webpack 2017-07-03 15:53:34 -07:00
Cole Bemis
75068f6625 chore: Update package.json 2017-07-03 15:53:34 -07:00
Cole Bemis
704870bb12 refactor: Remove website code from master branch 2017-07-03 15:53:34 -07:00
Cole Bemis
adbc129119 chore: automate releases 2017-06-05 00:28:24 -07:00
Cole Bemis
1356b013b7 Update package.json 2017-06-04 01:03:46 -07:00
Cole Bemis
5554766f88 Change npm name 2017-06-01 23:20:59 -07:00
Cole Bemis
7fec7374be Clean up package.json 2017-05-30 20:29:32 -07:00
Cole Bemis
714b8d3aff Update package.json 2017-05-23 23:41:09 -07:00
Cole Bemis
a254c688d9 Clean up package.json 2017-05-23 20:46:38 -07:00
Cole Bemis
b25a67dc0f Add svgo 2017-05-23 13:59:21 -07:00
Cole Bemis
873c50411f Refactor build process 2017-05-13 11:30:06 -07:00
Cole Bemis
31337f00cc Watch package.json 2017-05-13 02:44:55 -07:00
Cole Bemis
49bc7a1735 Add npm scripts 2017-05-13 02:36:11 -07:00
Cole Bemis
f1974091f4 Update version number 2017-05-12 21:34:50 -07:00
Cole Bemis
41b8ca19a9 Add package.json 2017-02-28 15:40:11 -08:00
Cole Bemis
e1ea1aada8 Clear gh-pages branch 2017-02-21 22:45:06 -08:00
Cole Bemis
a85b7b6369 Create Icon component 2017-01-28 22:01:30 -08:00
Cole Bemis
4c6b7ad3b8 Add vuex 2017-01-28 22:01:18 -08:00
Cole Bemis
29abfc96cf Install webpack-dev-server 2017-01-28 15:31:46 -08:00
Cole Bemis
2f70a91dce Set up vie-loader 2017-01-28 15:15:20 -08:00
Cole Bemis
9ce3c68a9b Import Vue 2017-01-28 15:03:26 -08:00
Cole Bemis
9cbd7ca24d Set up babel 2017-01-28 14:46:21 -08:00
Cole Bemis
4cf99d1d0a Install webpack 2017-01-28 13:44:34 -08:00