@tscircuit/core 0.0.568 → 0.0.570
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.d.ts +1 -1
- package/dist/index.js +7 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5694,8 +5694,8 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5694
5694
|
|
|
5695
5695
|
declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts> {
|
|
5696
5696
|
get config(): {
|
|
5697
|
-
componentName: string;
|
|
5698
5697
|
schematicSymbolName: string;
|
|
5698
|
+
componentName: string;
|
|
5699
5699
|
zodProps: zod.ZodObject<{
|
|
5700
5700
|
pcbX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
5701
5701
|
pcbY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
package/dist/index.js
CHANGED
|
@@ -9174,9 +9174,13 @@ var SolderJumper = class extends NormalComponent {
|
|
|
9174
9174
|
import { ledProps } from "@tscircuit/props";
|
|
9175
9175
|
var Led = class extends NormalComponent {
|
|
9176
9176
|
get config() {
|
|
9177
|
+
const symbolMap = {
|
|
9178
|
+
laser: "laser_diode"
|
|
9179
|
+
};
|
|
9180
|
+
const variantSymbol = this.props.laser ? "laser" : null;
|
|
9177
9181
|
return {
|
|
9182
|
+
schematicSymbolName: variantSymbol ? symbolMap[variantSymbol] : this.props.symbolName ?? "led",
|
|
9178
9183
|
componentName: "Led",
|
|
9179
|
-
schematicSymbolName: this.props.symbolName ?? "led",
|
|
9180
9184
|
zodProps: ledProps,
|
|
9181
9185
|
sourceFtype: "simple_led"
|
|
9182
9186
|
};
|
|
@@ -10981,7 +10985,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
10981
10985
|
var package_default = {
|
|
10982
10986
|
name: "@tscircuit/core",
|
|
10983
10987
|
type: "module",
|
|
10984
|
-
version: "0.0.
|
|
10988
|
+
version: "0.0.569",
|
|
10985
10989
|
types: "dist/index.d.ts",
|
|
10986
10990
|
main: "dist/index.js",
|
|
10987
10991
|
module: "dist/index.js",
|
|
@@ -11040,7 +11044,7 @@ var package_default = {
|
|
|
11040
11044
|
"pkg-pr-new": "^0.0.37",
|
|
11041
11045
|
react: "^19.1.0",
|
|
11042
11046
|
"react-dom": "^19.1.0",
|
|
11043
|
-
"schematic-symbols": "^0.0.
|
|
11047
|
+
"schematic-symbols": "^0.0.173",
|
|
11044
11048
|
"ts-expect": "^1.3.0",
|
|
11045
11049
|
tsup: "^8.2.4"
|
|
11046
11050
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.570",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"pkg-pr-new": "^0.0.37",
|
|
61
61
|
"react": "^19.1.0",
|
|
62
62
|
"react-dom": "^19.1.0",
|
|
63
|
-
"schematic-symbols": "^0.0.
|
|
63
|
+
"schematic-symbols": "^0.0.173",
|
|
64
64
|
"ts-expect": "^1.3.0",
|
|
65
65
|
"tsup": "^8.2.4"
|
|
66
66
|
},
|