sellmate-design-system-react 0.8.1 → 0.8.2

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.
@@ -6,7 +6,7 @@ export interface SKeyValueField {
6
6
  type?: SKeyValueFieldType;
7
7
  options?: Record<string, any>;
8
8
  required?: boolean;
9
- helpText?: string;
9
+ helpText?: string[];
10
10
  hideTh?: boolean;
11
11
  thRowSpan?: number;
12
12
  thColSpan?: number;
@@ -6395,14 +6395,14 @@ function SKeyValueTable({
6395
6395
  /* @__PURE__ */ jsx("span", { className: "text-[12px] font-bold leading-[20px] text-[color:var(--sys-color-fg-primary)]", children: f.label }),
6396
6396
  f.required && /* @__PURE__ */ jsx(SIcon, { name: "star", size: 12, color: "var(--sys-color-fg-accent)" })
6397
6397
  ] }),
6398
- f.helpText && /* @__PURE__ */ jsx(
6398
+ f.helpText && f.helpText.length > 0 && /* @__PURE__ */ jsx(
6399
6399
  STooltip,
6400
6400
  {
6401
6401
  trigger: "hover",
6402
6402
  icon: "helpOutline",
6403
6403
  iconSize: 16,
6404
6404
  color: "var(--sys-color-fg-success)",
6405
- message: [f.helpText]
6405
+ message: f.helpText
6406
6406
  }
6407
6407
  )
6408
6408
  ] })