@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.esm.js
CHANGED
|
@@ -11001,7 +11001,7 @@ const Toast = ({ id, status = 'info', title, description, icon: Icon, duration =
|
|
|
11001
11001
|
const progressIntervalRef = useRef();
|
|
11002
11002
|
// 토스트 표시 애니메이션
|
|
11003
11003
|
useEffect(() => {
|
|
11004
|
-
const timer = setTimeout(() => setIsVisible(true),
|
|
11004
|
+
const timer = setTimeout(() => setIsVisible(true), 50);
|
|
11005
11005
|
return () => clearTimeout(timer);
|
|
11006
11006
|
}, []);
|
|
11007
11007
|
// 자동 닫힘 및 프로그레스바
|
|
@@ -11035,7 +11035,7 @@ const Toast = ({ id, status = 'info', title, description, icon: Icon, duration =
|
|
|
11035
11035
|
setIsVisible(false);
|
|
11036
11036
|
setTimeout(() => {
|
|
11037
11037
|
onClose(id);
|
|
11038
|
-
}, 300); // 애니메이션 완료 후 제거
|
|
11038
|
+
}, 300); // 애니메이션 완료 후 제거 (0.3s transition과 동일)
|
|
11039
11039
|
};
|
|
11040
11040
|
const handleCloseClick = () => {
|
|
11041
11041
|
if (timeoutRef.current)
|