Commit Graph

142 Commits (9d8c975cc46327a470d08d7cda7b755914489773)

Author SHA1 Message Date
Antti Ahti 62f55cae1e Support elements in icon attribute in IconButton
This makes IconButton more flexible. It also makes icon elements work
when used with leftIcon/rightIcon attributes in AppBar.
2016-11-02 23:18:25 +02:00
Maxim Komlev 53e016eb4d fixed layout for IE 2016-10-30 16:19:24 -07:00
Javi Velasco f8c0c7fece Remove importants 2016-10-12 17:04:52 +02:00
Maxim Komlev 724fafa7ea + BrowseButton 2016-10-07 15:16:51 -07:00
Per Bergqwist def8643a0a Import React namespace, fix problem with @types 2016-09-02 09:18:33 +02:00
Per Bergqwist 34313b823e Fixed errors for Typescript 2.0.2 2016-08-31 08:41:16 +02:00
Javi Velasco 19db17d44f Merge pull request #702 from Reanmachine/reanmachine/fix-iconbutton-alignment
Fixed #696 - Button Icon/Inner Alignment
2016-08-22 20:59:09 +02:00
Aren Blondahl 5c09c5c6bb Fixed #696 - Button Icon/Inner Alignment
Button content was improperly being aligned due to the misleading nature of how vertical-align: middle works. Added a visual segment to the spec so it can be acceptance tested by developers.
2016-08-10 03:31:07 -06:00
Per Bergqwist c016565a5f Remove prop duplicates 2016-08-10 09:54:05 +02:00
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +02:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
Javi Velasco c9ac90fffe Fixes #542 2016-07-17 18:16:13 +02:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03:00
Javi Velasco 6cd4202c6c Fix #542 2016-06-19 21:34:30 +02:00
Robert Parker f8c1a3fd0d Update typings to external modules (no more 'declare module ...') to get the definitions working automatically with npm 2016-06-07 15:00:41 -07:00
Javi Velasco 419f16f63f Plain SASS imports 🎨 2016-06-04 22:06:59 +02:00
Javi Velasco 96599d3a09 Move some mixins 2016-06-04 16:36:17 +02:00
Javi Velasco 78790132f0 Merge with dev 2016-06-03 23:49:35 +02:00
Javi Velasco 73c115fac7 Better PropType syntax and delete required className api 2016-06-03 23:44:33 +02:00
Javi Velasco 6d37fe7ef6 Add missing context theme doc for Button 2016-05-28 19:37:59 +02:00
Javi Velasco d59f95c460 Better readme for buttons 2016-05-28 19:19:14 +02:00
Javi Velasco 6048bb72f4 Autoinjects for Button and IconButton 2016-05-28 15:37:10 +02:00
Yotam Bar-On 63f760bd13 Modify Button's display to be inline-flex
Text of ``label`` in ``<Button />`` is not aligned with the icon. This is because the ``<Button />`` has ``inline-block`` and not ``inline-flex``, so the ``align-items`` rule has no effect.
Changed the ``inline-block`` declaration into ``inline-flex``.
2016-05-28 16:06:37 +03:00
Javi Velasco 6329c5d11d Make tests pass 2016-05-25 00:25:43 +02:00
Javi Velasco c937673a02 Add base class for buttons 2016-05-20 20:29:06 +02:00
Javi Velasco 4e28d4a21a Modify ripple theme interface to avoid collisions 2016-05-16 14:50:26 +02:00
Javi Velasco 29f89fe44d Migrate button to themr 2016-05-16 14:40:07 +02:00
Galeel 85048a39a8 mixins is already imported in base, hence removed the redundant import | Galeel 2016-05-10 18:41:35 +05:30
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco beeb6ab40a Use sass lint 2016-04-10 12:20:59 +02:00
Javi Velasco 3a206769f3 Bugfix: style for svg icons in button 2016-04-10 11:39:25 +02:00
Keren Chandran ccf88af87d Changed Icon Prop type to String or Element instead of Any. Also fixed an inappropriate example for checkbox. 2016-04-06 21:24:31 -04:00
Keren Chandran cdd6ee5f05 Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into update-docs
# Conflicts:
#	components/autocomplete/readme.md
#	components/dropdown/readme.md
2016-04-06 20:50:12 -04:00
Emil Öberg 37f8f4c992 Added !default to all config values as per #424
This way, all config values can be overridden with custom style
2016-04-02 00:47:39 +02:00
Keren Chandran 7b7b0426ef Added onMouseUp and onMouseLeave props to Icon Button to make it similar to Button Component. 2016-03-26 19:54:30 -04:00
Keren Chandran 4917bf741b Sorted Date Picker Properties 2016-03-25 09:43:57 -04:00
Keren Chandran b5f21234c7 Updated Button and Checkbox doc 2016-03-25 09:20:24 -04:00
Arham Ahmed 1aa67d5b3a fixes #389 2016-03-19 22:24:57 -04:00
Javi Velasco 7065ab6edb Merge pull request #274 from epilgrim/feature/custom-icons
Enabled passing components as icons in all the components
2016-01-23 16:01:34 +01:00
Javi Velasco 6831912903 Merge pull request #273 from kagux/feature/event-propagation
Feature/event propagation
2016-01-22 22:02:35 +01:00
Juan Peri 80b5b7a891 Enabling passing components as icons in all the components 2016-01-22 17:18:59 +01:00
Boris Mikhaylov 485be5e05a fixed button test 2016-01-22 14:57:31 +01:00
Boris Mikhaylov 8dad57e456 propagate events in Button 2016-01-22 14:22:35 +01:00
Boris Mikhaylov 678bd81745 export raw components 2016-01-22 14:12:53 +01:00
Javi Velasco f0d5f1999c Fixes for autocomplete and tests 2016-01-05 10:51:32 +01:00
Javi Velasco 4403003895 Add neutral prop to avoid to inherit neutral styles 2015-12-19 20:55:30 +01:00
Javi Velasco 2349d692ae Make level depend on className for buttons 2015-12-19 20:36:35 +01:00
Jackie Li 5ed9184c12 handle mouse leave in IconButton like Button does, fixes #208 2015-12-15 17:07:41 +00:00
Javi Velasco a88868a5fa Fixes #203 2015-12-11 19:20:58 +01:00
Javi Velasco 1139fa6a62 Move Ripple main to Decorator approach 2015-12-07 02:34:12 +01:00