@spotlightjs/overlay
Advanced tools
Comparing version 1.2.3 to 1.3.0
import { type ReactNode } from 'react'; | ||
import { SidePanelProps } from '../types'; | ||
export declare function SidePanelHeader({ title, subtitle, backTo, }: { | ||
export declare function SidePanelHeader({ title, subtitle, backto, }: { | ||
title: ReactNode; | ||
subtitle?: ReactNode; | ||
backTo: string; | ||
backto: string; | ||
}): import("react/jsx-runtime").JSX.Element; | ||
export default function SidePanel(props: SidePanelProps): import("react/jsx-runtime").JSX.Element; |
import type { Envelope } from '@sentry/types'; | ||
import type { RawEventContext } from '../integration'; | ||
import ErrorsTab from './tabs/ErrorsTab'; | ||
import SdksTab from './tabs/SdksTab'; | ||
import PerformanceTab from './tabs/PerformanceTab'; | ||
import TracesTab from './tabs/TracesTab'; | ||
@@ -36,3 +36,3 @@ type SentryIntegrationOptions = { | ||
title: string; | ||
content: typeof SdksTab; | ||
content: typeof PerformanceTab; | ||
notificationCount?: undefined; | ||
@@ -39,0 +39,0 @@ })[]; |
@@ -0,2 +1,21 @@ | ||
export declare const SECOND = 1000; | ||
export declare const MINUTE = 60000; | ||
export declare const HOUR = 3600000; | ||
export declare const DAY = 86400000; | ||
export declare const WEEK = 604800000; | ||
export declare const MONTH = 2629800000; | ||
export declare const YEAR = 31557600000; | ||
export declare const DURATION_LABELS: { | ||
yr: string; | ||
mo: string; | ||
wk: string; | ||
d: string; | ||
hr: string; | ||
min: string; | ||
s: string; | ||
ms: string; | ||
}; | ||
export declare function getDuration(start: string | number, end: string | number): number; | ||
export declare function getSpanDurationClassName(duration: number): "text-red-400" | "text-orange-400" | "text-yellow-400" | undefined; | ||
export declare function getFormattedNumber(num: number): string; | ||
export declare function getFormattedDuration(duration: number): string; |
@@ -98,3 +98,3 @@ import { ComponentPropsWithoutRef } from 'react'; | ||
export type SidePanelProps = Omit<ComponentPropsWithoutRef<'div'>, 'className'> & { | ||
backTo: string; | ||
backto: string; | ||
}; |
{ | ||
"name": "@spotlightjs/overlay", | ||
"description": "The overlay of Spotlight to add debug interface to your web app.", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances in 1 package
10389342
77
79837
1