Skip to content

Commit

Permalink
Feat/permutator (#50)
Browse files Browse the repository at this point in the history
* Add features

* udpdate changeset

* fix: test errors

* permutations

* Add permutations

* fix editor prop declaration
  • Loading branch information
SorsOps authored Aug 1, 2023
1 parent d7ee6d9 commit 732f6ee
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .changeset/curvy-planets-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@tokens-studio/graph-engine": minor
---

- Adds a parse Unit node.
- Adds `align-items` to the exposed UI
- Adds native supports for tokenSets in input
- Adds Json node (alpha)
6 changes: 6 additions & 0 deletions .changeset/famous-pigs-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tokens-studio/graph-editor": minor
"@tokens-studio/graph-engine": minor
---

Added new nodes for array concatenation and css box models
5 changes: 5 additions & 0 deletions .changeset/fuzzy-chairs-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tokens-studio/graph-editor": patch
---

Fix changeset
6 changes: 0 additions & 6 deletions packages/graph-editor/src/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ export interface InitialSet {
name: string;
}

type EditorProps = {
id: string;
name: string;
};

type EditorState = {
nodes: Node[];
edges: Edge[];
Expand All @@ -103,7 +98,6 @@ type ImperativeEditor = {

export const EditorApp = React.forwardRef<ImperativeEditor, EditorProps>(
(props: EditorProps, ref) => {
const { id, name, onOutputChange } = props;
const reactFlowWrapper = useRef<HTMLDivElement>(null);
const reactFlowInstance = useReactFlow();
const dispatch = useDispatch();
Expand Down

0 comments on commit 732f6ee

Please sign in to comment.