@clayui/button
Advanced tools
Comparing version 3.3.1 to 3.4.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [3.4.0](https://github.com/liferay/clay/compare/@clayui/button@3.3.1...@clayui/button@3.4.0) (2020-07-28) | ||
### Bug Fixes | ||
- **clayui.com:** Fix wording and a few links on Date Picker and Button ([035d912](https://github.com/liferay/clay/commit/035d912)) | ||
### Features | ||
- **@clayui/button:** add prop for removing monospaced from button ([9c2e51f](https://github.com/liferay/clay/commit/9c2e51f)) | ||
- **clayui.com:** Add JSP code example to Button ([843f1a0](https://github.com/liferay/clay/commit/843f1a0)) | ||
- **clayui.com:** Add JSP code example to Button ([fd49a24](https://github.com/liferay/clay/commit/fd49a24)) | ||
## [3.3.1](https://github.com/liferay/clay/compare/@clayui/button@3.3.0...@clayui/button@3.3.1) (2020-04-24) | ||
@@ -8,0 +20,0 @@ |
@@ -24,3 +24,3 @@ "use strict"; | ||
var ClayButton = _react.default.forwardRef(function (_ref, ref) { | ||
var ClayButton = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) { | ||
var _classNames; | ||
@@ -42,3 +42,3 @@ | ||
return _react.default.createElement("button", _extends({ | ||
return /*#__PURE__*/_react.default.createElement("button", _extends({ | ||
className: (0, _classnames.default)(className, 'btn', (_classNames = { | ||
@@ -45,0 +45,0 @@ 'alert-btn': alert, |
@@ -22,11 +22,13 @@ "use strict"; | ||
var ClayButtonWithIcon = _react.default.forwardRef(function (_ref, ref) { | ||
var spritemap = _ref.spritemap, | ||
var ClayButtonWithIcon = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) { | ||
var _ref$monospaced = _ref.monospaced, | ||
monospaced = _ref$monospaced === void 0 ? true : _ref$monospaced, | ||
spritemap = _ref.spritemap, | ||
symbol = _ref.symbol, | ||
otherProps = _objectWithoutProperties(_ref, ["spritemap", "symbol"]); | ||
otherProps = _objectWithoutProperties(_ref, ["monospaced", "spritemap", "symbol"]); | ||
return _react.default.createElement(_Button.default, _extends({}, otherProps, { | ||
monospaced: true, | ||
return /*#__PURE__*/_react.default.createElement(_Button.default, _extends({}, otherProps, { | ||
monospaced: monospaced, | ||
ref: ref | ||
}), _react.default.createElement(_icon.default, { | ||
}), /*#__PURE__*/_react.default.createElement(_icon.default, { | ||
spritemap: spritemap, | ||
@@ -33,0 +35,0 @@ symbol: symbol |
@@ -28,7 +28,7 @@ "use strict"; | ||
return _react.default.createElement("div", _extends({}, otherProps, { | ||
return /*#__PURE__*/_react.default.createElement("div", _extends({}, otherProps, { | ||
className: (0, _classnames.default)(className, 'btn-group'), | ||
role: role | ||
}), spaced ? _react.default.Children.map(children, function (child, i) { | ||
return _react.default.cloneElement(_react.default.createElement("div", { | ||
return /*#__PURE__*/_react.default.cloneElement( /*#__PURE__*/_react.default.createElement("div", { | ||
className: "btn-group-item" | ||
@@ -35,0 +35,0 @@ }, child), { |
{ | ||
"name": "@clayui/button", | ||
"version": "3.3.1", | ||
"version": "3.4.0", | ||
"description": "ClayButton component", | ||
@@ -40,3 +40,3 @@ "license": "BSD-3-Clause", | ||
], | ||
"gitHead": "315966237dc08b74f9d7bc28e7455946f104a026" | ||
"gitHead": "c3d6a4b78259655789b4181fea4579605d718f89" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29572
410
66
17