Commit Graph

2317 Commits (master)

Author SHA1 Message Date
Adam Henson bf790d7b86 IconMenu: active prop (#1662). more tests. 2017-08-27 23:47:09 -04:00
adamhenson 74bd2dc77b IconMenu: active prop (#1662). 2017-08-27 19:10:01 -04:00
adamhenson 0f51c06c3b IconMenu: active prop (fixes #1662). 2017-08-27 17:17:53 -04:00
Zander Otavka 47d2f1893f Fix mixed up type definitions for Dropdown
`valueKey` and `labelKey` were listed as theme props.  What's worse, `valueKey` was marked as required, when in fact it should not be present at all on the theme.
2017-08-12 15:54:50 -07:00
Paul Sastrasinh 31fac7b779 fix: of -> or in documentation 2017-08-11 10:54:03 -04:00
Oleg Stepura b660bcc2e1 Make checkbox centered between table edge and next column start 2017-08-09 15:21:17 +02:00
Oleg Stepura d9a0d7eee3 Add transition to hover effect in list items 2017-08-09 13:54:34 +02:00
Oleg Stepura 478c9aedb8 Remove unknown prop multilineHint which React reports as passed to textarea 2017-08-09 13:01:03 +02:00
Oleg Stepura a46f0956c5 Disabled input should be dashed not dotted 2017-08-09 12:55:09 +02:00
Oleg Stepura 889e9ca088 Use hover effect on selected table row as well 2017-08-09 12:40:58 +02:00
Oleg Stepura 4670098d20 Make checkbox border color according to spec 2017-08-09 12:27:02 +02:00
Javi Velasco 61228b10db Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox: (24 commits)
  Fix bug where dropdowns don't close (#1548)
  Fix Mobile Safari issues. (#1282)
  Feature/tabs a11y (#1513)
  Add default export TypeScript type to IconButton (#1577)
  Add variables for the App Bar's font size and weight. (#1518)
  Change tab style for ripple to work with Tabs (#1519)
  Issue 1459: Replace onClick handler in Dropdown component to onMouseDown (#1521)
  Event passed for Radiogroup (#1544)
  Add `accept` property to `BrowseButton` (#1533)
  Fix typescript bindings. (#1564)
  fixed browser button fires onChange event  twice (#1557)
  Made role on input field a property (#1553)
  Add workaround to `is-component-of-type` for `react-hot-loader@^3` (#1569)
  Docs/Install: Fix typos, clarify language (#1566)
  Add ThemeProvider Typescript type (#1576)
  Apply padding 0 to everything but buttons in ListItemAction (#1571)
  Do not show scrollbar on autocomplete component IE11 (#1515)
  Fix date-picker animation in IE11 (#1586)
  solve #1444 and #1359. (#1587)
  Remove discord link in README.md (#1593)
  ...
2017-08-08 19:16:44 +02:00
Javi Velasco 2eb27c71a8 Remove max-height from dialog along with hidden overflow 2017-08-08 18:52:52 +02:00
Tobias Andersen 13520e3111 Fix bug where dropdowns don't close (#1548) 2017-08-02 18:34:52 +02:00
Izak Filmalter e15ee8ee05 Fix Mobile Safari issues. (#1282)
* Add $input-icon-right-space var to add the correct spacing to the input based on Material Spec.

https://material.io/guidelines/components/text-fields.html#text-fields-s
ingle-line-text-field

* Fix Mobile Safari Issues.

Remove added border-radius for inputs from Safari. Fix `Object.entries
is not a function` for autocomplete.

* Remove new line.

* Add callback functions to slider for when slider starts being dragged, and when it stops.
2017-08-02 18:31:46 +02:00
Connor Schlesiger 94f649363a Feature/tabs a11y (#1513)
* Update tabs for a11y

* Use transition for background and set a11y for tab content

* Remove unneccessary tabIndex from tab content

* Fix lint issues
2017-08-02 18:30:41 +02:00
Rasmus Eneman 79e031e149 Add default export TypeScript type to IconButton (#1577) 2017-08-02 18:29:19 +02:00
Jared Tarnasky f93040ee4d Add variables for the App Bar's font size and weight. (#1518)
Add variables for the App Bar's font size and weight and align the defaults to Google's Material Design specs, which say "Across form factors, text that appears in the app bar should use the Title style, Medium 20sp." (see https://material.io/guidelines/style/typography.html).
2017-08-02 18:29:04 +02:00
Osmel Mora cd6a130bac Change tab style for ripple to work with Tabs (#1519)
* Change tab style for ripple to work

Changing element position to relative and overflow hidden.

* Changing CSS props order
2017-08-02 18:28:39 +02:00
Patrick Torpey 736f23eaa5 Issue 1459: Replace onClick handler in Dropdown component to onMouseDown (#1521) 2017-08-02 18:27:14 +02:00
Nilansh Arora 6fd1421143 Event passed for Radiogroup (#1544) 2017-08-02 18:26:34 +02:00
Daniel Barreiro 934ffd2000 Add `accept` property to `BrowseButton` (#1533)
* Corresponds to `accept` attribute on `<input type="file"`
* Allows defining which type of files are to be listed
* Defaults to `*/*` which means all MIME types

Not documented nor tested in the original, it remains so.
2017-08-02 18:26:20 +02:00
Ingo Bürk de69a1414f Fix typescript bindings. (#1564)
This has been overlooked in PR #1407.
2017-08-02 18:25:45 +02:00
Nicolas Jiang c1a2dba4b4 fixed browser button fires onChange event twice (#1557) 2017-08-02 18:25:19 +02:00
Jonas Knutsen fc9c1802c7 Made role on input field a property (#1553) 2017-08-02 18:22:05 +02:00
Tom Chen 431abb1bde Add workaround to `is-component-of-type` for `react-hot-loader@^3` (#1569) 2017-08-02 18:19:53 +02:00
gima 2124c8c6a3 Docs/Install: Fix typos, clarify language (#1566) 2017-08-02 18:19:18 +02:00
Rasmus Eneman 7403d5d2d8 Add ThemeProvider Typescript type (#1576) 2017-08-02 18:18:51 +02:00
Rubén Moya f44833a5dc Apply padding 0 to everything but buttons in ListItemAction (#1571) 2017-08-02 18:17:17 +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
AlexPrinz 54d0cb5c62 Fix date-picker animation in IE11 (#1586) 2017-08-02 18:14:23 +02:00
the1900 843b88a311 solve #1444 and #1359. (#1587)
* update webpack config to make "Basic usage" work.

I use webpack version 2.6 and new configure syntax rather than 1.x.

When I follow the instruction on `readme.md`. It always failed on *Basic Usage* with the message below.
``` bash
ERROR in ./~/css-loader?{"modules":false,"importLoaders":1,"localIdentName":"[name]--[local]--[hash:base64:8]"}!./~/postcss-loader/lib!./~/react-toolbox/lib/button/theme.css
  Module build failed: Error: composition is only allowed when selector is single :local class name not in ".raised", ".raised" is weird
```

So I figured out what's wrong and update `reame.md` to notify others.

* edit multiple number.

According to docs, the width is larger than 320px and if the device is mobile than 280px. To follow this specification It should be 5, not 4.
2017-08-02 18:13:48 +02:00
Bruno Bigras 16ae9bff7d Remove discord link in README.md (#1593)
The channel doesn't exist anymore

related to #107
2017-08-02 18:12:20 +02:00
Robin Larson fb5d0e1ffc requestAnimationFrame will only trigger if the browser window is visible. If the browser tab is put to the background, requestAnimationFrame will trigger when the tab returned to the foreground. When the Tabs Component is removed from the DOM when in the background, the requestAnimationFrame must be canceled to prevent attempting to use a unmounted Component. (#1604) 2017-08-02 18:11:37 +02:00
TeoMatthew df175e7f0d fix #1611 (#1612)
Added correct proptypes on `ListItemLayout` and updated documentation for ListItem's fields `legend` and `caption`.
2017-08-02 18:08:28 +02:00
Pablo Lacerda de Miranda 0e299a65b1 allows the Portal HOC root element to receive a style props. This allows coordinate runtime positioning of the portal element using top/left/bottom/right values (#1502) 2017-07-13 20:43:14 +02:00
Nathan Miranda 6290cf5ab2 Added label to InputTheme interface (#1501) 2017-07-13 20:29:33 +02:00
Javi Velasco 8304c1ec2e Merge branch 'dev' of github.com:soyjavi/react-toolbox into dev
* 'dev' of github.com:soyjavi/react-toolbox:
  ListItem legend may be a node as well (#1496)
  Allow pass inverse to IconMenu (#1490)
  Fix media queries panel height calculations (#1467)
  Allow to change FontIcon for Tab by passing it into the factory (#1439)
  Added required?: boolean; (#1491)
2017-07-13 20:28:09 +02:00
Javi Velasco 7db3e34350 Avoid undefined className when ProgressBar mode is determinate 2017-07-13 20:27:50 +02:00
Oleg Stepura a6eb5c53f3 ListItem legend may be a node as well (#1496)
Currently it works, but produces a warning by react typechecking
2017-07-13 20:20:33 +02:00
kobanyan 4722904d25 Allow pass inverse to IconMenu (#1490) 2017-07-13 20:19:16 +02:00
Aris Plakias 4a13ff2541 Fix media queries panel height calculations (#1467) 2017-07-13 20:18:00 +02:00
Ankur Patel d6bdf2008e Allow to change FontIcon for Tab by passing it into the factory (#1439) 2017-07-13 20:03:34 +02:00
Miguel San Segundo 27caadb182 Added required?: boolean; (#1491) 2017-05-29 13:46:38 +02:00
Javi Velasco a9518b6582 Move tsd task to gulpfile 2017-05-29 12:01:44 +02:00
Oleg Stepura eb04045605 Fix README on example project description (#1497)
Fix it since no reaction to https://github.com/react-toolbox/react-toolbox/pull/1251#issuecomment-302403914
2017-05-26 10:16:27 +02:00
Javi Velasco 82f71182f9 Add postcss-apply to buid task and to webpack 2017-05-25 09:27:58 +02:00
Javi Velasco 9a9396fa0b Fix tests 2017-05-24 10:38:04 +02:00
Javi Velasco be80e0bb85 Update dependencies 2017-05-23 13:04:55 +02:00
Javi Velasco 66a47bb796 Upgrade to node 7 2017-05-23 11:14:05 +02:00