Commit Graph

52 Commits

Author SHA1 Message Date
Cole Bemis
94531bbe7c docs: Update sprite docs 2018-04-01 17:04:44 -07:00
Cole Bemis
920bd45776
docs: Rename Client-side Javascript section 2018-03-21 14:49:14 -07:00
Cole Bemis
cbd3c6184b
docs: Clarify dot vs bracket notation 2018-03-21 14:46:33 -07:00
Ivan Quirino
3422f0aaf7 feat: Add SVG sprite support (#319) 2018-02-20 16:30:59 -08:00
Cole Bemis
b5331a253d
docs: Updated README.md 2017-12-29 15:16:43 -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
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
Oliver Dumoulin
f2b7e1f313 docs: Add sketch-feather to "Related Projects" section (#219) 2017-11-12 16:19:48 -08: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
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
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
Michael Lancaster
906cfb38d5 docs: Add CONTRIBUTING.md 2017-07-18 11:29:56 -07:00
Cole Bemis
20911c216b Update README.md 2017-07-14 11:28:32 -07:00
mage3k
e0216c8ccb docs: Add vue-feather-icon link 2017-07-05 13:43:12 -07:00
Cole Bemis
d2192ca571 docs: Add "Related Projects" to Table of Contents 2017-07-03 16:24:55 -07:00
Cole Bemis
996d620893 docs: Update README.md 2017-07-03 16:22:40 -07:00
Cole Bemis
ac06ad8999 docs: Update README 2017-07-03 15:53:34 -07:00
Cole Bemis
8fbe71d45f docs: Update README.md 2017-07-01 14:49:45 -07:00
Carmelo Pullara
1e43dcb17e docs: Add react-feather link 2017-07-01 14:47:59 -07:00
The Mighty Panda
6c7b365e4b docs: Add Related Projects section 2017-07-01 11:06:11 -07:00
Cole Bemis
044aff8034 docs: Update License section
Closes #95
2017-06-07 09:31:37 -07:00
Cole Bemis
85dca37e6d Update README 2017-06-03 00:34:02 -07:00
Cole Bemis
8c95eacb15 Update url 2017-06-01 08:03:07 -07:00
Cole Bemis
ec384c1afd Update README 2017-05-29 17:26:34 -07:00
Cole Bemis
eb54905023 Update site design 2017-05-27 21:22:58 -07:00
Cole Bemis
6ee713361c Clean up 2017-05-12 23:19:50 -07:00
Cole Bemis
ac2b458824 Add Change Log section to README 2017-04-30 00:23:21 -07:00
Cole Bemis
a76ae6cb46 Edit README 2017-02-27 15:32:24 -08:00
Cole Bemis
01744cbf14 Update copy 2017-02-27 13:59:16 -08:00
Cole Bemis
20fdd12e3d Add README 2017-02-27 13:56:29 -08:00
Cole Bemis
a49847ba95 Clean out branch 2017-01-25 20:44:20 -08:00
Cole Bemis
3c8850adba Update README.md 2016-09-15 01:55:23 -07:00