@open-mercato/sync-akeneo 0.6.7 → 0.6.8-develop.6874.1.982d6097d8

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.
@@ -1053,8 +1053,8 @@ function AkeneoConfigWidget({ context, data }) {
1053
1053
  return /* @__PURE__ */ jsxs("div", { className: "space-y-6 rounded-lg border bg-card p-4", children: [
1054
1054
  /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
1055
1055
  /* @__PURE__ */ jsx("h3", { className: "text-sm font-semibold", children: t("sync_akeneo.setup.heading", "Akeneo API setup") }),
1056
- /* @__PURE__ */ jsx(Alert, { variant: "info", children: /* @__PURE__ */ jsx(AlertDescription, { children: t("sync_akeneo.setup.scheduleTab", "Run once and recurring schedules now live in the dedicated Sync schedules tab, shared by all data sync integrations.") }) }),
1057
- /* @__PURE__ */ jsxs(Alert, { variant: "info", children: [
1056
+ /* @__PURE__ */ jsx(Alert, { status: "information", children: /* @__PURE__ */ jsx(AlertDescription, { children: t("sync_akeneo.setup.scheduleTab", "Run once and recurring schedules now live in the dedicated Sync schedules tab, shared by all data sync integrations.") }) }),
1057
+ /* @__PURE__ */ jsxs(Alert, { status: "information", children: [
1058
1058
  /* @__PURE__ */ jsx(AlertTitle, { children: t("sync_akeneo.setup.order.title", "Recommended sync order") }),
1059
1059
  /* @__PURE__ */ jsx(AlertDescription, { children: t(
1060
1060
  "sync_akeneo.setup.order.message",
@@ -1164,7 +1164,7 @@ function AkeneoConfigWidget({ context, data }) {
1164
1164
  "The imported product cleanup is running in the background. Progress also appears in the global progress bar."
1165
1165
  ) })
1166
1166
  ] }) : null,
1167
- discovery?.message ? /* @__PURE__ */ jsx(Alert, { variant: discovery.ok ? "info" : "warning", children: /* @__PURE__ */ jsx(AlertDescription, { children: discovery.message }) }) : null,
1167
+ discovery?.message ? /* @__PURE__ */ jsx(Alert, { status: discovery.ok ? "information" : "warning", children: /* @__PURE__ */ jsx(AlertDescription, { children: discovery.message }) }) : null,
1168
1168
  /* @__PURE__ */ jsxs("div", { className: "grid gap-6 xl:grid-cols-[1.2fr_0.8fr]", children: [
1169
1169
  /* @__PURE__ */ jsxs("div", { className: "space-y-5 rounded-lg border p-4", children: [
1170
1170
  /* @__PURE__ */ jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
@@ -1334,7 +1334,7 @@ function AkeneoConfigWidget({ context, data }) {
1334
1334
  /* @__PURE__ */ jsx("td", { className: "px-3 py-2", children: row.skip ? renderSkippedCustomFieldBadge() : renderCustomFieldStatusBadge(exists) })
1335
1335
  ] }, `${row.attributeCode}:${row.fieldKey}:${index}`);
1336
1336
  }) })
1337
- ] }) }) : /* @__PURE__ */ jsx(Alert, { variant: "info", children: /* @__PURE__ */ jsx(AlertDescription, { children: t("sync_akeneo.customFields.empty", "No Akeneo custom fields are shown yet. They are discovered and mapped automatically after credentials are saved or when you use Refresh discovery. Use the editor only if you want to review or override the automatic mapping.") }) }),
1337
+ ] }) }) : /* @__PURE__ */ jsx(Alert, { status: "information", children: /* @__PURE__ */ jsx(AlertDescription, { children: t("sync_akeneo.customFields.empty", "No Akeneo custom fields are shown yet. They are discovered and mapped automatically after credentials are saved or when you use Refresh discovery. Use the editor only if you want to review or override the automatic mapping.") }) }),
1338
1338
  customFieldRows.length > 0 ? /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2 text-xs", children: [
1339
1339
  /* @__PURE__ */ jsx("span", { className: "rounded border px-2 py-1", children: t("sync_akeneo.mapping.customFields.total", `${customFieldRows.length} mapped`) }),
1340
1340
  skippedCustomFieldCount > 0 ? /* @__PURE__ */ jsx("span", { className: "rounded border px-2 py-1", children: t("sync_akeneo.mapping.customFields.skipped", `${skippedCustomFieldCount} skipped`) }) : null,