@open-mercato/core 0.6.6-develop.6088.1.e6193c2018 → 0.6.6-develop.6089.1.a7ed560528

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.
@@ -29,7 +29,7 @@ import { Button } from "@open-mercato/ui/primitives/button";
29
29
  import { IconButton } from "@open-mercato/ui/primitives/icon-button";
30
30
  import { SearchInput } from "@open-mercato/ui/primitives/search-input";
31
31
  import { Spinner } from "@open-mercato/ui/primitives/spinner";
32
- import { ErrorNotice } from "@open-mercato/ui/primitives/ErrorNotice";
32
+ import { Alert, AlertDescription, AlertTitle } from "@open-mercato/ui/primitives/alert";
33
33
  import { EmptyState } from "@open-mercato/ui/primitives/empty-state";
34
34
  import {
35
35
  Select,
@@ -2230,16 +2230,14 @@ function DealsKanbanPage() {
2230
2230
  ),
2231
2231
  className: "h-[50vh] w-full"
2232
2232
  }
2233
- ) : isInitialLoading ? /* @__PURE__ */ jsx("div", { className: "flex h-[50vh] items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) }) : firstError ? /* @__PURE__ */ jsx("div", { className: "max-w-xl", children: /* @__PURE__ */ jsx(
2234
- ErrorNotice,
2235
- {
2236
- message: firstError instanceof Error ? firstError.message : translateWithFallback(
2237
- t,
2238
- "customers.deals.pipeline.loadError",
2239
- "Failed to load deals."
2240
- )
2241
- }
2242
- ) }) : /* @__PURE__ */ jsxs(
2233
+ ) : isInitialLoading ? /* @__PURE__ */ jsx("div", { className: "flex h-[50vh] items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) }) : firstError ? /* @__PURE__ */ jsx("div", { className: "max-w-xl", children: /* @__PURE__ */ jsxs(Alert, { variant: "destructive", children: [
2234
+ /* @__PURE__ */ jsx(AlertTitle, { children: translateWithFallback(t, "ui.errors.defaultTitle", "Something went wrong") }),
2235
+ /* @__PURE__ */ jsx(AlertDescription, { children: firstError instanceof Error ? firstError.message : translateWithFallback(
2236
+ t,
2237
+ "customers.deals.pipeline.loadError",
2238
+ "Failed to load deals."
2239
+ ) })
2240
+ ] }) }) : /* @__PURE__ */ jsxs(
2243
2241
  DndContext,
2244
2242
  {
2245
2243
  sensors,