Commit Graph

94 Commits (master)

Author SHA1 Message Date
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Javi Velasco 0f4a16a425 Fixes #1195 2017-01-31 20:13:41 +01:00
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 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
Ahmed 3e67d354b2 Fix broken example in Card component 2016-12-13 15:04:42 +00:00
Antti Ahti df81465350 Update Google URLs 2016-11-06 21:18:36 +02:00
Roman Rott 42543f4f85
Added ::after pseudo to CardMedia to fix issue in FF 2016-10-09 21:25:45 +03:00
Javi Velasco ffdd6a214e Merge pull request #775 from aleksanb/patch-1
Pass down theme from Card title to nested Avatar
2016-09-19 10:07:48 +02:00
Stian Jensen df97407ebf Correct docs for CardTitle component
`large` is applied when the CardTitle has no avatar, not the other way around.
2016-09-14 16:18:23 +02:00
Aleksander Vognild Burkow f0774034b5 Pass down theme from Card title to nested Avatar
The current approach to theme the nested avatar was by adding a div:first-child selector in the .cardTitle class.
A bit less than ergonomic.
2016-09-07 13:11:56 +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
Javi Velasco 44bbcb12e9 Merge pull request #632 from randycoulman/document-card-cardTitle-theme
Document CardTitle's cardTitle theme
2016-07-24 12:56:46 +02:00
normano64 10b69b5c8c Moved modules to separate files. 2016-07-18 17:25:48 +02:00
Randy Coulman 460a378ddc Document CardTitle's cardTitle theme
The `cardTitle` theme for the root `CardTitle` component was not
documented.

I also made the wording for `title` and `subtitle` more consistent.
2016-07-11 11:42:17 -07:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03: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 05c6dce5e1 Autoinject theme for Card 2016-05-28 19:15:12 +02:00
Javi Velasco 9593e03fd0 Remove style dependency in cards 2016-05-21 18:00:13 +02:00
Javi Velasco bc26c3fd86 Migrate Card + refactoring + add defineTheme 🎨 2016-05-20 21:05:03 +02:00
Javi Velasco c937673a02 Add base class for buttons 2016-05-20 20:29:06 +02:00
Javi Velasco 0cb8d8bdb2 Get rid of jsx extensions 🔮 2016-04-10 21:23:04 +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 6cf753b767 Cleaned up Card documentation. 2016-03-26 18:37:29 -04: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
Fred Guest cacc7d9cab update Card.jsx 2016-02-08 10:32:37 -08:00
Boris Mikhaylov 08c0907a3c allow passing components to card title and subtitle 2016-01-22 13:31:55 +01:00
Raúl García 6eb58380c4 Add missing semicolons 2016-01-11 09:02:50 +01:00
Javi Velasco 2d931ce716 Fix scss-lint errors 2015-12-20 17:57:04 +01:00
Peter Fern ae3f4a51aa Allow CardMedia to have flexible height per documentation
The documentation for CardMedia specifies that if the `aspectRatio`
property is not set, the media will have a flexible height.  The
existing implementation did not provide this, and would instead always
render with a height of `0`, effectively hiding the element.

This change should bring the component into line with the documentation.
2015-12-16 10:28:07 +11:00
Javi Velasco f2738a0e11 Small changes in card readme 2015-11-29 18:41:52 +01:00
Javi Velasco a830c935a1 Better avatar component 2015-11-27 22:09:18 +01:00
Javi Velasco ba70d60cbd Move card sizes to rem units 2015-11-25 20:15:44 +01:00
Javi Velasco 6495af36bd Update babel-eslint to latest version 2015-11-24 20:26:10 +01:00
Nathan Marks 2117354b3f Fixed docs component scope error and added card example 2015-11-24 00:53:00 -05:00
Javi Velasco 6a644a4bcb Remove extra lines 2015-11-23 20:35:02 +01:00
Javi Velasco 52b8723e89 Adapt cards codestyle to the current constraints 2015-11-23 20:34:07 +01:00
Nathan Marks 987feb8a02 Working on card documentation 2015-11-22 23:19:26 -05:00
Nathan Marks 4ceee8d0dc Added script to auto add component definitions to bottom of readme 2015-11-22 21:43:15 -05:00
Nathan Marks eea0c0e61e Removed old file 2015-11-22 17:32:30 -05:00