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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Tom Smith
3
+ Copyright (c) 2026 Tom Smith
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.js CHANGED
@@ -723,9 +723,11 @@ var mediumFocus = createMedium({}, function(_ref2) {
723
723
  observed,
724
724
  shards,
725
725
  enabled: !disabled,
726
- active: isActive.current
726
+ get active() {
727
+ return isActive.current;
728
+ }
727
729
  };
728
- }, [disabled, isActive.current, shards, realObserved]);
730
+ }, [disabled, isActive, shards, observed]);
729
731
  return /* @__PURE__ */ React__namespace.default.createElement(React.Fragment, null, hasLeadingGuards && [
730
732
  /* @__PURE__ */ React__namespace.default.createElement("div", {
731
733
  key: "guard-first",
@@ -846,7 +848,7 @@ function withSideEffect(reducePropsToState2, handleStateChangeOnClient2) {
846
848
  return instance.props;
847
849
  })), handleStateChangeOnClient2(state);
848
850
  }
849
- var SideEffect = /* @__PURE__ */ function(_PureComponent) {
851
+ var SideEffect = /* @__PURE__ */ (function(_PureComponent) {
850
852
  _inheritsLoose(SideEffect2, _PureComponent);
851
853
  function SideEffect2() {
852
854
  return _PureComponent.apply(this, arguments) || this;
@@ -865,7 +867,7 @@ function withSideEffect(reducePropsToState2, handleStateChangeOnClient2) {
865
867
  }, _proto.render = function() {
866
868
  return /* @__PURE__ */ React__namespace.default.createElement(WrappedComponent, this.props);
867
869
  }, SideEffect2;
868
- }(React.PureComponent);
870
+ })(React.PureComponent);
869
871
  return _defineProperty(SideEffect, "displayName", "SideEffect(" + getDisplayName(WrappedComponent) + ")"), SideEffect;
870
872
  };
871
873
  }