@appcorp/fusion-storybook 0.3.46 → 0.3.48

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.
@@ -18,7 +18,7 @@ export const PushCampaignView = () => {
18
18
  FAILED: "destructive",
19
19
  PAUSED: "secondary",
20
20
  };
21
- return (_jsxs("div", { className: "space-y-6", children: [_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [_jsx(Bell, { className: "h-5 w-5" }), name || t("viewUntitled")] }), _jsxs(CardDescription, { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: statusBadgeVariant[status] || "secondary", children: t(`status${status}`) }), !enabled && (_jsx(Badge, { variant: "destructive", children: t("viewDisabled") }))] })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { children: [_jsx("h4", { className: "font-semibold", children: t("viewTitle") }), _jsx("p", { children: title })] }), _jsxs("div", { children: [_jsx("h4", { className: "font-semibold", children: t("viewBody") }), _jsx("p", { children: body })] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Calendar, { className: "h-4 w-4 text-muted-foreground" }), _jsx("span", { children: scheduledAt
21
+ return (_jsxs("div", { className: "space-y-6", children: [_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [_jsx(Bell, { className: "h-5 w-5" }), name || t("viewUntitled")] }), _jsxs(CardDescription, { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: statusBadgeVariant[status] || "secondary", children: t(`status${status}`) }), !enabled && (_jsx(Badge, { variant: "destructive", children: t("viewDisabled") }))] })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { children: [_jsx("h4", { className: "font-semibold", children: t("viewFieldTitle") }), _jsx("p", { children: title })] }), _jsxs("div", { children: [_jsx("h4", { className: "font-semibold", children: t("viewFieldBody") }), _jsx("p", { children: body })] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Calendar, { className: "h-4 w-4 text-muted-foreground" }), _jsx("span", { children: scheduledAt
22
22
  ? formatDate(scheduledAt, DATE_FORMATS.DAY_DD_MM_YYYY)
23
23
  : t("viewNotScheduled") })] }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Users, { className: "h-4 w-4 text-muted-foreground" }), _jsx("span", { children: allStudents
24
24
  ? t("viewAllStudents")
package/constants.d.ts CHANGED
@@ -212,7 +212,7 @@ export declare const CSVS: {
212
212
  Subject: string;
213
213
  Teacher: string;
214
214
  User: string;
215
- UserPushToken: string;
215
+ FamilyPushToken: string;
216
216
  Workspace: string;
217
217
  WorkspaceUser: string;
218
218
  WorkspaceUserPermission: string;
package/constants.js CHANGED
@@ -233,7 +233,7 @@ export const CSVS = {
233
233
  Subject: "https://storage.edupilotpro.com/fusion-public/data-tables/Subject.csv",
234
234
  Teacher: "https://storage.edupilotpro.com/fusion-public/data-tables/Teacher.csv",
235
235
  User: "https://storage.edupilotpro.com/fusion-public/data-tables/User.csv",
236
- UserPushToken: "https://storage.edupilotpro.com/fusion-public/data-tables/UserPushToken.csv",
236
+ FamilyPushToken: "https://storage.edupilotpro.com/fusion-public/data-tables/FamilyPushToken.csv",
237
237
  Workspace: "https://storage.edupilotpro.com/fusion-public/data-tables/Workspace.csv",
238
238
  WorkspaceUser: "https://storage.edupilotpro.com/fusion-public/data-tables/WorkspaceUser.csv",
239
239
  WorkspaceUserPermission: "https://storage.edupilotpro.com/fusion-public/data-tables/WorkspaceUserPermission.csv",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.3.46",
3
+ "version": "0.3.48",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",