Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sima-land/moleculas
Browse files Browse the repository at this point in the history
  • Loading branch information
krutoo committed Feb 6, 2023
2 parents ee95710 + 2c15e0a commit 7bbd96a
Show file tree
Hide file tree
Showing 112 changed files with 4,003 additions and 7,001 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@ module.exports = {
},
},
{
files: [
'./**/__stories__/**/*',
'./**/__stories__/**/*',
'./**/*.test.*',
'./**/*.test.*',
'*.ts',
'*.tsx',
],
files: ['./**/__stories__/**/*', './**/__stories__/**/*', './**/*.test.*', './**/*.test.*'],
rules: {
'require-jsdoc': 'off',
'jsdoc/require-jsdoc': 'off',
Expand Down
2 changes: 1 addition & 1 deletion .storybook/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta } from '@storybook/addon-docs';
import Readme from '../readme.md';

<Meta
title='Readme'
title='Обзор'
parameters={{
previewTabs: {
'storybook/docs/panel': {
Expand Down
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
stories: ['./index.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-actions',
'@storybook/addon-backgrounds',
'@storybook/addon-storysource',
'@storybook/addon-viewport',
{
Expand Down
23 changes: 15 additions & 8 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import React from 'react';
import {
Title,
Subtitle,
Description,
ArgsTable,
PRIMARY_STORY,
} from '@storybook/addon-docs';
import { Title, Subtitle, Description, ArgsTable, PRIMARY_STORY } from '@storybook/addon-docs';
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
actions: { argTypesRegex: '^on[A-Z].*' },
viewport: {
viewports: INITIAL_VIEWPORTS,
},
Expand All @@ -26,4 +20,17 @@ export const parameters = {
</>
),
},
backgrounds: {
default: 'white',
values: [
{
name: 'white',
value: '#fff',
},
{
name: 'custom:gray',
value: '#ccc',
},
],
},
};
Loading

0 comments on commit 7bbd96a

Please sign in to comment.