@designbasekorea/ui 0.2.0 → 0.2.2
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.umd.js
CHANGED
|
@@ -11002,7 +11002,7 @@
|
|
|
11002
11002
|
const progressIntervalRef = React.useRef();
|
|
11003
11003
|
// 토스트 표시 애니메이션
|
|
11004
11004
|
React.useEffect(() => {
|
|
11005
|
-
const timer = setTimeout(() => setIsVisible(true),
|
|
11005
|
+
const timer = setTimeout(() => setIsVisible(true), 50);
|
|
11006
11006
|
return () => clearTimeout(timer);
|
|
11007
11007
|
}, []);
|
|
11008
11008
|
// 자동 닫힘 및 프로그레스바
|
|
@@ -11036,7 +11036,7 @@
|
|
|
11036
11036
|
setIsVisible(false);
|
|
11037
11037
|
setTimeout(() => {
|
|
11038
11038
|
onClose(id);
|
|
11039
|
-
}, 300); // 애니메이션 완료 후 제거
|
|
11039
|
+
}, 300); // 애니메이션 완료 후 제거 (0.3s transition과 동일)
|
|
11040
11040
|
};
|
|
11041
11041
|
const handleCloseClick = () => {
|
|
11042
11042
|
if (timeoutRef.current)
|