@designbasekorea/ui 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1 -1
- package/dist/index.umd.css.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11003,7 +11003,7 @@ const Toast = ({ id, status = 'info', title, description, icon: Icon, duration =
|
|
|
11003
11003
|
const progressIntervalRef = React.useRef();
|
|
11004
11004
|
// 토스트 표시 애니메이션
|
|
11005
11005
|
React.useEffect(() => {
|
|
11006
|
-
const timer = setTimeout(() => setIsVisible(true),
|
|
11006
|
+
const timer = setTimeout(() => setIsVisible(true), 50);
|
|
11007
11007
|
return () => clearTimeout(timer);
|
|
11008
11008
|
}, []);
|
|
11009
11009
|
// 자동 닫힘 및 프로그레스바
|
|
@@ -11037,7 +11037,7 @@ const Toast = ({ id, status = 'info', title, description, icon: Icon, duration =
|
|
|
11037
11037
|
setIsVisible(false);
|
|
11038
11038
|
setTimeout(() => {
|
|
11039
11039
|
onClose(id);
|
|
11040
|
-
}, 300); // 애니메이션 완료 후 제거
|
|
11040
|
+
}, 300); // 애니메이션 완료 후 제거 (0.3s transition과 동일)
|
|
11041
11041
|
};
|
|
11042
11042
|
const handleCloseClick = () => {
|
|
11043
11043
|
if (timeoutRef.current)
|