This commit is contained in:
nik
2025-10-03 22:27:28 +03:00
parent 829fad0e17
commit 871cf7e792
16520 changed files with 2967597 additions and 3 deletions

25
node_modules/@zenuml/core/.storybook/main.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import type { StorybookConfig } from '@storybook/react-vite';
const config: StorybookConfig = {
"stories": [
"../src/**/*.mdx",
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
],
"addons": [
"@storybook/addon-docs",
"@storybook/addon-onboarding"
],
"framework": {
"name": "@storybook/react-vite",
"options": {}
},
"typescript": {
"check": false,
"reactDocgen": "react-docgen-typescript",
"reactDocgenTypescriptOptions": {
"shouldExtractLiteralValuesFromEnum": true,
"propFilter": (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
},
},
};
export default config;

29
node_modules/@zenuml/core/.storybook/preview.ts generated vendored Normal file
View File

@@ -0,0 +1,29 @@
import type { Preview } from '@storybook/react-vite'
import '../src/index.css'
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
backgrounds: {
default: 'light',
values: [
{
name: 'light',
value: '#ffffff',
},
{
name: 'dark',
value: '#333333',
},
],
},
actions: { argTypesRegex: '^on[A-Z].*' },
},
};
export default preview;