Skip to content

Commit

Permalink
chore(release): 1.1.0 [skip ci]
Browse files Browse the repository at this point in the history
# [1.1.0](v1.0.0...v1.1.0) (2019-01-17)

### Features

* **pane:** allow height to be passed in, scroll disabled if not, enabled if so ([c6a7ce9](c6a7ce9))
  • Loading branch information
semantic-release-bot committed Jan 17, 2019
1 parent d4d55ee commit cb5035d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# [1.1.0](https://github.com/ClearC2/c2-react-picklist/compare/v1.0.0...v1.1.0) (2019-01-17)


### Features

* **pane:** allow height to be passed in, scroll disabled if not, enabled if so ([c6a7ce9](https://github.com/ClearC2/c2-react-picklist/commit/c6a7ce9))
8 changes: 6 additions & 2 deletions dist/Picklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,15 @@ var Pane = function (_Component) {
var _props = this.props,
valueKey = _props.valueKey,
actionElement = _props.actionElement,
height = _props.height,
paneRef = _props.paneRef,
paneLabel = _props.paneLabel,
panelId = _props.panelId,
searchElement = _props.searchElement,
searchInputClassName = _props.searchInputClassName;

var items = this.items();
var innerDivStyle = { height: height, overflow: height ? 'auto' : null };
return _react2.default.createElement(
'div',
{ ref: paneRef },
Expand Down Expand Up @@ -143,7 +145,7 @@ var Pane = function (_Component) {
_react2.default.createElement('hr', { style: { margin: 0 } }),
_react2.default.createElement(
'div',
null,
{ style: innerDivStyle },
this.state.search ? _react2.default.createElement('input', {
type: 'text',
className: searchInputClassName,
Expand Down Expand Up @@ -182,11 +184,13 @@ Pane.propTypes = {
onAction: _propTypes2.default.func,
actionElement: _propTypes2.default.any,
paneLabel: _propTypes2.default.any,
height: _propTypes2.default.number,
paneRef: _propTypes2.default.func,
resize: _propTypes2.default.func,
panelId: _propTypes2.default.string,
searchElement: _propTypes2.default.any,
renderItem: _propTypes2.default.func
renderItem: _propTypes2.default.func,
renderOption: _propTypes2.default.func
};
Pane.defaultProps = {
items: [],
Expand Down
4 changes: 2 additions & 2 deletions docs/app.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "c2-react-picklist",
"version": "1.0.0",
"version": "1.1.0",
"description": "A bootstrap v4 dual paned picklist react component",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit cb5035d

Please sign in to comment.