Skip to content

Commit

Permalink
feature: Toast component
Browse files Browse the repository at this point in the history
fix dependencies

fix framer-motion

fix storybook webpack

update framer-motion

downgrade framer-motion

modify toast styles

modify export

cancel some exports

update toast

fix navbar issue

add useMutationsHandler in core-ui

review fixes

minor fixes
  • Loading branch information
hervedombya committed Oct 13, 2023
1 parent ac443f3 commit 11c5c0f
Show file tree
Hide file tree
Showing 14 changed files with 953 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,16 @@ module.exports = {
'@storybook/addon-storysource',
'@storybook/addon-knobs',
],
webpackFinal: async (config, { configType }) => {
// Resolve error when webpack-ing storybook:
// Can't import the named export 'Children' from non EcmaScript module (only
// default export is available)
config.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto',
});

return config;
},
};
181 changes: 172 additions & 9 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@storybook/theming": "^6.4.22",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.1.9",
"@types/jest": "^27.5.0",
"@types/react": "^18.0.8",
Expand Down Expand Up @@ -95,12 +96,12 @@
"vega-tooltip": "^0.27.0"
},
"peerDependencies": {
"@js-temporal/polyfill": "^0.4.3",
"@fortawesome/fontawesome-free": "^5.10.2",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-regular-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@js-temporal/polyfill": "^0.4.3",
"polished": "3.4.1",
"pretty-bytes": "^5.6.0",
"react": "^17.0.2",
Expand Down Expand Up @@ -137,6 +138,7 @@
}
},
"dependencies": {
"@floating-ui/dom": "^0.1.10"
"@floating-ui/dom": "^0.1.10",
"framer-motion": "^4.1.17"
}
}
Loading

0 comments on commit 11c5c0f

Please sign in to comment.