Commit Graph

406 Commits (master)

Author SHA1 Message Date
Javi Velasco 2039a123a3 Lint spec files 2016-04-10 11:45:32 +02:00
Javi Velasco 516a0a3c13 Update dependencies, linter and rules 2016-04-09 20:34:34 +02:00
Keren Chandran ccf88af87d Changed Icon Prop type to String or Element instead of Any. Also fixed an inappropriate example for checkbox. 2016-04-06 21:24:31 -04:00
Lucas Correia ae8b22a174 Merge branch 'dev' into add-chip-component 2016-04-04 11:41:04 +02:00
Lucas Correia dff8a07949 Use children instead of special label and avatar props in Chip component 2016-04-04 11:24:30 +02:00
Lucas Correia 08675d69d2 Add onDeleteClick property 2016-04-04 10:27:41 +02:00
Lucas Correia 821c3e1223 Add chip component 2016-04-02 13:37:21 +02:00
Keren Chandran 9d2fe8fd98 Fixed Object Single Selection Bug 2016-03-24 20:31:36 -04:00
Javi Velasco e73e7d4fd7 Merge pull request #394 from felipeleusin/dialog_esc_close
Allows to close dialog (and all overlays) when pressing esc
2016-03-24 18:07:37 +01:00
Javi Velasco 313ac71c86 Merge pull request #400 from kasperekt/dev
Introduce close() method
2016-03-24 18:02:29 +01:00
Tomasz Kasperek 9dcd1d6750 Introduce close() method 2016-03-23 12:35:24 +01:00
Felipe Amorim db752d2266 (feat) renamed to onEscKeyDown and fixed linting errors 2016-03-20 18:49:11 -03:00
Felipe Amorim 04c7b04ec6 allows to close dialog (and all overlays) when pressing esc 2016-03-20 18:27:36 -03:00
Patrick Jones 6e586a9353 Make drawer compliant with material design guidelines.
Fixes #283
2016-03-20 11:47:08 -05:00
Keren Chandran a022b2060a Merge branch 'dev' of https://github.com/react-toolbox/react-toolbox into input-required
# Conflicts:
#	components/input/Input.jsx
#	components/input/style.scss
2016-03-17 20:54:29 -04:00
Javi Velasco 7dfa13fb75 Merge pull request #368 from felipeleusin/datepicker_auto_ok
Datepicker auto ok
2016-03-17 08:39:48 +01:00
Keren Chandran cc32e5a1bd Created required behaviour for input 2016-03-12 19:05:19 -05:00
Keren Chandran d2202e1a9f Added hint attribute to input field. 2016-03-09 23:23:35 -05:00
Felipe Amorim 240864f950 DatePicker autoOk prop 2016-03-09 19:14:58 -03:00
Felipe Amorim 16ed92693a allows to format the date displayed on datepickers input 2016-03-08 17:45:39 -03:00
Javi Velasco 993afbce39 Fix #356 2016-03-05 21:37:07 +01:00
Javi Velasco 4fba76e7fb More beauty in the dialog spec 2016-03-05 20:32:45 +01:00
Javi Velasco ddeb44f8db Fixes #304 2016-03-05 20:29:42 +01:00
Konstantin Baumann c5b19c2a3d [Table] enhancements
- allow usage of `react` components in table cells (header and rows): https://github.com/react-toolbox/react-toolbox/issues/268
- allow changing table header titles (via `title` prop in `model`): https://github.com/react-toolbox/react-toolbox/issues/296
- allow specifying `onChange` handler per column (via `model`) in order to make onyl certain columns editable instead of the whole table

Sample usage can be seen in the update `Table` test file.
2016-02-18 11:21:24 +01:00
Anton Huck 7ad91897b2 allow app-bar height override 2016-02-07 19:51:04 +01:00
Javi Velasco d0accc0c12 Merge pull request #282 from kagux/feature/customizable-list-2
List Item customization
2016-01-28 00:26:09 +01:00
Boris Mikhaylov ccd4bbb0a7 updated list item spec with button 2016-01-27 11:31:35 +01:00
Boris Mikhaylov 14cbf9c877 if list item action defined onClick we stop click and mouse down
propagation
2016-01-27 11:21:03 +01:00
Boris Mikhaylov a2745c8c39 list item can be customized by passing in children commponents 2016-01-26 14:59:57 +01:00
Javi Velasco 30c277b6d3 Fix state changes in slider spec example 2016-01-26 14:10:04 +01:00
Javi Velasco 7065ab6edb Merge pull request #274 from epilgrim/feature/custom-icons
Enabled passing components as icons in all the components
2016-01-23 16:01:34 +01:00
Juan Peri 80b5b7a891 Enabling passing components as icons in all the components 2016-01-22 17:18:59 +01:00
Boris Mikhaylov 08c0907a3c allow passing components to card title and subtitle 2016-01-22 13:31:55 +01:00
Juan Peri 998b5a44b7 Enable Element to behave as Icon 2016-01-20 00:01:20 +01:00
Raúl García 6eb58380c4 Add missing semicolons 2016-01-11 09:02:50 +01:00
Javi Velasco 802f50f4b3 Use full Toolbox input in autocomplete 2015-12-20 17:50:57 +01:00
Javi Velasco 2c7d308271 Use Input component in dropdowns and make it homogeneous 2015-12-20 17:01:02 +01:00
Javi Velasco e788a21227 Remove scrollbar in default app spec wrapper 2015-12-19 14:08:30 +01:00
Javi Velasco 85ff089e46 Update switch examples 2015-12-11 19:11:55 +01:00
Javi Velasco b963be79ea Better styles for navigation. Fixes #205 2015-12-11 18:53:37 +01:00
Javi Velasco 1951b641b8 Use immutable objects in input and checkbox specs 2015-12-08 00:05:36 +01:00
Javi Velasco 64b87d013a Remove font import from globals 2015-11-29 19:04:20 +01:00
Javi Velasco ca48169305 Better spacing for cards layout 2015-11-29 12:45:10 +01:00
Javi Velasco 54c3af207d Remove Form from spec for now 2015-11-29 12:43:52 +01:00
Javi Velasco 1c57370651 New approach for Tooltips 2015-11-29 12:39:55 +01:00
Javi Velasco f23a3c691f Fixes in Input component 2015-11-29 01:25:21 +01:00
Javi Velasco 5248f87468 Delete loading prop from buttons 2015-11-28 20:34:07 +01:00
Javi Velasco 95162002de Use ClassNames in Snackbar 2015-11-28 20:15:26 +01:00
Javi Velasco 5a002b4712 Fix icons in icon menu example 2015-11-28 19:47:11 +01:00
Javi Velasco 2dae5b72fd Pass scss lint 2015-11-28 15:51:53 +01:00
Javi Velasco ad916fba6d Remove flex attributes styling 2015-11-28 15:49:29 +01:00
Javi Velasco 2742bf9bd0 Change layout for cards in spec 2015-11-28 13:28:37 +01:00
Javi Velasco a830c935a1 Better avatar component 2015-11-27 22:09:18 +01:00
Javi Velasco bf68c83ea7 Allow img as children for avatar 2015-11-27 18:32:19 +01:00
Javi Velasco 4affcc8636 Merge branch 'deep-restructure' of github.com:soyjavi/react-toolbox into deep-restructure
* 'deep-restructure' of github.com:soyjavi/react-toolbox:
  Using the new interface for all form fields components.
  New interface for onChange event (value, event)
  New interface for onChange event (value, event)
2015-11-26 01:54:00 +01:00
Javi Velasco 2106d0ee41 Complete implementation for Avatar 2015-11-26 01:53:42 +01:00
@soyjavi e9001c5473 Using the new interface for all form fields components. 2015-11-25 21:01:18 +07:00
@soyjavi d7bd4f5e58 New interface for onChange event (value, event) 2015-11-25 17:31:59 +07:00
@soyjavi 9b1cb72e7c New interface for onChange event (value, event) 2015-11-25 17:28:36 +07:00
Javi Velasco 404e2e44ce Use IconButton in card examples 2015-11-24 22:46:09 +01:00
Javi Velasco 69521f878f Finish IconButton 2015-11-24 22:18:00 +01:00
Nathan Marks 2117354b3f Fixed docs component scope error and added card example 2015-11-24 00:53:00 -05:00
Javi Velasco 9769bfb51e Extract IconButton and small fixes 2015-11-24 00:29:02 +01:00
Nathan Marks 5c8330ac7d Reverted to previous spec root.jsx 2015-11-22 17:57:10 -05:00
Nathan Marks 4cb7fe1f55 Added icon font stylesheet to index.html for docs and spec 2015-11-22 17:39:49 -05:00
Nathan Marks 0d1d023d5b Few more variations added 2015-11-22 17:32:30 -05:00
Nathan Marks 38e9dd314b Added additional examples in spec 2015-11-22 17:32:09 -05:00
Nathan Marks 6d9f9aa8db Rebasing with master 2015-11-22 17:30:26 -05:00
Nathan Marks e1b04a206a Remove classnames decorator 2015-11-22 17:28:28 -05:00
Nathan Marks dba68e72a5 Added <Avatar> component as required by the card title component 2015-11-22 17:28:28 -05:00
Javi Velasco cfebdb55f4 Rename most components index to actual components 2015-11-22 21:41:28 +01:00
Javi Velasco d468c9f1b3 Add floating label for pickers. Fixes #137 2015-11-21 14:46:24 +01:00
Javi Velasco 364e270da1 Better imports organization. Fixes #140 2015-11-21 14:26:17 +01:00
Javi Velasco fb2909640d Add selectable property to table. Fixes #145 2015-11-21 13:18:05 +01:00
@soyjavi ef6bd0899d New property delay in milliseconds. 2015-11-21 11:27:33 +07:00
Javi Velasco 2fc419f0cd Auto import base in commons file 2015-11-19 17:03:14 +01:00
Javi Velasco 9905403b97 Do not include commons in app wrapper 2015-11-19 00:49:39 +01:00
Javi Velasco e0a4168c79 Fix examples for tab 2015-11-18 09:57:46 +01:00
Javi Jiménez 5d34604d85 Merge pull request #126 from react-toolbox/input-maxlength
Input maxlength
2015-11-18 15:24:53 +07:00
@soyjavi 477b770edd New property 'maxLength' 2015-11-18 15:19:58 +07:00
Javi Velasco 54ad233dd6 Fix scss linter errors and bugfix in snackbar 2015-11-18 01:15:07 +01:00
Javi Velasco 26cecdc23f Change button properties and support toggle icon buttons 2015-11-17 21:49:27 +01:00
Javi Velasco 3e91b97a87 Set raised button for first test example 2015-11-16 21:56:20 +01:00
Javi Velasco 4707a26748 Allow children for buttons and use it as link where there is href prop 2015-11-16 21:55:21 +01:00
@soyjavi 0cacdf14ec Change examples for use new properties 'minDate' and 'maxDate' 2015-11-16 23:04:13 +07:00
@soyjavi 8d0649aca0 Use <overlay> component for set the correct position in <dialog> components. 2015-11-15 14:13:10 +07:00
Javi Velasco 2c17688db1 Use new Overlay component in dialogs and dependencies 2015-11-14 21:51:33 +01:00
Javi Velasco 272a37fd4c Stateless table component 2015-11-14 10:26:50 +01:00
Javi Velasco e15c421ff3 Rename active to index in tabs 😕 2015-11-13 10:04:21 +01:00
Javi Velasco 50b113b4d1 New and refactored stateless tabs 2015-11-13 01:01:27 +01:00
@soyjavi c1c1a9a931 Pure <Switch> 2015-11-12 11:52:05 +07:00
@soyjavi d5294cc57a Pure <Snackbar> 2015-11-12 11:25:14 +07:00
Javi Velasco 02dc01b172 Extract value from radio group state 2015-11-12 01:07:36 +01:00
Javi Velasco 58ac44a5ce Extract selected item from menu 2015-11-12 00:59:39 +01:00
Javi Velasco 50d99d2117 Add toolbox version to webpack configuration 2015-11-12 00:26:23 +01:00
Javi Velasco 459036719e Refactor dropdown and put value state out 2015-11-12 00:12:33 +01:00
Javi Velasco 7311489ade Improve date picker 2015-11-11 20:34:19 +01:00
@soyjavi 0fe79fdd2f Pure <Table> and improve events. 2015-11-11 10:07:22 +07:00
@soyjavi 9d7eebd767 Next version 2015-11-11 09:13:46 +07:00
@soyjavi 42b949694d Pure <Tabs> 2015-11-11 09:09:08 +07:00
Javi Velasco bcec735df7 Delete repeated pickers in spec 2015-11-11 01:32:46 +01:00
Javi Velasco 0dd4bb6815 Restore root and remove missing console log 2015-11-11 01:31:37 +01:00
Javi Velasco 5fc135961b Improve pickers 2015-11-11 01:29:42 +01:00
Javi Velasco 476729f2b8 Pure timepicker, fixes #33 2015-11-10 21:39:47 +01:00
@soyjavi 2130057d56 Stateless TimePicker 2015-11-10 21:07:14 +07:00
@soyjavi 57d01094dc Stateless DatePicker 2015-11-10 20:27:00 +07:00
Javi Velasco 0a8b6b0940 Improve code for slider 2015-11-09 02:28:01 +01:00
Javi Velasco 7d6c898c37 Extract value from slider state and fix tests 2015-11-09 02:14:02 +01:00
Javi Velasco 1d9cde9e54 Improvements in checkbox and adapt dependencies to stateless behavior 2015-11-08 19:00:25 +01:00
Javi Velasco 24be10da65 Update with master 2015-11-08 18:06:39 +01:00
Javi Velasco 703d4c6130 Extract state from autocomplete 2015-11-08 16:49:00 +01:00
Javi Velasco f5957bc043 Stateless input 2015-11-07 23:38:26 +01:00
Javi Jiménez eb5317d3bf Merge pull request #68 from react-toolbox/checkbox.stateless
Checkbox.stateless
2015-11-07 15:17:36 +07:00
@soyjavi 8d59c0aae0 Fix release number 2015-11-07 09:04:32 +07:00
@soyjavi b1fe6f6e27 <Checkbox> Stateless 2015-11-07 08:59:50 +07:00
@soyjavi 019ed57910 Remove 'active' property (it's a state) 2015-11-06 00:49:55 +07:00
Javi Velasco 3b48501e9b Remove dataSource state from autocomplete 2015-11-05 17:22:06 +01:00
Javi Velasco fa94c4e759 Pure drawer 2015-11-05 11:45:23 +01:00
Javi Velasco 6e6c1cebcf Pure dialog 2015-11-05 11:28:42 +01:00
@soyjavi de43b22762 Include examples and include in bundle. 2015-11-05 13:57:12 +07:00
@soyjavi 5e18ccbdaf Clever way to auto-hide <Tooltip> (full CSS) 2015-11-05 13:30:57 +07:00
@soyjavi 68055ca358 Show tooltip is in a mixin (for reuse in another components)... it's necessary be a stateless behavior. 2015-11-05 07:18:46 +07:00
@soyjavi 2afd343b4d First approach for <Tooltip/> 2015-11-04 22:28:11 +07:00
Javi Jiménez 5d4c7293d3 Merge pull request #47 from react-toolbox/component.table
<Table>
2015-11-04 19:55:01 +07:00
@soyjavi ce9bd76bc7 Lint more files 2015-11-04 19:50:53 +07:00
@soyjavi 02c602430b Minor changes 2015-11-04 16:55:08 +07:00
@soyjavi e5c6cba08d More easy for create a editable/selectable table. 2015-11-04 12:33:12 +07:00
@soyjavi d7c5dbece4 Minor changes 2015-11-04 10:20:02 +07:00
Javi Velasco 9e7bec0afb Fix url avatar for test examples 🤕 2015-11-03 09:35:31 +01:00
@soyjavi 0a6bd9c024 Style for components demo 2015-11-03 13:54:10 +07:00
@soyjavi 8944335a87 First version of basic MD <table> 2015-11-03 13:23:23 +07:00
ustccjw 18ed189236 add app_bar to spec 2015-10-30 22:38:15 +08:00
Javi Velasco be1bde6ef5 Some fixes and include extract text webpack plugin 2015-10-29 13:40:12 +01:00
ustccjw 4f94682a50 use react-transform 2015-10-29 13:33:21 +08:00
Javi Velasco e89d6df997 Fix some errors and change opinionated eslint 2015-10-23 18:30:37 +02:00
ustccjw 55c654df83 add commons.scss to spec html 2015-10-23 17:20:34 +08:00
ustccjw 4fb976a00d update webpack dev, test and build & update eslint rule 2015-10-23 16:11:40 +08:00
Javi Velasco 7c43f935a1 Babel to stage 2 and remove decorators 2015-10-22 01:31:17 +02:00
Javi Velasco ec6e72bbd9 Resolve linter errors 2015-10-21 12:25:10 +02:00
ustccjw 2aad274390 fix 2015-10-21 14:42:06 +08:00
ustccjw 6c278f25d0 use autobind-decorator 2015-10-21 14:13:24 +08:00
ustccjw 227727e860 fix conflict 2015-10-21 10:58:11 +08:00
Javi Velasco 614b1b14ba Better variables and props for button 2015-10-21 00:48:24 +02:00
Javi Velasco 07c17b0369 Organize radio buttons and groups 2015-10-20 20:06:24 +02:00
@soyjavi 715d898078 Add Snackbar spec 2015-10-20 23:11:04 +07:00
@soyjavi 493df0eb95 New approach using instance methods show & hide. 2015-10-20 23:08:12 +07:00
@soyjavi c6631787b2 First approach of <Snackbar> 2015-10-20 22:27:22 +07:00
ustccjw 7ff854f40f fix es6 class react this bind 2015-10-20 17:06:26 +08:00
ustccjw 9bf5e7b87a fix conflict 2015-10-20 13:48:14 +08:00
ustccjw 9ad9f357a3 use es6 classes & remove react-addons-pure-render-mixin 2015-10-20 13:40:51 +08:00
@soyjavi edee162e37 First steps with <Snackbar/> 2015-10-20 10:25:35 +07:00
@soyjavi 4430c0ab80 Release 0.10.20 2015-10-20 09:59:04 +07:00
Javi Velasco bb6b63122b Add basic list component 2015-10-19 02:38:25 +02:00
Javi Velasco c96e218683 Add IconMenu component 2015-10-17 22:25:15 +02:00
Javi Velasco 14e2c95554 Improve menu component adding showable behavior and auto positioning for opening 2015-10-17 21:20:15 +02:00
@soyjavi dace527ffa New component <Menu> (basic visualization) 2015-10-13 07:37:11 +07:00
@soyjavi d516ff23a7 New property 'icon' 2015-10-12 15:10:49 +07:00
Javi Velasco 5051057f72 Adjust time picker spacing 2015-10-12 03:26:03 +02:00
Javi Velasco a866b7a19b Migrate list to sass 2015-10-12 03:04:19 +02:00
Javi Velasco 46ce8ce6aa Migrate navigation styles 2015-10-12 02:42:01 +02:00
Javi Velasco 126fdb43a2 Migrate link to sass 2015-10-11 22:42:53 +02:00
Javi Velasco f4f537b7f4 Migrate tabs to sass 2015-10-11 22:27:59 +02:00
Javi Velasco 06f1b866b3 Migrate time picker to sass 2015-10-11 21:17:12 +02:00
Javi Velasco c9b6f1237a Migrate to React 0.14 and migrate date picker to sass 2015-10-11 19:07:29 +02:00
Javi Velasco 2cb5d24271 Refactor date picker dialog to sass 2015-10-10 20:06:16 +02:00
@soyjavi 8114e9e93b Merged 2015-10-10 20:48:55 +07:00
Javi Velasco dd864dcc22 Migrate progressbar and slider to sass 2015-10-10 11:25:47 +02:00
@soyjavi 736846a5a6 Uniform styles in <Autocomplete> and <Dropdown> 2015-10-10 10:26:21 +07:00
Javi Velasco 83cf581367 Migrate progressbar to sass 2015-10-09 21:02:12 +02:00
Javi Velasco e8bab3de45 Migrate input to SCSS 2015-10-09 19:48:30 +02:00
@soyjavi 96c4c5f4fa Changes on spec 2015-10-08 21:35:34 +07:00
Javi Velasco 097242b3aa Add new switch migrated to sass 2015-10-07 22:24:02 +02:00
Javi Velasco fcbe81e7ad Less specific selectores for dialog component 2015-10-07 01:31:55 +02:00
Javi Velasco 42dd4333de Set font sizes in rems 2015-10-06 21:48:05 +02:00
Javi Velasco 91cdb517b2 Add radio button component and improvements for radio and checkbox 2015-10-06 21:19:32 +02:00
@soyjavi b038f704a8 Normalize spec 2015-10-06 12:43:11 +07:00
@soyjavi ffe3a7bfa7 <Dialog> using SaSS 2015-10-06 12:21:24 +07:00
@soyjavi 9a5b466eef New types "image" "event" 2015-10-05 21:18:02 +07:00
Javi Velasco 258260d4ec Merge 2015-10-05 15:49:56 +02:00
@soyjavi 7fa57ba635 Included <Checkbox> Example 2015-10-05 20:45:29 +07:00
@soyjavi 0b42cb6aa2 Merge branch 'sass' of https://github.com/react-toolbox/react-toolbox into sass
* 'sass' of https://github.com/react-toolbox/react-toolbox:
  Little fixes for safari in checkbox
  Add checkbox component
2015-10-05 19:57:19 +07:00
@soyjavi c833dd7564 Changes for spec demo 2015-10-05 19:56:22 +07:00
@soyjavi dbd6f5ba66 Refactor <Card/> and SaSS 2015-10-05 19:54:29 +07:00
Javi Velasco 87265577f2 Add checkbox component 2015-10-05 09:12:16 +02:00
Javi Velasco 75bb522a15 Proper buttons name for spec drawer 2015-10-04 15:34:11 +02:00
Javi Velasco 949db01d60 Migrate drawer styles to sass and improve button 2015-10-02 22:08:02 +02:00
Javi Velasco 74cc059751 Migrate style to sass for autocomplete 2015-10-02 19:10:42 +02:00
Javi Velasco 353bcea1ed Migrate button, ripple and font icon styles to sass and add sass tooling 2015-10-02 17:39:26 +02:00
Javi Velasco e87523b0b3 Rewrite component tests in ES6 2015-09-21 10:10:44 +02:00
Javi Velasco d0ab1ddbf0 Rewrite form in ES6 2015-09-20 23:27:28 +02:00
Javi Velasco e3e41211e7 Rewrite card in ES6 2015-09-19 17:06:39 +02:00
Javi Velasco 9630817b09 Rewrite dialog in ES6 2015-09-19 16:45:27 +02:00
Javi Velasco 32e1c4eefb Rename aside to drawer 2015-09-19 14:13:01 +02:00
Javi Velasco c4779ca9ba Improve aside performance on show 2015-09-19 13:58:16 +02:00
Javi Velasco cac6eed1ea Rewrite button in ES6 and refactor the ripple effect on it 2015-09-18 21:04:51 +02:00
Javi Velasco 6aca3d6866 Port autocomplete to ES6 and bugfixes 2015-09-13 22:05:24 +02:00
Javi Velasco c911350d1c Refactor slider 2015-09-09 02:57:53 +02:00
Javi Velasco 74907a4517 Migrate progress bars to es6 2015-09-08 01:05:08 +02:00
Javi Velasco b135121738 Fixes in time picker 2015-09-06 22:11:39 +02:00
Javi Velasco 459aaef971 Refactor timepicker and utils organization 2015-09-06 22:01:26 +02:00