@bhooai/nexus-admin 2.0.9 → 2.0.11

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": "@bhooai/nexus-admin",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "BhooAI Nexus v2 admin SPA — Apps-tab-first, live registry/health/logs/config/users/payments/AI",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/App.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
1
+ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
2
  import logoUrl from './assets/bhooai-nexus-logo.svg';
3
3
  import { Icon, isIconName, type IconName } from './icons.js';
4
4
  import { SafeGotoDialog, SafeGotoLink } from '@bhooai/nexus-safe-goto';
@@ -1,4 +1,4 @@
1
- import { createContext, useCallback, useContext, useEffect, useRef, useState, type ReactNode } from 'react';
1
+ import React, { createContext, useCallback, useContext, useEffect, useRef, useState, type ReactNode } from 'react';
2
2
  import { Icon, type IconName } from './icons.js';
3
3
 
4
4
  export type AlertKind = 'ok' | 'err' | 'warn';
package/src/icons.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import type { ReactNode, SVGProps } from 'react';
1
+ import React, { type ReactNode, type SVGProps } from 'react';
2
2
 
3
3
  export type IconName =
4
4
  | 'house' | 'server' | 'terminal' | 'braces' | 'key' | 'puzzle' | 'users' | 'activity'