-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/integration/app/test…
…-demo/terser-5.15.0
- Loading branch information
Showing
426 changed files
with
33,395 additions
and
30,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"sourceType": "unambiguous", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"chrome": 100 | ||
} | ||
} | ||
], | ||
"@babel/preset-typescript", | ||
"@babel/preset-react" | ||
], | ||
"plugins": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import type { StorybookConfig } from '@storybook/react-webpack5'; | ||
|
||
const config: StorybookConfig = { | ||
typescript: { | ||
check: false, | ||
checkOptions: {}, | ||
reactDocgen: 'react-docgen-typescript', | ||
reactDocgenTypescriptOptions: { | ||
shouldExtractLiteralValuesFromEnum: true, | ||
propFilter: (prop) => | ||
prop.parent ? !/node_modules/.test(prop.parent.fileName) : true, | ||
}, | ||
}, | ||
stories: ['../src/**/*.@(stories.tsx|mdx)'], | ||
addons: [ | ||
{ | ||
name: '@storybook/addon-essentials', | ||
options: { | ||
actions: false, | ||
}, | ||
}, | ||
'@storybook/addon-storysource', | ||
'@storybook/addon-styling', | ||
'@storybook/addon-a11y', | ||
], | ||
framework: { | ||
name: '@storybook/react-webpack5', | ||
options: {}, | ||
}, | ||
docs: { | ||
autodocs: true, | ||
// Storybook 7 appends "--page" to the URL of auto-generated documentation. | ||
// By default, Storybook uses the "Docs" name that would break all our existing links. | ||
defaultName: 'Page', | ||
}, | ||
}; | ||
export default config; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { ThemeProvider } from 'styled-components'; | ||
import { withThemeFromJSXProvider } from '@storybook/addon-styling'; | ||
|
||
import { GlobalStyles } from '../src/theme/GlobalStyles'; | ||
import lightTheme from '../src/theme/light'; | ||
import darkTheme from '../src/theme/dark'; | ||
|
||
export const decorators = [ | ||
withThemeFromJSXProvider({ | ||
themes: { | ||
light: lightTheme, | ||
dark: darkTheme, | ||
}, | ||
defaultTheme: 'light', | ||
Provider: ThemeProvider, | ||
GlobalStyles: GlobalStyles, | ||
}), | ||
]; | ||
|
||
export const argTypes = { | ||
tag: { table: { disable: true } }, | ||
id: { table: { disable: true } }, | ||
className: { table: { disable: true } }, | ||
css: { table: { disable: true } }, | ||
testId: { table: { disable: true } }, | ||
viewBox: { table: { disable: true } }, | ||
height: { table: { disable: true } }, | ||
title: { table: { disable: true } }, | ||
children: { table: { disable: true } }, | ||
}; | ||
|
||
export const parameters = { | ||
layout: 'centered', | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.