Commit Graph

161 Commits (9d6ec1eedd320610a5b3fcfaf1ad308ba3d53196)

Author SHA1 Message Date
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Javi Velasco d11ac376ea Fixes #1173 2017-01-24 11:19:25 +01:00
Javi Velasco cee3fb25ad Fixes #1159 2017-01-20 19:37:38 +01:00
Panjie Setiawan Wicaksono f365724ee8 Restructure typescript definitions (#1114)
* ts: restructure typescript definitions

- Add each raw components  types
- Update layout props to the new layout implementation
- Add table definitions
- Add HOC types

* fix ListItem typescript definition

* add themr identifiers definitions

* simplify React.ReactNode properties

* React.ReactNode | string => React.ReactNode is already indirectly type aliased to string
2017-01-18 08:37:37 +01:00
Javi Velasco 81acda7162 Migrate styles to PostCSS (#666)
* Add postcss-next postcss-include and reporter

* Add stylelint

* Add CSS colors

* Add CSS custom media queries

* Use dashes for CSS colors

* Add base CSS variables

* Remove AppBar SASS dependency from spec page

* Migrate AppBar style to PostCSS

* Migrate Avatar style to PostCSS

* Migrate Ripple style to PostCSS

* Remove unneeded media CSS import in Avatar

* Add shadows to CSS variables

* Migrate Button style to PostCSS

* Update webpack test config and linting from npm

* Migrate Input style to PostCSS

* Add missing input config variables for Dropdown and Autocomplete

* Migrate Chip style to PostCSS

* Migrate Autocomplete style to PostCSS

* Migrate Dropdown style to PostCSS

* Migrate animations to PostCSS

* Migrate Card style to PostCSS

* Migrate Checkbox style to PostCSS

* Migrate DataPicker style to PostCSS

* Migrate Dialog style to PostCSS

* Migrate Drawer style to PostCSS

* Add postcss-mixins and postcss-each

* Migrate Layout style to PostCSS

* Fix bug in button theme

* Bugfix in avatar css

* Add some missing nesting notations

* Migrate Link style to PostCSS

* Migrate List style to PostCSS

* Migrate Menu style to PostCSS

* Migrate Navigation style to PostCSS

* Migrate Overlay style to PostCSS

* Migrate ProgressBar style to PostCSS

* Migrate Radio style to PostCSS

* Migrate Slider style to PostCSS

* Migrate Snackbar style to PostCSS

* Migrate Switch style to PostCSS

* Migrate Table style to PostCSS

* Migrate Tabs style to PostCSS

* Migrate TimePicker to PostCSS

* Migrate Tooltip styles to PostCSS

* Update webpack config for testing and tests

* Migrate commons to PostCSS

* Remove sass from main project

* Bye from docs to sass

* Build with CSS

* Remove unneded deps for sass in docs subproject

* Fix tests

* use 4p shadow in AppBar as spec indicates

* Fixed typo in list/config.css

* Fix tests

* Fix linter errors

* Latest build

* Release 2.0.0-beta.0

* Remove sass lint

* fixes old sass var in css config

* Update linter

* New Table implementation

* Fix old sass var in list/config.css

See da0c47041e.

* Remove normalize.css from commons.css

* Update dependencies

* Latest build

* Input ready to accept visible hint

* Prepare slider and progress to be disabled

* Render Snackbar using Portal

* Refactor Dialog, Drawer and Overlay to be used in Layout

* Add inner layer to AppBar

* New layout

* Use Layout in spec

* Latest build

* remove layout playground example

* add smTablet and lgTablet to NavDrawer in Layout readme

* add default prop className to Layout, NavDrawer and Sidebar

* fix css linter errors in card and slider

* Typings for Table component

* Add missing Drawer identifier

* Update lib build

* Adds onQueryChange callback property to Autocomplete

The onQueryChange callback is called when the value of the query changes in Autocomplete.
It is called with the new query value.

* Fix #966

* Fix #965

* Fixes #976

* Updated css-related dependencies

Removed usages of `addDependencyTo` since it's deprecated and not needed anymore.
See https://github.com/postcss/postcss-import#adddependencyto

* Enabled HMR for styles by disabling extracting them to a CSS file

* Remove lib from repo

* Remove lib

* Fixes #1021

* Build using Gulp

* Export ThemeProvider from react-css-themr

* Add CHANGELOG to release command

* Release 2.0.0-beta.1

* Remove immutability helper

* Update dependencies

* Fix Tooltip trying to render after it's been unmounted

* Fixes #1038

* Release 2.0.0-beta.2

* Add ramda, refactor utils and remove slide animation modules

* Remove separate slide animations modules

* Remove box-sizing reset and body rule

* Remove commons.css

* Release 2.0.0-beta.4

* Update dependencies

* Fixes #1061

* More aggresive guard condition for multiple autocomplete

* Fix typeof check in isBrowser function

* Fixes an issue when specs are opened with browsers that do not support Object.entries().

* Import from ramda using the 'import XXX from "ramda/src/XXX"' pattern so that bundle sizes will be smaller for not including the whole ramda package.

* Fix #1032

* Fix tests

* Update yarn.lock

* Fixes #1064
2017-01-05 02:42:18 +01:00
Javi Velasco e2be2a34f6 Merge pull request #1070 from katzoo/update-typings
update typings to 1.3.3
2016-12-23 09:25:43 +01:00
katzoo ca8e4c6c1d fix few missing propTypes 2016-12-19 20:39:07 +01:00
katzoo b5e0c6207e update typings to 1.3.3 2016-12-19 20:13:36 +01:00
Javi Velasco 4c154e86ce Fixes #236 2016-11-27 13:20:46 +01:00
Javi Velasco 0683e7dc4b Refactor 2016-11-22 16:38:03 +01:00
Javi Velasco b6e21ca848 Merge branch 'dev' of https://github.com/dhamilton91/react-toolbox into dhamilton91-dev
* 'dev' of https://github.com/dhamilton91/react-toolbox:
  Added enabled and disabled date properties to date picker.
2016-11-22 16:18:40 +01:00
Javi Velasco 3c08c8813b Merge pull request #951 from apinnecke/dev
Adds german settings to time utils
2016-11-22 08:41:44 +01:00
Alexander Pinnecke 2657a94f33 Added german time to docs 2016-11-09 18:36:10 +01:00
dhamilton91 6f0db34feb Added enabled and disabled date properties to date picker. 2016-11-08 09:06:34 -05:00
Antti Ahti df81465350 Update Google URLs 2016-11-06 21:18:36 +02:00
Javi Velasco 00a0a9f16a Fix #930 2016-11-05 12:04:59 +01:00
Javi Velasco d59a1396f0 Add onDismiss for TimePicker 2016-10-22 16:56:18 +02:00
Javi Velasco 4231f86c45 Merge branch 'dev' of https://github.com/pepesenaris/react-toolbox into pepesenaris-dev
* 'dev' of https://github.com/pepesenaris/react-toolbox:
  Add optional cancel handler in dialog dismiss
2016-10-22 16:53:08 +02:00
Panjie Setiawan Wicaksono 3e170c579b ts def typo fix and addtions 2016-10-18 22:44:01 +07:00
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
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
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
Javi Velasco 8c21e30e72 Fix linter errors 2016-10-06 20:29:36 +02:00
Sreehari b67f4c7d09 Fix multiple default exports in Datepicker 2016-09-28 21:34:52 +05:30
Antony Lau ac8b6d61a7 Replace onMouseDown with onClick in DatePicker and TimePicker 2016-09-07 23:46:44 +08: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 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
Per Bergqwist def8643a0a Import React namespace, fix problem with @types 2016-09-02 09:18:33 +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
Ro Savage ad2a8e8459 Added ability to navigate calendar with keyboard 2016-08-11 12:05:06 +12:00
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +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 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 023a7323b8 Fixes #663 2016-08-04 20:48:52 +02: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
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02: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
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 0513cb72e9 Fixes #616 2016-07-10 13:42:35 +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