Skip to content

Commit

Permalink
reseting storries manually
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebLuster committed Jul 8, 2024
1 parent 2e0a2aa commit b52d0d9
Show file tree
Hide file tree
Showing 130 changed files with 7,872 additions and 8,638 deletions.
17 changes: 9 additions & 8 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"shippedProposals": true,
"loose": true
}
[
"@babel/preset-env",
{
"shippedProposals": true,
"loose": true
}
],
"@babel/preset-react",
"@babel/preset-typescript"
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-shorthand-properties",
"@babel/plugin-transform-block-scoping",
Expand Down
14 changes: 6 additions & 8 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ const path = require("path");
module.exports = {
staticDirs: ['../stories/assets'],
stories: [
"../stories/**/*.stories.mdx"
'../stories/**/*.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)'
],

addons: [
"@storybook/addon-links",
"@storybook/addon-actions",
"@storybook/addon-docs",
"@storybook/addon-essentials",
"@whitespace/storybook-addon-html",
"storybook-addon-rtl",
"@storybook/addon-a11y"
"@storybook/addon-a11y",
"@storybook/addon-webpack5-compiler-babel"
],
features: {
storyStoreV7: true,
buildStoriesJson: true,
legacyMdx1: true,
babelModeV7: true
},
webpackFinal: async config => {
Expand Down Expand Up @@ -51,7 +51,5 @@ module.exports = {
...config,
CHROMATIC_VIEWPORTS: [375, 768, 1380, 1920]
}),
docs: {
autodocs: true
}
docs: {}
};
3 changes: 2 additions & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ initializeRTL();

// Configure Storybook
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
actions: { disable: true },
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down Expand Up @@ -206,3 +206,4 @@ const setAccentClass = (Story, context) => {

// Trigger callback in Storybook Addons.
export const decorators = [getLangCode, sbFrameReset, setDirection, setAccentClass];
export const tags = ['autodocs'];
3 changes: 3 additions & 0 deletions babel.config.js.broken
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ['@babel/preset-react'],
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b52d0d9

Please sign in to comment.