Commit Graph

386 Commits (81acda716228c3b5110730b145226222eac6ef12)

Author SHA1 Message Date
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 9019239f72 * example container for pager 2016-10-07 15:18:01 -07:00
Maxim Komlev 724fafa7ea + BrowseButton 2016-10-07 15:16:51 -07:00
Maxim Komlev d931c20d98 Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into dev
Conflicts:
	spec/style.scss
2016-10-07 13:00:13 -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
Javi Velasco a59395e887 Fix #816 2016-10-06 20:18:35 +02: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
Alex Cornejo 3c6273e95b minor style tweak in spec.
Add overflow-x: scroll to the sections, since when testing the spec in
mobile phones the table component doesn't fit.
2016-09-06 23:45:04 -07:00
Javi Velasco fcea0e437f DI change in AppBar 2016-09-03 12:23:22 +02:00
Javi Velasco 37d61a44a4 Merge branch 'appbar-icons' of https://github.com/acornejo/react-toolbox into acornejo-appbar-icons
* 'appbar-icons' of https://github.com/acornejo/react-toolbox:
  Add app_bar title, leftIcon and rightIcon props.
2016-09-03 12:11:52 +02:00
Javi Velasco 29638c7374 Merge pull request #740 from acornejo/tab-icons
add tab icons.
2016-09-03 11:15:57 +02:00
Alex Cornejo d4c0c4d8ba Add app_bar title, leftIcon and rightIcon props.
Here we add some basic default functionality for the most common use
cases of the AppBar component. It is still possible to provide and style
your own elements through children props, but for most use cases the
props will help reduce the amount of boilerplate.
2016-08-29 08:53:25 -07: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
Alex Cornejo 179323ccda add fullscreen dialog.
A first version of fullscreen dialogs as defined in the material spec
https://material.google.com/components/dialogs.html#dialogs-full-screen-dialogs
2016-08-25 00:21:39 -07:00
Javi Velasco 19db17d44f Merge pull request #702 from Reanmachine/reanmachine/fix-iconbutton-alignment
Fixed #696 - Button Icon/Inner Alignment
2016-08-22 20:59:09 +02:00
Aren Blondahl 9bf1c8e4fe Support for fixed & inverse color tabs. 2016-08-11 21:03:18 -06:00
Aren Blondahl 5c09c5c6bb Fixed #696 - Button Icon/Inner Alignment
Button content was improperly being aligned due to the misleading nature of how vertical-align: middle works. Added a visual segment to the spec so it can be acceptance tested by developers.
2016-08-10 03:31:07 -06:00
Javi Velasco 77b0a4a57d Fix linter warnings 2016-08-07 21:23:14 +02:00