Commit Graph

928 Commits (40be14660fb78fd2e4bd46483f841cfdfdb2264e)

Author SHA1 Message Date
Keren Chandran 86e1dcada4 Updated Progress, Radio and Tooltip Readme. Aligned properties for ripple. 2016-03-25 13:06:09 -04:00
Keren Chandran c57b751ab4 Updated Navigation Readme. Aligned properties and added quotes around horizontal and vertical for type description. 2016-03-25 12:13:23 -04:00
Keren Chandran 324cce3dcc Aligned Menu Readme properties 2016-03-25 12:09:56 -04:00
Keren Chandran 2f113872b2 Updated Menu readme to include new properties and changed import statement to match other components 2016-03-25 12:03:30 -04:00
Keren Chandran 1a9fe24762 Fixed spacing for list readme 2016-03-25 11:42:17 -04:00
Keren Chandran e7a2622656 Updated List Documentation and example to include list divider 2016-03-25 11:37:12 -04:00
Keren Chandran 588ff398bc Updated Link readme and example to include active element. Also changed icon type from string to any. 2016-03-25 10:48:39 -04:00
Keren Chandran 21dc421d73 Updated Font Icon Examples. Also updated value type 2016-03-25 10:35:44 -04:00
Keren Chandran fe9312aad0 Fixed Dropdown readme example and updated properties. 2016-03-25 10:27:53 -04:00
Keren Chandran 368335864c Fixed spacing on drawer readme 2016-03-25 10:16:59 -04:00
Keren Chandran 6b81440425 Updated Dialog Example and sorted properties. 2016-03-25 10:11:13 -04:00
Keren Chandran 94280ce85a Updated Input doc and Example 2016-03-25 09:53:24 -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
Keren Chandran d3fcaef4c9 Updated Avatar readme and example 2016-03-25 08:34:47 -04:00
Keren Chandran 84946681f0 Sorted Appbar's properties. Updated Autocomplete's doc and example 2016-03-25 08:12:57 -04:00
Keren Chandran 9d2fe8fd98 Fixed Object Single Selection Bug 2016-03-24 20:31:36 -04:00
Javi Velasco 36e3a86c2e Merge pull request #399 from KerenChandran/autocomplete-show-selected
Renders Selected Item when multiple=false
2016-03-24 18:08:34 +01:00
Javi Velasco e73e7d4fd7 Merge pull request #394 from felipeleusin/dialog_esc_close
Allows to close dialog (and all overlays) when pressing esc
2016-03-24 18:07:37 +01:00
Javi Velasco d10c9e19ed Merge pull request #391 from arhamahmed/dev
IconButton onMouseLeave now calls the right function
2016-03-24 18:04:36 +01:00
Javi Velasco bdd37556c9 Merge pull request #398 from lucaas/add-default-to-sass-color-variables
Fix #397 Color sass variables missing !default not configurable
2016-03-24 18:03:34 +01:00
Javi Velasco 2f4fe41f29 Merge pull request #388 from mgcrea/dev
feat(ListItem): add className prop support
2016-03-24 18:03:12 +01:00
Javi Velasco 313ac71c86 Merge pull request #400 from kasperekt/dev
Introduce close() method
2016-03-24 18:02:29 +01:00
Javi Velasco 05289b494e Merge pull request #401 from kodermax/patch-1
this is correct
2016-03-24 18:01:55 +01:00
Maksim Karpychev 1d5970f42f this is correct 2016-03-23 17:20:29 +03:00
Tomasz Kasperek 9dcd1d6750 Introduce close() method 2016-03-23 12:35:24 +01:00
Keren Chandran bef1adf8fc Renders Selected Item when multiple=false 2016-03-22 21:52:32 -04:00
Lucas Correia acde309b3b Add default statements to color variables
This is necessary for them to be configurable via toolbox-loader
2016-03-22 14:25:26 +01:00
Felipe Amorim db752d2266 (feat) renamed to onEscKeyDown and fixed linting errors 2016-03-20 18:49:11 -03:00
Keren Chandran 19249d8756 Forgot to add required attribute to actual input element 2016-03-20 17:35:40 -04:00
Felipe Amorim 04c7b04ec6 allows to close dialog (and all overlays) when pressing esc 2016-03-20 18:27:36 -03:00
Patrick Jones 6e586a9353 Make drawer compliant with material design guidelines.
Fixes #283
2016-03-20 11:47:08 -05:00
Arham Ahmed 1aa67d5b3a fixes #389 2016-03-19 22:24:57 -04:00
Keren Chandran a022b2060a Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into input-required
# Conflicts:
#	components/input/Input.jsx
#	components/input/style.scss
2016-03-17 20:54:29 -04:00
Olivier Louvignes 6670e79903 feat(ListItem): add className prop support 2016-03-17 19:57:48 +01:00
Javi Velasco 7dfa13fb75 Merge pull request #368 from felipeleusin/datepicker_auto_ok
Datepicker auto ok
2016-03-17 08:39:48 +01:00
Javi Velasco 3164ed71b2 Merge pull request #371 from KerenChandran/dev
Added hint attribute to input field.
2016-03-17 08:37:10 +01:00
Javi Velasco 5e1bd61b40 Merge pull request #381 from KerenChandran/input-no-error-focus
Removed Error styling when input field is in focus
2016-03-17 08:33:09 +01:00
Javi Velasco 69e6b928b8 Merge pull request #387 from sosaucily/disable_animated_bottom_border_on_tabs
Allow disabling animated bottom border on tabs
2016-03-17 08:32:00 +01:00
Javi Velasco 688f3944d4 Merge pull request #386 from sosaucily/add_activeClassName_to_tab
add activeClassName to tab component
2016-03-17 08:31:05 +01:00
Jesse Smith 1cda333723 update readme for tabs 2016-03-16 14:59:20 -07:00
Jesse Smith a2543d4a11 Allow disabling animated bottom border on tabs 2016-03-16 14:56:20 -07:00
Jesse Smith 52682c5774 add activeClassName to tab component 2016-03-16 14:36:27 -07:00
Jesse Smith 380da26db9 Fix #361 cancel timer when tabs component unmounts 2016-03-16 10:49:12 -07:00
Keren Chandran c2374ad29f Removed Error styling when input field is in focus 2016-03-12 19:33:18 -05:00
Keren Chandran cc32e5a1bd Created required behaviour for input 2016-03-12 19:05:19 -05:00
Keren Chandran fef2f55e15 Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into dev 2016-03-12 17:30:14 -05:00
Keren Chandran 4dcb2d0b61 Changed HTML element from label to span 2016-03-10 08:45:51 -05:00
Tobias Bales c812d4c176 Correctly handle zero as dropdown value
This is only an issue if the dropdown item with the value 0
is not the first item still better to properly handle it I think.
2016-03-10 11:13:39 +01:00
Keren Chandran d2202e1a9f Added hint attribute to input field. 2016-03-09 23:23:35 -05:00
Felipe Amorim 240864f950 DatePicker autoOk prop 2016-03-09 19:14:58 -03:00
Javi Velasco 5184e872da Merge pull request #370 from arhamahmed/dev
fixes #369
2016-03-09 22:14:18 +01:00
Javi Velasco 91f4540ddd Merge pull request #363 from suancarloj/patch-2
Fixes small typos in AutoComplete documentation
2016-03-09 22:13:07 +01:00
Javi Velasco 7bfe7d7d8e Merge pull request #366 from felipeleusin/datepicker_format
Allows to format the date displayed on datepickers input
2016-03-09 22:12:23 +01:00
Arham Ahmed 0b16eefabc fixes #369 2016-03-09 11:52:36 -05:00
Felipe Amorim 756a3a9731 fixed linting errors on utils/time.js 2016-03-09 11:07:16 -03:00
Juan Carlos Sanchez Cardenas f81056f21b Changed the set state key to countries instead of value 2016-03-09 11:57:31 +01:00
Felipe Amorim 16ed92693a allows to format the date displayed on datepickers input 2016-03-08 17:45:39 -03:00
Keren Chandran 953c2098a6 Modified z-index to include default 2016-03-08 09:22:58 -05:00
Juan Carlos Sanchez Cardenas 01e2eabd6f Fixes small typos in AutoComplete documentation 2016-03-08 14:50:05 +01:00
Javi Velasco e97c8da983 Merge pull request #358 from TobiasBales/fix-label-for-number-input-with-zero-value
Fix label for number inputs with 0 as value
2016-03-08 09:58:55 +01:00
Javi Velasco 852c3ea4f2 Fix #316 2016-03-06 20:25:39 +01:00
Tobias Bales 5029b0d03e Fix label for number inputs with 0 as value
For an

   <Input type="number" label="label text"/>

the label would overlay the value when it was set to 0 (the integer)
since the checking logic checked for javascript "trueishness".
Now the check is explicit against null, undefined, empty string and NaN.
2016-03-06 14:09:41 +01:00
Javi Velasco 10758163be Use falsy when cloning menuitems to check if element should be treated 2016-03-06 12:13:47 +01:00
Javi Velasco f1a098d9fa Fix #290 2016-03-05 21:53:52 +01:00
Javi Velasco a64d5e4c50 Fix #302 2016-03-05 21:43:17 +01:00
Javi Velasco 993afbce39 Fix #356 2016-03-05 21:37:07 +01:00
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