Commit Graph

107 Commits (afde8b1aa21122aabac1145346ad74f2c4a1782e)

Author SHA1 Message Date
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