Commit Graph

234 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov e745e3332e Hide clear icon in autocomplete if autocomplete is disabled 2019-06-28 16:00:16 +03:00
Vitaliy Filippov 8690e3a709 Replace Dropdown with Autocomplete 2019-06-19 20:13:48 +03:00
Vitaliy Filippov ba3993c811 Fix table styles, pass `style` to top-level element in inputs 2019-05-07 16:50:56 +03:00
Vitaliy Filippov fce0362b5b +clearTimeout 2019-03-05 21:48:03 +03:00
Vitaliy Filippov 36fd012442 Allow tooltips without wrappers for every child 2019-03-05 21:34:16 +03:00
Vitaliy Filippov 2427d05568 Fix onHide in Menu, allow tooltips on focus 2019-03-04 21:11:41 +03:00
Vitaliy Filippov 8f1312f79f Fix Tooltip positioning near edges of the viewport 2019-03-01 01:16:49 +03:00
Vitaliy Filippov 3035f7d0ae Add support for "overflow" item in autocomplete 2019-02-25 17:07:03 +03:00
Vitaliy Filippov 4f02b11197 Do not pass all props down to Input 2019-02-14 00:49:22 +03:00
Vitaliy Filippov ecbfe34d47 Fix autocomplete not displaying empty strings and zeroes 2019-02-10 17:41:39 +03:00
Vitaliy Filippov 210297da83 Show scrollbars in webkit, add padding for autocomplete [v] 2018-12-18 16:48:43 +03:00
Vitaliy Filippov 83dd1c93b7 Clearable dropdown & autocomplete, fix dropdown behaviour, always-controlled inputs 2018-07-17 20:15:40 +03:00
rubenmoya 752cdd3854 Revert "Update components to use css-transition-group 2"
This reverts commit ab2e78967b.
2018-02-21 20:19:18 +01:00
rubenmoya 6357bedb52 Fix tsc errors 2018-02-20 22:42:07 +01:00
rubenmoya 7e4c12efff Update versions 2018-02-20 20:59:58 +01:00
rubenmoya b0a7533e7c Update URLs to new .io domain 2017-11-16 19:11:31 +01:00
Javi Velasco e1f320c580 Fix package.json 2017-09-01 17:56:54 +02:00
Panjie Setiawan Wicaksono 91cb46db84 Typescript definitions validation (#1163)
* initial attempt to validate ts definitions

* ignore .vscode

* Add other spect & some fixes:

- Add target prop to Button
- Add value prop to MenuItem
- Make label optional in Tab
- Improve Tooltip types

* Add tsc validation to travis

* fix typo in travis build step
2017-09-01 17:51:41 +02:00
Javi Velasco a9518b6582 Move tsd task to gulpfile 2017-05-29 12:01:44 +02:00
Javi Velasco 82f71182f9 Add postcss-apply to buid task and to webpack 2017-05-25 09:27:58 +02:00
Javi Velasco 9a9396fa0b Fix tests 2017-05-24 10:38:04 +02:00
Javi Velasco be80e0bb85 Update dependencies 2017-05-23 13:04:55 +02:00
Gabriel Villenave 2981da4094 Updated dependencies (#1448) 2017-05-22 18:30:39 +02:00
Ankur Patel d2eee5ad4f Add support for treeshaking (#1423)
According to Rollup guide adding `module` field in package.json helps tree shaking aware tools like webpack 2 or rollup import the ES6 modules directly to use the tree shaking feature and reduce the bundle size.
2017-05-09 17:02:09 +02:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Javi Velasco 1181acd2d4 Release 2.0.0-beta.8 2017-04-06 10:31:57 +02:00
Kiko Beats d86f774292 Lock node version on package.json (#1394)
* Lock node version on package.json

* Update package.json
2017-04-06 10:12:53 +02:00
Javi Velasco bd926ae5c1 Restore linter run in travis 2017-04-06 10:07:03 +02:00
Javi Velasco 11634571d1 Merge branch 'dev' into travis-node 2017-04-06 09:56:00 +02:00
Kiko Beats ade338f903 Add npm pretest script (#1396)
Instead of run linter just for travis build, run it in each local testing execution
2017-04-06 09:53:55 +02:00
Kiko Beats fdd7873d15
WIP 2017-04-05 11:29:23 +02:00
Kiko Beats 4b713c3483
WIP 2017-04-05 11:22:30 +02:00
Rubén Moya 5de4e7391c Tabs pointer not being updated (#1224) (#1325)
* Fixes #1224

* add jest setup file to mock requestAnimationFrame

* fix duplicated jest config
2017-04-02 14:08:25 +02:00
Javi Velasco 5baf015184 Release 2.0.0-beta.7 2017-03-08 21:32:38 +01:00
Gustavo Henke 558040de60 Move eslint-plugin-babel to devDependencies (#1222) 2017-02-07 14:06:03 +01:00
Gustavo Henke 632411b107 Move gulp-rimraf to devDependencies (#1214) 2017-02-06 16:35:36 +01:00
Javi Velasco dc60b07bef Eslint plugin compat 2017-02-06 12:02:06 +01:00
Javi Velasco 23b4537d2c Remove tests from build and remove sinon 2017-02-06 10:29:23 +01:00
Javi Velasco b48c17d1ad Use Jest 🃏 and upgrade Webpack and other dependencies 2017-02-06 09:53:31 +01:00
Oleg Stepura a0e1392c34 Move `react-style-proptype` to non-dev deps (#1190)
Else there is an error:
```ERROR in ./~/react-toolbox/lib/checkbox/Checkbox.js
Module not found: Error: Can't resolve 'react-style-proptype' in '[stripped]\node_modules\react-toolbox\lib\checkbox'
 @ ./~/react-toolbox/lib/checkbox/Checkbox.js 38:26-57
 @ ./~/react-toolbox/lib/checkbox/index.js
 @ ./~/react-toolbox/lib/index.js
 @ [stripped]/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch [stripped]/index.js

ERROR in ./~/react-toolbox/lib/checkbox/Check.js
Module not found: Error: Can't resolve 'react-style-proptype' in '[stripped]\node_modules\react-toolbox\lib\checkbox'
 @ ./~/react-toolbox/lib/checkbox/Check.js 15:26-57
 @ ./~/react-toolbox/lib/checkbox/index.js
 @ ./~/react-toolbox/lib/index.js
 @ [stripped]/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch [stripped]/index.js

ERROR in ./~/react-toolbox/lib/slider/Slider.js
Module not found: Error: Can't resolve 'react-style-proptype' in [stripped]\node_modules\react-toolbox\lib\slider'
 @ ./~/react-toolbox/lib/slider/Slider.js 32:26-57
 @ ./~/react-toolbox/lib/slider/index.js
 @ ./~/react-toolbox/lib/index.js
 @ [stripped]/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch [stripped]/index.js
```
2017-01-30 15:35:13 +01:00
Javi Velasco 6588093380 Release 2.0.0-beta.6 2017-01-28 13:18:51 +01:00
Javi Velasco ff55f5afa5 Update dependencies 2017-01-28 13:17:26 +01:00
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Javi Velasco 69be6564c2 Release 2.0.0-beta.5 2017-01-24 11:25:19 +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 8f61374ddf Release 1.3.4 2017-01-05 02:39:20 +01:00
Javi Velasco 2a7010b022 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  fix few missing propTypes
  update typings to 1.3.3
  Declare immutability-helper as direct dependency
  Add disabled dropdown item feature & add its test cases & update docs
  Reformat
  Cleaned up isValueAnObject check
2017-01-04 02:20:41 +01:00
Javi Velasco 323ea320d1 Fixes #1032 2017-01-04 02:20:27 +01:00
Boris Serdiuk 85b6010999 Declare immutability-helper as direct dependency 2016-12-18 18:27:12 +01:00
Javi Velasco 0116d5d753 Downgrade node-sass 2016-12-17 21:56:34 +01:00