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/components/SConfirmModal/README.md +1 -0
- package/dist/components/SConfirmModal/SConfirmModal.cjs +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.cjs.map +1 -1
- package/dist/components/SConfirmModal/SConfirmModal.d.ts +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.js +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.js.map +1 -1
- package/dist/components/SModal/README.md +1 -1
- package/dist/components/SModal/SModal.cjs +3 -1
- package/dist/components/SModal/SModal.cjs.map +1 -1
- package/dist/components/SModal/SModal.js +3 -1
- package/dist/components/SModal/SModal.js.map +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +2 -1
- package/dist/styles.css +9 -0
- package/package.json +1 -1
|
@@ -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
|
{
|