@sudobility/components 4.0.23 → 4.0.25

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 (53) hide show
  1. package/dist/dev-tools/PerformancePanel/PerformancePanel.d.ts +55 -0
  2. package/dist/dev-tools/PerformancePanel/PerformancePanel.d.ts.map +1 -0
  3. package/dist/dev-tools/PerformancePanel/components/MetricRow.d.ts +25 -0
  4. package/dist/dev-tools/PerformancePanel/components/MetricRow.d.ts.map +1 -0
  5. package/dist/dev-tools/PerformancePanel/components/PanelHeader.d.ts +22 -0
  6. package/dist/dev-tools/PerformancePanel/components/PanelHeader.d.ts.map +1 -0
  7. package/dist/dev-tools/PerformancePanel/components/ScoreIndicator.d.ts +23 -0
  8. package/dist/dev-tools/PerformancePanel/components/ScoreIndicator.d.ts.map +1 -0
  9. package/dist/dev-tools/PerformancePanel/hooks/useApiMetrics.d.ts +38 -0
  10. package/dist/dev-tools/PerformancePanel/hooks/useApiMetrics.d.ts.map +1 -0
  11. package/dist/dev-tools/PerformancePanel/hooks/useBundleMetrics.d.ts +38 -0
  12. package/dist/dev-tools/PerformancePanel/hooks/useBundleMetrics.d.ts.map +1 -0
  13. package/dist/dev-tools/PerformancePanel/hooks/useDraggable.d.ts +50 -0
  14. package/dist/dev-tools/PerformancePanel/hooks/useDraggable.d.ts.map +1 -0
  15. package/dist/dev-tools/PerformancePanel/hooks/useWebVitals.d.ts +32 -0
  16. package/dist/dev-tools/PerformancePanel/hooks/useWebVitals.d.ts.map +1 -0
  17. package/dist/dev-tools/PerformancePanel/index.d.ts +50 -0
  18. package/dist/dev-tools/PerformancePanel/index.d.ts.map +1 -0
  19. package/dist/dev-tools/PerformancePanel/sections/ApiSection.d.ts +13 -0
  20. package/dist/dev-tools/PerformancePanel/sections/ApiSection.d.ts.map +1 -0
  21. package/dist/dev-tools/PerformancePanel/sections/BundleSection.d.ts +13 -0
  22. package/dist/dev-tools/PerformancePanel/sections/BundleSection.d.ts.map +1 -0
  23. package/dist/dev-tools/PerformancePanel/sections/CustomSection.d.ts +48 -0
  24. package/dist/dev-tools/PerformancePanel/sections/CustomSection.d.ts.map +1 -0
  25. package/dist/dev-tools/PerformancePanel/sections/MemorySection.d.ts +21 -0
  26. package/dist/dev-tools/PerformancePanel/sections/MemorySection.d.ts.map +1 -0
  27. package/dist/dev-tools/PerformancePanel/sections/WebVitalsSection.d.ts +13 -0
  28. package/dist/dev-tools/PerformancePanel/sections/WebVitalsSection.d.ts.map +1 -0
  29. package/dist/dev-tools/index.d.ts +5 -0
  30. package/dist/dev-tools/index.d.ts.map +1 -0
  31. package/dist/index.d.ts +1 -0
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.esm.js +4598 -3292
  34. package/dist/index.umd.js +11 -11
  35. package/dist/layout/Topbar/Topbar.d.ts +44 -0
  36. package/dist/layout/Topbar/Topbar.d.ts.map +1 -0
  37. package/dist/layout/Topbar/TopbarActions.d.ts +67 -0
  38. package/dist/layout/Topbar/TopbarActions.d.ts.map +1 -0
  39. package/dist/layout/Topbar/TopbarContext.d.ts +19 -0
  40. package/dist/layout/Topbar/TopbarContext.d.ts.map +1 -0
  41. package/dist/layout/Topbar/TopbarLogo.d.ts +33 -0
  42. package/dist/layout/Topbar/TopbarLogo.d.ts.map +1 -0
  43. package/dist/layout/Topbar/TopbarMenuToggle.d.ts +25 -0
  44. package/dist/layout/Topbar/TopbarMenuToggle.d.ts.map +1 -0
  45. package/dist/layout/Topbar/TopbarNav.d.ts +68 -0
  46. package/dist/layout/Topbar/TopbarNav.d.ts.map +1 -0
  47. package/dist/layout/Topbar/TopbarSlots.d.ts +31 -0
  48. package/dist/layout/Topbar/TopbarSlots.d.ts.map +1 -0
  49. package/dist/layout/Topbar/index.d.ts +53 -0
  50. package/dist/layout/Topbar/index.d.ts.map +1 -0
  51. package/dist/layout/index.d.ts +1 -0
  52. package/dist/layout/index.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ import { default as React } from 'react';
2
+ import { CustomMetric } from './sections/CustomSection';
3
+ import { WebVitalsMetrics } from './hooks/useWebVitals';
4
+ import { BundleMetrics } from './hooks/useBundleMetrics';
5
+ import { ApiMetrics } from './hooks/useApiMetrics';
6
+ export type PerformancePanelSection = 'webVitals' | 'bundle' | 'api' | 'memory' | 'custom';
7
+ export interface PerformancePanelProps {
8
+ /** Enable the panel (default: only in development) */
9
+ enabled?: boolean;
10
+ /** Start collapsed (default: true) */
11
+ defaultCollapsed?: boolean;
12
+ /** Start visible (default: true) */
13
+ defaultVisible?: boolean;
14
+ /** Position on screen */
15
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
16
+ /** Enable dragging (default: true) */
17
+ draggable?: boolean;
18
+ /** Sections to display (default: all) */
19
+ sections?: PerformancePanelSection[];
20
+ /** Custom metrics to display */
21
+ customMetrics?: CustomMetric[];
22
+ /** Custom section title */
23
+ customSectionTitle?: string;
24
+ /** API URL patterns to track */
25
+ apiPatterns?: string[];
26
+ /** Callback when metrics update */
27
+ onMetricsUpdate?: (metrics: {
28
+ webVitals: WebVitalsMetrics;
29
+ bundle: BundleMetrics;
30
+ api: ApiMetrics;
31
+ }) => void;
32
+ /** Custom className */
33
+ className?: string;
34
+ }
35
+ /**
36
+ * PerformancePanel - A floating dev panel for monitoring performance metrics
37
+ *
38
+ * @example
39
+ * ```tsx
40
+ * // Basic usage (dev only)
41
+ * <PerformancePanel />
42
+ *
43
+ * // With custom metrics
44
+ * <PerformancePanel
45
+ * customMetrics={[
46
+ * { id: 'walletConnect', label: 'Wallet Connect', value: 245, unit: 'ms' },
47
+ * ]}
48
+ * />
49
+ *
50
+ * // Specific sections only
51
+ * <PerformancePanel sections={['webVitals', 'api']} />
52
+ * ```
53
+ */
54
+ export declare const PerformancePanel: React.FC<PerformancePanelProps>;
55
+ //# sourceMappingURL=PerformancePanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformancePanel.d.ts","sourceRo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AAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+K5D,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ export type MetricRating = 'good' | 'needs-improvement' | 'poor' | 'unknown' | 'neutral';
3
+ export interface MetricRowProps {
4
+ /** Label for the metric */
5
+ label: string;
6
+ /** Value to display */
7
+ value: string | number;
8
+ /** Unit suffix (e.g., 'ms', 'KB') */
9
+ unit?: string;
10
+ /** Rating for color coding */
11
+ rating?: MetricRating;
12
+ /** Additional description */
13
+ description?: string;
14
+ /** Custom className */
15
+ className?: string;
16
+ }
17
+ /**
18
+ * MetricRow - Display a single performance metric with optional rating
19
+ */
20
+ export declare const MetricRow: React.FC<MetricRowProps>;
21
+ /**
22
+ * Format a metric value with appropriate precision
23
+ */
24
+ export declare const formatMetricValue: (value: number | undefined, unit?: string, decimals?: number) => string;
25
+ //# sourceMappingURL=MetricRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetricRow.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/components/MetricRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,mBAAmB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzF,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6B9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,OAAO,MAAM,GAAG,SAAS,EACzB,OAAM,MAAa,EACnB,WAAU,MAAU,KACnB,MAGF,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ export interface PanelHeaderProps {
3
+ /** Title text */
4
+ title?: string;
5
+ /** Whether panel is collapsed */
6
+ isCollapsed: boolean;
7
+ /** Toggle collapse callback */
8
+ onToggleCollapse: () => void;
9
+ /** Close panel callback */
10
+ onClose?: () => void;
11
+ /** Mouse down handler for dragging */
12
+ onMouseDown?: (e: React.MouseEvent) => void;
13
+ /** Whether currently dragging */
14
+ isDragging?: boolean;
15
+ /** Custom className */
16
+ className?: string;
17
+ }
18
+ /**
19
+ * PanelHeader - Header for the performance panel with collapse/close controls
20
+ */
21
+ export declare const PanelHeader: React.FC<PanelHeaderProps>;
22
+ //# sourceMappingURL=PanelHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanelHeader.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/components/PanelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,+BAA+B;IAC/B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuCD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgDlD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ import { MetricRating } from './MetricRow';
3
+ export interface ScoreIndicatorProps {
4
+ /** Rating to display */
5
+ rating: MetricRating;
6
+ /** Size variant */
7
+ size?: 'sm' | 'md' | 'lg';
8
+ /** Show label alongside indicator */
9
+ showLabel?: boolean;
10
+ /** Custom className */
11
+ className?: string;
12
+ }
13
+ /**
14
+ * ScoreIndicator - Visual indicator for performance rating
15
+ */
16
+ export declare const ScoreIndicator: React.FC<ScoreIndicatorProps>;
17
+ /**
18
+ * ScoreLegend - Legend showing all rating colors
19
+ */
20
+ export declare const ScoreLegend: React.FC<{
21
+ className?: string;
22
+ }>;
23
+ //# sourceMappingURL=ScoreIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScoreIndicator.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/components/ScoreIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,MAAM,EAAE,YAAY,CAAC;IACrB,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwBD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAcxD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAiBxD,CAAC"}
@@ -0,0 +1,38 @@
1
+ export interface ApiMetrics {
2
+ /** Total API call count */
3
+ callCount: number;
4
+ /** Total time spent on API calls (ms) */
5
+ totalTime: number;
6
+ /** Average API call duration (ms) */
7
+ averageTime: number;
8
+ /** Slowest API call (ms) */
9
+ slowestCall?: number;
10
+ /** Failed API calls */
11
+ failedCalls: number;
12
+ }
13
+ export interface UseApiMetricsOptions {
14
+ /** Enable tracking (default: true) */
15
+ enabled?: boolean;
16
+ /** URL patterns to match API calls (default: ['/api/', 'graphql']) */
17
+ patterns?: string[];
18
+ /** Refresh interval in ms (default: 5000) */
19
+ refreshInterval?: number;
20
+ /** Callback when metrics update */
21
+ onUpdate?: (metrics: ApiMetrics) => void;
22
+ }
23
+ /**
24
+ * Hook to track API call metrics
25
+ *
26
+ * @example
27
+ * ```tsx
28
+ * const { metrics } = useApiMetrics({
29
+ * patterns: ['/api/', 'graphql']
30
+ * });
31
+ * console.log('API Calls:', metrics.callCount);
32
+ * ```
33
+ */
34
+ export declare const useApiMetrics: (options?: UseApiMetricsOptions) => {
35
+ metrics: ApiMetrics;
36
+ refresh: () => void;
37
+ };
38
+ //# sourceMappingURL=useApiMetrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useApiMetrics.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/hooks/useApiMetrics.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uBAAuB;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1C;AAID;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,GAAI,UAAS,oBAAyB;;;CA2E/D,CAAC"}
@@ -0,0 +1,38 @@
1
+ export interface BundleMetrics {
2
+ /** Total JS load time (ms) */
3
+ jsLoadTime?: number;
4
+ /** Total CSS load time (ms) */
5
+ cssLoadTime?: number;
6
+ /** Number of JS resources */
7
+ jsCount?: number;
8
+ /** Number of CSS resources */
9
+ cssCount?: number;
10
+ /** Total transfer size (bytes) */
11
+ totalTransferSize?: number;
12
+ }
13
+ export interface UseBundleMetricsOptions {
14
+ /** Enable tracking (default: true) */
15
+ enabled?: boolean;
16
+ /** Refresh interval in ms (default: 5000) */
17
+ refreshInterval?: number;
18
+ /** Callback when metrics update */
19
+ onUpdate?: (metrics: BundleMetrics) => void;
20
+ }
21
+ /**
22
+ * Hook to track bundle/resource loading metrics
23
+ *
24
+ * @example
25
+ * ```tsx
26
+ * const { metrics, refresh } = useBundleMetrics();
27
+ * console.log('JS Load Time:', metrics.jsLoadTime);
28
+ * ```
29
+ */
30
+ export declare const useBundleMetrics: (options?: UseBundleMetricsOptions) => {
31
+ metrics: BundleMetrics;
32
+ refresh: () => void;
33
+ };
34
+ /**
35
+ * Format bytes to human readable string
36
+ */
37
+ export declare const formatBytes: (bytes?: number) => string;
38
+ //# sourceMappingURL=useBundleMetrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBundleMetrics.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/hooks/useBundleMetrics.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACtC,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,GAAI,UAAS,uBAA4B;;;CA8DrE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,KAAG,MAK5C,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { RefObject } from 'react';
2
+ export interface DraggablePosition {
3
+ x: number | null;
4
+ y: number | null;
5
+ }
6
+ export interface UseDraggableOptions {
7
+ /** Enable dragging (default: true) */
8
+ enabled?: boolean;
9
+ /** Constrain to viewport (default: true) */
10
+ constrainToViewport?: boolean;
11
+ /** Only allow horizontal dragging */
12
+ horizontalOnly?: boolean;
13
+ /** Only allow vertical dragging */
14
+ verticalOnly?: boolean;
15
+ /** Initial position */
16
+ initialPosition?: {
17
+ x?: number;
18
+ y?: number;
19
+ };
20
+ }
21
+ export interface UseDraggableReturn {
22
+ /** Current position */
23
+ position: DraggablePosition;
24
+ /** Whether currently dragging */
25
+ isDragging: boolean;
26
+ /** Mouse down handler for drag handle */
27
+ handleMouseDown: (e: React.MouseEvent) => void;
28
+ /** Reset position to initial/default */
29
+ resetPosition: () => void;
30
+ /** Ref to attach to draggable element */
31
+ ref: RefObject<HTMLDivElement>;
32
+ }
33
+ /**
34
+ * Hook to make an element draggable
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * const { position, isDragging, handleMouseDown, ref } = useDraggable({
39
+ * horizontalOnly: true,
40
+ * });
41
+ *
42
+ * return (
43
+ * <div ref={ref} style={{ left: position.x ?? 'auto' }}>
44
+ * <div onMouseDown={handleMouseDown}>Drag Handle</div>
45
+ * </div>
46
+ * );
47
+ * ```
48
+ */
49
+ export declare const useDraggable: (options?: UseDraggableOptions) => UseDraggableReturn;
50
+ //# sourceMappingURL=useDraggable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDraggable.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/hooks/useDraggable.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5E,MAAM,WAAW,iBAAiB;IAChC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,qCAAqC;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mCAAmC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uBAAuB;IACvB,eAAe,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9C;AAED,MAAM,WAAW,kBAAkB;IACjC,uBAAuB;IACvB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,iCAAiC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,yCAAyC;IACzC,eAAe,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC/C,wCAAwC;IACxC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,yCAAyC;IACzC,GAAG,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CAChC;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY,GACvB,UAAS,mBAAwB,KAChC,kBAmGF,CAAC"}
@@ -0,0 +1,32 @@
1
+ export interface WebVitalsMetrics {
2
+ lcp?: number;
3
+ fid?: number;
4
+ cls?: number;
5
+ fcp?: number;
6
+ ttfb?: number;
7
+ inp?: number;
8
+ }
9
+ export interface UseWebVitalsOptions {
10
+ /** Enable tracking (default: true in dev, false in prod) */
11
+ enabled?: boolean;
12
+ /** Callback when metrics update */
13
+ onUpdate?: (metrics: WebVitalsMetrics) => void;
14
+ }
15
+ /**
16
+ * Hook to track Core Web Vitals metrics
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * const { metrics, isSupported } = useWebVitals();
21
+ * console.log('LCP:', metrics.lcp);
22
+ * ```
23
+ */
24
+ export declare const useWebVitals: (options?: UseWebVitalsOptions) => {
25
+ metrics: WebVitalsMetrics;
26
+ isSupported: boolean;
27
+ };
28
+ /**
29
+ * Get rating for a Web Vital metric
30
+ */
31
+ export declare const getWebVitalRating: (metric: keyof WebVitalsMetrics, value?: number) => "good" | "needs-improvement" | "poor" | "unknown";
32
+ //# sourceMappingURL=useWebVitals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWebVitals.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/hooks/useWebVitals.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAChD;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GAAI,UAAS,mBAAwB;;;CAkI7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,MAAM,gBAAgB,EAC9B,QAAQ,MAAM,KACb,MAAM,GAAG,mBAAmB,GAAG,MAAM,GAAG,SAkB1C,CAAC"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * PerformancePanel - A floating dev panel for monitoring performance metrics
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { PerformancePanel, useWebVitals, useApiMetrics } from '@sudobility/components';
7
+ *
8
+ * // Basic usage (automatically shows in dev mode)
9
+ * function App() {
10
+ * return (
11
+ * <>
12
+ * <YourApp />
13
+ * <PerformancePanel />
14
+ * </>
15
+ * );
16
+ * }
17
+ *
18
+ * // With custom metrics
19
+ * function App() {
20
+ * return (
21
+ * <PerformancePanel
22
+ * customMetrics={[
23
+ * { id: 'walletConnect', label: 'Wallet Connect', value: 245, unit: 'ms', thresholds: { good: 300, poor: 1000 } },
24
+ * { id: 'pendingTxs', label: 'Pending Txs', value: 3 },
25
+ * ]}
26
+ * />
27
+ * );
28
+ * }
29
+ *
30
+ * // Use hooks directly for custom UI
31
+ * function CustomMetricsDisplay() {
32
+ * const { metrics } = useWebVitals();
33
+ * return <div>LCP: {metrics.lcp}ms</div>;
34
+ * }
35
+ * ```
36
+ */
37
+ export { PerformancePanel, type PerformancePanelProps, type PerformancePanelSection } from './PerformancePanel';
38
+ export { useWebVitals, getWebVitalRating, type WebVitalsMetrics as PanelWebVitalsMetrics, type UseWebVitalsOptions, } from './hooks/useWebVitals';
39
+ export { useBundleMetrics, formatBytes, type BundleMetrics, type UseBundleMetricsOptions, } from './hooks/useBundleMetrics';
40
+ export { useApiMetrics, type ApiMetrics, type UseApiMetricsOptions, } from './hooks/useApiMetrics';
41
+ export { useDraggable, type DraggablePosition, type UseDraggableOptions, type UseDraggableReturn, } from './hooks/useDraggable';
42
+ export { MetricRow, formatMetricValue, type MetricRowProps, type MetricRating } from './components/MetricRow';
43
+ export { ScoreIndicator, ScoreLegend, type ScoreIndicatorProps } from './components/ScoreIndicator';
44
+ export { PanelHeader, type PanelHeaderProps } from './components/PanelHeader';
45
+ export { WebVitalsSection, type WebVitalsSectionProps } from './sections/WebVitalsSection';
46
+ export { BundleSection, type BundleSectionProps } from './sections/BundleSection';
47
+ export { ApiSection, type ApiSectionProps } from './sections/ApiSection';
48
+ export { MemorySection, type MemoryMetrics, type MemorySectionProps } from './sections/MemorySection';
49
+ export { CustomSection, type CustomMetric, type CustomSectionProps } from './sections/CustomSection';
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/PerformancePanel/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAGH,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGhH,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,KAAK,gBAAgB,IAAI,qBAAqB,EAC9C,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,uBAAuB,GAC7B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,oBAAoB,GAC1B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG9E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACtG,OAAO,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { ApiMetrics } from '../hooks/useApiMetrics';
3
+ export interface ApiSectionProps {
4
+ /** API metrics data */
5
+ metrics: ApiMetrics;
6
+ /** Custom className */
7
+ className?: string;
8
+ }
9
+ /**
10
+ * ApiSection - Display API call metrics
11
+ */
12
+ export declare const ApiSection: React.FC<ApiSectionProps>;
13
+ //# sourceMappingURL=ApiSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiSection.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/sections/ApiSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,OAAO,EAAE,UAAU,CAAC;IACpB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8ChD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { BundleMetrics } from '../hooks/useBundleMetrics';
3
+ export interface BundleSectionProps {
4
+ /** Bundle metrics data */
5
+ metrics: BundleMetrics;
6
+ /** Custom className */
7
+ className?: string;
8
+ }
9
+ /**
10
+ * BundleSection - Display bundle/resource loading metrics
11
+ */
12
+ export declare const BundleSection: React.FC<BundleSectionProps>;
13
+ //# sourceMappingURL=BundleSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleSection.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/sections/BundleSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAe,MAAM,2BAA2B,CAAC;AAEvE,MAAM,WAAW,kBAAkB;IACjC,0BAA0B;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsCtD,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { default as React } from 'react';
2
+ import { MetricRating } from '../components/MetricRow';
3
+ export interface CustomMetric {
4
+ /** Unique identifier */
5
+ id: string;
6
+ /** Display label */
7
+ label: string;
8
+ /** Metric value */
9
+ value: number | string;
10
+ /** Unit suffix (e.g., 'ms', 'KB') */
11
+ unit?: string;
12
+ /** Description text */
13
+ description?: string;
14
+ /** Thresholds for rating (only for numeric values) */
15
+ thresholds?: {
16
+ good: number;
17
+ poor: number;
18
+ };
19
+ /** Override rating color */
20
+ rating?: MetricRating;
21
+ }
22
+ export interface CustomSectionProps {
23
+ /** Section title */
24
+ title?: string;
25
+ /** Title color class */
26
+ titleColor?: string;
27
+ /** Custom metrics to display */
28
+ metrics: CustomMetric[];
29
+ /** Custom className */
30
+ className?: string;
31
+ }
32
+ /**
33
+ * CustomSection - Display user-defined custom metrics
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <CustomSection
38
+ * title="Web3 Metrics"
39
+ * titleColor="text-orange-400"
40
+ * metrics={[
41
+ * { id: 'walletConnect', label: 'Wallet Connect', value: 245, unit: 'ms', thresholds: { good: 300, poor: 1000 } },
42
+ * { id: 'txPending', label: 'Pending Txs', value: 3 },
43
+ * ]}
44
+ * />
45
+ * ```
46
+ */
47
+ export declare const CustomSection: React.FC<CustomSectionProps>;
48
+ //# sourceMappingURL=CustomSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomSection.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/sections/CustomSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAa,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,4BAA4B;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2BtD,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ export interface MemoryMetrics {
3
+ /** Used JS heap size (bytes) */
4
+ usedJSHeapSize?: number;
5
+ /** Total JS heap size (bytes) */
6
+ totalJSHeapSize?: number;
7
+ /** JS heap size limit (bytes) */
8
+ jsHeapSizeLimit?: number;
9
+ }
10
+ export interface MemorySectionProps {
11
+ /** Refresh interval in ms (default: 2000) */
12
+ refreshInterval?: number;
13
+ /** Custom className */
14
+ className?: string;
15
+ }
16
+ /**
17
+ * MemorySection - Display JavaScript memory metrics
18
+ * Note: Only available in Chrome/Chromium browsers with performance.memory
19
+ */
20
+ export declare const MemorySection: React.FC<MemorySectionProps>;
21
+ //# sourceMappingURL=MemorySection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MemorySection.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/sections/MemorySection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,MAAM,WAAW,aAAa;IAC5B,gCAAgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iCAAiC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,6CAA6C;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqBD;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwEtD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { WebVitalsMetrics } from '../hooks/useWebVitals';
3
+ export interface WebVitalsSectionProps {
4
+ /** Web Vitals metrics data */
5
+ metrics: WebVitalsMetrics;
6
+ /** Custom className */
7
+ className?: string;
8
+ }
9
+ /**
10
+ * WebVitalsSection - Display Core Web Vitals metrics
11
+ */
12
+ export declare const WebVitalsSection: React.FC<WebVitalsSectionProps>;
13
+ //# sourceMappingURL=WebVitalsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebVitalsSection.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/PerformancePanel/sections/WebVitalsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gBAAgB,EAAqB,MAAM,uBAAuB,CAAC;AAE5E,MAAM,WAAW,qBAAqB;IACpC,8BAA8B;IAC9B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2D5D,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Dev Tools - Development utilities and debugging components
3
+ */
4
+ export * from './PerformancePanel';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dev-tools/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,oBAAoB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -50,6 +50,7 @@ export * from './kyc';
50
50
  export * from './layout';
51
51
  export * from './seo';
52
52
  export * from './optimization';
53
+ export * from './dev-tools';
53
54
  export { useClickOutside } from './hooks/useClickOutside';
54
55
  export { useCodeLoader } from './hooks/useCodeLoader';
55
56
  export { useFormSubmission, type UseFormSubmissionOptions, type UseFormSubmissionReturn, } from './hooks/useFormSubmission';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,EAAE,EAAE,MAAM,a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