85 Commits

Author SHA1 Message Date
Evo Stamatov
1c1e844efc Add support for color prop as number (#574)
* Accept color prop to be a number (with alpha)

* Extend support for color prop as a number to all components

* remove extraneus comma

* Make prettier happier
2017-10-22 20:01:59 +02:00
Joel Arvidsson
af017d6778 Bump eslint dependencies and fix lint errors 2017-09-16 14:01:32 +02:00
Joel Arvidsson
d40506f483 Move CLI tools to bin folder and refactor to es6 2017-07-30 17:36:59 +02:00
Joel Arvidsson
6c7709b2b2 Bump dependencies 2017-07-30 17:06:52 +02:00
Joel Arvidsson
2c4a01f1b0 Bump prettier and integrate with eslint 2017-07-30 16:58:50 +02:00
Joel Arvidsson
6dabbe34ce Conditionally load font file, accept custom file argument and add docs 2017-05-29 21:42:37 +02:00
Nuno Campos
cc83c514ab Support usage with cocoapods with use_frameworks!
- Explicitly load font files from the module bundle without assuming they're present in the main app bundle
2017-05-29 21:38:45 +02:00
Joel Arvidsson
7f73df5731 Make name prop optional. Closes #406 2017-05-29 21:14:20 +02:00
Joel Arvidsson
585e56d826 Format code using prettier 2017-05-07 12:25:01 +02:00
Joel Arvidsson
3a239363d7 Remove inherited prop types spread to fix deprecation warnings. #460 2017-05-07 12:14:56 +02:00
Matthieu Lemoine
d9418da28f Replace React.PropTypes with prop-types (#458) 2017-05-03 18:50:59 +02:00
Joel Arvidsson
f0516a8f69 Refactor generateIconSetFromCss to modern js 2017-04-05 00:52:16 +02:00
mlazari
fa0ebf0732 Accept content specified as actual character (#426)
For example .icon-search:before {content:'🔎'}
2017-04-04 23:40:49 +02:00
Joel Arvidsson
ae8103103e Bump eslint config and fix errors 2017-01-05 21:43:52 +01:00
Joel Arvidsson
54ad85c8bc Add support for logoName for ToolbarAndroid. Fixes #371 2017-01-05 21:39:17 +01:00
German Blejman
bd6065c936 Fix typo (#333) 2016-10-30 16:56:53 +01:00
Joel Arvidsson
534884a3dd Fix evicting overflowIcon from ToolbarAndroid 2016-10-27 01:50:34 +02:00
Joel Arvidsson
a15eacea16 Force font family/weight/style to avoid issues resolving font on android #283 2016-10-27 01:47:02 +02:00
James McGinty
f92e7a2c12 Add support for windows port (#308)
* Update README.md

* Update create-icon-set.js

Add support for windows port

* Update README.md

Add support for windows port

* Update README.md

* Update README.md

* Update README.md

Changed the instructions for adding the fonts to link to the original file, instead of copying the file.

* Update README.md

Mention Windows as a supported platform

* Add windows example

* Link fonts into windows project

* Add "windows" keyword

* update to latest package.json to resolve merge conflict

* Bump up to version 0.35.0 & fix merge confict

* finish upgrade from react native 0.32 -> 0.35
2016-10-26 23:07:17 +02:00
Joel Arvidsson
ea58034e57 Switch to airbnb style guide 2016-10-13 07:58:30 +02:00
Joel Arvidsson
6cac695758 Simplifies tab bar icon generation. 2016-08-24 14:40:28 +02:00
Sebastian Bengtegård
3b474a6be3 added support for icon color @ tabbar (#275)
* added support for icon color @ tabbar

* added trailing commas due to travis build failure

* Added notes for iconColor and selectedIconColor

* Added extra checks for both props (iconColor and selectedIconColor)

* Added attributes iconColor and selectedIconColor as examples
2016-08-24 13:50:43 +02:00
Daniel Friesen
0e54a69f57 Sometimes the hex character escape in content: is uppercase (#271)
Such as https://materialdesignicons.com/
2016-08-21 17:32:04 +02:00
Libin Lu
23cfaa6ece Rename react-native.android.js to react-native.js 2016-05-17 21:50:50 -04:00
Libin Lu
1102ef336c Delete react-native.ios.js 2016-05-17 21:50:35 -04:00
Joel Arvidsson
abc1931872 Fixes regression in font file defaults when using fontello or icomoon helpers. #204 2016-05-11 23:34:00 +02:00
Joel Arvidsson
6c12f995c4 Fixes exports of custom icon set helpers. 2016-05-10 21:55:40 +02:00
Joel Arvidsson
1dd6cc27bb Adds missing semicolons. #201 2016-05-10 20:41:40 +02:00
Joel Arvidsson
31b498f0a2 Uses setState instead of deprecated replaceState in ToolbarAndroid. 2016-05-10 11:58:42 +02:00
Joel Arvidsson
73ca8766f9 Adds basic react-native-desktop support. 2016-05-07 22:22:57 -04:00
Joel Arvidsson
db9974b6ec Removes lingering flow type definitions. 2016-05-07 17:16:14 -04:00
Joel Arvidsson
ea352f48a1 Disables font scaling on icons by default. #149 2016-05-07 17:15:56 -04:00
Joel Arvidsson
a527d580ef Splits createIconSet into separate file per component and refactors to ES2016. 2016-05-07 16:52:22 -04:00
Joel Arvidsson
abcdfd39bb Merge branch 'toolbarandroid-props-change-fix' 2016-03-27 21:02:11 -05:00
Joel Arvidsson
2b55f53c35 Fixes rendering bug when inside italic text on android. #145 2016-03-27 20:57:42 -05:00
Joel Arvidsson
0bdb671139 Evicts removed props from state so that ToolbarAndroid will update. #125 2016-03-05 10:34:54 -03:00
Joel Arvidsson
b6744ca962 Fixes bad reference after rename. Fixes #122. 2016-03-03 13:08:32 -03:00
Joel Arvidsson
d04bb1eca2 Decreases default ToolbarAndroid icon size. 2016-03-03 09:26:55 -03:00
Joel Arvidsson
eafc580a91 Adds ToolbarAndroid support. #101 2016-03-03 09:22:32 -03:00
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