@spotlightjs/overlay 1.2.3 → 1.3.0
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/dist/sentry-spotlight.js +8733 -8595
- package/dist/sentry-spotlight.js.map +1 -1
- package/dist/sentry-spotlight.umd.cjs +84 -84
- package/dist/sentry-spotlight.umd.cjs.map +1 -1
- package/dist/src/components/SidePanel.d.ts +2 -2
- package/dist/src/integrations/sentry/components/Performance/PerformanceTabDetails.d.ts +1 -0
- package/dist/src/integrations/sentry/components/Performance/Queries.d.ts +4 -0
- package/dist/src/integrations/sentry/components/Performance/QueryTraces.d.ts +4 -0
- package/dist/src/integrations/sentry/components/Performance/Resources.d.ts +2 -0
- package/dist/src/integrations/sentry/components/Performance/WebVitals.d.ts +1 -0
- package/dist/src/integrations/sentry/data/useSentrySpans.d.ts +2 -0
- package/dist/src/integrations/sentry/index.d.ts +2 -2
- package/dist/src/integrations/sentry/tabs/PerformanceTab.d.ts +1 -0
- package/dist/src/integrations/sentry/utils/duration.d.ts +19 -0
- package/dist/src/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { SidePanelProps } from '../types';
|
|
3
|
-
export declare function SidePanelHeader({ title, subtitle,
|
|
3
|
+
export declare function SidePanelHeader({ title, subtitle, backto, }: {
|
|
4
4
|
title: ReactNode;
|
|
5
5
|
subtitle?: ReactNode;
|
|
6
|
-
|
|
6
|
+
backto: string;
|
|
7
7
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default function SidePanel(props: SidePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function PerformanceTabDetails(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WebVitals: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Envelope } from '@sentry/types';
|
|
2
2
|
import type { RawEventContext } from '../integration';
|
|
3
3
|
import ErrorsTab from './tabs/ErrorsTab';
|
|
4
|
-
import
|
|
4
|
+
import PerformanceTab from './tabs/PerformanceTab';
|
|
5
5
|
import TracesTab from './tabs/TracesTab';
|
|
6
6
|
type SentryIntegrationOptions = {
|
|
7
7
|
sidecarUrl?: string;
|
|
@@ -33,7 +33,7 @@ export default function sentryIntegration(options?: SentryIntegrationOptions): {
|
|
|
33
33
|
} | {
|
|
34
34
|
id: string;
|
|
35
35
|
title: string;
|
|
36
|
-
content: typeof
|
|
36
|
+
content: typeof PerformanceTab;
|
|
37
37
|
notificationCount?: undefined;
|
|
38
38
|
})[];
|
|
39
39
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function PerformanceTab(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
export declare const SECOND = 1000;
|
|
2
|
+
export declare const MINUTE = 60000;
|
|
3
|
+
export declare const HOUR = 3600000;
|
|
4
|
+
export declare const DAY = 86400000;
|
|
5
|
+
export declare const WEEK = 604800000;
|
|
6
|
+
export declare const MONTH = 2629800000;
|
|
7
|
+
export declare const YEAR = 31557600000;
|
|
8
|
+
export declare const DURATION_LABELS: {
|
|
9
|
+
yr: string;
|
|
10
|
+
mo: string;
|
|
11
|
+
wk: string;
|
|
12
|
+
d: string;
|
|
13
|
+
hr: string;
|
|
14
|
+
min: string;
|
|
15
|
+
s: string;
|
|
16
|
+
ms: string;
|
|
17
|
+
};
|
|
1
18
|
export declare function getDuration(start: string | number, end: string | number): number;
|
|
2
19
|
export declare function getSpanDurationClassName(duration: number): "text-red-400" | "text-orange-400" | "text-yellow-400" | undefined;
|
|
20
|
+
export declare function getFormattedNumber(num: number): string;
|
|
21
|
+
export declare function getFormattedDuration(duration: number): string;
|
package/dist/src/types.d.ts
CHANGED