@ausbom/body
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -6,2 +6,16 @@ # Change Log | ||
<a name="0.1.5"></a> | ||
## [0.1.5](https://github.com/AusBOM/bom-design-system/compare/@ausbom/body@0.1.4...@ausbom/body@0.1.5) (2019-10-31) | ||
### Bug Fixes | ||
* add displayName prop to remaining components to render JSX names ([e75f520](https://github.com/AusBOM/bom-design-system/commit/e75f520)) | ||
* move examples to Demo.tsx files, change export method, update tests ([aa63dec](https://github.com/AusBOM/bom-design-system/commit/aa63dec)) | ||
* revert export method, add displayName to components, add ref tests ([af00edc](https://github.com/AusBOM/bom-design-system/commit/af00edc)) | ||
<a name="0.1.4"></a> | ||
@@ -8,0 +22,0 @@ ## [0.1.4](https://github.com/AusBOM/bom-design-system/compare/@ausbom/body@0.1.3...@ausbom/body@0.1.4) (2019-10-29) |
@@ -6,2 +6,3 @@ import React from 'react' | ||
dark?: boolean | ||
innerRef?: React.RefObject<any> | ||
} | ||
@@ -8,0 +9,0 @@ |
@@ -1,1 +0,1 @@ | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _classnames=_interopRequireDefault(require("classnames"));var _react=_interopRequireDefault(require("react"));var Body=/*#__PURE__*/function(_React$PureComponent){(0,_inherits2["default"])(Body,_React$PureComponent);function Body(){(0,_classCallCheck2["default"])(this,Body);return(0,_possibleConstructorReturn2["default"])(this,(0,_getPrototypeOf2["default"])(Body).apply(this,arguments))}(0,_createClass2["default"])(Body,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,dark=_this$props.dark,restProps=(0,_objectWithoutProperties2["default"])(_this$props,["children","className","dark"]);var classes=(0,_classnames["default"])(className,"bom-body",{"bom-body--dark":dark});return _react["default"].createElement("div",(0,_extends2["default"])({className:classes},restProps),children)}}]);return Body}(_react["default"].PureComponent);exports["default"]=Body;(0,_defineProperty2["default"])(Body,"defaultProps",{dark:false}); | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _classnames=_interopRequireDefault(require("classnames"));var _react=_interopRequireDefault(require("react"));var Body=/*#__PURE__*/function(_React$PureComponent){(0,_inherits2["default"])(Body,_React$PureComponent);function Body(){(0,_classCallCheck2["default"])(this,Body);return(0,_possibleConstructorReturn2["default"])(this,(0,_getPrototypeOf2["default"])(Body).apply(this,arguments))}(0,_createClass2["default"])(Body,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,dark=_this$props.dark,innerRef=_this$props.innerRef,restProps=(0,_objectWithoutProperties2["default"])(_this$props,["children","className","dark","innerRef"]);var classes=(0,_classnames["default"])(className,"bom-body",{"bom-body--dark":dark});return _react["default"].createElement("div",(0,_extends2["default"])({className:classes},restProps),children)}}]);return Body}(_react["default"].PureComponent);(0,_defineProperty2["default"])(Body,"defaultProps",{dark:false});var BodyWithRef=_react["default"].forwardRef(function(props,ref){return _react["default"].createElement(Body,(0,_extends2["default"])({innerRef:ref},props))});BodyWithRef.displayName="Body";var _default=BodyWithRef;exports["default"]=_default; |
{ | ||
"name": "@ausbom/body", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "", | ||
@@ -40,5 +40,5 @@ "keywords": [], | ||
"dependencies": { | ||
"@ausbom/styles": "^0.4.2" | ||
"@ausbom/styles": "^0.4.3" | ||
}, | ||
"gitHead": "cbf770594099400d1527df079df6bc1bc1a7ada8" | ||
"gitHead": "0690cd14eaa86a712824b33add26e2d172d204e2" | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
10353
10
Updated@ausbom/styles@^0.4.3