Commit Graph

95 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov ba3993c811 Fix table styles, pass `style` to top-level element in inputs 2019-05-07 16:50:56 +03:00
Vitaliy Filippov 0e31a465c7 thead divider 2019-04-04 01:27:24 +03:00
Vitaliy Filippov 4f02b11197 Do not pass all props down to Input 2019-02-14 00:49:22 +03:00
Vitaliy Filippov daf6bac933 I am fucking tired of copying rowCell/headCell styles 2018-11-28 15:44:09 +03:00
Rubén Moya a473c948d7
Merge pull request #1824 from yingzuo/passThemeProps
Pass the theme prop to TableRow child components
2018-03-03 12:25:49 +01:00
Rubén Moya 570b921638
Merge pull request #1633 from olegstepura/table-ckeckbox-spacing
Make checkbox centered between table edge and next column start
2018-03-03 12:25:04 +01:00
Ying Zuo 73b2594922 Pass the theme prop to TableRow child components
Fixes: #1805
2018-03-01 20:47:47 -08:00
Oleg Stepura 71341d9448 Fix travis 2017-10-02 15:55:51 +02:00
Oleg Stepura 32e40967ab Fix travis 2017-10-02 15:48:38 +02:00
Oleg Stepura b660bcc2e1 Make checkbox centered between table edge and next column start 2017-08-09 15:21:17 +02:00
Oleg Stepura 889e9ca088 Use hover effect on selected table row as well 2017-08-09 12:40:58 +02:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
priecint 991a430ca2 Fix TableCell definition (#1386)
As per source (https://github.com/react-toolbox/react-toolbox/blob/dev/components/table/TableCell.js#L7) `sorted` accepts lower-case strings but the TypeScript definition uses upper-case. So there is either error from TS (`TS2322:Type 'string' is not assignable to type '"ASC" | "DESC"'`) or React (`Warning: Failed prop type: Invalid prop `sorted` of value `ASC` supplied to `ThemedTableCell`, expected one of ["asc","desc"].`).
2017-04-06 09:52:54 +02:00
Rubén Moya 7231a7cc15 fixes table clone element when child is null (#1326) 2017-04-02 14:10:01 +02: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
katzoo b5e0c6207e update typings to 1.3.3 2016-12-19 20:13:36 +01:00
Javi Velasco c7ef9ea772 Fix small typo 🐞 2016-10-07 14:47:15 +02:00
Javi Velasco 561136594a Fix linter errors 2016-10-07 14:43:52 +02:00
Javi Velasco 06b8adace1 Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  add missing styles for lgTablet and smTablet layout breakpoints
  Added row click support
  Bugfix: Typescript definitions can now be copied over on Windows
  Removed duplicate export from Datepicker Fixed issue with sass npm script not working on Windows
2016-10-07 14:28:00 +02:00
Javi Velasco e549e25c1b Small style change 2016-10-07 14:26:39 +02:00
Javi Velasco c0d89d3659 Merge branch 'feature/table-edit-enhancements' of https://github.com/KaleoSoftware/react-toolbox into KaleoSoftware-feature/table-edit-enhancements
* 'feature/table-edit-enhancements' of https://github.com/KaleoSoftware/react-toolbox:
  Use guard clause instead of conditional
  Re-apply changes
  Revert "Fix event value"
  Revert "Use contentEditable for editable table cells"
  Fix event value
  Use contentEditable for editable table cells
2016-10-07 14:24:17 +02:00
Javi Velasco 5f4b8cfc6b Merge pull request #827 from ryanmcafee/features/rowclick
Updated Sass/ Typescript build commands to add Windows support and added support for clicking on row in table
2016-10-07 14:19:54 +02:00
Ryan McAfee d374cc5c64 Added row click support 2016-09-28 13:11:06 -05:00
Tucker Connelly d01ff6db7e Use guard clause instead of conditional 2016-09-22 11:58:01 -07:00
Christopher Hiester b8516b41ad add emphasis to note 2016-09-22 11:19:38 -04:00
Christopher Hiester 6940013182 adjust scss after testing 2016-09-22 11:18:10 -04:00
Christopher Hiester 4e93e1387d Add table header model details to docs for table 2016-09-22 11:08:21 -04:00
Tucker Connelly 0fb83bfdda Re-apply changes 2016-09-19 14:26:07 -04:00
Tucker Connelly 3e1e7b2ee6 Revert "Fix event value"
This reverts commit 6c153026dc.
2016-09-19 14:25:17 -04:00
Tucker Connelly c3e6c83815 Revert "Use contentEditable for editable table cells"
This reverts commit 04215a5845.
2016-09-19 14:23:56 -04:00
Tucker Connelly 6c153026dc Fix event value 2016-09-19 14:13:50 -04:00
Tucker Connelly 04215a5845 Use contentEditable for editable table cells 2016-09-19 14:13:50 -04:00
Javi Velasco 80a8a9e69f Fix linting issues 2016-09-03 16:27:31 +02:00
Javi Velasco a8bfcf1ad9 Merge pull request #752 from normano64/typescript-2.0.2
Fixed errors for Typescript 2.0.2
2016-09-03 11:55:56 +02:00
Javi Velasco d9e77fc90d Merge pull request #764 from KaleoSoftware/fix-table-multiselect
Make Table multi-selectable again
2016-09-03 11:50:31 +02:00
Tucker Connelly dcd53a4e75 Make Table multi-selectable again 2016-09-02 11:32:55 -04:00
Per Bergqwist def8643a0a Import React namespace, fix problem with @types 2016-09-02 09:18:33 +02:00
rubenmoya 64a859e9df Fix table border 2016-09-01 12:12:23 +02:00
Per Bergqwist 34313b823e Fixed errors for Typescript 2.0.2 2016-08-31 08:41:16 +02:00
Per Bergqwist 213411ba55 Fixes for typescript definitions, typos etc. 2016-08-10 09:35:51 +02:00
Javi Velasco 77b0a4a57d Fix linter warnings 2016-08-07 21:23:14 +02:00
Javi Velasco e597bc567f Fix linter errors and refactor 2016-08-04 21:06:20 +02:00
VictorMolano 5ccd6dae01 Fix multiselectable and unselect rows isues on Table component 2016-07-24 12:40:53 -05:00
Javi Velasco b226fcd258 Merge with dev 2016-07-24 13:17:16 +02:00
ixrock febf8b5237 get rid of declaration duplicates in components/ 2016-06-26 15:02:54 +03: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