Commit Graph

887 Commits (a4810d8e73b1f7313bf0c2437261de42388d7204)

Author SHA1 Message Date
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 5d39761581 Merge pull request #457 from mattkauffman23/dev
Cleanup timers when Menu component unmounts to prevent exceptions
2016-04-16 19:06:15 +02:00
Matt Kauffman fe390faff3 Add missing semicolons 2016-04-15 13:27:22 -07:00
Matt Kauffman 81823483f6 Cleanup timers when Menu component unmounts to prevent calls on undefined objects 2016-04-15 12:39:37 -07:00
Magica d83951503b Fix the value of month in datepicker example
The value `date.getMonth()` returns is from 0 to 11.
2016-04-13 09:59:44 +08:00
Javi Velasco c612fdf83d Add onRippleEnded. Fixes #289 2016-04-12 22:26:49 +02:00
Javi Velasco 6665753a7a Indentify Avatar by constructur in Chip 2016-04-10 22:31:28 +02:00
Javi Velasco 0cb220544e Add Chip to component index 2016-04-10 22:14:19 +02:00
Javi Velasco 547aceb4e4 Merge branch 'dev'
* dev:
  Get rid of jsx extensions 🔮
  Fix linter error for layouts
  Fix #407
  Fix #425
  Fix #442
  Fix checking if key exists in Autocomplete
  Remove App from components index
  Add inputClassName prop to DatePicker and TimePicker
  Adapt pickers to calculate position with scroll
  Update linting
  Remove unneeded App
  Refactor Overlay into two components and make activable components render only when needed
  Use sass lint
  Lint spec files
  Bugfix: style for svg icons in button
  Reduce list unneeded markup
  Update documentation dependencies
  Update dependencies, linter and rules
  updates package.json to work with react 15
  Make drawer compliant with material design guidelines.
2016-04-10 21:54:47 +02:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco b0437cd089 Fix linter error for layouts 2016-04-10 20:45:37 +02:00
Javi Velasco 0277719942 Merge pull request #313 from patrick-jones/sidenav-283
Make drawer compliant with material design guidelines.
2016-04-10 20:21:54 +02:00
Javi Velasco 48e5c484c4 Fix #407 2016-04-10 19:22:15 +02:00
Javi Velasco ee4cc5437d Fix #425 2016-04-10 19:15:29 +02:00
Javi Velasco 7d73fb4216 Fix #442 2016-04-10 19:08:21 +02:00
Javi Velasco e45b0cbff8 Fix checking if key exists in Autocomplete 2016-04-10 19:00:13 +02:00
Javi Velasco 7e2d4dea9f Remove App from components index 2016-04-10 18:56:35 +02:00
Javi Velasco 47fba11857 Add inputClassName prop to DatePicker and TimePicker 2016-04-10 18:55:55 +02:00
Javi Velasco 0d1265e5a1 Adapt pickers to calculate position with scroll 2016-04-10 18:33:20 +02:00
Javi Velasco c3ef6bd25a Update linting 2016-04-10 17:49:23 +02:00
Javi Velasco baf4414719 Remove unneeded App 2016-04-10 17:44:42 +02:00
Javi Velasco 958cbb9539 Refactor Overlay into two components and make activable components render only when needed 2016-04-10 17:43:46 +02:00
Javi Velasco beeb6ab40a Use sass lint 2016-04-10 12:20:59 +02:00
Javi Velasco 3a206769f3 Bugfix: style for svg icons in button 2016-04-10 11:39:25 +02:00
Javi Velasco f6c8304a80 Reduce list unneeded markup 2016-04-10 11:39:04 +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
Javi Velasco 516a0a3c13 Update dependencies, linter and rules 2016-04-09 20:34:34 +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
Javi Velasco 5db11d3a9e Proper property sorting 2016-04-05 21:53:13 +02:00
Tobias Bales 542b58ade6 Add allowBlank to Dropdown
Since @nickw was having issues with the dropdown not defaulting to the
first entry if the value was null (even though the options had a null value in it)
this seems like a good time to add an option to default to the first element of the supplied options
(the prop is called allowBlank) in case the value is not found in the options.

The handling of null/undefined values has been fixed too and if there actually is a value of null
in the options it is correctly selected now.
2016-04-05 21:53:13 +02:00
Javi Velasco 08b73050e7 Merge pull request #423 from emiloberg/dialog-dont-show-nav-fix
Don't show actions container in dialog if no actions exist
2016-04-05 21:36:13 +02: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
Lucas Correia cbeef76230 Chip - tweak stroke width 2016-04-05 11:44:45 +02:00
Lucas Correia 703ed2767b Chip - Replace fonticon with inline SVG, tweak size and position 2016-04-05 10:54:30 +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 f96d00e523 Clean up chip styling, remove hover and pressed styles 2016-04-04 11:35:38 +02:00
Lucas Correia 1a4d3639a5 Update chip children prop type, readme 2016-04-04 11:34:48 +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
Javi Velasco 3cfcddd122 Merge pull request #406 from KerenChandran/autocomplete-single-object-selection
Fixed Object Single Selection Bug
2016-04-03 20:40:26 +02:00
Lucas Correia 620b494574 Update autocomplete component to use chips 2016-04-02 13:41:58 +02:00
Lucas Correia 821c3e1223 Add chip component 2016-04-02 13:37:21 +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
Emil Öberg ed1f3c65d8 Don't show actions container in dialog if no actions exist 2016-04-02 00:28:48 +02:00
Javi Velasco 6af9fa5970 Merge pull request #416 from gadicc/tabs-render-current
Tabs: only render content of current tab
2016-03-31 15:11:32 +02:00
Javi Velasco d2ccdc6936 Merge pull request #421 from gadicc/style-import-consistency
have Dialog.jsx import from './style' and not './style.scss'
2016-03-31 12:57:44 +02:00