@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.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
- return jsxRuntime.jsx("span", { className: "designbase-toast__status-icon", children: iconMap[status] });
11064
+ const StatusIcon = iconMap[status];
11065
+ return jsxRuntime.jsx(StatusIcon, { size: 20 });
11065
11066
  };
11066
11067
  const getIconColor = () => {
11067
11068
  const colorMap = {