Commit Graph

604 Commits

Author SHA1 Message Date
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
b6e30348ca feat: Add rss icon
Closes #13
2017-12-13 22:35:16 -08:00
Cole Bemis
ce9dadf760 feat: Add book-open icon
Closes #116
2017-12-13 19:43:14 -08:00
Cole Bemis
aad71c66d9 feat: Update bar-chart icons 2017-12-13 19:30:10 -08:00
Cole Bemis
c8181e483e feat: Add hard-drive icon
Closes  #223
2017-12-13 19:29:38 -08:00
Cole Bemis
aee7cb6c9a feat: Update shopping-cart icon 2017-12-13 18:58:07 -08:00
Cole Bemis
1170414e65 feat: Add shield-off icon 2017-12-13 18:57:47 -08:00
Cole Bemis
3401e75259 fix: Fix arrow-down-left and arrow-down-right icons 2017-12-13 18:26:54 -08:00
Cole Bemis
a4c9815ca9 feat: Update arrow icons 2017-12-13 18:09:50 -08:00
Cole Bemis
9df31d48c6 feat: Update shield icon 2017-12-13 15:56:55 -08:00
Cole Bemis
8c557f7051 feat: Update search icon 2017-12-13 15:56:39 -08:00
Cole Bemis
bb9e45b336 feat: Update more-vertical icon 2017-12-13 15:56:25 -08:00
Cole Bemis
c6a7239a2c feat: Update more-horizontal icon 2017-12-13 15:56:01 -08:00
Cole Bemis
c777ac724d feat: Update inbox icon 2017-12-13 15:55:33 -08:00
Cole Bemis
38c6a37da6 feat: Update at-sign icon 2017-12-13 15:55:12 -08:00
Cole Bemis
6dc6e83d39
docs: Update capitalization 2017-12-13 00:25:40 -08:00
Cole Bemis
c631a31ebd
docs: Remove target="_blank" 2017-12-13 00:24:06 -08:00
Cole Bemis
7047790dc7
docs: Add StdLib logo 2017-12-13 00:23:08 -08:00
Cole Bemis
c1f40d07c8
docs: Update README.md 2017-12-12 22:49:58 -08:00
Cole Bemis
ad8fabb569
docs: Update README.md 2017-12-12 20:47:07 -08:00
Cole Bemis
ba46d098b3
Update README.md 2017-12-12 20:42:57 -08:00
Cole Bemis
cac14df9a2
docs: Update TravisCI link 2017-11-19 18:02:49 -08:00
Cole Bemis
14c796917d
build: Update linting config 2017-11-19 18:01:04 -08:00
Cole Bemis
343388c892
docs: Update TravisCI badge 2017-11-19 16:34:18 -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
b814a2b94b
docs: Update README.md 2017-11-18 20:54:45 -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
Oliver Dumoulin
f2b7e1f313 docs: Add sketch-feather to "Related Projects" section (#219) 2017-11-12 16:19:48 -08:00
Cole Bemis
bfd736270f chore: Generate package-lock.json 2017-11-09 19:23:22 -08:00
Cole Bemis
8aa917f826 docs: Update issue template 2017-11-09 17:35:04 -08:00
Cole Bemis
b953307227
Update index.html 2017-11-09 12:42:32 -08:00
Cole Bemis
3a3df71e3f refactor(replace): Replace console.error with throw new Error 2017-11-04 21:09:13 -07:00
Anatoliy
0d342b33a5 docs: Add elm-feather to "Related projects" section (#214) 2017-11-01 11:36:32 -07:00
Brad Bohen
e80f80524a feat: Updated replace() to pass id from placeholder element (#193) 2017-10-11 14:05:10 -07:00
Cole Bemis
b7d22291f1 docs: Change cdnjs badge style 2017-10-08 22:53:05 -07:00
LboAnn
5e62cab89a docs: Add CDNJS version badge in README.md (#196)
The badge shows the latest lib version on CDNJS and gives a link of it.
2017-10-08 22:52:04 -07:00
Lukas Drgon
5dd498cc61 docs: Add jsDelivr link 2017-09-26 10:51:47 -07:00
Cole Bemis
29e96b1109 docs: Add accessibility to roadmap 2017-09-22 19:55:30 -07:00
Alberto Chiusole
bc83bcc74b docs: Add a clarification inside the example webpage. (#180)
As discussed in issue #176, the package has to be built using
$ npm run build
or
$ npm run all
before being able to use it.
2017-09-06 08:30:09 -07:00
Cole Bemis
950ac1c2d0 Update README.md 2017-08-26 11:36:47 -07:00
Cole Bemis
d2ea75622b docs: Update CDN link 2017-08-10 11:37:46 -07:00
severn101
8926f5fb9b fix: Fix adding unwanted class 'null' 2017-08-04 15:33:11 -07:00
Cole Bemis
f72c5dd215 docs: Add npm install instructions 2017-08-01 12:18:57 -07:00
Cole Bemis
43dbba3a0a docs: Fix npm link 2017-08-01 12:15:56 -07:00
Cole Bemis
dc2410025f docs: Update README.md 2017-08-01 12:10:26 -07:00
Cole Bemis
365b5d13d5 docs: Add Travis badge to README.md 2017-08-01 11:36:04 -07:00
Cole Bemis
2ac73d6167 fix: Fix bold icon 2017-07-30 00:41:06 -07:00
Cole Bemis
002a66a4d8 feat: Add underline icon 2017-07-30 00:33:21 -07:00
Cole Bemis
fb5d432961 feat: Add shopping-cart icon
Closes #20, closes #79, closes #159
2017-07-30 00:32:33 -07:00