fix(deps): update dependency react-loading-skeleton to v3 #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.1.1
->3.1.0
Release Notes
dvtng/react-loading-skeleton
v3.1.0
Compare Source
Features
count
is set to a decimal number like 3.5, the component will display 3full-width skeletons followed by 1 half-width skeleton. (#136)
v3.0.3
Compare Source
Bug Fixes
Thanks!
v3.0.2
Compare Source
Bug Fixes
Skeleton
prop to undefined, like<Skeleton highlightColor={undefined}>
, blocking style options from theSkeletonTheme
(#128)
SkeletonTheme
, you can render a nestedSkeletonTheme
to override atheme defined higher up in the component tree, OR explicitly set one or
more
Skeleton
props back to their default values e.g.<Skeleton baseColor="#ebebeb" />
v3.0.1
Compare Source
Bug Fixes
SkeletonProps
not being exported from the main entry point (#118)enableAnimation
prop having no effect. This was a regression.v3.0.0
Migration Guide
Add the new required CSS import:
Read the full list of breaking changes to see if any affect you.
Breaking Changes
on one page and reduces bundle size
SkeletonTheme
using React contextSkeletonTheme
rendered a<div>
which was undesirable in manycases. The new
SkeletonTheme
does not render any DOM elements.SkeletonTheme
did not work if theSkeleton
was rendered in aportal. The new
SkeletonTheme
does work in this case.SkeletonTheme
: rename thecolor
prop tobaseColor
If you need to support Internet Explorer or use an old version of React, please
continue to use
react-loading-skeleton
v2.Features
SkeletonTheme
direction
prop to support right-to-left animationenableAnimation
prop to allow disabling the animationcontainerClassName
prop to allow customizing the container elementcontainerTestId
to make testing easieraria-live
andaria-busy
attributes to the skeleton container toimprove screen reader support
Other Changes
background-position
property which madethe browser repaint the gradient on every frame.
transform
of a pseudoelement. Thisavoids repaints and results in an observable decrease in CPU usage.
width
andheight
to be set for thecircle
prop towork
duration
from 1.2 s to 1.5 sSkeleton
base color a tiny bit darker so that theanimation is more visible
Bug Fixes
width
propwrapper
prop in the type definitionsThanks!
Configuration
📅 Schedule: "after 12am and before 08:30am on Monday" in timezone Asia/Karachi.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.