@nnao45/figma-use 0.1.1 → 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,20 +5,17 @@ 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.1] - 2026-02-03
8
+ ## [0.1.2] - 2026-02-03
9
9
 
10
10
  ### Added
11
11
 
12
- - **Icon E2E coverage** icon search/sets/import/create scenarios now covered (including grid/component modes).
13
- - **Image create E2E** — local file image creation test using `assets/anya.jpg`.
14
- - **Font list limit** — `font list` now supports `--limit` for safer JSON output.
12
+ - Line stroke caps for `create line` (`--start-cap`, `--end-cap`) and JSX `<Line>` (`startCap`, `endCap`)
15
13
 
16
14
  ### Fixed
17
15
 
18
- - **CDP API stability** unified CDP eval path to avoid premature WebSocket closure.
19
- - **Icon search limit** — client-side limit applied when API ignores `limit`.
20
- - **Icon import grid** — corrected auto-layout parameters for grid frames.
21
- - **E2E isolation** — each suite now uses an isolated test page to prevent cross-suite interference.
16
+ - Line cap rendering now preserves node attachment and style when converting lines to vectors
17
+
18
+ ## [0.11.1] - 2026-01-29
22
19
 
23
20
  ### Fixed
24
21
 
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: