sanity-plugin-recurring-dates 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -714,9 +714,11 @@ var mediumFocus = createMedium({}, function(_ref2) {
|
|
|
714
714
|
observed,
|
|
715
715
|
shards,
|
|
716
716
|
enabled: !disabled,
|
|
717
|
-
active
|
|
717
|
+
get active() {
|
|
718
|
+
return isActive.current;
|
|
719
|
+
}
|
|
718
720
|
};
|
|
719
|
-
}, [disabled, isActive
|
|
721
|
+
}, [disabled, isActive, shards, observed]);
|
|
720
722
|
return /* @__PURE__ */ React__default.createElement(Fragment, null, hasLeadingGuards && [
|
|
721
723
|
/* @__PURE__ */ React__default.createElement("div", {
|
|
722
724
|
key: "guard-first",
|
|
@@ -837,7 +839,7 @@ function withSideEffect(reducePropsToState2, handleStateChangeOnClient2) {
|
|
|
837
839
|
return instance.props;
|
|
838
840
|
})), handleStateChangeOnClient2(state);
|
|
839
841
|
}
|
|
840
|
-
var SideEffect = /* @__PURE__ */ function(_PureComponent) {
|
|
842
|
+
var SideEffect = /* @__PURE__ */ (function(_PureComponent) {
|
|
841
843
|
_inheritsLoose(SideEffect2, _PureComponent);
|
|
842
844
|
function SideEffect2() {
|
|
843
845
|
return _PureComponent.apply(this, arguments) || this;
|
|
@@ -856,7 +858,7 @@ function withSideEffect(reducePropsToState2, handleStateChangeOnClient2) {
|
|
|
856
858
|
}, _proto.render = function() {
|
|
857
859
|
return /* @__PURE__ */ React__default.createElement(WrappedComponent, this.props);
|
|
858
860
|
}, SideEffect2;
|
|
859
|
-
}(PureComponent);
|
|
861
|
+
})(PureComponent);
|
|
860
862
|
return _defineProperty(SideEffect, "displayName", "SideEffect(" + getDisplayName(WrappedComponent) + ")"), SideEffect;
|
|
861
863
|
};
|
|
862
864
|
}
|