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
Cole Bemis
bad88ba24a
feat: Add italic
icon
2017-07-30 00:31:10 -07:00
Cole Bemis
36f5fa7a89
feat: Add help-circle
icon
...
Closes #15 , closes #158
2017-07-30 00:30:37 -07:00
Cole Bemis
62a96677a9
feat: Add crop
icon
...
Closes #152
2017-07-30 00:28:57 -07:00
Cole Bemis
3faad03c83
feat: Add bold
icon
...
Closes #145
2017-07-30 00:27:42 -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
Cole Bemis
73bc017bdd
feat: Move paths in wifi
icon down 1px
2017-07-11 01:39:03 -07:00
Cole Bemis
f41cd6e738
feat: Add wifi-off
icon
...
Closes #125
2017-07-11 01:39:03 -07:00
Cole Bemis
29ff9df0f5
feat: Add tv
icon
...
Closes #106
2017-07-11 01:39:03 -07:00
Cole Bemis
aa43d5ad00
feat: Add paperclip
icon
...
Closes #85 , Closes #131
2017-07-11 01:39:03 -07:00
Cole Bemis
e95e1b2701
feat: Add sliders
icon
...
Closes #126
2017-07-11 01:39:03 -07:00
Cole Bemis
dfc03cd5a7
feat: Add gitlab
icon
...
Closes #119
2017-07-11 01:39:03 -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
ee36bff7c3
ci: Update .travis.yml
2017-07-03 15:53:34 -07:00
Cole Bemis
ac06ad8999
docs: Update README
2017-07-03 15:53:34 -07:00
Cole Bemis
5d6c7d2184
build: Add script to build dist/icons
directory
2017-07-03 15:53:34 -07:00
Cole Bemis
998b2e9add
chore: Add lint script
2017-07-03 15:53:34 -07:00
Cole Bemis
0e70a99e8a
docs: Add usage example
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
71f502fc95
feat: Add JavaScript library
...
Add JavaScript library that includes an `icons` object, `toSvg` function and `replace` function.
2017-07-03 15:53:34 -07:00
Cole Bemis
ae164db70f
build: Add script to build dist/icons.json
2017-07-03 15:53:34 -07:00
Cole Bemis
c089ee1f89
chore: Set up ESLint
2017-07-03 15:53:34 -07:00
Cole Bemis
9b5dc81118
feat: Flatten icons
directory
...
Remove icon categories to simplify npm package.
BREAKING CHANGE: The path to individual SVG files has changed. All SVGs now live on the same level
inside the `icons` directory. For example, `icons/core/home.svg` is now `icons/home.svg`.
2017-07-03 15:53:34 -07:00