@piedata/pieui 1.0.1

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.
Files changed (153) hide show
  1. package/dist/cli.d.ts +3 -0
  2. package/dist/cli.d.ts.map +1 -0
  3. package/dist/cli.js +361697 -0
  4. package/dist/components/Buttons/AjaxButtonCard/index.d.ts +2 -0
  5. package/dist/components/Buttons/AjaxButtonCard/index.d.ts.map +1 -0
  6. package/dist/components/Buttons/AjaxButtonCard/types/index.d.ts +15 -0
  7. package/dist/components/Buttons/AjaxButtonCard/types/index.d.ts.map +1 -0
  8. package/dist/components/Buttons/AjaxButtonCard/ui/AjaxButtonCard.d.ts +4 -0
  9. package/dist/components/Buttons/AjaxButtonCard/ui/AjaxButtonCard.d.ts.map +1 -0
  10. package/dist/components/Chats/ChatCard/index.d.ts +2 -0
  11. package/dist/components/Chats/ChatCard/index.d.ts.map +1 -0
  12. package/dist/components/Chats/ChatCard/types/index.d.ts +43 -0
  13. package/dist/components/Chats/ChatCard/types/index.d.ts.map +1 -0
  14. package/dist/components/Chats/ChatCard/ui/ChatCard.d.ts +4 -0
  15. package/dist/components/Chats/ChatCard/ui/ChatCard.d.ts.map +1 -0
  16. package/dist/components/Chats/ChatCard/ui/components/AttachFileButton.d.ts +11 -0
  17. package/dist/components/Chats/ChatCard/ui/components/AttachFileButton.d.ts.map +1 -0
  18. package/dist/components/Chats/ChatCard/ui/components/AttachedFileView.d.ts +7 -0
  19. package/dist/components/Chats/ChatCard/ui/components/AttachedFileView.d.ts.map +1 -0
  20. package/dist/components/Chats/ChatCard/ui/components/ChatCardInput.d.ts +22 -0
  21. package/dist/components/Chats/ChatCard/ui/components/ChatCardInput.d.ts.map +1 -0
  22. package/dist/components/Chats/ChatCard/ui/components/ChatOption.d.ts +7 -0
  23. package/dist/components/Chats/ChatCard/ui/components/ChatOption.d.ts.map +1 -0
  24. package/dist/components/Chats/ChatCard/ui/components/Markdown.d.ts +6 -0
  25. package/dist/components/Chats/ChatCard/ui/components/Markdown.d.ts.map +1 -0
  26. package/dist/components/Chats/ChatCard/ui/components/MessageAvatar.d.ts +6 -0
  27. package/dist/components/Chats/ChatCard/ui/components/MessageAvatar.d.ts.map +1 -0
  28. package/dist/components/Chats/ChatCard/ui/components/MessageCard.d.ts +9 -0
  29. package/dist/components/Chats/ChatCard/ui/components/MessageCard.d.ts.map +1 -0
  30. package/dist/components/Chats/ChatCard/ui/components/MessageContent.d.ts +7 -0
  31. package/dist/components/Chats/ChatCard/ui/components/MessageContent.d.ts.map +1 -0
  32. package/dist/components/Chats/ChatCard/ui/components/MessagesBoard.d.ts +17 -0
  33. package/dist/components/Chats/ChatCard/ui/components/MessagesBoard.d.ts.map +1 -0
  34. package/dist/components/Chats/ChatCard/ui/components/Options.d.ts +7 -0
  35. package/dist/components/Chats/ChatCard/ui/components/Options.d.ts.map +1 -0
  36. package/dist/components/Chats/ChatCard/ui/components/ResizableTextarea.d.ts +3 -0
  37. package/dist/components/Chats/ChatCard/ui/components/ResizableTextarea.d.ts.map +1 -0
  38. package/dist/components/Chats/ChatCard/ui/components/SendButton.d.ts +4 -0
  39. package/dist/components/Chats/ChatCard/ui/components/SendButton.d.ts.map +1 -0
  40. package/dist/components/Chats/ChatCard/ui/components/VoiceListeningButton.d.ts +8 -0
  41. package/dist/components/Chats/ChatCard/ui/components/VoiceListeningButton.d.ts.map +1 -0
  42. package/dist/components/Chats/ChatCard/ui/components/icons/AttachFileIcon.d.ts +3 -0
  43. package/dist/components/Chats/ChatCard/ui/components/icons/AttachFileIcon.d.ts.map +1 -0
  44. package/dist/components/Chats/ChatCard/ui/components/icons/AttachedFileIcon.d.ts +3 -0
  45. package/dist/components/Chats/ChatCard/ui/components/icons/AttachedFileIcon.d.ts.map +1 -0
  46. package/dist/components/Chats/ChatCard/ui/components/icons/CancelFileIcon.d.ts +3 -0
  47. package/dist/components/Chats/ChatCard/ui/components/icons/CancelFileIcon.d.ts.map +1 -0
  48. package/dist/components/Chats/ChatCard/ui/components/icons/DefaultAvatar.d.ts +3 -0
  49. package/dist/components/Chats/ChatCard/ui/components/icons/DefaultAvatar.d.ts.map +1 -0
  50. package/dist/components/Chats/ChatCard/ui/components/icons/SendIcon.d.ts +3 -0
  51. package/dist/components/Chats/ChatCard/ui/components/icons/SendIcon.d.ts.map +1 -0
  52. package/dist/components/Chats/ChatCard/ui/components/icons/VoiceRecordIcon.d.ts +3 -0
  53. package/dist/components/Chats/ChatCard/ui/components/icons/VoiceRecordIcon.d.ts.map +1 -0
  54. package/dist/components/Containers/AjaxGroupCard/index.d.ts +2 -0
  55. package/dist/components/Containers/AjaxGroupCard/index.d.ts.map +1 -0
  56. package/dist/components/Containers/AjaxGroupCard/types/index.d.ts +14 -0
  57. package/dist/components/Containers/AjaxGroupCard/types/index.d.ts.map +1 -0
  58. package/dist/components/Containers/AjaxGroupCard/ui/AjaxGroupCard.d.ts +5 -0
  59. package/dist/components/Containers/AjaxGroupCard/ui/AjaxGroupCard.d.ts.map +1 -0
  60. package/dist/components/Containers/SequenceCard/index.d.ts +2 -0
  61. package/dist/components/Containers/SequenceCard/index.d.ts.map +1 -0
  62. package/dist/components/Containers/SequenceCard/types/index.d.ts +9 -0
  63. package/dist/components/Containers/SequenceCard/types/index.d.ts.map +1 -0
  64. package/dist/components/Containers/SequenceCard/ui/SequenceCard.d.ts +4 -0
  65. package/dist/components/Containers/SequenceCard/ui/SequenceCard.d.ts.map +1 -0
  66. package/dist/components/Containers/UnionCard/index.d.ts +2 -0
  67. package/dist/components/Containers/UnionCard/index.d.ts.map +1 -0
  68. package/dist/components/Containers/UnionCard/types/index.d.ts +7 -0
  69. package/dist/components/Containers/UnionCard/types/index.d.ts.map +1 -0
  70. package/dist/components/Containers/UnionCard/ui/UnionCard.d.ts +4 -0
  71. package/dist/components/Containers/UnionCard/ui/UnionCard.d.ts.map +1 -0
  72. package/dist/components/PieBaseRoot/index.d.ts +5 -0
  73. package/dist/components/PieBaseRoot/index.d.ts.map +1 -0
  74. package/dist/components/PieBaseRoot/types/index.d.ts +6 -0
  75. package/dist/components/PieBaseRoot/types/index.d.ts.map +1 -0
  76. package/dist/components/PieCard/index.d.ts +4 -0
  77. package/dist/components/PieCard/index.d.ts.map +1 -0
  78. package/dist/components/PieCard/types/index.d.ts +16 -0
  79. package/dist/components/PieCard/types/index.d.ts.map +1 -0
  80. package/dist/components/PieRoot/index.d.ts +5 -0
  81. package/dist/components/PieRoot/index.d.ts.map +1 -0
  82. package/dist/components/PieRoot/types/index.d.ts +10 -0
  83. package/dist/components/PieRoot/types/index.d.ts.map +1 -0
  84. package/dist/components/PieStaticRoot/index.d.ts +5 -0
  85. package/dist/components/PieStaticRoot/index.d.ts.map +1 -0
  86. package/dist/components/PieStaticRoot/types/index.d.ts +7 -0
  87. package/dist/components/PieStaticRoot/types/index.d.ts.map +1 -0
  88. package/dist/components/PieTelegramRoot/index.d.ts +5 -0
  89. package/dist/components/PieTelegramRoot/index.d.ts.map +1 -0
  90. package/dist/components/UI/index.d.ts +8 -0
  91. package/dist/components/UI/index.d.ts.map +1 -0
  92. package/dist/components/index.d.ts +7 -0
  93. package/dist/components/index.d.ts.map +1 -0
  94. package/dist/components/index.esm.js +35 -0
  95. package/dist/components/index.js +48 -0
  96. package/dist/config/constant.d.ts +10 -0
  97. package/dist/config/constant.d.ts.map +1 -0
  98. package/dist/index.d.ts +10 -0
  99. package/dist/index.d.ts.map +1 -0
  100. package/dist/index.esm.js +40 -0
  101. package/dist/index.js +65 -0
  102. package/dist/pieui.components.json +364 -0
  103. package/dist/providers/CentrifugeIOInitProvider.d.ts +6 -0
  104. package/dist/providers/CentrifugeIOInitProvider.d.ts.map +1 -0
  105. package/dist/providers/SocketIOInitProvider.d.ts +6 -0
  106. package/dist/providers/SocketIOInitProvider.d.ts.map +1 -0
  107. package/dist/types/index.d.ts +103 -0
  108. package/dist/types/index.d.ts.map +1 -0
  109. package/dist/util/ajaxCommonUtils.d.ts +4 -0
  110. package/dist/util/ajaxCommonUtils.d.ts.map +1 -0
  111. package/dist/util/axiosWithCache.d.ts +3 -0
  112. package/dist/util/axiosWithCache.d.ts.map +1 -0
  113. package/dist/util/centrifuge.d.ts +5 -0
  114. package/dist/util/centrifuge.d.ts.map +1 -0
  115. package/dist/util/fallback.d.ts +4 -0
  116. package/dist/util/fallback.d.ts.map +1 -0
  117. package/dist/util/globalForm.d.ts +3 -0
  118. package/dist/util/globalForm.d.ts.map +1 -0
  119. package/dist/util/initializeComponents.d.ts +18 -0
  120. package/dist/util/initializeComponents.d.ts.map +1 -0
  121. package/dist/util/lazy.d.ts +6 -0
  122. package/dist/util/lazy.d.ts.map +1 -0
  123. package/dist/util/mitt.d.ts +7 -0
  124. package/dist/util/mitt.d.ts.map +1 -0
  125. package/dist/util/queryClient.d.ts +3 -0
  126. package/dist/util/queryClient.d.ts.map +1 -0
  127. package/dist/util/registry.d.ts +11 -0
  128. package/dist/util/registry.d.ts.map +1 -0
  129. package/dist/util/socket.d.ts +5 -0
  130. package/dist/util/socket.d.ts.map +1 -0
  131. package/dist/util/sx2radium.d.ts +3 -0
  132. package/dist/util/sx2radium.d.ts.map +1 -0
  133. package/dist/util/tailwindCommonUtils.d.ts +3 -0
  134. package/dist/util/tailwindCommonUtils.d.ts.map +1 -0
  135. package/dist/util/useBodyStyles.d.ts +5 -0
  136. package/dist/util/useBodyStyles.d.ts.map +1 -0
  137. package/dist/util/useImage.d.ts +5 -0
  138. package/dist/util/useImage.d.ts.map +1 -0
  139. package/dist/util/useIsSupported.d.ts +2 -0
  140. package/dist/util/useIsSupported.d.ts.map +1 -0
  141. package/dist/util/useOpenAIWebRTC.d.ts +14 -0
  142. package/dist/util/useOpenAIWebRTC.d.ts.map +1 -0
  143. package/dist/util/useScreenSize.d.ts +6 -0
  144. package/dist/util/useScreenSize.d.ts.map +1 -0
  145. package/dist/util/useTitle.d.ts +2 -0
  146. package/dist/util/useTitle.d.ts.map +1 -0
  147. package/dist/util/useWebApp.d.ts +4 -0
  148. package/dist/util/useWebApp.d.ts.map +1 -0
  149. package/dist/util/waitForSidAvailable.d.ts +3 -0
  150. package/dist/util/waitForSidAvailable.d.ts.map +1 -0
  151. package/dist/util/webrtcClient.d.ts +32 -0
  152. package/dist/util/webrtcClient.d.ts.map +1 -0
  153. package/package.json +95 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useImage.d.ts","sourceRoot":"","sources":["../../src/util/useImage.tsx"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM;WAEpE,gBAAgB,GAAG,SAAS;YAC3B,SAAS,GAAG,QAAQ,GAAG,QAAQ;EAyD9C"}
@@ -0,0 +1,2 @@
1
+ export declare function useIsSupported(name: string): boolean | null;
2
+ //# sourceMappingURL=useIsSupported.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIsSupported.d.ts","sourceRoot":"","sources":["../../src/util/useIsSupported.ts"],"names":[],"mappings":"AAGA,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAc3D"}
@@ -0,0 +1,14 @@
1
+ export type OpenAIEvent = {
2
+ type: string;
3
+ event_id?: string;
4
+ timestamp?: string;
5
+ [key: string]: any;
6
+ };
7
+ export type UseOpenAIWebRTCReturn = {
8
+ isSessionActive: boolean;
9
+ startSession: (ephemeralKey: string, useMicrophone?: boolean) => Promise<void>;
10
+ stopSession: () => void;
11
+ sendTextMessage: (text: string) => void;
12
+ };
13
+ export default function useOpenAIWebRTC(audioElement?: HTMLAudioElement | null, onEvent?: (event: OpenAIEvent) => void): UseOpenAIWebRTCReturn;
14
+ //# sourceMappingURL=useOpenAIWebRTC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useOpenAIWebRTC.d.ts","sourceRoot":"","sources":["../../src/util/useOpenAIWebRTC.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,eAAe,EAAE,OAAO,CAAA;IACxB,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9E,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC1C,CAAA;AAcD,MAAM,CAAC,OAAO,UAAU,eAAe,CACnC,YAAY,GAAE,gBAAgB,GAAG,IAAW,EAC5C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,GACvC,qBAAqB,CAgJvB"}
@@ -0,0 +1,6 @@
1
+ declare const useScreenSize: () => {
2
+ width: number;
3
+ height: number;
4
+ };
5
+ export default useScreenSize;
6
+ //# sourceMappingURL=useScreenSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScreenSize.d.ts","sourceRoot":"","sources":["../../src/util/useScreenSize.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;;CAuBlB,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function useTitle(title: string): void;
2
+ //# sourceMappingURL=useTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTitle.d.ts","sourceRoot":"","sources":["../../src/util/useTitle.tsx"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,QAUrC"}
@@ -0,0 +1,4 @@
1
+ import { InitData, InitDataUnsafe } from "../types";
2
+ export declare const useWebApp: () => WebApp;
3
+ export declare const useInitData: () => readonly [InitDataUnsafe | undefined, InitData | undefined];
4
+ //# sourceMappingURL=useWebApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWebApp.d.ts","sourceRoot":"","sources":["../../src/util/useWebApp.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,QAAQ,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AAGlD,eAAO,MAAM,SAAS,QAgBe,MACpC,CAAA;AAED,eAAO,MAAM,WAAW,QAAO,SAAS,CAAC,cAAc,GAAG,SAAS,EAAE,QAAQ,GAAG,SAAS,CAIxF,CAAA"}
@@ -0,0 +1,3 @@
1
+ import '../types';
2
+ export default function waitForSidAvailable(interval?: number): Promise<unknown>;
3
+ //# sourceMappingURL=waitForSidAvailable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"waitForSidAvailable.d.ts","sourceRoot":"","sources":["../../src/util/waitForSidAvailable.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AAEjB,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,QAAQ,SAAO,oBAW1D"}
@@ -0,0 +1,32 @@
1
+ interface WebRTCClientOptions {
2
+ endpoint: string;
3
+ onConnected?: () => void;
4
+ onDisconnected?: () => void;
5
+ onMessage?: (message: any) => void;
6
+ onAudioStream?: (stream: MediaStream) => void;
7
+ onAudioLevel?: (level: number) => void;
8
+ audioInputDeviceId?: string;
9
+ audioOutputDeviceId?: string;
10
+ }
11
+ export declare class WebRTCClient {
12
+ private peerConnection;
13
+ private mediaStream;
14
+ private dataChannel;
15
+ private options;
16
+ private audioContext;
17
+ private analyser;
18
+ private dataArray;
19
+ private animationFrameId;
20
+ private currentInputDeviceId;
21
+ private currentOutputDeviceId;
22
+ constructor(options: WebRTCClientOptions);
23
+ setAudioInputDevice(deviceId: string): void;
24
+ setAudioOutputDevice(deviceId: string): void;
25
+ connect(): Promise<void>;
26
+ private setupAudioAnalysis;
27
+ private startAnalysis;
28
+ private stopAnalysis;
29
+ disconnect(): void;
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=webrtcClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webrtcClient.d.ts","sourceRoot":"","sources":["../../src/util/webrtcClient.ts"],"names":[],"mappings":"AAAA,UAAU,mBAAmB;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAA;IAClC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAA;IAC7C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED,qBAAa,YAAY;IACrB,OAAO,CAAC,cAAc,CAAiC;IACvD,OAAO,CAAC,WAAW,CAA2B;IAC9C,OAAO,CAAC,WAAW,CAA8B;IACjD,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,YAAY,CAA4B;IAChD,OAAO,CAAC,QAAQ,CAA4B;IAC5C,OAAO,CAAC,SAAS,CAAuC;IACxD,OAAO,CAAC,gBAAgB,CAAsB;IAC9C,OAAO,CAAC,oBAAoB,CAAgC;IAC5D,OAAO,CAAC,qBAAqB,CAAgC;gBAEjD,OAAO,EAAE,mBAAmB;IAOxC,mBAAmB,CAAC,QAAQ,EAAE,MAAM;IAWpC,oBAAoB,CAAC,QAAQ,EAAE,MAAM;IAW/B,OAAO;IAkGb,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,aAAa;IA8BrB,OAAO,CAAC,YAAY;IAepB,UAAU;CAmBb"}
package/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "@piedata/pieui",
3
+ "version": "1.0.1",
4
+ "description": "A React component library featuring PieCard component",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/PieDataLabs/pieui.git"
8
+ },
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.esm.js",
11
+ "types": "dist/index.d.ts",
12
+ "bin": {
13
+ "pieui": "dist/cli.js"
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "sideEffects": false,
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.esm.js",
22
+ "require": "./dist/index.js",
23
+ "types": "./dist/index.d.ts"
24
+ },
25
+ "./components": {
26
+ "import": "./dist/components/index.esm.js",
27
+ "require": "./dist/components/index.js",
28
+ "types": "./dist/components/index.d.ts"
29
+ }
30
+ },
31
+ "scripts": {
32
+ "build": "rm -rf ./dist && rm -rf pieui-*.tgz && bun run build:clean && NODE_ENV=production bun run build:esm && NODE_ENV=production bun run build:cjs && NODE_ENV=production bun run build:components:esm && NODE_ENV=production bun run build:components:cjs && NODE_ENV=production bun run build:types && NODE_ENV=production bun run build:cli && bun src/cli.ts postbuild --src-dir src --out-dir dist && bun pm pack",
33
+ "build:clean": "rm -rf dist",
34
+ "build:esm": "bun build src/index.ts --outfile dist/index.esm.js --format esm --target browser --minify --external react --external react-dom --external react/jsx-runtime --external highlight.js --external rehype-highlight",
35
+ "build:cjs": "bun build src/index.ts --outfile dist/index.js --format cjs --target node --minify --external react --external react-dom --external react/jsx-runtime --external highlight.js --external rehype-highlight",
36
+ "build:components:esm": "bun build src/components/index.ts --outfile dist/components/index.esm.js --format esm --target browser --minify --external react --external react-dom --external react/jsx-runtime --external highlight.js --external rehype-highlight",
37
+ "build:components:cjs": "bun build src/components/index.ts --outfile dist/components/index.js --format cjs --target node --minify --external react --external react-dom --external react/jsx-runtime --external highlight.js --external rehype-highlight",
38
+ "build:types": "tsc --emitDeclarationOnly",
39
+ "build:cli": "bun build src/cli.ts --outfile dist/cli.js --format cjs --target node",
40
+ "dev": "bun run src/index.ts",
41
+ "typecheck": "tsc --noEmit",
42
+ "lint": "echo 'Linting not configured yet'",
43
+ "prepublishOnly": "bun run build",
44
+ "release": "npm version patch && git push && git push --tags",
45
+ "release:patch": "npm version patch && git push && git push --tags",
46
+ "release:minor": "npm version minor && git push && git push --tags",
47
+ "release:major": "npm version major && git push && git push --tags",
48
+ "release:prerelease": "npm version prerelease --preid=beta && git push && git push --tags",
49
+ "release:dry-run": "npm publish --dry-run",
50
+ "publish:npm": "npm publish",
51
+ "publish:beta": "npm publish --tag beta",
52
+ "unrelease": "git tag -d v$(node -p \"require('./package.json').version\") && git push origin :refs/tags/v$(node -p \"require('./package.json').version\")",
53
+ "version:current": "node -p \"require('./package.json').version\""
54
+ },
55
+ "keywords": [
56
+ "react",
57
+ "component",
58
+ "ui",
59
+ "pie",
60
+ "card"
61
+ ],
62
+ "author": "",
63
+ "license": "MIT",
64
+ "peerDependencies": {
65
+ "react": ">=18"
66
+ },
67
+ "devDependencies": {
68
+ "@types/bun": "latest",
69
+ "@types/glob": "^9.0.0",
70
+ "@types/react": ">=18",
71
+ "typescript-json-schema": "^0.67.1"
72
+ },
73
+ "dependencies": {
74
+ "@tanstack/react-query": "^5.90.20",
75
+ "@types/radium": "^0.24.8",
76
+ "axios": "^1.13.2",
77
+ "axios-cache-interceptor": "^1.11.4",
78
+ "axios-date-transformer": "^1.2.1",
79
+ "centrifuge": "^5.5.3",
80
+ "clsx": "^2.1.1",
81
+ "glob": "^13.0.0",
82
+ "html-react-parser": "^5.2.15",
83
+ "mitt": "^3.0.1",
84
+ "nuqs": "^2.8.6",
85
+ "radium": "^0.26.2",
86
+ "react-jsonr": "^0.4.0",
87
+ "react-markdown": "^10.1.0",
88
+ "react-push-notification": "^1.5.4",
89
+ "react-toastify": "^11.0.5",
90
+ "rehype-highlight": "^7.0.2",
91
+ "socket.io-client": "^4.8.3",
92
+ "tailwind-merge": "^3.4.0",
93
+ "typescript": ">=5"
94
+ }
95
+ }