Commit Graph

861 Commits (2039a123a360135584aeb6c3152d659aee885cfa)

Author SHA1 Message Date
Javi Velasco dce92d3a33 Set background to transparent by default 2016-03-05 21:25:21 +01:00
Javi Velasco 22b46d9294 Fix #357 2016-03-05 21:20:36 +01:00
Javi Velasco b45c8f7ced 😕 2016-03-05 20:35:13 +01:00
Javi Velasco ddeb44f8db Fixes #304 2016-03-05 20:29:42 +01:00
Javi Velasco 8761cc2dd6 Merge pull request #352 from zalmoxisus/patch-1
When the font-size (or $unit) is small, there's no difference between selected and unselected item
2016-03-05 15:41:44 +01:00
Javi Velasco d1320d5517 Merge pull request #339 from necinc/dev
Added a few more events to Dialog's overlay
2016-03-05 15:38:13 +01:00
Max Vyznyuk 3a3dea665c Update Dialog's documentation. 2016-03-05 12:24:03 +02:00
rodik 7adfc59772 nextState in componentWillUpdate of Menu.js fix 2016-03-04 18:16:31 +01:00
Rodion ef0fe1108e renderInput() method never used
removing unused method
2016-03-04 18:16:31 +01:00
Rodion c1f2b83865 Dropdown doesn't close on click outside fix
Hi there,

Dropdown component doesn't close on click outside in my app. 
I debugged a little bit problem and found that componentWillUpdate uses incorrect.
It accepts nextProps and nextState and not prevState and nextState
https://facebook.github.io/react/docs/component-specs.html#updating-componentwillupdate
2016-03-04 18:16:31 +01:00
Javi Velasco 9a802f1715 Merge pull request #324 from Kosta-Github/table-enhancements
[Table] enhancements
2016-03-04 18:16:20 +01:00
Mihail Diordiev c2c0ac7466 Support `0` value as being numeric 2016-03-03 14:44:42 +02:00
Mihail Diordiev a78ec39df1 When the font-size (or $unit) is small, there's no difference between selected and unselected item 2016-03-03 14:34:31 +02:00
Tucker Connelly 0227b0d2d0 Change error PropType to node on Input 2016-02-23 17:55:27 -05:00
Max Vyznyuk 542f54d77d Added a few more events to Dialog's overlay 2016-02-22 11:35:36 +02:00
Javi Velasco ad7abe557d Merge pull request #332 from sars/clock-ssr-fix
Clock SSR fix
2016-02-19 16:17:03 +01:00
rodik 6173e9b408 Clock SSR fix 2016-02-19 15:43:29 +02:00
Konstantin Baumann c5b19c2a3d [Table] enhancements
- allow usage of `react` components in table cells (header and rows): https://github.com/react-toolbox/react-toolbox/issues/268
- allow changing table header titles (via `title` prop in `model`): https://github.com/react-toolbox/react-toolbox/issues/296
- allow specifying `onChange` handler per column (via `model`) in order to make onyl certain columns editable instead of the whole table

Sample usage can be seen in the update `Table` test file.
2016-02-18 11:21:24 +01:00
Blechhirn b2538d843a Workaround race condition between menu item layout and container size assessment. 2016-02-17 17:26:04 +01:00
Juan Peri 29edd204a5 dropdown accepts string or number as value 2016-02-15 18:18:16 +01:00
Jackie Li 7b2347aba8 type -> getType as `type` seems to be a keyword in node 5.1 2016-02-12 10:23:27 +00:00
Cyril Sobierajewicz 68b23d2919 cleanup listeners on document before unmount 2016-02-11 17:06:37 +01:00
Juan Peri 96e868bd9c Allowing array of pairs key-value as input for autocomplete 2016-02-09 11:20:35 +01:00
Javi Velasco cb474b1988 Merge pull request #298 from fredguest/patch-1
Use consistent data attributes
2016-02-09 01:53:16 +01:00
Fred Guest 43bfd3f05b replace data-role with data-react-toolbox 2016-02-08 11:01:41 -08:00
Fred Guest 52f324d53a update Tab.jsx 2016-02-08 10:51:57 -08:00
Fred Guest 99b4fcac23 update Tabs.jsx 2016-02-08 10:48:31 -08:00
Fred Guest 413ddb7ca8 update Switch.jsx 2016-02-08 10:45:47 -08:00
Fred Guest dba62cf913 update RadioButton.jsx 2016-02-08 10:43:14 -08:00
Fred Guest 692ed24d6b update RadioGroup.jsx 2016-02-08 10:42:00 -08:00
Fred Guest 542528d435 update Menu.jsx 2016-02-08 10:36:42 -08:00
Fred Guest b898d7f854 update List.jsx 2016-02-08 10:35:29 -08:00
Fred Guest cacc7d9cab update Card.jsx 2016-02-08 10:32:37 -08:00
Anton Huck 7ad91897b2 allow app-bar height override 2016-02-07 19:51:04 +01:00
Fred Guest c0e0b5679c Use consistent data attributes
data-toolbox should be data-react-toolbox to be consistent with the rest of the components.
2016-02-06 00:35:08 -08:00
Javi Velasco 1db189d436 Merge pull request #280 from kagux/fix/avatar-docs
update avatar example to use `image` instead of `img` property
2016-01-28 00:27:51 +01:00
Boris Mikhaylov 32ff655fd3 removed commented out code 2016-01-27 11:22:38 +01:00
Boris Mikhaylov 14cbf9c877 if list item action defined onClick we stop click and mouse down
propagation
2016-01-27 11:21:03 +01:00
Boris Mikhaylov a2745c8c39 list item can be customized by passing in children commponents 2016-01-26 14:59:57 +01:00
Boris Mikhaylov a82595b613 added data-react-toolbox attribute to FontIcon 2016-01-26 14:58:51 +01:00
Boris Mikhaylov 0deee32dd3 pass through props in Ripple 2016-01-26 14:58:28 +01:00
Boris Mikhaylov 0e60fd2a5e update avatar example to use `image` instead of `img` property 2016-01-25 15:49:30 +01:00
Javi Velasco f16934c95e Fixes #270 2016-01-23 16:38:12 +01: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 d7e5aea79a Merge pull request #275 from epilgrim/feature/close_dropdown_on_click_outside_the_element
close dropdown when click event is triggered outside the component
2016-01-23 15:59:23 +01:00
Juan Peri 160fb47fb1 Removing event from dropdown when not active anymore 2016-01-23 09:42:56 +01:00
Javi Velasco 80b2abe11d Merge pull request #271 from kagux/feature/components-in-card-title
allow passing components to card title and subtitle
2016-01-22 22:13:52 +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 21a68606b1 close dropdown when click event is triggered outside the component 2016-01-22 18:06:32 +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 0a944994a1 propagate events in Tab 2016-01-22 14:49:06 +01:00
Boris Mikhaylov d92350ff3a propagate events in IconMenu 2016-01-22 14:45:45 +01:00
Boris Mikhaylov 9ce68aeceb propagate events in Dropdown 2016-01-22 14:43:33 +01:00
Boris Mikhaylov 39c7c6102f removed unused checkbox validations 2016-01-22 14:40:37 +01:00
Boris Mikhaylov 8dad57e456 propagate events in Button 2016-01-22 14:22:35 +01:00
Boris Mikhaylov a11d1527c2 propagate events in Tooltip 2016-01-22 14:20:22 +01:00
Boris Mikhaylov 678bd81745 export raw components 2016-01-22 14:12:53 +01:00
Boris Mikhaylov 08c0907a3c allow passing components to card title and subtitle 2016-01-22 13:31:55 +01:00
Juan Peri 998b5a44b7 Enable Element to behave as Icon 2016-01-20 00:01:20 +01:00
Raúl García 6eb58380c4 Add missing semicolons 2016-01-11 09:02:50 +01:00
Javi Velasco 3c6b7afcc1 Fixe autocomplete 2016-01-06 12:56:30 +01:00
Javi Velasco c5666f0ebb Merge branch 'dev' of https://github.com/karlmacklin/react-toolbox into karlmacklin-dev
* 'dev' of https://github.com/karlmacklin/react-toolbox:
  Revert "Added required normalize.css package to package.json"
  Allow Link to render Tooltips via children prop
  Added required normalize.css package to package.json
2016-01-06 02:16:19 +01:00
Karl Macklin 9da237834b Allow Link to render Tooltips via children prop 2016-01-05 23:32:38 +01:00
Javi Velasco f0d5f1999c Fixes for autocomplete and tests 2016-01-05 10:51:32 +01:00
Javi Velasco f35b87834f Merge branch 'dev' into Bartekus-babel-6-upgrade
* dev:
  fixing a typo for the List component
2016-01-05 10:39:32 +01:00
Dale Hille 3b3beaf89a fixing a typo for the List component 2015-12-31 14:15:34 -05:00
Araphel 25a9e65604 Replace transition-property to transition for Issue#230 2015-12-23 23:47:29 -07:00
Araphel f6047f880f Bebel 6 Integrated, Stage-0 added, React updated 2015-12-23 14:21:41 -07:00
Javi Velasco 055c6e37a9 Add ripple documentation 2015-12-20 19:18:31 +01:00
Javi Velasco 6cc95c5bc1 Bugfix in dropdown errored styling 2015-12-20 18:50:25 +01:00
Javi Velasco 086a0ae15d Fix icon for link demo 2015-12-20 18:48:17 +01:00
Javi Velasco b037994375 Fixes #157 2015-12-20 18:17:50 +01:00
Javi Velasco aead7f0a8f Add pickers classNames to customize appereance 2015-12-20 18:08:55 +01:00
Javi Velasco 2d931ce716 Fix scss-lint errors 2015-12-20 17:57:04 +01:00
Javi Velasco 515169dc36 Improve datepicker example 2015-12-20 17:55:34 +01:00
Javi Velasco 20d6787cb0 Add error field to timepicker 2015-12-20 17:52:01 +01:00
Javi Velasco 027fc12600 Add missing variable for chevron 2015-12-20 17:51:46 +01:00
Javi Velasco 3479f5b54e Add error field to date picker 2015-12-20 17:51:18 +01:00
Javi Velasco 802f50f4b3 Use full Toolbox input in autocomplete 2015-12-20 17:50:57 +01:00
Javi Velasco 2c7d308271 Use Input component in dropdowns and make it homogeneous 2015-12-20 17:01:02 +01:00
Javi Velasco f3bcbf9d3b Add react-toolbox attributes and className to DatePicker 2015-12-19 22:47:00 +01:00
Javi Velasco 60f55ebfef Fixes #188 2015-12-19 22:07:49 +01:00
Javi Velasco abcd097830 Fixes #214 2015-12-19 21:06:18 +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
Javi Velasco 5293585cf0 Remove unneded scroll-x hidden 2015-12-19 14:08:30 +01:00
Javi Velasco 40888bbb1d Change webkit scrollbar removal for a mixin 2015-12-19 14:08:30 +01:00
Javi Velasco da1c109068 Remove scrollbars in list items and remove unneeded overflows 2015-12-19 14:08:30 +01:00
Javi Velasco 8b2316e947 Improve layout for calendar in firefox 2015-12-19 14:08:30 +01:00
Peter Fern 58e4e1e46c Replace `overflow-y: scroll` with `overflow-y: auto`
A number of components used `overflow-y`: scroll, which forces
scrollbars to be always visible. To work around this, `commons.scss` hid
webkit scrollbars globally. There are two problems with this: on
non-webkit browsers, scrollbars are visible even when they are
unnecessary; and scrollbars are hidden in webkit browsers, even on
elements where they may be desirable.

Instead, we use `overflow-y: auto`, and hide webkit scrollbars on
specific components when necessary.  Unfortunately, this requires using
element selectors, but this is the trade-off for better supporting
non-webkit browsers and allowing scrollbars on regular elements (like
body).

Fixes #218
2015-12-19 14:08:30 +01:00
avijohnson ffa5044e20 Add maxLength attribute to input component 2015-12-16 14:25:01 -08:00
Javi Velasco 0daca7e09e Merge pull request #212 from pdf/card_media_variable_height
Allow CardMedia to have flexible height per documentation
2015-12-16 07:36:29 +01:00
Peter Fern ae3f4a51aa Allow CardMedia to have flexible height per documentation
The documentation for CardMedia specifies that if the `aspectRatio`
property is not set, the media will have a flexible height.  The
existing implementation did not provide this, and would instead always
render with a height of `0`, effectively hiding the element.

This change should bring the component into line with the documentation.
2015-12-16 10:28:07 +11:00
Jackie Li 5ed9184c12 handle mouse leave in IconButton like Button does, fixes #208 2015-12-15 17:07:41 +00:00
Javi Velasco 211d542b7f Add animated auto transition from hours to minutes in TimePicker 2015-12-12 11:35:31 +01:00
Javi Velasco a88868a5fa Fixes #203 2015-12-11 19:20:58 +01:00
Javi Velasco 85ff089e46 Update switch examples 2015-12-11 19:11:55 +01:00
Javi Velasco b963be79ea Better styles for navigation. Fixes #205 2015-12-11 18:53:37 +01:00
Javi Velasco b5b3fe2488 Merge branch 'master' into dev
* master:
  Remove opacity prop from Overlay and add invisible. Fixes #183, #178
  0.13.4 release
2015-12-11 18:01:33 +01:00
Javi Velasco 312ec91fcc Remove opacity prop from Overlay and add invisible. Fixes #183, #178 2015-12-11 18:01:24 +01:00
Javi Velasco 9e3ad3b88c Fixes #182 2015-12-08 00:05:36 +01:00
Javi Velasco fe5f0f8071 Merge pull request #201 from react-toolbox/ripple-decorator
Ripple decorator
2015-12-07 23:57:59 +01:00
aeickhoff b63d9da0c2 Prevent avatar from getting squeezed
If caption or legend of a list item with an avatar are very long it got squeezed, because it was allowed to shrink in its flex container.
2015-12-07 16:32:05 +01:00
Javi Velasco 1139fa6a62 Move Ripple main to Decorator approach 2015-12-07 02:34:12 +01:00
Javi Velasco 947c22d752 Use ripple decorator in menus 2015-12-07 02:25:58 +01:00
Javi Velasco b5606ebb15 Use ripple decorator in switch 2015-12-07 02:14:10 +01:00
Javi Velasco fa76723ffd Use ripple decorator in Radio buttons 2015-12-07 01:40:59 +01:00
Javi Velasco 4c986e4f3c Remove unused css in calendar 2015-12-07 01:14:10 +01:00
Javi Velasco 8edf492334 Use RippleDecorator in ListItem 2015-12-07 01:13:59 +01:00
Javi Velasco a2e504f8f2 Remove ripple loading mixin 2015-12-07 00:47:07 +01:00
Javi Velasco 5afbaf5c74 Currying Ripple Decorator 2015-12-07 00:46:00 +01:00
Javi Velasco 43df57ab9d Use RippleDecorator in IconButton 2015-12-07 00:27:13 +01:00
Javi Velasco 8076f35739 Merge branch 'master' into ripple-decorator
* master:
  Fix ListSubHeader case
  Rename ListSubheader.jsx to ListSubHeader.jsx
  Input was missing html5 type property
2015-12-06 14:35:31 +01:00
Javi Velasco 6d7204db53 Add ripple decorator and use it in button and checkbox 2015-12-06 14:35:10 +01:00
Aleš Jiránek cc6e3fbdc6 Fix ListSubHeader case 2015-12-05 13:43:06 +01:00
Aleš Jiránek 1189e309c5 Rename ListSubheader.jsx to ListSubHeader.jsx 2015-12-05 13:36:35 +01:00
Cem Turan 89b41f3663 Input was missing html5 type property 2015-12-05 10:49:29 +01:00
Matt Brookes cfad0eae81 Typo 2015-12-03 20:52:37 +00:00
Javi Velasco 27b7bef158 Fix typos in input examples and update example in input readme 2015-12-03 20:44:23 +01:00
Jakub Wojtczak 0e13ae0740 Fix ripple positioning when page is scrolled 2015-12-03 14:54:45 +01:00
Javi Velasco c8246f5c3b Fix checkbox readme 2015-12-03 01:00:59 +01:00
Javi Velasco 22bd7504f1 Fix timepicker example 2015-12-03 00:56:18 +01:00
Javi Velasco 26d7b8a6e8 Add missing default to some globals 2015-12-03 00:50:02 +01:00
Javi Velasco 083586304b Fixes #180 2015-12-03 00:48:32 +01:00
David Hayes 9b0e50e747 Change capitalization to match the filesystem exactly. 2015-12-02 15:24:22 -06:00
Javi Velasco 64b87d013a Remove font import from globals 2015-11-29 19:04:20 +01:00
Javi Velasco a1a854663d Update FontIcon docs 2015-11-29 19:01:22 +01:00
Javi Velasco f2738a0e11 Small changes in card readme 2015-11-29 18:41:52 +01:00
Javi Velasco d0e4135d0b Better touch ripple handling 2015-11-29 12:40:09 +01:00
Javi Velasco 1c57370651 New approach for Tooltips 2015-11-29 12:39:55 +01:00
Javi Velasco de921b0438 Make label red in case of error for Input 2015-11-29 01:31:40 +01:00
Javi Velasco f23a3c691f Fixes in Input component 2015-11-29 01:25:21 +01:00
Javi Velasco 5248f87468 Delete loading prop from buttons 2015-11-28 20:34:07 +01:00
Javi Velasco 2e0b9fcb5c Merge with master 2015-11-28 20:26:11 +01:00
Javi Velasco da0f1a631e Remove jsx extension from imports in components 2015-11-28 20:24:46 +01:00
Javi Velasco db43b1948e Use ClassNames in Tooltip 2015-11-28 20:21:52 +01:00
Javi Velasco 35f8f12ae6 Use ClassNames in Tabs and rename files 2015-11-28 20:19:42 +01:00
Javi Velasco c5d0d153b4 Use ClassNames in TableRow 2015-11-28 20:17:55 +01:00
Javi Velasco 95162002de Use ClassNames in Snackbar 2015-11-28 20:15:26 +01:00
Javi Velasco e328ffc5dd Use ClassNames in Slider 2015-11-28 20:03:08 +01:00
Javi Velasco 3b1e1f0b6e Use ClassNames in Radio 2015-11-28 19:54:45 +01:00
Javi Velasco 5a002b4712 Fix icons in icon menu example 2015-11-28 19:47:11 +01:00
Javi Velasco 215936f856 Use ClassNames in ProgressBar 2015-11-28 16:17:11 +01:00
Javi Velasco 7367964c86 Capitalize list component filename 2015-11-28 16:08:20 +01:00
Javi Velasco 794a385835 Use ClassNames in Menu 2015-11-28 16:08:00 +01:00
Javi Velasco edcb7f5244 Use ClassNames in ListItemCheckbox 2015-11-28 16:04:09 +01:00
Javi Velasco 2b9c615af6 Bugfix: rename with-legend class to withLegend 2015-11-28 16:01:38 +01:00
Javi Velasco 3d9b92164c Rename list to List and use ClassNames in ListItem 2015-11-28 15:58:51 +01:00
Javi Velasco bf726ba088 Use Classnames in Link 2015-11-28 15:55:09 +01:00