mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 17:18:34 +02:00
🎉 Add variations POC
This commit is contained in:
parent
91fa39705d
commit
3268225941
24 changed files with 751 additions and 124 deletions
|
@ -20,6 +20,7 @@
|
|||
[app.common.types.component :as ctk]
|
||||
[app.common.types.components-list :as ctkl]
|
||||
[app.common.types.shape-tree :as ctst]
|
||||
[app.common.uuid :as uuid]
|
||||
[clojure.test :as t]))
|
||||
|
||||
(t/use-fixtures :each thi/test-fixture)
|
||||
|
@ -288,6 +289,7 @@
|
|||
changes (cll/generate-duplicate-component (pcb/empty-changes)
|
||||
file
|
||||
(:id component)
|
||||
(uuid/next)
|
||||
true)
|
||||
|
||||
file' (thf/apply-changes file changes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue