Releases: twreporter/twreporter-npm-packages
Releases · twreporter/twreporter-npm-packages
@twreporter/universal-header@2.1.1
- Remove deprecated React API
componentWillMount
andcomponentWillReceiveProps
react-transition-group@^1.2.1
->^2.0.0
react-router-dom@^4.3.1
->^5.1.2
- Per file imports are deprecated for
react-router-dom
v5
- Per file imports are deprecated for
@twreporter/react-components@8.0.2
- Remove deprecated React API
componentWillMount
andcomponentWillReceiveProps
react-transition-group@^1.2.1
->^2.0.0
react-router-dom@^4.3.1
->^5.1.2
- Per file imports are deprecated for
react-router-dom
v5
- Per file imports are deprecated for
@twreporter/react-article-components@1.0.25
Update embedded element
- Refactor the attributes setting of embedded
script
elements - Remove
overflow:hidden
of embedded code
Update dependencies
@twreporter/react-components@^8.0.1
->^8.0.2
@twreporter/universal-header@^2.1.0
->^2.1.1
@twreporter/index-page@1.0.5
-
Remove deprecated React API
componentWillMount
andcomponentWillReceiveProps
@twreporter/velocity-react@^1.4.2
->velocity-react@^1.4.3
react-router-dom@^4.3.1
->^5.1.2
- Per file imports are deprecated for
react-router-dom
v5
- Per file imports are deprecated for
-
Fix warning about setting state on unmounted component
@twreporter/redux@5.0.6
- Update photo article style constant to v2
@twreporter/react-article-components@1.0.24
Style Fine Tune
- body:embed: style fine tune
- slideshow: adjust slide width calculation
@twreporter/react-article-components@1.0.23
- Export
renderElement
from body module
@twreporter/react-components@8.0.1
Table of Contents
- Add
id
attribute in the anchor
@twreporter/react-article-components@1.0.22
Dependency Upgrade
- @twreporter/react-components@^8.0.0 -> @^8.0.1
Table of Contents
- provide h1 string as an anchor id
@twreproter/react-article-components@1.0.21
Dependency Upgrade
- @twreporter/react-components@^7.1.1 -> @^8.0.0
Update relateds
- Add load-more to relateds
- Replace related placeholder with gray block
Update img-with-placeholder
Improve DEV experience
- Add theme selection to dev entry
Update Aside Tools
- new svg files for icons
- style fine tune according to
article@2.1.4(FineTune)
mockup - render bookmark widget on demand
- reduce requests of checking if bookmark existed from 3 to 1