Commit Graph

104 Commits (ec94e5a97a730b027a0ec8f8f665e88574dd9ad9)

Author SHA1 Message Date
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 73c115fac7 Better PropType syntax and delete required className api 2016-06-03 23:44:33 +02:00
Javi Velasco 1386a1551d Destructuring React for some components 2016-05-29 12:47:27 +02:00
Javi Velasco 4ff92ac7ea Autoinject theme for Dialog, DatePicker and Overlay 2016-05-28 22:04:00 +02:00
Javi Velasco 709f4b1ba5 Migrate DatePicker to themr 2016-05-21 20:52:48 +02:00
Javi Velasco 33ff49119b Fix linter errors 2016-05-10 21:33:34 +02:00
Javi Velasco abe08f1b70 Merge pull request #475 from ro-savage/datepicker-wrong-date-bug
Fix DatePickerDialog to correctly display the previously selected date
2016-05-10 20:17:53 +02:00
Javi Velasco f932ce2996 Merge pull request #491 from hamzapurra/dev
Add icon prop to DatePicker
2016-05-10 20:09:44 +02:00
Hamza M Purra 77c74bfb55 Add icon prop to DatePicker 2016-04-28 18:08:06 +04:00
Ro Savage d7b820a7cf Hotfix for incorrect ternary statement in DatePicker 2016-04-28 12:12:59 +12:00
Ro Savage 39ad60a114 Fix DatePickerDialog to correctly display the previously selected date 2016-04-28 09:40:44 +12:00
Ro Savage 62e532218b Update DatePicker to handle being passed a value of an empty stirng 2016-04-22 15:34:48 +12:00
Magica d83951503b Fix the value of month in datepicker example
The value `date.getMonth()` returns is from 0 to 11.
2016-04-13 09:59:44 +08:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco 47fba11857 Add inputClassName prop to DatePicker and TimePicker 2016-04-10 18:55:55 +02:00
Javi Velasco c3ef6bd25a Update linting 2016-04-10 17:49:23 +02:00
Javi Velasco beeb6ab40a Use sass lint 2016-04-10 12:20:59 +02:00
Keren Chandran cdd6ee5f05 Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into update-docs
# Conflicts:
#	components/autocomplete/readme.md
#	components/dropdown/readme.md
2016-04-06 20:50:12 -04:00
Emil Öberg 37f8f4c992 Added !default to all config values as per #424
This way, all config values can be overridden with custom style
2016-04-02 00:47:39 +02:00
Keren Chandran 4917bf741b Sorted Date Picker Properties 2016-03-25 09:43:57 -04:00
Javi Velasco bdd37556c9 Merge pull request #398 from lucaas/add-default-to-sass-color-variables
Fix #397 Color sass variables missing !default not configurable
2016-03-24 18:03:34 +01:00
Maksim Karpychev 1d5970f42f this is correct 2016-03-23 17:20:29 +03:00
Lucas Correia acde309b3b Add default statements to color variables
This is necessary for them to be configurable via toolbox-loader
2016-03-22 14:25:26 +01:00
Felipe Amorim 240864f950 DatePicker autoOk prop 2016-03-09 19:14:58 -03:00
Felipe Amorim 756a3a9731 fixed linting errors on utils/time.js 2016-03-09 11:07:16 -03:00
Felipe Amorim 16ed92693a allows to format the date displayed on datepickers input 2016-03-08 17:45:39 -03:00
Fred Guest c0e0b5679c Use consistent data attributes
data-toolbox should be data-react-toolbox to be consistent with the rest of the components.
2016-02-06 00:35:08 -08:00
Javi Velasco aead7f0a8f Add pickers classNames to customize appereance 2015-12-20 18:08:55 +01:00
Javi Velasco 515169dc36 Improve datepicker example 2015-12-20 17:55:34 +01:00
Javi Velasco 3479f5b54e Add error field to date picker 2015-12-20 17:51:18 +01:00
Javi Velasco f3bcbf9d3b Add react-toolbox attributes and className to DatePicker 2015-12-19 22:47:00 +01:00
Javi Velasco 5293585cf0 Remove unneded scroll-x hidden 2015-12-19 14:08:30 +01:00
Javi Velasco 8b2316e947 Improve layout for calendar in firefox 2015-12-19 14:08:30 +01:00
Peter Fern 58e4e1e46c Replace `overflow-y: scroll` with `overflow-y: auto`
A number of components used `overflow-y`: scroll, which forces
scrollbars to be always visible. To work around this, `commons.scss` hid
webkit scrollbars globally. There are two problems with this: on
non-webkit browsers, scrollbars are visible even when they are
unnecessary; and scrollbars are hidden in webkit browsers, even on
elements where they may be desirable.

Instead, we use `overflow-y: auto`, and hide webkit scrollbars on
specific components when necessary.  Unfortunately, this requires using
element selectors, but this is the trade-off for better supporting
non-webkit browsers and allowing scrollbars on regular elements (like
body).

Fixes #218
2015-12-19 14:08:30 +01:00
Javi Velasco 4c986e4f3c Remove unused css in calendar 2015-12-07 01:14:10 +01:00
Javi Velasco da0f1a631e Remove jsx extension from imports in components 2015-11-28 20:24:46 +01:00
Javi Velasco fdeccdad02 Use ClassNames in CalendarDay 2015-11-28 13:55:25 +01:00
Javi Velasco eb8b83d6b3 Pass scss lint 2015-11-28 13:47:56 +01:00
Javi Velasco 387afcf6fd Remove unneeded ripple dependency in calendar 2015-11-28 13:36:22 +01:00
@soyjavi e9566d0e59 New interface for onChange event (value, event) 2015-11-25 17:40:14 +07:00
Javi Velasco 2e414e9443 Use IconButton in Calendar 2015-11-24 22:58:50 +01:00
Javi Velasco 9769bfb51e Extract IconButton and small fixes 2015-11-24 00:29:02 +01:00
Nathan Marks f3d047e820 Remove jsx extension from component index files, replace with js 2015-11-22 17:49:46 -05:00
Javi Velasco ceb2ce4c7a Reorganize pickers 2015-11-22 22:13:27 +01:00
Javi Velasco cfebdb55f4 Rename most components index to actual components 2015-11-22 21:41:28 +01:00
Javi Velasco 1611b491fa Rename some components to new naming approach 2015-11-22 19:20:05 +01:00
Javi Velasco d468c9f1b3 Add floating label for pickers. Fixes #137 2015-11-21 14:46:24 +01:00
Javi Velasco 364e270da1 Better imports organization. Fixes #140 2015-11-21 14:26:17 +01:00