terra-disclosure-manager
Advanced tools
Comparing version 4.33.0 to 4.34.0
@@ -7,2 +7,7 @@ ChangeLog | ||
4.34.0 - (July 14, 2020) | ||
------------------ | ||
### Changed | ||
* updated `master` references to `main`. | ||
4.33.0 - (April 28, 2020) | ||
@@ -9,0 +14,0 @@ ------------------ |
@@ -70,3 +70,3 @@ "use strict"; | ||
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 _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { 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); }; } | ||
@@ -223,3 +223,3 @@ 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; } } | ||
return { | ||
disclosureComponentData: _objectSpread({}, state.disclosureComponentData, {}, (0, _defineProperty2.default)({}, key, _objectSpread({}, state.disclosureComponentData[key], { | ||
disclosureComponentData: _objectSpread(_objectSpread({}, state.disclosureComponentData), (0, _defineProperty2.default)({}, key, _objectSpread(_objectSpread({}, state.disclosureComponentData[key]), {}, { | ||
headerAdapterData: { | ||
@@ -407,3 +407,3 @@ title: initialTitle || title, | ||
disclosureComponentKeys: [data.content.key], | ||
disclosureComponentData: (0, _defineProperty2.default)({}, data.content.key, _objectSpread({ | ||
disclosureComponentData: (0, _defineProperty2.default)({}, data.content.key, _objectSpread(_objectSpread({ | ||
key: data.content.key, | ||
@@ -417,3 +417,3 @@ name: data.content.name, | ||
} | ||
}, { | ||
}), {}, { | ||
headerAdapterContextValue: this.generateHeaderContextValue(data.content.key, data.content.title) | ||
@@ -430,3 +430,3 @@ })) | ||
newState.disclosureComponentKeys.push(data.content.key); | ||
newState.disclosureComponentData[data.content.key] = _objectSpread({ | ||
newState.disclosureComponentData[data.content.key] = _objectSpread(_objectSpread({ | ||
key: data.content.key, | ||
@@ -440,3 +440,3 @@ name: data.content.name, | ||
} | ||
}, { | ||
}), {}, { | ||
headerAdapterContextValue: this.generateHeaderContextValue(data.content.key, data.content.title) | ||
@@ -443,0 +443,0 @@ }); |
@@ -12,5 +12,5 @@ "use strict"; | ||
var DisclosureManagerContext = _react.default.createContext(); | ||
var DisclosureManagerContext = /*#__PURE__*/_react.default.createContext(); | ||
var _default = DisclosureManagerContext; | ||
exports.default = _default; |
@@ -12,3 +12,3 @@ "use strict"; | ||
var DisclosureManagerHeaderAdapterContext = _react.default.createContext({ | ||
var DisclosureManagerHeaderAdapterContext = /*#__PURE__*/_react.default.createContext({ | ||
register: function register() { | ||
@@ -15,0 +15,0 @@ if (process.env.NODE_ENV !== 'production') { |
{ | ||
"name": "terra-disclosure-manager", | ||
"main": "lib/DisclosureManager.js", | ||
"version": "4.33.0", | ||
"version": "4.34.0", | ||
"description": "A stateful component used to manage disclosure presentation.", | ||
@@ -44,3 +44,3 @@ "repository": { | ||
}, | ||
"gitHead": "4e00d010848a84a8d9196943e2e3c02ad45ba6cf" | ||
"gitHead": "5bd4eb1dc37d7d30d88d557db7851c011776bd5c" | ||
} |
@@ -9,3 +9,3 @@ # Terra Disclosure Manager | ||
- [Getting Started](#getting-started) | ||
- [Documentation](https://github.com/cerner/terra-framework/tree/master/packages/terra-disclosure-manager/docs) | ||
- [Documentation](https://github.com/cerner/terra-framework/tree/main/packages/terra-disclosure-manager/docs) | ||
- [LICENSE](#license) | ||
@@ -12,0 +12,0 @@ |
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
178191