@ttt-productions/notification-core 0.4.10 → 0.6.0

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.
@@ -2,5 +2,5 @@ import type { NotificationEmptyStateProps } from '../../types.js';
2
2
  /**
3
3
  * Empty state shown when there are no active notifications.
4
4
  */
5
- export declare function NotificationEmptyState({ text, }: NotificationEmptyStateProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function NotificationEmptyState({ text, }: NotificationEmptyStateProps): import("react").JSX.Element;
6
6
  //# sourceMappingURL=NotificationEmptyState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationEmptyState.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationEmptyState.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAElE;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,IAA8B,GAC/B,EAAE,2BAA2B,2CAqB7B"}
1
+ {"version":3,"file":"NotificationEmptyState.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationEmptyState.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAElE;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,IAA8B,GAC/B,EAAE,2BAA2B,+BAqB7B"}
@@ -3,5 +3,5 @@ import type { NotificationHistoryListProps } from '../../types.js';
3
3
  * Paginated list of archived notifications. Read-only (no clear all).
4
4
  * Supports optional re-navigation on click.
5
5
  */
6
- export declare function NotificationHistoryList({ config, userId, category, onNotificationClick, }: NotificationHistoryListProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function NotificationHistoryList({ config, userId, category, onNotificationClick, }: NotificationHistoryListProps): import("react").JSX.Element;
7
7
  //# sourceMappingURL=NotificationHistoryList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationHistoryList.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationHistoryList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAA0B,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAE3F;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,mBAAmB,GACpB,EAAE,4BAA4B,2CAwF9B"}
1
+ {"version":3,"file":"NotificationHistoryList.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationHistoryList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAA0B,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAE3F;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,mBAAmB,GACpB,EAAE,4BAA4B,+BAwF9B"}
@@ -2,5 +2,5 @@ import type { NotificationListProps } from '../../types.js';
2
2
  /**
3
3
  * Scrollable list of active notifications with click-to-archive and clear-all.
4
4
  */
5
- export declare function NotificationList({ config, userId, category, onNotificationClick, archiveFn, archiveAllFn, onClearAll, refetchInterval, emptyText, }: NotificationListProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function NotificationList({ config, userId, category, onNotificationClick, archiveFn, archiveAllFn, onClearAll, refetchInterval, emptyText, }: NotificationListProps): import("react").JSX.Element;
6
6
  //# sourceMappingURL=NotificationList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationList.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAmB,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE7E;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,EACf,SAAS,GACV,EAAE,qBAAqB,2CAwHvB"}
1
+ {"version":3,"file":"NotificationList.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationList.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAmB,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE7E;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,EACf,SAAS,GACV,EAAE,qBAAqB,+BAwHvB"}
@@ -4,5 +4,5 @@ import type { NotificationUnreadBadgeProps } from '../../types.js';
4
4
  * Renders nothing when count is 0.
5
5
  * Apps wrap this around whatever trigger element they want.
6
6
  */
7
- export declare function NotificationUnreadBadge({ config, userId, category, refetchInterval, }: NotificationUnreadBadgeProps): import("react/jsx-runtime").JSX.Element | null;
7
+ export declare function NotificationUnreadBadge({ config, userId, category, refetchInterval, }: NotificationUnreadBadgeProps): import("react").JSX.Element | null;
8
8
  //# sourceMappingURL=NotificationUnreadBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationUnreadBadge.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationUnreadBadge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,eAAe,GAChB,EAAE,4BAA4B,kDAe9B"}
1
+ {"version":3,"file":"NotificationUnreadBadge.d.ts","sourceRoot":"","sources":["../../../src/react/components/NotificationUnreadBadge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,QAAQ,EACR,eAAe,GAChB,EAAE,4BAA4B,sCAe9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/notification-core",
3
- "version": "0.4.10",
3
+ "version": "0.6.0",
4
4
  "description": "Shared notification system for TTT Productions apps — active/history two-tier architecture with dedup, batch processing, and themed UI components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@tanstack/react-query": ">=5.0.0",
42
- "@ttt-productions/query-core": "^0.8.8",
43
- "@ttt-productions/ui-core": "^0.6.4",
44
- "firebase": ">=10.0.0",
45
- "react": ">=18.0.0",
46
- "react-dom": ">=18.0.0"
42
+ "@ttt-productions/query-core": "^0.11.0",
43
+ "@ttt-productions/ui-core": "^0.9.0",
44
+ "firebase": ">=12.0.0",
45
+ "react": ">=19.0.0",
46
+ "react-dom": ">=19.0.0"
47
47
  },
48
48
  "peerDependenciesMeta": {
49
49
  "@tanstack/react-query": {
@@ -67,8 +67,8 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@tanstack/react-query": "^5.0.0",
70
- "@ttt-productions/query-core": "^0.8.8",
71
- "@ttt-productions/ui-core": "^0.6.4",
70
+ "@ttt-productions/query-core": "^0.11.0",
71
+ "@ttt-productions/ui-core": "^0.9.0",
72
72
  "@types/react": "^19.0.0",
73
73
  "@types/react-dom": "^19.0.0",
74
74
  "firebase": "^11.0.0",