@wire-dsl/exporters 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. package/LICENSE +0 -15
  2. package/README.md +17 -0
  3. package/package.json +2 -2
package/LICENSE CHANGED
@@ -19,18 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
23
- ---
24
-
25
- ## Third-Party Components & Assets
26
-
27
- ### Feather Icons
28
-
29
- This project includes icons from Feather Icons (https://feathericons.com), created by Cole Bemis and contributors.
30
-
31
- - **License**: MIT License
32
- - **Repository**: https://github.com/feathericons/feather
33
- - **Location in project**: `packages/core/src/renderer/icons/`
34
- - **Full details**: See `packages/core/src/renderer/icons/ICONS-LICENSE.md`
35
-
36
- Feather Icons are used under the terms of the MIT License, which is fully compatible with this project's MIT License.
package/README.md CHANGED
@@ -15,6 +15,23 @@ import { exportSVG, exportPNG, exportMultipagePDF } from '@wire-dsl/exporters';
15
15
  import { parseWire, generateIR, computeLayout } from '@wire-dsl/engine';
16
16
 
17
17
  // Parse and layout your wireframe
18
+ const wireCode = `
19
+ project "MyWireframe" {
20
+ theme {
21
+ density: "normal"
22
+ spacing: "md"
23
+ radius: "md"
24
+ stroke: "normal"
25
+ font: "base"
26
+ }
27
+ screen Home {
28
+ layout stack {
29
+ component Heading text: "Welcome"
30
+ }
31
+ }
32
+ }
33
+ `;
34
+
18
35
  const ast = parseWire(wireCode);
19
36
  const ir = generateIR(ast);
20
37
  const layout = computeLayout(ir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wire-dsl/exporters",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "WireDSL exporters - SVG, PNG, and PDF file export functions (Node.js only)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,7 +34,7 @@
34
34
  "pdfkit": "0.17.2",
35
35
  "sharp": "0.34.5",
36
36
  "svg-to-pdfkit": "0.1.8",
37
- "@wire-dsl/engine": "0.0.2"
37
+ "@wire-dsl/engine": "0.0.3"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "25.2.0",