react-big-calendar
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -0,1 +1,8 @@ | ||
## [1.3.3](https://github.com/jquense/react-big-calendar/compare/v1.3.2...v1.3.3) (2022-07-12) | ||
### Bug Fixes | ||
* revert ([#2227](https://github.com/jquense/react-big-calendar/issues/2227)) ([b81fa14](https://github.com/jquense/react-big-calendar/commit/b81fa146a97b83cd0bff063eb5004f1583eb365c)) | ||
## [1.3.2](https://github.com/jquense/react-big-calendar/compare/v1.3.1...v1.3.2) (2022-07-12) | ||
@@ -2,0 +9,0 @@ |
@@ -327,6 +327,7 @@ "use strict"; | ||
}, { | ||
key: "getSnapshotBeforeUpdate", | ||
value: function getSnapshotBeforeUpdate(prevProps) { | ||
if (!prevProps.selectable && this.props.selectable) this._selectable(); | ||
if (prevProps.selectable && !this.props.selectable) this._teardownSelectable(); | ||
key: "UNSAFE_componentWillReceiveProps", | ||
value: function UNSAFE_componentWillReceiveProps(nextProps) { | ||
if (nextProps.selectable && !this.props.selectable) this._selectable(); | ||
if (!nextProps.selectable && this.props.selectable) this._teardownSelectable(); | ||
this.slotMetrics = this.slotMetrics.update(nextProps); | ||
} | ||
@@ -408,4 +409,2 @@ }, { | ||
value: function render() { | ||
var _this$slotMetrics$upd, _this$slotMetrics, _this$slotMetrics$upd2; | ||
var _this$props5 = this.props, | ||
@@ -425,3 +424,3 @@ date = _this$props5.date, | ||
components = (0, _objectWithoutProperties2.default)(_this$props5$componen, _excluded2); | ||
var slotMetrics = (_this$slotMetrics$upd = this === null || this === void 0 ? void 0 : (_this$slotMetrics = this.slotMetrics) === null || _this$slotMetrics === void 0 ? void 0 : (_this$slotMetrics$upd2 = _this$slotMetrics.update) === null || _this$slotMetrics$upd2 === void 0 ? void 0 : _this$slotMetrics$upd2.call(_this$slotMetrics, this.props)) !== null && _this$slotMetrics$upd !== void 0 ? _this$slotMetrics$upd : {}; | ||
var slotMetrics = this.slotMetrics; | ||
var _this$state = this.state, | ||
@@ -428,0 +427,0 @@ selecting = _this$state.selecting, |
{ | ||
"name": "react-big-calendar", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Calendar! with events", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2499223
54631