Skip to content

Releases: mui/material-ui

v0.15.0-beta.2

21 Apr 23:03
Compare
Choose a tag to compare
v0.15.0-beta.2 Pre-release
Pre-release
General
  • [.gitignore] Ignore jsconfig.json - VSCode config file (#4011)
  • [Docs] Update usage docs with muiTheme instructions (#4034)
  • [Docs] Add beta installation details to the README (#4048)
  • [Examples] Update import statements (#3992)
Component Fixes / Enhancements
  • [AutoComplete] Change error, hint, floatingLabel property validators to PropTypes.node (#4019)
  • [Dialog] Add border to title and actions when content is scrollable (#4001)
  • [Dialog] Add support for the Alert (#4022)
  • [Dialog] Merge title style when title it a node (#4033)
  • [ListItem] Fix flexbox shrinking issue (#4044)
  • [Menu] Fix regression that caused nested menus to be unreachable (#3947)
  • [RaisedButton] fix hover overlay for icon only buttons, fixes #3815 (#4035)
  • [RefreshIndicator] Fix timer leaks (#3986)
  • [SelectField] Fix server side rendering (#4004)
  • [Tab] Fix the justify content when there is only one child (#4023)
Deprecations
  • [List] Deprecate the valueLink property (#3936)

v0.15.0-beta.1

14 Apr 13:36
Compare
Choose a tag to compare
v0.15.0-beta.1 Pre-release
Pre-release

React 15 compatibility 🎉 🎉

This release is compatible with React 15. You should update to this version if you need it.

Simplify import statements 🎉

This release changes how components are imported. You will need to update every import statement from (for example):

import RaisedButton from 'material-ui/lib/raised-button';
import Tabs from 'material-ui/tabs/tabs';
import Tab from 'material-ui/tabs/tab';

to:

import RaisedButton from 'material-ui/RaisedButton';
import {Tabs, Tab} from 'material-ui/Tabs';

The exact import statement for each component can be found in the examples in their respective documentation page.

Have a ton of imports? Almost had a heart attack? Worry not, we also made a tool to ease your pain.
Check out the README.

Breaking Changes
  • [Core] Improve import path for published lib (#3921)
  • [Core] PascalCase component names, reorganise directory structure (#3749)
  • [Core] Remove default theme handling from components (#3820)

As of this release, you will need to provide a theme on context, see:
Themes.

  • [Core] Removed redundant default export from the main library index.js.

If you are importing the entire library, you will probably need to change:

import Mui from 'material-ui';

to:

import * as Mui from 'material-ui';

(Although we discourage you from using this library like that unless you also use tree-shaking to remove redundant code.)

  • [LeftNav] Rename to Drawer (#3799)
  • [GridList] Replace rootClass with containerElement (#3783) (rootClass was broken before this change)
  • [Core] These changes are for internal modules and will affect you only if they were directly required in your code:
    1. Rename utils/children.js (#3779)
    2. Remove unused utils/keyLine.js (#3837)
    3. Remove cssEvent util (#3836)
    4. Remove utils/shallowEqual.js and replace with recompose (#3835)
    5. Move DateTime utils to component directories (#3834)
General
  • [Core] Update to React v15 (#3941) 🎉 🎉
  • [Core] Remove dependency on lodash.flowright (#3955)
  • [Core] update components to es6 classes (#3843) 🎉 🎉
  • [Core] Add a material-ui-codemod package (#3782)
  • [Core] Update export syntax, move unit tests, update test dependencies (#3785)
  • [Core] Use .js extension instead of .jsx (#3765)
  • [Themes] colorManipulator cleanup (#3966)
  • [SvgIcon] Add the new Material Icons (#3747)
  • [Docs] Add example for slider showing how to access value (#3892)
  • [Docs] Document callback signatures ( Thanks to @theosherry )
  • Added the following eslint rules:
    1. Enforce jsx-handler-names (#3408)
    2. Enforce spaced-comment (#3910)
Component Fixes / Enhancements
  • [AutoComplete] Add onKeyDown property (#3853)
  • [AutoComplete] Fix the regressions (#3858)
  • [Avatar] Use semi-transparent border (#3859)
  • [DatePicker] ok/cancel labels in date pickers should be of PropTypes.node (#3869)
  • [DropDownMenu] Fix support for autoWidth and custom width (#3823)
  • [DropDownMenu] Slightly improve performance (#3707)
  • [FloatingActionButton] fixed an error when element gets focus via tab (#3885)
  • [IconButton] Fix tooltip on hover (#3878)
  • [IconMenu] Removed props.ref call (#3913)
  • [LinearProgress] Prevent instances from sharing state (#3763)
  • [ListItem] Change color of rightIcon from grey400 to grey600 (#3938)
  • [ListItem] Fix duplicate prepareStyles with primaryText element (#3174)
  • [ListItem] Use the new icons to follow the material spec (#3899)
  • [MenuItem] Revert flex props from #3597, fixes #3845, reopens #3531 (#3928)
  • [Overlay] Split out AutoLockScrolling (#3690)
  • [Popover] Fix rendering for nested Menus (#3806)
  • [RaisedButton] Fix for Uncaught TypeError when tabbing onto button (#3897)
  • [Stepper] Refactor Stepper (#3903)
  • [Tab] Change the ripple color to follow the spec (#3857)
  • [Tab] Fix centering for label with SvgIcon (#3697)
  • [TableHeaderColumn] Remove props.key calls (#3918)
  • [TableRowColumn] Remove props.key calls (#3918)
  • [Tabs] Better type checking on Tab children (#3750)
  • [TextField] Fix incorrect state in getStyles() (#3972)
  • [TimePicker] Add disabled property with example (#3778)
  • [TimePicker] Fix label for 12AM as per material spec (#3781)
  • [TimePicker] ok/cancel labels in time pickers should be of PropTypes.node (#3869)

v0.15.0-alpha.2

17 Mar 23:40
Compare
Choose a tag to compare
v0.15.0-alpha.2 Pre-release
Pre-release
Breaking Changes
  • [Core] if you used Material-UI from npm in CommonJS environment,
    you need to add .default to your requires (#3648):
- const MUI = require('material-ui');
+ const MUI = require('material-ui').default;

If you used ES modules, you’re already all good:

import MUI from 'material-ui'; // no changes here :D
  • [Core] Remove uniqueId utils (#3538)
  • [Styles] RaisedButton, FlatButton, and FloatingActionButton now properly use primary/secondary colors (#3513)
  • [Menu] Remove Paper (#3559)
  • [List] Remove Paper (#3612)
  • [TextField] Remove valueLink (#3699)
New Component
General
  • [Core] Remove gulp in favour of npm scripts for linting (#3626)
  • [Core] Update package.json to prevent building the lib after install (#3632)
  • [Docs] Hide internal properties of MenuItem, Table and Tabs in docs (#3589)
  • [Docs] Document Card subcomponent properties (#3621)
  • [Docs] Add return types (#3542)
  • [Docs] Add support for multi-line function (#3570)
  • [Docs] Document callback signatures ( Thanks to @theosherry )
  • [Tests] Add mocha grep passthrough for browser tests (#3520)
  • [Tests] Add EnhancedButton unit test and tweak karma config (#3512)
  • [Tests] Add FlatButton unit test (#3541)
  • [Tests] Add Divider unit test (#3527)
  • [Tests] Add Paper unit tests (#3528)
  • [Tests] Add Slider unit tests (#3688)
  • [IconBuilder] Move to packages directory (#3680)
  • Added the following eslint rules:
    1. Enforce operator-linebreak (#3516)
    2. Enforce no-multiple-empty-lines (#3516)
    3. Enforce @ignore before comment (#3611)
Component Fixes / Enhancements
  • [AppBar] Fix the title height variation (#3509)
  • [AutoComplete] Add key support for dataSource (#3662)
  • [AutoComplete] Fix browser compatibility (#3581)
  • [AutoComplete] Fix openOnFocus and item click (#3669)
  • [AutoComplete] Proxy focus and blur calls (#3551)
  • [AutoComplete] Set canAutoPosition to false for Popover (#3620)
  • [CardHeader] Handle wide titles, allow them to wrap (#3503)
  • [CardHeader] Remove title from injected node attributes (to avoid native tooltip) (#3534)
  • [DatePicker] Add a check to fetch current system date (#3656)
  • [DatePicker] Fix cursor pointer of the header (#3598)
  • [DatePicker] Fix selectYear range (#3496)
  • [DatePicker] Use popover for the inline mode (#3532)
  • [EnhancedButton] fix onKeyboardFocus being called with nullified event object (#3616)
  • [EnhancedSwitch] Remove the uniqueId as it unused (#3592)
  • [FlatButton] Fix icon alignment when no label provided (#3529)
  • [FlatButton] Fix icon styling when no label provided (#3502)
  • [FlatButton] Fix the text align issue (#3727)
  • [IconButton] Expose disableTouchRipple (#3659)
  • [IconMenu] Add missing default iconStyle (#3514)
  • [IconMenu] Set container as anchorEl when using prop 'open' (#3666)
  • [ListItem] Add stopPropagation in touch ripple to avoid touch event bubbling (#3593)
  • [MenuItem] Add flex property (#3597)
  • [Popover] Avoid nested <noscript/> (#3647)
  • [RaisedButton] Account for backgroundColor prop which was previously ignored (#3515)
  • [RaisedButton] Fix styling issues (#3479)
  • [RaisedButton] Fix the text align issue (#3727)
  • [Slider] Add keyboard support (#3237)
  • [Snackbar] Make on request close optional (#3560)
  • [Tab] Fix style prop being ignored (#3608)
  • [TableRowColumn] Propagate events (#3492)
  • [TextField] Add floatingLabelFixed property (#3646)
  • [TextField] Add shouldComponentUpdate function (#3673)
  • [TextField] Add the ability to call select (#3287)
  • [TextField] Fix defaultValue overlays floatingLabelText on mount (#3450)
  • [TextField] Standardize onChange callback (#3699)
  • [TimePicker] Reinstate #3030 - Add support for custom button labels (#3148)
  • [TimePicker] Remove a useless div element (#3591)
  • [Toolbar] Fix existing design flaws by using flex (#3548)
Deprecations
  • [DatePicker] Deprecate wordings with cancelLabel and okLabel (#3412)

v0.15.0-alpha.1

27 Feb 17:59
Compare
Choose a tag to compare
v0.15.0-alpha.1 Pre-release
Pre-release

This release includes huge improvements to the implementation of components and utility modules. The most important improvement is the removal of mixins from the library, thanks to the great efforts of @newoga 👍

There are also improvements to the unit testing infrastructure. We own this great improvement to @nathanmarks, thanks a lot 👍.

Please note that raw-themes are deprecated with no warning! they will be removed from the code with the 0.16.0 release.

Breaking Changes
  • [Cleanup] Remove the deprecated API of 0.14.x. (#3108)
  • [Styles] Removed all getStyles functions from the components (#3351)
  • [Core] Remove the window-listenable mixin (#3334)
  • [Core] Remove context-pure mixin (#3331)
  • [Core] Remove click-awayable mixin (#3360)
  • [Core] Utilize keycode library and remove key-code util (#3371)
  • [FloatingActionButton] className is now set on the root element (#2310)
  • [RaisedButton] className is now set on the root element (#3122)
  • [LeftNav] className and style are now set on the root element (#3322)
  • [Colors] Removed default export in favor of singular exports (#2825)

    Note This can be temporarily worked around by changing

    import Colors from 'material-ui/lib/styles/colors';
    to

    import * as Colors from 'material-ui/lib/styles/colors';.
  • [DatePicker] Standardize for ISO8601. (#3417)
New Component
General
  • [Tests] Updates to test setup and additional testing option for unit tests (#3405)
  • [Tests] Add support for codecov (#3421)
  • [Tests] Badge unit tests (#3427) (Thanks to @pradel)
  • [Tests] AppBar unit tests (#3487) (Thanks to @pradel)
  • [Tests] GridList unit tests (#3488) (Thanks to @pradel)
  • [Tests] SvgIcon unit tests (#3489) (Thanks to @pradel)
  • [Tests] FontIcon unit tests (#3490) (Thanks to @pradel)
  • [Theme] Apply overall themeing improvements (#3267, #3316, #3340, #3399)
  • [Style] Fix the prefixer tool regression (#3136)
  • [Style] Make some unthemeable elements themeable (#3269) (Thanks to @pdf)
  • [Style] Fix tap highlight color (#3429)
  • [Core] Replace merge implementation in utils/styles with Object.assign (#3124)
  • [Core] Remove dependency on utils/styles from components (#3169)
  • [Core] Remove style-propable mixin from components (#2852)
  • [Core] Remove window-listenable mixin from components (#3305) (Thanks to @newoga)
  • [Core] Typography moved inside muitheme (#3301)
  • [Core] Update lodash version to 4.1.0 (#3324)
  • [Core] Migrate color to muiTheme (#3314)
  • [Core] Remove usage of isMounted() (#3437)
  • [Docs] Add page title (#3246)
  • [Docs] DatePicker - Add disabled dates example (#3167)
  • [Docs] Upgrade dependencies (#3343)
  • [Docs] Enable GPU rasterization (#3451)
  • [Docs] Add versions to docs site (#3383)
  • [eslint] Upgrade to v2 (#3390)
  • Added the following eslint rules:
    1. Enforce arrow-parens (#3207)
    2. Enforce prefer-template (#3208, #3242)
    3. Enforce no-unneeded-ternary (#3320)
    4. Enforce prefer-const (#3315)
    5. Enforce jsx-space-before-closing (#3397)
    6. Enforce id-blacklist and blacklist e (#3398)
    7. Enforce padded-blocks: never (#3493)
Component Fixes / Enhancements
  • [AutoComplete] Added maxSearchResults property (#3262)
  • [AutoComplete] Apply the style property only on the root component (#3243)
  • [AutoComplete] Apply various improvement (#3214) (Thanks to @oliviertassinari)
  • [Autocomplete] Disable browser default autocomplete popup (#3253)
  • [AutoComplete] Fix the focus / blur issue (#3356) (Thanks to @oliviertassinari)
  • [Card] Removed hidden overflow (#3447)
  • [Card] Support for controlled expansion (#3258) (Thanks to @cgestes)
  • [CardActions] Allow to accept false as child (#3215)
  • [Checkbox] Disabled style error fix (#3432)
  • [DatePicker] Default to ISO-8601 DateTimeFormat & firstDayOfWeek (#3417)
  • [Dialog] Fix overflow (#3460)
  • [DropDownMenu] Expose Menu listStyle property (#3294)
  • [DropDownMenu] Fix openImmediately regression (#3384)
  • [DropDownMenu] Safari select-field fix (#3175)
  • [EnhancedButton] Fix enhanced buttons containing a link instead of a button (#3303)
  • [EnhancedSwitch] Added inputStyle prop to enhanced switch (#1693)
  • [EnhancedTextArea] Provide various style fixes (#3277)
  • [FlatBotton] Fix alignment between text and icons (#3380)
  • [FloatingActionButton] Expose Paper zDepth (#3387)
  • [IconButton] Fixed tooltip for disabled component (#3458)
  • [IconButton] Fixed tooltip ripple size for IE (#3016)
  • [IconMenu] Document multiple property of Menu (#3223)
  • [IconMenu] Enable useLayerForClickAway (#3400)
  • [IconMenu] Support MenuItem nested menuItems (#3265)
  • [InkBar] remove &nbsp; (#3283)
  • [LeftNav] Add iOS momentum scroll (#2946)
  • [List] Fix issue with styling on list related components (#3278)
  • [ListItem] Fix hardcoded secondaryTextColor (#3288)
  • [Menu] Fix _isChildSelected child not recognising first child (#3165)
  • [Menu] Fix a regression that would apply the select style to all the MenuItems (#3244)
  • [Menu] Safari select-field fix (#3175)
  • [Popover] Handle the touch event on touch enabled devices (#3389)
  • [RadioButton] Allow customising icons (#3285)
  • [RaisedButton] Customizable ripple effect style (#3368)
  • [RaisedButton] Fix alignment between text and icons (#3366)
  • [Slider] Remove style-propable mixin and react-dom (#3332) (Thanks to @felipethome)
  • [SvgIcon] Fix behavior for onMouseEnter and onMouseLeave (#3481)
  • [SvgIcon] Use stateless functional component instead of React.createClass (#3326)
  • [Table] Send event object after click, hover, hoverOut on cell (#3002)
  • [TextField] Add textareaStyle property (#3238)
  • [TextField] Fix defaultValue behavior (#3239)
  • [TextField] Fix wrong label id (#3240)
  • [TextField] Fixed a bug where clicking on floating label and typing simultaneuosly loses keypress (#3055)
  • [TextField] Fixed ie9-ie10 click focus problem (#3193)
  • [TimePicker] Update time state on new defaultTime prop (#3095)
  • [Toggle] Fixes styling issue (#3299)
  • [ToolbarTitle] Fix overflow (#3250)
  • [TouchRipple] Abort on scroll (#3407)
Deprecations
  • [Menu] Deprecated built in animated (#3216)
  • [Core] Deprecated style-propable mixin and utils/styles (#3351)
  • [Core] Deprecated ThemeDecorator in favor of MuiThemeProvider (#3267)
  • [Core] Deprecated theme-manager and raw-themes (#3267)

v0.14.4

03 Feb 00:48
Compare
Choose a tag to compare
General
  • [CRITICAL] Fixed a regression that completely disabled the auto-prefixer (#3142)
  • [Docs] Contributing guide (#3075)
  • [Docs] Added a Related Projects section (#3102)
  • [Examples] General updates (#3078)
Component Fixes / Enhancements
  • [Tabs] Removed the calc style property (#3058)
  • [Tabs] Added icon and text (#3042)
  • [Tabs] Use FlatButtons for tabs (#3051)
  • [AutoComplete] Fixed regression of undefined muiTheme (#3069)
  • [List] Auto-expand SelectableList (#3039)
  • [DatePicker] Added disabled property (#3060)
  • [Buttons] Fixed the vertical alignment issue (#3100)

v0.14.3

27 Jan 03:07
Compare
Choose a tag to compare
Breaking Changes

Note that these are not essentially breaking changes.
Unless you have used these implementation details in your code.

  • [Internal] Remove controllable.js mixin (#2889)
  • [Internal] Remove mergeAndPrefix() (#2886)
  • [Internal] Remove utils/extend.js (#2933)
  • [Internal] Remove utils/immutability-helper.js (#2907)
General
  • [Examples] Move DateTimeFormat polyfill to the example (#3024)
  • [Docs] Add title and description to code examples, thanks to @mbrookes's hard work (#2927)
  • [Docs] Add a showcase section (#2910)
  • [Docs] Hide code examples by default (#2911)
  • [Docs] Add Cloudcraft to Showcase (#3036)
  • [Docs] Migrated the following pages to use the new documentation standard:
    1. TimePicker
    2. Table
    3. Switches
    4. Buttons
    5. AutoComplete
    6. Popover
    7. IconMenu
  • Added the following eslint rules:
    1. Extend eslint:recommended (#2854)
    2. one-var (#2855)
    3. brace-style (#2855)
    4. react/jsx-pascal-case (#2953)
    5. react/jsx-max-props-per-line (#2953)
    6. react/jsx-closing-bracket-location (#2953)
    7. jsx-equals-spacing (#3035)
  • [Performance] Fix V8 deopt, leakage of arguments (#2876)
  • [ServerSideRendering] Make userAgent contexual (#3009)
Component Fixes / Enhancements
  • [Slider] Avoid selection when dragging (#2827)
  • [Snackbar] Execute onDimiss callback after snackbar has closed (#2881)
  • [Table] Don't use for...of on table children (#2904)
  • [RenderToLayer] Fix leaking of event (#2935)
  • [FlatButton] Fix shared memory property modification (#2964)
  • [DatePicker] Add firstDayOfWeek and days abbreviations (#2899)
  • [ListItem] Added nestedItemStyle prop (#2990)
  • [ListItem] when disabled, className is ignored (#2723)
  • [EnhancedButton] Make keyup event respect disableKeyboardFocus (#3000)
  • [Dialog] Fix overlay scroll for nested dialogs (#2893)
  • [SvgIcons] Remove fill attributes (#3034)
  • [Paper] Allow the box shadow color to be changed (#3003)
Deprecations
  • [DropDownIcon] Will be removed with 0.15.0 (#2994)

v0.14.2

08 Jan 15:53
Compare
Choose a tag to compare
General
Component Fixes / Enhancements
  • [DatePicker] Update slide direction (#2791)
  • [AutoComplete] Add 2 extra filters for text matching (#2755)
  • [TableRow] Fix row height in IE (#2812)

v0.14.1

04 Jan 22:26
Compare
Choose a tag to compare
Breaking changes
General
Component Fixes / Enhancements
  • [MenuItem] Fix icon position (#2661)
  • [SelectableList] Recursively extend children (#2320)
  • [SelectField] Add hintStyle (#2710)
  • [EnhancedButton] Avoid rendering <a> element (#2708)
  • [LeftNav] Only transition the transform property (#2730)
  • [TextField] Fix errorText when using multiLine (#2742)
  • [TimePicker] Update am/pm buttons (#2757)

v0.14.0

25 Dec 15:15
Compare
Choose a tag to compare

The changes in 0.14.0-rc1 and 0.14.0-rc2 are also included as part of this release.
Have a look at them as well.

General
  • [Docs] Migrated the following pages to use the new documentation standard:
    1. Tabs
    2. Snackbar
    3. DropDownMenu
    4. Card
  • Added the following eslint rules:
    1. key-spacing (#2552)
  • [SvgIcon] Improved the code generation tasks (#2606)
  • [ES6] Use module everywhere (#2614)
  • Added a temporary bootstrap project for ReactNative to pave the way for ReactNative support (#2611)
  • Clean up CSS classes (#2630)
Component Fixes / Enhancements
  • [SelectField] [TextField] Fixed error styling issue (#2539)
  • [TextField] Implemented optional underline (#2476)
  • [AutoComplete] Migrated to use popover (#2634)
Deprecations
  • [DropDownMenu] [SelectField] Deprecated menuItems, these components are now composable. (#2565)

v0.14.0-rc2

14 Dec 22:28
Compare
Choose a tag to compare
v0.14.0-rc2 Pre-release
Pre-release
Breaking Changes
  • [Menu] Depreciation of the old menu, introduces a very small breaking change (#2443)
  • [Dialog] Removed deprecated API (#2396)
  • zIndex, rework them to be more coherent (#2444)
General
  • Decoupled Popover animation from the component to increase flexibility (#2367)
  • [Tests] Migrated tests to use the new react-addons-test-utils package (#2401)
  • [Docs] Improvements to the documentation site (#2426, #2421, #2438, #2479, #2508)
  • [Docs] Migrated the following pages to use the new documentation standard:
    1. [AppBar] - (#2382) also where the new standard was introduced by @oliviertassinari
    2. [Avatar] - (#2407)
    3. [Toolbars] - (#2415)
    4. [Badge] - (#2489)
    5. [Dialog] - (#2483)
    6. [LeftNav] - (#2507)
  • Added the following eslint rules:
    1. react/jsx-indent-props (#2377)
    2. max-len (#2381)
    3. wrap-multilines (#2419)
Component Fixes / Enhancements
  • [Card] Use preventDefault() when handling expansion (#2495)
  • [CardHeader] Made avatar property optional (#2397)
  • [Checkbox] Now updates it's state when checked property changes (#2464)
  • [DatePicker] Fix year selection (#2410)
  • [Dialog] Added overlayStyle property (#2431)
  • [Dialog] Added width property (#2387)
  • [Divider] Initial implementation. Thanks to @newoga (#2473)
  • [DropDownMenu] Added menuStyle property (#2389)
  • [DropDownMenu] Now uses Popover (#2150)
  • [DropDownMenu] Now bubbles keyboard events (#2461)
  • [FlatButton] Adjusted background, hover and ripple colors (#2488)
  • [IconMenu] Added open and onRequestChange properties (#2383)
  • [ListItem] Added option to toggle nested list items on primary action (#2390)
  • [Menu] Fixed an error when children is only one child (#2402)
  • [Menu] Remove absolute positioning (#2455)
  • [Menu] Fixed issue when passed null children (#2429)
  • [SelectField] Fixed the propagation of underline styles (#2405)
  • [TableRow] Fixed a bug when unselectable rows could still be selected (#2503)
Deprecations
  • The old menu components under the material-ui/lib/menu folder (#2443)
  • The actions property of Dialog accepting a JSON is deprecated (#2483)
  • The menuItems of LeftNav and all the related properties are now deprecated in favor of composibility (#2507)