Commit Graph

1607 Commits (55272ff145f7e3a880343df4d7cafe80aaa34d18)

Author SHA1 Message Date
Javi Velasco 55272ff145 Merge branch 'AlexGilleran-402-maxDate-not-taken-into-account' into dev
* AlexGilleran-402-maxDate-not-taken-into-account:
  Fix linter errors
  Added tests.
  Date picker now takes max/min date into account on mount/props change.
2016-08-07 13:20:29 +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 d72614496c Merge branch 'sanfilippopablo-dev' into dev
* sanfilippopablo-dev:
  Avoid !important in progress spec
  Added custom sized circular ProgressBar to spec
  Added viewBox attr to svg element of circular ProgressBar to allow custom sizing
2016-08-07 13:05:42 +02:00
Javi Velasco f56eb82c3d Avoid !important in progress spec 2016-08-07 13:05:21 +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
Javi Velasco 39c718259a Merge pull request #692 from zweiler/dev
Fixes Autocomplete error when provided value prop that is not in source option while preserving value text
2016-08-07 12:57:43 +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 57bb663e94 Latest build 2016-08-06 21:18:44 +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 c514c0c31c Merge branch 'EventHubAU-dev' into dev
* EventHubAU-dev:
  Change name from create to allowCreate in Autocomplete and fix linter warnings
  Add create option to autocomplete
2016-08-06 19:29:02 +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 06fc35bf5f Merge branch 'SimonSelg-multiline-maxlength-fix' into dev
* SimonSelg-multiline-maxlength-fix:
  Change method name to match lib convention
  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:30:32 +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 50c5aeb8d3 Latest build 2016-08-06 14:35:41 +02:00
Javi Velasco 75283a5d29 Merge pull request #691 from react-toolbox/305-multiripple
Refactor ripple adding `multiple` option
2016-08-06 14:35:02 +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
Pablo Sanfilippo bdd2ce3575 Added custom sized circular ProgressBar to spec 2016-08-05 16:41:45 -03: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 62f8b22abf feat(dist): add newest build 2016-08-04 22:18:11 +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 29d9664fe7 Merge branch 'vmsoftware-dev' into dev
* vmsoftware-dev:
  Fix linter errors and refactor
  Fix multiselectable and unselect rows isues on Table component
2016-08-04 21:07:13 +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 9a4f5538dc docs(input): fix multiline example and add maxLength to it 2016-08-04 03:35:23 +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