@tscircuit/core 0.0.1062 → 0.0.1064
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 +4 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3637,8 +3637,8 @@ function getTraceLength(route) {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
3639
|
// lib/utils/pcbStyle/getViaDiameterDefaults.ts
|
|
3640
|
-
var DEFAULT_VIA_HOLE_DIAMETER = 0.
|
|
3641
|
-
var DEFAULT_VIA_PAD_DIAMETER = 0.
|
|
3640
|
+
var DEFAULT_VIA_HOLE_DIAMETER = 0.2;
|
|
3641
|
+
var DEFAULT_VIA_PAD_DIAMETER = 0.3;
|
|
3642
3642
|
var parseDistance = (value, fallback) => {
|
|
3643
3643
|
if (value === void 0) return fallback;
|
|
3644
3644
|
if (typeof value === "number") return value;
|
|
@@ -16994,7 +16994,6 @@ import { capacitorProps } from "@tscircuit/props";
|
|
|
16994
16994
|
import { formatSiUnit } from "format-si-unit";
|
|
16995
16995
|
var Capacitor = class extends NormalComponent3 {
|
|
16996
16996
|
_adjustSilkscreenTextAutomatically = true;
|
|
16997
|
-
// @ts-ignore (cause the symbolName is string and not fixed)
|
|
16998
16997
|
get config() {
|
|
16999
16998
|
return {
|
|
17000
16999
|
componentName: "Capacitor",
|
|
@@ -17053,7 +17052,6 @@ var Capacitor = class extends NormalComponent3 {
|
|
|
17053
17052
|
const source_component = db.source_component.insert({
|
|
17054
17053
|
ftype: "simple_capacitor",
|
|
17055
17054
|
name: this.name,
|
|
17056
|
-
// @ts-ignore
|
|
17057
17055
|
manufacturer_part_number: props.manufacturerPartNumber ?? props.mfn,
|
|
17058
17056
|
supplier_part_numbers: props.supplierPartNumbers,
|
|
17059
17057
|
capacitance: props.capacitance,
|
|
@@ -17393,7 +17391,6 @@ var inflateSourceChip = (sourceElm, inflatorContext) => {
|
|
|
17393
17391
|
// lib/components/normal-components/Diode.ts
|
|
17394
17392
|
import { diodeProps } from "@tscircuit/props";
|
|
17395
17393
|
var Diode = class extends NormalComponent3 {
|
|
17396
|
-
// @ts-ignore
|
|
17397
17394
|
get config() {
|
|
17398
17395
|
const symbolMap = {
|
|
17399
17396
|
schottky: "schottky_diode",
|
|
@@ -17423,7 +17420,6 @@ var Diode = class extends NormalComponent3 {
|
|
|
17423
17420
|
const source_component = db.source_component.insert({
|
|
17424
17421
|
ftype: "simple_diode",
|
|
17425
17422
|
name: this.name,
|
|
17426
|
-
// @ts-ignore
|
|
17427
17423
|
manufacturer_part_number: props.manufacturerPartNumber ?? props.mfn,
|
|
17428
17424
|
supplier_part_numbers: props.supplierPartNumbers,
|
|
17429
17425
|
are_pins_interchangeable: false,
|
|
@@ -17669,7 +17665,6 @@ var Resistor = class extends NormalComponent3 {
|
|
|
17669
17665
|
const source_component = db.source_component.insert({
|
|
17670
17666
|
ftype: "simple_resistor",
|
|
17671
17667
|
name: this.name,
|
|
17672
|
-
// @ts-ignore
|
|
17673
17668
|
manufacturer_part_number: props.manufacturerPartNumber ?? props.mfn,
|
|
17674
17669
|
supplier_part_numbers: props.supplierPartNumbers,
|
|
17675
17670
|
resistance: props.resistance,
|
|
@@ -18119,7 +18114,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18119
18114
|
var package_default = {
|
|
18120
18115
|
name: "@tscircuit/core",
|
|
18121
18116
|
type: "module",
|
|
18122
|
-
version: "0.0.
|
|
18117
|
+
version: "0.0.1063",
|
|
18123
18118
|
types: "dist/index.d.ts",
|
|
18124
18119
|
main: "dist/index.js",
|
|
18125
18120
|
module: "dist/index.js",
|
|
@@ -18151,7 +18146,7 @@ var package_default = {
|
|
|
18151
18146
|
"@biomejs/biome": "^1.8.3",
|
|
18152
18147
|
"@resvg/resvg-js": "^2.6.2",
|
|
18153
18148
|
"@tscircuit/alphabet": "0.0.18",
|
|
18154
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
18149
|
+
"@tscircuit/capacity-autorouter": "^0.0.299",
|
|
18155
18150
|
"@tscircuit/checks": "^0.0.91",
|
|
18156
18151
|
"@tscircuit/circuit-json-util": "^0.0.77",
|
|
18157
18152
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -20335,7 +20330,6 @@ var Led = class extends NormalComponent3 {
|
|
|
20335
20330
|
wave_length: props.wavelength,
|
|
20336
20331
|
color: props.color,
|
|
20337
20332
|
symbol_display_value: this._getSchematicSymbolDisplayValue(),
|
|
20338
|
-
// @ts-ignore
|
|
20339
20333
|
manufacturer_part_number: props.manufacturerPartNumber ?? props.mfn,
|
|
20340
20334
|
supplier_part_numbers: props.supplierPartNumbers,
|
|
20341
20335
|
are_pins_interchangeable: false,
|
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.1064",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@biomejs/biome": "^1.8.3",
|
|
34
34
|
"@resvg/resvg-js": "^2.6.2",
|
|
35
35
|
"@tscircuit/alphabet": "0.0.18",
|
|
36
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
36
|
+
"@tscircuit/capacity-autorouter": "^0.0.299",
|
|
37
37
|
"@tscircuit/checks": "^0.0.91",
|
|
38
38
|
"@tscircuit/circuit-json-util": "^0.0.77",
|
|
39
39
|
"@tscircuit/common": "^0.0.20",
|