Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(views): updated #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.1
4 changes: 2 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module.exports = {
builder: 'webpack5',
},
stories: [
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
'../src/stories/**/*.stories.mdx',
'../src/stories/**/*.stories.@(js|jsx|ts|tsx)',
],
addons: [
'@storybook/addon-docs',
Expand Down
6 changes: 3 additions & 3 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { configure, addParameters, addDecorator } from '@storybook/react'
import { create } from '@storybook/theming/create'
import { muiThemeOptions, theme } from '../src'
import { muiThemeOptions, theme } from '../src/styles'
import { ThemeProvider } from 'flipper-ui'
import { StylesProvider } from '@material-ui/core/styles'
import { ThemeProvider as StyledThemeProvider } from 'styled-components'
Expand All @@ -15,7 +15,7 @@ const customTheme = create({

brandTitle: 'NGInformatica Styles',
brandUrl: 'https://github.com/nginformatica/styleguide',
brandImage: require('./assets/logo.png')
brandImage: require('../src/assets/logo.png')
})

addParameters({
Expand All @@ -36,7 +36,7 @@ addDecorator((storyFn) => (
</StylesProvider>
))

configure(require.context('../docs', true, /\.stories\.(mdx|tsx?)$/), module)
configure(require.context('../src', true, /\.stories\.(mdx|tsx?)$/), module)

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
Expand Down
80 changes: 0 additions & 80 deletions docs/Color/ColorSample.tsx

This file was deleted.

191 changes: 0 additions & 191 deletions docs/Color/Intro.stories.mdx

This file was deleted.

Loading