@tscircuit/pcb-viewer 1.11.254 → 1.11.255
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 +47 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7417,6 +7417,21 @@ var convertElementToPrimitives = (element, allElements) => {
|
|
|
7417
7417
|
_source_port,
|
|
7418
7418
|
roundness: rect_border_radius
|
|
7419
7419
|
},
|
|
7420
|
+
{
|
|
7421
|
+
_pcb_drawing_object_id: `rect_${globalPcbDrawingObjectCount++}`,
|
|
7422
|
+
pcb_drawing_type: "rect",
|
|
7423
|
+
x,
|
|
7424
|
+
y,
|
|
7425
|
+
w: rect_pad_width,
|
|
7426
|
+
h: rect_pad_height,
|
|
7427
|
+
layer: "bottom",
|
|
7428
|
+
// Rectangular pad on bottom layer
|
|
7429
|
+
_element: element,
|
|
7430
|
+
_parent_pcb_component,
|
|
7431
|
+
_parent_source_component,
|
|
7432
|
+
_source_port,
|
|
7433
|
+
roundness: rect_border_radius
|
|
7434
|
+
},
|
|
7420
7435
|
{
|
|
7421
7436
|
_pcb_drawing_object_id: `circle_${globalPcbDrawingObjectCount++}`,
|
|
7422
7437
|
_element: element,
|
|
@@ -7454,6 +7469,21 @@ var convertElementToPrimitives = (element, allElements) => {
|
|
|
7454
7469
|
_source_port,
|
|
7455
7470
|
roundness: rect_border_radius
|
|
7456
7471
|
},
|
|
7472
|
+
{
|
|
7473
|
+
_pcb_drawing_object_id: `rect_${globalPcbDrawingObjectCount++}`,
|
|
7474
|
+
pcb_drawing_type: "rect",
|
|
7475
|
+
x,
|
|
7476
|
+
y,
|
|
7477
|
+
w: rect_pad_width,
|
|
7478
|
+
h: rect_pad_height,
|
|
7479
|
+
layer: "bottom",
|
|
7480
|
+
// Rectangular pad on bottom layer
|
|
7481
|
+
_element: element,
|
|
7482
|
+
_parent_pcb_component,
|
|
7483
|
+
_parent_source_component,
|
|
7484
|
+
_source_port,
|
|
7485
|
+
roundness: rect_border_radius
|
|
7486
|
+
},
|
|
7457
7487
|
{
|
|
7458
7488
|
_pcb_drawing_object_id: `pill_${globalPcbDrawingObjectCount++}`,
|
|
7459
7489
|
_element: element,
|
|
@@ -7495,6 +7525,22 @@ var convertElementToPrimitives = (element, allElements) => {
|
|
|
7495
7525
|
ccw_rotation: rect_ccw_rotation,
|
|
7496
7526
|
roundness: rect_border_radius
|
|
7497
7527
|
},
|
|
7528
|
+
{
|
|
7529
|
+
_pcb_drawing_object_id: `rect_${globalPcbDrawingObjectCount++}`,
|
|
7530
|
+
pcb_drawing_type: "rect",
|
|
7531
|
+
x,
|
|
7532
|
+
y,
|
|
7533
|
+
w: rect_pad_width,
|
|
7534
|
+
h: rect_pad_height,
|
|
7535
|
+
layer: "bottom",
|
|
7536
|
+
// Rectangular pad on bottom layer
|
|
7537
|
+
_element: element,
|
|
7538
|
+
_parent_pcb_component,
|
|
7539
|
+
_parent_source_component,
|
|
7540
|
+
_source_port,
|
|
7541
|
+
ccw_rotation: rect_ccw_rotation,
|
|
7542
|
+
roundness: rect_border_radius
|
|
7543
|
+
},
|
|
7498
7544
|
{
|
|
7499
7545
|
_pcb_drawing_object_id: `pill_${globalPcbDrawingObjectCount++}`,
|
|
7500
7546
|
_element: element,
|
|
@@ -12374,7 +12420,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
12374
12420
|
// package.json
|
|
12375
12421
|
var package_default = {
|
|
12376
12422
|
name: "@tscircuit/pcb-viewer",
|
|
12377
|
-
version: "1.11.
|
|
12423
|
+
version: "1.11.254",
|
|
12378
12424
|
main: "dist/index.js",
|
|
12379
12425
|
type: "module",
|
|
12380
12426
|
repository: "tscircuit/pcb-viewer",
|