diff --git a/Source/.storybook/main.ts b/Source/.storybook/main.ts index 5ec4cfa..6048360 100644 --- a/Source/.storybook/main.ts +++ b/Source/.storybook/main.ts @@ -11,7 +11,9 @@ const config: StorybookConfig = { '!../dist/**', '!../storybook-static/**' ], - addons: [], + addons: [ + '@storybook/addon-storysource' + ], framework: { name: '@storybook/react-vite', options: {} diff --git a/Source/CommandDialog/CommandDialog.tsx b/Source/CommandDialog/CommandDialog.tsx index 0458247..ba44836 100644 --- a/Source/CommandDialog/CommandDialog.tsx +++ b/Source/CommandDialog/CommandDialog.tsx @@ -159,14 +159,6 @@ const CommandDialogWrapper = ({ ); }; -const CommandDialogFieldsWrapper = (props: { children: React.ReactNode }) => { - return ( - - {props.children} - - ); -}; - const CommandDialogComponent = (props: CommandDialogProps) => { const { command, @@ -256,7 +248,6 @@ const CommandDialogColumnWrapper = ({ children }: { children: React.ReactNode }) ); CommandDialogColumnWrapper.displayName = 'CommandFormColumn'; -CommandDialogComponent.Fields = CommandDialogFieldsWrapper; CommandDialogComponent.Column = CommandDialogColumnWrapper; export const CommandDialog = CommandDialogComponent; diff --git a/Source/package.json b/Source/package.json index 6d098df..9243b59 100644 --- a/Source/package.json +++ b/Source/package.json @@ -101,9 +101,9 @@ "build-storybook": "storybook build" }, "dependencies": { - "@cratis/arc": "^19.6.5", - "@cratis/arc.react": "^19.6.5", - "@cratis/arc.vite": "^19.6.5", + "@cratis/arc": "^19.6.8", + "@cratis/arc.react": "^19.6.8", + "@cratis/arc.vite": "^19.6.8", "allotment": "1.20.5", "framer-motion": "12.34.3", "pixi.js": "^8.16.0", diff --git a/package.json b/package.json index d20e0eb..7bb59b5 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "devDependencies": { "@eslint/eslintrc": "^3.3.3", "@eslint/js": "^10.0.1", + "@storybook/addon-storysource": "8.6.14", "@storybook/react": "^10.2.8", "@storybook/react-vite": "^10.2.8", "@tailwindcss/postcss": "^4.1.18",