Skip to content

Commit

Permalink
Merge pull request #33 from ahmetarsiv/master
Browse files Browse the repository at this point in the history
Interfeys Storybook upgrade
  • Loading branch information
karabayyazilim authored Dec 19, 2024
2 parents 4d2acdc + 9e010c2 commit 21a0de7
Show file tree
Hide file tree
Showing 62 changed files with 657 additions and 17,332 deletions.
10 changes: 4 additions & 6 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ const config: StorybookConfig = {
'../src/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-onboarding',
'@storybook/addon-interactions',
'@storybook/addon-actions',
'@storybook/addon-knobs',
"@storybook/addon-onboarding",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
'storybook-dark-mode',
],
framework: {
Expand Down
3 changes: 2 additions & 1 deletion .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
// @ts-ignore
import interfeysTheme from './interfeys.theme';

addons.setConfig({ theme: interfeysTheme });
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const preview: Preview = {
docs: {
theme: themes.dark,
},
actions: { argTypesRegex: '^on[A-Z].*' },
viewMode: 'docs',
options: {
storySort: {
Expand All @@ -30,6 +29,7 @@ const preview: Preview = {
date: /Date$/i,
},
},
tags: ['autodocs'],
},
};

Expand Down
Loading

0 comments on commit 21a0de7

Please sign in to comment.