Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchas116 committed Apr 28, 2023
1 parent 81a817c commit ded0d30
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/compiler/CSSGenerator.ts
Expand Up @@ -4,7 +4,7 @@ import { Page } from "@uimix/model/src/models/Page";
import * as CodeAsset from "@uimix/adapter-types";
import { Selectable, Variant } from "@uimix/model/src/models";
import { ClassNameGenerator } from "./ClassNameGenerator";
import { SelfAndChildrenCSS } from "@uimix/elements-react/src/buildNodeCSS";
import { SelfAndChildrenCSS } from "@uimix/elements-react";

function isDesignToken(
value: CodeAsset.DesignToken | CodeAsset.DesignTokens
Expand Down
2 changes: 1 addition & 1 deletion packages/elements-react/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "@uimix/elements-react",
"license": "MIT",
"type": "module",
"main": "src/index.tsx",
"main": "src/index.ts",
"scripts": {
"lint": "eslint src",
"storybook": "storybook dev -p 8008",
Expand Down
3 changes: 3 additions & 0 deletions packages/elements-react/src/index.ts
@@ -0,0 +1,3 @@
export * from "./Box";
export * from "./StyleProps";
export * from "./buildNodeCSS";
1 change: 0 additions & 1 deletion packages/elements-react/src/index.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions packages/model/src/models/Selectable.ts
Expand Up @@ -14,8 +14,8 @@ import { Page } from "./Page";
import {
buildNodeCSS,
SelfAndChildrenCSS,
} from "@uimix/elements-react/src/buildNodeCSS";
import { StyleProps } from "@uimix/elements-react/src/StyleProps";
StyleProps,
} from "@uimix/elements-react";

export interface IComputedRectProvider {
readonly value: Rect | undefined;
Expand Down

0 comments on commit ded0d30

Please sign in to comment.