Skip to content

v1.2.0

Choose a tag to compare

@alexandra-c alexandra-c released this 10 Nov 14:07
· 364 commits to master since this release

Bug Fixes

  • Fix react-scripts V4 Breaking Changes #8

Immprovements

  • Packages updated. ⚠ We recomment deleting node-modules folder and package.lock.json or yarn.lock and then run npm install after upgrading your project

Breaking changes ⚠

  • All the imports that were made from @bit/totalsoft.react-mui.core package must be replaced with imports from '@bit/totalsoft_oss.react-mui.kit.core'
    e.g.:
    import { Typography } from '@bit/totalsoft.react-mui.core';
    becomes:
    import { Typography } from '@bit/totalsoft_oss.react-mui.kit.core';

⚠The following routes will be automatically updated by the generator:

import { theme as defaultTheme } from '@bit/totalsoft.react-mui.themes.default-theme'
import { theme as greenTheme } from '@bit/totalsoft.react-mui.themes.green-theme'
import { theme as blueTheme } from '@bit/totalsoft.react-mui.themes.blue-theme'
import { theme as orangeTheme } from '@bit/totalsoft.react-mui.themes.orange-theme'
import { theme as redTheme } from '@bit/totalsoft.react-mui.themes.red-theme'

will be replaced with:

import { theme as defaultTheme } from '@bit/totalsoft_oss.react-mui.themes.default-theme'
import { theme as greenTheme } from '@bit/totalsoft_oss.react-mui.themes.green-theme'
import { theme as blueTheme } from '@bit/totalsoft_oss.react-mui.themes.blue-theme'
import { theme as orangeTheme } from '@bit/totalsoft_oss.react-mui.themes.orange-theme'
import { theme as redTheme } from '@bit/totalsoft_oss.react-mui.themes.red-theme'

Also the style.js file

import styles from '@bit/totalsoft.react-mui.utils.styles';

will be replaced with:

import styles from '@bit/totalsoft_oss.react-mui.styles';