@tscircuit/props 0.0.530 → 0.0.531

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/dist/index.js CHANGED
@@ -16803,8 +16803,9 @@ var mapResistorFootprint = (footprint) => {
16803
16803
  if (!resistorImperialFootprintNames.has(footprint)) return footprint;
16804
16804
  return `res${footprint}`;
16805
16805
  };
16806
+ var resistorFootprintProp = footprintProp.optional().transform(mapResistorFootprint);
16806
16807
  var resistorProps = commonComponentProps.extend({
16807
- footprint: footprintProp.optional().transform(mapResistorFootprint),
16808
+ footprint: resistorFootprintProp,
16808
16809
  resistance,
16809
16810
  tolerance: z48.union([z48.string(), z48.number()]).transform((val) => {
16810
16811
  if (typeof val === "string") {