Commit Graph

145 Commits (61b48452bff13e32dc511eaf7d10cd2cec471ee7)

Author SHA1 Message Date
Javi Velasco c3ef6bd25a Update linting 2016-04-10 17:49:23 +02:00
Javi Velasco beeb6ab40a Use sass lint 2016-04-10 12:20:59 +02:00
Javi Velasco 1bebb149c8 Merge pull request #439 from csmcanarney/patch-1
Revert input error color
2016-04-09 20:44:05 +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
Calvin McAnarney 27e59dfdc7 Revert input error color 2016-04-06 22:04:57 +02: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 fe9312aad0 Fixed Dropdown readme example and updated properties. 2016-03-25 10:27:53 -04:00
Keren Chandran 94280ce85a Updated Input doc and Example 2016-03-25 09:53:24 -04:00
Keren Chandran 19249d8756 Forgot to add required attribute to actual input element 2016-03-20 17:35:40 -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
Javi Velasco 3164ed71b2 Merge pull request #371 from KerenChandran/dev
Added hint attribute to input field.
2016-03-17 08:37:10 +01: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 4dcb2d0b61 Changed HTML element from label to span 2016-03-10 08:45:51 -05:00
Keren Chandran d2202e1a9f Added hint attribute to input field. 2016-03-09 23:23:35 -05: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
Rodion ef0fe1108e renderInput() method never used
removing unused method
2016-03-04 18:16:31 +01:00
Tucker Connelly 0227b0d2d0 Change error PropType to node on Input 2016-02-23 17:55:27 -05:00
Juan Peri 998b5a44b7 Enable Element to behave as Icon 2016-01-20 00:01:20 +01:00
Javi Velasco 027fc12600 Add missing variable for chevron 2015-12-20 17:51:46 +01:00
Javi Velasco 2c7d308271 Use Input component in dropdowns and make it homogeneous 2015-12-20 17:01:02 +01:00
avijohnson ffa5044e20 Add maxLength attribute to input component 2015-12-16 14:25:01 -08: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
Javi Velasco 083586304b Fixes #180 2015-12-03 00:48:32 +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 da0f1a631e Remove jsx extension from imports in components 2015-11-28 20:24:46 +01:00
@soyjavi e9566d0e59 New interface for onChange event (value, event) 2015-11-25 17:40:14 +07:00
@soyjavi fd0e565013 New interface for onChange event (value, event) 2015-11-25 17:24:06 +07:00
Nathan Marks f3d047e820 Remove jsx extension from component index files, replace with js 2015-11-22 17:49:46 -05:00
Javi Velasco cfebdb55f4 Rename most components index to actual components 2015-11-22 21:41:28 +01:00
Javi Velasco 1611b491fa Rename some components to new naming approach 2015-11-22 19:20:05 +01:00
Javi Velasco 7bc8721caa Merge pull request #125 from jonathanp/refactor-classname-generation
Proposal to change class list generation in components
2015-11-21 19:59:50 +01:00
jpersson f5134d256c Replace dependency `classnames-minimal` with `classnames` 2015-11-21 13:04:09 -05:00
Javi Velasco e8325e5122 Solve conflicts 2015-11-21 13:02:46 +01:00
@soyjavi ef6bd0899d New property delay in milliseconds. 2015-11-21 11:27:33 +07:00
jpersson e76cec03f0 Merge branch 'master' into refactor-classname-generation 2015-11-19 14:26:09 -05:00
Enzo Martin addc7f312b Remove all `unquote` calls
- Use SASS RGBA directly when modifying the opacity
2015-11-19 12:21:51 +01:00
@soyjavi 477b770edd New property 'maxLength' 2015-11-18 15:19:58 +07:00
jpersson 76a7e913ea Refactor class list generation in `Input` component 2015-11-17 20:28:25 -05:00
Javi Velasco 54ad233dd6 Fix scss linter errors and bugfix in snackbar 2015-11-18 01:15:07 +01:00
Javi Velasco b61619b6a3 Merge master and solve conflicts 2015-11-11 10:28:01 +01:00
@soyjavi f4d2db466d Merge branch 'master' of https://github.com/react-toolbox/react-toolbox
* 'master' of https://github.com/react-toolbox/react-toolbox:
  Proper import path for documentation files
  Proper link for donations
2015-11-10 18:58:40 +07:00
@soyjavi 34cef32038 New rule for <Input> (type: date or time) 2015-11-10 18:58:35 +07:00
Javi Velasco 67ab8746a9 Proper import path for documentation files 2015-11-10 11:07:43 +01:00
Javi Velasco 24be10da65 Update with master 2015-11-08 18:06:39 +01:00
Javi Velasco 703d4c6130 Extract state from autocomplete 2015-11-08 16:49:00 +01:00
Javi Velasco f5957bc043 Stateless input 2015-11-07 23:38:26 +01:00
@soyjavi 147088bfa3 Alphabetical Order for properties and methods 2015-11-07 09:36:51 +07:00
@soyjavi d0c8e4afdf Control visibility with JavaScript (decoupled way for any kind of element or <Component>) 2015-11-06 00:44:10 +07:00
Javi Velasco a049d99341 Add input docs 2015-11-01 08:41:40 +01:00
@soyjavi 2423d09a4f Rename component doc to readme.md 2015-10-28 22:09:09 +07:00
ustccjw 4fb976a00d update webpack dev, test and build & update eslint rule 2015-10-23 16:11:40 +08:00
Javi Velasco 4a9d8cfa40 Improvements for build 2015-10-23 01:26:12 +02:00
Javi Velasco 7c43f935a1 Babel to stage 2 and remove decorators 2015-10-22 01:31:17 +02:00
Javi Velasco ec6e72bbd9 Resolve linter errors 2015-10-21 12:25:10 +02:00
ustccjw 6c278f25d0 use autobind-decorator 2015-10-21 14:13:24 +08:00
ustccjw 227727e860 fix conflict 2015-10-21 10:58:11 +08:00
Javi Velasco 6f9b8809b6 Csscomb for inputs 2015-10-21 01:53:01 +02:00
Javi Velasco da2c85c588 Remove unneeded css variables 2015-10-20 21:38:33 +02:00
Javi Velasco 33a508ca0a Setup new file structure for sass files 2015-10-20 21:15:21 +02:00
ustccjw 7ff854f40f fix es6 class react this bind 2015-10-20 17:06:26 +08:00
ustccjw 9ad9f357a3 use es6 classes & remove react-addons-pure-render-mixin 2015-10-20 13:40:51 +08:00
Javi Velasco 4e739067ca Fix linter errors in input scss 2015-10-12 12:53:42 +02:00
@soyjavi d516ff23a7 New property 'icon' 2015-10-12 15:10:49 +07:00
Javi Velasco c9b6f1237a Migrate to React 0.14 and migrate date picker to sass 2015-10-11 19:07:29 +02:00
Javi Velasco dd864dcc22 Migrate progressbar and slider to sass 2015-10-10 11:25:47 +02:00
Javi Velasco 5167b355ae Add some todos for input and autocomplete 2015-10-09 19:55:11 +02:00
Javi Velasco e8bab3de45 Migrate input to SCSS 2015-10-09 19:48:30 +02:00
Javi Velasco e87523b0b3 Rewrite component tests in ES6 2015-09-21 10:10:44 +02:00
Javi Velasco e223c5973e rewrite input in es6 2015-09-20 22:21:11 +02:00
Javi Velasco 6aca3d6866 Port autocomplete to ES6 and bugfixes 2015-09-13 22:05:24 +02:00
Javi Velasco 7a0c47f211 Merge with master 2015-09-03 21:24:45 +02:00
Javi Velasco 334e4d0665 Name input and dialog components 2015-09-03 21:14:18 +02:00
Javi 4217e5289d Improved <Input/> 2015-08-20 11:14:39 +07:00
Javi 5464fc56d0 New methods .blur and .focus 2015-08-10 17:13:44 +07:00
Javi Jimenez Villar d7c3d1faad Input 2015-07-29 10:23:09 +07:00
Javi Velasco 4934975e70 Remove explicit react dependency from input component 2015-07-24 13:01:31 +02:00
Javi Velasco 7958fad797 Test proof of concept 2015-07-23 20:40:30 +02:00
Javi Jimenez Villar 3912b92d5e Use Material Design naming for stylesheets. 2015-07-21 16:24:14 +07:00
Javi Jimenez Villar ff7965b37e When type is "hidden" add className .hidden 2015-07-17 14:43:41 +07:00
Javi Jimenez Villar d99c275300 Classes for different states 2015-07-15 21:18:51 +07:00
Javi Jimenez Villar d227181cc5 Consolidate keys and values with proptype.any 2015-07-13 21:15:03 +07:00
Javi Jimenez Villar 5775ab405b Consolidate properties 2015-07-13 21:09:57 +07:00
Javi Velasco 8344e94a37 Merge with master and solve conflicts 2015-07-07 22:43:55 +02:00
Javi Jimenez Villar e1743747a5 Reorder properties in MD and in CJSX 2015-07-07 16:30:22 +07:00
Javi Jimenez Villar fca4d8a180 Use className as property 2015-07-03 07:56:02 +07:00
Javi Jimenez Villar ca823ecc52 Documents for <Aside/> and <Input/> 2015-07-01 13:38:07 +07:00
Javi Jimenez Villar 9fc0199070 Fixed error: @state.value does not work with multiline=true 2015-06-30 10:58:37 +07:00
Javi Jimenez Villar 7fdbc0a809 New property "disabled" and refactor constants colors 2015-06-28 09:28:36 +07:00
Javi Jimenez Villar 5bcf990337 Refolder components for a better require flow. 2015-06-22 17:13:08 +07:00