sellmate-design-system-react 3.4.0 → 3.5.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.
@@ -3429,6 +3429,7 @@ function SConfirmModal({
3429
3429
  slotLabel,
3430
3430
  tagSlot,
3431
3431
  optionSlot,
3432
+ contentSlot,
3432
3433
  mainButtonLabel = "\uD655\uC778",
3433
3434
  mainButtonName,
3434
3435
  subButtonLabel,
@@ -3441,7 +3442,7 @@ function SConfirmModal({
3441
3442
  const tagNode = tagSlot ?? (tagLabel ? /* @__PURE__ */ jsx(STag, { shape: tagShape, size: tagSize, color: tagColor, label: tagLabel }) : null);
3442
3443
  const optionNode = optionSlot ?? (slotLabel ? /* @__PURE__ */ jsx("span", { children: slotLabel }) : null);
3443
3444
  const hasContentBox = tagNode != null || optionNode != null;
3444
- const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox;
3445
+ const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox || contentSlot != null;
3445
3446
  return /* @__PURE__ */ jsx(
3446
3447
  SModalContainer,
3447
3448
  {
@@ -3482,6 +3483,7 @@ function SConfirmModal({
3482
3483
  tagNode,
3483
3484
  optionNode
3484
3485
  ] }),
3486
+ contentSlot != null && /* @__PURE__ */ jsx("div", { className: "w-full", children: contentSlot }),
3485
3487
  bottomMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: bottomMessage.map((m, i) => /* @__PURE__ */ jsx(
3486
3488
  "p",
3487
3489
  {