@djangocfg/ui-core 2.1.456 → 2.1.459
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/ui-core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.459",
|
|
4
4
|
"description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui-components",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"check": "tsc --noEmit"
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
|
-
"@djangocfg/i18n": "^2.1.
|
|
122
|
+
"@djangocfg/i18n": "^2.1.459",
|
|
123
123
|
"consola": "^3.4.2",
|
|
124
124
|
"lucide-react": "^0.545.0",
|
|
125
125
|
"moment": "^2.30.1",
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
"@chenglou/pretext": "*"
|
|
198
198
|
},
|
|
199
199
|
"devDependencies": {
|
|
200
|
-
"@djangocfg/i18n": "^2.1.
|
|
201
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
200
|
+
"@djangocfg/i18n": "^2.1.459",
|
|
201
|
+
"@djangocfg/typescript-config": "^2.1.459",
|
|
202
202
|
"@types/node": "^25.2.3",
|
|
203
203
|
"@types/react": "^19.2.15",
|
|
204
204
|
"@types/react-dom": "^19.2.3",
|
|
@@ -64,7 +64,7 @@ export interface BoundaryProps {
|
|
|
64
64
|
resetKeys?: ReadonlyArray<unknown>;
|
|
65
65
|
/**
|
|
66
66
|
* Called when an error is caught.
|
|
67
|
-
* Hook up Sentry / logging / @djangocfg/
|
|
67
|
+
* Hook up Sentry / logging / @djangocfg/devtools here.
|
|
68
68
|
* Use the wrapping `MonitorBoundary` from @djangocfg/layouts for automatic reporting.
|
|
69
69
|
*/
|
|
70
70
|
onError?: (error: Error, info: ErrorInfo) => void;
|
|
@@ -148,7 +148,7 @@ By default, caught errors are logged with `console.error` in development and sil
|
|
|
148
148
|
</Boundary>
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
Or use `MonitorBoundary` from `@djangocfg/layouts` for automatic reporting to `@djangocfg/
|
|
151
|
+
Or use `MonitorBoundary` from `@djangocfg/layouts` for automatic reporting to `@djangocfg/devtools`.
|
|
152
152
|
|
|
153
153
|
---
|
|
154
154
|
|
|
@@ -245,5 +245,5 @@ function useBoundary(): {
|
|
|
245
245
|
|
|
246
246
|
## Related
|
|
247
247
|
|
|
248
|
-
- **`MonitorBoundary`** (`@djangocfg/layouts`) — wraps `Boundary` and reports to `@djangocfg/
|
|
248
|
+
- **`MonitorBoundary`** (`@djangocfg/layouts`) — wraps `Boundary` and reports to `@djangocfg/devtools` automatically.
|
|
249
249
|
- **Next.js `error.tsx`** — handles route-level errors. Use `Boundary` *inside* pages for finer granularity.
|