Tags: storefront-foundation/react-storefront
Tags
Updates for v9.0.0-alpha.0 (#207) * Begin upgrading mui to 5.2 - Install mui 5.2 - Remove material-ui 4 - Replace peerDependencies - Upgrade minimum node version (in preparation for next) * Replace import and comment instances for mui * Upgrade react version for mui * Run mui preset-safe codemods Note: consider readjusting sizing values if necessary * Use preset-safe on test directory Note: consider fixing accordion test manually, as it errored during codemod run * Remove @global usage for CssBaseline (For JSS => emotion migration) * Manual updates for MUI 5 (where codemods didn't work) * Move emotion to dev dependencies * Upgrade next and react * creeateMuiTheme -> creeateTheme, due to deprecation * IntersectionObserver fix * proper theme creation * MUI migration fixes * Migrate from JSS * Manual migration from JSS removeMakeStyels * remove mui/styles * Re-add `classes` where not properly removed * Fix declaration ordering/placement issues Also: remove adaptV4Theme usage * MIU 5 JSS to styled migration * Continue updating product usage - Match code styles from other commits - Ensure necessary variables are used/defined * selectors fixes * babel -> swr * linter * classes exports from UI-components * fetchServerSideProps * LazyHydrate progress * Fix variable order in plp/Sort.js * Update package installation process - Update push-build command to use --sig and npm run build (over yarn) - Installed peer dependencies properly with npm8 - Update enzyme-adapter-react * Revert LazyHydrate to pre-upgrade guide state * Fix carousel styling - Ensure defaultClass.root is used over passed in classes.root for Carousel - Update thumbnails Tab wrapper usage - Fix spaces in selectors where necessary * Continue correcting selectors for carousel - Migrate JSS selector code to styled for hovering => expand - Fix expand media query * Updates to main navigation - Added 'material-ui-popup-state' to manage hover/popup menus for main navigation - Updated NavTab to use the aforementioned library * Removed webpack dev middleware from plugin since it was causing hot reloading issues * General updates for tests * Updated github test workflow definition * Another update to try and fix the tests workflow * Version bump to v9.0.0-alpha.0 * Updates to (temporarily!) skip uncooperative tests Co-authored-by: Christopher Buenaventura <christopherbuenaventura@gmail.com> Co-authored-by: sudo97 <illia.mikhnevych@moovforge.com> Co-authored-by: dijs <richard.vanderdys@gmail.com>
PreviousNext