Commit Graph

200 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 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 283e7e2ef3 Rework & simplify autocomplete code 2018-11-28 15:44:09 +03:00
Vitaliy Filippov 185dd37202 Restore expand animation on autocomplete suggestions 2018-07-25 01:56:59 +03:00
Vitaliy Filippov 80bbb584db Render autocomplete suggestions in a Portal 2018-07-24 20:05:08 +03:00
Vitaliy Filippov 83dd1c93b7 Clearable dropdown & autocomplete, fix dropdown behaviour, always-controlled inputs 2018-07-17 20:15:40 +03:00
Phil Myers f79aaff297 Check whether the query key has a value rather than whether it's truthy 2018-02-27 13:23:55 -05:00
Rubén Moya f75fd26207
Merge pull request #1689 from velveret/autocomplete-autofocus
Allow autoFocus on Autocomplete component
2018-01-23 18:19:35 +01:00
Landon Petzoldt b79c3da04d Update Autocomplete TypeScript declaration file and readme with key callbacks 2017-12-21 14:16:49 -06:00
Landon Petzoldt 2c92c37080 Enable onKeyDown and onKeyUp props on Autocomplete component 2017-12-21 13:43:37 -06:00
Vicky Lai a8280917fb Allow autoFocus on Autocomplete component 2017-09-21 12:53:42 -07:00
Rasmus Eneman 6d43f884fd Fix lint issue (#1624)
As the lint fails on dev Travis marks the build as failing for all new PRs, this fixes that.
2017-09-01 17:54:15 +02:00
Paweł Rychlik 4ca6747bfc Update readme for Autocomplete (#1657)
According to the source, the accepted values for `direction` are `"auto" | "up" | "down"`.
8e2b688954/components/autocomplete/Autocomplete.d.ts (L54)
2017-09-01 17:53:16 +02:00
Kristoffer Rene Eckhoff f8f528cbcd Do not show scrollbar on autocomplete component IE11 (#1515)
Scrollbars are shown on the autocomplete component in IE11.

It is not possible to use the scrollbar after it appears which confuses my users.

I am not sure IE implementations are wanted, but this in any case disables the scrollbar so that the autocomplete looks more like in chrome.
2017-08-02 18:15:55 +02:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Raphael Guastaferro b75214c792 Autocomplete accepting suggestionMatch none (#1289) 2017-04-02 14:15:26 +02:00
Mikko Matilainen da85a69e52 Fix allowCreate in Autocomplete when value prop is an object (#1334) 2017-04-02 14:12:48 +02:00
Tengis Batsaikhan 3e834cb63b Bugfix[AutoComplete]: showAllSuggestions state should be true if showSuggestionsWhenValueIsSet is true (#1367)
* Bugfix: showAllSuggestions state should be true.

* if query value not empty then filter suggestions
2017-04-02 14:06:25 +02:00
Emmanuel Quentin 3d2329a502 Allow to reference Input via Autocomplete (#1255) 2017-02-26 14:25:46 +01:00
Allan Gomes 8e2b688954 `disabled` suggestionMatch in d.ts (#1241)
`disabled` suggestionMatch  in d.ts
2017-02-19 12:25:11 +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
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