sellmate-design-system-react 3.1.0 → 3.3.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/AGENTS.md +34 -0
- package/README.md +23 -2
- package/bin/sellmate-ds.mjs +337 -0
- package/dist/components/SActionModal/README.md +1 -0
- package/dist/components/SActionModal/SActionModal.cjs +5 -1
- package/dist/components/SActionModal/SActionModal.cjs.map +1 -1
- package/dist/components/SActionModal/SActionModal.d.ts +6 -1
- package/dist/components/SActionModal/SActionModal.js +5 -1
- package/dist/components/SActionModal/SActionModal.js.map +1 -1
- package/dist/components/SBadge/README.md +2 -2
- package/dist/components/SIcon/README.md +0 -2
- package/dist/components/STooltip/README.md +2 -2
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +3530 -0
- package/dist/llms.txt +42 -2656
- package/dist/styles.css +12 -0
- package/eslint/index.mjs +3 -0
- package/eslint/rules/component-group-gap.mjs +186 -0
- package/package.json +7 -1
package/dist/index.js
CHANGED
|
@@ -5354,6 +5354,7 @@ function SActionModal({
|
|
|
5354
5354
|
onClose,
|
|
5355
5355
|
persistent,
|
|
5356
5356
|
modalTitle = "",
|
|
5357
|
+
description,
|
|
5357
5358
|
button,
|
|
5358
5359
|
footerLeft,
|
|
5359
5360
|
width,
|
|
@@ -5373,7 +5374,10 @@ function SActionModal({
|
|
|
5373
5374
|
height,
|
|
5374
5375
|
className: "w-fit min-w-[480px] min-h-[min(320px,calc(100dvh-48px))]",
|
|
5375
5376
|
children: /* @__PURE__ */ jsxs("div", { className: "flex min-h-0 flex-auto flex-col", children: [
|
|
5376
|
-
/* @__PURE__ */
|
|
5377
|
+
/* @__PURE__ */ jsxs("header", { className: "flex flex-shrink-0 items-center gap-[var(--cmp-overlay-header-gap)] py-[var(--cmp-overlay-header-paddingY)] pl-[var(--cmp-overlay-header-paddingX)] pr-[calc(var(--cmp-overlay-header-paddingX)+20px)]", children: [
|
|
5378
|
+
/* @__PURE__ */ jsx("h2", { className: "whitespace-nowrap text-[16px] font-bold leading-[26px] text-[color:var(--cmp-overlay-header-title-color)]", children: modalTitle }),
|
|
5379
|
+
description != null && description !== "" && /* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 text-[12px] font-normal leading-[20px] text-[color:var(--color-grey-65)]", children: description })
|
|
5380
|
+
] }),
|
|
5377
5381
|
/* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1 overflow-auto px-[var(--cmp-modal-action-body-paddingX)] pb-[var(--cmp-modal-action-body-paddingBottom)]", children }),
|
|
5378
5382
|
(button || footerLeft) && /* @__PURE__ */ jsxs(
|
|
5379
5383
|
"footer",
|