Commit Graph

2079 Commits (d11ac376ea5176a15b2cf679ad5ea4e9457b473f)

Author SHA1 Message Date
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
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
Javi Velasco 692b0be955 Update react-css-themr dependency 2016-08-02 21:34:08 +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 4e1e3d6009 Merge branch 'dev'
* dev:
  Latest build
2016-07-26 00:56:34 +02:00
Javi Velasco 0c53de91a3 Latest build 2016-07-26 00:56:19 +02:00
Javi Velasco 43ea2ef4f1 1.0.3 release 2016-07-26 00:53:06 +02: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 88bc765121 Merge pull request #655 from landabaso/patch-1
Incorrect import of a Raw Component w.r.t theming
2016-07-24 13:25:47 +02: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 af9e88931d Latest build 2016-07-24 13:17:59 +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
landabaso 32aedbd940 Additional fix for raw AppBar component import 2016-07-20 12:39:55 +02:00