attributes
- optional JS object with valid JS API naming:
rel
, target
, hidden
, disabled
, etc…@coreui/coreui-pro
, @coreui/react
version 2.1.0
and up./src/_nav.js
):
{
name: 'Disabled',
url: '/disabled',
icon: 'icon-ban',
attributes: { disabled: true },
},
{
name: 'Try CoreUI PRO',
url: 'https://coreui.io/pro/react/',
icon: 'cui-layers icons',
variant: 'danger',
attributes: { target: '_blank', rel: "noopener" },
},
card-header-actions
added to CardHeader
for rtl
supportSuspense
example with Widget03 fixing some issues with rtl
, ie11
, sidebar-minimized
behaviour and aside
responsivenessListGroup
with tag="div"
works better with rtl
AppAside
remove deprecated hidden
prop@coreui/coreui-pro
to 2.1.0
@coreui/react
to 2.1.0
react-text-mask-hoc
to 0.11.0
react-dates
to 18.2.2
react-quill
to 1.3.2
codemirror
to 5.41.0
formik
to 1.3.1
reactstrap
to 6.5.0
yup
to 0.26.6
react-toastify
to 4.4.1
chart.js
to 2.7.3
flag-icon-css
to 3.2.1
src/scss/vendors/charts.js/
directoryreact-scripts
to ^2.1.1
node-sass v4.10.0
react
to 16.6.1
react-dom
to 16.6.1
react-test-renderer
to 16.6.1
react-app-polyfill v0.1.3
react-router-config
to 4.4.0-beta.6
reactsrtrap
to ^6.5.0
enzyme
to 3.7.0
enzyme-adapter-react-16
to 1.7.0
eslintConfig
in package.json
browserslist
in package.json
manifest.json
react-app-polyfill
for ie11
supportserviceWorker.js
package.json
scriptsbabel-jest
dependencynode-sass-chokidar
dependencynpm-run-all
dependencyApp.js
import styles to App.scss
node_modules/
with ~
prefixaffected files:
package.json
-> dependencies updatesrc/index.js
-> move to serviceWorker
, add react-app-polyfill
for ie11
support when neededIn most cases bumping the react-scripts
version in package.json
and running npm install
in this folder should be enough, but it’s good to consult the changelog for potential breaking changes.