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
package/dist/index.js
CHANGED
|
@@ -5285,6 +5285,7 @@ function SConfirmModal({
|
|
|
5285
5285
|
slotLabel,
|
|
5286
5286
|
tagSlot,
|
|
5287
5287
|
optionSlot,
|
|
5288
|
+
contentSlot,
|
|
5288
5289
|
mainButtonLabel = "\uD655\uC778",
|
|
5289
5290
|
mainButtonName,
|
|
5290
5291
|
subButtonLabel,
|
|
@@ -5297,7 +5298,7 @@ function SConfirmModal({
|
|
|
5297
5298
|
const tagNode = tagSlot ?? (tagLabel ? /* @__PURE__ */ jsx(STag, { shape: tagShape, size: tagSize, color: tagColor, label: tagLabel }) : null);
|
|
5298
5299
|
const optionNode = optionSlot ?? (slotLabel ? /* @__PURE__ */ jsx("span", { children: slotLabel }) : null);
|
|
5299
5300
|
const hasContentBox = tagNode != null || optionNode != null;
|
|
5300
|
-
const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox;
|
|
5301
|
+
const hasBody = topMessage.length > 0 || bottomMessage.length > 0 || hasContentBox || contentSlot != null;
|
|
5301
5302
|
return /* @__PURE__ */ jsx(
|
|
5302
5303
|
SModalContainer,
|
|
5303
5304
|
{
|
|
@@ -5338,6 +5339,7 @@ function SConfirmModal({
|
|
|
5338
5339
|
tagNode,
|
|
5339
5340
|
optionNode
|
|
5340
5341
|
] }),
|
|
5342
|
+
contentSlot != null && /* @__PURE__ */ jsx("div", { className: "w-full", children: contentSlot }),
|
|
5341
5343
|
bottomMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: bottomMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
5342
5344
|
"p",
|
|
5343
5345
|
{
|