Commit Graph

887 Commits (a4810d8e73b1f7313bf0c2437261de42388d7204)

Author SHA1 Message Date
Gadi Cohen b6b51a41fc only render content of current tab + linting, docs, test 2016-03-31 10:21:38 +02:00
Gadi Cohen b26e1f6fdc have Dialog.jsx import from './style' and not './style.scss' 2016-03-31 08:02:00 +02:00
Javi Velasco 2ceeabfdc5 Merge pull request #413 from KerenChandran/icon-button-on-mouse-leave
Added onMouseUp and onMouseLeave props to Icon Button
2016-03-31 00:23:16 +02:00
James Hycner d5eebd9fa9 Fix style changes from TravisCI build 2016-03-27 17:10:49 -07:00
James Hycner 6470b44d5a Change snackbar to fix issue where lingering timeouts would effect new activations 2016-03-27 16:29:08 -07: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 6cf753b767 Cleaned up Card documentation. 2016-03-26 18:37:29 -04:00
Keren Chandran a841408a85 Fixed Spacing Issues for items in last commit. 2016-03-26 18:28:20 -04:00
Keren Chandran 3649ab18b8 Updated docs for slider, snacker, switch, table, tabs and time picker 2016-03-26 18:21:17 -04:00
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