@rpcbase/ui 0.133.0 → 0.134.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.
- package/dist/components/Notifications/NotificationsDrawer.d.ts +4 -1
- package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/components/Notifications/index.d.ts +0 -1
- package/dist/components/Notifications/index.d.ts.map +1 -1
- package/dist/components/Notifications/types.d.ts +7 -0
- package/dist/components/Notifications/types.d.ts.map +1 -1
- package/dist/index.js +3616 -3708
- package/package.json +2 -5
- package/dist/components/Notifications/NotificationsRealtimeProvider.d.ts +0 -17
- package/dist/components/Notifications/NotificationsRealtimeProvider.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rpcbase/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.134.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
"wireit": {
|
|
30
30
|
"build": {
|
|
31
31
|
"command": "vite build && tsc --project tsconfig.build.json",
|
|
32
|
-
"dependencies": [
|
|
33
|
-
"../client:build"
|
|
34
|
-
],
|
|
32
|
+
"dependencies": [],
|
|
35
33
|
"files": [
|
|
36
34
|
"package.json",
|
|
37
35
|
"lib/**/*",
|
|
@@ -86,7 +84,6 @@
|
|
|
86
84
|
}
|
|
87
85
|
},
|
|
88
86
|
"dependencies": {
|
|
89
|
-
"@rpcbase/client": "0.0.0",
|
|
90
87
|
"@dnd-kit/core": "6.3.1",
|
|
91
88
|
"@dnd-kit/sortable": "10.0.0",
|
|
92
89
|
"@dnd-kit/utilities": "3.2.2",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
2
|
-
import type { NotificationItem } from "./types";
|
|
3
|
-
export type NotificationsRealtimeState = {
|
|
4
|
-
notifications: NotificationItem[];
|
|
5
|
-
unreadCount: number;
|
|
6
|
-
unseenCount: number;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
error: unknown;
|
|
9
|
-
};
|
|
10
|
-
export declare function NotificationsRealtimeProvider({ userId, limit, toastOnNew, children, }: {
|
|
11
|
-
userId?: string;
|
|
12
|
-
limit?: number;
|
|
13
|
-
toastOnNew?: boolean;
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare const useNotificationsRealtime: () => NotificationsRealtimeState | null;
|
|
17
|
-
//# sourceMappingURL=NotificationsRealtimeProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsRealtimeProvider.d.ts","sourceRoot":"","sources":["../../../lib/components/Notifications/NotificationsRealtimeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAI7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AA0B/C,MAAM,MAAM,0BAA0B,GAAG;IACvC,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,OAAO,CAAA;CACf,CAAA;AA0CD,wBAAgB,6BAA6B,CAAC,EAC5C,MAAM,EACN,KAAW,EACX,UAAiB,EACjB,QAAQ,GACT,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB,2CA2GA;AAED,eAAO,MAAM,wBAAwB,QAAO,0BAA0B,GAAG,IAExE,CAAA"}
|