@tscircuit/props 0.0.582 → 0.0.584

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
@@ -16542,7 +16542,8 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
16542
16542
  z42.literal(2),
16543
16543
  z42.literal(4),
16544
16544
  z42.literal(6),
16545
- z42.literal(8)
16545
+ z42.literal(8),
16546
+ z42.literal(10)
16546
16547
  ]).default(2),
16547
16548
  borderRadius: distance.optional(),
16548
16549
  thickness: distance.optional(),
@@ -17389,13 +17390,14 @@ var capacity = z72.number().or(z72.string().endsWith("mAh")).transform((v) => {
17389
17390
  }
17390
17391
  return v;
17391
17392
  }).describe("Battery capacity in mAh");
17393
+ var batteryPins = lrPolarPins;
17392
17394
  var batteryProps = commonComponentProps.extend({
17393
17395
  capacity: capacity.optional(),
17394
17396
  voltage: voltage2.optional(),
17395
17397
  standard: z72.enum(["AA", "AAA", "9V", "CR2032", "18650", "C"]).optional(),
17396
- schOrientation: schematicOrientation.optional()
17398
+ schOrientation: schematicOrientation.optional(),
17399
+ connections: createConnectionsProp(batteryPins).optional()
17397
17400
  });
17398
- var batteryPins = lrPolarPins;
17399
17401
  expectTypesMatch(true);
17400
17402
 
17401
17403
  // lib/components/mountedboard.ts