@prefecthq/prefab-ui 0.18.3 → 0.18.5

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.
@@ -9520,7 +9520,7 @@ class _IndexPath(NamedTuple):
9520
9520
  _Node = _BinOp | _UnaryOp | _Ternary | _Pipe | _DotPath | _IndexPath
9521
9521
 
9522
9522
  # Ops where RHS needs strict wrapping (parens at same precedence)
9523
- _STRICT_RHS_OPS = frozenset({"-", "/", "&&", "||"})
9523
+ _STRICT_RHS_OPS = frozenset({"-", "/", "%", "&&", "||"})
9524
9524
 
9525
9525
 
9526
9526
  @runtime_checkable
@@ -9658,6 +9658,7 @@ _OP_PREC: dict[str, int] = {
9658
9658
  "-": _PREC_ADD,
9659
9659
  "*": _PREC_MUL,
9660
9660
  "/": _PREC_MUL,
9661
+ "%": _PREC_MUL,
9661
9662
  "==": _PREC_COMP,
9662
9663
  "!=": _PREC_COMP,
9663
9664
  ">": _PREC_COMP,
@@ -9821,6 +9822,12 @@ class Rx:
9821
9822
  def __rtruediv__(self, other: object) -> Rx:
9822
9823
  return Rx(_BinOp("/", other, self), _PREC_MUL)
9823
9824
 
9825
+ def __mod__(self, other: object) -> Rx:
9826
+ return Rx(_BinOp("%", self, other), _PREC_MUL)
9827
+
9828
+ def __rmod__(self, other: object) -> Rx:
9829
+ return Rx(_BinOp("%", other, self), _PREC_MUL)
9830
+
9824
9831
  def __neg__(self) -> Rx:
9825
9832
  return Rx(_UnaryOp("-", self), _PREC_UNARY)
9826
9833