Skip to content

Commit 7ef065c

Browse files
committed
bump 📦
1 parent 6602ca5 commit 7ef065c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sileo",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "An opinionated, physics based toast notification library for react.",
55
"license": "MIT",
66
"repository": {

src/sileo.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ export const Sileo = memo(function Sileo({
399399
[open, expandedContent],
400400
);
401401

402+
const bodyTransition = open ? SPRING : { ...SPRING, bounce: 0 };
403+
402404
const pillTransition = ready ? SPRING : { duration: 0 };
403405

404406
const viewBox = `0 0 ${WIDTH} ${svgHeight}`;
@@ -559,7 +561,7 @@ export const Sileo = memo(function Sileo({
559561
fill={view.fill}
560562
initial={false}
561563
animate={bodyAnimate}
562-
transition={SPRING}
564+
transition={bodyTransition}
563565
/>
564566
</svg>
565567
</div>

0 commit comments

Comments
 (0)