46 Commits

Author SHA1 Message Date
Joel Arvidsson
22d81af027 Explicitly define fontWeight for icons. Fixes #104 2016-01-29 09:44:23 -06:00
Joel Arvidsson
a4a7e02961 Adds sane fallback for fontello font family. Fixes #98 2016-01-25 09:15:40 -06:00
Joel Arvidsson
50c8837f32 Updates lodash to 4.0. 2016-01-25 00:19:19 -06:00
Brad Bumbalough
ded5d97dcf Updated TabBarItem to pass nextProps into updateIconSources. Previously, it would fire updateIconSources inside of componentWillReceiveProps but uses this.props instead of nextProps. Now, updateIconSources takes a props param, which is this.props inside componentWillMount. 2016-01-23 22:25:49 -05:00
Jorge Maroto
16a2fb0f96 Allow to load icons from icomoon templates 2016-01-19 18:20:41 +01:00
Joel Arvidsson
c49b3bed34 Better default font file with createIconSetFromFontello. 2015-12-28 08:38:26 +01:00
Joel Arvidsson
2e38d5ae25 Fixes issue with RN 0.17-rc ignoring scale file suffix. Fixes #74 2015-12-17 19:01:16 +01:00
Joel Arvidsson
3920656bc7 Refactors android getImageForFont to use RN font manager. 2015-11-25 08:33:25 -05:00
Joel Arvidsson
7abdbb11dc Deprecates android TypefaceTextView in favor of core Text. 2015-11-25 08:30:24 -05:00
Joel Arvidsson
2e4dcda9e5 Adds React Native 0.15 support. Fixes #49 2015-11-12 18:10:49 -05:00
Joel Arvidsson
230bc446d9 Adds text prop to android TypefaceTextView for compatibility with upcoming 0.14. 2015-10-27 13:26:17 -04:00
Joel Arvidsson
0aceccc5d1 Don't force a default icon color, use inheritance if nested with text. 2015-10-22 08:04:25 -04:00
Thomas Parslow
08cf1b5fdf Don't use invariant, just throw instead 2015-10-20 12:23:12 +01:00
Thomas Parslow
ed0a975fde Replace comment with an invariant 2015-10-19 11:02:55 +01:00
Thomas Parslow
1bb97fd27d Pass Flow type check 2015-10-19 10:57:48 +01:00
Thomas Parslow
e6bb717101 Use just the lodash package but require only the bits needed 2015-10-16 10:06:52 +01:00
Thomas Parslow
7e901380cc Don't include the whole of lodash just to get some icons 2015-10-15 17:50:05 +01:00
Joel Arvidsson
ce68fff8f6 RN 0.13.0-rc support. 2015-10-14 13:00:41 -04:00
Joel Arvidsson
e55672d054 Reintroduces (limited) nesting of icons. 2015-10-13 12:01:12 -04:00
Joel Arvidsson
31917c2012 Adds support for nesting <Text> elements in Icon.Button. 2015-10-08 19:02:29 -04:00
Joel Arvidsson
0f1bb085d9 Adds a Icon.Button convenience component. 2015-10-08 18:20:52 -04:00
Joel Arvidsson
453bd765ad Refactor the Icon component to be a pure Text derivative. #23 #26 #27 #34 2015-10-08 17:47:23 -04:00
Joel Arvidsson
a1bec3750e fontFile support in createIconSetFromFontello for better android compatibility. 2015-10-03 16:59:59 -04:00
Joel Arvidsson
c96962ac76 Compatibility with new color processing in RN 0.12. Fixes #29 2015-10-03 16:39:10 -04:00
Joel Arvidsson
ee8318bb11 Implemented getImageSource for android. #24 2015-09-30 14:25:41 -04:00
Joel Arvidsson
c30231fa12 Minor code cleanup. 2015-09-30 09:53:14 -04:00
Joel Arvidsson
0fbf8b2e4f Fixed packager warning #24. 2015-09-30 09:45:37 -04:00
Joel Arvidsson
d98b19089d Experimental android support! 2015-09-29 22:28:51 -04:00
Joel Arvidsson
30c8ab5e8a Rerender icon sources for TabBarItem when props change. 2015-08-10 16:54:22 +02:00
Joel Arvidsson
19591225dc Improved and added propTypes config. 2015-08-10 16:49:56 +02:00
Joel Arvidsson
a2414ed06a Fixed bug when parsing CSS files using single quotes. 2015-07-27 11:38:15 +02:00
Joel Arvidsson
83a33327f3 Fixed a bug when Icon is a direct child to Touchable*. #9 2015-07-16 10:07:29 +02:00
Joel Arvidsson
6c946ff08d Fixed warnings in RN 0.7.0+ 2015-07-14 12:02:32 +02:00
Joel Arvidsson
9ee47f3dfc Support for RN 0.7.0 packager. Fixes #4 2015-07-06 12:20:24 +02:00
Joel Arvidsson
9c611a5818 Added flow declarations and config. 2015-06-04 13:09:03 +02:00
Joel Arvidsson
beef16c89d Return errors in getImageSource promise rejection. 2015-06-04 13:06:25 +02:00
Joel Arvidsson
90a98f4ae7 Allow array values for style prop. 2015-06-04 11:52:02 +02:00
Joel Arvidsson
7a69daeda3 Fixed bug causing color in styles not to be respected. 2015-06-03 14:14:58 +02:00
Joel Arvidsson
6e78740bbd Added support for color to getImageSource. 2015-06-01 17:44:44 +02:00
Joel Arvidsson
42d1a482bc Exposed getImageSource and added documentation. 2015-06-01 17:24:10 +02:00
Joel Arvidsson
983a54adda Error handling and cached errors. 2015-05-30 00:57:44 +02:00
Joel Arvidsson
399b1d55cd Fully working TabBarIOS support. 2015-05-30 00:22:29 +02:00
Joel Arvidsson
77f2e38a38 WIP: Support for getting image sources and native TabBarIOS.Item. 2015-05-29 20:15:25 +02:00
Joel Arvidsson
dc997fd467 Migrated to build Material Design icons directly from source. 2015-05-18 10:04:38 +02:00
Joel Arvidsson
275939ce0e Split generate-icon into lib and CLI parts and added section to README. 2015-05-17 03:10:40 +02:00
Joel Arvidsson
e67a86b28a Split createIconSet* functions into separate files and expose them via @providesModule for easier external usage. 2015-05-17 03:09:05 +02:00