analytica-frontend-lib 1.1.27 → 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/NotificationCard/index.js +1 -20
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs +1 -20
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/index.css +0 -7
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -22
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -7
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
- package/dist/no-notification-result-7Y3ACV6V.png +0 -0
package/dist/index.js
CHANGED
|
@@ -10115,11 +10115,6 @@ var loadingModal_default = LoadingModal;
|
|
|
10115
10115
|
|
|
10116
10116
|
// src/components/NotificationCard/NotificationCard.tsx
|
|
10117
10117
|
var import_phosphor_react21 = require("phosphor-react");
|
|
10118
|
-
|
|
10119
|
-
// src/assets/img/no-notification-result.png
|
|
10120
|
-
var no_notification_result_default = "./no-notification-result-7Y3ACV6V.png";
|
|
10121
|
-
|
|
10122
|
-
// src/components/NotificationCard/NotificationCard.tsx
|
|
10123
10118
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
10124
10119
|
var SingleNotificationCard = ({
|
|
10125
10120
|
title,
|
|
@@ -10201,22 +10196,6 @@ var SingleNotificationCard = ({
|
|
|
10201
10196
|
}
|
|
10202
10197
|
);
|
|
10203
10198
|
};
|
|
10204
|
-
var NotificationEmpty = () => {
|
|
10205
|
-
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: [
|
|
10206
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "w-20 h-20 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
10207
|
-
"img",
|
|
10208
|
-
{
|
|
10209
|
-
src: no_notification_result_default,
|
|
10210
|
-
alt: "Sem notifica\xE7\xF5es",
|
|
10211
|
-
width: 82,
|
|
10212
|
-
height: 82,
|
|
10213
|
-
className: "object-contain"
|
|
10214
|
-
}
|
|
10215
|
-
) }),
|
|
10216
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h3", { className: "text-xl font-semibold text-text-950 text-center leading-[23px]", children: "Nenhuma notifica\xE7\xE3o no momento" }),
|
|
10217
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("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!" })
|
|
10218
|
-
] });
|
|
10219
|
-
};
|
|
10220
10199
|
var NotificationList = ({
|
|
10221
10200
|
groupedNotifications = [],
|
|
10222
10201
|
loading = false,
|
|
@@ -10255,7 +10234,7 @@ var NotificationList = ({
|
|
|
10255
10234
|
) });
|
|
10256
10235
|
}
|
|
10257
10236
|
if (!groupedNotifications || groupedNotifications.length === 0) {
|
|
10258
|
-
return renderEmpty ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
10237
|
+
return renderEmpty ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-sm text-text-400", children: "Nenhuma notifica\xE7\xE3o encontrada" }) });
|
|
10259
10238
|
}
|
|
10260
10239
|
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: cn("flex flex-col gap-0 w-full", className), children: groupedNotifications.map((group, idx) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex flex-col", children: [
|
|
10261
10240
|
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex items-end px-4 py-6 pb-4", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h4", { className: "text-lg font-bold text-text-500 flex-grow", children: group.label }) }),
|