Commit Graph

1256 Commits (089c5b69f7e22bbe2bb05c1f3dac675e61d8aa16)

Author SHA1 Message Date
James Browne 02cd7b57cf Changes double quotes to single quotes 2016-09-16 09:59:49 +01:00
James Browne bcb091bbf9 Makes sure that overlay: hidden is removed from the body tag when an overlay is closed in IE11. 2016-09-15 17:13:22 +01:00
Stian Jensen df97407ebf Correct docs for CardTitle component
`large` is applied when the CardTitle has no avatar, not the other way around.
2016-09-14 16:18:23 +02:00
Nathan Ducrey 9edc8bd32d Add onBlur and onFocus props in Autocomplete component 2016-09-14 10:25:38 +02:00
Maksim b8d59f7b4c Russian locale 2016-09-12 13:34:16 +03:00
Antony Lau ac8b6d61a7 Replace onMouseDown with onClick in DatePicker and TimePicker 2016-09-07 23:46:44 +08:00
Aleksander Vognild Burkow f0774034b5 Pass down theme from Card title to nested Avatar
The current approach to theme the nested avatar was by adding a div:first-child selector in the .cardTitle class.
A bit less than ergonomic.
2016-09-07 13:11:56 +02:00
Per Bergqwist 5795b41561 Fix import warning using npm types and typescript 2016-09-07 09:47:07 +02:00
Alex Cornejo 405c23e778 fix active year style in date picker.
The active year font-size didn't have the units set (which means it
didn't work). Also to better match the material design spec the
font-weight for active years is set to semi-bold.
2016-09-06 23:32:32 -07:00
Javi Velasco bbee9ef7c1 Fix #770 2016-09-06 22:19:28 +02:00
Javi Velasco 199befece3 Change active tab display to flex 2016-09-05 22:36:24 +02:00
Javi Velasco 48c04c0f37 Fix #768 2016-09-05 20:28:24 +02:00
Javi Velasco 80a8a9e69f Fix linting issues 2016-09-03 16:27:31 +02:00
Javi Velasco ccc1699cc4 Fix #630 2016-09-03 16:08:52 +02:00
Javi Velasco c71f58028b Clone RadioButton children in RadioGroup 2016-09-03 16:02:04 +02:00
Javi Velasco d86e4a5956 Fix #755 2016-09-03 14:25:12 +02:00
Javi Velasco 8cac34930f Merge branch 'laucheukhim-dev' into dev
* laucheukhim-dev:
  Add onClick propType
  Replace onMouseDown wth onClick in Dropdown
2016-09-03 12:35:53 +02:00
Javi Velasco 6ddaf9a216 Ajust pointer 2016-09-03 12:35:49 +02:00
Javi Velasco 25d7ad4127 Merge branch 'dev' of https://github.com/laucheukhim/react-toolbox into laucheukhim-dev
* 'dev' of https://github.com/laucheukhim/react-toolbox:
  Add onClick propType
  Replace onMouseDown wth onClick in Dropdown
2016-09-03 12:32:17 +02:00
Javi Velasco a0ab5a3815 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Adding hideMode to Tabs
2016-09-03 12:23:49 +02:00
Javi Velasco fcea0e437f DI change in AppBar 2016-09-03 12:23:22 +02:00
Javi Velasco 37d61a44a4 Merge branch 'appbar-icons' of https://github.com/acornejo/react-toolbox into acornejo-appbar-icons
* 'appbar-icons' of https://github.com/acornejo/react-toolbox:
  Add app_bar title, leftIcon and rightIcon props.
2016-09-03 12:11:52 +02:00
Javi Velasco 518b2f48ed Merge pull request #751 from abhirao/tab_hide_modes
Adding hideMode to Tabs
2016-09-03 12:09:09 +02:00
Javi Velasco 3b9a6aed5f Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Import React namespace, fix problem with @types
  Fixed errors for Typescript 2.0.2
  Added ability to navigate calendar with keyboard
2016-09-03 12:05:18 +02:00
Javi Velasco 74280c66fa Merge pull request #705 from ro-savage/calendar-arrow-selection
Added ability to navigate calendar with keyboard
2016-09-03 12:05:01 +02:00
Javi Velasco a8bfcf1ad9 Merge pull request #752 from normano64/typescript-2.0.2
Fixed errors for Typescript 2.0.2
2016-09-03 11:55:56 +02:00
Javi Velasco fd5378dbab Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Commit build
  Make Table multi-selectable again
2016-09-03 11:50:57 +02:00
Javi Velasco d9e77fc90d Merge pull request #764 from KaleoSoftware/fix-table-multiselect
Make Table multi-selectable again
2016-09-03 11:50:31 +02:00
Javi Velasco 6a488b3e21 Better tabs with icons 2016-09-03 11:48:05 +02:00
Javi Velasco 29638c7374 Merge pull request #740 from acornejo/tab-icons
add tab icons.
2016-09-03 11:15:57 +02:00
Javi Velasco 3235a68c7b Merge pull request #754 from rubble/calendar_change_view_month
use Event.currentTarget in Calendar.changeViewMonth
2016-09-03 11:15:10 +02:00
Javi Velasco 120bf58356 Merge pull request #758 from rubenmoya/dev
Fix table borders (Issue #476)
2016-09-03 11:13:29 +02:00
Tucker Connelly dcd53a4e75 Make Table multi-selectable again 2016-09-02 11:32:55 -04:00
Per Bergqwist def8643a0a Import React namespace, fix problem with @types 2016-09-02 09:18:33 +02:00
deniss-muhla f37626ac91 Update index.d.ts
Wrong type for ListSubHeaderProps.caption. Should be string instead of boolean.
2016-09-02 08:37:22 +03:00
rubenmoya 64a859e9df Fix table border 2016-09-01 12:12:23 +02:00
Marcin Szamotulski 8a91ab3bed use Event.currentTarget in Calendar.changeViewMonth
Also do the same on Calendar.handleYearClick.
2016-08-31 19:01:38 +01:00
Per Bergqwist 34313b823e Fixed errors for Typescript 2.0.2 2016-08-31 08:41:16 +02:00
Abhi Rao 8e0b64f852 Adding hideMode to Tabs
- Defaulting to `unmounted` - not mounting inactive tabs. `display` mode will mount inactive tabs but keep them hidden.
- Closes #709
2016-08-30 15:08:22 -05:00
Alex Cornejo d4c0c4d8ba Add app_bar title, leftIcon and rightIcon props.
Here we add some basic default functionality for the most common use
cases of the AppBar component. It is still possible to provide and style
your own elements through children props, but for most use cases the
props will help reduce the amount of boilerplate.
2016-08-29 08:53:25 -07:00
Alex Cornejo 5c2406d2e5 add tab icons.
This adds the possibility of specifying an icon to use in the tab
headers. You can specify either a label only, icon only or both.

https://material.google.com/components/tabs.html#tabs-usage
2016-08-28 16:15:35 -07:00
Javi Velasco f9d6d3b1c6 Merge pull request #736 from acornejo/fullscreen-dialog
add fullscreen dialog.
2016-08-28 22:51:54 +02:00
Javi Velasco 21fc65eda5 Merge pull request #744 from david-cho-lerat-HL2/patch-4
Update readme.md
2016-08-28 22:48:44 +02:00
Antony Lau f7604477a0 Add onClick propType 2016-08-27 23:42:29 +08:00
Antony Lau 83011cb7bb Replace onMouseDown wth onClick in Dropdown 2016-08-27 09:19:51 +08:00
David Cho-Lerat 0ea3849771 Update readme.md
The 'direction' property value is 'down', not 'bottom'
2016-08-25 21:46:02 +02:00
Andrew Sprouse e2ed42bd3b Remove overly strict children propType validation. fixes #641 2016-08-25 11:27:02 -04:00
Alex Cornejo 179323ccda add fullscreen dialog.
A first version of fullscreen dialogs as defined in the material spec
https://material.google.com/components/dialogs.html#dialogs-full-screen-dialogs
2016-08-25 00:21:39 -07:00
Javi Velasco 0bd7eb8cb0 Merge pull request #726 from ronderksen/theme-tab-sub-components
Theme tab sub components
2016-08-24 20:37:03 +02:00
Javi Velasco 84ffda3bd3 Merge pull request #730 from laucheukhim/dev
Add onTouchStart to ListItem
2016-08-24 20:15:00 +02:00
Javi Velasco 1d7161e5ee Merge pull request #735 from jussch/patch-2
Passes IconMenu's theme to the inner Menu.
2016-08-24 20:09:12 +02:00
Justin Schultz 9d7e3db263 Passes IconMenu's theme to the inner Menu. 2016-08-24 10:25:33 -06:00
Antony Lau 6f7a5433b6 Add onTouchStart to ListItem 2016-08-23 23:06:45 +08:00
Ron Derksen 908ad72533 Merge branch 'dev' into theme-tab-sub-components 2016-08-23 14:53:10 +02:00
Ron Derksen b220c70729 Theme is now passed on to tab subcomponents 2016-08-23 14:47:35 +02:00
Ben Fox-Moore 29b04f2b14 Replace react-addons-update with immutability-helper as Facebook are deprecating their addon 2016-08-23 02:05:32 +02:00
Javi Velasco abf91d3d24 Fix #711 2016-08-22 22:39:44 +02:00
Javi Velasco b528ab1191 Fix #713 2016-08-22 22:32:15 +02:00
Javi Velasco 13d2590205 Merge 2016-08-22 22:30:36 +02:00
Javi Velasco 19db17d44f Merge pull request #702 from Reanmachine/reanmachine/fix-iconbutton-alignment
Fixed #696 - Button Icon/Inner Alignment
2016-08-22 20:59:09 +02:00
Javi Velasco 766eeac4e2 Merge pull request #706 from Reanmachine/reanmachine/tabs
Support for fixed & inverse color tabs.
2016-08-22 20:57:58 +02:00
Javi Velasco 006559e7cc Fix ripple 2016-08-21 18:44:04 +02:00
Justin Schultz a61aa5cb8a Fix #697 - Autocomplete KeyUp enter fix 2016-08-15 16:00:11 -06:00
Aren Blondahl 8dedcfce77 Fixed linting errors. 2016-08-11 21:31:08 -06:00
Aren Blondahl 9bf1c8e4fe Support for fixed & inverse color tabs. 2016-08-11 21:03:18 -06:00
Ro Savage ad2a8e8459 Added ability to navigate calendar with keyboard 2016-08-11 12:05:06 +12:00
Aren Blondahl 5c09c5c6bb Fixed #696 - Button Icon/Inner Alignment
Button content was improperly being aligned due to the misleading nature of how vertical-align: middle works. Added a visual segment to the spec so it can be acceptance tested by developers.
2016-08-10 03:31:07 -06:00
Per Bergqwist c016565a5f Remove prop duplicates 2016-08-10 09:54:05 +02:00
Per Bergqwist 30f16231a0 Added Touch events to the base props 2016-08-10 09:43:04 +02:00
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +02:00
dlebedynskyi b5575618c2 fix for target missing id
using 
https://github.com/react-toolbox/react-toolbox/issues/699
2016-08-09 13:47:48 -04:00
Javi Velasco 77b0a4a57d Fix linter warnings 2016-08-07 21:23:14 +02:00
Javi Velasco 041e00c741 Fixes #586 2016-08-07 20:51:31 +02:00
Javi Velasco fcc7902839 Better tooltips 2016-08-07 18:55:31 +02:00
Javi Velasco 39694e57aa Add an active property to control pickers from outside 2016-08-07 14:09:38 +02:00
Javi Velasco e7735e5236 Merge and solve conflicts 2016-08-07 13:43:07 +02:00
Javi Velasco fae42a89d0 Fix linter errors 2016-08-07 13:20:11 +02:00
Javi Velasco 739acbc79b Merge branch '402-maxDate-not-taken-into-account' of https://github.com/AlexGilleran/react-toolbox into AlexGilleran-402-maxDate-not-taken-into-account
* '402-maxDate-not-taken-into-account' of https://github.com/AlexGilleran/react-toolbox:
  Added tests.
  Date picker now takes max/min date into account on mount/props change.
2016-08-07 13:14:31 +02:00
Javi Velasco e8b5ad8b4b Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Fixes linting errors
  Fixes Autocomplete error when provided value prop that is not in source option while preserving value text
2016-08-07 13:08:06 +02:00
Javi Velasco 770f55aa5b Merge branch 'dev' of https://github.com/sanfilippopablo/react-toolbox into sanfilippopablo-dev
* 'dev' of https://github.com/sanfilippopablo/react-toolbox:
  Added custom sized circular ProgressBar to spec
  Added viewBox attr to svg element of circular ProgressBar to allow custom sizing
2016-08-07 12:59:05 +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 991da710cf Fixes #671 2016-08-06 20:40:24 +02:00
Javi Velasco fd138f9716 Fixes #674 2016-08-06 20:04:16 +02:00
Javi Velasco 7c87bcdaf9 Merge pull request #681 from akinoxsolutions/dev
Add required polyfills for IE10.
2016-08-06 19:41:06 +02:00
Javi Velasco 94d6295d7f Merge pull request #677 from bschnelle/layout-child-themes
pass theme from layout to children
2016-08-06 19:37:46 +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
Javi Velasco 461d788a4d Merge branch 'dev' of https://github.com/EventHubAU/react-toolbox into EventHubAU-dev
* 'dev' of https://github.com/EventHubAU/react-toolbox:
  Add create option to autocomplete
2016-08-06 19:17:27 +02:00
Javi Velasco 730d4c1fcc Fixes #678 2016-08-06 18:32:31 +02:00
Javi Velasco ea3917e10c Change method name to match lib convention 2016-08-06 18:30:08 +02:00
Javi Velasco beb0ca4465 Merge branch 'multiline-maxlength-fix' of https://github.com/SimonSelg/react-toolbox into SimonSelg-multiline-maxlength-fix
* 'multiline-maxlength-fix' of https://github.com/SimonSelg/react-toolbox:
  feat(dist): add newest build
  doc(input): add note about handleChange implementation
  fix(input): don't remove the maxLenght attribute from inputs
  feat(input): prevent insertion of characters if maxLength is reached
  fix(input): always recalculate size
  feat(input): set the default row amount for multiline inputs to 1
  feat(input): implement maxLength in js rather then using the maxlength prop of the input field
  refactor(input): move autoresize to didUpdate
  fix(input): only remove resize event listerner if it exists
  docs(input): fix multiline example and add maxLength to it
  fix(multiline input): autoresize after initial render too
2016-08-06 18:25:17 +02:00
Javi Velasco c01c025660 Beware of the multiple onRippleEnded 2016-08-06 14:31:16 +02:00
Javi Velasco 71fcd3f57c Refactor ripple adding multiple option 2016-08-06 14:24:40 +02:00
Javi Velasco 032840e74a Don't render Ripple if it's not being animated 2016-08-04 22:23:43 +02:00
Javi Velasco 2bd6539476 Fix remove animation event function 2016-08-04 22:23:27 +02:00
Simon Selg f29e570d29 doc(input): add note about handleChange implementation 2016-08-04 22:15:59 +02:00
Simon Selg 6f03fb553a fix(input): don't remove the maxLenght attribute from inputs
We still rely on it when using non-multiline inputs (=> the input element is used), only when using textareas we use our custom maxlength logic.
2016-08-04 22:15:58 +02:00
Simon Selg 70823afcb3 feat(input): prevent insertion of characters if maxLength is reached
Previously we'd let the user insert a character, and then, if the resulting string was to long remove it again (through onChange). That creates unnessesary DOM modifications and store updates, and more importantly, diverges from the behavior of the native maxlength attribute of <textarea>.

Now we prevent the characters from beeing inserted in the first place if the length reaches maxlenght.
2016-08-04 22:15:58 +02:00