Skip to content

Commit

Permalink
Merge pull request #1453 from undp/1406-upgrade-foundation-package-2
Browse files Browse the repository at this point in the history
1406 upgrade foundation package
  • Loading branch information
Jura authored Nov 20, 2024
2 parents d75c20b + 46424e2 commit a9c0d05
Show file tree
Hide file tree
Showing 76 changed files with 5,677 additions and 7,992 deletions.
33 changes: 17 additions & 16 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ const path = require('path');
const config = {
staticDirs: ['../stories/assets'],
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)', '../stories/**/*.mdx'],
addons: [
'@storybook/addon-links',
{
name: '@storybook/addon-essentials',
options: {
actions: false, // 👈 disable the actions addon
},

addons: ['@storybook/addon-links', {
name: '@storybook/addon-essentials',
options: {
actions: false, // 👈 disable the actions addon
},
// 'storybook-addon-rtl',
'@storybook/blocks',
'@storybook/addon-a11y',
'@storybook/react-webpack5',
// '@chromatic-com/storybook',
'@storybook/addon-webpack5-compiler-babel',
'@whitespace/storybook-addon-html'
],
}, // 'storybook-addon-rtl',
'@storybook/blocks', '@storybook/addon-a11y', '@storybook/react-webpack5', // '@chromatic-com/storybook',
'@storybook/addon-webpack5-compiler-babel', '@whitespace/storybook-addon-html'],

webpackFinal: async config => {
config.resolve.alias = {
...config.resolve.alias,
Expand All @@ -27,7 +21,7 @@ const config = {

config.module.rules.push({
test: /\.scss$/,
use: ['style-loader', 'css-loader', 'sass-loader'],
use: ['style-loader', 'css-loader', { loader: 'sass-loader', options: { implementation: 'sass-embedded', sourceMap: false, sassOptions: { quietDeps: true, silenceDeprecations: ['import', 'global-builtin'] } } }],
include: path.resolve(__dirname, '../')
});

Expand All @@ -43,9 +37,16 @@ const config = {

return config;
},

framework: {
name: '@storybook/react-webpack5'
},

docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
};

export default config;
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ export default {
parameters: parameters,
globalTypes: globalTypes,
decorators: [getLangCode, sbFrameReset, setDirection, setAccentClass],
tags: ['autodocs'],
tags: ['autodocs', 'autodocs'],
}
2 changes: 1 addition & 1 deletion docs/css/base-minimal-no-grid.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/base-minimal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/ckeditor5.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/components/author-card.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/fixed-size-carousel.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/components/fluid-image-size-carousel.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a9c0d05

Please sign in to comment.