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
Javi Velasco
767d16b047
Fullname imports for util files
2016-05-29 21:23:58 +02:00
Javi Velasco
95ea35fad8
Better react imports for lists
2016-05-29 21:11:04 +02:00
Javi Velasco
592024f42c
Autoinject styles for Lists
2016-05-29 20:59:54 +02:00
Javi Velasco
731153da00
Autoinject theme for Link
2016-05-29 20:03:41 +02:00
Javi Velasco
e911a9f116
Autoinject theme for Layout
2016-05-29 19:59:17 +02:00
Javi Velasco
802bd64dd7
Update global index
2016-05-29 19:59:04 +02:00
Javi Velasco
27962e8eff
Inject dependencies for Form component
2016-05-29 19:46:16 +02:00
Javi Velasco
fbdceed5c8
Add specific imports for FontIcon
2016-05-29 19:38:06 +02:00
Javi Velasco
7a241e93ae
Autoinject theme for dropdown
2016-05-29 19:37:40 +02:00
Javi Velasco
3827ed3aab
Autoinject Drawer theme
2016-05-29 12:54:29 +02:00
Javi Velasco
1386a1551d
Destructuring React for some components
2016-05-29 12:47:27 +02:00
Javi Velasco
d48e243ad2
Autoinject Checkbox theme
2016-05-29 12:38:20 +02:00
Javi Velasco
4ff92ac7ea
Autoinject theme for Dialog, DatePicker and Overlay
2016-05-28 22:04:00 +02:00
Javi Velasco
6d37fe7ef6
Add missing context theme doc for Button
2016-05-28 19:37:59 +02:00
Javi Velasco
fdb36449f3
Autoinject styles for ProgressBar
2016-05-28 19:37:46 +02:00
Javi Velasco
e24152c330
Fix tests
2016-05-28 19:35:00 +02:00
Javi Velasco
d59f95c460
Better readme for buttons
2016-05-28 19:19:14 +02:00
Javi Velasco
05c6dce5e1
Autoinject theme for Card
2016-05-28 19:15:12 +02:00
Javi Velasco
d04c181fdf
Better readmes for autocomplete avatar chip and input
2016-05-28 17:58:43 +02:00
Javi Velasco
85e248c0c4
Autoinject Autocomplete, Avatar, Chip and Input
2016-05-28 17:44:29 +02:00
Javi Velasco
f10748e4a4
Autoinject style for AppBar
2016-05-28 17:00:42 +02:00
Javi Velasco
d5834e0372
Full extension imports in animations
2016-05-28 15:38:23 +02:00
Javi Velasco
6048bb72f4
Autoinjects for Button and IconButton
2016-05-28 15:37:10 +02:00
Yotam Bar-On
63f760bd13
Modify Button's display to be inline-flex
...
Text of ``label`` in ``<Button />`` is not aligned with the icon. This is because the ``<Button />`` has ``inline-block`` and not ``inline-flex``, so the ``align-items`` rule has no effect.
Changed the ``inline-block`` declaration into ``inline-flex``.
2016-05-28 16:06:37 +03:00
Javi Velasco
6ba69be723
Remove defineTheme
2016-05-27 21:58:34 +02:00
Javi Velasco
310d683fa9
Avoid null values when parsing input
2016-05-26 21:38:07 +02:00
Javi Velasco
a9e8304a84
All components moved to themr 😱
2016-05-26 21:17:25 +02:00
Javi Velasco
d6bc5f5436
Move tabs to themr
2016-05-26 21:01:54 +02:00
Javi Velasco
b75e7577cf
Migrate Table component to themr
2016-05-26 20:37:57 +02:00
Danny Dörfel
3c4c1e6f01
Added media-queries for the max-height of he app-bar on mobile devices (56dp and 48dp)
2016-05-26 09:57:45 +02:00
Javi Velasco
d451cf05c4
Migrate switch to themr
2016-05-25 00:54:56 +02:00
Javi Velasco
8705c5775b
Migrate snackbar to themr
2016-05-25 00:42:07 +02:00
Javi Velasco
4f85f4e5f9
Remove linter warning
2016-05-25 00:28:21 +02:00
Javi Velasco
22819ca54c
Bugfix: delete style in form
2016-05-25 00:28:07 +02:00
Javi Velasco
6329c5d11d
Make tests pass
2016-05-25 00:25:43 +02:00
Javi Velasco
de89f9ae6d
Migrate the Slider to themr
2016-05-22 22:35:32 +02:00
Javi Velasco
306e3974b3
Migrate Radio to themr
2016-05-22 22:18:41 +02:00
Javi Velasco
38cb1b029f
Migrate ProgressBar to themr
2016-05-22 21:50:22 +02:00
Javi Velasco
e5ef5e2f5f
Migrate Navigation to themr
2016-05-22 21:39:40 +02:00
Javi Velasco
38e2690af9
Migrate Dropdown to themr
2016-05-22 21:28:48 +02:00
Javi Velasco
54dca2d5cc
Migrate MenuDivider to themr
2016-05-22 20:46:40 +02:00
Javi Velasco
e20bae5e62
Migrate MenuItem to themr
2016-05-22 20:43:54 +02:00
Javi Velasco
140cc2c1a4
Migrate Menu to themr
2016-05-22 20:36:06 +02:00
Javi Velasco
5f626e262f
Migrate IconMenu to themr
2016-05-22 20:15:45 +02:00
Javi Velasco
d2cf4e37c3
Bugfix: Set empty string in time picker if no time is given
2016-05-22 19:39:30 +02:00