Skip to content

Commit c11e4a3

Browse files
Copilothotlong
andcommitted
Fix CI build failures: Export StackSchema, add chart color default, remove unused param
Co-authored-by: hotlong <[email protected]>
1 parent 7814f80 commit c11e4a3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/components/src/renderers/data-display/tree-view.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ import { cn } from '../../lib/utils';
66

77
const TreeNodeComponent = ({
88
node,
9-
onNodeClick,
10-
isChild = false
9+
onNodeClick
1110
}: {
1211
node: TreeNode;
1312
onNodeClick?: (node: TreeNode) => void;
14-
isChild?: boolean;
1513
}) => {
1614
const [isOpen, setIsOpen] = useState(false);
1715
const hasChildren = node.children && node.children.length > 0;
@@ -85,7 +83,6 @@ const TreeNodeComponent = ({
8583
key={child.id}
8684
node={child}
8785
onNodeClick={onNodeClick}
88-
isChild={true}
8986
/>
9087
))}
9188

packages/plugin-charts/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ ComponentRegistry.register(
6767
dataKey: 'value',
6868
xAxisKey: 'name',
6969
height: 400,
70+
color: '#8884d8',
7071
},
7172
}
7273
);

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export type {
7575
SeparatorSchema,
7676
ContainerSchema,
7777
FlexSchema,
78+
StackSchema,
7879
GridSchema,
7980
CardSchema,
8081
TabsSchema,

packages/types/src/layout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ export type LayoutSchema =
428428
| SeparatorSchema
429429
| ContainerSchema
430430
| FlexSchema
431+
| StackSchema
431432
| GridSchema
432433
| CardSchema
433434
| TabsSchema

0 commit comments

Comments
 (0)