@nnao45/figma-use 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.2] - 2026-02-03
9
+
10
+ ### Added
11
+
12
+ - Line stroke caps for `create line` (`--start-cap`, `--end-cap`) and JSX `<Line>` (`startCap`, `endCap`)
13
+
14
+ ### Fixed
15
+
16
+ - Line cap rendering now preserves node attachment and style when converting lines to vectors
17
+
8
18
  ## [0.11.1] - 2026-01-29
9
19
 
10
20
  ### Fixed
package/LICENSE CHANGED
@@ -1,7 +1,6 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2025 Danila Poyarkov
4
- Copyright (c) 2026 nnao45
5
4
 
6
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
6
  of this software and associated documentation files (the "Software"), to deal
package/SKILL.md CHANGED
@@ -92,6 +92,20 @@ Use `<Instance>` to create component instances:
92
92
 
93
93
  ⚠️ **Always use `--x` and `--y`** to position renders. Don't stack everything at (0, 0).
94
94
 
95
+ ## Line Caps
96
+
97
+ Line caps are supported in both command and JSX render modes.
98
+
99
+ ```bash
100
+ bun run dist/cli/index.js create line --length 120 --stroke "#111" --start-cap arrow --end-cap circle
101
+ ```
102
+
103
+ ```tsx
104
+ <Line x={0} y={0} w={120} stroke="#111" strokeWidth={2} startCap="arrow" endCap="circle" />
105
+ ```
106
+
107
+ Allowed values: `none`, `round`, `square`, `arrow`, `arrow-lines`, `arrow-equilateral`, `triangle`, `diamond`, `circle`.
108
+
95
109
  ## Icons
96
110
 
97
111
  150k+ icons from Iconify by name: