Skip to content

Commit

Permalink
v0.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed May 20, 2017
1 parent 455567c commit 19aff92
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/react-dropdown.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/react-dropdown.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions docs/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -27391,22 +27391,25 @@ var DropdownToggle = (_temp = _class = function (_PureComponent) {

var _props = this.props,
Component = _props.componentClass,
btnSize = _props.btnSize,
_props$btnStyle = _props.btnStyle,
btnStyle = _props$btnStyle === undefined ? 'flat' : _props$btnStyle,
noCaret = _props.noCaret,
open = _props.open,
className = _props.className,
children = _props.children,
props = _objectWithoutProperties(_props, ['componentClass', 'noCaret', 'open', 'className', 'children']);
props = _objectWithoutProperties(_props, ['componentClass', 'btnSize', 'btnStyle', 'noCaret', 'open', 'className', 'children']);

delete props.dropdownRole; // Accessed by Dropdown

if (Component === _reactButtons.Button) {
props.btnStyle = props.btnStyle || 'flat';
props.btnStyle = btnStyle;
props.dropdownToggle = true;
}

var useCaret = !noCaret;
var empty = !children && !props.title;
var dropdownToggleClasses = (_dropdownToggleClasse = {}, _dropdownToggleClasse[_index2.default.dropdownToggle] = true, _dropdownToggleClasse[_index2.default.btnLink] = props.btnStyle === 'link', _dropdownToggleClasse[_index2.default.btnLg] = props.btnSize === 'lg' || props.btnSize === 'large', _dropdownToggleClasse[_index2.default.btnMd] = props.btnSize === 'md' || props.btnSize === 'medium', _dropdownToggleClasse[_index2.default.btnSm] = props.btnSize === 'sm' || props.btnSize === 'small', _dropdownToggleClasse[_index2.default.btnXs] = props.btnSize === 'xs' || props.btnSize === 'extra-small', _dropdownToggleClasse[_index2.default.empty] = empty, _dropdownToggleClasse);
var dropdownToggleClasses = (_dropdownToggleClasse = {}, _dropdownToggleClasse[_index2.default.dropdownToggle] = true, _dropdownToggleClasse[_index2.default.btnLink] = btnStyle === 'link', _dropdownToggleClasse[_index2.default.btnLg] = btnSize === 'lg' || btnSize === 'large', _dropdownToggleClasse[_index2.default.btnMd] = btnSize === 'md' || btnSize === 'medium', _dropdownToggleClasse[_index2.default.btnSm] = btnSize === 'sm' || btnSize === 'small', _dropdownToggleClasse[_index2.default.btnXs] = btnSize === 'xs' || btnSize === 'extra-small', _dropdownToggleClasse[_index2.default.empty] = empty, _dropdownToggleClasse);
var caretClasses = (_caretClasses = {}, _caretClasses[_index2.default.caret] = true, _caretClasses);

return _react2.default.createElement(
Expand Down Expand Up @@ -29844,4 +29847,4 @@ if(false) {
/***/ })

/******/ });
//# sourceMappingURL=bundle.js.map?54290b8185b9ba64f057
//# sourceMappingURL=bundle.js.map?08330a437a8c6d2a6064
2 changes: 1 addition & 1 deletion docs/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
</head>
<body>
<div id="container"></div>
<script type="text/javascript" src="bundle.js?54290b8185b9ba64f057"></script></body>
<script type="text/javascript" src="bundle.js?08330a437a8c6d2a6064"></script></body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trendmicro/react-dropdown",
"version": "0.6.11",
"version": "0.6.12",
"description": "Trend Micro Components: React Dropdown",
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 19aff92

Please sign in to comment.