Commit Graph

106 Commits (e572dd7a96d3b5e584e4abedf649dfb18c90934b)

Author SHA1 Message Date
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 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 bc18e56065 Import TabTheme interface at Tabs TS definition 2017-01-26 12:30:10 +01:00
Javi Velasco 2224eb6cd0 Use isComponentOfType in Tabs. Fixes #1155 2017-01-24 11:51:30 +01:00
Javi Velasco 792f8acc42 Add ripple for Tabs. Fixes #377 2017-01-21 13:03:38 +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
Raul Matei 78895c0e18 Fix right arrow appearing when window is re-sized 2017-01-11 19:45:46 +01:00
Javi Velasco c87461615f Fixes #1085 2017-01-10 19:14:55 +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 941e41d6d0 Fix #939 2016-11-24 08:58:25 +01:00
Javi Velasco b6610cd3b3 Merge pull request #952 from anotherpit/patch-1
Add Tabs' `inverse` and `hideMode` props in d.ts
2016-11-22 16:40:49 +01:00
Javi Velasco 9a1b7d54f3 Remove unneeded timeouts from Tabs 2016-11-22 09:47:28 +01:00
Javi Velasco ad0bcc33d5 Inject and use FontIcon and minor rendering changes for Tabs 2016-11-22 09:45: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
Pit 001a87181f Add Tabs' `inverse` and `hideMode` props in d.ts 2016-11-11 00:45:15 +03:00
Antti Ahti df81465350 Update Google URLs 2016-11-06 21:18:36 +02:00
Javi Velasco f4f5ae885e Fix #814 2016-10-06 20:21:50 +02:00
Javi Velasco 199befece3 Change active tab display to flex 2016-09-05 22:36:24 +02:00
Javi Velasco a0ab5a3815 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Adding hideMode to Tabs
2016-09-03 12:23:49 +02:00
Javi Velasco 518b2f48ed Merge pull request #751 from abhirao/tab_hide_modes
Adding hideMode to Tabs
2016-09-03 12:09:09 +02:00
Javi Velasco 3b9a6aed5f Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  Import React namespace, fix problem with @types
  Fixed errors for Typescript 2.0.2
  Added ability to navigate calendar with keyboard
2016-09-03 12:05:18 +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
Javi Velasco 6a488b3e21 Better tabs with icons 2016-09-03 11:48:05 +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
Abhi Rao 8e0b64f852 Adding hideMode to Tabs
- Defaulting to `unmounted` - not mounting inactive tabs. `display` mode will mount inactive tabs but keep them hidden.
- Closes #709
2016-08-30 15:08:22 -05:00
Alex Cornejo 5c2406d2e5 add tab icons.
This adds the possibility of specifying an icon to use in the tab
headers. You can specify either a label only, icon only or both.

https://material.google.com/components/tabs.html#tabs-usage
2016-08-28 16:15:35 -07:00
Ron Derksen 908ad72533 Merge branch 'dev' into theme-tab-sub-components 2016-08-23 14:53:10 +02:00
Ron Derksen b220c70729 Theme is now passed on to tab subcomponents 2016-08-23 14:47:35 +02:00
Javi Velasco b528ab1191 Fix #713 2016-08-22 22:32:15 +02:00
Aren Blondahl 8dedcfce77 Fixed linting errors. 2016-08-11 21:31:08 -06:00
Aren Blondahl 9bf1c8e4fe Support for fixed & inverse color tabs. 2016-08-11 21:03:18 -06:00
dlebedynskyi b5575618c2 fix for target missing id
using 
https://github.com/react-toolbox/react-toolbox/issues/699
2016-08-09 13:47:48 -04: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 b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
Randy Coulman 8c20848fe8 Forward theme prop from Tabs to TabContent
The `Tabs` component takes a `theme`, but was not forwarding it on to
its internal `TabContent` component, so it wasn’t possible to theme the
`tabs` or `active` classes.
2016-07-08 14:36:55 -07:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03: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 6afb914126 Autoinject theme for Tabs 2016-05-30 23:32:42 +02:00
Javi Velasco d6bc5f5436 Move tabs to themr 2016-05-26 21:01:54 +02:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +02:00
Javi Velasco 7d73fb4216 Fix #442 2016-04-10 19:08:21 +02:00