Commit Graph

175 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
Václav Chalupa d80dc82991 Enable dynamic source for single value Autocomplete (#1120) 2017-01-18 08:34:27 +01:00
Václav Chalupa d3fe9f9868 Add suggestionMatch option to disable filtering (#1122) 2017-01-18 08:33:30 +01:00
radeklos 2e3cb68c79 Remove diacritic signs in query and suggestions (#1115) 2017-01-17 08:24: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 bf00d92d68 Fixes #1034 2017-01-04 15:14:26 +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
Javi Velasco 5b0cf6b309 Merge pull request #1033 from dynamicdo/1.3.1-autocomplete-improvements
Autocomplete isValueAnObject cleanup
2016-12-23 09:23:58 +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
masakij f00687564b refactor propTypes more descriptive 2016-12-14 11:42:24 +09:00
masakij ce3fbfc913 relaxing propTypes of Input & Autocomplete 2016-12-12 16:18:03 +09:00
Craig Cartmell 7c6f5ae431 Reformat 2016-12-07 11:01:46 +00:00
Craig Cartmell d38abd1a91 Cleaned up isValueAnObject check 2016-12-07 10:59:35 +00:00
Craig Cartmell 3d4d93bc71 Added safety check on vals 2016-12-06 14:17:27 +00:00
Craig Cartmell 67d817d43b Merge remote-tracking branch 'upstream/dev' into 1.3.1-autocomplete-improvements
# Conflicts:
#	components/autocomplete/Autocomplete.js
2016-12-06 12:42:50 +00:00
Craig Cartmell afb0f296a8 Added showSelectedWhenNotInSource to AutocompleteTheme 2016-12-06 09:53:18 +00:00
Craig Cartmell 7d19b9af4a Added onQueryChange description to readme 2016-12-06 09:49:13 +00:00
Craig Cartmell d19249fd0e Updated selectedPosition description in readme 2016-12-06 09:45:12 +00:00
Craig Cartmell b83980d5b4 Updated readme to include new showSelectedWhenNotInSource prop 2016-12-06 09:43:11 +00:00
Javi Velasco 5b39cfd1db Fixes #1016 2016-12-05 22:23:01 +01:00
Craig Cartmell 0ca01a8395 Merge remote-tracking branch 'remotes/upstream/dev' into dev
# Conflicts:
#	components/autocomplete/Autocomplete.js
2016-12-01 11:46:00 +00:00
Craig Cartmell d8a73eef88 Merge branch 'show-chips-if-not-in-source' into dev 2016-11-30 15:51:15 +00:00
Craig Cartmell 3237ad0828 Tidy up 2016-11-30 15:05:52 +00:00
Craig Cartmell e301116066 Added logic to show selected chips even if they don't exist in source (showSelectedWhenNotInSource). Object is now accepted in value prop and should match source. WIP. 2016-11-30 13:43:15 +00:00
James Browne 9d732f4b19 Removes onQueryChange from props that are passed down to the Input element in Autocomplete 2016-11-25 10:59:10 +00:00
Alexandre Borela 5c79ef0be6 Pass event to selection. 2016-11-24 12:30:36 -02:00
James Browne fb263f4072 Adds type definitions. Makes it possible to hide the Chips. 2016-11-24 11:09:39 +00:00
James Browne 8052a7794f Adds a hook to get the autocomplete query value. 2016-11-23 17:39:04 +00:00
Alexandre Borela 4cd756de83 Fix code style. 2016-11-22 09:56:58 -02:00
Alexandre Borela f7a3b6d85b Extract reused logic. 2016-11-22 08:20:43 -02:00
Alexandre Borela a1ad40e841 Fix Autocomplete mouse selection. 2016-11-22 08:12:11 -02:00
Javi Velasco 6fb1bcd0c6 Fix #983 2016-11-20 11:51:43 +01:00
Javi Velasco 173cff00d8 Fix #904 2016-11-18 18:47:39 +01:00
Javi Velasco 1fefbae412 Fix #883 2016-11-06 13:02:22 +01:00
Javi Velasco d0a9032fe7 Fix #877 2016-11-06 12:36:31 +01:00
Javi Velasco 57320a0fb5 Pass linter 2016-11-01 17:01:39 +01:00
Justin Schultz 466aac254f Moves the enter check to onKeyDown 2016-10-28 14:21:01 -06:00
Sebastian Gronewold 9931ac42be Pass currently active suggestion to onBlur handler 2016-10-23 18:32:32 +02:00
Sebastian Gronewold b2ad4180f9 Add event to autocomplete onBlur 2016-10-22 15:28:03 +02:00
Panjie Setiawan Wicaksono 3e170c579b ts def typo fix and addtions 2016-10-18 22:44:01 +07:00
Nathan Ducrey 9edc8bd32d Add onBlur and onFocus props in Autocomplete component 2016-09-14 10:25:38 +02:00
Javi Velasco bbee9ef7c1 Fix #770 2016-09-06 22:19:28 +02:00
Javi Velasco d86e4a5956 Fix #755 2016-09-03 14:25:12 +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
David Cho-Lerat 0ea3849771 Update readme.md
The 'direction' property value is 'down', not 'bottom'
2016-08-25 21:46:02 +02:00