jscad-electronics 0.0.22 → 0.0.23

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/README.md CHANGED
@@ -13,7 +13,6 @@ Contribution Guide:
13
13
 
14
14
  [![image](https://github.com/user-attachments/assets/92236fbf-8b59-4984-9b97-0f12f24de7c8)](https://youtu.be/DHGW_DFhJao)
15
15
 
16
-
17
16
  ## Features
18
17
 
19
18
  - Wide range of electronic component models (e.g., resistors, capacitors, ICs, connectors)
@@ -34,15 +33,15 @@ npm install jscad-electronics
34
33
  Here's a basic example of how to use jscad-electronics with JSCAD:
35
34
 
36
35
  ```jsx
37
- import { JsCadFixture } from "jscad-fiber"
36
+ import { JsCadView } from "jscad-fiber"
38
37
  import { SOT233P, ExtrudedPads } from "jscad-electronics"
39
38
 
40
39
  export default () => {
41
40
  return (
42
- <JsCadFixture zAxisUp>
41
+ <JsCadView zAxisUp>
43
42
  <SOT233P />
44
43
  <ExtrudedPads footprint="sot23" />
45
- </JsCadFixture>
44
+ </JsCadView>
46
45
  )
47
46
  }
48
47
  ```
package/dist/index.js CHANGED
@@ -77312,7 +77312,7 @@ var require_dist = __commonJS({
77312
77312
  Hull: () => Hull2,
77313
77313
  HullChain: () => HullChain2,
77314
77314
  JSCadThreeMesh: () => JSCadThreeMesh,
77315
- JsCadFixture: () => JsCadFixture,
77315
+ JsCadView: () => JsCadView,
77316
77316
  Polygon: () => Polygon3,
77317
77317
  Project: () => Project,
77318
77318
  Rectangle: () => Rectangle,
@@ -78137,7 +78137,7 @@ var require_dist = __commonJS({
78137
78137
  var convert_csg_to_three_geom_default = convertCSGToThreeGeom;
78138
78138
  var import_jsx_runtime31 = require_jsx_runtime();
78139
78139
  var { createJSCADRoot } = createJSCADRenderer(jscad);
78140
- function JsCadFixture({
78140
+ function JsCadView({
78141
78141
  children,
78142
78142
  wireframe,
78143
78143
  zAxisUp = false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscad-electronics",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "main": "./dist/index.js",
6
6
  "repository": {
7
7
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "@biomejs/biome": "^1.9.3",
23
23
  "@types/react": "^18.3.11",
24
24
  "@types/react-dom": "^18.3.1",
25
- "jscad-fiber": "^0.0.71",
25
+ "jscad-fiber": "^0.0.74",
26
26
  "react": "^18.3.1",
27
27
  "react-cosmos": "^6.2.0",
28
28
  "react-cosmos-plugin-vite": "^6.2.0",