@designbasekorea/ui 0.1.60 → 0.2.0
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 +8 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -6
- 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 +7 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11054,14 +11054,15 @@ const Toast = ({ id, status = 'info', title, description, icon: Icon, duration =
|
|
|
11054
11054
|
const getStatusIcon = () => {
|
|
11055
11055
|
if (Icon)
|
|
11056
11056
|
return jsxRuntime.jsx(Icon, { size: 20 });
|
|
11057
|
-
// 기본 상태 아이콘 (
|
|
11057
|
+
// 기본 상태 아이콘 (아이콘 패키지에서 가져온 아이콘 사용)
|
|
11058
11058
|
const iconMap = {
|
|
11059
|
-
success:
|
|
11060
|
-
error:
|
|
11061
|
-
warning:
|
|
11062
|
-
info:
|
|
11059
|
+
success: icons.CircleCheckFilledIcon,
|
|
11060
|
+
error: icons.DeleteIcon,
|
|
11061
|
+
warning: icons.WarningIcon,
|
|
11062
|
+
info: icons.InfoIcon,
|
|
11063
11063
|
};
|
|
11064
|
-
|
|
11064
|
+
const StatusIcon = iconMap[status];
|
|
11065
|
+
return jsxRuntime.jsx(StatusIcon, { size: 20 });
|
|
11065
11066
|
};
|
|
11066
11067
|
const getIconColor = () => {
|
|
11067
11068
|
const colorMap = {
|