From 56c063f2cad336c7f2303c6c0c134f85229d338c Mon Sep 17 00:00:00 2001 From: popdrazvan Date: Wed, 19 Jun 2024 14:44:27 +0300 Subject: [PATCH 1/2] Fix default import --- packages/graph-editor/src/registry/inputControls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graph-editor/src/registry/inputControls.tsx b/packages/graph-editor/src/registry/inputControls.tsx index 51e54022..7377c565 100644 --- a/packages/graph-editor/src/registry/inputControls.tsx +++ b/packages/graph-editor/src/registry/inputControls.tsx @@ -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); From 5486cac5608174290e9886bae95a283391303bf6 Mon Sep 17 00:00:00 2001 From: popdrazvan Date: Wed, 19 Jun 2024 15:01:29 +0300 Subject: [PATCH 2/2] add changeset --- .changeset/dry-donkeys-cheer.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/dry-donkeys-cheer.md diff --git a/.changeset/dry-donkeys-cheer.md b/.changeset/dry-donkeys-cheer.md new file mode 100644 index 00000000..5f51cc8d --- /dev/null +++ b/.changeset/dry-donkeys-cheer.md @@ -0,0 +1,5 @@ +--- +"@tokens-studio/graph-editor": patch +--- + +Fix CSS properties import for CSS map node