Commit Graph

1443 Commits (d11ac376ea5176a15b2cf679ad5ea4e9457b473f)

Author SHA1 Message Date
Maxim Komlev 07d1d51c59 * fixed
/home/travis/build/react-toolbox/react-toolbox/components/index.js
  31:2  error  Newline required at end of file but not found  eol-last

/home/travis/build/react-toolbox/react-toolbox/spec/components/pager.js
  65:2  warning  Unnecessary semicolon  no-extra-semi

/home/travis/build/react-toolbox/react-toolbox/components/checkbox/Checkbox.js
  50:32  error  'style' is missing in props validation  react/prop-types
2016-10-06 11:49:15 -07:00
Javi Velasco 8c21e30e72 Fix linter errors 2016-10-06 20:29:36 +02:00
Javi Velasco f4f5ae885e Fix #814 2016-10-06 20:21:50 +02:00
Javi Velasco a59395e887 Fix #816 2016-10-06 20:18:35 +02:00
Maxim Komlev ff7dd4d2ff * fixed code linting 2016-10-06 11:18:15 -07:00
Javi Velasco e4339de7c5 Fix #813 2016-10-06 20:11:39 +02:00
Maxim Komlev 183dfe031c + Pager control, actually it is not defined at matereal design but definitely it is helpful to have.
the control is based on react-toolbox controls and corresponds to matereal design. It is highly customisable and it follows default style patterns of react-toolbox components. actually what differentiate the control from others similar that it has always const set of buttons and the set depends on two properties: number of total pages (latsPage) and number of visible pages at block. e.g.
[<][1][...][4][5][6][...][8][>] or [<][1][2][3][4][5][...][8][>] or [<][1][...][4][5][6][7][8][>] where block size is 3. it gives smooth user experience. A layouting is based on flex but easily can be rewritten using inline-block at custom theme.

example is added to specs.
2016-10-05 14:20:29 -07:00
rubenmoya d7abd106ad add missing styles for lgTablet and smTablet layout breakpoints 2016-10-03 21:37:48 +02:00
Javi Velasco 7da10e94b3 Merge pull request #812 from chiester/add-table-model-header-details-to-docs
Add table model header details to docs
2016-10-03 10:07:03 +02:00
Javi Velasco 82c613a53f Merge pull request #823 from stianjensen/checkbox-style-prop
Apply Checkbox style property to internal .check
2016-10-03 10:03:28 +02:00
Javi Velasco 0e40963c52 Merge pull request #826 from hari-sree/build-fix-multiple-default-export
Fix multiple default exports in Datepicker
2016-10-03 10:01:50 +02:00
Javi Velasco 31136186fe Fixes #797 2016-10-02 12:38:45 +02:00
Ryan McAfee d374cc5c64 Added row click support 2016-09-28 13:11:06 -05:00
Ryan McAfee 7c39493b9b Removed duplicate export from Datepicker
Fixed issue with sass npm script not working on Windows
2016-09-28 12:52:36 -05:00
Sreehari b67f4c7d09 Fix multiple default exports in Datepicker 2016-09-28 21:34:52 +05:30
Stian Jensen 2ce1d4c2db Apply Checkbox style property to internal .check
This will allow you to override the styles of the visible check element
instead of the hidden input element.

This fixes #791.
2016-09-27 15:28:28 +02:00
Javi Velasco 70b0a3f595 Fixes #794 2016-09-27 00:18:23 +02:00
Javi Velasco 5ba891fe19 Merge with dev 2016-09-27 00:01:49 +02:00
Javi Velasco 390e7694db Fix #787 2016-09-27 00:00:20 +02:00
Tucker Connelly d01ff6db7e Use guard clause instead of conditional 2016-09-22 11:58:01 -07:00
Christopher Hiester b8516b41ad add emphasis to note 2016-09-22 11:19:38 -04:00
Christopher Hiester 6940013182 adjust scss after testing 2016-09-22 11:18:10 -04:00
Christopher Hiester 4e93e1387d Add table header model details to docs for table 2016-09-22 11:08:21 -04:00
Parmesh Krishen 1c259ff435 Fixing issue where closing an overlay on top of another overlay re-enables document body scrolling unnecessarily. 2016-09-22 08:41:25 -05:00
Javi Velasco 68e4b53081 Merge pull request #778 from laucheukhim/dev
Replace onMouseDown wth onClick in DatePicker and TimePicker
2016-09-21 09:43:19 +02:00
Tucker Connelly 0fb83bfdda Re-apply changes 2016-09-19 14:26:07 -04:00
Tucker Connelly 3e1e7b2ee6 Revert "Fix event value"
This reverts commit 6c153026dc.
2016-09-19 14:25:17 -04:00
Tucker Connelly c3e6c83815 Revert "Use contentEditable for editable table cells"
This reverts commit 04215a5845.
2016-09-19 14:23:56 -04:00
Tucker Connelly 6c153026dc Fix event value 2016-09-19 14:13:50 -04:00
Tucker Connelly 04215a5845 Use contentEditable for editable table cells 2016-09-19 14:13:50 -04:00
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
Javi Velasco 2d17b65a5b Fixes #627 2016-07-16 20:42:05 +02:00
farawayer f3b460eabd fix autocomplete activating on react>=15.1 if no direction 2016-07-15 20:34:14 +03:00
Randy Coulman 460a378ddc Document CardTitle's cardTitle theme
The `cardTitle` theme for the root `CardTitle` component was not
documented.

I also made the wording for `title` and `subtitle` more consistent.
2016-07-11 11:42:17 -07:00
Randy Coulman 68ee32f3ec Document the label theme for the input component
The `input` component has a `label` theme setting, but it wasn’t
documented.
2016-07-11 11:34:25 -07:00
Javi Velasco 2a7e340a81 Fixes #624 2016-07-10 16:54:31 +02:00
Javi Velasco 49658a39b4 Fixes #585 2016-07-10 14:23:40 +02:00
Javi Velasco 0513cb72e9 Fixes #616 2016-07-10 13:42:35 +02:00
Javi Velasco 5028e6d3e2 Merge pull request #622 from randycoulman/tab-content-theme
Forward theme prop from Tabs to TabContent
2016-07-10 12:54:13 +02:00
Javi Velasco d150a2d6a0 Merge pull request #617 from InfernoZeus/bugfix-ie11-number-isnan
Fix Number.isNaN TypeError on IE
2016-07-10 12:52:59 +02:00
Randy Coulman 8c20848fe8 Forward theme prop from Tabs to TabContent
The `Tabs` component takes a `theme`, but was not forwarding it on to
its internal `TabContent` component, so it wasn’t possible to theme the
`tabs` or `active` classes.
2016-07-08 14:36:55 -07:00
Javi Velasco de532adea5 Merge pull request #601 from strindhaug/dev
Bugfix: Reset overflow when unmounting an overlay
2016-07-07 20:40:15 +02:00
Randy Coulman 3b4387f4fe Pass the theme from ListItem to ListItemLayout
`ListItemLayout` was not receiving the theme, and so was not applying
the theme to the components it contained.

To solve this, explicitly pass the theme down to `ListItemLayout`.

Fixes #580
2016-07-07 10:39:02 -07:00
Ben Fox-Moore 4ea305cff2 Fix Number.isNaN TypeError on IE 2016-07-07 15:20:33 +02:00
Javi Velasco 1b0d9e57e9 Merge pull request #582 from ro-savage/bugfix-DatePicker-TimePicker-allow-tab-and-enter
Bugfix - DatePicker and TimePicker pass unknown props and allow enter key
2016-07-05 10:26:07 +02:00
Javi Velasco 3e29844e63 Update to react 15.2.0 2016-07-04 22:03:57 +02:00
Javi Velasco 83b202ab68 Merge pull request #602 from lwhorton/fix-identifier
missing MENU for some reason in identifiers
2016-07-04 21:12:07 +02:00
aft-luke e359805c5e missing MENU for some reason in identifiers 2016-06-27 19:41:12 -04:00
Stein Strindhaug a11fe924c2 Reset overflow when unmounting 2016-06-27 11:17:42 +02:00
Ro Savage d01a57664d Add passing unknown props and checking of keypress 2016-06-27 10:12:23 +12:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03:00
Javi Velasco 8d65961be2 Restyle a ternary 2016-06-25 12:27:02 +02:00
Simon Selg 5b97b95c62 Add autoresize to multiline inputs
This fixes #278
2016-06-25 12:27:02 +02:00
Javi Velasco bde7e4cb0e Merge pull request #588 from mgcrea/patch-dropdown
chore(dropdown): set value to empty string to prevent uncontrolled er…
2016-06-25 12:20:54 +02:00
Olivier Louvignes ad52adb82b chore(dropdown): set value to empty string to prevent uncontrolled errors 2016-06-23 19:23:42 +02:00
Javi Velasco 5b76a7fe78 Fix #536 2016-06-19 21:37:46 +02:00
Javi Velasco 6cd4202c6c Fix #542 2016-06-19 21:34:30 +02:00
Javi Velasco 0bc5b1d776 Merge pull request #569 from ro-savage/autocomplete-autoselect-first-option
Feature - Autocomplete - Added autoselect first option on enter
2016-06-19 21:13:17 +02:00
Bao Dang 1d725dc062 #575: Use classname 'material-icons' if children is a string 2016-06-17 07:55:19 +10:00
Javi Velasco d010c6d882 Merge pull request #573 from ro-savage/feature-exporting-DatePickerDialog
Added ability to export the DatePickerDialog separately from the DatePicker
2016-06-16 20:24:35 +02:00
Javi Velasco 12fc24e40c Merge pull request #571 from ro-savage/ie11-calendar-css-fix
Fix: IE11 displaying calendar incorrectly
2016-06-16 20:23:26 +02:00
Javi Velasco 739feefc5a Merge pull request #572 from thearrow/autocomplete-suggestions
Add 'suggestionMatch' prop to Autocomplete component
2016-06-16 20:21:46 +02:00
Javi Velasco 4c86650746 Merge pull request #568 from ro-savage/bugfix-datepicker-nextmonth-bug
Fixed bug with changes months on datepicker
2016-06-16 20:17:54 +02:00
Javi Velasco 375b6fec08 Merge pull request #562 from Klathmon/fix-snackbar-timeout
Fix hanging timeout on <Snackbar/> element
2016-06-16 20:16:57 +02:00
Javi Velasco ce2864c15f Merge pull request #556 from paulocmoreno/click_event
Fix MenuItem onclick called without event
2016-06-16 20:16:19 +02:00
Javi Velasco 9ef865389c Merge pull request #555 from Danno040/add-proptype-checking-to-position
[Fixes #550] Add PropType checking to Menu's position and update docs
2016-06-16 20:15:36 +02:00
Javi Velasco 250f1f0ec6 Merge pull request #554 from mgcrea/patch-feat-name-prop
Patch feat name prop
2016-06-16 20:14:48 +02:00
Ro Savage 2d5f5194ce Added ability to export the DatePickerDialog seperately from the DatePicker 2016-06-16 15:56:15 +12:00
Jake Klingler afe5bf1ba3 add 'suggestionMatch' prop to Autocomplete component to determine how suggestions are matched 2016-06-15 11:16:11 -06:00
Ro Savage 0d01405e1b Fixed bug with add a month to a date when current day is largest than last day of next month 2016-06-15 14:45:35 +12:00
Ro Savage 7bffe8a6f0 Added autoselect first option on enter 2016-06-15 14:02:14 +12:00
Ro Savage cb138fc9be Made property for both topbottom and leftright padding of day on calendar picker. Fixes IE11 bug 2016-06-15 09:51:04 +12:00
Klathmon 647dbfb2e8 clear the timeout on componentWillUnmount 2016-06-13 16:50:48 -04:00
Mike F eec457bcfe [Fixes #550] Add PropType checking to Menu's position and update docs 2016-06-10 09:52:53 -06:00
Paulo Moreno 53f4a5ed75 Fix MenuItem onclick called without event
In all other cases the event listener receives the event. I need to receive the event to stop its propagation.
2016-06-10 10:58:49 -03:00
Olivier Louvignes d06dd78fdd chore(eslint): fix propTypes order 2016-06-09 19:21:22 +02:00
Olivier Louvignes ec94e5a97a feat(dropdown): add support for name prop 2016-06-09 19:21:00 +02:00
Gregory Benner 9ed52232e8 Revert "only apply transition to transform instead of all"
This reverts commit 56fe26eb86.
2016-06-08 15:31:12 -04:00
Gregory Benner 7134c645e0 change .overlay to .backdrop 2016-06-08 15:26:33 -04:00
Gregory Benner 56fe26eb86 only apply transition to transform instead of all 2016-06-08 14:43:31 -04:00
Robert Parker 68926f8289 Fix a few incorrect exports in typings and build with updated Babel 2016-06-07 15:41:51 -07:00
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
Olivier Louvignes c850245694 feat(datepicker,timepicker): add support for `name` prop 2016-06-06 19:37:51 +02:00
Javi Velasco 419f16f63f Plain SASS imports 🎨 2016-06-04 22:06:59 +02:00
Javi Velasco 96599d3a09 Move some mixins 2016-06-04 16:36:17 +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
Javi Velasco 0957a75813 Merge pull request #529 from Tudmotu/patch-1
Modify Button's display to be inline-flex
2016-06-03 22:31:12 +02:00
Javi Velasco 0e1d75aa33 Merge pull request #537 from JohnBicknell/ie-slider-fix
Ie slider fix
2016-06-03 22:30:42 +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
John Bicknell f017610709 Y for X 2016-06-02 18:40:38 +01:00
John Bicknell f39dfb44d0 Use alternative to scrollX where not available (IE) 2016-06-02 18:26:04 +01:00
Javi Velasco c356a2be5a Finish autoinjects 2016-05-31 10:23:05 +02:00
Javi Velasco 6afb914126 Autoinject theme for Tabs 2016-05-30 23:32:42 +02:00
Javi Velasco 975fb32c89 Autoinject theme for Tooltip 2016-05-30 07:07:50 +02:00
Javi Velasco 863c821400 Autoinject theme for Switch, Table and Snackbar 2016-05-30 06:59:44 +02:00
Javi Velasco d810c81f66 Autoinject theme to Slider 2016-05-29 23:57:34 +02:00
Javi Velasco e1b2b6b972 Autoinject theme to Radio component 2016-05-29 22:09:02 +02:00
Javi Velasco df88b1d2aa Autoinject Navigation theme 2016-05-29 21:56:10 +02:00
Javi Velasco f7ae5a8bc9 Update readme for menu 2016-05-29 21:25:49 +02:00
Javi Velasco f88ddde727 Autoinject theme to Menu component 2016-05-29 21:24:22 +02:00