terra-disclosure-manager
Advanced tools
Comparing version 4.32.0 to 4.33.0
@@ -7,2 +7,10 @@ ChangeLog | ||
4.33.0 - (April 28, 2020) | ||
------------------ | ||
### Added | ||
* Added `directory` as a sub attribute to the `repository` attribute in package.json | ||
### Removed | ||
* Removed "View Component Source Code" from docs in favour of source code badge | ||
4.32.0 - (February 25, 2020) | ||
@@ -9,0 +17,0 @@ ------------------ |
@@ -44,6 +44,2 @@ "use strict"; | ||
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); | ||
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); | ||
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); | ||
@@ -55,2 +51,6 @@ | ||
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); | ||
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -72,2 +72,6 @@ | ||
function _createSuper(Derived) { return function () { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
@@ -149,6 +153,7 @@ | ||
var DisclosureManager = | ||
/*#__PURE__*/ | ||
function (_React$Component) { | ||
var DisclosureManager = /*#__PURE__*/function (_React$Component) { | ||
(0, _inherits2.default)(DisclosureManager, _React$Component); | ||
var _super = _createSuper(DisclosureManager); | ||
(0, _createClass2.default)(DisclosureManager, null, [{ | ||
@@ -174,3 +179,3 @@ key: "cloneDisclosureState", | ||
(0, _classCallCheck2.default)(this, DisclosureManager); | ||
_this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(DisclosureManager).call(this, props)); | ||
_this = _super.call(this, props); | ||
_this.generateChildComponentDelegate = _this.generateChildComponentDelegate.bind((0, _assertThisInitialized2.default)(_this)); | ||
@@ -631,6 +636,6 @@ _this.generateDisclosureComponentDelegate = _this.generateDisclosureComponentDelegate.bind((0, _assertThisInitialized2.default)(_this)); | ||
accumulator[key] = { | ||
component: _react.default.createElement(_DisclosureManagerHeaderAdapterContext.default.Provider, { | ||
component: /*#__PURE__*/_react.default.createElement(_DisclosureManagerHeaderAdapterContext.default.Provider, { | ||
value: componentData.headerAdapterContextValue, | ||
key: key | ||
}, _react.default.createElement(_DisclosureManagerContext.default.Provider, { | ||
}, /*#__PURE__*/_react.default.createElement(_DisclosureManagerContext.default.Provider, { | ||
value: disclosureComponentDelegates[index] | ||
@@ -676,3 +681,3 @@ }, component)), | ||
children: { | ||
components: _react.default.createElement(_DisclosureManagerContext.default.Provider, { | ||
components: /*#__PURE__*/_react.default.createElement(_DisclosureManagerContext.default.Provider, { | ||
value: childComponentDelegate | ||
@@ -679,0 +684,0 @@ }, children) |
@@ -22,4 +22,4 @@ "use strict"; | ||
var WithDisclosureManagerComp = function WithDisclosureManagerComp(props) { | ||
return _react.default.createElement(_DisclosureManagerContext.default.Consumer, null, function (disclosureManager) { | ||
return _react.default.createElement(WrappedComponent, (0, _extends2.default)({}, props, { | ||
return /*#__PURE__*/_react.default.createElement(_DisclosureManagerContext.default.Consumer, null, function (disclosureManager) { | ||
return /*#__PURE__*/_react.default.createElement(WrappedComponent, (0, _extends2.default)({}, props, { | ||
disclosureManager: disclosureManager | ||
@@ -26,0 +26,0 @@ })); |
{ | ||
"name": "terra-disclosure-manager", | ||
"main": "lib/DisclosureManager.js", | ||
"version": "4.32.0", | ||
"version": "4.33.0", | ||
"description": "A stateful component used to manage disclosure presentation.", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cerner/terra-framework.git" | ||
"url": "git+https://github.com/cerner/terra-framework.git", | ||
"directory": "packages/terra-disclosure-manager" | ||
}, | ||
@@ -43,3 +44,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "07d07c97907328ec086a4d5d1be8159df45becef" | ||
"gitHead": "4e00d010848a84a8d9196943e2e3c02ad45ba6cf" | ||
} |
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
177922
34
2310