jscad-electronics 0.0.22 → 0.0.24
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 +3 -4
- package/dist/index.d.ts +25 -1
- package/dist/index.js +726 -474
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ Contribution Guide:
|
|
|
13
13
|
|
|
14
14
|
[](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 {
|
|
36
|
+
import { JsCadView } from "jscad-fiber"
|
|
38
37
|
import { SOT233P, ExtrudedPads } from "jscad-electronics"
|
|
39
38
|
|
|
40
39
|
export default () => {
|
|
41
40
|
return (
|
|
42
|
-
<
|
|
41
|
+
<JsCadView zAxisUp>
|
|
43
42
|
<SOT233P />
|
|
44
43
|
<ExtrudedPads footprint="sot23" />
|
|
45
|
-
</
|
|
44
|
+
</JsCadView>
|
|
46
45
|
)
|
|
47
46
|
}
|
|
48
47
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { AnyCircuitElement, PcbSmtPad, PcbPlatedHole } from 'circuit-json';
|
|
3
3
|
|
|
4
|
+
declare const A01005: ({ color }: {
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
declare const A0201: ({ color }: {
|
|
9
|
+
color?: string | undefined;
|
|
10
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
4
12
|
declare const A0402: ({ color }: {
|
|
5
13
|
color?: string | undefined;
|
|
6
14
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -13,6 +21,22 @@ declare const A0805: ({ color }: {
|
|
|
13
21
|
color?: string | undefined;
|
|
14
22
|
}) => react_jsx_runtime.JSX.Element;
|
|
15
23
|
|
|
24
|
+
declare const A1206: ({ color }: {
|
|
25
|
+
color?: string | undefined;
|
|
26
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
27
|
+
|
|
28
|
+
declare const A1210: ({ color }: {
|
|
29
|
+
color?: string | undefined;
|
|
30
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare const A2010: ({ color }: {
|
|
33
|
+
color?: string | undefined;
|
|
34
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
declare const A2512: ({ color }: {
|
|
37
|
+
color?: string | undefined;
|
|
38
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
|
|
16
40
|
interface BGAProps {
|
|
17
41
|
packageWidth?: number;
|
|
18
42
|
packageLength?: number;
|
|
@@ -134,4 +158,4 @@ declare const PinRow: ({ numberOfPins, pitch, longSidePinLength, }: {
|
|
|
134
158
|
longSidePinLength?: number;
|
|
135
159
|
}) => react_jsx_runtime.JSX.Element;
|
|
136
160
|
|
|
137
|
-
export { A0402, A0603, A0805, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SOD123, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop };
|
|
161
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SOD123, SOT233P, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop };
|