Commit Graph

168 Commits (master)

Author SHA1 Message Date
Rubén Moya 2a6b62cd81
Merge pull request #1755 from pablolmiranda/fixes-tooltip-for-button
Tooltip for disabled button
2018-01-23 18:17:39 +01:00
bilalkosker 4d64c73872
onchange
On change added
2017-12-20 16:52:10 +03:00
Pablo Lacerda de Miranda 028663062f adds a span wrapper to the component button in case of its disabled and have mouse enter and mouse leave events 2017-11-16 10:40:39 -08:00
Shawn Erquhart 071a4d3c71 Add `multiple` property to `BrowseButton` (#1656) 2017-09-01 17:52:57 +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
Rasmus Eneman 79e031e149 Add default export TypeScript type to IconButton (#1577) 2017-08-02 18:29:19 +02:00
Daniel Barreiro 934ffd2000 Add `accept` property to `BrowseButton` (#1533)
* Corresponds to `accept` attribute on `<input type="file"`
* Allows defining which type of files are to be listed
* Defaults to `*/*` which means all MIME types

Not documented nor tested in the original, it remains so.
2017-08-02 18:26:20 +02:00
Nicolas Jiang c1a2dba4b4 fixed browser button fires onChange event twice (#1557) 2017-08-02 18:25:19 +02:00
Brian Gates f90958d53c Update readme.md (#1478)
Fixed typo.
2017-05-22 18:26:56 +02:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Javi Velasco b48c17d1ad Use Jest 🃏 and upgrade Webpack and other dependencies 2017-02-06 09:53:31 +01:00
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Javi Velasco 0c2a2964cb Better icons alignment 2017-01-20 19:13:10 +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
AlexRay 6c1041418a Update Button README.md (#1081)
* Updates button readme.md 

Updates button readme.md to include `onMouseEnter` property

* Fixes readme.md typo
2017-01-16 21:52:24 +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 fb52c00a14 Fix #953 2016-11-22 16:44:47 +01:00
Javi Velasco b529e04f75 Merge 2016-11-22 08:51:35 +01:00
Parmesh Krishen d49817003f Implementing tab pagination per material design specifications. 2016-11-20 17:52:22 -06:00
Antti Ahti df81465350 Update Google URLs 2016-11-06 21:18:36 +02:00
Antti Ahti 62f55cae1e Support elements in icon attribute in IconButton
This makes IconButton more flexible. It also makes icon elements work
when used with leftIcon/rightIcon attributes in AppBar.
2016-11-02 23:18:25 +02:00
Maxim Komlev 53e016eb4d fixed layout for IE 2016-10-30 16:19:24 -07:00
Javi Velasco f8c0c7fece Remove importants 2016-10-12 17:04:52 +02:00
Maxim Komlev 724fafa7ea + BrowseButton 2016-10-07 15:16:51 -07: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
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
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 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +02:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
Javi Velasco c9ac90fffe Fixes #542 2016-07-17 18:16:13 +02:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03:00
Javi Velasco 6cd4202c6c Fix #542 2016-06-19 21:34:30 +02: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 96599d3a09 Move some mixins 2016-06-04 16:36:17 +02:00
Javi Velasco 78790132f0 Merge with dev 2016-06-03 23:49:35 +02:00
Javi Velasco 73c115fac7 Better PropType syntax and delete required className api 2016-06-03 23:44:33 +02:00
Javi Velasco 6d37fe7ef6 Add missing context theme doc for Button 2016-05-28 19:37:59 +02:00
Javi Velasco d59f95c460 Better readme for buttons 2016-05-28 19:19:14 +02:00
Javi Velasco 6048bb72f4 Autoinjects for Button and IconButton 2016-05-28 15:37:10 +02:00
Yotam Bar-On 63f760bd13 Modify Button's display to be inline-flex
Text of ``label`` in ``<Button />`` is not aligned with the icon. This is because the ``<Button />`` has ``inline-block`` and not ``inline-flex``, so the ``align-items`` rule has no effect.
Changed the ``inline-block`` declaration into ``inline-flex``.
2016-05-28 16:06:37 +03:00
Javi Velasco 6329c5d11d Make tests pass 2016-05-25 00:25:43 +02:00