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.
package/dist/index.cjs CHANGED
@@ -5313,6 +5313,7 @@ function SConfirmModal({
5313
5313
  slotLabel,
5314
5314
  tagSlot,
5315
5315
  optionSlot,
5316
+ contentSlot,
5316
5317
  mainButtonLabel = "\uD655\uC778",
5317
5318
  mainButtonName,
5318
5319
  subButtonLabel,
@@ -5325,7 +5326,7 @@ function SConfirmModal({
5325
5326
  const tagNode = tagSlot ?? (tagLabel ? /* @__PURE__ */ jsxRuntime.jsx(STag, { shape: tagShape, size: tagSize, color: tagColor, label: tagLabel }) : null);
5326
5327
  const optionNode = optionSlot ?? (slotLabel ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: slotLabel }) : null);
5327
5328
  const hasContentBox = tagNode != null || optionNode != null;
5328
- const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox;
5329
+ const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox || contentSlot != null;
5329
5330
  return /* @__PURE__ */ jsxRuntime.jsx(
5330
5331
  SModalContainer,
5331
5332
  {
@@ -5366,6 +5367,7 @@ function SConfirmModal({
5366
5367
  tagNode,
5367
5368
  optionNode
5368
5369
  ] }),
5370
+ contentSlot != null && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: contentSlot }),
5369
5371
  bottomMessage.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-[2px]", children: bottomMessage.map((m, i) => /* @__PURE__ */ jsxRuntime.jsx(
5370
5372
  "p",
5371
5373
  {