- fixed; issue passing unrecognised attributes to DOM elements that was missed in 0.6.0
This release fixes warnings in React 15.2.x, and includes a small breaking change to do with the calitalisation of autoFocus.
- fixed; issues with passing unrecognised attributes to DOM elements, which caused warnings in React 15.2.x, thanks to Monday Chen
- fixed; capitalisation inconsistencies with React on the
autoFocusprop (Focus is now capitalised)
Elemental is now compatible with React 15.x.x
- added; Card: CSS is now actual CSS
- fixed; Pagination: First page appears correctly, thanks Nuno Campos
- fixed; Button: link button variants match other buttons, thanks Christian Legnitto
- fixed; FileDragAndDrop: button now always specifies
type="button", thanks Jinks
- fixed; FileInput:
onChangeprop fires when file selection is cancelled
- fixed; Table className is correctly retained, thanks Rafee Memon
- cleanup; Pagination is now two components (internal)
- fixed; Pagination: reference error
- fixed; Button: component propType is element
- added; Col: now accepts
1for100%width, thanks Nathan Smith - fixed; FileInput:
onChangeprop fires with data, thanks Cameron Roe
Accessibility features provided by ally.js have been removed from the Modal component for now; they've caused several issues and need a comprehensive review and possibly a different implementation before being reintroduced to the stable version.
- fixed? Updated ally.js dependency, next attempt to fix server-side rendering
- fixed: Modal component nulls document overflow on close
- fixed; The Modal component should be safe for server-side rendering
- fixed; Accessibility handlers in the Modal component are only bound when the
isOpenprop changes - changed; The
Modalcomponent will only focus the first element when you tell it to, with the newautofocusFirstElementprop
- fixed; Pagination component works with even page limits, thanks Shmavon Gazanchyan
- added; Accessibility fixes for the
Modalcomponent, thanks Jonathan Persson - fixed; Safari style bug in the dropdown component, thanks Jonathan Persson
- changed; default info colour darkened slightly for better legibility
- fixed; anchor text colour in alerts
- fixed; Server-side rendering issues with the
Colcomponent, thanks Daniil Pokrovsky
- fixed;
input.focus()works again - changed;
focusOnMountprop on Input and Checkbox components has becomeautofocusand is now working again
- fixed;
react-domandreact-addons-*need to be declared as peerDependencies
- added; Button:
componentprop to provide custom components for buttons, e.g. enables use of react-router'sRouter.Link, thanks Christian Legnitto
- fixed; arrow positioning on
FormSelectthanks to NogsMPLS - added; setting custom widths on
Modal, explicitly set a numeric width or provide one of three sizes; 'small', 'medium', 'large' - 320px, 640px, 960px respectively.
Elemental UI is updated for React 0.14. If you're still using React 0.13, please continue to use elemental@0.4.x. There are no functional differences between v0.5.0 and v0.4.8.
- added; New
Glyphcomponent, thanks to Christian Legnitto - fixed; FileUpload: onChange isn't always triggered correctly, thanks Jinks
- fixed; Modal position is now fixed with CSS, and addresses previously janky scrolling behaviour
- fixed; InputGroup: contiguous section's border behaviour
- fixed; Dropdown: return value from onSelect (not label)
- fixed; Dropdown: escape closes menu
- added; Pagination: new limit prop to limit total number of pages displayed, thanks Shmavon Gazanchyan
- fixed; React dependency allows any version of 0.14 beta or rc
- fixed; FormSelect component now allows setting value via props
- fixed; Col component is allowed to have no children, thanks Christian Legnitto
- fixed; Pill buttons are now of type
buttonso they don’t submit forms - improved; Reduced Pill props by relying on a clear function to show the clear button
- fixed;
.u-text-truncateno longer applies !important - fixed; multiline no-edit inputs no longer truncate tex...
- fixed; block images
- fixed; horizontal form stacking on mobile
- added;
@thumbnail-gutter-widthvariable
- improved; Container: provide a way to clear floated children without hiding overflow
- improved; InputGroup(Section) has been simplified
- added; Alert: type "error" as an alias for "danger"
- updated; Octicons to v3.1.0
Warning: the update to Octicons 3.x may be a breaking change; some icons have been removed
- added; custom password validator in PasswordInputGroup, thanks Lawrence Tseng
- updated; beta dependency for react is now
0.14.0-beta3 - fixed; bug where descendent InputGroups + FormRows would add bottom margin in horizontal form
- fixed; links in tables no longer have custom styling
- fixed; consistent spacing between FormRow and InputGroup
- fixed; Col: default width behaviour
- fixed; Pagination: height no longer jumps around
This release contains a significant breaking change, as we've implemented a completely new Grid system. See the site for docs and examples.
- removed; css classes and less mixins for className-based Grid system
- added; new Component-based Grid system, including
Container,RowandColcomponents - added; new
Cardcomponent