Skip to content

Commit

Permalink
Merge pull request #313 from tokens-studio/fix-mdn-import
Browse files Browse the repository at this point in the history
Fix default import
  • Loading branch information
roppazvan authored Jun 19, 2024
2 parents cb050f0 + 5486cac commit f70b40d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dry-donkeys-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tokens-studio/graph-editor": patch
---

Fix CSS properties import for CSS map node
2 changes: 1 addition & 1 deletion packages/graph-editor/src/registry/inputControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { observer } from 'mobx-react-lite';
import React, { useMemo } from 'react';
import { Node } from '@tokens-studio/graph-engine';

import * as properties from 'mdn-data/css/properties.json' ;
import properties from 'mdn-data/css/properties.json';
import { deletable } from '@/annotations';

const CSSProperties = Object.keys(properties);
Expand Down

0 comments on commit f70b40d

Please sign in to comment.