Commit Graph

1198 Commits (4d0b37e207415a749979ed12a9fed54da03526b1)

Author SHA1 Message Date
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