analytica-frontend-lib 1.1.26 → 1.1.28

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/index.mjs CHANGED
@@ -6355,7 +6355,7 @@ var useMenuStore = (externalStore) => {
6355
6355
  var VARIANT_CLASSES5 = {
6356
6356
  menu: "bg-background shadow-soft-shadow-1 px-6",
6357
6357
  menu2: "",
6358
- breadcrumb: "bg-transparent shadow-none !px-0 !-ml-2"
6358
+ breadcrumb: "bg-transparent shadow-none !px-0"
6359
6359
  };
6360
6360
  var Menu = forwardRef17(
6361
6361
  ({
@@ -10094,11 +10094,6 @@ var loadingModal_default = LoadingModal;
10094
10094
 
10095
10095
  // src/components/NotificationCard/NotificationCard.tsx
10096
10096
  import { DotsThreeVertical as DotsThreeVertical3 } from "phosphor-react";
10097
-
10098
- // src/assets/img/no-notification-result.png
10099
- var no_notification_result_default = "./no-notification-result-7Y3ACV6V.png";
10100
-
10101
- // src/components/NotificationCard/NotificationCard.tsx
10102
10097
  import { jsx as jsx41, jsxs as jsxs34 } from "react/jsx-runtime";
10103
10098
  var SingleNotificationCard = ({
10104
10099
  title,
@@ -10180,22 +10175,6 @@ var SingleNotificationCard = ({
10180
10175
  }
10181
10176
  );
10182
10177
  };
10183
- var NotificationEmpty = () => {
10184
- return /* @__PURE__ */ jsxs34("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: [
10185
- /* @__PURE__ */ jsx41("div", { className: "w-20 h-20 flex items-center justify-center", children: /* @__PURE__ */ jsx41(
10186
- "img",
10187
- {
10188
- src: no_notification_result_default,
10189
- alt: "Sem notifica\xE7\xF5es",
10190
- width: 82,
10191
- height: 82,
10192
- className: "object-contain"
10193
- }
10194
- ) }),
10195
- /* @__PURE__ */ jsx41("h3", { className: "text-xl font-semibold text-text-950 text-center leading-[23px]", children: "Nenhuma notifica\xE7\xE3o no momento" }),
10196
- /* @__PURE__ */ jsx41("p", { className: "text-sm font-normal text-text-400 text-center max-w-[316px] leading-[21px]", children: "Voc\xEA est\xE1 em dia com todas as novidades. Volte depois para conferir atualiza\xE7\xF5es!" })
10197
- ] });
10198
- };
10199
10178
  var NotificationList = ({
10200
10179
  groupedNotifications = [],
10201
10180
  loading = false,
@@ -10234,7 +10213,7 @@ var NotificationList = ({
10234
10213
  ) });
10235
10214
  }
10236
10215
  if (!groupedNotifications || groupedNotifications.length === 0) {
10237
- return renderEmpty ? /* @__PURE__ */ jsx41("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ jsx41(NotificationEmpty, {});
10216
+ return renderEmpty ? /* @__PURE__ */ jsx41("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ jsx41("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: /* @__PURE__ */ jsx41("p", { className: "text-sm text-text-400", children: "Nenhuma notifica\xE7\xE3o encontrada" }) });
10238
10217
  }
10239
10218
  return /* @__PURE__ */ jsx41("div", { className: cn("flex flex-col gap-0 w-full", className), children: groupedNotifications.map((group, idx) => /* @__PURE__ */ jsxs34("div", { className: "flex flex-col", children: [
10240
10219
  /* @__PURE__ */ jsx41("div", { className: "flex items-end px-4 py-6 pb-4", children: /* @__PURE__ */ jsx41("h4", { className: "text-lg font-bold text-text-500 flex-grow", children: group.label }) }),