@osdk/react-devtools 0.12.0 → 0.12.1-main-7449f917d34f8889349066daf1d0001d74b83b4a
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/CHANGELOG.md +6 -0
- package/build/esm/components/MonitoringPanel.js +51 -33
- package/build/esm/components/MonitoringPanel.js.map +1 -1
- package/build/esm/components/MonitoringPanel.module.scss.js +2 -4
- package/build/esm/fiber/DegradationNotice.js +7 -1
- package/build/esm/fiber/DegradationNotice.js.map +1 -1
- package/build/esm/hooks/usePersistedState.js +27 -1
- package/build/esm/hooks/usePersistedState.js.map +1 -1
- package/build/esm/styles.css +30 -45
- package/build/esm/styles.js +1 -1
- package/build/types/components/MonitoringPanel.d.ts.map +1 -1
- package/build/types/fiber/DegradationNotice.d.ts +1 -0
- package/build/types/fiber/DegradationNotice.d.ts.map +1 -1
- package/build/types/hooks/usePersistedState.d.ts +6 -1
- package/build/types/hooks/usePersistedState.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":"AA0BA,OAAO,WAAuD,OAAQ;AAUtE,cAAc,oBAAoB,0BAA2B;AAyE7D,iBAAiB,qBAAqB;;CAEpC,cAAc;AACf;AAED,OAAO,cAAMA,iBAAiB,MAAM,GAAG;AAigBvC,OAAO,cAAMC,qBAAqB,MAAM,GAAG","names":["MonitoringPanel: React.FC<MonitoringPanelProps>","SafeMonitoringPanel: React.FC<MonitoringPanelProps>"],"sources":["../../../src/components/MonitoringPanel.tsx"],"version":3,"file":"MonitoringPanel.d.ts"}
|
|
@@ -3,6 +3,7 @@ import { type FiberCapabilities } from "./capabilities.js";
|
|
|
3
3
|
export interface DegradationNoticeProps {
|
|
4
4
|
onRetry?: () => void;
|
|
5
5
|
showWhenHealthy?: boolean;
|
|
6
|
+
className?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const DegradationNotice: React.FC<DegradationNoticeProps>;
|
|
8
9
|
export declare function useFiberCapabilities(): FiberCapabilities;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAE1B,cACO,yBAGA,mBAAoB;AAsB3B,iBAAiB,uBAAuB;CACtC;CACA;AACD;AAyBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG;
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAE1B,cACO,yBAGA,mBAAoB;AAsB3B,iBAAiB,uBAAuB;CACtC;CACA;CACA;AACD;AAyBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG;AA+KzC,OAAO,iBAAS,wBAAwB","names":["DegradationNotice: React.FC<DegradationNoticeProps>"],"sources":["../../../src/fiber/DegradationNotice.tsx"],"version":3,"file":"DegradationNotice.d.ts"}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export declare function usePersistedState<T>(
|
|
1
|
+
export declare function usePersistedState<T>(initialKey: string, defaultValue: T): [T, (value: T | ((prev: T) => T)) => void];
|
|
2
|
+
/**
|
|
3
|
+
* Function exported for testing.
|
|
4
|
+
* We don't want tests to use localStorage directly since the storage layer could change
|
|
5
|
+
*/
|
|
6
|
+
export declare function clearPersistedState(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":"AAiCA,OAAO,iBAAS,kBAAkB,GAIhCA,oBACAC,cAAc,KACZ,IAAIC,OAAO,MAAMC,MAAM,MAAM;;;;;AA6FjC,OAAO,iBAAS","names":["initialKey: string","defaultValue: T","value: T | ((prev: T) => T)","prev: T"],"sources":["../../../src/hooks/usePersistedState.ts"],"version":3,"file":"usePersistedState.d.ts"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/react-devtools",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1-main-7449f917d34f8889349066daf1d0001d74b83b4a",
|
|
4
4
|
"description": "Developer tools and debugging utilities for OSDK React Toolkit",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"typescript": "~5.5.4",
|
|
74
74
|
"vite": "^6.3.5",
|
|
75
75
|
"vitest": "^2.0.0",
|
|
76
|
-
"@osdk/
|
|
76
|
+
"@osdk/client": "2.43.0",
|
|
77
77
|
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
78
78
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
79
79
|
"@osdk/react": "2.43.0",
|
|
80
|
-
"@osdk/
|
|
80
|
+
"@osdk/api": "2.43.0"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|