@spotlightjs/overlay 4.1.0 → 4.2.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.
@@ -1,7 +1,8 @@
1
1
  interface TelemetrySidebarProps {
2
2
  errorCount: number;
3
3
  traceCount: number;
4
+ logCount: number;
4
5
  isOnline: boolean;
5
6
  }
6
- export default function TelemetrySidebar({ errorCount, traceCount, isOnline }: TelemetrySidebarProps): import("react/jsx-runtime").JSX.Element;
7
+ export default function TelemetrySidebar({ errorCount, traceCount, logCount, isOnline }: TelemetrySidebarProps): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -6,12 +6,10 @@ interface FilterOption {
6
6
  interface FilterDropdownProps {
7
7
  icon: ElementType;
8
8
  label: string;
9
- tooltip: string;
10
9
  options: FilterOption[];
11
10
  activeFilters: string[];
12
11
  onFilterChange: (value: string, checked: boolean) => void;
13
- container: HTMLElement | null;
14
12
  type: "checkbox" | "radio";
15
13
  }
16
- export declare function FilterDropdown({ icon: Icon, label, tooltip, options, activeFilters, onFilterChange, container, type, }: FilterDropdownProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function FilterDropdown({ icon: Icon, label, options, activeFilters, onFilterChange, type, }: FilterDropdownProps): import("react/jsx-runtime").JSX.Element;
17
15
  export {};
@@ -14,7 +14,6 @@ interface FilterOption {
14
14
  interface FilterConfig {
15
15
  icon: ElementType;
16
16
  label: string;
17
- tooltip: string;
18
17
  options: FilterOption[];
19
18
  show: boolean;
20
19
  type: "checkbox" | "radio";
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import type * as React from "react";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | null | undefined;
4
+ variant?: "default" | "warning" | "destructive" | "outline" | "secondary" | "primary" | "neutral" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotlightjs/overlay",
3
3
  "description": "The overlay of Spotlight to add debug interface to your web app.",
4
- "version": "4.1.0",
4
+ "version": "4.2.0",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "files": [
@@ -61,7 +61,7 @@
61
61
  "vite-plugin-svgr": "^3.3.0",
62
62
  "vitest": "^0.34.6",
63
63
  "zustand": "^5.0.3",
64
- "@spotlightjs/sidecar": "2.1.0",
64
+ "@spotlightjs/sidecar": "2.1.2",
65
65
  "@spotlightjs/tsconfig": "2.0.0"
66
66
  },
67
67
  "volta": {
@@ -1 +0,0 @@
1
- export declare function getSpotlightContainer(): HTMLElement | null;