@spotlightjs/overlay 1.8.1 → 1.8.3
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/{index-1803d5bd.js → index-d9098dd4.js} +3243 -3221
- package/dist/index-d9098dd4.js.map +1 -0
- package/dist/{main-42304866.js → main-ee4319a4.js} +2 -2
- package/dist/{main-42304866.js.map → main-ee4319a4.js.map} +1 -1
- package/dist/sentry-spotlight.js +1 -1
- package/dist/sentry-spotlight.umd.cjs +101 -101
- package/dist/sentry-spotlight.umd.cjs.map +1 -1
- package/dist/src/integrations/sentry/components/PlatformIcon.d.ts +4 -1
- package/dist/src/integrations/sentry/components/traces/TraceIcon.d.ts +5 -0
- package/dist/src/integrations/sentry/tabs/TracesTab.d.ts +1 -1
- package/dist/src/types.d.ts +0 -13
- package/dist/src/ui/Badge/index.d.ts +1 -0
- package/dist/src/ui/Breadcrumbs/Breadcrumbs.d.ts +10 -0
- package/dist/src/ui/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/{components → ui/Chart/RingChart}/RingChart.d.ts +2 -2
- package/dist/src/ui/Chart/RingChart/index.d.ts +2 -0
- package/dist/src/ui/Chart/index.d.ts +1 -0
- package/dist/src/{components → ui/SidePanel}/SidePanel.d.ts +4 -2
- package/dist/src/ui/SidePanel/index.d.ts +2 -0
- package/dist/src/ui/Tag/Tag.d.ts +5 -0
- package/dist/src/ui/Tag/index.d.ts +2 -0
- package/dist/src/ui/Tooltip/Tooltip.d.ts +8 -0
- package/dist/src/ui/Tooltip/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index-1803d5bd.js.map +0 -1
- package/dist/src/components/Breadcrumbs.d.ts +0 -2
- package/dist/src/components/Tooltip.d.ts +0 -7
- /package/dist/src/{components → ui/Badge}/Badge.d.ts +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { SentryEvent } from '../types';
|
|
2
2
|
import { ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
type Platform = 'python' | 'javascript' | 'node' | 'ruby' | 'csharp' | string;
|
|
4
|
-
export default function PlatformIcon({ platform, event, size, ...props }: ComponentPropsWithoutRef<'svg'> & {
|
|
4
|
+
export default function PlatformIcon({ platform, event, size, width, height, title, ...props }: ComponentPropsWithoutRef<'svg'> & {
|
|
5
5
|
size?: number;
|
|
6
6
|
platform?: Platform;
|
|
7
7
|
event?: SentryEvent;
|
|
8
|
+
height?: number;
|
|
9
|
+
width?: number;
|
|
10
|
+
title?: string;
|
|
8
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function
|
|
1
|
+
export default function TracesTab(): import("react/jsx-runtime").JSX.Element;
|
package/dist/src/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
1
|
import { type Integration } from './integrations/integration';
|
|
3
2
|
export type ExperimentName = 'sentry:focus-local-events';
|
|
4
3
|
export type ExperimentsConfig = Record<ExperimentName, boolean>;
|
|
@@ -101,15 +100,3 @@ export type WindowWithSpotlight = Window & {
|
|
|
101
100
|
eventTarget?: EventTarget;
|
|
102
101
|
};
|
|
103
102
|
};
|
|
104
|
-
export type SidePanelProps = Omit<ComponentPropsWithoutRef<'div'>, 'className'> & {
|
|
105
|
-
backto: string;
|
|
106
|
-
};
|
|
107
|
-
export type CrumbProps = {
|
|
108
|
-
id: string;
|
|
109
|
-
label: string;
|
|
110
|
-
link?: boolean;
|
|
111
|
-
to?: string;
|
|
112
|
-
};
|
|
113
|
-
export type BreadcrumbProps = {
|
|
114
|
-
crumbs: CrumbProps[];
|
|
115
|
-
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Badge';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type CrumbProps = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
link?: boolean;
|
|
5
|
+
to?: string;
|
|
6
|
+
};
|
|
7
|
+
export type BreadcrumbProps = {
|
|
8
|
+
crumbs: CrumbProps[];
|
|
9
|
+
};
|
|
10
|
+
export default function Breadcrumbs({ crumbs }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
type
|
|
2
|
+
export type RingChartProps = React.HTMLAttributes<SVGSVGElement> & {
|
|
3
3
|
backgroundColors: string[];
|
|
4
4
|
maxValues: number[];
|
|
5
5
|
segmentColors: string[];
|
|
@@ -24,5 +24,5 @@ type Props = React.HTMLAttributes<SVGSVGElement> & {
|
|
|
24
24
|
x?: number;
|
|
25
25
|
y?: number;
|
|
26
26
|
};
|
|
27
|
-
declare function RingChart({ values, maxValues, size, barWidth, text, textCss, segmentColors, backgroundColors, progressEndcaps, onHoverActions, onUnhover, ...p }:
|
|
27
|
+
declare function RingChart({ values, maxValues, size, barWidth, text, textCss, segmentColors, backgroundColors, progressEndcaps, onHoverActions, onUnhover, ...p }: RingChartProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export default RingChart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RingChart } from './RingChart';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
export type SidePanelProps = Omit<ComponentPropsWithoutRef<'div'>, 'className'> & {
|
|
3
|
+
backto: string;
|
|
4
|
+
};
|
|
3
5
|
export declare function SidePanelHeader({ title, subtitle, backto, }: {
|
|
4
6
|
title: ReactNode;
|
|
5
7
|
subtitle?: ReactNode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TooltipProps = {
|
|
3
|
+
content: string | ReactNode;
|
|
4
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const Tooltip: ({ content, position, children }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Tooltip;
|