All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Support React 15.4.0 #341
- Removed duplicate declaration of style property in component Day #336
- [Select] Fixed issue with Internet Explorer 11. The onBlur event is triggered before the onClick event occurs. Using onMouseDown resolved it. #333
- [All Components] Fixed incompatible with React v15.4.0 #330
- [DatePicker, ActionArea] Avoid firing the ActionArea's onUpdate twice on touch devices e.g. next month button & previous month button.
- [All Components] Fixed various warnings introduced throughout React 15.x
Due connection issues to NPM I republished it.
- [Rating] Fixed an issue in Safari where selecting a rating was not possible #277
- [All Components] Changed internal ID generation to make Belle compatible to React 15.
- [Combobox] Clicking on an filtered option now picks the correct entry #269
- [Button, ComboBox, DatePicker, Rating, Select, TextInput, Toggle] Improved rendering performance by binding the functions to the class instantiation instead of every render due binding in JSX. Find more info here #263 & #265
- [DatePicker] use nextMonthNavProps.className for next month (was prevMonthNavProps before) b9937bb
- [DatePicker] fix broken Keyboard navigation in Firefox 39.0 and properly parse Date when jumping from January 2016 to December 2015 via keyboard in Chrome 48 #264
- [Select] Ensure the exact same markup is generated every time the element is rendered #155
- [Button, ComboBox, DatePicker, Rating, Select, TextInput, Toggle] Fix styling issues when the component has a complex React id generated through API's like
createFragment
c73d06d
- Require React 0.14.0 #189
- [Button, Card, Choice, ComboBox, Option, Placeholder, Rating, Select, Separator, TextInput, Toggle] Removed the 'Belle ' prefix from displayName
- [Button] Prevent sticky hover for touch devices by leveraging mouseEnter & mouseLeave instead of the :hover pseudo class 8f590e2
- [Toggle] Hide Webkit tap highlight on touch 5faf2c5
- [DatePicker] Add DatePicker component
<DatePicker />
- [Spinner] Add Spinner component
<Spinner />
- [Rating] Fix styling the wrapper 82087cb
- [Select] Fix rendering the selected option with a falsy value e.g. 0 f0e5611
- [Select] Fix hovering and selecting Options with values of type Number 09c52e3
<Select>
<Option value={ 0 }>Zero</Option>
<Option value={ 1 }>One</Option>
</Select>
- [ComboBox] Fix hovering and selecting Options with values of type Number 64a2797
- [TextInput] fix calculating the height in case a defaultValue was provided and props were updated f1a9bc2
- [Rating] Removed the
resetValue
function. Reseting should accomplished by making the Rating a controlled component and passing in the value asundefined
. See an example below:
export default class extends Component {
state = {
ratingValue: 3
}
reset() {
this.setState({ ratingValue: undefined });
}
render() {
return (
<div>
<button onClick={ ::this.reset() }></button>
<Rating value={ this.state.ratingValue } />
</div>
);
}
}
- [Combobox, Select] Improve children manipulation to make Belle work with Radium #170
- [TextInput] Added minRows and maxRows properties #146
<TextInput minRows={ 5 } placeholder="Please fill in description …">
- [Select] Avoid printing a PropTypes warning when a Select has less than 2 children. #147
- [Select] Allowing to a mix single components together with arrays of components as children. #161
<Select>
<Placeholder>Choose your City</Placeholder>
{
cities.map((city, index) => {
return (
<Option key={ index } value={ city.id } >
{ city.name }
</Option>
);
});
}
</Select>
- [ComboBox] Fix detecting isMatchingOption after pressing backspace. #162
- Fix incompatibility with Windows. From now on it doesn't break anymore when doing
npm install belle
. #20
- [ComboBox] The onUpdate callback now includes 3 more properties in the argument. #146
onUpdate({
value: value string,
identifier: identifier of the type you passed,
isMatchingOption: true/false,
isOptionSelection: true/false
})
- Instead of using a copy of React 0.13.3 to create Markup for custom styles now the locally installed React version is used. #150
- Fix server-side rendering of Belle components by preventing to inject styles into the DOM without being available. #150
- [TextInput] When rendered on the server the TextInput will have a height of 0px instead of throwing an exception. #157
- [ComboBox] Filtered options are now updated when the ComboBox receives new props. #141
- [ComboBox] Avoid exception when no Options children are supplied to ComboBox. #136