@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.umd.js CHANGED
@@ -11053,14 +11053,15 @@
11053
11053
  const getStatusIcon = () => {
11054
11054
  if (Icon)
11055
11055
  return jsxRuntime.jsx(Icon, { size: 20 });
11056
- // 기본 상태 아이콘 (실제로는 아이콘 패키지에서 가져와야 )
11056
+ // 기본 상태 아이콘 (아이콘 패키지에서 가져온 아이콘 사용)
11057
11057
  const iconMap = {
11058
- success: '✓',
11059
- error: '✕',
11060
- warning: '⚠',
11061
- info: 'ℹ',
11058
+ success: icons.CircleCheckFilledIcon,
11059
+ error: icons.DeleteIcon,
11060
+ warning: icons.WarningIcon,
11061
+ info: icons.InfoIcon,
11062
11062
  };
11063
- return jsxRuntime.jsx("span", { className: "designbase-toast__status-icon", children: iconMap[status] });
11063
+ const StatusIcon = iconMap[status];
11064
+ return jsxRuntime.jsx(StatusIcon, { size: 20 });
11064
11065
  };
11065
11066
  const getIconColor = () => {
11066
11067
  const colorMap = {