Commit Graph

303 Commits (master)

Author SHA1 Message Date
Phil Myers f24d12800f Add falsy key example to AutocompleteTest 2018-02-27 13:11:46 -05:00
Rubén Moya fc8e14258a
Merge pull request #1628 from olegstepura/multilineHint
Remove unknown prop multilineHint
2018-01-23 18:25:21 +01: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
Oleg Stepura 478c9aedb8 Remove unknown prop multilineHint which React reports as passed to textarea 2017-08-09 13:01:03 +02:00
Daniel Barreiro 9619d85916 Fixes #1452 (#1454)
* Fixes #1452

Avoid using .bind within the render method of components.

* Fixed JS comment into proper JSX comment
2017-05-22 18:28:16 +02:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Javi Velasco 181e5c27fb Fixes #1171 2017-01-24 11:14:01 +01:00
Javi Velasco 792f8acc42 Add ripple for Tabs. Fixes #377 2017-01-21 13:03:38 +01:00
Javi Velasco 0c2a2964cb Better icons alignment 2017-01-20 19:13:10 +01:00
Félix Zapata 3859c464ff feat(a11y): add alt attribute to set alternative text for the icon or image (#1102) 2017-01-16 21:51:53 +01:00
Félix Zapata 51d58eb7a5 Alternative text for the FontIcon
* refactor(FontIcon): remove unused attribute

* feat(a11y): set aria-label attribute to the icon
2017-01-11 19:51:02 +01:00
Félix Zapata 1ffd4d3eba Add title to the GitHub Icon 2017-01-11 19:26:26 +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
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
Ezequiel Schwartzman 1e0aaec12c Make Tooltip use currentTarget instead of target when calculating the position 2016-12-02 13:24:37 -05:00
Ezequiel Schwartzman b3f99348d4 Allow Tooltip factory to use string native components 2016-12-02 13:03:16 -05: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
Javi Velasco 1e4b2eca4b Merge branch 'dev' of https://github.com/akinoxsolutions/react-toolbox into akinoxsolutions-dev
* 'dev' of https://github.com/akinoxsolutions/react-toolbox:
  Add "tooltipShowOnClick" to Tooltip component
2016-11-25 19:44:43 +01:00
Javi Velasco b6e21ca848 Merge branch 'dev' of https://github.com/dhamilton91/react-toolbox into dhamilton91-dev
* 'dev' of https://github.com/dhamilton91/react-toolbox:
  Added enabled and disabled date properties to date picker.
2016-11-22 16:18:40 +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 bc0d9d8dfb Merge pull request #988 from rubenmoya/fix-slider
fix (#942): slider increments with steps
2016-11-21 20:17:43 +01:00
rubenmoya 66a630cf57 fix (#942): slider increments with steps 2016-11-21 20:07:44 +01:00
Christian Droulers 056551e7b2 Add "tooltipShowOnClick" to Tooltip component 2016-11-18 14:41:24 -05:00
Javi Velasco 25bba26244 Fix #910 2016-11-18 19:15:13 +01:00
Javi Velasco 173cff00d8 Fix #904 2016-11-18 18:47:39 +01:00
dhamilton91 6f0db34feb Added enabled and disabled date properties to date picker. 2016-11-08 09:06:34 -05:00
rubenmoya 736eeeb55f remove icon from Snackbar 2016-11-02 09:46:19 +01:00
rubenmoya 690a79ac56 fix handleMultipleChange in autocomplete spec 2016-10-28 19:09:46 +02:00
Javi Velasco b66d10d266 Propagate disabled to Input in Slider 2016-10-22 17:12:41 +02:00
Javi Velasco 69bbba9cce Merge branch 'dev' of https://github.com/Haggus/react-toolbox into Haggus-dev
* 'dev' of https://github.com/Haggus/react-toolbox:
  Implement disabled state for Slider and Progressi Bar
2016-10-22 16:57:13 +02:00
Javi Velasco f0968f6827 Merge pull request #862 from Contagious06/dev
* Added multiline height, see #811
2016-10-22 16:38:28 +02:00
Mateusz Mrowiec c5f05fba9e Implement disabled state for Slider and Progressi Bar 2016-10-19 14:20:07 +02:00
Matthew 7856f9241d * Fixed indentation. 2016-10-13 08:19:21 +08:00
Matthew a50c1c406e * Added multiline height, see #811 2016-10-13 08:15:33 +08:00
Javi Velasco e6b410491a Merge pull request #857 from rrott/feature/584-add_required_to_Dropdown_as_Input_fields
Added required to Dropdown
2016-10-12 16:58:58 +02:00
Javi Velasco c20351f572 Merge pull request #847 from MaximKomlev/FileBrowseButton
File browse button
2016-10-12 16:55:09 +02:00
Roman Rott f912729ef7
Added required to Dropdown 2016-10-11 23:19:03 +03:00
Javi Velasco 9d3bba3c31 Fix #819 2016-10-08 12:27:57 +02:00
Maxim Komlev 089c5b69f7 + pushed file browser button branch 2016-10-07 16:16:08 -07:00
Maxim Komlev 724fafa7ea + BrowseButton 2016-10-07 15:16:51 -07:00
Maxim Komlev 07d1d51c59 * fixed
/home/travis/build/react-toolbox/react-toolbox/components/index.js
  31:2  error  Newline required at end of file but not found  eol-last

/home/travis/build/react-toolbox/react-toolbox/spec/components/pager.js
  65:2  warning  Unnecessary semicolon  no-extra-semi

/home/travis/build/react-toolbox/react-toolbox/components/checkbox/Checkbox.js
  50:32  error  'style' is missing in props validation  react/prop-types
2016-10-06 11:49:15 -07:00
Maxim Komlev ff7dd4d2ff * fixed code linting 2016-10-06 11:18:15 -07:00
Maxim Komlev 183dfe031c + Pager control, actually it is not defined at matereal design but definitely it is helpful to have.
the control is based on react-toolbox controls and corresponds to matereal design. It is highly customisable and it follows default style patterns of react-toolbox components. actually what differentiate the control from others similar that it has always const set of buttons and the set depends on two properties: number of total pages (latsPage) and number of visible pages at block. e.g.
[<][1][...][4][5][6][...][8][>] or [<][1][2][3][4][5][...][8][>] or [<][1][...][4][5][6][7][8][>] where block size is 3. it gives smooth user experience. A layouting is based on flex but easily can be rewritten using inline-block at custom theme.

example is added to specs.
2016-10-05 14:20:29 -07:00
Javi Velasco 390e7694db Fix #787 2016-09-27 00:00:20 +02:00
Javi Velasco fcea0e437f DI change in AppBar 2016-09-03 12:23:22 +02:00