Commit Graph

72 Commits

Author SHA1 Message Date
Tommy Chiang
14ee355852
add gulp-feather (#1010) 2021-09-21 22:55:53 -07:00
Mickaël Fernandez
4d61ba72bf
Replace "xlink:href" with "href" (#1070) 2021-09-21 22:53:39 -07:00
Alex Zappa
a718a7e9c3
update README, add new Related Project to list (#1021) 2020-12-24 08:05:28 -08:00
Jonas Drotleff
b15b4a7535
docs: Add django-feather (#726)
Co-authored-by: Cole Bemis <colebemis@github.com>
2020-04-04 10:17:32 -07:00
Cole Bemis
3e9da32dca
docs: Remove stdlib logo 2019-11-15 19:34:45 -08:00
Cole Bemis
080262a2bf
Update description 2019-11-08 02:56:50 -08:00
Cole Bemis
466b3f0494
Remove roadmap
The roadmap was out of date. Let's track future work using GitHub issues instead.
2019-11-08 02:22:14 -08:00
Antony Jones
c05985d348 Add Svelte library to list of related projects (#772) 2019-10-30 07:36:07 -07:00
Edwin Kofler
965c0a3d47 docs: Update vue link (#713) 2019-08-07 16:26:18 -07:00
Cole Bemis
e6e6679596
docs: Update donate link 2019-02-24 23:26:09 -08:00
Cole Bemis
ee26fe5e7a
docs: Update description 2019-01-30 22:21:10 -08:00
Ash Guillaume
48735d20a0 docs: Add Figma section to README 2019-01-24 21:58:59 -08:00
Michael Savchuk
e105533ac1 docs: Add php-feather to related projects 2018-10-30 12:34:57 -07:00
Cole Bemis
156c0919c9
docs: Add info about SVG attributes 2018-05-21 14:04:00 -07:00
Cole Bemis
742f452232
docs: Update README.md 2018-05-18 16:59:19 -07:00
Cole Bemis
fcf9aec131
docs: Update unpkg links 2018-05-18 16:20:16 -07:00
Cole Bemis
1a210808c5
docs: Update roadmap 2018-05-17 23:27:24 -07:00
Cole Bemis
400f34afc2
docs: Update shields 2018-05-17 23:25:51 -07:00
Cole Bemis
5031cacbdd
docs: Lowercase donate badge 2018-05-16 11:53:13 -07:00
Cole Bemis
9167bfc36d
docs: Add donate shield to README 2018-04-25 12:43:52 -07:00
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