Commit Graph

1380 Commits (0ca01a83954cbb401c7739ce2f3013ff367856ea)

Author SHA1 Message Date
Jose Javier Señaris dc46b0aa6d Merge branch 'dev' of github.com:react-toolbox/react-toolbox into dev 2016-10-16 15:34:11 -03:00
Jose Javier Señaris c2da4d8547 Add optional cancel handler in dialog dismiss 2016-10-16 12:49:32 -03:00
Roman Rott 5cea4e3a1b
Fixed issue with rendering calendar incorrectly when first day of a month is Sunday 2016-10-15 14:37:18 +03:00
Ferenc Radius be81e4d4ea fix type of theme.required fixing issue #867 2016-10-14 09:58:13 +02:00
Matthew 8d62c8fe55 * Fixed trailing comma. 2016-10-13 13:19:06 +08:00
Matthew a50c1c406e * Added multiline height, see #811 2016-10-13 08:15:33 +08:00
Javi Velasco f8c0c7fece Remove importants 2016-10-12 17:04:52 +02:00
Javi Velasco e6b410491a Merge pull request #857 from rrott/feature/584-add_required_to_Dropdown_as_Input_fields
Added required to Dropdown
2016-10-12 16:58:58 +02:00
Javi Velasco a1d96f3709 Merge pull request #856 from rrott/feature/add_ukrainian_locale
Added Ukrainian locale
2016-10-12 16:58:17 +02:00
Javi Velasco 69a3260b61 Merge pull request #853 from HaNdTriX/dev
Add onScroll prop to Panel component
2016-10-12 16:58:00 +02:00
Javi Velasco 06aa9aa5ec Merge pull request #850 from rrott/fix/typo_in_time_utils
Fixed typo in dateLocales for russian locale
2016-10-12 16:57:13 +02:00
Javi Velasco 960c3b2edf Merge pull request #849 from rrott/fix/253-CardMedia_in_firefox
Added ::after pseudo to CardMedia to fix an issue in FireFox
2016-10-12 16:56:58 +02:00
Javi Velasco c20351f572 Merge pull request #847 from MaximKomlev/FileBrowseButton
File browse button
2016-10-12 16:55:09 +02:00
Javi Velasco 6dc83b8546 Merge pull request #839 from stianjensen/datepicker-labels
Add attributes for ok/cancel labels in DatePicker & TimePicker
2016-10-12 16:50:27 +02:00
HaNdTriX a88174a54c Fix Overlay event bug 2016-10-12 15:21:55 +02:00
Roman Rott f912729ef7
Added required to Dropdown 2016-10-11 23:19:03 +03:00
HaNdTriX 0df0854487 Add onScroll prop to Panel 2016-10-11 14:25:31 +02:00
Stian Jensen e99a396a63 Add attributes for ok & cancel labels
In DatePicker and TimePicker.

The attribute names are chosen to be the same as in material-ui

This fixes #805.
2016-10-10 22:58:21 +02:00
Roman Rott c9dc848404
Added Ukrainian locale 2016-10-10 11:08:30 +03:00
Roman Rott c768a72622
Fixed typo in dateLocales for russian locale 2016-10-10 10:46:01 +03:00
Roman Rott 42543f4f85
Added ::after pseudo to CardMedia to fix issue in FF 2016-10-09 21:25:45 +03:00
Roman Rott 1fa9a0a58d
Updated to show hint on input if lable is empty 2016-10-09 14:37:43 +03:00
Javi Velasco 9d3bba3c31 Fix #819 2016-10-08 12:27:57 +02:00
Maxim Komlev 089c5b69f7 + pushed file browser button branch 2016-10-07 16:16:08 -07:00
Maxim Komlev 724fafa7ea + BrowseButton 2016-10-07 15:16:51 -07:00
Roman Rott ca1de73201
Fixed Tooltip TypeError when quickly hovering between multiple tooltips 2016-10-07 23:45:00 +03:00
Maxim Komlev d931c20d98 Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into dev
Conflicts:
	spec/style.scss
2016-10-07 13:00:13 -07:00
Javi Velasco c7ef9ea772 Fix small typo 🐞 2016-10-07 14:47:15 +02:00
Javi Velasco 561136594a Fix linter errors 2016-10-07 14:43:52 +02:00
Javi Velasco 7dfd3c5908 Only add scroll AppBar listener if hideable and remove ReactDOM 2016-10-07 14:40:28 +02:00
Javi Velasco f00bc32b90 Merge branch 'appbar-scrollhide' of https://github.com/acornejo/react-toolbox into acornejo-appbar-scrollhide
* 'appbar-scrollhide' of https://github.com/acornejo/react-toolbox:
  navbar hide on scroll behavior.
2016-10-07 14:30:01 +02:00
Javi Velasco 06b8adace1 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  add missing styles for lgTablet and smTablet layout breakpoints
  Added row click support
  Bugfix: Typescript definitions can now be copied over on Windows
  Removed duplicate export from Datepicker Fixed issue with sass npm script not working on Windows
2016-10-07 14:28:00 +02:00
Javi Velasco e549e25c1b Small style change 2016-10-07 14:26:39 +02:00
Javi Velasco c0d89d3659 Merge branch 'feature/table-edit-enhancements' of https://github.com/KaleoSoftware/react-toolbox into KaleoSoftware-feature/table-edit-enhancements
* 'feature/table-edit-enhancements' of https://github.com/KaleoSoftware/react-toolbox:
  Use guard clause instead of conditional
  Re-apply changes
  Revert "Fix event value"
  Revert "Use contentEditable for editable table cells"
  Fix event value
  Use contentEditable for editable table cells
2016-10-07 14:24:17 +02:00
Javi Velasco 5f4b8cfc6b Merge pull request #827 from ryanmcafee/features/rowclick
Updated Sass/ Typescript build commands to add Windows support and added support for clicking on row in table
2016-10-07 14:19:54 +02:00
Javi Velasco 6183362c3b Merge pull request #838 from rubenmoya/dev
add missing styles for lgTablet and smTablet layout breakpoints
2016-10-07 14:10:19 +02:00
Alex Cornejo 4d5f4cf02f navbar hide on scroll behavior.
Add basic hide on scroll behavior for navbar. As described in

https://material.google.com/patterns/scrolling-techniques.html#scrolling-techniques-app-bar-scrollable-regions
2016-10-06 20:07:15 -07:00
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