Commit Graph

112 Commits (9d6ec1eedd320610a5b3fcfaf1ad308ba3d53196)

Author SHA1 Message Date
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Javi Velasco badc0cb277 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Restructure typescript definitions (#1114)
  Enable dynamic source for single value Autocomplete (#1120)
  Add suggestionMatch option to disable filtering (#1122)
  Expose onEscKeyDown on Drawer component (#1150)
  Add inverse to <MenuIcon /> (#1147)
  Added proper type definitions for dialog actions so typescript users can pass on props to the generated buttons (#1098)
  Remove diacritic signs in query and suggestions (#1115)
  Update Button README.md (#1081)
  feat(a11y): add alt attribute to set alternative text for the icon or image (#1102)
  Add backers and Sponsors (#1137)
2017-01-18 11:03:30 +01:00
Javi Velasco 7e26773c6d Fixes #1127 2017-01-18 10:56:03 +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 8b25e96360 Fix linter 2017-01-05 02:38:21 +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 b5e0c6207e update typings to 1.3.3 2016-12-19 20:13:36 +01:00
masakij b419f449bc Add disabled dropdown item feature & add its test cases & update docs 2016-12-16 18:34:52 +09:00
T James c5b147307e Enable theming of Input component inside Dropdown component.
Related to #877 and #920 and commit #d0a9032
2016-12-05 15:26:35 +13:00
makieno 2f5e0f5f35 Dropdown auto fix
Dropdown's property `auto` isn't working (anymore), and always opens down even if the Dropdown is positioned in the lower half of the screen.
2016-11-30 11:05:55 +01:00
mhasbini 6eda1f90c0 add required attribute to DropdownProps interface 2016-11-25 14:55:35 +02:00
Thomas Wolfe f0f996e957 Error in allowBlank
Should be If false
2016-11-20 15:21:28 -08:00
Javi Velasco 276e891ac1 Fix #297 2016-11-19 22:49:47 +01:00
Javi Velasco e240cf237e Fix #866 2016-11-05 12:22:44 +01:00
Ferenc Radius be81e4d4ea fix type of theme.required fixing issue #867 2016-10-14 09:58:13 +02:00
Roman Rott f912729ef7
Added required to Dropdown 2016-10-11 23:19:03 +03: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
Per Bergqwist def8643a0a Import React namespace, fix problem with @types 2016-09-02 09:18:33 +02:00
Per Bergqwist 34313b823e Fixed errors for Typescript 2.0.2 2016-08-31 08:41:16 +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
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +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 fd138f9716 Fixes #674 2016-08-06 20:04:16 +02:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
Javi Velasco 3e29844e63 Update to react 15.2.0 2016-07-04 22:03:57 +02:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03: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
Olivier Louvignes ec94e5a97a feat(dropdown): add support for name prop 2016-06-09 19:21:00 +02: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
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 7a241e93ae Autoinject theme for dropdown 2016-05-29 19:37:40 +02:00
Javi Velasco 38e2690af9 Migrate Dropdown to themr 2016-05-22 21:28:48 +02:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco ee4cc5437d Fix #425 2016-04-10 19:15:29 +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
Javi Velasco 5db11d3a9e Proper property sorting 2016-04-05 21:53:13 +02:00
Tobias Bales 542b58ade6 Add allowBlank to Dropdown
Since @nickw was having issues with the dropdown not defaulting to the
first entry if the value was null (even though the options had a null value in it)
this seems like a good time to add an option to default to the first element of the supplied options
(the prop is called allowBlank) in case the value is not found in the options.

The handling of null/undefined values has been fixed too and if there actually is a value of null
in the options it is correctly selected now.
2016-04-05 21:53:13 +02: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 fe9312aad0 Fixed Dropdown readme example and updated properties. 2016-03-25 10:27:53 -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
Tomasz Kasperek 9dcd1d6750 Introduce close() method 2016-03-23 12:35:24 +01: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
Tobias Bales c812d4c176 Correctly handle zero as dropdown value
This is only an issue if the dropdown item with the value 0
is not the first item still better to properly handle it I think.
2016-03-10 11:13:39 +01:00