Commit Graph

465 Commits

Author SHA1 Message Date
Cole Bemis
fac43e92cf
ci: Update .travis.yml 2017-12-14 00:39:45 -08:00
Cole Bemis
0af964bf29
Merge pull request #247 from feathericons/v4.1.0
v4.1.0
2017-12-14 00:34:03 -08:00
Cole Bemis
7b9faf5b74 feat: Update upload icon 2017-12-14 00:25:31 -08:00
Cole Bemis
fd54d891d7 feat: Update log-out icon 2017-12-14 00:25:19 -08:00
Cole Bemis
031cd1cdcf feat: Update log-in icon 2017-12-14 00:25:05 -08:00
Cole Bemis
58e555ac21 feat: Add folder-plus icon
Closes #166
2017-12-14 00:24:42 -08:00
Cole Bemis
4e5462b4ea feat: Add folder-minus icon 2017-12-14 00:23:48 -08:00
Cole Bemis
821eae0fed feat: Update download icon 2017-12-14 00:20:42 -08:00
Cole Bemis
c61c9279eb feat: Add arrow-*-circle icons 2017-12-14 00:18:46 -08:00
Cole Bemis
63485ae1fa feat: Update clock icon 2017-12-13 23:32:30 -08:00
Cole Bemis
c9d3fe4afd feat: Add code icon
Closes  #24, closes #235
2017-12-13 23:24:29 -08:00
Cole Bemis
d858fce9ac feat: Add terminal icon 2017-12-13 23:23:04 -08: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