Commit Graph

200 Commits (master)

Author SHA1 Message Date
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
Javi Velasco e8bab3de45 Migrate input to SCSS 2015-10-09 19:48:30 +02:00
@soyjavi 92fd57768b Suggestions direction and width based in :root 2015-10-08 21:21:42 +07:00
Javi Velasco bf6b53af67 More specific style for autocomplete 2015-10-08 10:14:47 +02:00
@soyjavi 021f37de0b Use data-react-toolbox for metrics. 2015-10-06 09:42:56 +07:00
Javi Velasco d9b329c4b7 Remove css modules 2015-10-04 15:34:12 +02:00
Javi Velasco 74cc059751 Migrate style to sass for autocomplete 2015-10-02 19:10:42 +02:00
Javi Velasco 736fce8dba Refactor autocomplete 2015-09-14 09:58:26 +02:00
Javi Velasco 6aca3d6866 Port autocomplete to ES6 and bugfixes 2015-09-13 22:05:24 +02:00
Javi Velasco 2fcdbf18cc Rename coffescript version 2015-09-10 20:58:13 +02:00
Javi Velasco f2ad55bfe1 Add first version of ES6 autocomplete 2015-09-10 20:57:56 +02:00
Javi Jimenez Villar 910277d8b0 String convention 2015-07-29 10:46:05 +07:00
Javi Jimenez Villar ada04366be string convention 2015-07-29 09:57:08 +07:00
Javi Jimenez Villar d9774f5f50 Autocomplete 2015-07-29 00:15:05 +07:00
Javi Jimenez Villar 3912b92d5e Use Material Design naming for stylesheets. 2015-07-21 16:24:14 +07:00
Javi Jimenez Villar 3a2f8809df You can select item with keyboards 2015-07-21 10:51:02 +07:00
Javi Jimenez Villar 83b9c43113 Use label in upper level 2015-07-17 14:45:42 +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 Jimenez Villar e1743747a5 Reorder properties in MD and in CJSX 2015-07-07 16:30:22 +07:00
Javi Jimenez Villar 1c715590aa Documentation for <Aside/> and <Autocomplete/> 2015-07-02 18:18:07 +07:00
Javi Jiménez 70418aac37 Handle no values 2015-06-26 09:05:03 +07:00
Javi Jimenez Villar bbefc80aa5 Improved <Autocomplete/> using a new property "color" 2015-06-24 16:44:46 +07:00
Javi Jimenez Villar 7eb81fbdcd Fixed typo "suggestions" 2015-06-22 17:36:17 +07:00
Javi Jimenez Villar 5bcf990337 Refolder components for a better require flow. 2015-06-22 17:13:08 +07:00