@tenon-io/tenon-ui
Advanced tools
Comparing version 1.0.0-alpha.22 to 1.0.0-alpha.23
@@ -50,10 +50,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
xmlns: 'http://www.w3.org/2000/svg', | ||
'aria-describedby': this.svgTitleId, | ||
'aria-describedby': title ? this.svgTitleId : null, | ||
className: className ? className : null | ||
}, props), | ||
React.createElement( | ||
title ? React.createElement( | ||
'title', | ||
{ id: this.svgTitleId }, | ||
title | ||
), | ||
) : null, | ||
React.createElement( | ||
@@ -222,3 +222,3 @@ 'g', | ||
Spinner.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string.isRequired, | ||
title: PropTypes.string, | ||
className: PropTypes.string | ||
@@ -225,0 +225,0 @@ } : {}; |
@@ -63,10 +63,10 @@ 'use strict'; | ||
xmlns: 'http://www.w3.org/2000/svg', | ||
'aria-describedby': this.svgTitleId, | ||
'aria-describedby': title ? this.svgTitleId : null, | ||
className: className ? className : null | ||
}, props), | ||
_react2.default.createElement( | ||
title ? _react2.default.createElement( | ||
'title', | ||
{ id: this.svgTitleId }, | ||
title | ||
), | ||
) : null, | ||
_react2.default.createElement( | ||
@@ -235,3 +235,3 @@ 'g', | ||
Spinner.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes2.default.string.isRequired, | ||
title: _propTypes2.default.string, | ||
className: _propTypes2.default.string | ||
@@ -238,0 +238,0 @@ } : {}; |
{ | ||
"name": "@tenon-io/tenon-ui", | ||
"version": "1.0.0-alpha.22", | ||
"version": "1.0.0-alpha.23", | ||
"description": "Tenon ui components library", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
171209