Commit Graph

174 Commits (792f8acc42cce6b167c69e93fdbf77e5eafe0825)

Author SHA1 Message Date
Justin Schultz a61aa5cb8a Fix #697 - Autocomplete KeyUp enter fix 2016-08-15 16:00:11 -06:00
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +02:00
Weiler 01711e6658 Fixes linting errors 2016-08-06 18:37:16 -07:00
Weiler 0bce911718 Fixes Autocomplete error when provided value prop that is not in source option while preserving value text 2016-08-06 18:08:41 -07:00
Javi Velasco a825208e83 Remove some bind usage in render functions and undo passing down Dropdown theme to Input 2016-08-06 22:44:05 +02:00
Javi Velasco 19543a7e3c Merge branch 'therealparmesh-master' into dev
* therealparmesh-master:
  Fixed Autocomplete such that it does not error when provided with a value prop that does not exist in the source prop.
  1.0.3 release
2016-08-06 19:34:25 +02:00
Javi Velasco 40934393ab Change name from create to allowCreate in Autocomplete and fix linter warnings 2016-08-06 19:28:30 +02:00
Parmesh Krishen 59b01e640f Fixed Autocomplete such that it does not error when provided with a value prop that does not exist in the source prop. 2016-08-02 17:47:32 -05:00
Che' Jansen 3461a1fba3 Add create option to autocomplete 2016-07-28 12:53:09 +10:00
Javi Velasco 462990c171 Merge pull request #646 from farwayer/autocomplete-activate-fix
Fix autocomplete activating on react>=15.1 if no direction
2016-07-24 13:22:54 +02:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
farawayer f3b460eabd fix autocomplete activating on react>=15.1 if no direction 2016-07-15 20:34:14 +03:00
Javi Velasco 3e29844e63 Update to react 15.2.0 2016-07-04 22:03:57 +02:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03:00
Javi Velasco 0bc5b1d776 Merge pull request #569 from ro-savage/autocomplete-autoselect-first-option
Feature - Autocomplete - Added autoselect first option on enter
2016-06-19 21:13:17 +02:00
Jake Klingler afe5bf1ba3 add 'suggestionMatch' prop to Autocomplete component to determine how suggestions are matched 2016-06-15 11:16:11 -06:00
Ro Savage 7bffe8a6f0 Added autoselect first option on enter 2016-06-15 14:02:14 +12: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 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
yuristrelets 19566ddb31 fix receive props for Autocomplete component
For multiple=false components value is broken, because it isn't extracted from Map.
2016-06-03 17:06:52 +03:00
Javi Velasco 1386a1551d Destructuring React for some components 2016-05-29 12:47:27 +02:00
Javi Velasco d04c181fdf Better readmes for autocomplete avatar chip and input 2016-05-28 17:58:43 +02:00
Javi Velasco 85e248c0c4 Autoinject Autocomplete, Avatar, Chip and Input 2016-05-28 17:44:29 +02:00
Javi Velasco 92b170fce5 Migrate autocomplete 2016-05-21 19:48:53 +02:00
Javi Velasco 563868b90e Merge pull request #484 from lucaas/fix-483-autocomplete-unintuitive-filter-behaviour-with-multiple-false
Fix #483: Autocomplete unintuitive filter behavior with multiple=false
2016-05-21 19:11:36 +02:00
Lucas Correia cb4b73647f Refactor autocomplete suggestions method to make it more readable 2016-05-20 16:23:43 +02:00
Lucas Correia c70618471c Clear autocomplete query input when pressing backspace and showing all suggestions 2016-05-20 15:35:20 +02:00
Lucas Correia 5dfee66632 Add showSuggestionsWhenValueIsSet prop, used to control autocomplete filter behaviour when multiple=false 2016-05-20 15:24:06 +02:00
Lauri Lüüs 12e572f7fe Autocomplete element size
Suggestion element will render font size based on body size, so these elements getting to small. 
This change will make suggestion element to be consistent size of other elements.
2016-04-28 02:09:27 +03:00
Lucas Correia a4810d8e73 Change autocomplete filter behaviour when multiple=false
Adds a showAllSuggestions state, which is set to true initially.
It is set to false when the input is changed, and is used to control if
the shown suggestions should be filtered based when the multiple prop is false.
Once a value is set, the state will be reset to true.
2016-04-27 15:50:26 +02:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco ee4cc5437d Fix #425 2016-04-10 19:15:29 +02:00
Javi Velasco e45b0cbff8 Fix checking if key exists in Autocomplete 2016-04-10 19:00:13 +02:00
Javi Velasco c3ef6bd25a Update linting 2016-04-10 17:49:23 +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
Javi Velasco 079eb7663f Merge pull request #433 from ro-savage/autocomplete-add-selected-position
Add prop to autocomplete to place labels below or above input
2016-04-05 21:35:19 +02:00
Ro Savage d41a77cf37 Add prop to autocomplete to place labels below or above input 2016-04-05 17:26:37 +12:00
Lucas Correia ae8b22a174 Merge branch 'dev' into add-chip-component 2016-04-04 11:41:04 +02:00
Lucas Correia dff8a07949 Use children instead of special label and avatar props in Chip component 2016-04-04 11:24:30 +02:00
Lucas Correia 08675d69d2 Add onDeleteClick property 2016-04-04 10:27:41 +02:00
Javi Velasco 5e40156304 Merge pull request #427 from emiloberg/default-values-in-configs
Added !default to all config values
2016-04-04 09:48:21 +02:00
Lucas Correia 620b494574 Update autocomplete component to use chips 2016-04-02 13:41:58 +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 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
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
Javi Velasco 5184e872da Merge pull request #370 from arhamahmed/dev
fixes #369
2016-03-09 22:14:18 +01:00
Arham Ahmed 0b16eefabc fixes #369 2016-03-09 11:52:36 -05:00
Juan Carlos Sanchez Cardenas f81056f21b Changed the set state key to countries instead of value 2016-03-09 11:57:31 +01:00
Juan Carlos Sanchez Cardenas 01e2eabd6f Fixes small typos in AutoComplete documentation 2016-03-08 14:50:05 +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 3c6b7afcc1 Fixe autocomplete 2016-01-06 12:56:30 +01:00
Araphel f6047f880f Bebel 6 Integrated, Stage-0 added, React updated 2015-12-23 14:21:41 -07:00
Javi Velasco 802f50f4b3 Use full Toolbox input in autocomplete 2015-12-20 17:50:57 +01:00
Javi Velasco 40888bbb1d Change webkit scrollbar removal for a mixin 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
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 4affcc8636 Merge branch 'deep-restructure' of github.com:soyjavi/react-toolbox into deep-restructure
* 'deep-restructure' of github.com:soyjavi/react-toolbox:
  Using the new interface for all form fields components.
  New interface for onChange event (value, event)
  New interface for onChange event (value, event)
2015-11-26 01:54:00 +01:00
Javi Velasco c9061e27e1 Use classNames in Autocomplete 2015-11-25 20:35:56 +01:00
@soyjavi 51ca0fab20 New interface for onChange event (value, event) 2015-11-25 20:56:12 +07:00
Miguel Ping 726a7772ee Fix array check on autocomplete 2015-11-24 12:59:19 +00: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 364e270da1 Better imports organization. Fixes #140 2015-11-21 14:26:17 +01:00
Enzo Martin addc7f312b Remove all `unquote` calls
- Use SASS RGBA directly when modifying the opacity
2015-11-19 12:21:51 +01:00
Stan 1cf41fe8de [autocomplete] Fix #134 2015-11-19 11:02:10 +01:00
@soyjavi 477b770edd New property 'maxLength' 2015-11-18 15:19:58 +07:00
@soyjavi 7aec1852ee minor changes 2015-11-10 19:33:38 +07:00
Javi Velasco 703d4c6130 Extract state from autocomplete 2015-11-08 16:49:00 +01:00
Javi Velasco 3b48501e9b Remove dataSource state from autocomplete 2015-11-05 17:22:06 +01:00
Javi Velasco 8e5150c4d8 Bugfix: read input DOM reference with ReactDOM in autocomplete 2015-11-05 11:53:00 +01:00
Javi Velasco e1b9c6f8b4 Missing stuff from the previos commit 😂 2015-11-01 23:11:32 +01:00
Javi Velasco 7c87940c8f Improve markdown format 2015-10-31 21:55:12 +01:00
Javi Velasco 4eb0c1b749 Add documentation for date picker and remove structure section from other docs 2015-10-31 20:03:49 +01:00
Javi Velasco 303ca9cbad Add language legend to markdown docs 2015-10-31 19:44:51 +01:00
Javi Velasco 1e662d12bf Improve documentation for appbar autocomplete and button 2015-10-31 13:37:28 +01:00
Javi Velasco 484db1ea4b Add documentation and example for appbar and autocomplete 2015-10-31 02:09:11 +01:00
@soyjavi d180bbe063 First steps styling documentation and enhaced style for <Appbar> and <Drawer> 2015-10-29 13:42:14 +07: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 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 0abc1e1897 Remove flex data attributes from components 2015-10-21 02:16:42 +02:00
Javi Velasco 4511d8a4fd Move autocomplete property values to variables 2015-10-20 23:51:41 +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 9ad9f357a3 use es6 classes & remove react-addons-pure-render-mixin 2015-10-20 13:40:51 +08:00
Javi Velasco c9b6f1237a Migrate to React 0.14 and migrate date picker to sass 2015-10-11 19:07:29 +02:00
@soyjavi 8114e9e93b Merged 2015-10-10 20:48:55 +07:00
@soyjavi 736846a5a6 Uniform styles in <Autocomplete> and <Dropdown> 2015-10-10 10:26:21 +07:00
Javi Velasco 5167b355ae Add some todos for input and autocomplete 2015-10-09 19:55:11 +02:00