Commit Graph

1313 Commits (9d8c975cc46327a470d08d7cda7b755914489773)

Author SHA1 Message Date
Javi Velasco ffdd6a214e Merge pull request #775 from aleksanb/patch-1
Pass down theme from Card title to nested Avatar
2016-09-19 10:07:48 +02:00
Javi Velasco c209a710da Merge pull request #789 from kodermax/patch-2
Russian locale
2016-09-19 09:54:45 +02:00
Javi Velasco df72b600c8 Merge pull request #784 from acornejo/appbar-iconbutton
appbar: fonticon -> iconbutton
2016-09-19 09:54:17 +02:00
Javi Velasco 26e0e2e3b2 Merge pull request #793 from ducreyna/dev
Add onBlur and onFocus props in Autocomplete component
2016-09-19 09:48:24 +02:00
Javi Velasco abf9274ca6 Merge pull request #795 from stianjensen/patch-1
Correct docs for CardTitle component
2016-09-19 09:47:53 +02:00
Javi Velasco 4df321c553 Merge pull request #799 from dynamic-do/fixes-scroll-in-IE11
Fixes scroll after overlay closing in IE11
2016-09-19 09:47:37 +02:00
Alex Cornejo 67d4628e82 appbar: fonticon -> iconbutton 2016-09-16 21:35:58 -07:00
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
Simon Selg d1fcc14cb1 fix(input): always recalculate size
The assumstion that an equal amount of characters consume the same size is wrong as not all fonts are monospaced.
2016-08-04 22:15:58 +02:00
Javi Velasco e597bc567f Fix linter errors and refactor 2016-08-04 21:06:20 +02:00
Javi Velasco 8e3d9bb93c Merge branch 'dev' of https://github.com/vmsoftware/react-toolbox into vmsoftware-dev
* 'dev' of https://github.com/vmsoftware/react-toolbox:
  Fix multiselectable and unselect rows isues on Table component
2016-08-04 20:51:10 +02:00
Javi Velasco 023a7323b8 Fixes #663 2016-08-04 20:48:52 +02:00
Javi Velasco a6f7da7bea Merge pull request #661 from Scratch-it/time-picker-theme
Ensure theme gets passed down to TimePicker child components
2016-08-04 20:10:42 +02:00
Pablo Sanfilippo a2c8f08f7c Added viewBox attr to svg element of circular ProgressBar to allow custom sizing 2016-08-04 01:32:40 -03:00
Simon Selg 056cd6ddb1 feat(input): set the default row amount for multiline inputs to 1 2016-08-04 03:46:20 +02:00
Simon Selg a8dbad121f feat(input): implement maxLength in js rather then using the maxlength prop of the input field
This is explained in #685. Fixes #685 therefore.
2016-08-04 03:45:38 +02:00
Simon Selg 8559c1818c refactor(input): move autoresize to didUpdate
It needs to be there because it also needs to be called when value is changed from outside by setting the value property
2016-08-04 03:41:24 +02:00
Simon Selg 75487fb9a7 fix(input): only remove resize event listerner if it exists 2016-08-04 03:40:10 +02:00
Simon Selg 1809d67813 fix(multiline input): autoresize after initial render too 2016-08-04 03:34:28 +02:00
Javi Velasco b8be9732d5 Merge pull request #682 from jcullen/bugfix/ripple
Bugfix for IE scrollX/scrollY
2016-08-03 10:02:53 +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
Javi Velasco e2c54714eb Fixes #629 2016-08-02 21:57:00 +02:00
Javi Velasco f2dbfb53cd Fix #547 2016-08-02 21:51:13 +02:00
Jeremy Cullen 955acf040a Bugfix for IE scrollX/scrollY
Replaces scrollX and scrollY with cross browser aliases pageXOffset and pageYOffset
2016-08-02 10:40:31 -07:00
Christian Droulers ef6a979fec Add required polyfills for IE11. 2016-08-01 16:08:48 -04:00
Abilio Almeida Eiroa 157c29d8ff FIXED aslant errors and warnings to pass Travis check 2016-08-01 13:44:26 +02:00
Abilio Almeida Eiroa 01ae580a32 Added support for locale on DatePicker dialog component
Updated components, docs and spec.
2016-08-01 13:21:32 +02:00
Benjamin Schnelle 491a85c3a0 pass theme from layout to children 2016-07-28 22:12:55 -06:00
Che' Jansen 3461a1fba3 Add create option to autocomplete 2016-07-28 12:53:09 +10:00
Javi Velasco 83c3c426ad Merge pull request #669 from slindberg/list-item-theming-fix
Pass theme down to list item child components for correct classnames
2016-07-26 00:48:05 +02:00
Javi Velasco e69dbdbc90 Merge pull request #658 from InfernoZeus/input-autoresize-bug
Only add Input auto-resize handler to multiline inputs
2016-07-26 00:47:20 +02:00
Steven Lindberg 5a9fec86fa Pass theme down to list item child components for correct classnames 2016-07-25 08:28:31 -07:00
VictorMolano 5ccd6dae01 Fix multiselectable and unselect rows isues on Table component 2016-07-24 12:40:53 -05: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 1639690251 Fix typo in font-size calculation in mixins 2016-07-24 13:20:25 +02:00
Javi Velasco e8bc36d63a Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Made general mixins properties depend on $unit value
  Small fixes
  All props are now commented
  Moved modules to separate files.
  A lot of JSDoc comments added, even more left
  Typings for the project
  Document CardTitle's cardTitle theme
2016-07-24 13:17:21 +02:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
Javi Velasco 0ffdedddaa Merge pull request #664 from xmityaz/unify-mixins
Made general mixins properties depend on $unit value
2016-07-24 13:09:03 +02:00
Javi Velasco 44bbcb12e9 Merge pull request #632 from randycoulman/document-card-cardTitle-theme
Document CardTitle's cardTitle theme
2016-07-24 12:56:46 +02:00
Dmytro fb29425593 Made general mixins properties depend on $unit value 2016-07-22 21:23:10 +03:00
Conroy Whitney a6f7d645e4 Ensure theme gets passed down to TimePicker child components 2016-07-21 11:33:48 -07:00
Alex Gilleran 4f67a93f6e Added tests. 2016-07-22 00:47:03 +10:00
Alex Gilleran e9487e164f Date picker now takes max/min date into account on mount/props change. 2016-07-21 23:24:28 +10:00
Ben Fox-Moore 9cc56e1937 Only add Input auto-resize handler to multiline inputs 2016-07-21 15:15:35 +02:00
Javi Velasco 9c4a48597a Merge pull request #650 from normano64/typings
Typescript typings
2016-07-20 09:14:56 +02:00
Per Bergqwist 3b706779fb Small fixes 2016-07-19 21:54:24 +02:00
Per Bergqwist ae6109c6fd All props are now commented 2016-07-19 21:18:33 +02:00
normano64 10b69b5c8c Moved modules to separate files. 2016-07-18 17:25:48 +02:00
Javi Velasco e077f8a199 Bugfix calculating Menu position 2016-07-18 10:45:03 +02:00
Javi Velasco c9ac90fffe Fixes #542 2016-07-17 18:16:13 +02:00
Javi Velasco aa851d3c41 Merge pull request #631 from randycoulman/document-input-label-theme
Document the label theme for the input component
2016-07-16 21:00:10 +02:00